CN103257868A - Method and device for installing program - Google Patents

Method and device for installing program Download PDF

Info

Publication number
CN103257868A
CN103257868A CN2012100400607A CN201210040060A CN103257868A CN 103257868 A CN103257868 A CN 103257868A CN 2012100400607 A CN2012100400607 A CN 2012100400607A CN 201210040060 A CN201210040060 A CN 201210040060A CN 103257868 A CN103257868 A CN 103257868A
Authority
CN
China
Prior art keywords
file
installation
electronic equipment
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.)
Granted
Application number
CN2012100400607A
Other languages
Chinese (zh)
Other versions
CN103257868B (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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for installing a program of an electronic device. The method comprises determining whether the electronic device meets a first preset condition; if so, obtaining an installation file corresponding to a program; parsing the installation file corresponding to the program to obtain a parsed file, wherein the parsed file comprises a first file set and a second file set; installing the first file set in the parsed file after the parsing step; determining whether the electronic device meets a second preset file; and if so, installing the second file set in the parsed file to complete the installation of the program. According to the method and the device for installing the program, the installation process of the program is controlled according to states of the electronic device, the waiting time of a user during the installation of the program is reduced, and the using experience of the user is enhanced effectively.

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 development of electronic technology, the various electronic equipments such as mobile phone, personal digital assistant and computing machine are widely used step by step.In addition, the function of described electronic equipment also strengthens to satisfy user's demand gradually.Communication function, web page browsing, video playback, text browsing and edition function on described electronic equipment, have for example been realized.Each function realizes by installing with its corresponding application program.In addition, every kind of electronic equipment has different operating system, and for example the individual calculate to go up and to use Windows operating system usually, and on mobile phone usually operation be Android (Android) operating system.Every kind of operating system is made up of a large amount of system programs.The installation of described application program and system program be electronic equipment each user the work that must face.
Usually, during installed user program, electronic equipment is in the busy state of user's operation not being made response.At this moment, the user can't operate, and therefore spends the stand-by period.After the installation of finishing program, electronic equipment enters the stand-by state of user's operation being made response, thereby the user can use described electronic equipment.Especially, after the user buys electronic equipment, use first before the described electronic equipment, need up to a hundred application programs of operation usually.Between the installation period of program, electronic equipment does not respond user's operation, thereby the user needs to wait for for a long time.Therefore, the stand-by period that how shortens the user between the installation period of program has become a problem demanding prompt solution.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of installation procedure, and the installation process that it can come control program according to the state of electronic equipment has reduced the stand-by period of user in the installation procedure process, has strengthened user's experience effectively.
On the one hand, provide a kind of method of installation procedure, be applied in the electronic equipment, described method comprises: determine whether first predetermined condition of described electronic equipment; When described electronic equipment satisfies described first predetermined condition, obtain the installation file corresponding with program; The installation file corresponding with described program resolved and obtained resolution file, and described resolution file comprises first file set and second file set; Described first file set in the described resolution file is installed after described analyzing step; Determine whether second predetermined condition of described electronic equipment; And when the state of described electronic equipment satisfies described second predetermined condition, described second file set in the described resolution file is installed, to finish the installation of described program.
On the other hand, provide a kind of device of installation procedure, this device is applied to electronic equipment, and described device comprises: first determining unit, be used for to determine whether first predetermined condition of described electronic equipment; Obtain the unit, be used for when described electronic equipment satisfies described first predetermined condition, obtaining the installation file corresponding with program; Resolution unit, for the installation file corresponding with described program being resolved and obtaining resolution file, described resolution file comprises first file set and second file set; Installation unit is for described first file set that described resolution file is installed after described analyzing step; Second determining unit, be used for to determine whether second predetermined condition of described electronic equipment, wherein, when the state of described electronic equipment satisfies described second predetermined condition, described installation unit is installed described second file set in the described resolution file, to finish the installation of described program.
Above-mentioned technical scheme for installation procedure in the embodiment of the invention, the installation of program is split as the different stages, and come the installation process of control program by the state according to electronic equipment, reduce the stand-by period of user in the installation procedure process, strengthened user's experience effectively.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram that illustrates the program installation method of example embodiment according to the present invention;
Fig. 2 is the block diagram that illustrates the program erecting device of the example embodiment according to the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.
Fig. 1 is the process flow diagram that illustrates the program installation method 100 of the example embodiment according to the present invention.This program installation method 100 can be used for various electronic equipments, such as mobile phone, computing machine, personal digital assistant etc.Described electronic equipment can have various operating systems, such as other operating system of using in electronic equipment in existing form (Windows) system, Android system and future.Describe described program installation method 100 in detail below in conjunction with Fig. 1.
This program installation method 100 can comprise: determine whether first predetermined condition (step S110) of described electronic equipment; When described electronic equipment satisfies described first predetermined condition, obtain the installation file (step S120) corresponding with program; The installation file corresponding with described program resolved and obtained resolution file, and described resolution file comprises first file set and second file set (step S130); Described first file set (step S140) in the described resolution file is installed after described analyzing step; Determine whether second predetermined condition (step S150) of described electronic equipment; And when described electronic equipment satisfies described second predetermined condition, described second file set in the described resolution file is installed, with the installation (step S160) of finishing described program.
In step S110, determine whether first predetermined condition of described electronic equipment.This step S110 is used for determining whether to want the installation of start program.For example, whether first predetermined condition can comprise whether the system resource of determining described electronic equipment satisfies specified conditions to described definite electronic equipment.This system resource refers to the system resource of the required electronic equipment that takies of installation procedure, and it for example is the occupancy of the central processing unit (CPU) of electronic equipment, the free memory of electronic equipment etc.Described specified conditions are for example for the occupancy of CPU is lower than 50%, the free memory of electronic equipment is greater than among the 500M at least one.In concrete application, can specifically arrange according to putting into practice needs.
Alternatively, whether first predetermined condition can comprise determines whether described electronic equipment is to start for the first time for described definite electronic equipment.When described electronic equipment started for the first time, exist a large amount of programs to install usually, it is especially favourable that start program installation method of the present invention this moment, and it can reduce user's stand-by period, and this will be described in detail in the back.
Be noted that and first predetermined condition among this step S110 can be arranged so that under any circumstance and all use the step S120-S160 of back to come installation procedure.
In step S120, when described electronic equipment satisfies described first predetermined condition, obtain the installation file corresponding with program.As example, when determining that in step S110 described electronic equipment is when starting for the first time, the step of the installation file that this acquisitions is corresponding with program can comprise and obtains and be pre-stored in before the startup in the described first time a plurality of program corresponding file in the described electronic equipment.
Be example with the mobile communication terminal that uses Android operating system, when mobile communication terminal dispatches from the factory, the system program of the Android that prestored therein and application program commonly used.When starting this mobile communication terminal for the first time, need obtain the Android routine package corresponding with each program that prestores (Apk file), to install.If electronic equipment is not to start for the first time, then obtain and program corresponding file to be installed.Described Apk file as the installation file corresponding with program is a kind of program through overcompression.Each Apk file typically comprises as the lower part: (1) META-INF catalogue, the catalogue of the description package informatin of introducing from java jar file; (2) res catalogue is for the catalogue of depositing resource file; (3) AndroidManifest.xml file is for the file of program global configuration; (4) classes.dex file (Dex:Dalvik VM execute, Da Erweike virtual machine executable format) is the java byte code files that java source code compiling back generates; (5) resources.ars file is the scale-of-two resource file after the compiling; (6) libs file is used for depositing so file (this libs can not exist) that compiling obtains.Certainly, under other operating system, the installation file corresponding with program can have other form, and the Apk file under the above-mentioned Android service system is not construed as limiting the invention.
In step S130, the installation file corresponding with described program to be resolved and obtained resolution file, described resolution file comprises first file set and second file set.Under the situation that the program under the Android operating system is installed, by Apk file (Android routine package) is decompressed to carry out described parse operation.As previously mentioned, the Apk file is decompressed as the lower part usually: META-INF catalogue, res catalogue, AndroidManifest.xml file, classes.dex file, resources.ars file and libs file.For example can be with META-INF catalogue, res catalogue, AndroidManifest.xml file and resources.ars file as first file set, and with classes.dex file and libs file as second file set, so that first file set to be installed earlier, second file set is installed then in installation steps subsequently.Usually, the file in first file set is to need the file (for example being the basic file in the program) of installation earlier in the resolution file, and the file in second file set is the file that can install subsequently in the resolution file.In concrete practice, can carry out different differentiations at different programs.In addition, can also adjust the file in first file set and second file set, for example, the libs file in second file set can be put into first file set, vice versa.
In step S140, described first file set in the described resolution file is installed after described analyzing step.As example, under the situation that the program under the Android operating system is installed, first file set of the described META-INF of comprising catalogue, res catalogue, AndroidManifest.xml file and resources.ars file can be installed.
In addition, after the installation of finishing first file set, can show the startup icon corresponding with described program in electronic equipment, this startup icon makes the user can start the program that is mounted.When the user had for example clicked this startup icon, electronic equipment knew that the user expects to use the program of installing, thus preferential installation first file set and second file set corresponding with this program.Therefore, this startup icon provides a ditch circulation passage between the program of partly installing and user.Certainly, this startup icon can show always, up to the installation of finishing program.
In step S150, determine whether second predetermined condition of described electronic equipment.This step S150 is used for determining whether to begin the installation of second file set.As example, the described definite electronic equipment whether step of second predetermined condition can comprise and determines whether described electronic equipment finishes the installation of first file set, thereby can after being installed, first file set that needs preferentially to install begin the installation of second file set.In addition, this determine described electronic equipment whether second predetermined condition (step S150) can also comprise and determine not detect the user to the clicking operation of the program of installing.Usually, if the user clicks the program of the program of its first file set being installed or its first file set being installed, mean that then the user expects to use as early as possible this program, need install second file set this moment as early as possible, comes to use for the user with the installation of finishing program.Can arrange as required in practice.
In step S160, when described electronic equipment satisfies described second predetermined condition, described second file set in the described resolution file is installed, to finish the installation of described program.Second file set in the described resolution file can be installed on the backstage.In addition, can described second file set in the resolution file be installed according to predefined procedure.This predefined procedure can be based on the user to be determined the frequency of utilization of program, perhaps determines according to the sequencing of letter simply.As example, under the situation that the program under the Android operating system is installed, classes.dex file in second file set can be installed earlier, then the libs file be installed, to finish the installation of second file set.
Determine that in step S150 described electronic equipment finishes under the situation of installation of first file set, the step of described second file set in the described installation resolution file can comprise: whether the system resource of detected electrons equipment satisfies specified conditions; When the system resource of electronic equipment satisfies described specified conditions, described second file set in the resolution file is installed.That is to say, finish at described electronic equipment under the situation of installation of first file set, determine also whether the system resource of electronic equipment satisfies specified conditions (as previously mentioned).Finish at described electronic equipment under the situation of installation of first file set, if owing to other operation of electronic equipment causes the system resource anxiety of electronic equipment, then can postpone the installation of second file set, thereby not influence described other operation; If there is the available system resource, then can start the installation of second file set, with the process of accelerating to install.At this moment, can described second file set in the resolution file be installed according to predefined procedure.
In addition, it is also conceivable that user's expectation in the process of described second file set in resolution file is installed.For example, finish at described electronic equipment under the situation of installation of first file set, perhaps finish the installation of first file set and the system resource of electronic equipment satisfies under the situation of described specified conditions at described electronic equipment, described second file set in the resolution file can be installed as follows: detect the user to the start-up operation of specific program; Judge in second file set whether be mounted with described specific program corresponding file; Under the situation about in second file set, not being mounted with described specific program corresponding file, install in second file set and described specific program corresponding file, to finish the installation of described specific program; Move described specific program.At this moment, can accelerate the installation that the user expects the program used.It should be noted that and at any the expectation of considering the user in the process of second file set to be installed, and be not limited to two examples that mask body provides.
If determining described electronic equipment in step S110 is to start for the first time and determine that in step S150 described electronic equipment finishes the installation of first file set, then described second file set (step S160) in the described installation resolution file can comprise: the interface file corresponding with interface program in described second file set is installed, and this interface program is the program relevant with the use of the operation interface of electronic equipment; After the installation of finishing interface file, the residue file except interface file in described second file set is installed.As previously mentioned, be when starting for the first time at described electronic equipment, need to install a large amount of programs that comprise system program and application program.Because the interface program relevant with the use of the operation interface of electronic equipment is the basis that the user operates, and the demonstration at interface can be so that the user can start the operation of expectation, therefore described interface program can preferentially be installed, after this residue file except interface file in described second file set is installed.
After the installation of finishing first file set and second file set, the installation of termination routine.
In the said procedure installation method of the embodiment of the invention, the installation of program is split as the different stages, and come the installation process of control program by the state according to electronic equipment, reduced the stand-by period of user in the installation procedure process, strengthened user's experience effectively.
Fig. 2 is the block diagram that illustrates the program erecting device 200 of the example embodiment according to the present invention.This program erecting device 200 can be used for various electronic equipments, and this described electronic equipment can have various operating systems.That is to say that the type of type of electronic device and operating system is not construed as limiting the invention.Describe described program erecting device 200 in detail below in conjunction with Fig. 2.
Described program erecting device 200 can comprise: first determining unit 210, be used for to determine whether first predetermined condition of described electronic equipment; Obtain unit 220, be used for when described electronic equipment satisfies described first predetermined condition, obtaining the installation file corresponding with program; Resolution unit 230, for the installation file corresponding with described program being resolved and obtaining resolution file, described resolution file comprises first file set and second file set; Installation unit 240 is for described first file set that described resolution file is installed after described analyzing step; Second determining unit 250, be used for to determine whether second predetermined condition of described electronic equipment, wherein, when described electronic equipment satisfies described second predetermined condition, described second file set that described installation unit 240 is installed in the described resolution file is to finish the installation of described program.
Described first determining unit 210 can be determined whether first predetermined condition of described electronic equipment, to judge whether to want the installation of start program.For example, described first determining unit 210 can determine as previously mentioned whether the system resource of described electronic equipment satisfies specified conditions, whether is suitable for carrying out the installation of program with the current state of judging electronic equipment.Be noted that these specified conditions can suitably change in conjunction with the needed system resource of the installation of distinct program.Alternatively, described first determining unit 210 can determine whether described electronic equipment is to start for the first time.When described electronic equipment started for the first time, need that usually a large amount of programs is installed and want, utilize program erecting device of the present invention to come installation procedure particularly favourable at this moment, it can reduce user's stand-by period.In addition, described first determining unit 210 can also be arranged so that this first predetermined condition and under any circumstance all use program erecting device of the present invention to come installation procedure.
When described electronic equipment satisfied described first predetermined condition, described acquisition unit 220 can obtain the installation file corresponding with program.As example, determining described electronic equipments when first determining unit 210 is when starting for the first time, and this acquisitions unit 220 can obtain and be pre-stored in before the startup in the described first time a plurality of program corresponding file in the described electronic equipment.Be example with the mobile communication terminal that uses Android operating system, the system program of the Android that prestored therein and application program commonly used when starting this mobile communication terminal for the first time, need be obtained the Apk file corresponding with each program that prestores, to install.If electronic equipment is not to start for the first time, then obtain and program corresponding file to be installed.
Described resolution unit 230 can be resolved and obtains resolution file the installation file corresponding with described program, and described resolution file comprises first file set and second file set.Usually, the file in first file set is to need the file (for example being the basic file in the program) of installation earlier in the resolution file, and the file in second file set is the file that can install subsequently in the resolution file.
Under the situation that the program under the Android operating system is installed, by Apk file (Android routine package) is decompressed to carry out described parse operation.For example, first file set can comprise META-INF catalogue, res catalogue, AndroidManifest.xml file and the resources.ars file that obtains after the decompression, and second file set can comprise classes.dex file and the libs file that obtains after the decompression.In concrete practice, can carry out different differentiations at different programs, and can adjust the file in first file set and second file set.
Described installation unit 240 is installed described first file set in the described resolution file after described analyzing step.As example, under the situation that the program under the Android operating system is installed, META-INF catalogue, res catalogue, AndroidManifest.xml file and resources.ars file in first file set can be installed.In addition, described installation unit 240 can also be installed second file set in the resolution file, and this will be described in detail later.
After described installation unit 240 is finished the installation of first file set, can in electronic equipment, show the startup icon corresponding with described program, this startup icon makes the user can start the program that is mounted.When the user had for example clicked this startup icon, electronic equipment knew that the user expects to use the program of installing, thus preferential installation first file set and second file set corresponding with this program.Therefore, this startup icon provides a ditch circulation passage between the program of partly installing and user.Certainly, this startup icon can show always, up to whole installations of finishing program.
Described second determining unit 250 is used for determining whether second predetermined condition of described electronic equipment, to judge whether to begin the installation of second file set.For example, described second determining unit 250 can determine whether described electronic equipment finishes the installation of first file set, thereby can begin the installation of second file set after first file set that needs preferentially to install has been installed.In addition, this second determining unit 250 can determine whether not detect the user to the clicking operation of the program of installation, if do not detect the user to the clicking operation of the program of installation, then the installation of second file set can be carried out according to set order or process, need not to accelerate to install; If detect the user to the clicking operation of the program of installation, then need for example to install as early as possible second file set, come to use for the user with the installation of finishing program.
Be noted that in practice, can be carried out the operation of this second determining unit 250 by first determining unit 210, for the sake of clarity just separately describe here.
When described electronic equipment satisfied described second predetermined condition, described second file set that described installation unit 240 is installed in the described resolution file was to finish the installation of described program.Described installation unit 240 can be installed second file set in the described resolution file on the backstage.In addition, described installation unit 240 can be installed described second file set in the resolution file according to predefined procedure.This predefined procedure can be based on the user to be determined the frequency of utilization of program, perhaps determines according to the sequencing of letter simply.
Determine that in second determining unit 250 described electronic equipments finish under the situation of installation of first file set, described installation unit 240 can be by described second file set in the following operation installation resolution file: whether the system resource of detected electrons equipment satisfies specified conditions; When the system resource of electronic equipment satisfies described specified conditions, described second file set in the resolution file is installed.That is to say, finish at described electronic equipment under the situation of installation of first file set, determine also whether the system resource of electronic equipment satisfies specified conditions (as previously mentioned).Finish at described electronic equipment under the situation of installation of first file set, if owing to other operation of electronic equipment causes the system resource anxiety of electronic equipment, then can postpone the installation of second file set, thereby not influence described other operation; If there is the available system resource, then can start the installation of second file set, with the process of accelerating to install.
In addition, it is also conceivable that user's expectation in the process of described second file set in installation unit 240 installation resolution files.For example, finish at described electronic equipment under the situation of installation of first file set, perhaps finish the installation of first file set and the system resource of electronic equipment satisfies under the situation of described specified conditions at described electronic equipment, installation unit 240 can be installed described second file set in the resolution file as follows: detect the user to the start-up operation of specific program; Judge in second file set whether be mounted with described specific program corresponding file; Under the situation about in second file set, not being mounted with described specific program corresponding file, install in second file set and described specific program corresponding file, to finish the installation of described specific program; Move described specific program.At this moment, can accelerate the installation that the user expects the program used.It should be noted that and at any the expectation of considering the user in the process of second file set to be installed, and be not limited to two examples that mask body provides.
If it is the installation that startup for the first time and described second determining unit, 250 definite described electronic equipments are finished first file set that described first determining unit 210 is determined described electronic equipment, then described installation unit 240 can be installed described second file set in the resolution file by following operation: the interface file corresponding with interface program in described second file set is installed, and this interface program is the program relevant with the use of the operation interface of electronic equipment; After the installation of finishing interface file, the residue file except interface file in described second file set is installed.As previously mentioned, be when starting for the first time at described electronic equipment, need to install a large amount of programs that comprise system program and application program.Because the interface program relevant with the use of the operation interface of electronic equipment is the basis that the user operates, and the demonstration at interface can be so that the user can start the operation of expectation, therefore described interface program can preferentially be installed, after this residue file except interface file in described second file set is installed.
After installation unit 240 is finished the installation of first file set and second file set, the installation of termination routine.
In the said procedure erecting device of the embodiment of the invention, the installation of program is split as the different stages, and come the installation process of control program by the state according to electronic equipment, reduced the stand-by period of user in the installation procedure process, strengthened user's experience effectively.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the concrete course of work of the device of foregoing description and unit can not repeat them here with reference to the corresponding process among the preceding method embodiment.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for using distinct methods to realize described function to each, but this realization should not thought and exceeds scope of the present invention.
In the embodiment that the application provides, should be understood that disclosed apparatus and method can realize by other mode.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
If described function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.

Claims (20)

1. the method for an installation procedure is applied in the electronic equipment, and described method comprises:
Determine whether first predetermined condition of described electronic equipment;
When described electronic equipment satisfies described first predetermined condition, obtain the installation file corresponding with program;
The installation file corresponding with described program resolved and obtained resolution file, and described resolution file comprises first file set and second file set;
Described first file set in the described resolution file is installed after described analyzing step;
Determine whether second predetermined condition of described electronic equipment; And
When described electronic equipment satisfies described second predetermined condition, described second file set in the described resolution file is installed, to finish the installation of described program.
2. method according to claim 1, wherein, whether first predetermined condition comprises described definite electronic equipment: determine whether described electronic equipment is to start for the first time,
When described electronic equipment is when starting for the first time, the described acquisition installation file corresponding with program comprises: obtain and a plurality of program corresponding file that are pre-stored in before the startup in the described first time in the described electronic equipment.
3. method according to claim 2, wherein, described determine described electronic equipment whether the step of second predetermined condition comprise: determine whether described electronic equipment finishes the installation of first file set,
When described electronic equipment was finished the installation of first file set, described second file set in the described installation resolution file comprised:
The interface file corresponding with interface program in described second file set is installed, and this interface program is the program relevant with the use of the operation interface of electronic equipment; With
After the installation of finishing interface file, the residue file except interface file in described second file set is installed.
4. method according to claim 1, wherein, whether first predetermined condition comprises described definite electronic equipment: whether the system resource of determining described electronic equipment satisfies specified conditions.
5. method according to claim 1, wherein, described determine described electronic equipment whether the step of second predetermined condition comprise: determine whether described electronic equipment finishes the installation of first file set.
6. method according to claim 5, wherein, when described electronic equipment was finished the installation of first file set, the step of described second file set in the described installation resolution file comprised:
Whether the system resource of detected electrons equipment satisfies specified conditions;
When the system resource of electronic equipment satisfies described specified conditions, described second file set in the resolution file is installed.
7. method according to claim 6, wherein, the step of described second file set in the described installation resolution file comprises: according to predefined procedure described second file set in the resolution file is installed.
8. method according to claim 1, wherein, the step of described second file set in the described installation resolution file comprises:
Detect the user to the start-up operation of specific program;
Judge in second file set whether be mounted with described specific program corresponding file;
Under the situation about in second file set, not being mounted with described specific program corresponding file, install in second file set and described specific program corresponding file, to finish the installation of described specific program;
Move described specific program.
9. method according to claim 1 wherein, after the installation of finishing first file set, shows the startup icon corresponding with described program, and this startup icon makes the user can start the program that is mounted.
10. method according to claim 1, wherein, the step of second file set of described installation resolution file is included in the backstage described second file set is installed.
11. the device of an installation procedure, this device is applied to electronic equipment, and described device comprises:
First determining unit be used for to be determined whether first predetermined condition of described electronic equipment;
Obtain the unit, be used for when described electronic equipment satisfies described first predetermined condition, obtaining the installation file corresponding with program;
Resolution unit, for the installation file corresponding with described program being resolved and obtaining resolution file, described resolution file comprises first file set and second file set;
Installation unit is for described first file set that described resolution file is installed after described analyzing step;
Second determining unit be used for to be determined whether second predetermined condition of described electronic equipment,
Wherein, when described electronic equipment satisfied described second predetermined condition, described installation unit was installed described second file set in the described resolution file, to finish the installation of described program.
12. device according to claim 11, wherein, described first determining unit determines whether described electronic equipment is to start for the first time,
When described electronic equipment is when starting for the first time, described acquisition unit obtain with start in the described first time before be pre-stored in a plurality of program corresponding file in the described electronic equipment.
13. device according to claim 12, wherein, described second determining unit determines whether described electronic equipment finishes the installation of first file set,
When described electronic equipment was finished the installation of first file set, described installation unit was installed described second file set in the resolution file by following operation:
The interface file corresponding with interface program in described second file set is installed, and this interface program is the program relevant with the use of the operation interface of electronic equipment; With
After the installation of finishing interface file, the residue file except interface file in described second file set is installed.
14. device according to claim 11, wherein, described first determining unit is used for determining whether the system resource of described electronic equipment satisfies specified conditions.
15. device according to claim 11, wherein, described second determining unit determines whether described electronic equipment finishes the installation of first file set.
16. device according to claim 15, wherein, when described electronic equipment was finished the installation of first file set, described installation unit was installed described second file set in the resolution file by following operation:
Whether the system resource of detected electrons equipment satisfies specified conditions;
When the system resource of electronic equipment satisfies described specified conditions, described second file set in the resolution file is installed.
17. device according to claim 16, wherein, described installation unit is according to described second file set in the predefined procedure installation resolution file.
18. device according to claim 1, wherein, described installation unit is installed described second file set in the resolution file by following operation:
Detect the user to the start-up operation of specific program;
Judge in second file set whether be mounted with described specific program corresponding file;
Under the situation about in second file set, not being mounted with described specific program corresponding file, install in second file set and described specific program corresponding file, to finish the installation of described specific program;
Move described specific program.
19. device according to claim 11 wherein, after the installation of finishing first file set, shows the startup icon corresponding with described program, this startup icon makes the user can start the program that is mounted.
20. device according to claim 11, wherein, described installation unit is installed described second file set of described resolution file on the backstage.
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 true CN103257868A (en) 2013-08-21
CN103257868B 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)

