CN111158780B - Method, device, electronic equipment and medium for storing application data - Google Patents

Method, device, electronic equipment and medium for storing application data Download PDF

Info

Publication number
CN111158780B
CN111158780B CN201911373407.8A CN201911373407A CN111158780B CN 111158780 B CN111158780 B CN 111158780B CN 201911373407 A CN201911373407 A CN 201911373407A CN 111158780 B CN111158780 B CN 111158780B
Authority
CN
China
Prior art keywords
application program
application
periodic
target
mobile terminal
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
CN201911373407.8A
Other languages
Chinese (zh)
Other versions
CN111158780A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201911373407.8A priority Critical patent/CN111158780B/en
Publication of CN111158780A publication Critical patent/CN111158780A/en
Application granted granted Critical
Publication of CN111158780B publication Critical patent/CN111158780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/44594Unloading

Abstract

The application discloses a method, a device, electronic equipment and a medium for storing application data. After a starting instruction of the mobile terminal for a target application program is acquired, whether the target application program is matched with the application program in a periodic application set or not can be detected, wherein the periodic application set is an application program set marked with periodic storage time, the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected, and when the target application program is determined to be matched with the application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program. By applying the technical scheme, the specific application program can be removed from the mobile terminal after the target time period according to the periodically generated periodic application program set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.

Description

Method, device, electronic equipment and medium for storing application data
Technical Field
The present application relates to data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for storing application data.
Background
Due to the rise of the communications age and society, mobile terminals have been continuously developed with the use of more and more users.
Further, with the rapid development of the internet, people often download various kinds of application programs to realize corresponding functions, such as playing games, watching movies, browsing websites, etc., in the process of using the mobile terminal. Further, after the mobile terminal is used for a period of time, the application program installed on the device often accumulates a lot of application data, so that the running speed and smoothness of the application program are affected.
However, the related art method of removing application data can only be performed manually by the user, which also increases the user operation time, thereby affecting the user experience.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a medium for storing application data.
According to one aspect of the embodiment of the present application, a method for storing application data is provided, which is characterized in that the method includes:
acquiring a starting instruction aiming at a target application program in a mobile terminal;
Detecting whether the target application program is matched with an application program in a periodic application set, wherein the periodic application set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected;
when it is determined that the target application matches an application in the periodic application set, the target application is started based on the periodic storage time of the target application.
Optionally, in another embodiment of the method according to the present application, before the acquiring the start instruction for the target application in the mobile terminal, the method further includes:
acquiring an active application program of the type used in the mobile terminal, wherein the active application program is an application program which does not actively start an application process when an instruction of starting the application program by a user is not received;
and establishing the periodic application set based on the initiative class application program.
Optionally, in another embodiment of the method according to the present application, the establishing the periodic application set based on the active class application program includes:
Acquiring an active application program with corresponding application storage data larger than a preset threshold value from the active application programs;
and establishing the periodic application set based on the active class application program with the application storage data larger than a preset threshold value.
Optionally, in another embodiment of the method according to the present application, the establishing the periodic application set based on the active class application program includes:
setting the periodic storage time for each active application program, wherein the periodic storage time corresponds to the target time period, and the periodic storage time is used for reflecting that the application program is removed from the mobile terminal after the target time period when a closing instruction is received, and the closing instruction is an instruction for closing the application program;
and identifying each periodic storage time into a corresponding active class application program, and establishing the periodic application set based on the active class application program and the corresponding periodic storage time.
Optionally, in another embodiment of the method according to the present application, after the establishing the periodic application set based on the active class application program and the corresponding periodic storage time, the method further includes:
When the target application program is determined to be matched with the application programs in the periodic application set, determining whether the target application program is removed or not based on the periodic storage time corresponding to the target application program;
starting the target application program when the target application program is determined not to be removed;
or alternatively, the first and second heat exchangers may be,
downloading the target application when it is determined that the target application is removed;
and starting the target application program when the success of downloading the target application program is detected.
Optionally, in another embodiment of the method according to the present application, the starting the target application when successful downloading of the target application is detected includes:
when successful downloading of the target application program is detected, determining whether historical application data of the target application program exist or not based on a historical downloading record in the mobile terminal, wherein the historical application data at least comprises user identity data;
and when detecting that the historical application data of the target application program exists, starting the target application program by utilizing the historical application data corresponding to the target application program.
Optionally, in another embodiment of the method according to the present application, before the acquiring the start instruction for the target application in the mobile terminal, the method further includes:
detecting the communication network environment corresponding to the mobile terminal every preset time period to obtain at least two communication detection results;
and when the at least two communication detection results meet the preset conditions, establishing the periodic application set.
According to another aspect of an embodiment of the present application, there is provided an apparatus for storing application data, including:
the acquisition module is arranged to acquire a starting instruction aiming at a target application program in the mobile terminal;
the detection module is used for detecting whether the target application program is matched with the application programs in a periodic application set, wherein the periodic application set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected;
a determining module configured to launch the target application based on the periodic storage time of the target application when it is determined that the target application matches an application in the periodic application set.
According to still another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
and the display is used for displaying with the memory to execute the executable instructions so as to finish the operation of any method for storing application data.
According to still another aspect of the embodiments of the present application, there is provided a computer-readable storage medium storing computer-readable instructions that, when executed, perform any of the operations of the method for storing application data described above.
In the method, after a starting instruction of a target application program is acquired in the mobile terminal, whether the target application program is matched with the application program in a periodic application set or not can be detected, wherein the periodic application set is an application program set marked with periodic storage time, the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected, and when the target application program is determined to be matched with the application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program. By applying the technical scheme, the specific application program can be removed from the mobile terminal after the target time period according to the periodically generated periodic application program set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.
The technical scheme of the present application is described in further detail below through the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
The present application will be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a system architecture for storing application data according to the present application;
FIG. 2 is a schematic diagram of a method of storing application data according to the present application;
FIG. 3 is a schematic diagram of a method of storing application data according to the present application;
FIG. 4 is a schematic structural diagram of an apparatus for storing application data according to the present application;
fig. 5 is a schematic diagram of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
In addition, the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the technical solutions, and when the technical solutions are contradictory or cannot be implemented, the combination of the technical solutions should be considered to be absent, and is not within the scope of protection claimed in the present application.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement conditions, and the like between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is correspondingly changed.
A method for storing application data according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-3. It should be noted that the following application scenario is only shown for the convenience of understanding the spirit and principles of the present application, and embodiments of the present application are not limited in any way in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the video processing method or video processing apparatus of embodiments of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, the server 105 may be a server cluster formed by a plurality of servers.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices with display screens including, but not limited to, smartphones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, the user obtains a start instruction for a target application program in the mobile terminal through the terminal device 103 (also can be the terminal device 101 or 102); detecting whether the target application program is matched with an application program in a periodic application program set, wherein the periodic application program set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period; when it is determined that the target application matches an application in the periodic application set, the target application is started based on the periodic storage time of the target application.
It should be noted that, the video processing method provided in the embodiment of the present application may be executed by one or more of the terminal devices 101, 102, 103 and/or the server 105, and accordingly, the video processing apparatus provided in the embodiment of the present application is generally disposed in the corresponding terminal device and/or the server 105, but the present application is not limited thereto.
The application also provides a method, a device, a target terminal and a medium for storing the application data.
Fig. 2 schematically shows a flow diagram of a method of storing application data according to an embodiment of the present application. As shown in fig. 2, the method includes:
s101, acquiring a starting instruction aiming at a target application program in the mobile terminal.
In this application, the device for obtaining the start instruction is not specifically limited, and may be, for example, an intelligent device or a server. The smart device may be a PC (Personal Computer ), a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group AudioLayer III, moving picture experts compression standard audio layer 3) device for storing application data, an MP4 (Moving Picture ExpertsGroup Audio Layer IV, moving picture experts compression standard audio layer 4) device for storing application data, a portable computer, or a mobile terminal device with a display function.
It should be noted that the application is not limited to the target application, that is, the target application may be any one or more of all applications in the mobile terminal, and the target application may also be any one or more of a specific application set in the mobile terminal. Specific changes to the target application will not affect the scope of the present application.
S102, detecting whether a target application program is matched with an application program in a periodic application program set, wherein the periodic application program set is marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected.
In the application, after a start instruction for a target application program is acquired, the application program can be matched with a preset periodic application set to determine whether the target application program is included in the periodic application set. It can be appreciated that when the target application is detected as an application in the periodic application set, the manner of starting the target application can be further selected according to the periodic application set.
The periodic application set in the application can be a set of application programs marked with periodic storage time. Further, the periodic storage time may be used to remove the corresponding application program from the mobile terminal after the mobile terminal detects that the preset event occurs currently and the target time period elapses.
It should be noted that, the preset event is not specifically limited in this application, for example, the event may be an event when the target application is installed in the mobile terminal, an event that the target application closes a process, an event that stored data corresponding to the target application is greater than a preset threshold, and so on.
For example, taking the target application program a as an illustration, the periodic storage time corresponds to 1 week, when the periodic storage time corresponding to the target application program a is 7 days, the application program a can be removed from the mobile terminal after the mobile terminal detects 7 days after the user downloads and installs the application program a successfully. Alternatively, the application may remove the application a from the mobile terminal after the mobile terminal detects that the user has last used and has closed the application a for 1 day.
It can be understood that the application storage data of the mobile terminal can be reduced by periodically storing the target application program in the mobile terminal, so that the defect of slow running of the mobile terminal due to excessive storage data is avoided.
The target period of time is not specifically limited, and may be, for example, 1 day, 10 days, or the like.
The method for generating the periodic application set is not particularly limited in this application, and may be manually selected and generated by a user, or may be automatically generated for the user according to data such as historical usage habits of the user and preference parameters of the user.
Further, in the solution provided in the embodiment of the present application, in order to avoid the disadvantage that in the related art, only the user can manually delete the application data, which results in complicated user operation, the present application may remove the specific application from the mobile terminal after the target period according to the periodically generated periodic application set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.
It should be noted that, the application data generally does not include functional data supporting normal operation of the application program, and the application data may refer to historical data related to operation behavior of a user and generated during use of the application program by the user. In the solution provided in the embodiment of the present application, the application data to be cleared may include user-defined cleanable data, or may include cleanable data default to the application program itself, or the like.
For example, for an application such as a browser, the user may customize or the application itself may default that the browsing records and data caches generated by the user while using the browser are purged, while the user's saved user name, password, etc. for each website must not be purged. For another example, for applications such as chat software, the user may customize or the application itself may default that the user's chat log, voice information, and picture information, etc. may be purged, while the user's personalized settings, privacy settings, etc. may not be purged.
And S103, when the target application program is determined to be matched with the application programs in the periodic application set, starting the target application program based on the periodic storage time of the target application program.
Further, when the target application program is successfully matched with the application programs in the periodic application set, the method can select a mode for starting the target application program according to the periodic storage time of the target application program.
It will be appreciated that when it is detected that the application has been removed from the mobile terminal due to the period of time for which the target application has been stored periodically, the application may be re-downloaded by the mobile terminal and started for use by the user after the download has been successful. Further, when it is detected that the periodic storage time corresponding to the target application program does not reach the time limit, the application program can be directly started for the user to use.
It should be noted that, when the periodic storage time of the target application program has reached the time limit and the application program is removed from the mobile terminal, since the application program is passively removed from the mobile terminal in order to reduce the storage data of the mobile terminal, when the application program in the periodic application set is removed from the mobile terminal, the icon of the target application program needs to be reserved in the preset area of the mobile terminal, compared with the case that the user actively deletes the application program. The icon of the target application program may be consistent with the icons of other application programs, or may be inconsistent with the icons of other application programs. For example, the display may be semi-transparent in a preset area of the mobile terminal, or may be added with a preset identifier.
It should be further noted that, in the present application, each application program in the periodic application set displayed in the preset area of the mobile terminal is not specifically limited, that is, each application program may be displayed in any area of the mobile terminal. For example, the display page in the application store or the first display page of the mobile terminal.
For example, with the target application program B, the periodic storage time corresponds to 1 day, when the periodic storage time corresponding to the target application program B is 1 day, the application program B may be removed from the mobile terminal after 1 day after the mobile terminal detects that the user has last used and closed the application program B (preset event). Further, when the user is on day 9 of 12.11: 00 starts an application program B, after the application program B is closed at 9:05 minutes, and a starting instruction for starting the application program B is generated again at 12.12 days 8:00, when the application program B is detected to be successfully matched with the application programs in the periodic application set, based on the periodic storage time (24 hours) of the application program B, the application program is determined to not be removed from the mobile terminal in the current time period, and therefore the application program is directly started. Further, when it is detected that the user generates the start instruction for starting the application program B again on the 12.12 day 18:00, the present application determines that the application program has been removed from the mobile terminal in the current period based on the periodic storage time (24 hours) of the application program B when it detects that the application program B is successfully matched with the application programs in the periodic application set, so that the target application program can be selectively downloaded again and started.
In the method, after a starting instruction of a target application program is acquired in the mobile terminal, whether the target application program is matched with the application program in a periodic application set or not can be detected, wherein the periodic application set is an application program set marked with periodic storage time, the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected, and when the target application program is determined to be matched with the application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program. By applying the technical scheme, the specific application program can be removed from the mobile terminal after the target time period according to the periodically generated periodic application program set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.
In another possible implementation manner of the present application, before S101 (acquiring a start instruction for a target application in the mobile terminal), the following manner may be implemented:
acquiring an application program of which the use type is an active application program in the mobile terminal, wherein the active application program is an application program which does not actively start an application process when an instruction of starting the application program by a user is not received;
Based on the active class application program, a periodic application set is established.
Further, in the process of establishing the periodic application set in the present application, the establishment may be performed based on all active application programs in the mobile terminal. Specifically, the application programs can be classified into active type application programs and passive type application programs. The active application program is an application program which does not actively start an application process when an instruction for starting the application program by a user is not received. Such as video class applications, music class applications, payment class applications, etc.
Furthermore, for the passive application program, that is, the application program of the application process can be actively started when the instruction of starting the application program by the user is not received. For example, a chat-like application, it will be appreciated that when the user does not launch the chat-like application, the application may also cause the application process to be actively launched and a reminder message to the user to be actively presented as a result of the other person sending chat information to the user.
Still further, the application can actively select the application program with the active type in the mobile terminal by a user and establish a periodic application set according to the active type application program. The mobile terminal can also set up the periodic application set for the active application program according to the use type.
Optionally, in the process of establishing the periodic application set based on the active application program, the method can be implemented by the following steps:
acquiring an active application program with corresponding application storage data larger than a preset threshold value from the active application programs;
and establishing a periodic application set based on the active class application program with the application storage data larger than a preset threshold value.
Further, after determining each active application program of the mobile terminal, the application program with larger application storage data can be further selected to establish a corresponding periodic application set.
It should be noted that the preset threshold is not specifically limited in this application, and may be, for example, 1GB, 5GB, or the like.
Alternatively, the application may not only establish the periodic application set based on the application storage data of each active class application program, but also select to establish the periodic application set according to the application type, the generation time and the like of the active class application program.
Further optionally, in the process of establishing the periodic application set based on the active application program, the application can be further implemented by the following ways:
setting a periodic storage time for each active application program, wherein the periodic storage time corresponds to a target time period, the periodic storage time is used for reflecting that the application program is removed from the mobile terminal after the target time period when a closing instruction is received, and the closing instruction is an instruction for closing the application program;
And identifying each periodic storage time into the corresponding active class application program, and establishing a periodic application set based on the active class application program and the corresponding periodic storage time.
Further, after determining each active class application program for establishing the periodic application set, the application can set a corresponding periodic storage time for each active class application program. The periodic storage time corresponding to each application program is not limited in this application, and may be, for example, a uniform periodic storage time. Different periodic storage times may also be set for each active class application. In one possible implementation, the corresponding periodic storage time may be set in a targeted manner according to the user's preference.
The periodic storage time is a target time period for reflecting when a closing instruction of closing the application program is received, and the application program is removed from the mobile terminal. The closing instruction may be an instruction generated by a user to close the application program, or may be an instruction generated by the terminal itself to close the application program.
Still further optionally, after the periodic application set is established, the method further comprises the steps of:
when the target application program is determined to be matched with the application programs in the periodic application set, determining whether the target application program is removed or not based on the periodic storage time corresponding to the target application program;
starting the target application program when the target application program is determined not to be removed;
or alternatively, the first and second heat exchangers may be,
downloading the target application when it is determined that the target application is removed;
and starting the target application program when the success of downloading the target application program is detected.
For example, with the target application program C, the periodic storage time corresponds to 10 hours, when the periodic storage time corresponding to the target application program C is 10 hours, the application program C may be removed from the mobile terminal 10 hours after the mobile terminal detects that the user has last used and closed the application program C (preset event). Further, when the user is 18 on day 8.06: 00 starts an application program C, after the application program C is closed at 18:05 minutes, and a starting instruction for starting the application program C is generated again at 22:00 days of 8.06, when the application program C is detected to be successfully matched with the application programs in the periodic application set, based on the periodic storage time (10 hours) of the application program C, the application program is determined to not be removed from the mobile terminal in the current time period, and therefore the application program is directly started. Further, when it is detected that the user generates the start instruction for starting the application program C again on the day 20:00 of 8.07, the present application determines that the application program has been removed from the mobile terminal in the current period based on the periodic storage time (10 hours) of the application program C when it detects that the application program C is successfully matched with the application programs in the periodic application set, so that it may choose to download the target application program again and start the application program.
Further optionally, the method may further be implemented in the process of starting the target application program when the success of downloading the target application program is detected:
when successful downloading of the target application program is detected, determining whether historical application data of the target application program exist or not based on a historical downloading record in the mobile terminal, wherein the historical application data at least comprises user identity data;
when detecting that the historical application data of the target application program exists, starting the target application program by utilizing the historical application data corresponding to the target application program.
Further, in the present application, when it is detected that the target application program has been removed from the mobile terminal, the target application program may be downloaded, and when it is detected that the target application program is successfully downloaded, the target application program is started based on the detected history download record in the mobile terminal. It can be understood that when the history application data of the target application program exists in the history downloading record, the history application data can be loaded into the newly downloaded application program, so that the defect that the user needs to refill the application data after starting the application program is avoided.
The historical application data at least comprises user identity data, such as user ID information, account password information, historical download information, operation parameters and the like.
Further optionally, in an embodiment of the present application, before S101 (acquiring a start instruction for a target application in the mobile terminal), a specific embodiment is further included, as shown in fig. 3, including:
s201, detecting the communication network environment corresponding to the mobile terminal every preset time period to obtain at least two communication detection results.
S202, when it is determined that at least two communication detection results meet preset conditions, a periodic application set is established.
Further, before the periodic application set is established, the communication network environment where the mobile terminal is located may be detected after every preset time period, so as to obtain at least two communication detection results.
It can be understood that only when the plurality of communication detection results of the mobile terminal meet the preset conditions, the communication network environment where the mobile terminal is located is determined to be good, and then a corresponding periodic application set can be established. Furthermore, for the application program in the periodic application set, when the existing time limit exceeds the corresponding periodic storage time, the mobile terminal needs to immediately download the target application program for the user to use, so that the application can be implemented after the network environment in which the mobile terminal is located reaches a certain standard.
It should be noted that the preset conditions are not specifically limited in this application, and may be, for example, 1GB/s, 5GB/s, and so on.
S203, acquiring a starting instruction aiming at a target application program in the mobile terminal.
S204, detecting whether the target application program is matched with the application programs in the periodic application set.
S205, when it is determined that the target application program matches an application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program.
In the method, after a starting instruction of a target application program is acquired in the mobile terminal, whether the target application program is matched with the application program in a periodic application set or not can be detected, wherein the periodic application set is an application program set marked with periodic storage time, the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected, and when the target application program is determined to be matched with the application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program. By applying the technical scheme, the specific application program can be removed from the mobile terminal after the target time period according to the periodically generated periodic application program set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.
In another embodiment of the present application, as shown in fig. 3, the present application further provides an apparatus for storing application data. The device comprises an acquisition module 301, a detection module 302 and a determination module 303, wherein:
an acquiring module 301 configured to acquire a start instruction for a target application in the mobile terminal;
a detection module 302, configured to detect whether the target application program matches an application program in a periodic application set, where the periodic application set is an application program set marked with a periodic storage time, where the periodic storage time is used to remove the application program from the mobile terminal after a target period of time of a preset event is detected;
a determining module 303 is arranged to launch the target application based on the periodic storage time of the target application when it is determined that the target application matches an application in the periodic application set.
In the method, after a starting instruction of a target application program is acquired in the mobile terminal, whether the target application program is matched with the application program in a periodic application set or not can be detected, wherein the periodic application set is an application program set marked with periodic storage time, the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected, and when the target application program is determined to be matched with the application program in the periodic application set, the target application program is started based on the periodic storage time of the target application program. By applying the technical scheme, the specific application program can be removed from the mobile terminal after the target time period according to the periodically generated periodic application program set periodically stored in the mobile terminal. Thereby ensuring that the application data of the useless application program does not occupy the terminal memory data.
In another embodiment of the present application, the obtaining module 301 further includes:
the acquiring module 301 is configured to acquire an active application program of a type of use in the mobile terminal, where the active application program is an application program that does not actively start an application process when an instruction of starting the application program by a user is not received;
an acquisition module 301 is configured to establish the periodic application set based on the active class application program.
In another embodiment of the present application, the obtaining module 301 further includes:
the acquiring module 301 is configured to acquire an active application program with corresponding application storage data greater than a preset threshold value from the active application programs;
the obtaining module 301 is configured to establish the periodic application set based on the active application program with the application storage data greater than a preset threshold.
In another embodiment of the present application, the obtaining module 301, wherein:
an obtaining module 301, configured to set the periodic storage time for each active application program, where the periodic storage time corresponds to the target period of time, and the periodic storage time is used to reflect that the application program is removed from the mobile terminal after the target period of time when a closing instruction is received, where the closing instruction is an instruction for closing the application program;
The obtaining module 301 is configured to identify each of the periodic storage times into a corresponding active class application program, and establish the periodic application set based on the active class application program and the corresponding periodic storage time.
In another embodiment of the present application, the determining module 303, wherein:
a determining module 303 configured to determine, when it is determined that the target application program matches an application program in the periodic application set, whether the target application program is removed based on a periodic storage time corresponding to the target application program;
a determining module 303 configured to launch the target application when it is determined that the target application has not been removed;
or alternatively, the first and second heat exchangers may be,
a determining module 303 configured to download the target application when it is determined that the target application is removed;
the determining module 303 is configured to start the target application when it is detected that the downloading of the target application is successful.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303, configured to determine, when it is detected that the downloading of the target application program is successful, whether there is historical application data of the target application program based on a historical download record in the mobile terminal, where the historical application data includes at least user identity data;
The determining module 303 is configured to start the target application program by using the historical application data corresponding to the target application program when detecting that the historical application data of the target application program exists.
In another embodiment of the present application, further comprising, a determining module 303, wherein:
a determining module 303, configured to detect a communication network environment corresponding to the mobile terminal every a preset time period, so as to obtain at least two communication detection results;
a determining module 303, configured to establish the periodic application set when it is determined that the at least two communication detection results meet a preset condition.
Fig. 5 is a block diagram of a logical structure of an electronic device, according to an example embodiment. For example, electronic device 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 5, an electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores such as a 4-core processor, an 8-core processor, etc. The processor 401 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 401 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 401 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 401 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 402 is used to store at least one instruction for execution by processor 401 to implement the interactive special effects calibration method provided by the method embodiments herein.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402, and peripheral interface 403 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 403 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, a touch display screen 405, a camera assembly 406, audio circuitry 407, a positioning assembly 408, and a power supply 409.
Peripheral interface 403 may be used to connect at least one Input/Output (I/O) related peripheral to processor 401 and memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 401, memory 402, and peripheral interface 403 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 404 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 404 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 404 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 404 may also include NFC (Near Field Communication ) related circuitry, which is not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to collect touch signals at or above the surface of the display screen 405. The touch signal may be input as a control signal to the processor 401 for processing. At this time, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, providing a front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, and disposed on different surfaces of the electronic device 400 or in a folded design; in still other embodiments, the display 405 may be a flexible display disposed on a curved surface or a folded surface of the electronic device 400. Even more, the display screen 405 may be arranged in an irregular pattern that is not rectangular, i.e. a shaped screen. The display 405 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple and separately disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuit 407 may also include a headphone jack.
The location component 408 is used to locate the current geographic location of the electronic device 400 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 408 may be a positioning component based on the united states GPS (Global Positioning System ), the beidou system of china, the grainer system of russia, or the galileo system of the european union.
The power supply 409 is used to power the various components in the electronic device 400. The power supply 409 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When power supply 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 400 further includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyroscope sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the electronic device 400. For example, the acceleration sensor 411 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 401 may control the touch display screen 405 to display a user interface in a lateral view or a longitudinal view according to the gravitational acceleration signal acquired by the acceleration sensor 411. The acceleration sensor 411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may collect a 3D motion of the user on the electronic device 400 in cooperation with the acceleration sensor 411. The processor 401 may implement the following functions according to the data collected by the gyro sensor 412: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 413 may be disposed at a side frame of the electronic device 400 and/or at an underlying layer of the touch screen 405. When the pressure sensor 413 is disposed on a side frame of the electronic device 400, a grip signal of the user on the electronic device 400 may be detected, and the processor 401 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 414 is used to collect a fingerprint of the user, and the processor 401 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 401 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 414 may be provided on the front, back, or side of the electronic device 400. When a physical key or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical key or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 according to the ambient light intensity collected by the optical sensor 415. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 405 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
A proximity sensor 416, also referred to as a distance sensor, is typically provided on the front panel of the electronic device 400. The proximity sensor 416 is used to collect distance between the user and the front of the electronic device 400. In one embodiment, when the proximity sensor 416 detects a gradual decrease in the distance between the user and the front of the electronic device 400, the processor 401 controls the touch display 405 to switch from the bright screen state to the off screen state; when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually increases, the processor 401 controls the touch display screen 405 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 4 is not limiting of the electronic device 400 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium including instructions, such as a memory 402 including instructions, executable by the processor 401 of the electronic device 400 to perform the above-described method of storing application data, the method comprising: acquiring a starting instruction aiming at a target application program in a mobile terminal; detecting whether the target application program is matched with an application program in a periodic application program set, wherein the periodic application program set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period; when it is determined that the target application matches an application in the periodic application set, the target application is started based on the periodic storage time of the target application. Optionally, the above instructions may also be executed by the processor 401 of the electronic device 400 to perform the other steps involved in the above-described exemplary embodiments. Optionally, the above instructions may also be executed by the processor 401 of the electronic device 400 to perform the other steps involved in the above-described exemplary embodiments. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 401 of the electronic device 400 to perform the above-described method of storing application data, the method comprising: acquiring a starting instruction aiming at a target application program in a mobile terminal; detecting whether the target application program is matched with an application program in a periodic application program set, wherein the periodic application program set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period; when it is determined that the target application matches an application in the periodic application set, the target application is started based on the periodic storage time of the target application. Optionally, the above instructions may also be executed by the processor 401 of the electronic device 400 to perform the other steps involved in the above-described exemplary embodiments. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of storing application data, comprising:
acquiring a starting instruction aiming at a target application program in a mobile terminal;
detecting whether the target application program is matched with an application program in a periodic application set, wherein the periodic application set is an application program set marked with periodic storage time, and the periodic storage time is used for removing the application program from the mobile terminal after a target time period of a preset event is detected;
when it is determined that the target application matches an application in the periodic application set, the target application is started based on the periodic storage time of the target application.
2. The method of claim 1, further comprising, prior to the obtaining the start instruction for the target application in the mobile terminal:
acquiring an active application program of the type used in the mobile terminal, wherein the active application program is an application program which does not actively start an application process when an instruction of starting the application program by a user is not received;
And establishing the periodic application set based on the initiative class application program.
3. The method of claim 2, wherein the establishing the periodic set of applications based on the proactive class application comprises:
acquiring an active application program with corresponding application storage data larger than a preset threshold value from the active application programs;
and establishing the periodic application set based on the active class application program with the application storage data larger than a preset threshold value.
4. A method according to claim 2 or 3, wherein said establishing said periodic set of applications based on said proactive class application comprises:
setting the periodic storage time for each active application program, wherein the periodic storage time corresponds to the target time period, and the periodic storage time is used for reflecting that the application program is removed from the mobile terminal after the target time period when a closing instruction is received, and the closing instruction is an instruction for closing the application program;
and identifying each periodic storage time into a corresponding active class application program, and establishing the periodic application set based on the active class application program and the corresponding periodic storage time.
5. The method of claim 4, further comprising, after the establishing the periodic application set based on the active class application program and the corresponding periodic storage time:
when the target application program is determined to be matched with the application programs in the periodic application set, determining whether the target application program is removed or not based on the periodic storage time corresponding to the target application program;
starting the target application program when the target application program is determined not to be removed;
or alternatively, the first and second heat exchangers may be,
downloading the target application when it is determined that the target application is removed;
and starting the target application program when the success of downloading the target application program is detected.
6. The method of claim 5, wherein the launching the target application when successful download of the target application is detected comprises:
when successful downloading of the target application program is detected, determining whether the target application program is an application program downloaded for the first time or not based on a historical downloading record in the mobile terminal;
when the target application program is determined to be an application program which is not downloaded for the first time, acquiring historical application data corresponding to the target application program, wherein the historical application data at least comprises user identity data;
And starting the target application program by utilizing the historical application data corresponding to the target application program.
7. The method of claim 1, further comprising, prior to the obtaining the start instruction for the target application in the mobile terminal:
detecting the communication network environment corresponding to the mobile terminal every preset time period to obtain at least two communication detection results;
and when the at least two communication detection results meet the preset conditions, establishing the periodic application set.
8. An apparatus for storing application data, comprising:
the acquisition module is arranged to acquire a starting instruction aiming at a target application program in the mobile terminal;
the detection module is used for detecting whether the target application program is matched with an application program in a periodic application set, wherein the periodic application set is a set of application programs marked with periodic storage identifiers in the mobile terminal;
and the determining module is used for starting the target application program based on the periodical storage time of the target application program when the target application program is determined to be matched with the application programs in the periodical application set.
9. An electronic device, comprising:
a memory for storing executable instructions; the method comprises the steps of,
a processor operative to communicate with the memory to execute the executable instructions to perform the operations of the method of storing application data as claimed in any one of claims 1 to 7.
10. A computer readable storage medium storing computer readable instructions, which when executed perform the operations of the method of storing application data of any one of claims 1-7.
CN201911373407.8A 2019-12-27 2019-12-27 Method, device, electronic equipment and medium for storing application data Active CN111158780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911373407.8A CN111158780B (en) 2019-12-27 2019-12-27 Method, device, electronic equipment and medium for storing application data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911373407.8A CN111158780B (en) 2019-12-27 2019-12-27 Method, device, electronic equipment and medium for storing application data

