CN108549557A - Using storing method, terminal and storage medium - Google Patents

Using storing method, terminal and storage medium Download PDF

Info

Publication number
CN108549557A
CN108549557A CN201810345427.3A CN201810345427A CN108549557A CN 108549557 A CN108549557 A CN 108549557A CN 201810345427 A CN201810345427 A CN 201810345427A CN 108549557 A CN108549557 A CN 108549557A
Authority
CN
China
Prior art keywords
intended application
installation file
application
terminal
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.)
Pending
Application number
CN201810345427.3A
Other languages
Chinese (zh)
Inventor
李永达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201810345427.3A priority Critical patent/CN108549557A/en
Publication of CN108549557A publication Critical patent/CN108549557A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44573Execute-in-place [XIP]

Abstract

It is a kind of to apply storing method, it is applied to terminal, this method includes:Receive the instruction of unloading intended application;Judge that the installation file of exempting from the presence or absence of the intended application in target storage, the intended application exempt from installation file for exempting from intended application described in installation and operation in the terminal;If so, obtain the intended application exempts from installation file.The present invention also provides a kind of applications to retain device, terminal and storage medium.The present invention can remain to quickly start application after application unloading, save system space, improve running efficiency of system.

Description

Using storing method, terminal and storage medium
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of application storing method, terminal and storage medium.
Background technology
With the development of Internet technology, the use of the terminals such as mobile phone, tablet is seen everywhere, and in terminal, abundant answers The convenient of people's life is improved with software (Application, APP) (e.g., social networking application, news application, Video Applications etc.) Property.Currently, application available for download in types of applications shop has had reached quantity up to a million, and in the use process of user In, due to the limitation of the memory source of terminal, the number of applications installed in terminal may be extremely limited.
Sometimes, user can because application to occupy memory capacity larger, the reasons such as interim card will be of little use or nearly one when operation Section time not used application unloaded, when user need to reuse it is unloaded in application, again under in application shop Carry the application.However, frequently being installed for same application and unloading often generation system rubbish, the system rubbish gradually accumulated Rubbish will reduce the operational efficiency of terminal, even more so that user thinks the more applications of insufficient space unloading, greatly reduce user's body It tests.
Invention content
In consideration of it, it is necessary to provide a kind of application storing method, device, terminal and storage medium, can be unloaded in application It remains to quickly start application later, saves system space, improve running efficiency of system.
The offer of the application is a kind of to apply storing method, the method includes:
Receive the instruction of unloading intended application;
Judge to exempt from installation file with the presence or absence of the intended application in target storage, the intended application is exempted to install File is used to exempt from intended application described in installation and operation in the terminal;
If so, obtain the intended application exempts from installation file.
In alternatively possible realization method, the method further includes:
If there are the installation files of exempting from of the intended application, output to keep information in the target storage;
If receiving for the confirmation message for keeping information, execute the acquisition intended application exempts from installation text The operation of part.
In alternatively possible realization method, the method further includes:
According to the shortcut exempted from installation file and create the intended application;Alternatively,
According to the shortcut exempted from installation file and create the intended application, and the position of the shortcut with The position of application icon is identical before the intended application unloading.
In alternatively possible realization method, the installation file of exempting from includes configuration file, description information and resource file;
Wherein, it is described obtain the intended application exempt from installation file after further include:
Obtain operating instruction;
According to the primary interface exempted from installation file and generate operating system of the intended application based on the terminal;
Show the primary interface.
In alternatively possible realization method, the method further includes:
If exempting from installation file there is no the intended application in the target storage, whether the intended application is judged Meet and applies retention condition;
Exempt from installation file with the presence or absence of the newly-increased intended application if so, monitoring in the target storage;
If so, executing the operation for exempting from installation file for obtaining the intended application.
It is described to judge whether the intended application meets and include using retention condition in alternatively possible realization method:
Judge whether the history installation number of the intended application reaches default installation number;Or
Judge whether the history unloading number of the intended application reaches default unloading number;Or
Judge whether the history frequency of use of the intended application reaches default frequency of use;
Or combination thereof.
In alternatively possible realization method, the method further includes:
If the number for getting the operating instruction is more than default number of run and/or preset operating frequency, output is downloaded The recommendation information of the installation file of the intended application.
In alternatively possible realization method, the default number of run and preset operating frequency are according to the intended application Type determine.
Device is retained in a kind of application of also offer of the application, and described device includes:
Receiving module, the instruction for receiving unloading intended application;
Judgment module exempts from installation file, the mesh in target storage for judging with the presence or absence of the intended application Mark application exempts from installation file for exempting from intended application described in installation and operation in terminal;
Acquisition module, if for the installation file of exempting from there are the intended application in the target storage, described in acquisition Intended application exempts from installation file.
In alternatively possible realization method, described device further includes:
Output module, if for the installation file of exempting from there are the intended application in the target storage, output is drawn Stay information;
Trigger module triggers the acquisition module and obtains if being directed to the confirmation message for keeping information for receiving The intended application exempts from installation file.
In alternatively possible realization method, described device further includes creation module, and the creation module is used for:
According to the shortcut exempted from installation file and create the intended application;Alternatively,
According to the shortcut exempted from installation file and create the intended application, and the position of the shortcut with The position of application icon is identical before the intended application unloading.
In alternatively possible realization method, the installation file of exempting from includes configuration file, description information and resource file;
Wherein, described device further includes generation module and display module,
The acquisition module, be additionally operable to obtain the intended application exempt from installation file after, obtain operating instruction;
The generation module generates operation of the intended application based on the terminal for exempting from installation file according to The primary interface of system;
The display module, for showing the primary interface.
In alternatively possible realization method, described device further includes monitoring module;
The judgment module, if being additionally operable to exempt from installation file there is no the intended application in the target storage, Judge whether the intended application meets using retention condition;
The monitoring module is applied retention condition if meeting for the intended application, is monitored in the target storage Exempt from installation file with the presence or absence of the newly-increased intended application;
Trigger module touches if for exempting from installation file in the presence of the newly-increased intended application in the target storage That sends out acquisition module described and obtain the intended application exempts from installation file.
In alternatively possible realization method, the judgment module judges whether the intended application meets using retention item Part includes:
Judge whether the history installation number of the intended application reaches default installation number;Or
Judge whether the history unloading number of the intended application reaches default unloading number;Or
Judge whether the history frequency of use of the intended application reaches default frequency of use;
Or combination thereof.
In alternatively possible realization method, the output module is additionally operable to:
If the number for getting the operating instruction is more than default number of run and/or preset operating frequency, output is downloaded The recommendation information of the installation file of the intended application.
In alternatively possible realization method, the default number of run and preset operating frequency are according to the intended application Type determine.
The application also provides a kind of terminal, and the terminal includes processor, and the processor is deposited for executing in memory Above application storing method is realized when the computer program of storage.
The application also provides a kind of computer readable storage medium, is stored thereon with computer instruction, and the computer refers to Above application storing method is realized when order is executed by processor.
The present invention receives the instruction of unloading intended application;Judge to exempt from the presence or absence of the intended application in target storage Installation file, the intended application exempt from installation file for exempting from intended application described in installation and operation in the terminal;If so, obtaining Take the intended application exempts from installation file.Since after the instruction of unloading application, the application is obtained from target storage Exempt from installation file, this, which exempts from installation file, to exempt from installation and operation in terminal.Therefore, it after application unloads, can be answered by this Exempt from installation file and start the application, and the time for starting and applying is saved without first installation application when starting application, Realize the purpose that can remain to quickly start application after application unloading.Simultaneously as being remained to after application unloading fast It reads to start application, therefore can frequently install to avoid same application and be applied with unloading, and then avoid the generation of system rubbish, save System resource is saved.Moreover, because exempting from installation file is not necessarily to installation kit, the resource file in installation process not will produce, also one Determine to save system resource in degree, operational efficiency when running so as to lifting system.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow chart using storing method provided in an embodiment of the present invention;
Fig. 2 is a kind of exemplary plot that information is kept in output in the embodiment of the present invention;
Fig. 3 is the structure chart that device is retained in application provided by the invention;
Fig. 4 present invention realizes the structural schematic diagram of the terminal of the preferred embodiment using storing method.
Following specific implementation mode will be further illustrated the present invention in conjunction with above-mentioned attached drawing.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, embodiments herein and embodiment In feature can be combined with each other.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill The every other embodiment that personnel are obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article and belong to the technical field of the present invention The normally understood meaning of technical staff is identical.Used term is intended merely to description tool in the description of the invention herein The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment
Fig. 1 is the schematic flow diagram provided in an embodiment of the present invention using storing method.As shown in Figure 1, applying retention side Method may include following steps:
S10:Terminal receives the instruction of unloading intended application.
Application storing method of the present invention is applied to terminal, and the terminal can be the electronic equipments such as mobile phone, tablet. Meanwhile it can be installed in terminal and run application software (also referred to as applying).
Wherein, above-mentioned intended application is the application installed and will unloaded in terminal, the quantity of above-mentioned intended application It can be one either at least two.
Specifically, the application to be downloaded can be chosen for user by service entrances such as desktop, application managements in terminal, when After user chooses the intended application to be downloaded, the instruction of unloading intended application can trigger.Alternatively, terminal can also be according to terminal The intended application that operating condition determination will unload, and then trigger the instruction of unloading intended application.
S20:Terminal judges to exempt from installation file, the intended application with the presence or absence of the intended application in target storage Exempt from installation file in the terminal exempting from intended application described in installation and operation.
Wherein, above-mentioned target storage is the storage region for exempting from installation file for storing intended application.
Specifically, above-mentioned target storage can be remote server (for example, for exempt from installation file download apply quotient Shop), store several applications on that server exempts from installation file.Alternatively, above-mentioned target storage may be terminal sheet The storage region on ground exempts from installation file what the storage region stored several applications.
The installation file of exempting from of above-mentioned intended application file is the file for being not necessarily to install energy operational objective application after operation.
Specifically, exempting from installation file by intended application, peace need not be run as traditional application mounting means Dress file (such as apk) is installed, it will be able to start intended application.It therefore, can be quick by the installation file of intended application Intended application is started.
Preferably, the installation file of exempting from may include configuration file, description information and resource file.
Specifically, configuration file may include the functional unit that front-end code (such as Javascript) is write, and operation The operation logic of the front-end code (e.g., what kind of operational process is, how to be redirected after the button click of front end page).
The description information of configuration file may include using packet name, rights statements, page info etc. to application.
Icon to be used, picture (such as cardon) multimedia resource when resource file includes application operation.
Above-mentioned file destination exempt from installation file may include run the configuration file of the intended application, description information and Resource file.
In the specific implementation, it can be front end assemblies configuration file to exempt from installation file.Front end assemblies configuration file can be The file that application can be run without installation of hair standard development is melted based on front end assemblies.
S30:If there are the installation files of exempting from of the intended application, terminal to obtain the target and answer in the target storage Exempt from installation file.
Specifically, above-mentioned acquisition intended application exempts from installation file specifically when realizing, Ke Yishi obtains intended application Download address is downloaded address and is stored in local;Alternatively, acquisition intended application exempts from installation file, and it is downloaded to this Ground.
Meanwhile the present invention can unload intended application together in the while of installing application of exempting from for obtaining intended application.
When terminal obtains after exempting from installation file of intended application, terminal can exempt from installation file by the intended application Quickly intended application is started again, without carrying out file installation again, greatly shorten using start when Between and improve the convenience used.
Specifically, get intended application exempt from installation file after, can by exempt from described in parsing installation file start The intended application, or by other wake-up modes (for example, after receiving vice activation instruction) etc. by intended application It is again started up.
In the specific implementation, it can be the resource for carrying out pretreatment compression to exempt from the resources bank for including in installation file, to Reduce the size for exempting from installation file.Meanwhile according to front end assemblies configuration file to exempt from installation file, since front end assemblies configure File has carried out component package, can reduce the size of its file.Therefore, the memory space of terminal can be greatly saved, and And it will quickly apply and carry out startup application.
Optionally, in other embodiments of the present invention, when getting after exempting from installation file of intended application, can pass through Following methods create the entrance that user is again started up intended application.Specifically, method of the present invention further includes:
(1) terminal exempts from the shortcut that installation file creates the intended application according to;Alternatively,
(2) terminal exempts from the shortcut that installation file creates the intended application, and the shortcut according to Position and the intended application unload before the position of application icon it is identical.
The shortcut of above-mentioned intended application refers to the shortcut for starting intended application.
For example, the download address for exempting from installation file of the desktop establishment shortcut direction intended application in terminal, then lead to Cross and access the shortcut, can quickly access target application exempt from installation file, so as to which intended application is exempted to pacify Dress file is loaded into local, then starts intended application by the installation file of exempting from of intended application.At this point, due in terminal not Have and download any file, be only configured with the address for exempting from installation file for downloading intended application, so the memory space occupied It is minimum, it is greatly saved the system resource of terminal.
Alternatively, can also exempt from will to exempt from installation file after installation file and be loaded into local getting intended application, Desktop creates the installation file of exempting from that shortcut is directed toward the intended application, can directly exempt from this time from local boot intended application Installation file, and then quickly start intended application.
Above application icon is the display icon for starting application.The position of application icon before above-mentioned intended application unloading Refer to that application icon position shown in terminal is (for example, be terminal desktop, or end before intended application unloading In a certain file for holding desktop).
Usually in application after terminal unloading, the icon of application can be deleted from terminal.Therefore, in the present embodiment, The position of application icon is identical before the position of the shortcut of the intended application of establishment is unloaded with intended application, then user is still logical The shortcut that the original position for accessing application icon goes access target to apply is crossed, the quick side of intended application is found without user The place that formula is created.
Also, since application icon can be placed on different positions by usual user according to everyone custom when using the application It sets or carries out different conclusions, and the position of shortcut is maintained to the position of former application icon through the embodiment of the present invention It sets, can be different because of user's individual when creating shortcut, shortcut establishment is being met into user's use habit Position, and maintain the continuity that user uses.
Optionally, in an alternative embodiment of the invention, application storing method of the present invention further includes:
(1) terminal obtains operating instruction.
(2) terminal exempts from installation file according to and generates the primary of operating system of the intended application based on the terminal Interface.
(3) primary interface described in terminal display.
Above-mentioned operating instruction is the instruction for exempting from installation file for starting the intended application.For example, passing through intended application Shortcut starts the installation file of exempting from of intended application, or exempts from installation file by phonetic order startup intended application.
When exempting from installation file described in execution, intended application can be generated by exempting from the information in installation file described in parsing The primary interface (or primary page) of operating system based on terminal.Above-mentioned primary interface is opposite with web interface another A kind of interface display form.
Currently, the application of terminal operating is divided into web app and primary app (or native app), based on web app fortune The page shown when row is properly termed as web interface, and the page shown when based on primary app prototypes is properly termed as primary interface.
Since the installation file of exempting from of intended application at this time is not required to directly be started by terminal with browser interaction and runs, Therefore speed also can be faster compared to web app operations.Also, exempting from for intended application may include that front-end code is compiled in installation file The functional unit write, therefore the functional unit that can be write by front-end code simulates the Show Styles at primary interface, Jin Er The primary interface that display target is applied in terminal promotes display effect.
By exempting from for installation file is front end assemblies configuration file for intended application, since front end assemblies configuration file is based on Front end assemblies melt hair standard development, therefore when front end component profile executes, can by the operating system of terminal and Front end assemblies melt issue of bidding documents quasi- parsing front end assemblies configuration file, are answered to start the corresponding target of front end assemblies configuration file With.
Optionally, in an alternative embodiment of the invention, application storing method of the present invention further includes:
If the number for getting the operating instruction is more than default number of run and/or preset operating frequency, terminal output Download the recommendation information of the installation file of the intended application.
Wherein, the value of above-mentioned default number of run and preset operating frequency can carry out setting as needed.On It states default number of run and preset operating frequency and is used to determine whether intended application to be user that user is commonly used.
When the number of operating instruction is more than default number of run and/or preset operating frequency, recommendation can be exported and downloaded The recommendation information of the installation file of intended application.For example, the display interface in terminal displays whether that application shop is gone to carry out mesh Mark application is downloaded.And the download address for simplifying installation file that can also recommend intended application to user, is existed with promoting user Startup speed after primary app is installed by the installation file of intended application and saves system resource.
Preferably, the default number of run and preset operating frequency are determined according to the type of the intended application.
For different application, actual access times and frequency of use may be variant.For example, being answered for a certain social activity With a week belongs to relatively low using primary possible frequency, and for a certain Web bank app, and a week is using may be once Frequency moderate, therefore different app can be arranged different default number of run and preset operating frequency.
Default number of run and preset operating frequency, which is arranged, according to the type of intended application can segment which application is The application that user's actual capabilities need, which is the unwanted application of user's actual capabilities, and user is reasonably analyzed based on data Demand.
Optionally, in an alternative embodiment of the invention, application storing method of the present invention further includes:
If according to judging to obtain the installation file of exempting from the target storage there are the intended application, terminal output Keep information;If receiving for the confirmation message for keeping information, what terminal obtained the intended application exempts from installation file.
Wherein, above-mentioned information of keeping may be displayed on the display interface of terminal, keeps information and can be used for prompting user The installation file of exempting from of intended application is got, and this is exempted from installation file and can quickly start again in terminal and be not take up More resource.It can be graph text information and/or acoustic information to keep information.
Fig. 2 is referred to, Fig. 2 is a kind of exemplary plot that information is kept in output in the embodiment of the present invention.In fig. 2, pass through text The mode of word prompts to user, and chooses whether to confirm that obtaining intended application exempts from installation file for user.
After information is kept in input, it can receive for the confirmation message for keeping information.Such as in fig. 2, it draws It includes that button may be selected to allow what user choose whether obtaining intended application to exempt from installation file to stay information, if user selects It is, it is determined that receive for the confirmation message for keeping information.
In the present embodiment, information is kept by output, can exempted to pacify to obtain intended application according to the needs of user File is filled, user experience is improved.The demand for ignoring user is avoided, directly creates and exempts from installation file, the puzzlement for causing user to use (such as so that user is takeed for intended application and do not delete, continue to delete, or with for terminal system failure).
Also, the pattern for keeping information is not limited to shown in Fig. 2, and can also be other patterns keeps information.
Optionally, in an alternative embodiment of the invention, method of the present invention may also include:
(1) if according to judging to obtain to exempt from installation file, terminal there is no the intended application in the target storage Judge whether the intended application meets using retention condition.
(2) if whether the intended application meets using retention condition, whether deposited in target storage described in terminal monitoring Exempt from installation file in the newly-increased intended application.
(3) if there is the installation file of exempting from for increasing the intended application newly in the target storage, terminal obtains the mesh Installation file is exempted from mark application.
In embodiments of the present invention, when exempting from installation file of intended application is not present in target storage, can sentence Whether disconnected intended application meets using retention condition.Above application retention condition can be used for judging whether user is commonly used and be somebody's turn to do Intended application.
Optionally, terminal judges whether the intended application meets and includes using retention condition:
Terminal judges whether the history installation number of the intended application reaches default installation number;Or
Terminal judges whether the history unloading number of the intended application reaches default unloading number;Or
Terminal judges whether the history frequency of use of the intended application reaches default frequency of use;
Or combination thereof.
Wherein, above-mentioned default installation number, default unloading number and default frequency of use can be set as needed,
Preferably, above-mentioned default installation number, default unloading number and default frequency of use can also be according to intended applications Type set.
Exempt from installation file with the presence or absence of the newly-increased intended application in above-mentioned monitoring target storage and can be specifically, It is spaced preset time polling targets memory block, searches whether to exempt from installation file there are intended application.If finding target storage There are intended application to exempt from installation file in area, it is determined that exempts from installation file in the presence of newly-increased intended application in target storage.
Alternatively, the installation file of exempting from above-mentioned monitoring target storage with the presence or absence of the newly-increased intended application can be with Be receive the newly-increased intended application of presence that target storage or message server are sent to terminal exempt from leading to for installation file Message is known, if receiving the notification message determines that installation file is exempted from target storage in the presence of newly-increased intended application.
User probably due to due to occupying excessive capacity etc. to one or more application, it will apply and unload, and Actual user is to have certain demand to the use of these users.Therefore, in the present embodiment, do not unload immediately receiving When carrying the instruction of intended application, just get it is corresponding exempt from installation file, but lasting monitor exempts from installation file with the presence or absence of these, It in the presence of exempting from installation file, is timely downloaded for user so that intended application can be quick when user uses herein Start, improves user experience.
The embodiment of the present invention unloads the instruction of intended application by reception;Judge to whether there is the mesh in target storage Installation file is exempted from mark application, and the installation file of exempting from of the intended application is answered for exempting from target described in installation and operation in the terminal With;If so, obtain the intended application exempts from installation file.Due to after the instruction of unloading application, being obtained from target storage Take the application exempts from installation file, this, which exempts from installation file, to exempt from installation and operation in terminal.It therefore, can after application unloads To start the application by the installation file of exempting from of the application, and startup is saved without first installation application when starting application The time of application, to realize the purpose that can remain to quickly start application after application unloading.Simultaneously as applying Unloading after remain to soon read start application, therefore can frequently install to avoid same application with unloading application, and then avoid be The generation of system rubbish, saves system resource.Moreover, because exempting from installation file is not necessarily to installation kit, not will produce in installation process Resource file, also save system resource to a certain extent, operational efficiency when being run so as to lifting system.
It is the detailed description carried out to method provided by the present invention above.According to different requirements, in shown flow chart The execution sequence of square can change, and certain squares can be omitted, can also be in above application retention side using the method for retention It is selective in method to be applied in combination, or be applied in combination with other above-mentioned unmentioned application storing methods.Below to the present invention The device provided is described.
Embodiment
Fig. 3 is the structure chart that device is retained in application provided in an embodiment of the present invention, as shown in figure 3, application retention device can To include:Receiving module 210, judgment module 220 and acquisition module 230.The so-called module of the present invention refers to that one kind can be by end End is performed and can complete the series of computation machine program segment of fixed function.
Receiving module 210, the instruction for receiving unloading intended application.
Terminal of the present invention can be the electronic equipments such as mobile phone, tablet.Meanwhile it can be installed in terminal and run application Software (is also referred to as applied).
Wherein, above-mentioned intended application is the application installed and will unloaded in terminal, the quantity of above-mentioned intended application It can be one either at least two.
Specifically, the application to be downloaded can be chosen for user by service entrances such as desktop, application managements in terminal, when After user chooses the intended application to be downloaded, the instruction of unloading intended application can trigger.Alternatively, terminal can also be according to terminal The intended application that operating condition determination will unload, and then trigger the instruction of unloading intended application.
Judgment module 220, it is described for judging the installation file of exempting from target storage with the presence or absence of the intended application Intended application exempts from installation file for exempting from intended application described in installation and operation in terminal.
Wherein, above-mentioned target storage is the storage region for exempting from installation file for storing intended application.
Specifically, above-mentioned target storage can be remote server (for example, for exempt from installation file download apply quotient Shop), store several applications on that server exempts from installation file.Alternatively, above-mentioned target storage may be terminal sheet The storage region on ground exempts from installation file what the storage region stored several applications.
The installation file of exempting from of above-mentioned intended application file is the file for being not necessarily to install energy operational objective application after operation.
Specifically, exempting from installation file by intended application, peace need not be run as traditional application mounting means Dress file (such as apk) is installed, it will be able to start intended application.It therefore, can be quick by the installation file of intended application Intended application is started.
Preferably, the installation file of exempting from may include configuration file, description information and resource file.
Specifically, configuration file may include the functional unit that front-end code (such as Javascript) is write, and operation The operation logic of the front-end code (e.g., what kind of operational process is, how to be redirected after the button click of front end page).
The description information of configuration file may include using packet name, rights statements, page info etc. to application.
Icon to be used, picture (such as cardon) multimedia resource when resource file includes application operation.
Above-mentioned file destination exempt from installation file may include run the configuration file of the intended application, description information and Resource file.
In the specific implementation, it can be front end assemblies configuration file to exempt from installation file.Front end assemblies configuration file can be The file that application can be run without installation of hair standard development is melted based on front end assemblies.
Acquisition module 230 obtains institute if for the installation file of exempting from there are the intended application in the target storage That states intended application exempts from installation file.
Specifically, above-mentioned acquisition intended application exempts from installation file specifically when realizing, Ke Yishi obtains intended application Download address is downloaded address and is stored in local;Alternatively, acquisition intended application exempts from installation file, and it is downloaded to this Ground.
Meanwhile the present invention can unload intended application together in the while of installing application of exempting from for obtaining intended application.
When terminal obtains after exempting from installation file of intended application, terminal can exempt from installation file by the intended application Quickly intended application is started again, without carrying out file installation again, greatly shorten using start when Between and improve the convenience used.
Specifically, get intended application exempt from installation file after, can by exempt from described in parsing installation file start The intended application, or by other wake-up modes (for example, after receiving vice activation instruction) etc. by intended application It is again started up.
In the specific implementation, it can be the resource for carrying out pretreatment compression to exempt from the resources bank for including in installation file, to Reduce the size for exempting from installation file.Meanwhile according to front end assemblies configuration file to exempt from installation file, since front end assemblies configure File has carried out component package, can reduce the size of its file.Therefore, the memory space of terminal can be greatly saved, and And it will quickly apply and carry out startup application.
Optionally, in other embodiments of the present invention, when getting after exempting from installation file of intended application, can pass through Creation module creates the entrance that user is again started up intended application.Specifically, device of the present invention further includes:
(1) exempt from the shortcut that installation file creates the intended application according to;Alternatively,
(2) exempt from the shortcut that installation file creates the intended application, and the position of the shortcut according to It is identical to set the position of application icon before being unloaded with the intended application.
The shortcut of above-mentioned intended application refers to the shortcut for starting intended application.
For example, the download address for exempting from installation file of the desktop establishment shortcut direction intended application in terminal, then lead to Cross and access the shortcut, can quickly access target application exempt from installation file, so as to which intended application is exempted to pacify Dress file is loaded into local, then starts intended application by the installation file of exempting from of intended application.At this point, due in terminal not Have and download any file, be only configured with the address for exempting from installation file for downloading intended application, so the memory space occupied It is minimum, it is greatly saved the system resource of terminal.
Alternatively, can also exempt from will to exempt from installation file after installation file and be loaded into local getting intended application, Desktop creates the installation file of exempting from that shortcut is directed toward the intended application, can directly exempt from this time from local boot intended application Installation file, and then quickly start intended application.
Above application icon is the display icon for starting application.The position of application icon before above-mentioned intended application unloading Refer to that application icon position shown in terminal is (for example, be terminal desktop, or end before intended application unloading In a certain file for holding desktop).
Usually in application after terminal unloading, the icon of application can be deleted from terminal.Therefore, in the present embodiment, The position of application icon is identical before the position of the shortcut of the intended application of establishment is unloaded with intended application, then user is still logical The shortcut that the original position for accessing application icon goes access target to apply is crossed, the quick side of intended application is found without user The place that formula is created.
Also, since application icon can be placed on different positions by usual user according to everyone custom when using the application It sets or carries out different conclusions, and the position of shortcut is maintained to the position of former application icon through the embodiment of the present invention It sets, can be different because of user's individual when creating shortcut, shortcut establishment is being met into user's use habit Position, and maintain the continuity that user uses.
Optionally, in an alternative embodiment of the invention, the present invention can pass through acquisition module, generation module and display module It runs and shows intended application.Specifically:
Acquisition module, be additionally operable to obtain the intended application exempt from installation file after, obtain operating instruction;
Generation module generates operating system of the intended application based on the terminal for exempting from installation file according to Primary interface.
Display module, for showing the primary interface.
Above-mentioned operating instruction is the instruction for exempting from installation file for starting the intended application.For example, passing through intended application Shortcut starts the installation file of exempting from of intended application, or exempts from installation file by phonetic order startup intended application.
When exempting from installation file described in execution, intended application can be generated by exempting from the information in installation file described in parsing The primary interface (or primary page) of operating system based on terminal.Above-mentioned primary interface is opposite with web interface another A kind of interface display form.
Currently, the application of terminal operating is divided into web app and primary app (or native app), based on web app fortune The page shown when row is properly termed as web interface, and the page shown when based on primary app prototypes is properly termed as primary interface.
Since the installation file of exempting from of intended application at this time is not required to directly be started by terminal with browser interaction and runs, Therefore speed also can be faster compared to web app operations.Also, exempting from for intended application may include that front-end code is compiled in installation file The functional unit write, therefore the functional unit that can be write by front-end code simulates the Show Styles at primary interface, Jin Er The primary interface that display target is applied in terminal promotes display effect.
By exempting from for installation file is front end assemblies configuration file for intended application, since front end assemblies configuration file is based on Front end assemblies melt hair standard development, therefore when front end component profile executes, can by the operating system of terminal and Front end assemblies melt issue of bidding documents quasi- parsing front end assemblies configuration file, are answered to start the corresponding target of front end assemblies configuration file With.
Optionally, in an alternative embodiment of the invention, application retention device of the present invention further includes:
Output module, if the number for getting the operating instruction is more than default number of run and/or default operation The recommendation information of the installation file of the intended application is downloaded in frequency, output.
Wherein, the value of above-mentioned default number of run and preset operating frequency can carry out setting as needed.On It states default number of run and preset operating frequency and is used to determine whether intended application to be user that user is commonly used.
When the number of operating instruction is more than default number of run and/or preset operating frequency, recommendation can be exported and downloaded The recommendation information of the installation file of intended application.For example, the display interface in terminal displays whether that application shop is gone to carry out mesh Mark application is downloaded.And the download address for simplifying installation file that can also recommend intended application to user, is existed with promoting user Startup speed after primary app is installed by the installation file of intended application and saves system resource.
Preferably, the default number of run and preset operating frequency are determined according to the type of the intended application.
For different application, actual access times and frequency of use may be variant.For example, being answered for a certain social activity With a week belongs to relatively low using primary possible frequency, and for a certain Web bank app, and a week is using may be once Frequency moderate, therefore different app can be arranged different default number of run and preset operating frequency.
Default number of run and preset operating frequency, which is arranged, according to the type of intended application can segment which application is The application that user's actual capabilities need, which is the unwanted application of user's actual capabilities, and user is reasonably analyzed based on data Demand.
Optionally, in an alternative embodiment of the invention, application retention device of the present invention further includes:
Output module, if for being obtained exempting from installation text there are the intended application in the target storage according to judgement Information is kept in part, then output;
Trigger module triggers if being directed to the confirmation message for keeping information for receiving described in acquisition module acquisition Intended application exempts from installation file.
Wherein, above-mentioned information of keeping may be displayed on the display interface of terminal, keeps information and can be used for prompting user The installation file of exempting from of intended application is got, and this is exempted from installation file and can quickly start again in terminal and be not take up More resource.It can be graph text information and/or acoustic information to keep information.
Fig. 2 is referred to, Fig. 2 is a kind of exemplary plot that information is kept in output in the embodiment of the present invention.In fig. 2, pass through text The mode of word prompts to user, and chooses whether to confirm that obtaining intended application exempts from installation file for user.
After information is kept in input, it can receive for the confirmation message for keeping information.Such as in fig. 2, it draws It includes that button may be selected to allow what user choose whether obtaining intended application to exempt from installation file to stay information, if user selects It is, it is determined that receive for the confirmation message for keeping information.
In the present embodiment, information is kept by output, can exempted to pacify to obtain intended application according to the needs of user File is filled, user experience is improved.The demand for ignoring user is avoided, directly creates and exempts from installation file, the puzzlement for causing user to use (such as so that user is takeed for intended application and do not delete, continue to delete, or with for terminal system failure).
Also, the pattern for keeping information is not limited to shown in Fig. 2, and can also be other patterns keeps information.
Optionally, in an alternative embodiment of the invention, device of the present invention may also include monitoring module.Specifically:
The judgment module, if being additionally operable to exempt from installation file there is no the intended application in the target storage, Judge whether the intended application meets using retention condition.
The monitoring module is applied retention condition if meeting for the intended application, is monitored in the target storage Exempt from installation file with the presence or absence of the newly-increased intended application.
Trigger module touches if for exempting from installation file in the presence of the newly-increased intended application in the target storage That sends out acquisition module described and obtain the intended application exempts from installation file.
In embodiments of the present invention, when exempting from installation file of intended application is not present in target storage, can sentence Whether disconnected intended application meets using retention condition.Above application retention condition can be used for judging whether user is commonly used and be somebody's turn to do Intended application.
Optionally, the judgment module judges whether the intended application meets and includes using retention condition:
Judge whether the history installation number of the intended application reaches default installation number;Or
Judge whether the history unloading number of the intended application reaches default unloading number;Or
Judge whether the history frequency of use of the intended application reaches default frequency of use;
Or combination thereof.
Wherein, above-mentioned default installation number, default unloading number and default frequency of use can be set as needed,
Preferably, above-mentioned default installation number, default unloading number and default frequency of use can also be according to intended applications Type set.
Exempt from installation file with the presence or absence of the newly-increased intended application in above-mentioned monitoring target storage and can be specifically, It is spaced preset time polling targets memory block, searches whether to exempt from installation file there are intended application.If finding target storage There are intended application to exempt from installation file in area, it is determined that exempts from installation file in the presence of newly-increased intended application in target storage.
Alternatively, the installation file of exempting from above-mentioned monitoring target storage with the presence or absence of the newly-increased intended application can be with Be receive the newly-increased intended application of presence that target storage or message server are sent to terminal exempt from leading to for installation file Message is known, if receiving the notification message determines that installation file is exempted from target storage in the presence of newly-increased intended application.
User probably due to due to occupying excessive capacity etc. to one or more application, it will apply and unload, and Actual user is to have certain demand to the use of these users.Therefore, in the present embodiment, do not unload immediately receiving When carrying the instruction of intended application, just get it is corresponding exempt from installation file, but lasting monitor exempts from installation file with the presence or absence of these, It in the presence of exempting from installation file, is timely downloaded for user so that intended application can be quick when user uses herein Start, improves user experience.
The embodiment of the present invention receives the instruction of unloading intended application by receiving module;Judgment module judges target storage In with the presence or absence of the intended application exempt from installation file, the intended application exempts from installation file for exempting to pacify in the terminal The shipment row intended application;If there are the installation files of exempting from of the intended application, acquisition module to obtain in the target storage Take the intended application exempts from installation file.Since after the instruction of unloading application, the application is obtained from target storage Exempt from installation file, this, which exempts from installation file, to exempt from installation and operation in terminal.Therefore, it after application unloads, can be answered by this Exempt from installation file and start the application, and the time for starting and applying is saved without first installation application when starting application, To realize the purpose that can remain to quickly start application after application unloading.Simultaneously as after application unloading still It can read to start application soon, therefore can frequently install to avoid same application and be applied with unloading, and then avoid the production of system rubbish It is raw, save system resource.Moreover, because exempting from installation file is not necessarily to installation kit, the resource file in installation process not will produce, Also system resource is saved to a certain extent, operational efficiency when being run so as to lifting system.
Embodiment
Fig. 4 is please referred to, Fig. 4 is the structural schematic diagram for the terminal that the present invention realizes the preferred embodiment for applying storing method.
The terminal 40 be it is a kind of can be automatic to carry out numerical computations and/or letter according to the instruction for being previously set or storing The equipment of processing is ceased, hardware includes but not limited to microprocessor, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
Institute's terminal 40, which may be, but not limited to, any type, to pass through the side such as keyboard, touch tablet or voice-operated device with user Formula carries out the electronic product of human-computer interaction, for example, tablet computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), the electronic equipments such as intellectual Wearable.
Network residing for the terminal 40 includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual private Network (Virtual Private Network, VPN) etc..
The terminal 40 includes at least one sending device 41, at least one processor 42, at least one processor 43, extremely A few reception device 44, at least one display 45 and at least one communication bus.Wherein, the communication bus is for real Connection communication between these existing components.
Wherein, the reception device 44 and the sending device 41 can be wired sending ports, or wirelessly set It is standby, such as including antenna assembly, for other equipment into row data communication.
The processor 43 may include one or more microprocessor, digital processing unit.
The memory 42 is for storing program code.The memory 42 can be smart media card (smart media Card), the storage facilities such as safe digital card (secure digital card), flash memory cards (flash card).
Preferably, the processor 43 can call the program code stored in memory 42 to execute relevant function.Example Such as, the modules described in Fig. 4 are stored in the program code in the memory 42, and are held by the processor 43 Row, it is a kind of using storing method to realize.
The display 45 can be touch screen etc. other be used for show picture equipment.
Embodiment
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer instruction, the finger The application for making terminal execute as described in embodiment of the method above when being executed by the terminal including one or more processors is enabled to stay Deposit method.
In several embodiments provided by the present invention, it should be understood that disclosed method and apparatus can also pass through Other modes are realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, Only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation includes within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple Device can also be realized by the same device or system by software or hardware.The first, the second equal words are used for indicating name Claim, and does not represent any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, it will be understood by those of ordinary skill in the art that, it can be to the present invention's Technical solution is modified or equivalent replacement, without departing from the spirit of the technical scheme of the invention and range.

