CN107608683A - The method and device of automatic pre-installed applications program - Google Patents

The method and device of automatic pre-installed applications program Download PDF

Info

Publication number
CN107608683A
CN107608683A CN201710850863.1A CN201710850863A CN107608683A CN 107608683 A CN107608683 A CN 107608683A CN 201710850863 A CN201710850863 A CN 201710850863A CN 107608683 A CN107608683 A CN 107608683A
Authority
CN
China
Prior art keywords
application program
under
facility inventory
file
installation 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.)
Pending
Application number
CN201710850863.1A
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710850863.1A priority Critical patent/CN107608683A/en
Publication of CN107608683A publication Critical patent/CN107608683A/en
Pending legal-status Critical Current

Links

Abstract

The present invention relates to Internet technical field, and in particular to a kind of method and device of automatic pre-installed applications program, the method and device of the automatic pre-installed applications program are applied to terminal, and the method for the automatic pre-installed applications program includes:The installation file of application program to be installed is copied under the facility inventory pre-seted, it is arranged at the consistent target directory of facility inventory structure, installation file under the facility inventory is replicated under target directory, installation file under performance objective catalogue, you can complete the installation of application to be installed.The automatic installation of application to be installed is realized by this programme, to drastically increase installation effectiveness, is reduced manually-operated cumbersome.

Description

The method and device of automatic pre-installed applications program
Technical field
The present invention relates to Internet technical field, in particular to a kind of method and dress of automatic pre-installed applications program Put.
Background technology
Two kinds of APP is generally had in the development process of cell phone system, a kind of is the off-loadable APP of prepackage, A kind of is the not off-loadable APP of prepackage.The app of both app types corresponds respectively to application and the user class of system level Other application program, it is by the way that app is beaten for the implementation method for installing not off-loadable app in traditional systems development process Wrap under system directory, off-loadable app for prepackage is to carry out prepackage of dispatching from the factory by way of manually.Tradition system That treats the app of both ranks in system scheme respectively installs all nonautomatic installation method to be installed.
Therefore it provides a kind of automatic prepackage app method is very necessary.
The content of the invention
It is an object of the invention to provide a kind of method and device of automatic pre-installed applications program, to realize to be installed The automation installation of application program, avoids manually-operated cumbersome, improves installation effectiveness.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
In a first aspect, the embodiments of the invention provide a kind of method of automatic pre-installed applications program, it is described applied to terminal Method includes:
The installation file of application program to be installed is copied under the facility inventory pre-seted;
Setting target directory, the structure of the target directory are consistent with the structure of the facility inventory;
Installation file under the facility inventory is replicated under the target directory;
The installation file under the target directory is performed, to cause application program to be installed to complete installation.
Second aspect, the embodiment of the present invention additionally provides a kind of device of automatic pre-installed applications program, applied to terminal, institute Stating device includes:
Module is copied, for the installation file of application program to be installed to be copied under the facility inventory pre-seted;
Setup module, for setting target directory, the structure of the target directory is consistent with the structure of the facility inventory;
Replication module, for the installation file under the facility inventory to be replicated under the target directory;
Execution module, for performing the installation file under the target directory, to cause application program to be installed to complete Installation.
A kind of method and device of automatic pre-installed applications program provided in an embodiment of the present invention, the automatic pre-installed applications program Method and device be applied to terminal, the method for the automatic pre-installed applications program includes:By the installation of application program to be installed Under file copy to the facility inventory pre-seted, the consistent target directory of facility inventory structure is arranged at, by the facility inventory Under installation file be replicated under target directory, the installation file under performance objective catalogue, you can complete application to be installed Installation.The automatic installation of application to be installed is realized by this programme, to drastically increase installation effectiveness, reduces people Work operates cumbersome.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows a kind of schematic flow sheet of the method for automatic pre-installed applications program provided in an embodiment of the present invention.
Fig. 2 shows that a kind of flow of the sub-step of the method for automatic pre-installed applications program provided in an embodiment of the present invention is shown It is intended to.
Fig. 3 shows the schematic flow sheet of the method for another automatic pre-installed applications program provided in an embodiment of the present invention.
Fig. 4 shows a kind of functional module signal of the device of automatic pre-installed applications program provided in an embodiment of the present invention Figure.
Diagram:The device of the automatic pre-installed applications programs of 100-;110- copies module;120- setup modules;130- first is examined Survey module;140- replication modules;150- execution modules;The detection modules of 160- second.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
A kind of method of automatic pre-installed applications program provided in an embodiment of the present invention is applied to terminal, and the terminal can be, But it is not limited to, the intelligent electronic device such as mobile phone or computer.Application program is preinstalled with the terminal, this is pre-installed on the application journey of terminal Sequence (i.e. app) mainly includes two types, a kind of application journey for being not off-loadable application program, being referred to as system level Sequence, another kind is off-loadable application program, is referred to as the application program of user class.In the prior art, it is not detachable The application program of load and off-loadable application program usually require the catalogue according to set form in terminal, should by not off-loadable It is replicated in successively in the catalogue of set form with the installation file in program and off-loadable application program, its process pre-installed needs Mode manually is realized so that operation is more cumbersome, reduces the performance of terminal system.Therefore, the embodiment of the present invention A kind of method of automatic pre-installed applications program is provided, by automatic pre-installed applications program, to realize reduction manual operation, improves system System performance.
Fig. 1 is refer to, is a kind of schematic flow sheet of the method for automatic pre-installed applications program provided in an embodiment of the present invention, The method of the automatic pre-installed applications program is applied to terminal, and the method for the automatic pre-installed applications program includes:
Step S110, the installation file of application program to be installed is copied under the facility inventory pre-seted.
The application program to be installed includes the application program that can not be unloaded and off-loadable application program, in compiling terminal On system when, the installation file of not off-loadable application program and off-loadable application program need to be copied to setting of pre-seting Under standby catalogue, think that subsequently the not off-loadable application program of prepackage and off-loadable application program are prepared.
Fig. 2 is refer to, is a kind of step S110 of the method for automatic pre-installed applications program provided in an embodiment of the present invention The schematic flow sheet of sub-step, step S110 include:
Step S111, the library file in the installation file of not off-loadable application program is copied to the first facility inventory Under.
For not off-loadable application program, if including library file (lib in the installation file of not off-loadable application program File), then need the library file being individually copied under the library file catalogue in the system subregions of terminal system, i.e. the first equipment Under catalogue, to enable the installation file of the not off-loadable application program of terminal system normal load.Specifically, first equipment Catalogue is device/system/lib.
Step S112, the alternative document in the installation file of not off-loadable application program in addition to library file is copied to Second facility inventory.
Alternative document in the installation file of not off-loadable application program in addition to library file is copied to terminal system System subregions under another file directory, i.e. the second facility inventory.Specifically, second facility inventory is device/ system/apk。
Step S113, the installation file of off-loadable application program is copied under the 3rd facility inventory.
For off-loadable application program, even if library file be present in the installation file of the off-loadable application program, Without being stored separately in library file in independent file, it is whole off-loadable to complete that terminal system can recognize that the library file Application program installation file loading.Therefore, the installation file of off-loadable application program is all copied into the 3rd to set Under standby catalogue, the 3rd facility inventory is device/data.
Step S120, setting target directory, the structure of the target directory are consistent with the structure of the facility inventory.
Facility inventory described in step S110 is the catalogue in terminal system, and respectively will be off-loadable in step S110 The installation file of application program and not off-loadable application program has been arrived in facility inventory according to the structure storage of facility inventory.Should Target directory is the position that off-loadable application program and not off-loadable application program need to actually be installed, and for application program Installation it is more convenient, the structure of the target directory is consistent with the structure of facility inventory.Specially:For not off-loadable application Structure of the program in facility inventory is device/system/lib and device/system/apk, then corresponding not off-loadable The structure setting of target directory of application program be /system/lib and/system/app.For off-loadable application program Structure in facility inventory is device/data, the then target directory of corresponding off-loadable application program structure setting For/data/app.
Step S130, the installation file under the facility inventory is replicated under the target directory.
For not off-loadable application program, by writing script command cp-rf in script file init.rc Device/*/system, the All Files under device catalogues is replicated in by force under system catalogues with realizing.Wherein, cp tables System of giving instructions in reply operation ,-rf represents to force and overlapping operation, device/*/system are represented the All Files under device catalogues It is replicated under system catalogues by force, that is, the installation file under facility inventory is replicated under target directory.Due to for not The structure of off-loadable application program, its facility inventory and target directory is completely the same, then without individually to apk installation files and Catalogue is individually handled corresponding to library file, you can completes the duplication of installation file.
For off-loadable application program, by writing script command cp-rf device/ in script file init.rc Data/*/data/app, to realize under the file copy under device/data catalogues to data/app catalogues, it will be located at The installation file of off-loadable application program under facility inventory is copied under target directory.
Step S140, the installation file under the target directory is performed, to cause application program to be installed to complete installation.
On off-loadable application program and not detachable in perform script file init.rc when terminal system starts The copy command of the application program of load, by off-loadable application program and the installation file slave unit of not off-loadable application program Catalogue is replicated in target directory, while the installation file under performance objective catalogue, by off-loadable application program and not detachable The application program of load is respectively arranged in target location, to complete the installation of application program.
Fig. 3 is refer to, is the flow signal of the method for another automatic pre-installed applications program provided in an embodiment of the present invention Figure, the method for the automatic pre-installed applications program are applied to terminal, and the method for the automatic pre-installed applications program includes:
Step S210, the installation file of application program to be installed is copied under the target directory pre-seted.
The application program to be installed includes the application program that can not be unloaded and off-loadable application program, in compiling terminal On system when, the installation file of not off-loadable application program and off-loadable application program need to be copied to setting of pre-seting Under standby catalogue, think that subsequently the not off-loadable application program of prepackage and off-loadable application program are prepared.
For not off-loadable application program, if including library file (lib in the installation file of not off-loadable application program File), then need the library file being individually copied under the library file catalogue in the system subregions of terminal system, i.e. the first equipment Under catalogue, to enable the installation file of the not off-loadable application program of terminal system normal load.Specifically, first equipment Catalogue is device/system/lib.
Alternative document in the installation file of not off-loadable application program in addition to library file is copied to terminal system System subregions under another file directory, i.e. the second facility inventory.Specifically, second facility inventory is device/ system/apk。
For off-loadable application program, even if library file be present in the installation file of the off-loadable application program, Without being stored separately in library file in independent file, it is whole off-loadable to complete that terminal system can recognize that the library file Application program installation file loading.Therefore, the installation file of off-loadable application program is all copied into the 3rd to set Under standby catalogue, the 3rd facility inventory is device/data.
Step S220, setting target directory, the structure of the target directory are consistent with the structure of the facility inventory.
The target directory is the position that off-loadable application program and not off-loadable application program need to actually be installed, and is The installation of application program is more convenient, and the structure of the target directory is consistent with the structure of facility inventory.Specially:For can not Structure of the application program of unloading in facility inventory is device/system/lib and device/system/apk, then corresponds to The structure setting of target directory of not off-loadable application program be /system/lib and/system/app.For off-loadable Structure of the application program in facility inventory be device/data, then corresponding off-loadable application program target directory Structure setting be /data/app.
Step S230, detect the facility inventory and whether there is.
Before the prepackage of application program is carried out, i.e., installation file of the application program in facility inventory is replicated in target Before under catalogue, it need to first detect the facility inventory and whether there is, if the facility inventory is not present, show to carry out applying journey The prepackage of sequence.The concrete mode that the detection device catalogue whether there is is:Calling if [!-d"device/system||!-d" Device/data "] judge that device/system catalogues and device/data catalogues whether there is, that is, judge not off-loadable Facility inventory corresponding to application program and off-loadable application program whether there is.
Step S240, detect the installation file that whether there is application program to be installed under the facility inventory.
If the facility inventory is present, further detect under the facility inventory with the presence or absence of the installation text of application program Part, if installation file is not present in the facility inventory, show to install.It whether there is installation file under the facility inventory Detection mode be specially:if[-f"device/system"||-f"device/data"].
Step S250, when the facility inventory is present and the installation of application program to be installed under the facility inventory be present File, then the installation file under the facility inventory is replicated under the target directory.
For not off-loadable application program, by writing script command cp-rf in script file init.rc Device/*/system, the All Files under device catalogues is replicated in by force under system catalogues with realizing.Wherein, cp tables System of giving instructions in reply operation ,-rf represents to force and overlapping operation, device/*/system are represented the All Files under device catalogues It is replicated under system catalogues by force, that is, the installation file under facility inventory is replicated under target directory.Due to for not The structure of off-loadable application program, its facility inventory and target directory is completely the same, then without individually to apk installation files and Catalogue is individually handled corresponding to library file, you can completes the duplication of installation file.
For off-loadable application program, by writing script command cp-rf device/ in script file init.rc Data/*/data/app, to realize under the file copy under device/data catalogues to data/app catalogues, it will be located at The installation file of off-loadable application program under facility inventory is copied under target directory.
Step S260, the installation file under the target directory is performed, to cause application program to be installed to complete installation.
On off-loadable application program and not detachable in perform script file init.rc when terminal system starts The copy command of the application program of load, by off-loadable application program and the installation file slave unit of not off-loadable application program Catalogue is replicated in target directory, while the installation file under performance objective catalogue, by off-loadable application program and not detachable The application program of load is respectively arranged in target location, to complete the installation of application program.
Step S270, the global variable is arranged to the first value by initial value second value.
The global variable is provided with two values, including the first value and second value, wherein the first value characterizes the application program It has been installed that, second value characterizes the application program and do not installed.When off-loadable application program and not off-loadable application program When not installed, the global variable is initial value second value, when the off-loadable application program and the application program not unloaded After installation, the global variable is arranged to the first value by initial value second value, shows that application program has been installed, it is not necessary to repeat to pacify Dress.The global variable set purpose be, due to every time start terminal system when, script file all will perform once, i.e., often The secondary prepackage that can all carry out application program, pre-install, then carried out by setting global variable in order to avoid the repetition of application program Distinguish.
Step S280, detects default global variable, and the global variable includes the first value and second value, first value Characterize the application program to have installed, the second value characterizes the application program and do not installed.
When starting terminal system every time, the detection of global variable will be carried out first, to judge whether to application program Prepackage.
Step S281, if the value of the global variable is the first value, transfer one of text in the facility inventory A part Documents Comparison corresponding with the target directory, if unanimously, characterizing the application program and having installed and do not repaiied Change, without reinstalling, if inconsistent, need to reinstall.
If the value of the global variable is the first value, shows that the application program had been installed, then further transfer and set One of file Documents Comparison corresponding with target directory in standby catalogue, if unanimously, characterizing the application program Install and do not changed, without reinstalling.If it is inconsistent, or file is not present, then shows in the target directory File is changed or not installed, then needs to reinstall.More preferably, its in the facility inventory of not off-loadable application program is chosen In compared with file file corresponding with target directory because not off-loadable application program can not unload, and can The application program of unloading can not judge after being unloaded by user.
Step S282, if the value of the global variable is second value, need that application program to be installed is installed.
If the value of the global variable is second value, shows that the application program is not installed, then need to application to be installed Program is installed.
Fig. 4 is refer to, is a kind of functional module of the device 100 of automatic pre-installed applications program provided in an embodiment of the present invention Schematic diagram, the device 100 of the automatic pre-installed applications program include copy module 110, setup module 120, first detection module 130th, replication module 140, the detection module 160 of execution module 150 and second, wherein,
Module 110 is copied, for the installation file of application program to be installed to be copied under the facility inventory pre-seted.
In embodiments of the present invention, step S110~S113 and S210 can be performed by copy module 110.
Setup module 120, for setting target directory, the structure of the target directory and the structure one of the facility inventory Cause.
In embodiments of the present invention, step S120 and step S220 can be performed by setup module 120.
First detection module 130, whether there is for detecting the facility inventory, and detect under the facility inventory whether The installation file of application program to be installed be present.
In embodiments of the present invention, step S230 and S240 can be performed by first detection module 130.
Replication module 140, for the installation file under the facility inventory to be replicated under the target directory.
In embodiments of the present invention, step S130 and step S250 can be performed by replication module 140.
Execution module 150, for performing the installation file under the target directory, to cause application program to be installed complete Into installation.
In embodiments of the present invention, step S140 and S260 can be performed by execution module 150.
Second detection module 160, for detecting default global variable, the global variable includes the first value and second Value, first value characterize the application program and installed, and the second value characterizes the application program and do not installed.
In embodiments of the present invention, step S270~S282 can be performed by the second detection module 160.
Due to being had been described in the method part of automatic pre-installed applications program, will not be repeated here.
In summary, the method and device of a kind of automatic pre-installed applications program provided in an embodiment of the present invention, this is automatic pre- The method and device of dress application program is applied to terminal, and the method for the automatic pre-installed applications program includes:By application to be installed The installation file of program is copied under the facility inventory pre-seted, is arranged at the consistent target directory of facility inventory structure, by institute The installation file stated under facility inventory is replicated under target directory, the installation file under performance objective catalogue, you can completes to wait to pacify Fill the installation of application program.The automatic installation of application to be installed is realized by this programme, to drastically increase installation effect Rate, reduce manually-operated cumbersome.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. It should be noted that herein, such as first and second or the like relational terms are used merely to an entity or behaviour Make with another entity or operation make a distinction, and not necessarily require or imply these entities or operate between exist it is any this Kind actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Include so that process, method, article or equipment including a series of elements not only include those key elements, but also Including the other element being not expressly set out, or also include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (9)

  1. A kind of 1. method of automatic pre-installed applications program, applied to terminal, it is characterised in that methods described includes:
    The installation file of application program to be installed is copied under the facility inventory pre-seted;
    Setting target directory, the structure of the target directory are consistent with the structure of the facility inventory;
    Installation file under the facility inventory is replicated under the target directory;
    The installation file under the target directory is performed, to cause application program to be installed to complete installation;
    Default global variable is detected, the global variable includes the first value and second value, and first value characterizes the application Program has been installed, and the second value characterizes the application program and do not installed;
    If the value of the global variable is the first value, one of file in the facility inventory and the target mesh are transferred A file corresponding in record is compared, if unanimously, characterizing the application program and having installed and do not changed, without again Installation, if inconsistent, needs to reinstall;
    If the value of the global variable is second value, need that application program to be installed is installed.
  2. 2. the method for automatic pre-installed applications program as claimed in claim 1, it is characterised in that the application program to be installed Including not off-loadable application program and off-loadable application program.
  3. 3. the method for automatic pre-installed applications program as claimed in claim 2, it is characterised in that described by application journey to be installed The step that the installation file of sequence is copied under the facility inventory pre-seted includes:
    Library file in the installation file of not off-loadable application program is copied under the first facility inventory;
    Alternative document in the installation file of not off-loadable application program in addition to library file is copied to the second facility inventory;
    The installation file of Downloadable application program is copied under the 3rd facility inventory.
  4. 4. the method for automatic pre-installed applications program as claimed in claim 1, it is characterised in that described by under the facility inventory Installation file be replicated under the target directory before also include step:
    The facility inventory is detected to whether there is;
    Detect the installation file that whether there is application program to be installed under the facility inventory;
    The step that the installation file by under facility inventory is replicated under the target directory includes:When the facility inventory is deposited And the facility inventory under the installation file of application program to be installed be present, then by the installation file under the facility inventory It is replicated under the target directory.
  5. 5. the method for automatic pre-installed applications program as claimed in claim 1, it is characterised in that described to perform the target directory Under installation file, to cause application program to be installed to complete also to include step after installation:
    The global variable is arranged to the first value by initial value second value.
  6. A kind of 6. device of automatic pre-installed applications program, applied to terminal, it is characterised in that described device includes:
    Module is copied, for the installation file of application program to be installed to be copied under the facility inventory pre-seted;
    Setup module, for setting target directory, the structure of the target directory is consistent with the structure of the facility inventory;
    Replication module, for the installation file under the facility inventory to be replicated under the target directory;
    Execution module, for performing the installation file under the target directory, to cause application program to be installed to complete installation.
  7. 7. the device of automatic pre-installed applications program as claimed in claim 6, it is characterised in that the application program to be installed Including not off-loadable application program and off-loadable application program,
    The copy module is additionally operable to:
    Library file in the installation file of not off-loadable application program is copied under the first facility inventory;
    Alternative document in the installation file of not off-loadable application program in addition to library file is copied to the second facility inventory Under;
    The installation file of Downloadable application program is copied under the 3rd facility inventory.
  8. 8. the device of automatic pre-installed applications program as claimed in claim 6, it is characterised in that described device also includes the first inspection Survey module,
    Whether the first detection module, which is additionally operable to detect the facility inventory, whether there is, and detect and deposited under the facility inventory In the installation file of application program to be installed;
    When the facility inventory is present and the installation file of application program to be installed, the duplication under the facility inventory be present Module is used to the installation file under the facility inventory being replicated under the target directory.
  9. 9. the device of automatic pre-installed applications program as claimed in claim 6, it is characterised in that described device also includes the second inspection Survey module,
    Second detection module, for detecting default global variable, the global variable includes the first value and second value, institute State the first value sign application program to have installed, the second value characterizes the application program and do not installed;
    If the value of the global variable is the first value, one of file in the facility inventory and the target mesh are transferred A file corresponding in record is compared, if unanimously, characterizing the application program and having installed and do not changed, without again Installation, if inconsistent, needs to reinstall;
    If the value of global variable is second value, need that application program to be installed is installed.
