CN109117153B - Application processing method, device, terminal and storage medium - Google Patents

Application processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN109117153B
CN109117153B CN201810986682.6A CN201810986682A CN109117153B CN 109117153 B CN109117153 B CN 109117153B CN 201810986682 A CN201810986682 A CN 201810986682A CN 109117153 B CN109117153 B CN 109117153B
Authority
CN
China
Prior art keywords
application program
frequency application
low
installation package
target low
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.)
Active
Application number
CN201810986682.6A
Other languages
Chinese (zh)
Other versions
CN109117153A (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.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN201810986682.6A priority Critical patent/CN109117153B/en
Publication of CN109117153A publication Critical patent/CN109117153A/en
Application granted granted Critical
Publication of CN109117153B publication Critical patent/CN109117153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The embodiment of the invention discloses a processing method, a device, a terminal and a storage medium of an application program, wherein the method comprises the following steps: if a starting instruction comprising target low-frequency application program information is detected, acquiring a target low-frequency application program installation package corresponding to the starting instruction from a local installation package storage area; installing and starting a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package; and if the target low-frequency application program is detected to be used completely, automatically uninstalling the target low-frequency application program. The technical scheme of the embodiment of the invention effectively solves the problems of terminal blocking, crash, frequent harassment of notification messages and the like caused by more application programs installed on the user terminal, and improves the use experience of the user.

Description

Application processing method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a processing method and device of an application program, a terminal and a storage medium.
Background
At present, terminal devices such as smart phones, tablet computers, and notebook computers have become essential electronic devices in daily life, and a user can install a large number of application programs in the terminal devices when using the electronic devices.
The more applications a user installs in a terminal device, the more storage space the system occupies. For some application programs which are low in use frequency but sometimes need to be used, a large amount of storage space of a system is occupied, some application programs can be frequently self-started or correlation-started, running memory of the system is occupied, and the shortage of the storage space or the running memory of the system easily causes the conditions of dead halt, blocking and the like of a terminal, and the self-starting or correlation-starting of the application programs can also cause harassment of useless notification messages to users, so that the use experience of the users on terminal equipment is reduced.
Disclosure of Invention
The processing method, the processing device, the terminal and the storage medium of the application program provided by the embodiment of the invention can reduce the occupation of the low-frequency application program on the storage space or the running memory, effectively solve the problems of terminal blocking, crash, frequent harassment of notification messages and the like caused by more application programs installed on the user terminal, and improve the use experience of the user.
In a first aspect, an embodiment of the present invention provides a method for processing an application program, where the method includes:
if a starting instruction comprising target low-frequency application program information is detected, acquiring a target low-frequency application program installation package corresponding to the starting instruction from a local installation package storage area;
installing and starting a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package;
and if the target low-frequency application program is detected to be completely used, automatically unloading the target low-frequency application program.
In a second aspect, an embodiment of the present invention further provides an apparatus for processing an application program, where the apparatus includes:
the installation package obtaining module is used for obtaining a target low-frequency application program installation package corresponding to a starting instruction from a local installation package storage area if the starting instruction comprising the target low-frequency application program information is detected;
the installation starting module is used for installing and starting a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package;
and the uninstalling module is used for automatically uninstalling the target low-frequency application program if the target low-frequency application program is detected to be used completely.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the processing method of the application program according to any embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the processing method of the application program according to any embodiment of the present invention.
According to the method and the device, after the starting instruction of the target low-frequency application program is detected, the corresponding installation package is obtained from the local installation package storage area, the target low-frequency application program is installed and started for the user, the target low-frequency application program is automatically uninstalled after the use of the user is detected, the occupation of the storage space and the operation memory by the target low-frequency application program is reduced, the problems of terminal blocking, crash, frequent harassment of notification messages and the like caused by more installation application programs of the user terminal are effectively solved, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a processing method of an application according to an embodiment of the present invention;
fig. 2 is a flowchart of another processing method of an application according to a second embodiment of the present invention;
fig. 3 is a flowchart of a processing method of another application program according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a processing apparatus for an application according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an application processing method according to an embodiment of the present invention, where the embodiment is applicable to a case of processing an application with a low frequency of use in a terminal, and the method may be executed by an application processing apparatus or the terminal according to the embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. As shown in fig. 1, the method specifically comprises the following steps:
s101, if a starting instruction comprising target low-frequency application program information is detected, acquiring a target low-frequency application program installation package corresponding to the starting instruction from a local installation package storage area.
The low-frequency application program may be an application program installed in the terminal, the frequency of use of the application program by the user is relatively low, the application program is preset by the user according to the self requirement, the frequency of use of each application program by the user in a preset time period (for example, one month) can be automatically analyzed by the system, the application program with the frequency of use less than the preset frequency (for example, 2 times) is determined as the low-frequency application program, the time interval between the last two starts of each application program can be calculated, and the application program with the time interval greater than the interval threshold value is determined as the low-frequency application program. Optionally, the low-frequency application program is not fixed and may be adjusted according to the actual use condition of the user, for example, at intervals (e.g., a month), the use condition of the user to each application program in the month may be counted again to determine the latest low-frequency application program, or at intervals, the system may prompt the user whether to change the low-frequency application program, or the user may actively adjust the low-frequency application program according to the needs of the user. The target low frequency application is a low frequency application that the user wants to launch among the plurality of low frequency applications.
The target low frequency application information may be specific information of a low frequency application to be launched, such as a name, a version number, and a date of the application. The local installation package storage area is a storage area which is pre-divided in a terminal system memory and is specially used for storing all low-frequency application program installation packages, and the storage area only stores the installation packages and does not store the related contents of the installed application programs.
Optionally, in the embodiment of the present invention, the start instruction including the target low-frequency application information may be manually triggered by a user, for example, the start instruction including the low-frequency application information may be triggered by the user manually clicking a shortcut icon of a certain low-frequency application (i.e., the target low-frequency application) on a display screen of the terminal, or may be triggered by voice control of the user, for example, the user may speak information (e.g., an application name) of the low-frequency application to be started by voice, and the system acquires the voice information and triggers to generate the start instruction including the low-frequency application information after analyzing the voice information.
Optionally, when the start instruction including the target low-frequency application program is manually triggered by the user, detecting the start instruction including the target low-frequency application program information, and acquiring the target low-frequency application program installation package corresponding to the start instruction from the local installation package storage area, including: if the operation of a user on a shortcut icon of a target low-frequency application program is detected, generating a starting instruction corresponding to the target low-frequency application program, wherein the starting instruction comprises target low-frequency application program information; and acquiring a target low-frequency application program installation package corresponding to the target low-frequency application program information from the local installation package storage area according to the target low-frequency application program information.
Specifically, a shortcut icon of an installed application program is usually available on a control desktop of a terminal display screen, and a user can indicate which application program the system specifically responds to by clicking the shortcut icon of the application program. When the system detects that a user clicks a shortcut icon of a certain low-frequency application program, the shortcut icon of the low-frequency application program is used as the shortcut icon of a target low-frequency application program, a starting instruction containing information of the target low-frequency application program is generated according to the clicked shortcut icon of the target low-frequency application program, then a local installation package storage area is accessed according to the information of the target low-frequency application program contained in the starting instruction, and an installation package corresponding to the information of the target low-frequency application program is searched.
Optionally, when a start instruction including the target low-frequency application program is triggered by a user voice, it is detected that the user sends a voice control instruction for starting the target low-frequency application program, voice information input by the user is acquired and analyzed, whether the voice information included in the control instruction conforms to a context of the start application program is judged, if so, whether application program information corresponding to the start instruction is low-frequency application program information is further judged, if so, the low-frequency application program information corresponding to the voice control instruction is used as target low-frequency application program information to be started, a local installation package storage area is accessed, and an installation package corresponding to the target low-frequency application program information is searched.
And S102, installing and starting the target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package.
For example, after the target low-frequency application installation package to be started is obtained in S101, the target low-frequency application is automatically installed according to the target low-frequency application installation package, and the installed target low-frequency application is started immediately after the installation is completed, so as to be used by the user.
And S103, automatically unloading the target low-frequency application program if the target low-frequency application program is detected to be used completely.
Optionally, in the embodiment of the present invention, there are many ways to detect whether the target low-frequency application program is used up, which are not limited in the present invention, for example, whether the user triggers an exit key of the target low-frequency application program may be detected, and if the exit key is triggered, it indicates that the user has used up the target low-frequency application program; or detecting whether the user operates the target low-frequency application program within a preset time (such as 5 minutes), and if not, indicating that the user has used up the target low-frequency application program; the target low-frequency application program can be represented to be used up through preset control modes such as voice, gesture and the like, and when the system detects the preset voice or gesture, the target low-frequency application program is used up by the user.
After it is detected that the user has used up the target low-frequency application installed in S102, the target low-frequency application is automatically uninstalled, optionally, in order to release the storage space as much as possible, all data in the installation process may be deleted while the target low-frequency application is uninstalled, but in order to ensure that the user triggers the target low-frequency application next time, a shortcut icon of the target low-frequency application may be retained during uninstalling, in order to ensure that the user can view a history operation record during next use, and in order to ensure that the user can retain history data of the current operation during uninstalling.
It should be noted that, because the use frequency of the low-frequency application program by the user is low, in the embodiment of the present invention, the low-frequency application program only stores the corresponding installation package and shortcut icon in the terminal, and does not store the related data after the low-frequency application program is installed, when the user needs to use the low-frequency application program, the target low-frequency application program installation package to be used is obtained from the local installation package storage area, is used by the user after program installation, and is uninstalled after use is completed, so as to reduce the occupation of the low-frequency application program on the storage space, and reduce the harassment of frequent notification messages to the user. In addition, the low-frequency application program installation package is stored in the local storage space of the terminal, and the low-frequency application program installation package does not need to be downloaded from a server through a network when used by a user, so that the condition that the user cannot normally use the low-frequency application program when a network signal is poor is avoided.
The embodiment provides an application program processing method, which includes the steps of acquiring a corresponding target low-frequency application program installation package from a local installation package storage area after a starting instruction of a target low-frequency application program is detected, installing and starting the target low-frequency application program for a user, automatically uninstalling the target low-frequency application program after the use of the user is detected, and storing the corresponding target low-frequency application program installation package into the local installation package storage area to reduce the occupation of the local installation package storage area on a storage space and an operating memory, effectively solving the problems of terminal blockage, dead halt, frequent harassment of notification messages and the like caused by more installation application programs of a user terminal, and improving the use experience of the user.
Example two
Fig. 2 is a flowchart of another processing method for an application according to a second embodiment of the present invention, which is further optimized based on the above embodiment, and specifically shows a specific situation that all low-frequency applications in a terminal are processed before a user triggers a start instruction. As shown in fig. 2, the method includes:
s201, determining a low-frequency application program in the terminal according to a preset rule.
The preset rule may be a rule preset to determine all low frequency applications in the terminal. The preset rule can be determined by the user according to the requirement of the user, for example, the user adds ticket purchasing software, office software and video software installed in the mobile phone into the preset rule according to the use habit of the user. The setting may also be a default setting of the system, for example, the frequency of using each application program by the user in a preset time period (e.g., one month) may be analyzed, and an application program whose frequency of using is less than a preset frequency (e.g., 2 times) is determined as the low-frequency application program, or a time interval corresponding to two latest starts of each application program may be calculated, and an application program whose time interval is greater than an interval threshold value is determined as the low-frequency application program.
Optionally, the preset rule is not fixed and may be modified by the user as required, or the system may adjust the preset rule by analyzing recent usage data of the user for each application program. Similarly, the determined low-frequency application program is not fixed, and may be adjusted according to the actual use condition of the application program recently by the user, for example, S201 may be automatically executed once every preset time, and the determined low-frequency application program is updated once. The method may further include reminding the user at preset intervals whether the low-frequency application program needs to be changed, or manually triggering the low-frequency application program to be changed when the user feels that the low-frequency application program is inaccurate, and if a change instruction of the user is received, executing S201 once, and updating the determined low-frequency application program once.
S202, storing the low-frequency application program installation package in a local installation package storage area.
Specifically, after all the low-frequency applications in the terminal are determined in S201, the low-frequency application installation packages are obtained and stored in the local installation package storage area. Optionally, if the low-frequency application program installation package is originally stored in the terminal, directly storing the low-frequency application program installation package in a local installation package storage area, and deleting the installation package stored in the original storage area; if only the installed low-frequency application program exists in the terminal and the terminal does not have the corresponding installation package, the low-frequency application program installation package can be downloaded by calling the server and stored in the local installation package storage area. Optionally, the low-frequency application installation package stored in the embodiment of the present invention is a compressed package in an apk format, and does not contain related data after the low-frequency application is installed.
And S203, uninstalling the low-frequency application program and reserving the shortcut icon of the low-frequency application program.
Optionally, after the low-frequency application program installation package is stored in the local installation package storage area in S202, the corresponding low-frequency application program is uninstalled, and it should be noted that the manner of uninstalling the low-frequency application program in the present invention is different from the existing uninstalling application program in that, when the application program is uninstalled, the shortcut icon of the low-frequency application program needs to be retained, which is convenient for the user to trigger the low-frequency application program next time. The shortcut icon of the application program is a picture with an application program software identifier (LOGO), when the low-frequency application program is uninstalled, the shortcut icon is associated with a corresponding low-frequency application program installation package in a local installation package storage area, and when a user acts on the shortcut image operation of a certain low-frequency application program, the terminal can automatically acquire the low-frequency application program installation package corresponding to the shortcut icon.
It should be noted that, in the embodiment of the present invention, the low-frequency application program is stored in the form of the original installation package, which saves the storage space of the system. Only the installation package is saved, the application program cannot be automatically started, the related functions (such as a camera, a gallery, a call record and an address book) in the user terminal equipment cannot be accessed in a background, user data cannot be uploaded in the background, the safety of the system is improved, and meanwhile, the occupation of the low-frequency application program on the running memory is avoided.
And S204, if the starting instruction comprising the target low-frequency application program information is detected, acquiring the target low-frequency application program installation package corresponding to the starting instruction from the local installation package storage area.
And S205, installing and starting the target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package.
And S206, if the target low-frequency application program is detected to be used completely, acquiring historical data used by the target low-frequency application program this time, associating the historical data with the target low-frequency application program installation package, and storing the historical data in a local data storage area.
The historical data may be data generated when the user uses the target low-frequency application program this time, and may include data input by the user, browsed data or downloaded data, and the like. For example, if the target low frequency application is a 12306 ticketing application, the history data may be a login account number entered by the user, a password ticket checking record, and information of the user on the current ticket purchase, etc.
Specifically, if it is detected that the user has used up the target low-frequency application program this time, the historical data used by the target low-frequency application program this time is obtained, an association relationship is established between the historical data and the corresponding target low-frequency application program installation package stored in the local installation package storage region, and then the obtained historical data is stored in the local data storage region.
Optionally, in order to save space, when the historical data used by the target low-frequency application program this time is obtained, important data may be selected from all the historical data used this time to be associated and stored. For example, the target low-frequency application used by the user at this time is a 12306 ticket-buying application, and the login account number, the password and the ticket-buying information at this time in the history data are stored in a correlated manner, but the less important query record, the input non-important data such as the start station and the terminal station, and the like are ignored.
It should be noted that, in the embodiment of the present invention, the target low-frequency application program is uninstalled each time the target low-frequency application program is used up, and the current operation data of the target low-frequency application program is usually also deleted while the target low-frequency application program is uninstalled, so that the current history data of the target low-frequency application program is obtained, that is, the latest history data of the target low-frequency application program is obtained, and a situation that the history data is repeatedly obtained does not occur.
And S207, automatically unloading the target low-frequency application program.
It should be noted that, in the embodiment of the present invention, S201 to S203 are cases of preprocessing all low frequency applications in the terminal before the user starts the target low frequency applications in the terminal, and S204 to S207 are steps executed when the user wants to start a certain target low frequency application after all low frequency application installation packages in the terminal are stored in the local installation package storage area and all low frequency applications are uninstalled, where the target low frequency application is one of all low frequency applications in the terminal and is one of all low frequency applications that the user wants to start.
The embodiment provides an application program processing method, which includes the steps of determining all low-frequency application programs in a terminal, storing all low-frequency application program installation packages in a local storage area, unloading all low-frequency application programs, acquiring corresponding target low-frequency application program installation packages from a local installation package storage area when a user triggers and starts a target low-frequency application program, installing and starting the target low-frequency application program installation packages for a user, acquiring current historical data of the target low-frequency application program after the user is detected to finish using, storing the historical data in an associated manner, and finally automatically unloading the target low-frequency application program.
EXAMPLE III
Fig. 3 is a flowchart of a processing method for another application program according to a third embodiment of the present invention, which is further optimized based on the third embodiment, and specifically provides a description of a specific situation that each installation package in the local installation package storage area is updated when the application program corresponding to the installation package in the local installation package storage area is uninstalled. As shown in fig. 3, the method includes:
s301, if the low-frequency application program corresponding to the low-frequency application program installation package in the local installation package storage area is uninstalled, acquiring the application name and the current version number corresponding to the low-frequency application program installation package corresponding to the uninstalled low-frequency application program in the local installation package storage area.
For example, in the embodiment of the present invention, each low-frequency application installation package stored in the local installation package storage area is usually uninstalled, and only when a user happens to use a certain low-frequency application currently, the low-frequency application is not uninstalled. If the low-frequency application program corresponding to the low-frequency application program installation package in the local installation package storage area is uninstalled, whether the low-frequency application program installation package needs to be updated can be detected according to the methods from S301 to S302 described in the embodiments of the present invention, or whether the low-frequency application program installation package needs to be updated can be detected through the installed low-frequency application program according to the existing manner in the art.
For example, for each low-frequency application installation package in the local installation package storage area, the system may access the storage space and manage each low-frequency application installation package stored therein, and specifically, may obtain an application name and a current version number of a corresponding low-frequency application according to attribute information of each low-frequency application installation package that has been uninstalled by accessing each low-frequency application installation package in the local installation package storage area.
And S302, updating the low-frequency application program installation package in the local installation package storage area according to the application name and the current version number corresponding to the low-frequency application program installation package.
In the embodiment of the present invention, when each uninstalled low-frequency application program installation package in the local installation package storage area is updated, whether the corresponding low-frequency application program installation package needs to be updated may be determined by the application name and the current version number of the low-frequency application program installation package, and optionally, the specific execution steps may be:
(1) and when detecting that the terminal is connected with the wireless fidelity network, accessing at least one network server to inquire the latest version number of the low-frequency application program installation package corresponding to each application name.
The network server may be a web page providing software downloading and querying functions or a background server corresponding to the client. Because the update installation package needs to be queried and downloaded through a network, in order to save traffic, when it is detected that a terminal is connected to a Wireless Fidelity (WI-FI), the terminal can automatically and regularly access at least one corresponding network server through different webpages and/or clients, each application name to be queried is used as input, and the latest version number of the low-frequency application installation package corresponding to each application name in each network server is searched through the webpages and/or the clients. The embodiment of the invention searches the version number of the low-frequency application program installation package through a plurality of different network servers, thereby avoiding the situation that the low-frequency application program is not updated timely when the low-frequency application program installation package covered by a single server is incomplete or the updating is delayed.
Optionally, if the version numbers of the low-frequency application installation packages corresponding to the same application name, which are queried by the multiple network servers, are different, the version number with the largest version number is selected as the latest version number of the low-frequency application installation package. For example, when an update query is performed on the 1230 ticket purchasing application, if the version number corresponding to the application name "12306" found by the web server corresponding to the access application mall client is 5.1.0, and the version number corresponding to the application name "12306" found by the web server corresponding to the access pea pod client is 5.1.1, the version 5.1.1 of the "12306" found by the web server corresponding to the access pea pod client is used as the latest version number.
(2) And for each low-frequency application program installation package, if the latest version number of the low-frequency application program installation package is greater than the current version number, downloading the latest low-frequency application program installation package corresponding to the latest version number of the low-frequency application program installation package.
For example, a description is given by taking a low-frequency application installation package corresponding to an uninstalled low-frequency application as an example, after a latest version number corresponding to the application name is queried in a network server, the latest version number is compared with a current version number of the low-frequency application installation package corresponding to the application name in a local installation package storage space, if the queried latest version number is greater than the current version number, it is determined that the low-frequency application installation package stored in a local installation package storage area is not the latest version and needs to be updated, and at this time, the latest low-frequency application installation package is downloaded from the network server corresponding to the latest version number of the low-frequency application installation package. For example, if the latest version corresponding to the installation package with the low-frequency application program name "12306" is 5.1.1, which is greater than the current version 5.0.0 of the application program installation package "12306" stored in the local installation package storage region, by accessing the network server corresponding to the pea pod client, the application program installation package "12306" of version 5.1.1 with the application program name "12306" is downloaded through the network server corresponding to the pea pod client.
(3) And acquiring the current low-frequency application program installation package corresponding to the application name in the local installation package storage area according to the application name corresponding to the latest low-frequency application program installation package, and replacing the current low-frequency application program installation package with the latest low-frequency application program installation package.
For example, after downloading the latest version of the low-frequency application installation package, according to the application name corresponding to the low-frequency application installation package, first finding the current low-frequency application installation package corresponding to the application name in the local installation package storage area, and then replacing the found current low-frequency application installation package with the latest version of the low-frequency application installation package.
For example, after the network server corresponding to the pea pod client downloads the 5.1.1 version application installation package with the application name of "12306", the currently stored "12306" application installation package with the 5.0.0 version corresponding to "12306" is found in the local installation package storage area, and the downloaded latest "12306" application installation package with the 5.1.1 version replaces the current "12306" application installation package with the 5.0.0 version.
Optionally, in the embodiment of the present invention, when the terminal is connected to the WI-FI network, the local installation package storage area may be automatically accessed at regular time to determine whether each of the uninstalled low-frequency application installation packages has a new version that needs to be updated, and if yes, the new version is updated, so that when a user triggers and starts the target low-frequency application, the target low-frequency application cannot be normally used after being installed due to a low installation package version, and the situation that the flow is insufficient when the new version installation package is temporarily downloaded is avoided.
And S303, if the starting instruction comprising the target low-frequency application program information is detected, acquiring the target low-frequency application program installation package corresponding to the starting instruction from the local installation package storage area.
And S304, installing and starting the target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package.
And S305, automatically unloading the target low-frequency application program if the target low-frequency application program is detected to be used completely.
It should be noted that, in the embodiment of the present invention, the execution sequence of updating the uninstalled low-frequency application installation package in the local installation package storage area in S301 to S302 is not limited, for example, the execution sequence may be as shown in fig. 3 in this embodiment, which is performed before the start instruction including the target low-frequency application information is detected in S303, may be performed after the target low-frequency application is uninstalled in S305, or may be performed simultaneously with S303 to S305. The specific execution sequence only depends on whether the WI-FI network is connected or not, and the updating detection of the installation package can be automatically performed at regular time under the condition that the WI-FI network is connected.
It should be noted that, in the process of managing and updating the installation package in the local installation package storage area, each low-frequency application program corresponding to each installation package in the terminal is already uninstalled, and compared with the prior art in which version updating query is performed only on an application program installed on the terminal, in the embodiment of the present invention, when a low-frequency application program is already uninstalled, by accessing the local installation package storage area, on the premise of connecting the WI-FI network, automatic update of the installation package is completed based on the application name and the current version number of each low-frequency application program installation package, so that it is ensured that a user can use a target low-frequency application program of the latest version whenever starting the low-frequency application program is triggered, and a large storage space and a large operating memory are not required.
The embodiment provides an application program processing method, under the condition of connection to a WI-FI network, each installation package is updated automatically and regularly based on the application name and the current version number of each uninstalled low-frequency application program installation package in a local installation package storage space, and then after a start instruction of a target low-frequency application program is detected, the installation package of the latest version is acquired from a local installation package storage area for installation and start, so that the low-frequency application program used by a user is always the low-frequency application program of the latest version, and does not occupy more storage space, and the use experience of the user is improved.
Example four
Fig. 4 is a schematic structural diagram of an application processing apparatus according to a fourth embodiment of the present invention, where the apparatus is capable of executing a processing method of an application according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus includes:
an installation package obtaining module 401, configured to, if a start instruction including target low-frequency application program information is detected, obtain a target low-frequency application program installation package corresponding to the start instruction from a local installation package storage area;
an installation starting module 402, configured to install and start a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package;
an uninstalling module 403, configured to, if it is detected that the target low-frequency application is used completely, automatically uninstall the target low-frequency application.
The embodiment provides an application program processing device, after a starting instruction of a target low-frequency application program is detected, a corresponding installation package is obtained from a local installation package storage area, the target low-frequency application program is installed and started for a user, and after the user use is detected, the target low-frequency application program is automatically uninstalled, so that the occupation of the target low-frequency application program on a storage space and an operation memory is reduced, the problems of terminal blocking, crash, frequent harassment of notification messages and the like caused by more installation application programs of a user terminal are effectively solved, and the use experience of the user is improved.
Further, the installation package obtaining module 401 includes:
the command generating unit is used for generating a starting command corresponding to the target low-frequency application program if the operation of a user on a shortcut icon of the target low-frequency application program is detected or the user sends a voice control command for starting the target low-frequency application program, wherein the starting command comprises information of the target low-frequency application program;
and the installation package acquisition unit is used for acquiring the target low-frequency application program installation package corresponding to the target low-frequency application program information from a local installation package storage area according to the target low-frequency application program information.
Further, the above apparatus further comprises:
the determining module is used for determining a low-frequency application program in the terminal according to a preset rule;
the installation package storage module is used for storing the low-frequency application program installation package in a local installation package storage area;
the uninstalling module 403 is configured to uninstall the low-frequency application program and reserve a shortcut icon of the low-frequency application program.
Further, the above apparatus further comprises:
the data acquisition module is used for acquiring historical data used by the target low-frequency application program this time;
and the data storage module is used for associating the historical data with the target low-frequency application program installation package and then storing the historical data in a local data storage area.
Further, the above apparatus further comprises:
the information acquisition module is used for acquiring an application name and a current version number corresponding to a low-frequency application program installation package corresponding to the uninstalled low-frequency application program in the local installation package storage area if the low-frequency application program corresponding to the low-frequency application program installation package in the local installation package storage area is uninstalled;
and the installation package updating module is used for updating the low-frequency application program installation package in the local installation package storage area according to the application name and the current version number corresponding to the low-frequency application program installation package.
Further, the installation package updating module includes:
the query unit is used for accessing at least one network server to query the latest version number of the low-frequency application program installation package corresponding to each application name when detecting that the terminal is connected with the wireless fidelity network;
the downloading unit is used for downloading the latest low-frequency application program installation package corresponding to the latest version number of the low-frequency application program installation package if the latest version number of the low-frequency application program installation package is greater than the current version number for each low-frequency application program installation package;
and the updating unit is used for acquiring the current low-frequency application program installation package corresponding to the application name in the local installation package storage area according to the application name corresponding to the latest low-frequency application program installation package, and replacing the current low-frequency application program installation package with the latest low-frequency application program installation package.
It should be noted that, in the embodiment of the processing apparatus for application programs, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; for example, the device may only include a receiving module and a processing module, where the receiving module is configured to obtain the target low-frequency application installation package when detecting a start instruction of the target low-frequency application triggered by a user; the processing module is used for realizing the relevant functions of installation, uninstallation, update, storage and the like of each low-frequency application program. In addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary terminal 50 suitable for use in implementing embodiments of the present invention. The terminal 50 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention. As shown in fig. 5, the terminal 50 is in the form of a general purpose computing device. The components of the terminal 50 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 that couples various system components (including the system memory 502 and the processing unit 501).
Bus 503 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 50 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 50 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 502 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)504 and/or cache memory 505. The terminal 50 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5 and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. System memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for example, in system memory 502, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 507 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
Terminal 50 may also communicate with one or more external devices 506 (e.g., keyboard, pointing device, display 510, etc.), one or more devices that enable a user to interact with the device, and/or any device (e.g., network card, modem, etc.) that enables terminal 50 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 511. Also, the terminal 50 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 512. As shown in fig. 5, the network adapter 512 communicates with the other modules of the terminal 50 via the bus 503. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the terminal 50, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 501 executes various functional applications and data processing by running programs stored in the system memory 502, for example, to implement a processing method of an application program provided by an embodiment of the present invention.
EXAMPLE six
The sixth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the processing method of the application program described in the foregoing embodiment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above example numbers are for description only and do not represent the merits of the examples.
It will be appreciated by those of ordinary skill in the art that the modules or operations of the embodiments of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and that they may alternatively be implemented using program code executable by a computing device, such that the program code is stored in a memory device and executed by a computing device, and separately fabricated into integrated circuit modules, or fabricated into a single integrated circuit module from a plurality of modules or operations thereof. Thus, the present invention is not limited to any specific combination of hardware and software.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A processing method of an application program is characterized by comprising the following steps:
if a starting instruction comprising target low-frequency application program information is detected, acquiring a target low-frequency application program installation package corresponding to the starting instruction from a local installation package storage area;
installing and starting a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package;
and if the target low-frequency application program is detected to be completely used, automatically unloading the target low-frequency application program.
2. The method according to claim 1, wherein if a start instruction including target low-frequency application information is detected, the step of obtaining a target low-frequency application installation package corresponding to the start instruction from a local installation package storage area comprises:
if the operation that a user acts on a shortcut icon of a target low-frequency application program is detected or the fact that the user sends a voice control instruction for starting the target low-frequency application program is detected, a starting instruction corresponding to the target low-frequency application program is generated, wherein the starting instruction comprises information of the target low-frequency application program;
and acquiring a target low-frequency application program installation package corresponding to the target low-frequency application program information from a local installation package storage area according to the target low-frequency application program information.
3. The method of claim 1, wherein before the step of detecting the start command including the target low frequency application information, the method further comprises:
determining a low-frequency application program in the terminal according to a preset rule;
storing the low-frequency application program installation package in a local installation package storage area;
and unloading the low-frequency application program, and reserving the shortcut icon of the low-frequency application program.
4. The method of claim 1, after the step of detecting that the target low-frequency application is used up, further comprising:
and acquiring historical data used by the target low-frequency application program this time, and storing the historical data in a local data storage area after associating the historical data with the target low-frequency application program installation package.
5. The method of claim 1, further comprising:
if the low-frequency application program corresponding to the low-frequency application program installation package in the local installation package storage area is uninstalled, acquiring an application name and a current version number corresponding to the low-frequency application program installation package corresponding to the uninstalled low-frequency application program in the local installation package storage area;
and updating the low-frequency application program installation package in the local installation package storage area according to the application name and the current version number corresponding to the low-frequency application program installation package.
6. The method according to claim 5, wherein the step of updating the low-frequency application installation package in the local installation package storage area according to the application name and the current version number corresponding to the low-frequency application installation package comprises:
when the terminal is detected to be connected with the wireless fidelity network, accessing at least one network server to inquire the latest version number of the low-frequency application program installation package corresponding to each application name;
for each low-frequency application program installation package, if the latest version number of the low-frequency application program installation package is greater than the current version number, downloading the latest low-frequency application program installation package corresponding to the latest version number of the low-frequency application program installation package;
and acquiring a current low-frequency application program installation package corresponding to the application name in the local installation package storage area according to the application name corresponding to the latest low-frequency application program installation package, and replacing the current low-frequency application program installation package with the latest low-frequency application program installation package.
7. An apparatus for processing an application program, comprising:
the installation package obtaining module is used for obtaining a target low-frequency application program installation package corresponding to a starting instruction from a local installation package storage area if the starting instruction comprising the target low-frequency application program information is detected;
the installation starting module is used for installing and starting a target low-frequency application program corresponding to the target low-frequency application program installation package according to the target low-frequency application program installation package;
and the unloading module is used for automatically unloading the target low-frequency application program if the target low-frequency application program is detected to be used completely.
8. The apparatus of claim 7, wherein the installation package obtaining module comprises:
the command generating unit is used for generating a starting command corresponding to the target low-frequency application program if the operation of a user on a shortcut icon of the target low-frequency application program is detected or the user sends a voice control command for starting the target low-frequency application program, wherein the starting command comprises information of the target low-frequency application program;
and the installation package acquisition unit is used for acquiring the target low-frequency application program installation package corresponding to the target low-frequency application program information from a local installation package storage area according to the target low-frequency application program information.
9. A terminal, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of processing for an application as claimed in any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the processing method of an application program according to any one of claims 1 to 6.
CN201810986682.6A 2018-08-28 2018-08-28 Application processing method, device, terminal and storage medium Active CN109117153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810986682.6A CN109117153B (en) 2018-08-28 2018-08-28 Application processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810986682.6A CN109117153B (en) 2018-08-28 2018-08-28 Application processing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109117153A CN109117153A (en) 2019-01-01
CN109117153B true CN109117153B (en) 2022-06-03

Family

ID=64860293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810986682.6A Active CN109117153B (en) 2018-08-28 2018-08-28 Application processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109117153B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
CN110297518A (en) * 2019-06-20 2019-10-01 合肥联宝信息技术有限公司 A kind of method of time measurement, device, storage medium and electronic equipment
CN111158780B (en) * 2019-12-27 2023-06-27 宇龙计算机通信科技(深圳)有限公司 Method, device, electronic equipment and medium for storing application data
CN111432033A (en) * 2020-04-22 2020-07-17 深信服科技股份有限公司 Application program downloading method, device and system, IOS equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729028A (en) * 2017-11-09 2018-02-23 青岛海信电器股份有限公司 The method and apparatus of application program launching based on Android system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065790A (en) * 2004-08-30 2006-03-09 Fujitsu Ltd Uninstallation processing program and uninstallation management program
CN103617057B (en) * 2013-11-27 2017-05-24 北京奇虎科技有限公司 Application program installation method and device
CN105786480B (en) * 2015-12-29 2021-01-12 上海闻泰电子科技有限公司 Application processing system and processing method
CN107273740A (en) * 2017-04-28 2017-10-20 北京奇虎科技有限公司 A kind of method and apparatus of application on control intelligent terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729028A (en) * 2017-11-09 2018-02-23 青岛海信电器股份有限公司 The method and apparatus of application program launching based on Android system