Claims (10)

1. a kind of applying storing method, it is applied to terminal, which is characterized in that the method includes:
Receive the instruction of unloading intended application;
Judge to exempt from installation file with the presence or absence of the intended application in target storage, the intended application exempts from installation file For exempting from intended application described in installation and operation in the terminal;
If so, obtain the intended application exempts from installation file.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If there are the installation files of exempting from of the intended application, output to keep information in the target storage;
If receive for the confirmation message for keeping information, the installation file of exempting from for obtaining the intended application is executed Operation.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
According to the shortcut exempted from installation file and create the intended application;Alternatively,
According to the shortcut exempted from installation file and create the intended application, and the position of the shortcut with it is described The position of application icon is identical before intended application unloading.
4. according to the method in any one of claims 1 to 3, which is characterized in that the installation file of exempting from includes configuration text Part, description information and resource file;
Wherein, it is described obtain the intended application exempt from installation file after further include:
Obtain operating instruction;
According to the primary interface exempted from installation file and generate operating system of the intended application based on the terminal;
Show the primary interface.
5. the method as described in claim 1, which is characterized in that the method further includes:
If exempting from installation file there is no the intended application in the target storage, judge whether the intended application meets Using the condition of retention;
Exempt from installation file with the presence or absence of the newly-increased intended application if so, monitoring in the target storage;
If so, executing the operation for exempting from installation file for obtaining the intended application.
6. method as claimed in claim 5, which is characterized in that described to judge whether the intended application meets using retention item Part includes:
Judge whether the history installation number of the intended application reaches default installation number;Or
Judge whether the history unloading number of the intended application reaches default unloading number;Or
Judge whether the history frequency of use of the intended application reaches default frequency of use;
Or combination thereof.
7. method as claimed in claim 4, which is characterized in that the method further includes:
If the number for getting the operating instruction is more than default number of run and/or preset operating frequency, described in output download The recommendation information of the installation file of intended application.
8. the method for claim 7, which is characterized in that the default number of run and preset operating frequency are according to The type of intended application determines.
9. a kind of terminal, which is characterized in that the terminal includes processor, and the processor is used to execute to store in memory The method as described in any one of claim 1-7 is realized when computer program.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that:The computer instruction The method as described in any one of claim 1-7 is realized when being executed by processor.
CN201810345427.3A 2018-04-17 2018-04-17 Using storing method, terminal and storage medium Pending CN108549557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810345427.3A CN108549557A (en) 2018-04-17 2018-04-17 Using storing method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810345427.3A CN108549557A (en) 2018-04-17 2018-04-17 Using storing method, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108549557A true CN108549557A (en) 2018-09-18

Family

ID=63515076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810345427.3A Pending CN108549557A (en) 2018-04-17 2018-04-17 Using storing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108549557A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753291A (en) * 2018-12-19 2019-05-14 聚好看科技股份有限公司 A kind of intelligent terminal, its application management method, device and storage medium
CN110222264A (en) * 2019-05-24 2019-09-10 苏州达家迎信息技术有限公司 Application maintenance control method, device, terminal, server and storage medium
CN113032078A (en) * 2021-03-30 2021-06-25 深圳市中科明望通信软件有限公司 Page display method and device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722392A (en) * 2012-06-07 2012-10-10 腾讯科技(深圳)有限公司 Method and system for software operation
CN103617057A (en) * 2013-11-27 2014-03-05 北京奇虎科技有限公司 Application program installation method and device
CN105700911A (en) * 2015-12-29 2016-06-22 北京金山安全软件有限公司 Application installation method and device and electronic equipment
US9378002B2 (en) * 2006-12-22 2016-06-28 Core Wireless Licensing S.A.R.L. System, method, apparatus and computer program product for providing memory footprint reduction
CN107329743A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 Methods of exhibiting, device and the storage medium of five application page
CN107704287A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 Installation method, mobile terminal and computer-readable recording medium are exempted from program application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9378002B2 (en) * 2006-12-22 2016-06-28 Core Wireless Licensing S.A.R.L. System, method, apparatus and computer program product for providing memory footprint reduction
CN102722392A (en) * 2012-06-07 2012-10-10 腾讯科技(深圳)有限公司 Method and system for software operation
CN103617057A (en) * 2013-11-27 2014-03-05 北京奇虎科技有限公司 Application program installation method and device
CN105700911A (en) * 2015-12-29 2016-06-22 北京金山安全软件有限公司 Application installation method and device and electronic equipment
CN107329743A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 Methods of exhibiting, device and the storage medium of five application page
CN107704287A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 Installation method, mobile terminal and computer-readable recording medium are exempted from program application

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753291A (en) * 2018-12-19 2019-05-14 聚好看科技股份有限公司 A kind of intelligent terminal, its application management method, device and storage medium
CN110222264A (en) * 2019-05-24 2019-09-10 苏州达家迎信息技术有限公司 Application maintenance control method, device, terminal, server and storage medium
CN110222264B (en) * 2019-05-24 2021-10-08 苏州达家迎信息技术有限公司 Application program maintenance control method, device, terminal, server and storage medium
CN113032078A (en) * 2021-03-30 2021-06-25 深圳市中科明望通信软件有限公司 Page display method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10831567B2 (en) Application processing method and apparatus
US10146582B2 (en) Method for assigning priority to multiprocessor tasks and electronic device supporting the same
CN106921798B (en) Notification message processing method and device
US20140130053A1 (en) Data processing method, apparatus and mobile terminal
CN105302811B (en) Browser page skipping method and device
CN106598655A (en) Application page processing method and apparatus
CN103617057A (en) Application program installation method and device
CN105988837B (en) Application program installation method and device
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108345478B (en) Application processing method and device, storage medium and electronic equipment
CN103412793A (en) Method, device and system for optimizing system resources
CN103455348A (en) Subarea adjustment method, device, terminal, server and system
CN108549557A (en) Using storing method, terminal and storage medium
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN108334330B (en) Application unloading method and device, storage medium and electronic equipment
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN113656087A (en) Applet starting method, device, equipment and storage medium
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
US20160080293A1 (en) Accounts Control
CN108563476B (en) Application program running method and device, storage medium and electronic equipment
CN111930565B (en) Process fault self-healing method, device and equipment for components in distributed management system
CN109407953A (en) Using lookup method, device, computer installation and storage medium
US20160196030A1 (en) Method and electronic device for displaying electronic document
CN108268274B (en) Application management method and device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20180918

RJ01 Rejection of invention patent application after publication