CN201710850863.1A 2017-09-20 2017-09-20 The method and device of automatic pre-installed applications program Pending CN107608683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710850863.1A CN107608683A (en) 2017-09-20 2017-09-20 The method and device of automatic pre-installed applications program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710850863.1A CN107608683A (en) 2017-09-20 2017-09-20 The method and device of automatic pre-installed applications program

Publications (1)

Publication Number Publication Date
CN107608683A true CN107608683A (en) 2018-01-19

Family

ID=61061143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710850863.1A Pending CN107608683A (en) 2017-09-20 2017-09-20 The method and device of automatic pre-installed applications program

Country Status (1)

Country Link
CN (1) CN107608683A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664259A (en) * 2018-04-02 2018-10-16 青岛海信移动通信技术股份有限公司 A kind of method and terminal carried out using installation
CN110489152A (en) * 2019-09-19 2019-11-22 四川虹美智能科技有限公司 A kind of application upgrade method and device based on android system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
US9098366B1 (en) * 2013-07-11 2015-08-04 Sprint Communications Company L.P. Virtual pre-installation of applications
CN106095504A (en) * 2016-06-13 2016-11-09 青岛海信移动通信技术股份有限公司 preset application loading method and mobile terminal
CN106406919A (en) * 2015-07-27 2017-02-15 青岛海信移动通信技术股份有限公司 Terminal device pre-loaded application management method and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
US9098366B1 (en) * 2013-07-11 2015-08-04 Sprint Communications Company L.P. Virtual pre-installation of applications
CN106406919A (en) * 2015-07-27 2017-02-15 青岛海信移动通信技术股份有限公司 Terminal device pre-loaded application management method and terminal device
CN106095504A (en) * 2016-06-13 2016-11-09 青岛海信移动通信技术股份有限公司 preset application loading method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YINAZH: ""android预装内置可卸载的应用"", 《CSDN》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664259A (en) * 2018-04-02 2018-10-16 青岛海信移动通信技术股份有限公司 A kind of method and terminal carried out using installation
CN108664259B (en) * 2018-04-02 2022-04-15 青岛海信移动通信技术股份有限公司 Method and terminal for installing application
CN110489152A (en) * 2019-09-19 2019-11-22 四川虹美智能科技有限公司 A kind of application upgrade method and device based on android system