Also Published As

Publication number Publication date
CN109117153A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109117153B (en) Application processing method, device, terminal and storage medium
US10712915B2 (en) Information presentation using a client on a terminal
US9395978B2 (en) Mobile phone based software processing method and mobile phone
US20150154224A1 (en) Method, device, processing center and system for desktop synchronization
CN103617057A (en) Application program installation method and device
US20140067879A1 (en) Application management for a terminal
US10375149B2 (en) Application registration and interaction
CN107291481B (en) Component updating method, device and system
CN108345478B (en) Application processing method and device, storage medium and electronic equipment
CN105955770A (en) Application program uninstalling method and terminal
US20180181999A1 (en) Electronic device and method for displaying web page using the same
CN108334330B (en) Application unloading method and device, storage medium and electronic equipment
CN111079125A (en) Method and device for calling third-party library dynamic lifting authority by application program
CN109684573B (en) Target picture display method and device, storage medium and electronic equipment
CN112965761A (en) Data processing method, system, electronic equipment and storage medium
CN111290871A (en) Method and device for acquiring crash information of application program
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
CN108293197B (en) Resource statistical method, device and terminal
CN109901849B (en) Application program installation method and device, electronic equipment and storage medium
US7778660B2 (en) Mobile communications terminal, information transmitting system and information receiving method
CN108268274B (en) Application management method and device, storage medium and electronic equipment
CN106302821B (en) Data request method and equipment thereof
CN113721936A (en) Application management method, intelligent terminal, device and storage medium
KR20190098516A (en) Method for managing data related to application and electronic device thereof
CN112988192A (en) Version updating method and device, electronic equipment and storage medium

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