CN107220082A - Installation method, device and the equipment of application program - Google Patents

Installation method, device and the equipment of application program Download PDF

Info

Publication number
CN107220082A
CN107220082A CN201710352598.4A CN201710352598A CN107220082A CN 107220082 A CN107220082 A CN 107220082A CN 201710352598 A CN201710352598 A CN 201710352598A CN 107220082 A CN107220082 A CN 107220082A
Authority
CN
China
Prior art keywords
application program
file
download
instruction
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710352598.4A
Other languages
Chinese (zh)
Other versions
CN107220082B (en
Inventor
王乐
骆艳飞
刘鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710352598.4A priority Critical patent/CN107220082B/en
Publication of CN107220082A publication Critical patent/CN107220082A/en
Application granted granted Critical
Publication of CN107220082B publication Critical patent/CN107220082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of installation method of application program, device and equipment, this method includes:Terminal device obtains application program download instruction, download program instruction includes the first UID, according to the download instruction of application program, the first process is created by the preset memory locations under file download to be installed to data directory, then application program installation instruction is obtained, application program installation instruction includes the 2nd UID, and file to be installed is moved under the installation directory under data directory according to the second process of application program installation instruction establishment and installed, wherein the first UID's and the 2nd UID is identical.The file to be installed of application program is directly downloaded under data directory, is directly moved under installation directory and is installed during installation, it is not necessary to copied, memory space is effectively saved, Consumer's Experience is improved.

Description

Installation method, device and the equipment of application program
Technical field
This disclosure relates to computer technology, more particularly to a kind of installation method of application program, device and equipment.
Background technology
Conventional Android operation system, the flow for installing application is to download to be applied to sdcard, then calls equipment pipe Reason system (Plant Management System, PMS) installs application.Application can be copied to data subregions by PMS, then be solved APK file recording-related information is analysed to complete to install.Such flow, which installs an application program, needs more than twice APK file big Small space, in addition it is also necessary to consume the time of a file copy.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of installation method of application program, device and set It is standby.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of installation method of application program, including:
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, described program Download instruction is used for the file to be installed for indicating to download application program;
According to the download instruction of the application program, the first process is created by the file download to be installed to data directory Under preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, and the application program is installed Instruct for indicating to install the application program;
Second process is created according to the application program installation instruction file to be installed is moved to the data mesh Installed under installation directory under record;Wherein described first UID's and the 2nd UID is identical.
The embodiment of the present disclosure provide technical scheme, terminal device carry out application program download and installation process in, The file to be installed of application program is directly downloaded under data directory, is directly moved under installation directory and is installed during installation , it is not necessary to copied, effectively save memory space, improve Consumer's Experience.
Optionally, specifically the file to be installed is moved under the data directory according to application program installation instruction Installation directory under carry out mounting means can be implemented as:
Second process is created according to described program installation instruction;
Verify whether the first UID of first process is identical with the 2nd UID of second process;
If the first UID is identical with the 2nd UID, the file to be installed is moved from the preset memory locations Move and installed to installation directory.
The specific installation steps of application program are provided on the basis of such scheme, in this programme, it is necessary to according to user Indicate the second new process created, it is necessary to which the User Identity that User Identity and installation to downloading process are carried out enters Row checking, if file to be installed then directly can be moved to installation directory by identical UID from the preset memory locations It is lower to be installed.
Optionally, first process that creates is by the file download to be installed to the default storage position under data directory Put, including:
First process is created by system API by the file download to be installed of the application program to the data mesh The preset memory locations under record.
Optionally, first process that creates is by the file download to be installed to the default storage position under data directory Put, in addition to:
Increase by first is identified in file to be installed;Described first identifies for indicating that the file to be installed can be carried out soon Victory is installed.
Optionally, described be moved to the file to be installed under installation directory from the preset memory locations is pacified Dress, including:
Detect whether file to be installed includes the first mark;
If the file to be installed includes the first mark, the file to be installed is moved from the preset memory locations Installed under to installation directory;
Otherwise, it will be installed under the file copy to be installed to installation directory.
In a kind of concrete implementation mode, it is necessary to by by the application program of the system API of terminal device download wait pacify Whether dress file is marked, can confirm that directly be moved under installation directory when so as to subsequent installation and pacified Dress.
Optionally, before the acquisition application program download instruction, methods described also includes:
Obtain download directory and instruction is set, the download directory sets instruction to include the default storage position in data directory Put;
Set and instructed according to the download directory, the preset memory locations in the data directory are set to acquiescence Download location.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of erecting device of application program, including:
First acquisition module, is configured as obtaining application program download instruction, described program download instruction includes first and used Family identity UID, described program download instruction is used for the file to be installed for indicating to download application program;
First processing module, is configured as the download instruction according to the application program, and first process of establishment is treated described Installation file is downloaded to the preset memory locations under data directory;
Second acquisition module, is configured as obtaining application program installation instruction, the application program installation instruction includes the Two UID, the application program installation instruction is used to indicate to install the application program;
Second processing module, being configured as will be described to be installed according to the application program installation instruction the second process of establishment File is moved under the installation directory under the data directory and installed;Wherein described first UID and the 2nd UID phase Together.
Optionally, the first processing module, including:
First processing submodule, be configured as creating first process by system API treating the application program Installation file is downloaded to the preset memory locations under the data directory.
Optionally, the first processing module also includes:
Second processing submodule, is configured as the increase by first in file to be installed and identifies;Described first identifies for referring to Show that the file to be installed can be installed fast.
Optionally, the Second processing module also includes:3rd processing submodule, is configured as:
Detect whether file to be installed includes the first mark;
If the file to be installed includes the first mark, the file to be installed is moved from the preset memory locations Installed under to installation directory;
Otherwise, it will be installed under the file copy to be installed to installation directory.
Optionally, described device also includes:
3rd acquisition module, is configured as obtaining download directory setting instruction, the download directory sets instruction to include number According to the preset memory locations in catalogue;
3rd processing module, is configured as setting instruction according to the download directory, described in the data directory Preset memory locations are set to give tacit consent to download location.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of terminal device, including:It is configured as controlling executable finger Make the processor performed, be configured as storing the memory of processor-executable instruction;
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, described program Download instruction is used for the file to be installed for indicating to download application program;
According to the download instruction of the application program, the first process is created by the file download to be installed to data directory Under preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, and the application program is installed The application program will be installed for instruction by instructing;
Second process is created according to the application program installation instruction file to be installed is moved to the data mesh Installed under installation directory under record;Wherein described first UID's and the 2nd UID is identical.
Installation method, device and the equipment for the application program that the present invention is provided, terminal device is downloaded according to application program to be referred to Order creates the first process by the preset memory locations under file download to be installed to data directory, and first process is user identity The first UID is designated, application program installation instruction is then obtained, application program installation instruction includes the 2nd UID, according to applying journey Sequence installation instruction creates the second process, the first UID and the 2nd UID it is identical when, file to be installed is moved under data directory Installation directory under installed.The program directly downloads the file to be installed of application program under data directory, during installation Directly it is moved under installation directory and is installed, it is not necessary to copied, effectively save memory space, improves user's body Test.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the flow chart of the installation method embodiment one of the application program according to an exemplary embodiment.
Fig. 2 is the flow chart of the installation method embodiment two of the application program according to an exemplary embodiment.
Fig. 3 is the flow chart of the installation method embodiment three of the application program according to an exemplary embodiment.
Fig. 4 is the structural representation of the erecting device embodiment one of the application program according to an exemplary embodiment.
Fig. 5 is the block diagram of the erecting device embodiment two of the application program according to an exemplary embodiment.
Fig. 6 is the block diagram of the erecting device embodiment three of the application program according to an exemplary embodiment.
Fig. 7 is the block diagram of the erecting device example IV of the application program according to an exemplary embodiment.
Fig. 8 is the block diagram of the erecting device embodiment five of the application program according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the entity of terminal device according to an exemplary embodiment.
Figure 10 is a kind of block diagram of terminal device 1200 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
The embodiment of the present disclosure provides a kind of installation method of application program, this method mainly used in mobile phone, tablet personal computer, Computer, television set, smart media equipment etc. can install the terminal device of application program, realize the Fast Installation of application program, Memory space is saved simultaneously.
Fig. 1 is refer to, Fig. 1 is the stream of the installation method embodiment one of the application program according to an exemplary embodiment Cheng Tu.The installation method of the application program is applied to install the terminal devices such as mobile phone, tablet personal computer, the computer of application program In, the scheme of the installation method of the application program comprises the following steps:
In step S101, application program download instruction is obtained, download program instruction includes the first User Identity (User identity, UID), download program instructs the file to be installed for indicating download application program.
In this step, when application program being installed on the terminal device, it is necessary first to obtained and applied according to the operation of user Download program is instructed, for example:User is clicked on using shop in system and downloads some application program, and terminal device is obtained according to the click Get application program download instruction.
In step s 102, according to the download instruction of application program, the first process is created by file download to be installed to number According to the preset memory locations under catalogue.
In this step, terminal device creates installation file and is downloaded into according to the download instruction of the application program got Journey, i.e., the first above-mentioned process, first process is created according to the download instruction of user, including for instruction user The file to be installed of application program in first UID of identity, the program is directly downloaded in data directory, rather than storage In card, it is not necessary to when mounted need not be copied file to be installed again.
In step s 103, application program installation instruction is obtained, application program installation instruction includes the 2nd UID, using journey Sequence installation instruction is used to indicate to install application program.
In this step, download after completion file to be installed, terminal device continues to obtain program according to the operation of user Installation instruction, the program installation instruction includes the 2nd UID, and the 2nd UID is used for the user's for identifying initiation installation process Identity, to be verified in subsequent operation to the authority of the instruction.
In step S104, the second process is created according to application program installation instruction file to be installed is moved to data mesh Installed under installation directory under record;Wherein the first UID's and the 2nd UID is identical.
In this step, terminal device creates application program according to the installation instruction of the application program got and is installed into Journey, i.e., above-mentioned second process, second process is created according to the 2nd UID, and terminal device is in second process, checking the Whether one UID and the 2nd UID are identical, and file to be installed is moved under the corresponding installation directory of the application program, installed. I.e. terminal device needs to verify the user for initiating to install and the identity of the user of downloading process.In the installation process, It is mobile to refer under paper cut to be installed to installation directory, without being copied, i.e., from file download to be installed to Installation, only takes up one point of space.
The installation method for the application program that the present embodiment is provided, terminal device creates first according to application program download instruction Process is by the preset memory locations under file download to be installed to data directory, and first process is that User Identity is first UID, then obtains application program installation instruction, application program installation instruction includes the 2nd UID, according to application program installation instruction Create the second process, the first UID and the 2nd UID it is identical when, the installation directory that file to be installed is moved under data directory It is lower to be installed.The program directly downloads the file to be installed of application program under data directory, is directly moved to during installation Installed under installation directory, it is not necessary to copied, effectively save memory space, improve Consumer's Experience.
The embodiment of the present disclosure provides the installation method of another application program.This method is to being walked in embodiment illustrated in fig. 1 The explanation of rapid S104 concrete scheme.
Fig. 2 is refer to, Fig. 2 is the stream of the installation method embodiment two of the application program according to an exemplary embodiment Cheng Tu.As shown in Fig. 2 the above-mentioned steps S104 step that implements includes:
In step S1041, the second process is created according to program installation instruction.
In step S1042, verify whether the first UID of the first process is identical with the 2nd UID of the second process.
In step S1043, if the first UID is identical with the 2nd UID, file to be installed is moved from preset memory locations Installed under to installation directory.
In this step, terminal device create install application program the second process after, it is necessary to apply journey to this First UID of the downloading process of the file to be installed of sequence and the 2nd UID of second process are compared, it is determined that downloading and installing Process is same UID, i.e., whether possess installation authority, if it is determined that it is really identical with the 2nd UID to go out the first UID, then will File to be installed is used for storing the installation mesh that the preset memory locations for downloading file are moved to the application program under data directory Record is lower to be installed.
The installation method for the application program that the embodiment of the present disclosure is provided, is verified to installing authority, and by text to be installed Part is directly moved, it is not necessary to copy a file to be installed again in installation process, realizes Fast Installation and can Less memory headroom is taken, Consumer's Experience is improved.
The embodiment of the present disclosure provides the installation method of another application program.This method is to the method shown in Fig. 1 and Fig. 2 Further expand and optimize.
Fig. 3 is refer to, Fig. 3 is the stream of the installation method embodiment three of the application program according to an exemplary embodiment Cheng Tu.On the basis of the embodiment shown in above-mentioned Fig. 1 and Fig. 2, according to the download instruction of application program in S102, first is created The file download to be installed to the preset memory locations under data directory, is specifically included following steps by process:
In step S1021, the first process is created by system API by the file download to be installed of application program to data Preset memory locations under catalogue.
In step S1022, increase by the first mark in file to be installed;First identifies for indicating that file to be installed can Fast installed.
In this step, when terminal device downloads the file to be installed of application program, connect by system application programming Mouth (Application Programming Interface, API) is downloaded, i.e., without being carried out down by download manager Carry, but directly downloaded by system interface, the default location under data directory can be directly downloaded, and will can pass through Increase by first is identified in the file to be installed that system API is downloaded, and mark can carry out quick installation behavior.
In subsequent step S104, then file to be installed can be moved under installation directory from preset memory locations and carried out The specific steps of installation include:Detect whether file to be installed includes the first mark, if file to be installed includes the first mark, File to be installed is moved under installation directory from preset memory locations and installed, otherwise, by the file copy to be installed Installed under to installation directory.
The erecting device for the application program that the embodiment of the present disclosure is provided, enters in the file to be installed of the application program of download Whether line flag, can fast be installed during to install according to the marker for judgment, if can not fast be installed, It will be installed under file copy to be installed to installation directory, if marked, it is allowed to fast installed, then will wait to pacify Dress file is moved under installation directory from the preset memory locations under data directory to be installed.
On the basis of foregoing either a program, it is necessary to the text to be installed of download before acquisition application program download instruction The default storage location of part is configured, specific set-up mode:Terminal device obtains download directory and set according to the operation of user Instruction is put, download directory sets instruction to include the preset memory locations in data directory;Set and instructed according to download directory, by number It is set to give tacit consent to download location according to the preset memory locations in catalogue.
Below by taking the mobile phone of Android system as an example, row distance explanation is entered to the program.
The mounting means for the application program that this programme is provided, is directly downloaded when the installation file of application program is downloaded It to data subregions, need not be copied when installation, move directly to specified location, reduced space hold when installing and add Fast installation process.
Equipment management system (Plant Management System, PMS) returns verification APK file when APK is installed Owner and authority, Owner is necessary for System.Need to be changed by the download manager downloads of former scheme so APK file is downloaded Downloaded for system APP, download default directory and/data/temp/ is changed to by/sdcard/xxxx/xxx.
PMS application installation procedures are extended, is that following system API increases Flag identifies quick installation behavior, installs and copy in PMS Shellfish document stage, is changed to file movement if the Flag is recognized, and the Flag does not call operation primitive logic.
public abstract void installPackage(
Uri packageURI,IPackageInstallObserver observer,int flags,
String installerPackageName);
The installation of current application program need download be applied to/sdcard/ is then mounted to/data/data/xxx mesh Record, such as installing 500M apk then needs more than 1000M clearance spaces to complete installation.
And the installation method for the application program that the application is provided, file copy is replaced using file movement, installation is reduced The extra 500M spaces that time and file copy need.When system is only left 900M spaces, former scheme can not pacify 500M application is filled, but this programme still can be installed successfully, effectively save memory space.
The disclosure provides a kind of erecting device of application program, and the device can be used for performing the application shown in Fig. 1 to Fig. 3 The technical scheme of terminal device in the installation method of program.
Fig. 4 is refer to, Fig. 4 is the knot of the erecting device embodiment one of the application program according to an exemplary embodiment Structure schematic diagram.The erecting device 10 of application program, including:
First acquisition module 11, is configured as obtaining application program download instruction, described program download instruction includes first User Identity UID, described program download instruction is used for the file to be installed for indicating to download application program;
First processing module 12, is configured as being referred to according to the download of the application program of the first acquisition module 11 acquisition Order, creates the first process by the file download to be installed to the preset memory locations under data directory;
Second acquisition module 13, is configured as obtaining application program installation instruction, the application program installation instruction includes 2nd UID, the application program installation instruction is used to indicate to install the application program;
Second processing module 14, is configured as the application program installation instruction wound obtained according to the second acquisition module 13 Build the second process the file to be installed is moved under the installation directory under the data directory and installed;Wherein described One UID's and the 2nd UID is identical.
The erecting device for the application program that the present embodiment is provided, for performing terminal device in foregoing either method embodiment Technical scheme, its implementing principle and technical effect is similar, terminal device in the download and installation process for carrying out application program, The file to be installed of application program is directly downloaded under data directory, is directly moved under installation directory and is installed during installation , it is not necessary to copied, effectively save memory space, improve Consumer's Experience.
On the basis of the embodiment shown in above-mentioned Fig. 4, Fig. 5 is the application program according to an exemplary embodiment The block diagram of erecting device embodiment two.Reference picture 5, the first processing module 12, including:
First processing submodule 121, is configured as creating first process by system API by the application program The preset memory locations under file download to be installed to the data directory.
Optionally, on the basis of the embodiment shown in above-mentioned Fig. 4 or Fig. 5, Fig. 6 is shown according to an exemplary embodiment Application program erecting device embodiment three block diagram.Reference picture 6, the first processing module 12 also includes:
Second processing submodule 122, is configured as the increase by first in file to be installed and identifies;Described first identifies and is used for Indicate that the file to be installed can be installed fast.
On the basis of the embodiment shown in above-mentioned Fig. 6, Fig. 7 is the application program according to an exemplary embodiment The block diagram of erecting device example IV.Reference picture 7, the Second processing module 14 includes:3rd processing submodule 141, by with It is set to:
Detect whether file to be installed includes the first mark;
If the file to be installed includes the first mark, the file to be installed is moved from the preset memory locations Installed under to installation directory;
Otherwise, it will be installed under the file copy to be installed to installation directory.
On the basis of any of the above-described embodiment, Fig. 8 is the installation of the application program according to an exemplary embodiment The block diagram of device embodiment five.Reference picture 8, the erecting device 10 of the application program also includes:
3rd acquisition module 15, is configured as obtaining download directory setting instruction, the download directory sets instruction to include Preset memory locations in data directory;
3rd processing module 16, the download directory for being configured as being obtained according to the 3rd acquisition module 15 sets instruction, The preset memory locations in the data directory are set to give tacit consent to download location.
The erecting device for the application program that above-mentioned several specific implementations are provided, implements for performing foregoing either method The technical scheme of terminal device in example, its implementing principle and technical effect are similar, will not be repeated here.
On the erecting device of the application program in each above-mentioned embodiment, a kind of terminal device is may be implemented as, its The concrete mode that middle modules perform operation is described in detail in the embodiment of method, will not do herein Elaborate explanation.The foregoing describe inner function module and the structural representation of terminal device and server.
Fig. 9 is refer to, Fig. 9 is a kind of block diagram of the entity of terminal device according to an exemplary embodiment, such as Fig. 9 Shown, the terminal device can be implemented as:It is configured as controlling the processor of executable instruction execution, is configured as storage The memory of processor-executable instruction;
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, described program Download instruction is used for the file to be installed for indicating to download application program;
According to the download instruction of the application program, the first process is created by the file download to be installed to data directory Under preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, and the application program is installed The application program will be installed for instruction by instructing;
Second process is created according to the application program installation instruction file to be installed is moved to the data mesh Installed under installation directory under record;Wherein described first UID's and the 2nd UID is identical.
In the embodiment of above-mentioned terminal device, it should be appreciated that processor can be CPU (English:Central Processing Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English:Digital Signal Processor, referred to as:DSP), application specific integrated circuit (English:Application Specific Integrated CircUIDt, referred to as:ASIC) etc..General processor can be microprocessor or processor can also be any conventional place Device etc. is managed, and foregoing memory can be read-only storage (English:Read-only memory, abbreviation:ROM), deposit at random Access to memory (English:Random access memory, referred to as:RAM), flash memory, hard disk or solid state hard disc.With reference to The step of method disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and perform completion, or with processor Hardware and software module combination perform completion.
Figure 10 is refer to, Figure 10 is a kind of block diagram of terminal device 1200 according to an exemplary embodiment.For example, Equipment can be that mobile phone, tablet personal computer, intelligent TV set of user etc. can need to install the terminal device of application program.
Reference picture 10, terminal device 1200 can include following one or more assemblies:Processing assembly 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor Component 1214, and communication component 1216.
The integrated operation of the usual control terminal equipment 1200 of processing assembly 1202, such as with display, data communication, multimedia The operation operation associated with record operation.Processing assembly 1202 can refer to including one or more processors 1220 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 1202 can include one or more modules, It is easy to the interaction between processing assembly 1202 and other assemblies.For example, processing assembly 1202 can include multi-media module, with side Just the interaction between multimedia groupware 1208 and processing assembly 1202.
Memory 1204 is configured as storing various types of data supporting the operation in terminal device 1200.These numbers According to example include the instruction of any application program or method for being used to operate on terminal device 1200, Various types of data, message, Picture, video etc..Memory 1204 can be by any kind of volatibility or non-volatile memory device or combinations thereof Realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable Read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, Disk or CD.
Power supply module 1206 provides electric power for the various assemblies of terminal device 1200.Power supply module 1206 can include power supply Management system, one or more power supplys, and other groups associated with generating, managing and distributing electric power for terminal device 1200 Part.
Multimedia groupware 1208 is included in the screen of one output interface of offer between terminal device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action Border, but also the detection duration related to touch or slide and pressure.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when terminal device 1200 is in operator scheme, when such as call model, logging mode and speech recognition mode, Mike Wind is configured as receiving external audio signal.The audio signal received can be further stored memory 1204 or via Communication component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exporting audio letter Number.
I/O interfaces 1212 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..
Sensor cluster 1214 includes one or more sensors, the shape for providing various aspects for terminal device 1200 State is assessed.For example, sensor cluster 1214 can detect opening/closed mode of terminal device 1200, component it is relatively fixed Position, such as component are the display and keypad of terminal device 1200, and sensor cluster 1214 can also detect terminal device 1200 or 1,200 1 components of terminal device position change, the existence or non-existence that user contacts with terminal device 1200, end The temperature change of the orientation of end equipment 1200 or acceleration/deceleration and terminal device 1200.Sensor cluster 1214 can include close Sensor, is configured to the presence of the object near detection in not any physical contact.Sensor cluster 1214 may be used also With including optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In certain embodiments, sense Device assembly 1214 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or TEMP Device.
Communication component 1216 is configured to facilitate the logical of wired or wireless way between terminal device 1200 and other equipment Letter.Terminal device 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.One In individual exemplary embodiment, communication component 1216 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, communication component 1216 also includes near-field communication (NFC) module, to promote Junction service.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal device 1200 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable gate array Arrange (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, the installation side for performing application program Method, including:
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, described program Download instruction is used for the file to be installed for indicating to download application program;
According to the download instruction of the application program, the first process is created by the file download to be installed to data directory Under preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, and the application program is installed Instruct for indicating to install the application program;
Second process is created according to the application program installation instruction file to be installed is moved to the data mesh Installed under installation directory under record;Wherein described first UID's and the 2nd UID is identical.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete above-mentioned side by the processor 1220 of terminal device 1200 Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as it is exemplary, true scope and spirit of the invention by right will Book is asked to point out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claims System.

Claims (11)

1. a kind of installation method of application program, it is characterised in that including:
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, and described program is downloaded Instruct the file to be installed for indicating download application program;
According to the download instruction of the application program, the first process is created by under the file download to be installed to data directory Preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, the application program installation instruction For indicating to install the application program;
The second process is created according to the application program installation instruction file to be installed is moved under the data directory Installation directory under installed;Wherein described first UID's and the 2nd UID is identical.
2. according to the method described in claim 1, it is characterised in that first process that creates is by the file download to be installed Preset memory locations under to data directory, including:
First process is created by system API by under the file download to be installed of the application program to the data directory The preset memory locations.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
Increase by first is identified in file to be installed;Described first identifies for indicating that the file to be installed can fast be pacified Dress.
4. method according to claim 3, it is characterised in that it is described by the file to be installed from the default storage position Put to be moved under installation directory and installed, including:
Detect whether file to be installed includes the first mark;
If the file to be installed includes the first mark, the file to be installed is moved to peace from the preset memory locations Installed under dress catalogue;
Otherwise, it will be installed under the file copy to be installed to installation directory.
5. method according to claim 1 or 2, it is characterised in that methods described also includes:
Obtain download directory and instruction is set, the download directory sets instruction to include the preset memory locations in data directory;
Set and instructed according to the download directory, the default storage in the data directory is set into acquiescence downloads position Put.
6. a kind of erecting device of application program, it is characterised in that including:
First acquisition module, is configured as obtaining application program download instruction, described program download instruction includes first user's body Part mark UID, described program download instruction is used for the file to be installed for indicating to download application program;
First processing module, is configured as the download instruction according to the application program, and first process of establishment will be described to be installed Preset memory locations under file download to data directory;
Second acquisition module, is configured as obtaining application program installation instruction, the application program installation instruction includes second UID, the application program installation instruction is used to indicate to install the application program;
Second processing module, is configured as creating the second process by the file to be installed according to the application program installation instruction It is moved under the installation directory under the data directory and is installed;Wherein described first UID's and the 2nd UID is identical.
7. device according to claim 6, it is characterised in that the first processing module, including:
First processing submodule, is configured as creating first process by system API by the to be installed of the application program The preset memory locations under file download to the data directory.
8. the device according to claim 6 or 7, it is characterised in that the first processing module also includes:
Second processing submodule, is configured as the increase by first in file to be installed and identifies;Described first identifies for indicating institute Stating file to be installed can fast be installed.
9. device according to claim 8, it is characterised in that the Second processing module includes:3rd processing submodule, It is configured as:
Detect whether file to be installed includes the first mark;
If the file to be installed includes the first mark, the file to be installed is moved to peace from the preset memory locations Installed under dress catalogue;
Otherwise, it will be installed under the file copy to be installed to installation directory.
10. the device according to claim 6 or 7, it is characterised in that described device also includes:
3rd acquisition module, is configured as obtaining download directory setting instruction, the download directory sets instruction to include data mesh Preset memory locations in record;
3rd processing module, is configured as being set according to the download directory and instructs, will be in the data directory it is described default Storage location is set to give tacit consent to download location.
11. a kind of terminal device, it is characterised in that including:It is configured as controlling the processor of executable instruction execution, is configured To store the memory of processor-executable instruction;
Application program download instruction is obtained, described program download instruction includes the first User Identity UID, and described program is downloaded Instruct the file to be installed for indicating download application program;
According to the download instruction of the application program, the first process is created by under the file download to be installed to data directory Preset memory locations;
Application program installation instruction is obtained, the application program installation instruction includes the 2nd UID, the application program installation instruction For indicating that the application program will be installed;
The second process is created according to the application program installation instruction file to be installed is moved under the data directory Installation directory under installed;Wherein described first UID's and the 2nd UID is identical.
CN201710352598.4A 2017-05-18 2017-05-18 Application program installation method, device and equipment Active CN107220082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710352598.4A CN107220082B (en) 2017-05-18 2017-05-18 Application program installation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710352598.4A CN107220082B (en) 2017-05-18 2017-05-18 Application program installation method, device and equipment

Publications (2)

Publication Number Publication Date
CN107220082A true CN107220082A (en) 2017-09-29
CN107220082B CN107220082B (en) 2021-02-26

Family

ID=59944254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710352598.4A Active CN107220082B (en) 2017-05-18 2017-05-18 Application program installation method, device and equipment

Country Status (1)

Country Link
CN (1) CN107220082B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086054A (en) * 2018-07-12 2018-12-25 维沃移动通信有限公司 A kind of installation method and mobile terminal of application program
WO2024067053A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Application program installation method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239786A (en) * 2014-10-13 2014-12-24 北京奇虎科技有限公司 ROOT-free active defense configuration method and device
CN104700025A (en) * 2013-12-04 2015-06-10 东莞市微云系统科技有限公司 Software installation control method and system based on cloud computing
CN104793966A (en) * 2014-01-21 2015-07-22 中国科学院声学研究所 Display and loading method and system of Android local application
CN105653331A (en) * 2015-12-29 2016-06-08 Tcl集团股份有限公司 Middleware application method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700025A (en) * 2013-12-04 2015-06-10 东莞市微云系统科技有限公司 Software installation control method and system based on cloud computing
CN104793966A (en) * 2014-01-21 2015-07-22 中国科学院声学研究所 Display and loading method and system of Android local application
CN104239786A (en) * 2014-10-13 2014-12-24 北京奇虎科技有限公司 ROOT-free active defense configuration method and device
CN105653331A (en) * 2015-12-29 2016-06-08 Tcl集团股份有限公司 Middleware application method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086054A (en) * 2018-07-12 2018-12-25 维沃移动通信有限公司 A kind of installation method and mobile terminal of application program
CN109086054B (en) * 2018-07-12 2021-09-14 维沃移动通信有限公司 Application program installation method and mobile terminal
WO2024067053A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Application program installation method and electronic device

Also Published As

Publication number Publication date
CN107220082B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN104484200B (en) The method and device upgraded to firmware
US20100093396A1 (en) Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
EP3726376B1 (en) Program orchestration method and electronic device
KR102069322B1 (en) Method for operating program and an electronic device thereof
US9870235B2 (en) Recording events generated for performing a task through user equipment
CN107209678B (en) System and method for adaptive cloning of mobile devices
CN109388620A (en) A kind of method and the first electronic equipment of striding equipment access data
CN104469741A (en) Terminal configuration method and device
CN104052796A (en) Plug-in processing method, device, system and terminal
KR20120089000A (en) Apparatus and method for providing application auto install function in digital device
CN105119790A (en) Apparatus control method and device
CN106547569A (en) A kind of page access method and apparatus in application
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN106095455A (en) A kind of application update method and device
CN104216723A (en) Software starting method and mobile device
CN105808305A (en) Static resource loading method and device
CN104636170A (en) Application acquiring method and device and electronic device
CN105183493A (en) Display method and device of network information
CN106413129A (en) Method and device for binding terminal to intelligent equipment
CN107632835A (en) Using installation method and device
KR101861306B1 (en) Apparatus and method for managing control information of application in portable terminal
CN107220082A (en) Installation method, device and the equipment of application program
KR102043127B1 (en) Apparatas and method for transmitting a data using for messenger application in an electronic device
CN106775410A (en) Application program launching method, device and 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
GR01 Patent grant
GR01 Patent grant