CN106406919A - Terminal device pre-loaded application management method and terminal device - Google Patents

Terminal device pre-loaded application management method and terminal device Download PDF

Info

Publication number
CN106406919A
CN106406919A CN201510445187.0A CN201510445187A CN106406919A CN 106406919 A CN106406919 A CN 106406919A CN 201510445187 A CN201510445187 A CN 201510445187A CN 106406919 A CN106406919 A CN 106406919A
Authority
CN
China
Prior art keywords
terminal device
installed applications
installation kit
time
newly
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.)
Withdrawn
Application number
CN201510445187.0A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510445187.0A priority Critical patent/CN106406919A/en
Publication of CN106406919A publication Critical patent/CN106406919A/en
Withdrawn legal-status Critical Current

Links

Abstract

The invention provides a terminal device pre-loaded application management method. When a terminal device is powered on for the first time, a link file is established in a user data partition, the link file is used for linking to a pre-loaded application installation package of a pre-loaded application list and preset in a system partition, and the pre-loaded application list is set in a way that the pre-loaded application list is not scanned when the terminal device is powered on. The identification is set to be a preset value, and therefore when the terminal device is powered on not for the first time, the link file established when the terminal device is powered on for the first time can be directly obtained. When the terminal device is upgraded, a newly increased pre-loaded application installation package exists in the upgrade version relative to the original version, the identification is reverted to be a default value, and therefore when the terminal device is powered on for the first time after being upgraded, a new link file used for linking to the newly increased pre-loaded application installation package is established in the user data partition. According to the invention, the case that the link needs to be established repeatedly when the terminal device is powered on each time can be avoided, at the same time, the fact that when a newly increased pre-loaded application exists in the upgrade version, the newly increased pre-loaded application can be used normally can be guaranteed.

Description

A kind of management method of terminal device pre-installed applications and terminal device
Technical field
The present invention relates to application management field, more particularly to a kind of management method of terminal device pre-installed applications and terminal device.
Background technology
The application of terminal device is divided into system application and user's application, and the marked difference of both is for the former is not off-loadable and the latter is off-loadable, and reason is that system application is installed on the system partitioning of read only attribute, and user does not have authority to unload.And user's application is mounted to the user data subregion with access limit, user can voluntarily unload.In fact, also there are a kind of pre-installed applications between system application and user's application, so-called pre-installed applications are exactly the application being upgraded in terminal when the application or system upgrade that are preset in system version(Such as QQ, WPS), these applications are directly installation kit to be supplied to cell phone manufacturer by third party, and cell phone manufacturer is integrated in system version or upgraded version.Say on stricti jurise that pre-installed applications belong to system application, but it is different from system again and applies, because user wishes that pre-installed applications are off-loadable, and after third party wishes that pre-installed applications are unloaded by user, can also reduce after factory reset.So the problem arises, if pre-installed applications are placed under system partitioning, pre-installed applications cannot be unloaded;If be placed under user data subregion, after user's factory reset, pre-installed applications just thoroughly lost.
For problems, industry common practice is to copy under user data subregion by the pre-installed applications installation kit being preset under system partitioning in first time start process, install under user data subregion, user's application attribute will be carried so when scanning the pre-installed applications of user data subregion, therefore can be unloaded by user.It is additionally, since installation kit and is located at system partitioning simultaneously, after factory reset, pre-installed applications still can be reinstalled.But the problem of this way is, the copy procedure of pre-installed applications installation kit takies the available machine time, causes the available machine time longer.In addition, same pre-installed applications installation kit had not only taken the resource of system partitioning but also taken the resource of user data subregion, cause the waste of space resources.For this problem, it is made that following improvement at present:In system partitioning preset pre-installed applications installation kit and start scanning when be arranged to be not scanned, pre-installed applications installation kit is linked to user data subregion, when so start scans user data subregion, actual scanning is pre-installed applications installation kit, but due to the scanning carrying out in user data subregion, pre-installed applications are made to carry user's application attribute, therefore can be unloaded.Because installation kit is located at system partitioning, after factory reset, pre-installed applications still can be reinstalled.It is short that this mode establishes the link process, and link speed is fast, greatlys save the available machine time compared to copy installation kit.And, same pre-installed applications installation kit only takes up system partitioning resource, do not result in space resources and waste.
However, such scheme yet suffers from a lot of problems, for example, terminal device will repeat when starting shooting each time to establish the link, and still can extend the available machine time.
Content of the invention
The invention provides a kind of management method of terminal device pre-installed applications and terminal device, all need to repeat to establish the link to solve the problems, such as to start shooting each time.
In order to solve the above problems, the invention discloses a kind of management method of terminal device pre-installed applications, comprise the following steps.
When terminal device is started shooting for the first time, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, described pre-installed applications catalogue is set to be not scanned during start.
Setting is designated preset value, and the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.
When updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.
Preferably, described when updating terminal device, if the relatively primitive version of upgraded version has newly-increased pre-installed applications installation kit, described identification recovery is included for default value:When updating terminal device, pre-set commands in execution AKU, described pre-set commands are that have in the relatively primitive version of upgraded version that arrange during newly-increased pre-installed applications installation kit is the order of default value by described identification recovery.
Preferably, described when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, user data subregion set up for be linked to newly-increased pre-installed applications installation kit new threaded file after also include:When starting shooting for the first time after updating terminal device, judge described in identify whether as default value;If described be designated default value, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion, described newly-increased pre-installed applications installation kit defaults in described pre-installed applications catalogue.
Preferably, if described be designated preset value, the threaded file that direct access terminal device is set up when starting shooting for the first time.
Preferably, described pre-installed applications installation kit at least two, described threaded file is corresponded with described pre-installed applications installation kit respectively.
The invention also discloses a kind of terminal device, set up unit including link, when starting shooting for the first time for terminal device, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, and described pre-installed applications catalogue is set to be not scanned during start.
Mark arranging unit, is designated preset value for setting, the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.
Upgrade unit, for when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.
Preferably, described upgrade unit is additionally operable to when updating terminal device, the pre-set commands in execution AKU, and described pre-set commands are that have in the relatively primitive version of upgraded version that arrange during newly-increased pre-installed applications installation kit is the order of default value by described identification recovery.
Preferably, described terminal device also includes identifying judging unit, for identifying whether as default value described in when starting shooting for the first time after updating terminal device, judging;Described link set up unit be additionally operable to described be designated default value when, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion, described newly-increased pre-installed applications installation kit defaults in described pre-installed applications catalogue.
Preferably, described link set up unit be additionally operable to described be designated preset value when, direct access obtains the threaded file set up when terminal device is started shooting for the first time.
Preferably, described pre-installed applications installation kit at least two, described threaded file is corresponded with described pre-installed applications installation kit respectively.
Compared with prior art, the present invention includes advantages below:
When in the present invention, terminal device is started shooting for the first time, establish the link file in user data subregion, threaded file is used for being linked to pre-installed applications installation kit, and pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, and pre-installed applications catalogue is set to be not scanned during start.Then setting is designated preset value, is designated preset value and is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.So terminal device when non-first time is started shooting, without re-establishing threaded file, but directly using the threaded file having built up.When updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.When there are newly-increased pre-installed applications in upgraded version, if identification recovery is not default value, terminal device would not set up the new threaded file of corresponding newly-increased pre-installed applications in user data subregion, newly-increased pre-installed applications cannot normal mounting and use, therefore the present invention is avoided that to start shooting each time all needs to also ensure that upgraded version has newly-increased pre-installed applications during newly-increased pre-installed applications and can normally use while repeating to establish the link.
Brief description
Fig. 1 is the management method flow chart of the terminal device pre-installed applications of one embodiment of the invention;
Fig. 2 is the management method flow chart of the terminal device pre-installed applications of another embodiment of the present invention;
Fig. 3 is the management method flow chart of the terminal device pre-installed applications of yet another embodiment of the invention
Fig. 4 is the terminal device structured flowchart of yet another embodiment of the invention.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, the present invention is further detailed explanation with reference to the accompanying drawings and detailed description.
With reference to Fig. 1, show the management method flow chart of the terminal device pre-installed applications of one embodiment of the invention, the method specifically may comprise steps of:
Step 101, when terminal device is started shooting for the first time, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, described pre-installed applications catalogue is set to be not scanned during start..
In the embodiment of the present invention, terminal device refers to be provided with the electronic equipment of the systems such as Windows, IOS, Android, such as smart mobile phone, panel computer, notebook computer, Ultra-Mobile PC(English:Ultra-mobile Personal Computer, abbreviation UMPC), net book, personal digital assistant(English:Personal Digital Assistant, abbreviation PDA)On terminal device.
User data subregion is also referred to as data subregion, comprises the data of user, deposits the information such as contact person, note, setting and the application program of user.Data subregion has read-write properties, and factory reset is equivalent to this subregion of erasing, returns to the state of first time starting device.System partitioning is also referred to as system subregion, comprises the vital document of operating system, has read only attribute, factory reset does not result in the loss of data of system subregion.If pre-installed applications installation kit leaves user data subregion in, after factory reset, installation kit will be lost it is impossible to meet the requirement that third party's pre-installed applications are reinstalled.The embodiment of the present invention establishes the link file when starting shooting first time, if factory reset, even if original threaded file set up is deleted, first time after factory reset still can re-establish threaded file when starting shooting, and pre-installed applications installation kit deposits in system partitioning, will not lose with factory reset.And, establish the link file compared with copy installation kit, its speed much faster, has little influence on the starting up speed of system.
In advance in the newly-built catalogue of system subregion(Such as system/pre_app), referred to herein as pre-installed applications catalogue, pre-installed applications catalogue is used for depositing the pre-installed applications installation kit of third party's offer.In real process, this step is to be customized in advance in systems soft ware by cell phone manufacturer.Certainly, pre-installed applications catalogue can also be the already present catalogue of system subregion.
For system application, because it is saved in the application catalog under system subregion, can automatically be applied with system-level authority installation system after scanning this catalogue, therefore system application is not off-loadable.In the present embodiment, pre-installed applications catalogue is set to be not scanned so that pre-installed applications catalogue is different from the system application catalogue of system subregion it is therefore an objective to separate pre-installed applications with system application area during start.
The threaded file of the embodiment of the present invention, similar to the shortcut in computer, refers to be linked to the mark of actual file, and therefore its size is very little, is almost not take up the space resources of data subregion.The service generating threaded file is set up in the init.rc that boot bootloader starts, wherein init.rc is configurable initialization files, generally terminal device manufacturer can voluntarily configure init.rc, according to configuration sentence execution corresponding function in init.rc during start.Linux chained command link is executed, link order can first determine whether the catalogue for storage links file in the present embodiment(As data/app)Whether there is, can automatically create if do not existed.Then pre-installed applications installation kit is linked under data/app, this link process is to establish the link file in data/app, threaded file points to the address of pre-installed applications installation kit, and during scanning threaded file, actual scanning is pre-installed applications installation kit.
In practice, pre-installed applications installation kit at least two, preferably threaded file are corresponded with pre-installed applications installation kit respectively, and that is, a threaded file corresponds to a pre-installed applications installation kit.Link order travels through all pre-installed applications installation kits, sets up a threaded file to each pre-installed applications installation kit.
It should be noted that threaded file can have and pre-installed applications installation kit identical title or default title, such as numeral 1,2 etc., the embodiment of the present invention is not restricted to this.
, terminal device, after first time starts shooting, can start Package taking the terminal device of Android system as a example Manager Service(Bag management service), Package Manager The subregion that Service is used for scanning the installation kit of application catalog and being located according to application catalog is installed or system-level authority set up applications with Authority automatically, so-called Authority refers to that user can carry out the operable authority including unloading, and so-called system-level authority refers to that user does not have the authority of unloading application program.Specifically, corresponding attribute, such as read only attribute or read-write attribute can be arranged for application program according to installation kit place subregion during scanning.
For the installation kit under system subregion, read only attribute after scanning, can be carried, pre-installed applications catalogue is set to start shooting and is not scanned it is simply that in order to avoid the pre-installed applications in pre-installed applications catalogue are set to read only attribute by the embodiment of the present invention.During scanning threaded file, due to being in data subarea-scanning, therefore read-write attribute can be set for the corresponding pre-installed applications of threaded file.So, pre-installed applications voluntarily can be unloaded by user.
Step 102, setting are designated preset value, and the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.
In order to only establish the link file when terminal device is started shooting for the first time, avoid starting shooting every time and all establish the link file, the embodiment of the present invention arranges mark in data subregion, for distinguishing whether data subregion has had threaded file corresponding with pre-installed applications installation kit, it should be noted that first time start here refers to the first time start after terminal device uses front first time start or factory reset.Need to establish the link file when starting shooting first time, then mark is set to preset value.Mark is set to preset value means that data subregion has had threaded file corresponding with pre-installed applications installation kit, terminal device upper once start shooting when avoid the need for setting up new threaded file, but the threaded file that direct access terminal device is set up when starting shooting for the first time, it is to avoid repeat to establish the link file.
It should be noted that the embodiment of the present invention can also be not provided with mark before terminal device is started shooting for the first time it can be understood as, the default value of mark is:There is not mark it is meant that now data subregion does not set up threaded file;And after having set up threaded file add mark it can be understood as, the preset value of mark is:There is mark it is meant that data subregion has set up threaded file.Wherein mark leaves data subregion in, and after such factory reset, mark is deleted.Or before terminal device is started shooting for the first time setting identify it can be understood as, the default value of mark is:There is mark it is meant that now data subregion does not set up threaded file;And after having set up threaded file delete mark it can be understood as, the preset value of mark is:There is not mark it is meant that data subregion has set up threaded file.Wherein mark leaves data subregion in, and after such factory reset, mark is added again.Above scheme is all within the scope of the present invention.
Step 103, when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.
After start has been set up the link of pre-installed applications for the first time in system in prior art, if subsequently start shooting each time establishing the link with all repeating, the available machine time will certainly be extended.If simply simply making the terminal device link that direct access has built up when non-first time is started shooting, although can also solve the problems, such as to repeat to establish the link, but terminal device is in upgrading, if just there are newly-increased pre-installed applications in upgraded version, and if now remaining the direct access link that start is set up for the first time, then increase pre-installed applications newly would not be scanned, thus also just cannot be used by a user.
The present embodiment mark is set to preset value after dexterously for the first time start establishes the link file in terminal device so that follow-up when starting shooting by judging that direct access threaded file establishes the link file it is not necessary to repeat to the value identifying as preset value.Simultaneously again when upgraded version includes newly-increased pre-installed applications, identification recovery is default value, thus the terminal device after upgrading can re-establish the new threaded file for being linked to newly-increased pre-installed applications installation kit again.
It should be noted that there is also in upgraded version and prototype version identical pre-installed applications catalogue, wherein it is preset with newly-increased pre-installed applications installation kit.Terminal device after upgrading, when starting shooting first time, due to being designated default value, needs to re-establish threaded file, now includes the threaded file A the establishing the link original pre-installed applications installation kit and threaded file B being linked to newly-increased pre-installed applications installation kit.In real process, it is found that there is corresponding threaded file in data/app, now link order no longer executes, with time-consuming when to the execution link order of original pre-installed applications installation kit.It is found that there is not corresponding threaded file in data/app when to the execution link order of newly-increased pre-installed applications installation kit, link order may proceed to execution and goes down, and creates new threaded file corresponding with newly-increased pre-installed applications installation kit.
When embodiment of the present invention terminal device is started shooting for the first time, establish the link file in user data subregion, threaded file is used for being linked to pre-installed applications installation kit, and pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, and pre-installed applications catalogue is set to be not scanned during start.Then setting is designated preset value, is designated preset value and is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.So terminal device when non-first time is started shooting, without repeating to establish the link file, but directly using the threaded file having built up.When updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then identification recovery is default value, when being designated default value and being used for making terminal device start shooting for the first time after upgrading, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion.When there are newly-increased pre-installed applications in upgraded version, if identification recovery is not default value, terminal device would not set up the new threaded file of corresponding newly-increased pre-installed applications in user data subregion, newly-increased pre-installed applications cannot normal mounting and use, therefore the present invention is avoided that to start shooting each time all needs to also ensure that upgraded version has newly-increased pre-installed applications during newly-increased pre-installed applications and can normally use while repeating to establish the link.
Embodiment one:
With reference to Fig. 2, it is the management method flow chart of the terminal device pre-installed applications of another embodiment of the present invention.
When step 201, terminal device are started shooting for the first time, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, and described pre-installed applications catalogue is set to be not scanned during start.
Wherein, in data subregion, mark is not set it can be understood as setting is designated default value before terminal device is started shooting for the first time.
Specifically, the sentence executing init.rc in the present embodiment is as follows:
Service preload-sh/system/bin/sh/system/etc/init.preload.sh
Class main
User root
Oneshot
It is used for the service being defined in inti.rc above, its effect is carried out init.preload.sh script, and content for script is as follows:
#ln preload apks
if [!-f 〞data/app/exist〞];then
echo 〞preloading application…〞
for FILE in ˋls /system/preloadˋ;do #ln–s/system/preload/$FILE/$FILE.apk/data/app/preload_$FILE.apk
ln –s/system/preload/$FILE/data/app/ preload_$FILE
done
sync
echo〞completed! 〞>/data/app/exist
chmod 777/data/app/exist
sync
fi
Can judge first to identify(This node of i.e./data/app/exist)Whether there is, if there is then not executing chained command, if it does not exist, then execution Linux command link, pre-installed applications installation kit is linked under data/app.
Step 202, data subregion add mark.
Add mark it can be understood as setting is designated preset value in the present embodiment.
Step 203, the threaded file of scanning data subregion, according to threaded file actual scanning to pre-installed applications installation kit.
In start process, Package Manager Service can scan the application catalog of system subregion and data subregion respectively, arranges respective attributes according to application program place subregion for it.
Step 204, with Authority install pre-installed applications.
After scanning through, attach it to terminal device according to the respective attributes of application program.
When step 205, the start of terminal device non-first time, the threaded file that direct access terminal device is set up when starting shooting for the first time.
During start, still can init.preload.sh script in execution step 201, due to having added mark in step 202., therefore when judging to exist mark, then do not execute chained command.
Step 206, terminal device factory reset.
Wherein, factory reset can delete the data of data subregion, that is, threaded file and mark all will be deleted.
When starting shooting for the first time after step 207, terminal device factory reset, return to step 201.
So, even if factory reset, pre-installed applications installation kit remains to reinstall to terminal device.
Embodiment two:
With reference to Fig. 3, it is the management method flow chart of the terminal device pre-installed applications of yet another embodiment of the invention.
Step 301, makes the difference resource bag of prototype version and the difference resource bag of upgraded version respectively.
Wherein, the difference resource bag of prototype version is to write source code according to demand, source code is compiled, generate data file and the All Files needed for upgrading of prototype version, data file transition is generated data mapping file for img form, and the difference resource bag by All Files packing required for upgrading, compression generation prototype version, wherein data file include making the All Files of T card upgrade bag, difference resource bag includes the file obtaining with the generation compiling of data file identical sources.The difference resource bag of upgraded version is on the basis of source code, according to the requirement of upgrading, source code is modified and compiles, obtain the difference resource bag of upgraded version.
Step 302, generates difference bag using the difference resource bag of upgraded version and the difference resource bag of prototype version.
Step 303, judges that in difference bag, the relatively primitive version of upgraded version whether there is newly-increased pre-installed applications installation kit, if there is newly-increased pre-installed applications installation kit, execution step 304;Otherwise do not make any process.
Specifically, this step includes following sub-step:
The upgraded version b comprising in 303a, parsing difference bag and prototype version a.
Pre-installed applications installation kit in system subregion pre-installed applications catalogue in 303b, two versions of traversal, searches upgraded version b relatively primitive version a using contrast algorithm and whether there is newly-increased pre-installed applications installation kit.
Step 304, pre-set commands are set in the script of difference bag, it is default value by identification recovery that pre-set commands are used for.
Above step is the process making AKU.
Step 305, the pre-set commands when updating terminal device, in execution AKU.
Based on embodiment one, after having executed pre-set commands, mark is deleted.
When starting shooting for the first time after the completion of step 306, updating terminal device, judge to identify whether as default value, if default value then execution step 307, otherwise execution step 308.
Step 307, basis are designated default value and set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in data subregion.
In the present embodiment, if upgraded version includes newly-increased pre-installed applications, terminal device will be deleted mark after the completion of upgrading, due to can't detect mark during start, then can execute link order.
Step 202-207 that subsequent process refers to embodiment one.
Step 308, basis are designated the preset value direct access threaded file that start is set up for the first time.
Step 203-207 that subsequent process refers to embodiment one.
The embodiment of the present invention is in updating terminal device, in the case of there are newly-increased pre-installed applications in the relatively primitive version of upgraded version, AKU is provided for by identification recovery for default value pre-set commands, when so terminal device is started shooting after the completion of upgrading for the first time, the new threaded file for being linked to newly-increased pre-installed applications installation kit will be set up in data subregion according to being designated default value.When there are newly-increased pre-installed applications in upgraded version, if identification recovery is not default value, terminal device would not set up the new threaded file of corresponding newly-increased pre-installed applications in user data subregion, newly-increased pre-installed applications cannot normal mounting and use, therefore the present invention is avoided that to start shooting each time all needs to also ensure that upgraded version has newly-increased pre-installed applications during newly-increased pre-installed applications and can normally use while repeating to establish the link.
For aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Embodiment three:
Refering to Fig. 4, the present embodiment provides a kind of terminal device structured flowchart, including.
Unit 401 is set up in link, when starting shooting for the first time for terminal device, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, described pre-installed applications catalogue is set to be not scanned during start.
Mark arranging unit 402, is designated preset value for setting, the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time.
Upgrade unit 403, for when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion..
In the present embodiment, upgrade unit 403 is additionally operable to when updating terminal device, pre-set commands in execution AKU, described pre-set commands are that have in the relatively primitive version of upgraded version that arrange during newly-increased pre-installed applications installation kit is the order of default value by described identification recovery.
Terminal device also includes identifying judging unit 404, for identifying whether as default value described in when starting shooting for the first time after updating terminal device, judging.
Described link set up unit 401 be additionally operable to described be designated default value when, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion, described newly-increased pre-installed applications installation kit defaults in described pre-installed applications catalogue.
Described link set up unit 401 be additionally operable to described be designated preset value when, direct access obtains the threaded file set up when terminal device is started shooting for the first time..
It should be noted that described pre-installed applications installation kit can at least two, described threaded file respectively with described pre-installed applications installation kit correspond.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, in place of correlation, the part referring to embodiment of the method illustrates.
Each embodiment in this specification is all described by the way of going forward one by one, and what each embodiment stressed is the difference with other embodiment, between each embodiment identical similar partly mutually referring to.
The present invention can be described in the general context of computer executable instructions, such as program module.Usually, program module includes execution particular task or the routine realizing particular abstract data type, program, object, assembly, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, execute task by the remote processing devices connected by communication network.In a distributed computing environment, program module may be located in the local and remote computer-readable storage medium including storage device.
Finally, it can further be stated that, herein, such as first and second or the like relational terms are used merely to make a distinction an entity or operation with another entity or operation, and not necessarily require or imply there is any this actual relation or order between these entities or operation.And, term " inclusion ", "comprising" or its any other variant are intended to comprising of nonexcludability, so that including a series of process of key elements, method, commodity or equipment not only include those key elements, but also include other key elements of being not expressly set out, or also include for this process, method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, it is not excluded that also there is other identical element in process, method, commodity or the equipment including described key element in the key element being limited by sentence "including a ...".
Above to one kind provided by the present invention., it is described in detail, specific case used herein is set forth to the principle of the present invention and embodiment, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. a kind of management method of terminal device pre-installed applications is it is characterised in that comprise the following steps:When terminal device is started shooting for the first time, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, described pre-installed applications catalogue is set to be not scanned during start; Setting is designated preset value, and the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time; When updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.
2. method according to claim 1 it is characterised in that:Described when updating terminal device, if the relatively primitive version of upgraded version has newly-increased pre-installed applications installation kit, described identification recovery is included for default value: When updating terminal device, pre-set commands in execution AKU, described pre-set commands are that have in the relatively primitive version of upgraded version that arrange during newly-increased pre-installed applications installation kit is the order of default value by described identification recovery.
3. method according to claim 1 it is characterised in that:Described when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, user data subregion set up for be linked to newly-increased pre-installed applications installation kit new threaded file after also include: When starting shooting for the first time after updating terminal device, judge described in identify whether as default value;If described be designated default value, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion, described newly-increased pre-installed applications installation kit defaults in described pre-installed applications catalogue.
4. method according to claim 3 it is characterised in that:If described be designated preset value, the threaded file that direct access terminal device is set up when starting shooting for the first time.
5. method according to claim 1 it is characterised in that:Described pre-installed applications installation kit at least two, described threaded file is corresponded with described pre-installed applications installation kit respectively.
6. a kind of terminal device is it is characterised in that include:Unit is set up in link, when starting shooting for the first time for terminal device, set up the threaded file for being linked to pre-installed applications installation kit in user data subregion, described pre-installed applications installation kit defaults in the pre-installed applications catalogue of system partitioning, described pre-installed applications catalogue is set to be not scanned during start; Mark arranging unit, is designated preset value for setting, the described preset value that is designated is used for making terminal device when non-first time is started shooting, the threaded file that direct access terminal device is set up when starting shooting for the first time;And Upgrade unit, for when updating terminal device, if there is newly-increased pre-installed applications installation kit in the relatively primitive version of upgraded version, then by described identification recovery be default value, described when being designated default value and being used for making terminal device start shooting for the first time after upgrading, the new threaded file for being linked to newly-increased pre-installed applications installation kit is set up in user data subregion.
7. terminal device according to claim 6 it is characterised in that:Described upgrade unit is additionally operable to when updating terminal device, the pre-set commands in execution AKU, and described pre-set commands are that have in the relatively primitive version of upgraded version that arrange during newly-increased pre-installed applications installation kit is the order of default value by described identification recovery.
8. the terminal device described in claim 6 it is characterised in that: Described terminal device also includes identifying judging unit, for identifying whether as default value described in when starting shooting for the first time after updating terminal device, judging;Described link set up unit be additionally operable to described be designated default value when, set up the new threaded file for being linked to newly-increased pre-installed applications installation kit in user data subregion, described newly-increased pre-installed applications installation kit defaults in described pre-installed applications catalogue.
9. the terminal device described in claim 8 it is characterised in that: Described link set up unit be additionally operable to described be designated preset value when, direct access obtains the threaded file set up when terminal device is started shooting for the first time.
10. the terminal device described in claim 6 it is characterised in that:Described pre-installed applications installation kit at least two, described threaded file is corresponded with described pre-installed applications installation kit respectively.
CN201510445187.0A 2015-07-27 2015-07-27 Terminal device pre-loaded application management method and terminal device Withdrawn CN106406919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510445187.0A CN106406919A (en) 2015-07-27 2015-07-27 Terminal device pre-loaded application management method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510445187.0A CN106406919A (en) 2015-07-27 2015-07-27 Terminal device pre-loaded application management method and terminal device

Publications (1)

Publication Number Publication Date
CN106406919A true CN106406919A (en) 2017-02-15

Family

ID=58008669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510445187.0A Withdrawn CN106406919A (en) 2015-07-27 2015-07-27 Terminal device pre-loaded application management method and terminal device

Country Status (1)

Country Link
CN (1) CN106406919A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153551A (en) * 2017-05-24 2017-09-12 努比亚技术有限公司 A kind of font switching method, mobile terminal and computer-readable recording medium
CN107608683A (en) * 2017-09-20 2018-01-19 武汉斗鱼网络科技有限公司 The method and device of automatic pre-installed applications program
CN107943490A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Using installation method, equipment, computer-readable recording medium and computer installation
CN108108172A (en) * 2017-12-08 2018-06-01 青岛海信移动通信技术股份有限公司 A kind of application management method and device
CN110489152A (en) * 2019-09-19 2019-11-22 四川虹美智能科技有限公司 A kind of application upgrade method and device based on android system
CN114143394A (en) * 2021-08-13 2022-03-04 希姆通信息技术(上海)有限公司 Application pre-installing and unloading method capable of unloading and recovering installation
CN116700812A (en) * 2022-09-01 2023-09-05 荣耀终端有限公司 Method, apparatus, device, storage medium and program product for installing preloaded application
CN117389638A (en) * 2023-12-08 2024-01-12 荣耀终端有限公司 Electronic equipment starting method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078799A1 (en) * 2002-10-17 2004-04-22 Maarten Koning Interpartition communication system and method
US7788701B1 (en) * 2005-07-26 2010-08-31 Advanced Micro Devices, Inc. Content transfer restriction system for personal internet communicator
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN103631617A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for unloading system application on terminal equipment
CN104182255A (en) * 2014-08-20 2014-12-03 青岛海信宽带多媒体技术有限公司 Method and terminal for upgrading library files of system application
CN104317623A (en) * 2011-12-13 2015-01-28 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN104503788A (en) * 2014-12-16 2015-04-08 电子科技大学 Setting method capable of shortening starting time of Android operating system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078799A1 (en) * 2002-10-17 2004-04-22 Maarten Koning Interpartition communication system and method
US7788701B1 (en) * 2005-07-26 2010-08-31 Advanced Micro Devices, Inc. Content transfer restriction system for personal internet communicator
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN104317623A (en) * 2011-12-13 2015-01-28 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN103631617A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for unloading system application on terminal equipment
CN104182255A (en) * 2014-08-20 2014-12-03 青岛海信宽带多媒体技术有限公司 Method and terminal for upgrading library files of system application
CN104503788A (en) * 2014-12-16 2015-04-08 电子科技大学 Setting method capable of shortening starting time of Android operating system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153551A (en) * 2017-05-24 2017-09-12 努比亚技术有限公司 A kind of font switching method, mobile terminal and computer-readable recording medium
CN107153551B (en) * 2017-05-24 2020-11-10 邳州市润宏实业有限公司 Font switching method, mobile terminal and computer readable storage medium
CN107608683A (en) * 2017-09-20 2018-01-19 武汉斗鱼网络科技有限公司 The method and device of automatic pre-installed applications program
CN107943490A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Using installation method, equipment, computer-readable recording medium and computer installation
CN108108172A (en) * 2017-12-08 2018-06-01 青岛海信移动通信技术股份有限公司 A kind of application management method and device
CN110489152A (en) * 2019-09-19 2019-11-22 四川虹美智能科技有限公司 A kind of application upgrade method and device based on android system
CN114143394A (en) * 2021-08-13 2022-03-04 希姆通信息技术(上海)有限公司 Application pre-installing and unloading method capable of unloading and recovering installation
CN114143394B (en) * 2021-08-13 2023-07-21 希姆通信息技术(上海)有限公司 Application pre-loading and unloading method capable of unloading and recovering installation
CN116700812A (en) * 2022-09-01 2023-09-05 荣耀终端有限公司 Method, apparatus, device, storage medium and program product for installing preloaded application
CN116700812B (en) * 2022-09-01 2024-04-16 荣耀终端有限公司 Method, apparatus, device, storage medium and program product for installing preloaded application
CN117389638A (en) * 2023-12-08 2024-01-12 荣耀终端有限公司 Electronic equipment starting method and electronic equipment

Similar Documents

Publication Publication Date Title
CN106406919A (en) Terminal device pre-loaded application management method and terminal device
JP5007046B2 (en) Maintaining component-based software products
KR101143112B1 (en) Applying custom software image updates to non-volatile storage in a failsafe manner
KR101343148B1 (en) Automated device driver management
EP3488337B1 (en) Shared software libraries for computing devices
US8621419B2 (en) Automating the life cycle of a distributed computing application
US20080201568A1 (en) Version-resilient loader for custom code runtimes
US8341599B1 (en) Environments sharing remote mounted middleware
CN103365644A (en) Method and device for expanding software functions
CN103714287A (en) Method and device for obtaining temporary Root authority
CN111475227B (en) Business plug-in loading implementation method and device and terminal equipment
CN105302563A (en) Plug-in method and system for mobile application service
CN113835644B (en) Complete machine migration method, device, equipment and storage medium
US8312445B2 (en) User-specified install locations
CN104407890A (en) Method for starting Android system from OTG (On-The-Go) equipment
CN110716720A (en) Method and device for realizing application hot deployment
CN111857765A (en) Plug-in system for drug design system, and generation method and updating method thereof
US9952953B2 (en) Non-monotonic eventual convergence for desired state configuration
JP2021507353A (en) Firmware release of multiple binary images
CN114490103A (en) Operating system interface calling method and device and electronic equipment
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
GB2403303A (en) Software patch registry
CN108829460A (en) The method, apparatus and car-mounted terminal of car-mounted terminal quick start
CN115237631A (en) Easily-extensible data sharing system and method based on data sharing plug-in
CN113064698A (en) Method for providing product environment and corresponding device, system, equipment and 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170215

WW01 Invention patent application withdrawn after publication