Similar Documents

Publication Publication Date Title
CN107357593A (en) Source code file construction method, device, electric terminal and readable storage medium storing program for executing
CN106681581B (en) Application icon arrangement method and device
CN103186387B (en) Electronic installation and its method for updating OS
CN109446753A (en) Detect method, apparatus, computer equipment and the storage medium of pirate application program
CN102135895B (en) System upgrading method and system
CN101673204A (en) Dynamic loading method of application program of mobile phone based on arm
CN108958788A (en) The method, apparatus and computer equipment of automatic synchronization refreshing browser
CN103902562A (en) Method and device for upgrading terminal databases
CN105512033A (en) Automated testing method and device of mobile terminal and mobile terminal
CN111176665B (en) High-capacity emmc mirror image manufacturing method and device
CN107608683A (en) The method and device of automatic pre-installed applications program
CN103294742A (en) Apparatus and method for determining duplication of content in portable terminal
CN106484779B (en) File operation method and device
CN110244963B (en) Data updating method and device and terminal equipment
CN103870319A (en) Method and device for information processing and electronic device
CN105718468A (en) Method and device for building ODS layer of data warehouse
CN100361075C (en) Method and device for quickly developing embedded system using automatic compilation frame
CN108733536B (en) Monitoring management system and method
CN103399788A (en) Cross-application control method and system for intelligent terminal
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
WO2017067459A1 (en) Desktop data loading method and device
US11847086B2 (en) Method and apparatus for configuring MMIOH base address of server system
CN115269077A (en) Picture display method, module, mobile terminal and storage medium
CN108132803B (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication