CN106126289B - A kind of application installation file loading method and mobile terminal - Google Patents
A kind of application installation file loading method and mobile terminal Download PDFInfo
- Publication number
- CN106126289B CN106126289B CN201610473326.5A CN201610473326A CN106126289B CN 106126289 B CN106126289 B CN 106126289B CN 201610473326 A CN201610473326 A CN 201610473326A CN 106126289 B CN106126289 B CN 106126289B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- applied compression
- compression packet
- installation file
- user partition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of application installation file loading method and mobile terminals, which comprises when mobile terminal, which detects, first powers on starting, the applied compression packet using installation file that is prestored in the mobile terminal extraction system subregion;The applied compression packet is copied to the user partition of the mobile terminal by the mobile terminal;The mobile terminal calls bootstrap to decompress the application installation file in the applied compression packet;It is described using installation file after the mobile terminal installation decompression.The present invention have prevent it is important with program data lose, more user-friendly good effect.
Description
Technical field
The present invention relates to field of mobile terminals, whole in particular to a kind of application installation file loading method and movement
End.
Background technique
With advances in technology, the devices such as mobile terminal, mobile internet surfing equipment are increasingly deep into people's lives,
As communication, amusement and work action tool indispensable in people's routine work and life.
It includes: system partitioning and user partition that mobile terminal, which is used to store the subregion of software program, at present, and wherein system is divided
Area is used to store intrinsic software inside mobile terminal, and the program in system partitioning is that user cannot unload and delete, and
The contents of program of user partition allows to be unloaded and deleted by user, and mobile terminal is in use when one section
Between or the serious lag of mobile terminal reaction in the case where often may require that the operation for carrying out factory reset, restore factory and set
Setting the contents of program in later user partition can be deleted and irrecoverable, need at this time user install again or under
It carries, if it is the application program in the special occasions that can not be networked or the not remote areas of signal, needing to use immediately
Downloading installation work can will not be able to complete in time, the use of user may be will affect.Therefore, after factory reset
There are application data loss and expendable risks, bring great inconvenience to user sometimes.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of application installation file loading method and mobile end
End, to achieve the effect that application data is not easy to lose, user-friendly.
Technical solution provided by the embodiment of the present invention is as follows:
A kind of application installation file loading method, comprising:
When mobile terminal, which detects, first powers on starting, the application prestored in the mobile terminal extraction system subregion is pacified
Fill the applied compression packet of file;
The applied compression packet is copied to the user partition of the mobile terminal by the mobile terminal;
The mobile terminal calls bootstrap to decompress the application installation file in the applied compression packet;
It is described using installation file after the mobile terminal installation decompression.
The application installation file loading method, further includes:
The corresponding applied compression packet of the application program that the mobile terminal obtains after being installed is from the user partition
It deletes.
The application installation file loading method, further includes:
The mobile terminal is counted in frequency of use of the preset time period to mounted user partition application program;
The mobile terminal is according to the frequency of use of the user partition application program according to principle of temporal sequence from high to low
It is ranked up, automatically generates sorted lists;
The mobile terminal pacifies the corresponding application of the user partition application program for coming the sorted lists top N
File copy is filled to the system partitioning.
The mobile terminal pacifies the corresponding application of the user partition application program for coming the sorted lists top N
Before dress file copy to the system partitioning, further includes:
The mobile terminal presses the corresponding application installation file of the user partition application program for coming top N
Contracting obtains corresponding applied compression packet;
The applied compression packet is copied to the system partitioning by the mobile terminal.
The applied compression packet is copied to before the system partitioning by the mobile terminal, further includes:
Detect whether the applied compression packet is already present on system partitioning;
If it is, the applied compression packet is directly deleted from the user partition;
If it is not, then the applied compression packet is copied to the system partitioning.
The embodiment of the invention also provides a kind of mobile terminal, scheme is as follows:
A kind of mobile terminal, comprising:
Extraction unit, for when detect first power on starting when, prestore in the mobile terminal extraction system subregion
Using the applied compression packet of installation file;
Copy cell, for when mobile terminal first powers on starting, the applied compression packet to be copied to the movement
The user partition of terminal;
Decompression unit, for calling bootstrap to decompress the application installation file in the applied compression packet;
Installation unit, it is described using installation file after decompressing for installing.
The mobile terminal, further includes:
Delete unit, the corresponding applied compression packet of application program for obtaining after being installed is from the user partition
It deletes.
The mobile terminal, further includes:
Frequency statistics unit, for being carried out in frequency of use of the preset time period to mounted user partition application program
Statistics;
Sorted lists generation unit, for according to the frequency of use of the user partition application program according to from high to low
Principle of temporal sequence is ranked up, and automatically generates sorted lists;
Wherein, the copy cell is also used to come the user partition application program of the sorted lists top N
Corresponding application installation file is copied to the system partitioning.
The mobile terminal, further includes:
Compression unit, the corresponding application installation file of the user partition application program for that will come top N carry out
Compression obtains corresponding applied compression packet;
Wherein, the copy cell is also used to the applied compression packet being copied to the system partitioning.
The mobile terminal, further includes:
Detection unit, for detecting whether the applied compression packet is already present on system partitioning.
A kind of application installation file loading method provided by the present invention prestores the applied compression packet of application installation file
To system partitioning, when it is to first power on starting that mobile terminal, which detects, what mobile terminal then prestored in extraction system subregion is answered
With the applied compression packet of installation file, and the applied compression packet is copied to the user partition of mobile terminal, then application is pressed
Application installation file in contracting packet is decompressed and is installed;In this manner, as user in unavoidable situation to mobile phone
When equal mobile terminals carry out factory reset, since the data of system partitioning will not lose, set when restoring factory
It postpones, the Fast Installation using installation file can be carried out in no signal or the restricted place of network connection, so that
The fast quick-recovery normal use of mobile terminal, therefore, having prevents important program data from losing, is more user-friendly
Good effect.
Correspondingly, the embodiment of the present invention also provides a kind of mobile terminal.Whereby, the present invention can prevent from important using program
Loss of data, in case of emergency can Fast Installation need application program to be used, be simple and efficient, greatly facilitate user
Use.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart using installation file loading method provided by the embodiment of the present invention;
Fig. 2 shows a kind of structural schematic diagrams of mobile terminal provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment as shown in Figure 1 provides a kind of application installation file loading method in the present embodiment, including walks as follows
It is rapid:
S110, when mobile terminal detects and first powers on starting, the application that is prestored in mobile terminal extraction system subregion
The applied compression packet of installation file;
Above-mentioned first power on includes: in first time booting and mobile terminal use process when mobile terminal factory uses
The later first time booting of factory reset.
It is envisioned that the applied compression packet of application installation file should be prestored to movement before first powering on
The system partitioning of terminal, because the data inside system partitioning can not be unloaded or delete, inside system partitioning
The applied compression packet using installation file can be by relatively permanent preservation.
The applied compression packet is copied to the user partition of the mobile terminal by S120, the mobile terminal;
S130, the mobile terminal call bootstrap to solve the application installation file in the applied compression packet
Pressure;
It is described using installation file after S140, mobile terminal installation decompression.
In above-described embodiment, by answering for (or very crucial to terminal user) application program necessary to mobile terminal
It is stored with compressed package to the system partitioning of mobile terminal, when user first powers on, mobile terminal is automatically by the applied compression packet
It is copied to the user partition of mobile terminal, carries out decompression and installment work;In this way, after mobile phone carries out factory reset,
Significant impact even will not be caused after the loss of data of user partition, because factory reset later first time opens
Machine operation, can also be detected and be judged as and first power on, therefore even if the loss of data of user partition and after can not restoring,
The later applied compression packet institute that still can be installed mobile terminal system subregion when first powering on automatically and prestore of factory reset
It is corresponding to apply installation file.
Further, in above-described embodiment further include:
The corresponding applied compression packet of the application program that mobile terminal obtains after being installed is deleted from user partition.
Above-mentioned applied compression packet is deleted after decompressing and being installed, by applied compression packet from user partition, with this
The EMS memory occupation to mobile terminal user's subregion can be reduced, saves memory, and then improve the operational efficiency of mobile terminal entirety.
In the above-described embodiments, further includes:
In the use process of mobile terminal, mobile terminal is within a preset period of time to mounted user partition application journey
The frequency of use of sequence is counted;
Mobile terminal is ranked up according to the frequency of use of user partition application program according to principle of temporal sequence from high to low,
And automatically generate sorted lists;
Mobile terminal copies the corresponding application installation file of the user partition application program for coming above-mentioned sorted lists top N
Shellfish is to system partitioning.
Frequency of use statistics in above-mentioned preset time period can be every other day or carry out within one week counting primary, and
And the mounted every starting of user partition application program is once, then the number of starts of the application program is added 1, when finally obtaining this
Between mounted user partition application program in section the number of starts.
Alternatively, above-mentioned frequency of use statistics can also be by replacing the statistics for using the time, i.e.,
Setting in such as one day or one week, counts the runing time of mounted application program, presses within one section of preset period
It arranges to obtain sorted lists according to the length sequence from high to low of the runing time, then will come above-mentioned sorted lists top N
The corresponding application installation file of application program be copied to system partitioning.
Further, above-mentioned mobile terminal will come the corresponding application of user partition application program of sorted lists top N
Before installation file copies system partitioning to, also this is compressed using installation file to obtain corresponding applied compression
Packet.
Why this is compressed using installation file, a part is to reduce and account for system partitioning memory headroom
With another part is the speed in order to improve mobile terminal copy.
Further, when applied compression packet is copied to system partitioning by above-mentioned mobile terminal, the applied compression is also detected
Whether packet is already present on system partitioning, and if so, directly deleting the applied compression packet from user partition, if do not deposited
It is then carrying out the applied compression packet being copied to system partitioning again.
In the present embodiment, the mounted user partition application program of mobile terminal is subjected to frequency statistics, and according to frequency
Sequence from high to low is arranged to obtain sorted lists, will be located at application corresponding to the application program of sorted lists top N
What installation file was compressed arrives applied compression packet, and then detecting the applied compression packet whether there is in system partitioning, if deposited
Directly the applied compression packet is being deleted from user partition then, is being divided if there is no the applied compression packet is then copied to system
Area carries out persistence.
In aforesaid way, the top N positioned at sorted lists, N therein can be set according to the actual situation,
For example it can be aligned in primary or front two etc..
It, can be by user using user partition application program institute that is very frequent or using for a long time in the present embodiment
Corresponding applied compression packet is moved to system partitioning, also for after carrying out factory reset, the data of user partition
After loss, automatic erector will do it when still can save in system partitioning, and first power on after factory reset
Make, meeting mobile terminal still can install in the case where cannot connect to network or without signal and using important
Application software, largely reduce factory reset operate it is inconvenient to user bring.
Embodiment as shown in Figure 2 provides a kind of mobile terminal in the present embodiment, which includes:
Extraction unit 210, for when detect first power on starting when, prestore in the mobile terminal extraction system subregion
The applied compression packet using installation file;
Copy cell 220, for when mobile terminal first powers on starting, the applied compression packet to be copied to the shifting
The user partition of dynamic terminal;
Decompression unit 230, for calling bootstrap to solve the application installation file in the applied compression packet
Pressure;
Installation unit 240, it is described using installation file after decompressing for installing.
A kind of above-mentioned mobile terminal, further includes:
Delete unit, the corresponding applied compression packet of application program for obtaining after being installed is from the user partition
It deletes;To save the memory space of user partition.
Further, above-mentioned a kind of mobile terminal, further includes:
Frequency statistics unit, for being carried out in frequency of use of the preset time period to mounted user partition application program
Statistics;
Sorted lists generation unit, for the frequency of use according to the user partition application program of above-mentioned statistics according to by height
It is ranked up to low principle of temporal sequence, automatically generates sorted lists;Therefore, the use of application program is contained in the sorted lists
The sequence of frequency.
In the embodiment, the user partition application program that copy cell is also used to come top N in sorted lists is corresponding
The system partitioning that mobile terminal is copied to using installation file.
In a certain specific embodiment, above-mentioned mobile terminal can also include:
Compression unit, for the user partition application program of top N in sorted lists is corresponding using installation file
It is copied to before the system partitioning of mobile terminal, text is installed into the corresponding application of the user partition application program for coming top N
Part is compressed to obtain corresponding applied compression packet, then which is copied to the system point of mobile terminal
Area, and then instead of the copy of application installation file, copy rate is improved, and save the memory of the system partitioning of occupancy
Space;
Further, above-mentioned copy cell is also used to the applied compression packet being copied to the system partitioning.
In a certain specific embodiment, above-mentioned mobile terminal, further includes:
Detection unit, for detecting the applied compression before the applied compression packet is copied to the system partitioning
Whether packet is already present on system partitioning;If it is, mobile terminal by the applied compression packet delete, if not carry out by
The applied compression packet is copied to the system partitioning.
Mobile terminal provided by the embodiment of the present invention can prevent important application data from losing, in urgent feelings
Under condition can Fast Installation need application program to be used, be simple and efficient;In mobile terminal on the basis of saving memory space
In the preset mobile terminal of system partitioning is required or very crucial application program, and can be to preset application program
Realize full-automatic installation, it is convenient for users to use.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (4)
1. a kind of application installation file loading method characterized by comprising
When mobile terminal, which detects, first powers on starting, the application installation prestored in the mobile terminal extraction system subregion is literary
The applied compression packet of part;
The applied compression packet is copied to the user partition of the mobile terminal by the mobile terminal;
The mobile terminal calls bootstrap to decompress the application installation file in the applied compression packet;
It is described using installation file after the mobile terminal installation decompression;
And
The mobile terminal within a preset period of time counts the frequency of use of mounted user partition application program;
The mobile terminal is carried out according to the frequency of use of the user partition application program according to principle of temporal sequence from high to low
Sequence, automatically generates sorted lists;
The corresponding application installation file of the user partition application program for coming top N compress by the mobile terminal
To corresponding applied compression packet;
Detect whether the applied compression packet is already present on system partitioning;
If it is, the applied compression packet is directly deleted from the user partition;
If it is not, then the applied compression packet is copied to the system partitioning.
2. application installation file loading method according to claim 1, which is characterized in that further include:
The corresponding applied compression packet of the application program that the mobile terminal obtains after being installed is deleted from the user partition.
3. a kind of mobile terminal characterized by comprising
Extraction unit, for when detect first power on starting when, the application that prestores in the mobile terminal extraction system subregion
The applied compression packet of installation file;
Copy cell, for the applied compression packet to be copied to the user partition of the mobile terminal;
Decompression unit, for calling bootstrap to decompress the application installation file in the applied compression packet;
Installation unit, it is described using installation file after decompressing for installing;
And
Frequency statistics unit is united for the frequency of use within a preset period of time to mounted user partition application program
Meter;
Sorted lists generation unit, for according to the frequency of use of the user partition application program according to sequence from high to low
Principle is ranked up, and automatically generates sorted lists;
Compression unit, for compressing the corresponding application installation file of the user partition application program for coming top N
Obtain corresponding applied compression packet;
Detection unit, for detecting whether the applied compression packet is already present on system partitioning;
Wherein, the copy cell is also used to the applied compression packet being copied to the system partitioning.
4. a kind of mobile terminal according to claim 3, which is characterized in that further include:
Unit is deleted, the corresponding applied compression packet of application program for obtaining after being installed is deleted from the user partition
It removes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610473326.5A CN106126289B (en) | 2016-06-27 | 2016-06-27 | A kind of application installation file loading method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610473326.5A CN106126289B (en) | 2016-06-27 | 2016-06-27 | A kind of application installation file loading method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106126289A CN106126289A (en) | 2016-11-16 |
CN106126289B true CN106126289B (en) | 2019-06-25 |
Family
ID=57265556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610473326.5A Active CN106126289B (en) | 2016-06-27 | 2016-06-27 | A kind of application installation file loading method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126289B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528350B (en) * | 2016-12-22 | 2019-07-26 | 维沃移动通信有限公司 | A kind of file backup method and mobile terminal |
CN108595192B (en) * | 2018-05-08 | 2021-08-27 | 青岛海信宽带多媒体技术有限公司 | Application program installation method and terminal equipment |
WO2020037560A1 (en) * | 2018-08-22 | 2020-02-27 | 华为技术有限公司 | Application installation method and terminal |
CN109471665B (en) * | 2018-10-31 | 2022-01-11 | 湖南国科微电子股份有限公司 | Method for automatically installing Windows operating system |
CN111258596A (en) * | 2020-03-20 | 2020-06-09 | 深圳传音控股股份有限公司 | Application program installation method, terminal device and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375753B (en) * | 2011-10-08 | 2014-06-18 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal application presetting method and mobile terminal |
CN102521031B (en) * | 2011-12-13 | 2014-11-05 | 华为终端有限公司 | Management method of preset application programs of mobile terminal and mobile terminal |
-
2016
- 2016-06-27 CN CN201610473326.5A patent/CN106126289B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106126289A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126289B (en) | A kind of application installation file loading method and mobile terminal | |
CN104868527B (en) | Charging to electric vehicle carries out the method and system of remote control | |
CN101123774B (en) | Method for performing communication function in radio terminal | |
CN101815262A (en) | Method and device for shielding spam short messages of mobile terminal | |
CN103076977B (en) | A kind of method and system of the transmission of trigger message in the standby state | |
CN104980811A (en) | Remote controller device, call device, call system and call method | |
CN102045449A (en) | Multi-operating system smart phone | |
CN102665010A (en) | Mobile terminal and conversation method | |
CN103973547A (en) | Picture display method and device | |
CN107295591B (en) | Call method, device, computer storage medium and mobile terminal | |
CN105392187A (en) | Instant messaging application program management method, device and mobile terminal | |
CN103179283A (en) | Method and system for implementing shortcut key operation on mobile telephone status bar short message notice | |
CN107450709A (en) | application processing method, device, storage medium and electronic equipment | |
CN101958974A (en) | Method for taking video as screen saver and mobile terminal | |
KR20140081495A (en) | Device and method for managing phone number in terminal | |
CN104572311A (en) | Application program synchronization device and method based on Bluetooth | |
CN102868829A (en) | Communication method and device | |
CN105577955A (en) | Communication method and electronic device | |
CN101784063A (en) | Mobile phone with non-signal prompt function and implementation method thereof | |
US8094805B2 (en) | Communication terminal and communication method thereof | |
CN107423130B (en) | The display systems and method of mobile terminal broadcast and advertisement | |
CN101515960A (en) | Method for recording mobile phone operational steps and providing demonstration in a flash mode | |
CN103874028A (en) | Information control method and electronic device | |
CN102883042B (en) | Mobile communication terminal application calling method and terminal | |
CN101917508B (en) | Send the method for timing SMS |
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 |