Publications (2)

Publication Number Publication Date
CN111158780A CN111158780A (en) 2020-05-15
CN111158780B true CN111158780B (en) 2023-06-27

Family

ID=70556947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911373407.8A Active CN111158780B (en) 2019-12-27 2019-12-27 Method, device, electronic equipment and medium for storing application data

Country Status (1)

Country Link
CN (1) CN111158780B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631152B (en) * 2020-11-23 2022-09-20 杭州易现先进科技有限公司 AR-based application program starting method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843367A (en) * 2016-03-24 2016-08-10 维沃移动通信有限公司 Application processing method and electronic device
CN107463416A (en) * 2017-08-22 2017-12-12 广东小天才科技有限公司 A kind of application management method, application program management device and intelligent terminal
CN107734616B (en) * 2017-10-31 2021-01-15 Oppo广东移动通信有限公司 Application program closing method and device, storage medium and electronic equipment
CN110502246A (en) * 2018-05-17 2019-11-26 张碧华 Convenient for the recommended method of application program unloading
CN109117153B (en) * 2018-08-28 2022-06-03 上海闻泰电子科技有限公司 Application processing method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111158780A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US20200285439A1 (en) Method and apparatus of playing audio data
CN110278464B (en) Method and device for displaying list
CN109948087B (en) Webpage resource obtaining method and device and terminal
CN110740340B (en) Video live broadcast method and device and storage medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN110990341A (en) Method, device, electronic equipment and medium for clearing data
CN110007981B (en) Method and device for starting application program, electronic equipment and medium
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
US11720219B2 (en) Method, apparatus and device for displaying lyric, and storage medium
CN110020690B (en) Cheating behavior detection method, device and storage medium
CN110290191B (en) Resource transfer result processing method, device, server, terminal and storage medium
CN109783176B (en) Page switching method and device
CN110297684B (en) Theme display method and device based on virtual character and storage medium
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN110825465A (en) Log data processing method and device, electronic equipment and storage medium
CN112860046A (en) Method, apparatus, electronic device and medium for selecting operation mode
CN113099378B (en) Positioning method, device, equipment and storage medium
CN113836426A (en) Information pushing method and device and electronic equipment
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN107948171B (en) User account management method and device
CN110933237A (en) Call method, device, electronic equipment and medium
CN113495770A (en) Method, device, terminal and storage medium for displaying application page

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