Cited By (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
WO2017193885A1 (en) * 2016-05-09 2017-11-16 腾讯科技(深圳)有限公司 Application starting method and apparatus

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

Cited By (3)

* 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
WO2017193885A1 (en) * 2016-05-09 2017-11-16 腾讯科技(深圳)有限公司 Application starting method and apparatus
US10871973B2 (en) 2016-05-09 2020-12-22 Tencent Technology (Shenzhen) Company Limited Application activation method and apparatus

Also Published As

Publication number Publication date
CN103257868B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
US8898662B2 (en) Method and device for generating software installation packet
US8589909B2 (en) Techniques for reducing down time in updating applications with metadata
CN106502717B (en) Application program running method and device
CN103473080A (en) Software installation method, terminal and software installation system
US20120210317A1 (en) Method and apparatus for updating data card
WO2014035309A1 (en) Re-configuration in cloud computing environments
CN103795740A (en) Downloading method of plug-in installation packages and downloading terminal
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
CN103077059A (en) Method for judging whether application is matched or not
KR20160061306A (en) Method and apparatus for firmware virtualization
CN114968406B (en) Plug-in management method and device, electronic equipment and storage medium
CN104572137A (en) Implementation method and device for accelerating starting of network management client
CN112860251A (en) Method and system for constructing website front end
CN103257868A (en) Method and device for installing program
CN113468067A (en) Application program debugging method and device, electronic equipment and computer readable medium
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
US11704105B2 (en) Method, device, and computer program product for managing virtual machine upgrade
CN110362314B (en) Information processing method and device, computer readable medium and electronic equipment
CN112667317A (en) Abnormal time consumption detection method and device, electronic equipment and storage medium
CN108287737A (en) Service Worker start method, apparatus and electronic equipment
CN105204876A (en) System starting method and electronic equipment
CN113050962B (en) Mobile service upgrading method, device and terminal
CN108280113B (en) Service Worker control method and device and electronic terminal
EP3151512A1 (en) Service authentication processing method and apparatus

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