CN104360880A - Application installing method and electronic equipment - Google Patents

Application installing method and electronic equipment Download PDF

Info

Publication number
CN104360880A
CN104360880A CN201410608296.5A CN201410608296A CN104360880A CN 104360880 A CN104360880 A CN 104360880A CN 201410608296 A CN201410608296 A CN 201410608296A CN 104360880 A CN104360880 A CN 104360880A
Authority
CN
China
Prior art keywords
electronic equipment
application file
installation directory
application
file
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
CN201410608296.5A
Other languages
Chinese (zh)
Other versions
CN104360880B (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 CN201410608296.5A priority Critical patent/CN104360880B/en
Publication of CN104360880A publication Critical patent/CN104360880A/en
Application granted granted Critical
Publication of CN104360880B publication Critical patent/CN104360880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an application installing method. According to the method, after the condition that electronic equipment sends out notification broadcasting is monitored, an installing directory of application to be installed is obtained, and in addition, the incidence relationship between the installing directory and an application file is created in the installing directory. The incidence relationship can indicate that under the conditions that when electronic equipment is booted and the installing directory is scanned, the application file can automatically run, so when the electronic equipment is rebooted and the installing directory is scanned, the electronic equipment can automatically run the application file to complete the application installation. Therefore the application automatic installation in the electronic equipment booting process can be realized, and the problems of application running incapability and system resource occupation due to automatic installation of the application in the work process of the electronic equipment can be solved.

Description

A kind of application installation method and electronic equipment
Technical field
The present invention relates to applied technical field, particularly one application installation method and electronic equipment.
Background technology
Along with widely using of Android operation system, the application of researching and developing for this type operating system also gets more and more, application can be illustrated in the application shop of developer website, the electronic equipment installing this type operating system can from applying down load application shop, and when network connected by electronic equipment, application in electronic equipment can also be monitored the need of upgrading in application shop, and points out it to upgrade.
The application shop that some developers provide at present also has the function starting application Auto-mounting, and namely apply shop after detecting that certain application downloaded by electronic equipment, the installation activated in application carrys out Auto-mounting application.
But in application autoinstall procedure, electronic equipment cannot run the application be in installment state, and in installation process, application meeting occupying system resources, thus reduce the travelling speed of electronic equipment.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of application installation method and electronic equipment, realize Auto-mounting application in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process, technical scheme is as follows:
A kind of application installation method, comprising:
Whether monitor electronic equipment to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
The incidence relation of described installation directory and application file is created in described installation directory, wherein said application file is the installation file of application to be installed, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
Above-mentioned method, preferably, described method also comprises: after the incidence relation having created described installation directory and described application file, sends shutdown command and completes shutdown to indicate described electronic equipment.
Above-mentioned method, preferably, before whether described monitoring electronic equipment gives notice broadcast, described method also comprises:
Arrange the memory location of described application file, memory location and the described installation directory of wherein said application file are arranged in same disk partition;
Described application file is stored in described memory location.
Above-mentioned method, preferably, before whether described monitoring electronic equipment gives notice broadcast, described method also comprises:
Judge whether the storage space that described application file takies is more than or equal to preset value;
When the storage space that described application file takies is more than or equal to described preset value, monitors described electronic equipment and whether send described notification broadcast.
Above-mentioned method, preferably, the described incidence relation creating described installation directory and application file in described installation directory, comprising:
In described installation directory, create the hard link pointing to described application file, described hard link represents the incidence relation of described installation directory and described application file.
Above-mentioned method, preferably, described method also comprises:
In described installation directory create point to described application file hard link while, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file;
Delete the former link of described application file.
A kind of electronic equipment, comprising:
Whether monitor module, to give notice broadcast for monitoring electronic equipment, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Acquisition module, for listening to after described electronic equipment sends described notification broadcast, obtains the installation directory of described electronic equipment;
Relating module, for creating the incidence relation of described installation directory and application file in described installation directory, wherein said application file is the installation file of application to be installed, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
Above-mentioned electronic equipment, preferably, also comprises:
Shutdown indicating module, for after the incidence relation having created described installation directory and described application file, sends shutdown command and completes shutdown to indicate described electronic equipment.
Above-mentioned electronic equipment, preferably, also comprises:
Memory module, for arranging the memory location of described application file, and is stored in described memory location by described application file; Wherein, the memory location of described application file and described installation directory are arranged in same disk partition.
Above-mentioned electronic equipment, preferably, also comprises:
Judge module, for judging whether the storage space that described application file takies is more than or equal to preset value, when the storage space that described application file takies is more than or equal to described preset value, triggers described monitoring module.
Above-mentioned electronic equipment, preferably, described relating module specifically for:
In described installation directory, create the hard link pointing to described application file, described hard link represents the incidence relation of described installation directory and described application file.
Above-mentioned electronic equipment, preferably, also comprises:
Search module, while in described installation directory, the hard link of described application file is pointed in establishment, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file;
Removing module, for deleting the former link of described application file.
Application technique scheme, listen to electronic equipment give notice broadcast after, obtain the installation directory of application to be installed, and in installation directory, create the incidence relation of installation directory and application file.Because incidence relation can indicate when electronic equipment is started shooting and scanned installation directory, automatically application file can be run, so when electronic equipment is again started shooting and is scanned installation directory, electronic equipment can run the installation that application file completes application automatically, thus realize the application Auto-mounting in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of process flow diagram applying installation method embodiment 1 that Fig. 1 provides for the application;
A kind of process flow diagram applying installation method embodiment 2 that Fig. 2 provides for the application;
A kind of process flow diagram applying installation method embodiment 3 that Fig. 3 provides for the application;
A kind of process flow diagram applying installation method embodiment 4 that Fig. 4 provides for the application;
A kind of process flow diagram applying installation method embodiment 5 that Fig. 5 provides for the application;
The structural representation of a kind of electronic equipment embodiment 1 that Fig. 6 provides for the application;
The structural representation of a kind of electronic equipment embodiment 2 that Fig. 7 provides for the application;
The structural representation of a kind of electronic equipment embodiment 3 that Fig. 8 provides for the application;
The structural representation of a kind of electronic equipment embodiment 4 that Fig. 9 provides for the application;
One structural representation of a kind of electronic equipment embodiment 5 that Figure 10 provides for the application;
Another structural representation of a kind of electronic equipment embodiment 5 that Figure 11 provides for the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1 for a kind of process flow diagram applying installation method embodiment 1 provided by the invention, the method is applied to electronic equipment, this electronic equipment is specifically as follows the electronic equipments such as desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligent watch, Wearable, described electronic equipment can from applying down load application shop, and this application is installed, in the present invention, the type of application to be installed in electronic equipment and quantity are not limited.
The method realizes by following steps:
Step S101: monitor electronic equipment and whether to give notice broadcast;
Wherein, described notification broadcast is used to indicate described electronic equipment and will shuts down.
Concrete, when electronic equipment receives shutdown command, generate the notification broadcast of shutdown, terminate with the every application run in electronic device.
Specifically, this listening mode can be real-time listening, also can monitor according to the time interval of presetting, the mode of not limiting monitoring in the present embodiment.
Step S102: listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
Wherein, this installation directory refers in electronic equipment the storage address installing application file, and under being specially which dish of electronic equipment, which catalogue, such as, this installation directory can be C: ProgramFiles.
Concrete, the predetermined position in electronic equipment is provided with the installation directory of this electronic equipment, obtains this installation directory.
Step S103: the incidence relation creating described installation directory and application file in described installation directory, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
Wherein, this application file is the installation file of application to be installed.
Concrete, before electronic equipment shutdown receives this notification broadcast, this application file can be downloaded and preserve in the electronic device, the time of this download can be automatically download in electronic equipment normal course of operation, also can be and download according to the practical operation of user, the downloading mode of application file is not limited in the application.
Wherein, this application file can be stored in the optional position of electronic equipment, preferably, this application file can be stored in the disk partition at installation directory place, particularly, this application file can for downloading to the disk partition at installation directory place automatically, and also can copy in the disk partition at installation directory place after having downloaded, the mode of the present embodiment to the disk partition being stored into installation directory place limit.
Wherein, when storing the installation file of application to be installed in electronic equipment, before this shutdown, setting up the installation file of application to be installed and the incidence relation of installation directory, during to realize electronic equipment start next time, can automatically install.
Concrete, when the installation directory in electronic equipment and when setting up relevant between an application file to be installed, the installation file of application to be installed in electronic equipment can be determined according to this incidence relation, and according to this installation file, this application is installed, when next electronic equipment starts, when scanning this installation directory, incidence relation between the installation file that can obtain this installation directory and this application to be installed, electronic equipment runs the installation of this installation file realization to this application automatically, achieves Auto-mounting application in electronic equipment start process.
It should be noted that, in concrete enforcement, listen to after electronic equipment sends this notification broadcast at execution step S101, can also first check electronic equipment internal, when be checked through in electronic equipment have application to be installed time, continue to perform step S102 and obtain the installation directory of electronic equipment; Otherwise, can directly control electronic equipment and complete shutdown process, no longer perform follow-up step S102 and step S103, perform to reduce electronic equipment the extra power consumption that useless step S102 causes.
To sum up, in the one application installation method provided in the present embodiment, listen to electronic equipment give notice broadcast after, obtain the installation directory of application to be installed, and in installation directory, create the incidence relation of installation directory and application file.Because incidence relation can indicate when electronic equipment is started shooting and scanned installation directory, automatically application file can be run, so when electronic equipment is again started shooting and is scanned installation directory, electronic equipment can run the installation that application file completes application automatically, thus realize the application Auto-mounting in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
As shown in Figure 2 for a kind of process flow diagram applying installation method embodiment 2 provided by the invention, the method realizes especially by following steps:
Step S201: whether monitor electronic equipment and to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Step S202: listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
Step S203: the incidence relation creating described installation directory and application file in described installation directory, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed;
Wherein, step S201-203 is consistent with the step S101-103 in embodiment 1, repeats no more in the present embodiment.
Step S204: send shutdown command and complete shutdown to indicate described electronic equipment.
Wherein, when after the incidence relation having set up installation directory and application file in installation directory, ready for installing this application file in this electronic equipment, now, this electronic equipment can perform shutdown, completes shutdown process.
Concrete, after the incidence relation having created this installation directory and application file to be installed, send shutdown command, indicate this electronic equipment to complete shutdown.
Concrete, indicate this electronic equipment to complete shutdown and specifically comprise: close the every application process run in electronic equipment according to this shutdown command.
In concrete enforcement, when a certain application just operationally, when cannot close its process, the mode entering journey can be adopted, this application of hard closing.
In concrete enforcement, electronic equipment completes shutdown process, because it has set up application file to be installed and the incidence relation of installation directory, and this incidence relation can indicate when electronic equipment is again started shooting and scanned installation directory, electronic equipment can run the installation that this application file completes this application automatically, so, set up the incidence relation of installation directory and application file in step S203 after, the shutdown process to this electronic equipment can be completed, just can automatically install this application when electronic equipment is started shooting again.
To sum up, in the one application installation method provided in the present embodiment, when after the incidence relation having set up installation directory and application file in installation directory, send shutdown command and complete shutdown to indicate this electronic equipment, adopt the method, when having set up the incidence relation of installation directory and application file in installation directory, set up as the preparation of application is installed in start next time in the electronic device, now, control this electronic equipment and complete shutdown process, complete the shutdown process of electronic equipment.
As shown in Figure 3 for a kind of process flow diagram applying installation method embodiment 3 provided by the invention, the method realizes especially by following steps:
Step S301: the memory location that described application file is set, memory location and the described installation directory of wherein said application file are arranged in same disk partition;
Wherein, when downloading this application file, directly this application file can be downloaded to default position, but this predeterminated position is not the same disk partition of installation directory.
For this reason, need for this application file arranges a memory location, this memory location and installation directory are arranged in same disk partition, such as, when this installation directory is arranged in the S file of C dish, the memory location of then presetting for this application file is also in C dish, to ensure that this application file can be stored as in same disk partition with installation directory.
It should be noted that, this arranges the opportunity of the memory location of application file, can for before this application file of download, the memory location of this application file in downloading process is set, also can be after this application file is downloaded to a certain position, this application file is dumped to the position with installation directory integrated disc subregion, to not limiting the opportunity that this arranges memory location in the application.
Step S302: described application file is stored in described memory location;
Wherein, when behind the memory location being provided with application file in step S301, this application file is stored in the memory location of this setting, after listening to notification broadcast that electronic equipment sends in subsequent step, the incidence relation creating described installation directory and application file in described installation directory provides and creates basis.
Step S303: whether monitor electronic equipment and to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Step S304: listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
Step S305: the incidence relation creating described installation directory and application file in described installation directory, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed;
Wherein, step S303-305 is consistent with the step S101-103 in embodiment 1, repeats no more in the present embodiment.
To sum up, in the one application installation method provided in the present embodiment, before whether monitoring electronic equipment gives notice broadcast, also comprise: the memory location arranging application file, wherein the memory location of this application file and installation directory are arranged in same disk partition; And be stored to by this application file in this memory location, after listening to notification broadcast that electronic equipment sends in subsequent step, the incidence relation creating described installation directory and application file in described installation directory provides and creates basis.
As shown in Figure 4 for a kind of process flow diagram applying installation method embodiment 4 provided by the invention, the method realizes especially by following steps:
Step S401: the memory location that described application file is set, memory location and the described installation directory of wherein said application file are arranged in same disk partition;
Step S402: described application file is stored in described memory location;
Wherein, step S401-402 is consistent with the step S301-303 in embodiment 3, repeats no more in the present embodiment.
Step S403: judge whether the storage space that described application file takies is more than or equal to preset value;
Wherein, when application file is larger, installing this application needs to expend the longer time, and can take more system resource, causes other application operations in electronic equipment to be affected.
So, when the storage space that described application file takies is more than or equal to this preset value, perform step S404, monitor described electronic equipment and whether to give notice broadcast.
Concrete, this preset value can be arranged according to the actual conditions of electronic equipment, and opportunity specifically can be set to the numerical value such as 1M, 2M in implementing.Such as, when the storage space that this application file takies is more than or equal to 1M, the switching on and shutting down utilizing electronic equipment are needed opportunity this application to be installed, to solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
It should be noted that, in concrete enforcement, when this application file is less, this application file is installed without the need to taking comparatively multi-system resource, and installs very fast, now, without the need to waiting for the incidence relation between the installation file setting up installation directory and application to be installed in electronic equipment shutdown process, directly install, electronic equipment can run this application immediately, can use this application immediately to make the user of electronic equipment.
Step 404: when the storage space that described application file takies is more than or equal to this preset value, whether monitor electronic equipment and to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Step S405: listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
Step S406: the incidence relation creating described installation directory and application file in described installation directory, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed;
Wherein, step S404-406 is consistent with the step S303-305 in embodiment 3, repeats no more in the present embodiment.
To sum up, in the one application installation method provided in the present embodiment, also comprise: the storage size that the application file received takies is judged, when the storage space that this application file takies is more than or equal to preset value, need the installation that this application file is started shooting, then perform follow-up monitoring electronic equipment whether to give notice Broadcast step, the switching on and shutting down of electronic equipment are utilized opportunity this application to be installed, to solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
As shown in Figure 5 for a kind of process flow diagram applying installation method embodiment 5 provided by the invention, the method realizes especially by following steps:
Step S501: whether monitor electronic equipment and to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Step S502: listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
Wherein, step S501-502 is consistent with the step S101-102 in embodiment 1, repeats no more in the present embodiment.
Step S503: create the hard link pointing to described application file in described installation directory, described hard link represents the incidence relation of described installation directory and described application file.
In the present embodiment, the incidence relation of described installation directory and application file should be created in described installation directory, specifically adopt the mode creating the hard link pointing to this application file in installation directory.
Wherein, this hard link illustrates the incidence relation of installation directory and application file, by calling the hard link in installation directory, directly can run the application file corresponding to hard link.
In concrete enforcement, can adopt ln order in the file of installation directory, create the hard link pointing to application file.
It should be noted that, the method also comprises: create the hard link pointing to described application file in described installation directory while, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file; Delete the former link of described application file.
Each link due to application file all takies the resource of system, after the hard link setting up application file, the effect of its former link is meaningless, then can also process the former link of this application file, this is former be linked as the hard link creating and point to this application file before, point to the link of this application file, with optimization system resource, the method processing this former link is specifically as follows deletes this former link.
To sum up, in the one application installation method provided in the present embodiment, the incidence relation of this installation directory and application file is created in installation directory, specifically comprise: in installation directory, create the hard link pointing to this application file, this hard link represents the incidence relation of this installation directory and this application file.The application to be installed of wherein recording can be determined according to this installation directory, obtain the application file of this application to be installed according to this record and this hard link interface, the installation to this application after obtaining this application file, can be realized.So, when electronic equipment is again started shooting and is scanned installation directory, the application file of this application to be installed can be obtained according to the hard link pointing to this application file in this installation directory, automatically the installation that application file completes application can be run, thus realize the application Auto-mounting in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
With the application provide a kind of to apply installation method embodiment corresponding, present invention also provides a kind of electronic equipment embodiment corresponding to this application installation method.
As shown in Figure 6 be the structural representation of a kind of electronic equipment embodiment 1 provided by the invention, this electronic equipment is specifically as follows the electronic equipments such as desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligent watch, Wearable, described electronic equipment can from applying down load application shop, and this application is installed, in the present invention, the type of application to be installed in electronic equipment and quantity are not limited.
This electronic equipment can comprise following composition structure: monitor module 601, acquisition module 602 and relating module 603;
Wherein, whether monitor module 601 and to give notice broadcast for monitoring electronic equipment, described notification broadcast if being used to indicate described electronic equipment and will shutting down;
Wherein, acquisition module 602, for listening to after described electronic equipment sends described notification broadcast, obtains the installation directory of described electronic equipment;
Wherein, relating module 603, for creating the incidence relation of described installation directory and application file in described installation directory, wherein said application file is the installation file of application to be installed, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
In a kind of electronic equipment provided in the present embodiment, listen to electronic equipment give notice broadcast after, obtain the installation directory of application to be installed, and in installation directory, create the incidence relation of installation directory and application file.Because incidence relation can indicate when electronic equipment is started shooting and scanned installation directory, automatically application file can be run, so when electronic equipment is again started shooting and is scanned installation directory, electronic equipment can run the installation that application file completes application automatically, thus realize the application Auto-mounting in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
As shown in Figure 7 be the structural representation of a kind of electronic equipment embodiment 2 provided by the invention, this electronic equipment can comprise following composition structure: monitor module 701, acquisition module 702, relating module 703 and shutdown indicating module 704;
Wherein, monitor module 701, acquisition module 702 is consistent with the corresponding construction function in embodiment 1 with the structure function of relating module 703, the present embodiment does not repeat.
Wherein, shutdown indicating module 704, for after the incidence relation having created described installation directory and described application file, sends shutdown command and completes shutdown to indicate described electronic equipment.
To sum up, in a kind of electronic equipment provided in the present embodiment, when after the incidence relation having set up installation directory and application file in installation directory, send shutdown command and complete shutdown to indicate this electronic equipment, adopt the method, when having set up the incidence relation of installation directory and application file in installation directory, set up as the preparation of application is installed in start next time in the electronic device, now, control this electronic equipment and complete shutdown process, complete the shutdown process of electronic equipment.
As shown in Figure 8 be the structural representation of a kind of electronic equipment embodiment 3 provided by the invention, this electronic equipment can comprise following composition structure: memory module 801, monitor module 802, acquisition module 803, relating module 804;
Wherein, the structure function of monitoring module 802, acquisition module 803, relating module 804 is consistent with the corresponding construction function in embodiment 1, and the present embodiment does not repeat.
Wherein, memory module 801, for arranging the memory location of described application file, and is stored in described memory location by described application file; Wherein, the memory location of described application file and described installation directory are arranged in same disk partition.
To sum up, in a kind of electronic equipment provided, also comprise: memory module arranges the memory location of application file in the present embodiment, wherein the memory location of this application file and installation directory are arranged in same disk partition; And be stored to by this application file in this memory location, after listening to notification broadcast that electronic equipment sends in subsequent module, the incidence relation creating described installation directory and application file in described installation directory provides and creates basis.
As shown in Figure 9 be the structural representation of a kind of electronic equipment embodiment 4 provided by the invention, this electronic equipment can comprise following composition structure: memory module 901, judge module 902, monitor module 903, acquisition module 904 and relating module 905;
Wherein, memory module 901, monitoring module 903, acquisition module 904 are consistent with the corresponding construction function in embodiment 3 with the structure function of relating module 905, and the present embodiment does not repeat.
Wherein, judge module 902, for judging whether the storage space that described application file takies is more than or equal to preset value, when the storage space that described application file takies is more than or equal to described preset value, triggers described monitoring module.
To sum up, in a kind of electronic equipment provided in the present embodiment, also comprise: judge module judges the storage size that the application file received takies, when the storage space that this application file takies is more than or equal to preset value, need the installation that this application file is started shooting, then whether triggering following module is monitored electronic equipment and to be given notice broadcast, the switching on and shutting down of electronic equipment are utilized opportunity this application to be installed, to solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
As shown in Figure 10 be a structural representation of a kind of electronic equipment embodiment 5 provided by the invention, this electronic equipment can comprise following composition structure: monitor module 1001, acquisition module 1002 and relating module 1003;
Wherein, the structure function of monitoring module 1001, acquisition module 1002 is consistent with the corresponding construction function in embodiment 1, and the present embodiment does not repeat.
Wherein, this relating module 1003 specifically for: create in described installation directory and point to the hard link of described application file, described hard link represents the incidence relation of described installation directory and described application file.
As shown in figure 11 be another structural representation of a kind of electronic equipment embodiment 5 provided by the invention, this electronic equipment can comprise following composition structure: monitor module 1101, acquisition module 1102, relating module 1103, search module 1104 and removing module 1105;
Wherein, search module 1104, while the hard link of described application file is pointed in establishment in described installation directory, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file;
Wherein, removing module 1105, for deleting the former link of described application file.
To sum up, in a kind of electronic equipment provided in the present embodiment, search module specifically for: create in installation directory and point to the hard link of this application file, this hard link represents the incidence relation of this installation directory and this application file.The application to be installed of wherein recording can be determined according to this installation directory, obtain the application file of this application to be installed according to this record and this hard link interface, the installation to this application after obtaining this application file, can be realized.So, when electronic equipment is again started shooting and is scanned installation directory, the application file of this application to be installed can be obtained according to the hard link pointing to this application file in this installation directory, automatically the installation that application file completes application can be run, thus realize the application Auto-mounting in electronic equipment start process, solve the problem cannot running application and occupying system resources that Auto-mounting application brings in electronic device works process.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing of the present invention.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Above one application installation method provided by the present invention and electronic equipment are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. apply an installation method, it is characterized in that, comprising:
Whether monitor electronic equipment to give notice broadcast, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Listening to after described electronic equipment sends described notification broadcast, obtain the installation directory of described electronic equipment;
The incidence relation of described installation directory and application file is created in described installation directory, wherein said application file is the installation file of application to be installed, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
2. method according to claim 1, is characterized in that, described method also comprises: after the incidence relation having created described installation directory and described application file, sends shutdown command and completes shutdown to indicate described electronic equipment.
3. method according to claim 1, is characterized in that, before whether described monitoring electronic equipment gives notice broadcast, described method also comprises:
Arrange the memory location of described application file, memory location and the described installation directory of wherein said application file are arranged in same disk partition;
Described application file is stored in described memory location.
4. method according to claim 3, is characterized in that, before whether described monitoring electronic equipment gives notice broadcast, described method also comprises:
Judge whether the storage space that described application file takies is more than or equal to preset value;
When the storage space that described application file takies is more than or equal to described preset value, monitors described electronic equipment and whether send described notification broadcast.
5. the method according to Claims 1-4 any one, is characterized in that, the described incidence relation creating described installation directory and application file in described installation directory, comprising:
In described installation directory, create the hard link pointing to described application file, described hard link represents the incidence relation of described installation directory and described application file.
6. method according to claim 5, is characterized in that, described method also comprises:
In described installation directory create point to described application file hard link while, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file;
Delete the former link of described application file.
7. an electronic equipment, is characterized in that, comprising:
Whether monitor module, to give notice broadcast for monitoring electronic equipment, described notification broadcast is used to indicate described electronic equipment and will shuts down;
Acquisition module, for listening to after described electronic equipment sends described notification broadcast, obtains the installation directory of described electronic equipment;
Relating module, for creating the incidence relation of described installation directory and application file in described installation directory, wherein said application file is the installation file of application to be installed, described incidence relation is used to indicate in described electronic equipment start and scans described installation directory, run described application file to install described application to be installed.
8. electronic equipment according to claim 7, is characterized in that, also comprises:
Shutdown indicating module, for after the incidence relation having created described installation directory and described application file, sends shutdown command and completes shutdown to indicate described electronic equipment.
9. electronic equipment according to claim 7, is characterized in that, also comprises:
Memory module, for arranging the memory location of described application file, and is stored in described memory location by described application file; Wherein, the memory location of described application file and described installation directory are arranged in same disk partition.
10. electronic equipment according to claim 9, is characterized in that, also comprises:
Judge module, for judging whether the storage space that described application file takies is more than or equal to preset value, when the storage space that described application file takies is more than or equal to described preset value, triggers described monitoring module.
11. electronic equipments according to claim 7-10 any one, is characterized in that, described relating module specifically for:
In described installation directory, create the hard link pointing to described application file, described hard link represents the incidence relation of described installation directory and described application file.
12. electronic equipments according to claim 11, is characterized in that, also comprise:
Search module, while in described installation directory, the hard link of described application file is pointed in establishment, search the former link of described application file, wherein said former be linked as create point to described application file hard link before, point to the link of described application file;
Removing module, for deleting the former link of described application file.
CN201410608296.5A 2014-11-03 2014-11-03 One kind applies installation method and electronic equipment Active CN104360880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410608296.5A CN104360880B (en) 2014-11-03 2014-11-03 One kind applies installation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410608296.5A CN104360880B (en) 2014-11-03 2014-11-03 One kind applies installation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104360880A true CN104360880A (en) 2015-02-18
CN104360880B CN104360880B (en) 2017-11-24

Family

ID=52528144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410608296.5A Active CN104360880B (en) 2014-11-03 2014-11-03 One kind applies installation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104360880B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106257423A (en) * 2016-08-04 2016-12-28 微鲸科技有限公司 Method for upgrading software and user terminal
CN106598665A (en) * 2016-12-10 2017-04-26 北京小米移动软件有限公司 Application installation method and device
CN107330070A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of processing method and electronic equipment
CN107391593A (en) * 2017-06-29 2017-11-24 努比亚技术有限公司 A kind of document handling method, mobile terminal and computer-readable recording medium
CN116204200A (en) * 2023-02-03 2023-06-02 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438749B1 (en) * 1999-03-03 2002-08-20 Microsoft Corporation Method and system for restoring a computer to its original state after an unsuccessful patch installation attempt
CN103631679A (en) * 2013-12-06 2014-03-12 Tcl通讯(宁波)有限公司 Application installation control method and system for mobile terminal
CN103677864A (en) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 Method for upgrading software and terminal
CN103945264A (en) * 2014-04-29 2014-07-23 丹阳市广播电视台 Set top box application program upgrading method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438749B1 (en) * 1999-03-03 2002-08-20 Microsoft Corporation Method and system for restoring a computer to its original state after an unsuccessful patch installation attempt
CN103677864A (en) * 2012-09-05 2014-03-26 中兴通讯股份有限公司 Method for upgrading software and terminal
CN103631679A (en) * 2013-12-06 2014-03-12 Tcl通讯(宁波)有限公司 Application installation control method and system for mobile terminal
CN103945264A (en) * 2014-04-29 2014-07-23 丹阳市广播电视台 Set top box application program upgrading method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106257423A (en) * 2016-08-04 2016-12-28 微鲸科技有限公司 Method for upgrading software and user terminal
CN106598665A (en) * 2016-12-10 2017-04-26 北京小米移动软件有限公司 Application installation method and device
CN107391593A (en) * 2017-06-29 2017-11-24 努比亚技术有限公司 A kind of document handling method, mobile terminal and computer-readable recording medium
CN107330070A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of processing method and electronic equipment
CN116204200A (en) * 2023-02-03 2023-06-02 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment
CN116204200B (en) * 2023-02-03 2024-02-09 启朔(深圳)科技有限公司 Application installation method, device, storage medium and equipment

Also Published As

Publication number Publication date
CN104360880B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN111338854B (en) Kubernetes cluster-based method and system for quickly recovering data
CN104360880A (en) Application installing method and electronic equipment
CN105487980A (en) Method and device for repairing running abnormity of application program
CN107291481B (en) Component updating method, device and system
CN106095621B (en) The restoration methods and system that Launcher is operating abnormally in a kind of Android system
CN103458397A (en) Advertisement processing method and device
CN103810416A (en) Software installation or uninstallation method and device
CN103177104A (en) Searching method and device of application program
CN105468433A (en) Method and system for acquiring disc data of virtual machines
CN105677180A (en) Application program icon processing method and device
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN104216802A (en) Memory database recovery method and device
CN104375854A (en) Application updating and downloading method and user terminal
CN103984585A (en) Method for upgrading Linux kernel in running process of kernel module capable of being plugged in thermal mode
CN109032617B (en) Control method and control device for automatically deleting installation package
CN105824660A (en) Application program updating method and terminal
CN104184817A (en) Download optimizing method and device and terminal
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN103810419A (en) Application uninstall preventing method and equipment
CN104778058A (en) Application program update method and application program update system
CN108563320B (en) Processing method and processing system
CN111722850A (en) Method, device and system for processing application among multiple systems
CN109799997B (en) Management method for presetting third party application, intelligent terminal and storage medium
CN108363582B (en) Method and device for upgrading homepage of intelligent terminal
CN113721936A (en) Application management method, intelligent terminal, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant