CN109508198A - Application program installation method, device, storage medium and terminal - Google Patents
Application program installation method, device, storage medium and terminal Download PDFInfo
- Publication number
- CN109508198A CN109508198A CN201811333859.9A CN201811333859A CN109508198A CN 109508198 A CN109508198 A CN 109508198A CN 201811333859 A CN201811333859 A CN 201811333859A CN 109508198 A CN109508198 A CN 109508198A
- Authority
- CN
- China
- Prior art keywords
- target
- terminal
- installed applications
- installation
- applications program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses application program installation method, device, storage medium and terminal.This method comprises: obtaining the default file in terminal, wherein the default file is corresponding with the target channel of the terminal when detecting that the Installation Events of pre-installed applications program are triggered;According to the target installation kit of the determining target pre-installed applications program to match with the target channel of the default file, wherein be stored with the installation kit of the pre-installed applications program to match at least two channels in the terminal;The target pre-installed applications program is installed based on the target installation kit.The embodiment of the present application is by using above-mentioned technical proposal, it can store in the terminal and the installation kit of the matched pre-installed applications program of different channels, it is selectively installed when to be installed according to the corresponding channel of terminal, is not needed the terminal for safeguarding a large amount of different editions, improve the factory efficiency of terminal.
Description
Technical field
The invention relates to field of terminal technology more particularly to application program installation method, device, storage medium and
Terminal.
Background technique
Currently, intelligent terminal has become electronic equipment indispensable in most users daily life.It is equipped in intelligent terminal
Operating system can install application program.Before terminal factory, it is preassembled using journey that needs are generally configured in the terminal
Sequence, this application program are referred to alternatively as pre-installed applications program or built-in application program.
For manufacturer terminal, there may be multiple channel in terminal shipment, such as shipment to country variant or out
Goods can be generally that terminal is equipped with different pre-installed applications programs for the built-in demand of different channels to different operators etc..It is existing
Some schemes are usually the direct installation kit of the required pre-installed applications program of storage in the terminal, when terminal first powers on when progress
Installation influences efficiency of dispatching from the factory, needs to improve however, the terminal that the program needs a large amount of different editions needs to safeguard.
Summary of the invention
The embodiment of the present application provides a kind of application program installation method, device, storage medium and terminal, can optimize terminal
The mount scheme of middle pre-installed applications program.
In a first aspect, the embodiment of the present application provides a kind of application program installation method, comprising:
When detecting that the Installation Events of pre-installed applications program are triggered, the default file in terminal is obtained, wherein described pre-
If file is corresponding with the target channel of the terminal;
It is installed according to the target of the determining target pre-installed applications program to match with the target channel of the default file
Packet, wherein the installation kit of the pre-installed applications program to match at least two channels is stored in the terminal;
The target pre-installed applications program is installed based on the target installation kit.
Second aspect, the embodiment of the present application provide a kind of application program mounting device, comprising:
Default file obtains module, for obtaining terminal when detecting that the Installation Events of pre-installed applications program are triggered
In default file, wherein the default file is corresponding with the target channel of the terminal;
Target installation kit determining module, for according to the determining target to match with the target channel of the default file
The target installation kit of pre-installed applications program, wherein the pre-installed applications to match at least two channels are stored in the terminal
The installation kit of program;
Using installation module, for being installed based on the target installation kit to the target pre-installed applications program.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the application program installation method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, including memory, and processor and storage are on a memory
And the computer program that can be run in processor, the processor realize such as the embodiment of the present application when executing the computer program
The application program installation method.
The application program mount scheme provided in the embodiment of the present application is stored with and at least two channel phases in the terminal
The installation kit and default file for the pre-installed applications program matched when detecting that the Installation Events of pre-installed applications program are triggered, obtain
Default file corresponding with target channel in terminal is pre-installed according to the determining target to match with target channel of default file
The target installation kit of application program installs target pre-installed applications program based on target installation kit.By using above-mentioned skill
Art scheme, can store in the terminal from the installation kit of the matched pre-installed applications program of different channels, according to terminal when to be installed
Corresponding channel is selectively installed, and the terminal for safeguarding a large amount of different editions is not needed, and improves the factory efficiency of terminal.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of application program installation method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another application program installation method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another application program installation method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another application program installation method provided by the embodiments of the present application;
Fig. 5 is a kind of structural block diagram of application program mounting device provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of another terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating
, part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow diagram of application program installation method provided by the embodiments of the present application, and this method can be by
Application program mounting device executes, and wherein the device can be implemented by software and/or hardware, and can generally integrate in the terminal.Such as Fig. 1
It is shown, this method comprises:
Step 101 when detecting that the Installation Events of pre-installed applications program are triggered, obtains the default file in terminal,
In, the default file is corresponding with the target channel of the terminal.
Illustratively, the terminal in the embodiment of the present application may include the equipment such as mobile phone, tablet computer and laptop.
In the embodiment of the present application, detect that the Installation Events of pre-installed applications program are triggered, it may include when detecting terminal
When first powering on after factory, the Installation Events for confirmly detecting pre-installed applications program are triggered.The installation of pre-installed applications program
The mode that event is triggered can also have other modes, and the embodiment of the present application is without limitation.
In general, the installation kit of pre-installed applications program can be stored in system space or in data space before terminal factory
Equal positions when first powering on after terminal factory, can carry out the installation of pre-installed applications program based on the installation kit of storage.It is stored in
In system space is usually the system application for supporting terminal to work normally, and user is not off-loadable, such as telephone directory, browser, phase
Machine and dial etc.;It is stored in data space and is usually the extension functional application of terminal, including deposited with application developer
In the application etc. of cooperation, user can choose unloading, such as office software, instant communication software and game.
For manufacturer terminal, there may be multiple channel in terminal shipment, such as shipment country variant or shipment
Different operators etc., the channel in the embodiment of the present application may include shipment channel.In general, different channels can exist it is different interior
Demand is set, such as shipment country variant needs built-in different browser, the different operator of shipment needs built-in different editions
Dial etc..In the related technology, pre-installed applications program needed for usually directly storing current shipment channel in the terminal
Installation kit, when channel is more, it is necessary to safeguard a large amount of terminal versions, influence shipment efficiency.
In the embodiment of the present application, it is stored with the installation of the pre-installed applications program to match at least two channels in the terminal
Packet, channel quantity can be determined according to the shipment channel sum of terminal.For example, it is desired to 3 countries of shipment, wherein 1 country needs
Want shipment to 3 operators, then shipment channel sum is 5.It can be by a variety of application programs and same application program
Different editions be integrated together, be stored in the same software, be for for the terminal of different channels, can store institute
There is pre-installed applications program, the different editions including the same pre-installed applications program are selectively installed when needing to install.In advance
It may include target canal corresponding with present terminal in this document if file is file newly-increased in the terminal in the embodiment of the present application
The relevant information in road, as target channel needs the mark of pre-installed applications program to be mounted, needs pre-installed applications program to be mounted
Version information, and the store path of installation kit for installation etc..
Step 102 determines the target pre-installed applications program to match with the target channel according to the default file
Target installation kit.
Wherein, the installation kit of the pre-installed applications program to match at least two channels is stored in the terminal.
Illustratively, the information for including in default file can be read, and then determines that the target channel of present terminal needs
Which version of which pre-installed applications program (i.e. destination application) and installation targets prepackage program is installed, and then is determined
Corresponding target installation kit.
Step 103 installs the target pre-installed applications program based on the target installation kit.
Illustratively, after terminal first powers on, can by packet management service (Package Manager Service,
PMS) installation kit of pre-installed applications program is loaded.In the embodiment of the present application, after target installation kit has been determined, Ke Yiyou
Packet management service loads target installation kit, to realize the installation of target pre-installed applications program.
The application program installation method provided in the embodiment of the present application is stored with and at least two channel phases in the terminal
The installation kit and default file for the pre-installed applications program matched when detecting that the Installation Events of pre-installed applications program are triggered, obtain
Default file corresponding with target channel in terminal is pre-installed according to the determining target to match with target channel of default file
The target installation kit of application program installs target pre-installed applications program based on target installation kit.By using above-mentioned skill
Art scheme, can store in the terminal from the installation kit of the matched pre-installed applications program of different channels, according to terminal when to be installed
Corresponding channel is selectively installed, and the terminal for safeguarding a large amount of different editions is not needed, and improves the factory efficiency of terminal.
In some embodiments, the installation kit of the pre-installed applications program to match at least two channels, is stored in
In independent memory space in the terminal.The advantages of this arrangement are as follows can be with the storage region area of system original document
It separates, guarantees system stability.In addition, since the general quantity of pre-installed applications program in terminal is more and not all pre-
Filling application program all can be because there may be a certain number of identical for channel difference all different froms namely different channel
The pre-installed applications program of difference due to channel difference can be only stored in independent memory space by pre-installed applications program,
Facilitate management.For example, built-in browser can be identical for the terminal of country's different operators same for shipment
, and the version of dial has differences, then the installation kit of the dial of two different editions can be stored in solely
In vertical memory space, and the installation kit of browser is stored in the memory space where system original document.Optionally, text is preset
Part also can be stored in the independent memory space.Independent memory space can be divided in the terminal, and is distributed pre-installed applications program and deposited
Region (for storing installation kit) and default file storage area are put, corresponding file is stored in corresponding storage area.
It optionally, further include other pre-installed applications programs except independent memory space, i.e., what different channels needed to configure
Identical pre-installed applications program (can be described as public pre-installed applications program), then packet management service is carrying out target pre-installed applications journey
When the installation of sequence, public pre-installed applications program can also be installed together.
In some embodiments, the default file includes the configuration text of the store path containing the target installation kit
Part.The target according to the determining target pre-installed applications program to match with the target channel of the default file is installed
Packet, comprising: soft link is generated according to the default file;The target that will be matched with the target channel using the soft link
The file directory of the target installation kit of pre-installed applications program is linked to pre-installed applications program installation directory.The benefit being arranged in this way
It is, can accurately determine target installation kit and realizes subsequent installation.When what is stored in the user data block of a file
When content is the direction of the pathname of another file, this document can be known as soft link, and soft link is also a file,
After generating soft link, soft link also has the index node (inode) number and user data block of oneself.In the embodiment of the present application
In the soft link generated, the content of storage is the direction of the pathname of target installation kit.
In some embodiments, described that soft link is generated according to the default file, comprising: using presetting module according to institute
It states default file and generates soft link, wherein the presetting module starts after terminal booting prior to packet management service.This
Sample setting be advantageous in that, packet management service starting before generate soft link, it can be ensured that packet management service can as early as possible into
The load of row installation kit improves the installation effectiveness of pre-installed applications program when first powering on.The starting time of presetting module is early, power
Limit needs to complete the operation of action link enough, such as has root (root) permission.
In some embodiments, the default file includes the carry script of the store path containing target installation kit.Institute
State the target installation kit according to the determining target pre-installed applications program to match with the target channel of the default file, packet
It includes: using the default file by the file of the target installation kit of the target pre-installed applications program to match with the target channel
Catalogue is mounted to pre-installed applications program installation directory.The advantages of this arrangement are as follows not needing additionally to generate soft link, not yet
It needs by presetting module, will directly need the built-in catalogue using directory link to system installation application, further increase
The installation effectiveness of pre-installed applications program when first powering on.
In some embodiments, before detecting that the Installation Events of pre-installed applications program are triggered, further includes: receive outer
The file that portion's equipment is imported by the default introducting interface in the terminal;The file is parsed, default file is obtained.
The advantages of this arrangement are as follows can be edited in external equipment to the content in default file, directly led after editting
Enter in terminal, before importing, there is no difference, management easy to produce between each terminal.External equipment for example can be personal meter
The equipment such as calculation machine (Personal Computer, PC).
In some embodiments, default file can also be directly generated in external equipment.Illustratively, prepackage is being detected
Before the Installation Events of application program are triggered, further includes: receive external equipment and pass through the default introducting interface in the terminal
The default file of importing.The advantages of this arrangement are as follows saving analyzing step, promotes file and import efficiency.
In some embodiments, after obtaining default file, further includes: judge whether to be stored in the terminal pre-
If file, if so, replacing stored default file using obtained default file.The advantages of this arrangement are as follows when
When needing to change built-in plan, file can be modified, and is imported in terminal again, after original default file is replaced with parsing
New default file, the flexibility of the allocation plan of pre-installed applications programs before enhancing is dispatched from the factory.
In some embodiments, the target pre-installed applications program is carried out installing it based on the target installation kit
Afterwards, it may also include that the installation kit for the pre-installed applications program in addition to the target installation kit that will be stored in the terminal is deleted.
The advantages of this arrangement are as follows the memory space of terminal can be saved.
Fig. 2 is the flow diagram of another application program installation method provided by the embodiments of the present application, as shown in Fig. 2,
This method comprises:
Step 201 detects that terminal first powers on after factory.
Preset configuration file in step 202, acquisition terminal.
Wherein, preset configuration file is corresponding with the target channel of terminal, contains in this document and matches with target channel
Target pre-installed applications program target installation kit store path.In independent memory space in terminal, it is stored with and owns
The installation kit for the pre-installed applications program that channel matches.
Illustratively, preset configuration file includes the title of the target pre-installed applications program to match with target channel, generation
Number or packet name, the target version and the corresponding target of target version of the target pre-installed applications program to match with target channel
The store path of installation kit.
Step 203, using presetting module according to the soft link of preset configuration file generated.
Wherein, presetting module starts after terminal booting prior to packet management service, and has root authority.
Optionally, presetting module is installd module.It is described soft according to default file generation using presetting module
Link, comprising: symlink (sourcePath, targetPath) is executed according to the default file using installd module
Code, to generate soft link.That is, executing symlink according to preset configuration file using installd module
(sourcePath, targetPath) code, to generate soft link.
Step 204 utilizes the soft target installation kit of target pre-installed applications program that links and will match with target channel
File directory is linked to pre-installed applications program installation directory.
Step 205 is installed target pre-installed applications program to pre-installed applications based on target installation kit by packet management service
Program installation directory.
Application program installation method provided by the embodiments of the present application, be stored in the terminal match with all channels it is pre-
The installation kit and preset configuration file corresponding with the target channel of present terminal for filling application program, detect that terminal first powers on
When activation, preset configuration file is obtained, and using presetting module according to the soft link of preset configuration file generated, it will using soft link
The file directory of the target installation kit of the target pre-installed applications program to match with target channel is linked to pre-installed applications program peace
Catalogue is filled, target installation kit is based on by packet management service, target pre-installed applications program is installed, facilitates factory preceding to not
With the maintenance of the terminal of shipment channel, and when first powering on after factory activation, built-in application needed for fast implementing current channel
Installation.
Fig. 3 is the flow diagram of another application program installation method provided by the embodiments of the present application, and this method includes
Following steps:
Step 301 detects that terminal first powers on after factory.
Default carry script file in step 302, acquisition terminal.
Wherein, it is corresponding with the target channel of terminal to preset carry script file, contains and target channel phase in this document
The store path of the target installation kit of matched target pre-installed applications program.In independent memory space in terminal, be stored with
The installation kit for the pre-installed applications program that all channels match.
Illustratively, presetting carry script file is booting script operation order (run command, rc) file, can be with
Increase symlink sourcePath targetPath sentence or mount targetPath sourcePath in rc file
The sentences such as sentence.
Step 303, using default carry script file by the mesh of the target pre-installed applications program to match with target channel
The file directory for marking installation kit, is mounted to pre-installed applications program installation directory.
Step 304 is installed target pre-installed applications program to pre-installed applications based on target installation kit by packet management service
Program installation directory.
Step 305, target installation kit after the installation is completed, the prepackage in addition to target installation kit stored in terminal is answered
It is deleted with the installation kit of program.
Application program installation method provided by the embodiments of the present application, be stored in the terminal match with all channels it is pre-
The installation kit and default carry script file corresponding with the target channel of present terminal for filling application program, detect terminal for the first time
It when booting activation, obtains default carry script file, will directly be matched with target channel using default carry script file
The file directory of the target installation kit of target pre-installed applications program is mounted to pre-installed applications program installation directory, by assuring reason
Service installs target pre-installed applications program based on target installation kit, facilitates the preceding terminal to different shipment channels of factory
Maintenance improves the installation effectiveness of pre-installed applications program when first powering on, and unrelated with current channel deleting after the installation is completed
Installation kit, save system space.
Fig. 4 is the flow diagram of another application program installation method provided by the embodiments of the present application, is taken the mobile phone as an example,
This method comprises:
Step 401 receives the file that PC machine is imported by the default introducting interface in mobile phone.
Step 402 parses file, obtains preset configuration file.
Optionally, judge preset configuration file whether has been stored in mobile phone, if so, obtaining using new parsing default
Configuration file replaces stored preset configuration file;If it is not, then the preset configuration file that parsing obtains is stored.
Preset configuration file can support external importing, can increase import feature in mobile phone, namely increase default lead
Incoming interface can install import tool in PC machine, be passed to preset configuration file using the import tool.PC tool can basis
Different configuration files is passed to mobile phone terminal, is saved in configuration after mobile phone terminal parsing configuration file by the built-in difference planned of mobile phone
File storage.Accordingly even when the built-in plan of temporary changes, it is only necessary to modify configuration file and import again, not need to repair
Change code.
Step 403 detects that the Installation Events of pre-installed applications program are triggered.
Illustratively, when detecting that mobile phone first powers on after factory, the installation of pre-installed applications program is confirmly detected
Event is triggered.
Preset configuration file in step 404, acquisition mobile phone.
Wherein, in the independent memory space in mobile phone, it is stored with the peace of the pre-installed applications program to match with all channels
Dress packet, preset configuration file may also be stored in the independent memory space.
Illustratively, preset configuration file includes the title of the target pre-installed applications program to match with target channel, generation
Number or packet name, the target version and the corresponding target of target version of the target pre-installed applications program to match with target channel
The store path of installation kit.
Step 405, using installd module according to the soft link of preset configuration file generated.
Illustratively, using installd module according to preset configuration file execute symlink (sourcePath,
TargetPath) code, to generate soft link.
Step 406 utilizes the soft target installation kit of target pre-installed applications program that links and will match with target channel
File directory is linked to pre-installed applications program installation directory.
Step 407 is installed target pre-installed applications program to pre-installed applications based on target installation kit by packet management service
Program installation directory.
A variety of applications, same application different editions are integrated by application program installation method provided by the embodiments of the present application
In the same software of mobile phone, be stored in separate storage region, the usage record configuration file in the complete storage path of application and
Using soft on-link mode (OLM), solve the problems, such as the same software be adapted to a variety of applications built in requirements of combination, pass through importing configuration files
Mode different being switched fast using built-in scheme may be implemented, maintain easily, new projects, new platform can be inherited quickly
With it is integrated.
Fig. 5 is a kind of structural block diagram of application program mounting device provided by the embodiments of the present application, which can be by software
And/or hardware realization, it is typically integrated in terminal, pre-installed applications program can be carried out by executing application installation method
Installation.As shown in figure 5, the device includes:
Default file obtains module 501, for obtaining eventually when detecting that the Installation Events of pre-installed applications program are triggered
Default file in end, wherein the default file is corresponding with the target channel of the terminal;
Target installation kit determining module 502, for what is matched according to default file determination with the target channel
The target installation kit of target pre-installed applications program, wherein the prepackage to match at least two channels is stored in the terminal
The installation kit of application program;
Using installation module 503, for being installed based on the target installation kit to the target pre-installed applications program.
The application program mounting device provided in the embodiment of the present application is stored with and at least two channel phases in the terminal
The installation kit and default file for the pre-installed applications program matched when detecting that the Installation Events of pre-installed applications program are triggered, obtain
Default file corresponding with target channel in terminal is pre-installed according to the determining target to match with target channel of default file
The target installation kit of application program installs target pre-installed applications program based on target installation kit.By using above-mentioned skill
Art scheme, can store in the terminal from the installation kit of the matched pre-installed applications program of different channels, according to terminal when to be installed
Corresponding channel is selectively installed, and the terminal for safeguarding a large amount of different editions is not needed, and improves the factory efficiency of terminal.
Optionally, the installation kit of the pre-installed applications program to match at least two channels, is stored in the terminal
In independent memory space in.
Optionally, the default file includes the configuration file of the store path containing the target installation kit;
The target according to the determining target pre-installed applications program to match with the target channel of the default file
Installation kit, comprising:
Soft link is generated according to the default file;
Utilize the soft target installation kit for linking the target pre-installed applications program that will be matched with the target channel
File directory is linked to pre-installed applications program installation directory.
It is optionally, described that soft link is generated according to the default file, comprising:
Soft link is generated according to the default file using presetting module, wherein the presetting module is opened in the terminal
Start after machine prior to packet management service.
Optionally, the default file includes the carry script of the store path containing target installation kit;
The target according to the determining target pre-installed applications program to match with the target channel of the default file
Installation kit, comprising:
Using the default file by the target installation kit of the target pre-installed applications program to match with the target channel
File directory, be mounted to pre-installed applications program installation directory.
Optionally, the device further include:
File reception module, for before detecting that the Installation Events of pre-installed applications program are triggered, receiving external set
The file that the standby default introducting interface by the terminal imports;
Document analysis module obtains default file for parsing to the file.
Optionally, the device further include:
File replacement module, for after obtaining default file, judging whether be stored with default text in the terminal
Part, if so, replacing stored default file using obtained default file.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
Instruction is used for executing application installation method when being executed by computer processor, this method comprises:
When detecting that the Installation Events of pre-installed applications program are triggered, the default file in terminal is obtained, wherein described pre-
If file is corresponding with the target channel of the terminal;
It is installed according to the target of the determining target pre-installed applications program to match with the target channel of the default file
Packet, wherein the installation kit of the pre-installed applications program to match at least two channels is stored in the terminal;
The target pre-installed applications program is installed based on the target installation kit.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDRRAM, SRAM, EDORAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other types
Memory or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, or
It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet)
Calculation machine system.Second computer system can provide program instruction to the first computer for executing.Term " storage medium " can
To include two or more that may reside in different location (such as in the different computer systems by network connection)
Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting
Calculation machine program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The application program that executable instruction is not limited to the described above installs operation, can also be performed provided by the application any embodiment
Relevant operation in application program installation method.
The embodiment of the present application provides a kind of terminal, and application program peace provided by the embodiments of the present application can be integrated in the terminal
Assembling device.Fig. 6 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application.Terminal 600 may include: memory 601,
Processor 602 and the computer program that is stored on memory 601 and can run in processor 602, the processor 602 execute
The application program installation method as described in the embodiment of the present application is realized when the computer program.
Terminal provided by the embodiments of the present application can store and the matched pre-installed applications program of different channels in the terminal
Installation kit is selectively installed when to be installed according to the corresponding channel of terminal, does not need to safeguard a large amount of different editions
Terminal improves the factory efficiency of terminal.
Fig. 7 is the structural schematic diagram of another terminal provided by the embodiments of the present application, which may include: shell (figure
In be not shown), memory 701, central processing unit (central processing unit, CPU) 702 (also known as processor, with
Lower abbreviation CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the shell
The space interior surrounded;The CPU702 and the memory 701 are arranged on the circuit board;The power circuit, is used for
It powers for each circuit or device of the terminal;The memory 701, for storing executable program code;It is described
CPU702 is run and the executable program code pair by reading the executable program code stored in the memory 701
The computer program answered, to perform the steps of
When detecting that the Installation Events of pre-installed applications program are triggered, the default file in terminal is obtained, wherein described pre-
If file is corresponding with the target channel of the terminal;
It is installed according to the target of the determining target pre-installed applications program to match with the target channel of the default file
Packet, wherein the installation kit of the pre-installed applications program to match at least two channels is stored in the terminal;
The target pre-installed applications program is installed based on the target installation kit.
The terminal further include: Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit
706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710, touching
Touch screen 712, other input/control devicess 710 and outside port 704, these components pass through one or more communication bus or
Signal wire 707 communicates.
It should be understood that graphic terminal 700 is only an example of terminal, and terminal 700 can have than figure
Shown in more or less component, two or more components can be combined, or can have different portions
Part configuration.Various parts shown in the drawings can be including one or more signal processings and/or specific integrated circuit
Hardware, software or hardware and software combination in realize.
Just the terminal provided in this embodiment for application program installation is described in detail below, and the terminal is with mobile phone
For.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703
Reservoir 701.
I/O subsystem 709, the I/O subsystem 709 can be by the input/output peripherals in equipment, such as touch screen 712
With other input/control devicess 710, it is connected to Peripheral Interface 703.I/O subsystem 709 may include 7091 He of display controller
For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls
Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710,
Other input/control devicess 710 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 7092 can with it is following any one connect: keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 712, the touch screen 712 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 7091 in I/O subsystem 709 receives electric signal from touch screen 712 or sends out to touch screen 712
Electric signals.Touch screen 712 detects the contact on touch screen, and the contact that display controller 7091 will test is converted to and is shown
The interaction of user interface object on touch screen 712, i.e. realization human-computer interaction, the user interface being shown on touch screen 712
Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 705 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 705 receives and sends RF letter
Number, RF signal is also referred to as electromagnetic signal, and RF circuit 705 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 705 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706 is mainly used for receiving audio data from Peripheral Interface 703, which is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711 is reduced to sound for mobile phone to be passed through RF circuit 705 from the received voice signal of wireless network
And the sound is played to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered
And power management.
Application program mounting device, storage medium and the terminal provided in above-described embodiment can be performed the application and arbitrarily implement
Application program installation method provided by example has and executes the corresponding functional module of this method and beneficial effect.Not in above-mentioned reality
The technical detail of detailed description in example is applied, reference can be made to application program installation method provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. a kind of application program installation method characterized by comprising
When detecting that the Installation Events of pre-installed applications program are triggered, the default file in terminal is obtained, wherein the default text
Part is corresponding with the target channel of the terminal;
The target installation kit of the target pre-installed applications program to match with the target channel is determined according to the default file,
In, the installation kit of the pre-installed applications program to match at least two channels is stored in the terminal;
The target pre-installed applications program is installed based on the target installation kit.
2. the method according to claim 1, wherein the pre-installed applications journey to match at least two channels
The installation kit of sequence is stored in the independent memory space in the terminal.
3. according to the method described in claim 2, it is characterized in that, the default file includes containing the target installation kit
The configuration file of store path;
The target according to the determining target pre-installed applications program to match with the target channel of the default file is installed
Packet, comprising:
Soft link is generated according to the default file;
Utilize the file of the soft target installation kit for linking the target pre-installed applications program that will be matched with the target channel
Catalogue is linked to pre-installed applications program installation directory.
4. according to the method described in claim 3, it is characterized in that, described generate soft link according to the default file, comprising:
Soft link is generated according to the default file using presetting module, wherein the presetting module is after terminal booting
Start prior to packet management service.
5. according to the method described in claim 2, it is characterized in that, the default file includes the storage containing target installation kit
The carry script in path;
The target according to the determining target pre-installed applications program to match with the target channel of the default file is installed
Packet, comprising:
Using the default file by the text of the target installation kit of the target pre-installed applications program to match with the target channel
Part catalogue is mounted to pre-installed applications program installation directory.
6. -5 any method according to claim 1, which is characterized in that in the Installation Events for detecting pre-installed applications program
Before being triggered, further includes:
Receive the file that external equipment is imported by the default introducting interface in the terminal;
The file is parsed, default file is obtained.
7. according to the method described in claim 6, it is characterized in that, after obtaining default file, further includes:
Judge whether be stored with default file in the terminal, if so, having stored using the replacement of obtained default file
Default file.
8. a kind of application program mounting device characterized by comprising
Default file obtains module, for obtaining in terminal when detecting that the Installation Events of pre-installed applications program are triggered
Default file, wherein the default file is corresponding with the target channel of the terminal;
Target installation kit determining module, for being pre-installed according to the determining target to match with the target channel of the default file
The target installation kit of application program, wherein the pre-installed applications program to match at least two channels is stored in the terminal
Installation kit;
Using installation module, for being installed based on the target installation kit to the target pre-installed applications program.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The application program installation method as described in any in claim 1-7 is realized when row.
10. a kind of terminal, which is characterized in that including memory, processor and storage can be run on a memory and in processor
Computer program, the processor is realized as claimed in claim 1 using journey when executing the computer program
Sequence installation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811333859.9A CN109508198B (en) | 2018-11-09 | 2018-11-09 | Application program installation method and device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811333859.9A CN109508198B (en) | 2018-11-09 | 2018-11-09 | Application program installation method and device, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109508198A true CN109508198A (en) | 2019-03-22 |
CN109508198B CN109508198B (en) | 2022-01-18 |
Family
ID=65747940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811333859.9A Active CN109508198B (en) | 2018-11-09 | 2018-11-09 | Application program installation method and device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109508198B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096306A (en) * | 2019-05-09 | 2019-08-06 | 京东方科技集团股份有限公司 | Application version switching method and device, electronic equipment, storage medium |
CN110147240A (en) * | 2019-04-30 | 2019-08-20 | 广州微算互联信息技术有限公司 | Application program installation method, system and storage medium based on cloud storage |
CN110221860A (en) * | 2019-06-11 | 2019-09-10 | 腾讯科技(深圳)有限公司 | A kind of configuration file processing method, device, terminal and medium |
CN110825429A (en) * | 2019-11-13 | 2020-02-21 | 中孚安全技术有限公司 | Web project packaging method and system |
CN111221544A (en) * | 2020-01-09 | 2020-06-02 | 华为技术有限公司 | Management method and terminal for pre-installed application software |
CN112486510A (en) * | 2020-11-04 | 2021-03-12 | 深圳市金百锐通信科技有限公司 | Method and device for software installation, terminal equipment and storage medium |
CN112527333A (en) * | 2020-12-17 | 2021-03-19 | 深圳市欢太科技有限公司 | Application program processing method and device, storage medium and electronic equipment |
CN112765597A (en) * | 2021-02-02 | 2021-05-07 | 腾讯科技(深圳)有限公司 | Software installation package detection method and device |
CN113760306A (en) * | 2020-10-26 | 2021-12-07 | 北京京东乾石科技有限公司 | Method and device for installing software, electronic equipment and storage medium |
CN114640687A (en) * | 2022-03-15 | 2022-06-17 | 北京中交兴路信息科技有限公司 | Software upgrading method and device, storage medium and electronic equipment |
CN116679872A (en) * | 2022-11-15 | 2023-09-01 | 荣耀终端有限公司 | Redundant installation package cleaning method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6092189A (en) * | 1998-04-30 | 2000-07-18 | Compaq Computer Corporation | Channel configuration program server architecture |
CN101944168A (en) * | 2009-07-09 | 2011-01-12 | 精品科技股份有限公司 | Electronic file authority control and management system |
CN105188048A (en) * | 2015-07-31 | 2015-12-23 | 上海海漾软件技术有限公司 | Method, device and terminal equipment for loading customized applications for mobile terminal |
CN107959928A (en) * | 2016-10-17 | 2018-04-24 | 北京奇虎科技有限公司 | The method for down loading and download apparatus of ad data bag in mobile terminal |
-
2018
- 2018-11-09 CN CN201811333859.9A patent/CN109508198B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6092189A (en) * | 1998-04-30 | 2000-07-18 | Compaq Computer Corporation | Channel configuration program server architecture |
CN101944168A (en) * | 2009-07-09 | 2011-01-12 | 精品科技股份有限公司 | Electronic file authority control and management system |
CN105188048A (en) * | 2015-07-31 | 2015-12-23 | 上海海漾软件技术有限公司 | Method, device and terminal equipment for loading customized applications for mobile terminal |
CN107959928A (en) * | 2016-10-17 | 2018-04-24 | 北京奇虎科技有限公司 | The method for down loading and download apparatus of ad data bag in mobile terminal |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110147240A (en) * | 2019-04-30 | 2019-08-20 | 广州微算互联信息技术有限公司 | Application program installation method, system and storage medium based on cloud storage |
CN110147240B (en) * | 2019-04-30 | 2023-09-05 | 广州微算互联信息技术有限公司 | Cloud storage-based application program installation method, system and storage medium |
CN110096306B (en) * | 2019-05-09 | 2021-10-15 | 京东方科技集团股份有限公司 | Application version switching method and device, electronic equipment and storage medium |
CN110096306A (en) * | 2019-05-09 | 2019-08-06 | 京东方科技集团股份有限公司 | Application version switching method and device, electronic equipment, storage medium |
WO2020224410A1 (en) * | 2019-05-09 | 2020-11-12 | 京东方科技集团股份有限公司 | Application version switching method and apparatus, electronic device and storage medium |
US11375002B2 (en) | 2019-05-09 | 2022-06-28 | Boe Technology Group Co., Ltd. | Application version switching method and apparatus, electronic device and storage medium |
CN110221860A (en) * | 2019-06-11 | 2019-09-10 | 腾讯科技(深圳)有限公司 | A kind of configuration file processing method, device, terminal and medium |
CN110825429A (en) * | 2019-11-13 | 2020-02-21 | 中孚安全技术有限公司 | Web project packaging method and system |
CN111221544A (en) * | 2020-01-09 | 2020-06-02 | 华为技术有限公司 | Management method and terminal for pre-installed application software |
CN113760306A (en) * | 2020-10-26 | 2021-12-07 | 北京京东乾石科技有限公司 | Method and device for installing software, electronic equipment and storage medium |
CN113760306B (en) * | 2020-10-26 | 2024-06-18 | 北京京东乾石科技有限公司 | Method and device for installing software, electronic equipment and storage medium |
CN112486510A (en) * | 2020-11-04 | 2021-03-12 | 深圳市金百锐通信科技有限公司 | Method and device for software installation, terminal equipment and storage medium |
CN112527333A (en) * | 2020-12-17 | 2021-03-19 | 深圳市欢太科技有限公司 | Application program processing method and device, storage medium and electronic equipment |
CN112527333B (en) * | 2020-12-17 | 2024-05-03 | 深圳市欢太科技有限公司 | Application processing method and device, storage medium and electronic equipment |
CN112765597A (en) * | 2021-02-02 | 2021-05-07 | 腾讯科技(深圳)有限公司 | Software installation package detection method and device |
CN114640687A (en) * | 2022-03-15 | 2022-06-17 | 北京中交兴路信息科技有限公司 | Software upgrading method and device, storage medium and electronic equipment |
CN116679872A (en) * | 2022-11-15 | 2023-09-01 | 荣耀终端有限公司 | Redundant installation package cleaning method |
Also Published As
Publication number | Publication date |
---|---|
CN109508198B (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508198A (en) | Application program installation method, device, storage medium and terminal | |
CN110688232B (en) | Application program calling method, terminal equipment and computer readable storage medium | |
CN107741844B (en) | Method and device for generating application installation package | |
CN109960507A (en) | Compile optimization method, device, storage medium, intelligent terminal and server | |
CN106502703B (en) | Function calling method and device | |
CN110058850B (en) | Application development method and device and storage medium | |
CN106445647B (en) | Open the data manipulation method, device and mobile terminal of application more | |
US8990929B2 (en) | Auditing application activities | |
CN109933381B (en) | Kernel loading method and device | |
CN109947449A (en) | Method for upgrading system, device, storage medium and electronic equipment | |
CN103607431B (en) | Mobile terminal resource processing method, device and equipment | |
CN111192578A (en) | Application control method and device, storage medium and electronic equipment | |
CN106648737B (en) | A kind of control method of application, device and mobile terminal | |
CN108769232A (en) | Application resource method for pushing, device, equipment and storage medium | |
CN109101312A (en) | Application interface edit methods, device, storage medium and mobile terminal | |
CN105430448A (en) | Control processing method for video player and video player client | |
KR100794462B1 (en) | A method for displaying an idle screen on a mobile terminal depending on its situation | |
CN106383672B (en) | A kind of data-erasure method, device and mobile terminal for opening application more | |
CN102547630B (en) | Mobile terminal service multimedia displaying method, terminal and system | |
CN114840194A (en) | Code and operating system generation method and device, server and electronic equipment | |
CN109413714B (en) | User agent information processing method, device, storage medium and terminal | |
CN110489679B (en) | Browser kernel processing method and device and storage medium | |
CN116028099A (en) | Method for generating installation package, related device, equipment and storage medium | |
CA2595661C (en) | Auditing software application activities | |
CN104636367A (en) | Bookmark recommendation method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |