CN110928600A - Cleaning method and device for terminal background application, mobile terminal and electronic equipment - Google Patents
Cleaning method and device for terminal background application, mobile terminal and electronic equipment Download PDFInfo
- Publication number
- CN110928600A CN110928600A CN201911146745.8A CN201911146745A CN110928600A CN 110928600 A CN110928600 A CN 110928600A CN 201911146745 A CN201911146745 A CN 201911146745A CN 110928600 A CN110928600 A CN 110928600A
- Authority
- CN
- China
- Prior art keywords
- application
- interactive interface
- terminal
- background application
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004140 cleaning Methods 0.000 title claims abstract description 45
- 230000002452 interceptive effect Effects 0.000 claims abstract description 78
- 238000012549 training Methods 0.000 claims description 5
- 238000007781 pre-processing Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The disclosure provides a method and a device for cleaning a terminal background application, a mobile terminal, electronic equipment and a storage medium. The method comprises the following steps: and responding to terminal blockage, displaying an interactive interface for cleaning the background application, if the click operation of the user on the background application in the interactive interface is detected, closing the background application corresponding to the click operation, and displaying the interactive interface to enable the user to click the background application which the user wants to close based on the interactive interface, so that the background application is closed, the flexibility of cleaning the background application is realized, and the technical effect of user experience is improved.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for cleaning a terminal background application, a mobile terminal, an electronic device, and a storage medium.
Background
With the popularization of internet applications, applications installed on terminals (such as mobile phones, computers, ipads, smartwatches, smartbands, notebooks, handheld mini computers, and the like) are gradually increasing, such as applications related to games, applications corresponding to shopping, applications related to traveling, and the like, and a technology for cleaning applications on a background of a terminal is developed to avoid the problem of reduction in the running rate of the terminal due to reduction of available resources (such as storage resources) of the terminal.
In the prior art, cleaning of background applications of a terminal is mainly realized in two ways, one way is to acquire a vibration signal generated by ambient airflow for the terminal, judge whether the vibration frequency of the vibration signal meets a first preset condition, and if the vibration frequency meets the first preset condition, start the cleaning function of the terminal to clean the background applications; the other is that if the delay time of the terminal interface responding to the user operation instruction exceeds a first preset time threshold, the response delay action is marked; and cleaning the application running in the background of the terminal when the number of the marks exceeds a preset threshold value within second preset time.
Disclosure of Invention
The disclosure provides a method and a device for cleaning a terminal background application, a mobile terminal, electronic equipment and a storage medium.
In one aspect, an embodiment of the present disclosure provides a method for cleaning a background application of a terminal, where the method includes:
responding to terminal blockage, and displaying an interactive interface for cleaning background application;
and if the click operation of the user on the background application in the interactive interface is detected, closing the background application corresponding to the click operation.
In some embodiments, before the displaying the interactive interface for cleaning up the background application, the method further comprises:
responding to the terminal card pause, and determining active application and inactive application in the background application according to a preset LSTM model;
allocating a first identifier for the active application and allocating a second identifier for the inactive application, wherein the first identifier and the second identifier are different identifiers;
and displaying an interactive interface for cleaning background applications, comprising:
and displaying an interactive interface of the active application carrying the first identification and the inactive application carrying the second identification.
In some embodiments, the step of determining the LSTM model comprises:
acquiring recorded data of each application run by the terminal in a preset first time period;
preprocessing the recorded data to obtain sample data, wherein the sample data at least comprises time parameters, position parameters and times of running of each application;
and training according to the sample data and the initial network model to obtain the LSTM model.
In some embodiments, after the closing the background application corresponding to the click operation, the method further includes:
responding to the terminal still being stuck, and judging whether the background application comprises the inactive application;
if so, closing the inactive application.
In some embodiments, before the step of closing the background application corresponding to the click operation if the click operation of the user on the background application in the interactive interface is detected, the method further includes:
and responding to the situation that the operation of the user on the interactive interface is not detected within a preset second time period, and outputting voice information for prompting the user to operate the interactive interface.
In some embodiments, the method further comprises:
and if the sliding operation of the user on the interactive interface is detected, closing the interactive interface.
On the other hand, the embodiment of the present disclosure further provides a device for cleaning a background application of a terminal, where the device includes:
the display module is used for responding to the terminal pause and displaying an interactive interface for cleaning the background application;
and the first closing module is used for closing the background application corresponding to the click operation if the click operation of the user on the background application in the interactive interface is detected.
In some embodiments, the apparatus further comprises:
the first determining module is used for responding to the terminal pause and determining active application and inactive application in the background application according to a preset LSTM model;
the allocation module is used for allocating a first identifier for the active application and allocating a second identifier for the inactive application, wherein the first identifier and the second identifier are different identifiers;
and the display module is used for displaying the interactive interface of the active application carrying the first identifier and the inactive application carrying the second identifier.
In some embodiments, the apparatus further comprises:
the second determining module is used for acquiring the recorded data of each application operated by the terminal in a preset first time period;
preprocessing the recorded data to obtain sample data, wherein the sample data at least comprises time parameters, position parameters and times of running of each application;
and training according to the sample data and the initial network model to obtain the LSTM model.
In some embodiments, the apparatus further comprises:
the judging module is used for responding to the fact that the terminal is still stuck and judging whether the background application comprises the inactive application or not;
and the second closing module is used for closing the inactive application if the active application is not the active application.
In some embodiments, the apparatus further comprises:
and the output module is used for responding to the situation that the operation of the user on the interactive interface is not detected in a preset second time period, outputting voice information and prompting the user to operate the interactive interface.
In some embodiments, the first closing module is further configured to close the interactive interface if the sliding operation of the user on the interactive interface is detected.
In another aspect, this disclosed embodiment also provides a mobile terminal, which includes the apparatus as described in any of the above embodiments.
In another aspect, an embodiment of the present disclosure further provides an electronic device, including: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein the processor, when executing the instructions in the memory, is configured to implement a method as in any of the embodiments above.
In another aspect, the disclosed embodiments also provide a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions are used to implement the method according to any one of the above embodiments.
The method and the device for clearing the background application respond to terminal jamming, an interactive interface used for clearing the background application is displayed, if the clicking operation of a user on the background application in the interactive interface is detected, the background application corresponding to the clicking operation is closed, the user can click the background application which the user wants to close based on the interactive interface through displaying the interactive interface, the closing of the background application is further achieved, the flexibility of clearing the background application is achieved, and the technical effect of user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a scene schematic diagram of a method for cleaning a background application of a terminal according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for cleaning a background application of a terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic interface diagram of a terminal in a card pause according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram of a pop-up interactive interface from below a cell phone screen according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of an interactive interface including an active application and an inactive application of an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a method of determining an LSTM model according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of an LSMT model of an embodiment of the disclosure;
fig. 8 is a schematic block diagram of a cleaning apparatus for a terminal background application according to an embodiment of the present disclosure;
fig. 9 is a schematic block diagram of a cleaning apparatus for a terminal background application according to another embodiment of the present disclosure;
fig. 10 is a schematic block diagram of a cleaning apparatus for a background application of a terminal according to another embodiment of the present disclosure;
fig. 11 is a schematic block diagram of a cleaning apparatus for a terminal background application according to another embodiment of the present disclosure;
fig. 12 is a schematic block diagram of a cleaning apparatus for a background application of a terminal according to another embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
reference numerals: 10. the mobile phone comprises a mobile phone body, 20 parts of a user, 1 part of a display module, 2 parts of a first closing module, 3 parts of a first determining module, 4 parts of a distribution module, 5 parts of a second determining module, 6 parts of a judging module, 7 parts of a second closing module, 8 parts of an output module.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The method for cleaning the background application of the terminal provided by the embodiment of the disclosure can be applied to the scene shown in fig. 1.
The main body executing the method for cleaning the terminal background application according to the embodiment of the present disclosure may be a cleaning device for the terminal background application, where the device includes, but is not limited to, a server (such as a cloud server or a local server) and a terminal, or a client disposed in the terminal, and the like. And, the terminal includes, but is not limited to, a mobile phone, an iPad, a palmtop computer, and a car terminal.
In the application scenario shown in fig. 1, the terminal may be a mobile phone 10, and the user 20 may interact with the mobile phone 10 by means of a touch screen or by means of voice. For example, the user may unlock the mobile phone screen saver by sliding to unlock the mobile phone screen saver, or unlock the mobile phone screen saver by a voice instruction, and the interface after the mobile phone 10 is successfully unlocked may be the interface of the mobile phone 10 shown in fig. 1.
The user 20 may enter the corresponding application, such as a movie-related application, a travel-related application, a weather-related application, and the like, by clicking the icon.
It will be appreciated that, in general, when the user 20 switches the first application to the second application (where the first application and the second application are different applications), the state of the first application is changed from the foreground application to the background application, and the first application running in the background may reduce the running rate of the handset 10.
For example: the first application can be shopping APP, the second application can be video APP, after the shopping of the user 20 through the shopping APP is finished, the movie is watched through the video APP, then the shopping APP runs in the background of the mobile phone 10, and the user 20 finds that the movie playing is not smooth.
By executing the method for cleaning the background application of the terminal according to the embodiment of the disclosure, the mobile phone 10 can realize the technical effects of closing the background shopping APP, releasing the memory of the mobile phone 10, recovering the smoothness of movie playing, improving the viewing experience of the user 20, and the like.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
In one aspect, the embodiment of the present disclosure provides a method for cleaning a terminal background application applicable to the application scenario.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for cleaning a background application of a terminal according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes:
s201: and responding to the terminal pause, and displaying an interactive interface for cleaning the background application.
In conjunction with the application scenario shown in fig. 1, in some embodiments, the mobile phone sets a time interval in factory setting, so as to detect whether the mobile phone is stuck every time interval.
In other embodiments, the time interval may also be set and modified by the user based on the requirement, so as to detect whether the mobile phone is stuck or not at each corresponding time interval.
In some embodiments, the method for detecting whether the terminal is stuck comprises:
s1: and acquiring the resource utilization rate of the terminal and the waiting time of foreground application.
S2: and determining that the terminal is blocked in response to the fact that the resource utilization rate is greater than a preset first threshold and the waiting time is greater than a preset second threshold.
Similarly, the first threshold and the second threshold may be set by a manufacturer or may be set by a user based on a requirement.
Among them, in some embodiments, S2 may include: judging the resource utilization rate and the first threshold value, if the resource utilization rate is greater than the first threshold value, judging the waiting time length and the second threshold value, and if the waiting time length is greater than the second threshold value, determining that the terminal is blocked. Or,
in other embodiments, S2 may include: and judging the size of the waiting time and a second threshold, if the waiting time is greater than the second threshold, judging the size of the resource utilization rate and a first threshold, and if the resource utilization rate is greater than the first threshold, determining that the terminal is blocked.
In some embodiments, whether the terminal is stuck may be visually revealed by displaying a different shape, or a certain shape of a different color, in the status bar.
For example: if it is determined that the terminal is stuck, an ellipse is displayed in the status bar, as shown in fig. 3 (fig. 3 is an interface diagram when the terminal is stuck according to the embodiment of the present disclosure).
In some embodiments, if the terminal is not stuck, an ellipse may be displayed in the status bar; if the terminal is stuck, a triangle may be displayed in the status bar.
In other embodiments, the status bar may be changed by setting an ellipse in the status bar, and the ellipse may be green when the terminal is not stuck; when the resource utilization rate is greater than a first threshold value and the terminal is not blocked, the oval color can be switched from green to orange; when the terminal is stuck, the orange ellipse can be switched to the red ellipse.
Where changes in shape and/or color, etc. may be made by a user, the foregoing is merely exemplary and is not to be construed as limiting the scope of the embodiments of the disclosure.
In the embodiment of the disclosure, if the mobile phone is stuck, an interactive interface is displayed on a display screen of the mobile phone, so that background application is cleaned based on the interactive interface.
In some embodiments, the interactive interface can be popped up from the upper part of the screen of the mobile phone, or from the lower part of the screen of the mobile phone, or from the left part of the screen of the mobile phone, or from the right part of the screen of the mobile phone. Fig. 4 is a schematic diagram of an interaction interface popped up from below a mobile phone screen according to an embodiment of the disclosure.
In some embodiments, the manner in which the interactive interface is ejected and the shape of the interactive interface may be set by the user.
S202: and if the click operation of the user on the background application in the interactive interface is detected, closing the background application corresponding to the click operation.
Based on the above example, the interactive interface is displayed on the screen of the mobile phone, the background applications are displayed, the user can click any background application in the interactive interface, and the mobile phone closes the corresponding background application according to the click operation of the user.
In the step, the user can click the background application with lower use frequency based on the self requirement, so that the user experience is improved, and the flexibility of background application cleaning is improved.
In some embodiments, S202 may include: and if the click operation of the user on the background application in the interactive interface is detected, determining the click duration of the user, and closing the background application corresponding to the click operation in response to the fact that the duration is greater than a third threshold value.
That is to say, when the mobile phone detects a click operation of a user on a background application in the interactive interface, the click operation is timed to obtain a difference value between a time when the click operation starts and a time when the click operation ends, that is, to obtain a duration, the duration is compared with a third threshold to determine a size between the duration and the third threshold, if the duration is greater than the third threshold, the background application corresponding to the click operation is closed, and if the duration is less than or equal to the third threshold, the background application corresponding to the click operation is not closed for the moment.
Similarly, the third threshold may also be set by the user based on the requirements.
By comparing the duration with the third threshold value, whether the background application corresponding to the click operation is closed or not is determined, the problem that inconvenience is brought to a user due to closing of the background application caused by misoperation of the user can be avoided, normal use of the mobile phone by the user is guaranteed, and the technical effect of improving user experience is achieved.
The embodiment of the disclosure provides a new method for cleaning a terminal background application, which comprises the following steps: and responding to terminal blockage, displaying an interactive interface for cleaning the background application, if the click operation of the user on the background application in the interactive interface is detected, closing the background application corresponding to the click operation, and displaying the interactive interface to enable the user to click the background application which the user wants to close based on the interactive interface, so that the background application is closed, the flexibility of cleaning the background application is realized, and the technical effect of user experience is improved.
In some embodiments, before determining that the terminal is stuck and displaying the interactive interface, the method further includes:
s01: and determining active applications and inactive applications in the background applications according to a preset LSTM model.
In the step, the background application is classified through the LSTM model, and the background application is divided into active application and inactive application.
Wherein the active application may be an application with a user usage frequency greater than or equal to a frequency threshold, and the inactive application may be an application with a user usage frequency less than the frequency threshold.
S02: a first identity is assigned to the active application and a second identity is assigned to the inactive application, wherein the first identity and the second identity are different identities.
Similarly, the first identifier and the second identifier may be set by the user.
In some embodiments, the first indicia and the second indicia may be different shapes, such as a circle for the first indicia and a rectangle for the second indicia.
In other embodiments, the first indicia and the second indicia may be different colors, the first indicia being green and the second indicia being red.
And displaying an interactive interface for cleaning the background application comprises: and displaying an interactive interface of the active application carrying the first identification and the inactive application carrying the second identification.
Referring to fig. 5, fig. 5 is a schematic diagram of an interaction interface including an active application and an inactive application according to an embodiment of the present disclosure, where a first identifier is a circle, that is, the payroll application is an active application; the second mark is a rectangle, i.e. the hundredth map application is an inactive application.
As can be seen in connection with fig. 6 (fig. 6 is a schematic diagram of a method for determining an LSTM model according to an embodiment of the disclosure), in some embodiments, the step of determining an LSTM model includes:
s61: and acquiring recorded data of each application run by the terminal in a preset first time period.
Wherein the first time period may be set based on demand, such as half a year.
S62: and preprocessing the recorded data to obtain sample data, wherein the sample data at least comprises a time parameter, a position parameter and times of running each application.
S63: and training according to the sample data and the initial network model to obtain an LSTM model.
In the embodiment of the disclosure, the recorded data is preprocessed to obtain sample data including time parameters, position parameters and times, habits of users using each application and time sequence sequences of the applications are fully considered, and therefore the accuracy of the trained LSTM model can be achieved.
In the embodiment of the present disclosure, a depth network model of a 10-layer LSTM structure can be adopted, and a schematic structural diagram of the LSMT model can be seen in fig. 7, where the LSTM model includes three gates, respectively: forget gate, input gate, output gate. The forgetting gate has the function of determining the forgetting degree of the historical state information, the input gate has the updating degree of controlling the new state information, and the output gate has the function of controlling which information is output.
In the schematic diagram shown in FIG. 7, xt is sample data at time t, ht-1 is an output state learned by the sample data to length t-1, ct-1 is a state learned by the sample data to length t-1, and ct is a state learned by the sample data to length t.
In some embodiments, after closing the background application of the click operation, the method further comprises:
s203: and responding to the terminal being still stuck, judging whether the background application comprises the inactive application, and if so, executing S204.
Based on the above example, after the background application that the user performed the click operation is deleted by the mobile phone, the mobile phone is still stuck, and then the mobile phone determines whether the background application further includes an inactive application.
S204: the inactive application is closed.
In this step, if the mobile phone is still stuck and the background application still includes the inactive application, the inactive application may be closed to ensure normal operation of the mobile phone, thereby satisfying the technical effect of normal use of the foreground application by the user.
In some embodiments, if the determination result in S203 is negative, that is, there is no inactive application in the background application, but all the applications are active applications, the resource occupancy rate of each active application may be calculated, and the active application with the largest resource occupancy rate is sequentially closed, so as to ensure normal operation of the mobile phone.
In other embodiments, if the determination result of S203 is negative, that is, there are no inactive applications in the background application, but all active applications, all active applications may be closed, or one or more active applications may be closed randomly, so that the mobile phone is no longer stuck.
In some embodiments, prior to S202, the method further comprises:
s201': and responding to the situation that the operation of the user on the interactive interface is not detected in the preset second time period, and outputting voice information for prompting the user to operate the interactive interface.
Similarly, the second time period may be set by the user based on the need, such as 1 minute.
Based on the above example, the interactive interface is displayed on the screen of the mobile phone, and if the mobile phone does not detect the operation of the user on the interactive interface within 1 minute, the voice information is output to prompt the user to operate the interactive interface in a voice manner.
In some embodiments, the method further comprises: and if the sliding operation of the user on the interactive interface is detected, closing the interactive interface.
The sliding operation mode can be set by a user, such as sliding, or combining sliding graphics.
For example: and displaying an interactive interface on a mobile phone screen, and closing the interactive interface if the sliding operation of the user on the interactive interface, such as an upward sliding operation, a downward sliding operation, a leftward sliding operation or a rightward sliding operation, is detected. Or,
and displaying an interactive interface on a screen of the mobile phone, and if the situation that the user slides on the interactive interface and the sliding graph is in a hook shape or a circle shape is detected, closing the interactive interface.
According to another aspect of the embodiment of the disclosure, a cleaning device for a background application of a terminal is further provided.
Referring to fig. 8, fig. 8 is a schematic block diagram of a cleaning device for a terminal background application according to an embodiment of the present disclosure.
As shown in fig. 8, the apparatus includes:
the display module 1 is used for responding to terminal blockage and displaying an interactive interface for cleaning background application;
and the first closing module 2 is configured to close the background application corresponding to the click operation if the click operation of the user on the background application in the interactive interface is detected.
As can be seen in conjunction with fig. 9, in some embodiments, the apparatus further comprises:
the first determining module 3 is configured to determine, in response to the terminal stuck, an active application and an inactive application in the background application according to a preset LSTM model;
an allocating module 4, configured to allocate a first identifier to the active application and allocate a second identifier to the inactive application, where the first identifier and the second identifier are different identifiers;
and the display module 1 is configured to display an interactive interface of the active application carrying the first identifier and the inactive application carrying the second identifier.
As can be seen in conjunction with fig. 10, in some embodiments, the apparatus further comprises:
and the second determining module 5 is configured to obtain recorded data of each application run by the terminal within a preset first time period, preprocess the recorded data to obtain sample data, where the sample data at least includes a time parameter, a position parameter, and a frequency of the running of each application, and obtain the LSTM model according to the sample data and the initial network model training.
As can be seen in fig. 11, in some embodiments, the apparatus further includes:
the judging module 6 is configured to, in response to that the terminal is still stuck, judge whether the background application includes the inactive application;
a second closing module 7, configured to close the inactive application if the active application is detected to be inactive.
As can be seen in conjunction with fig. 12, in some embodiments, the apparatus further comprises:
and the output module 8 is configured to output voice information in response to that the operation of the user on the interactive interface is not detected within a preset second time period, and is configured to prompt the user to operate the interactive interface.
In some embodiments, the first closing module 2 is further configured to close the interactive interface if the sliding operation of the user on the interactive interface is detected.
According to another aspect of the embodiments of the present disclosure, there is also provided a mobile terminal including the apparatus in any of the embodiments.
According to another aspect of the embodiments of the present disclosure, there is also provided an electronic device, including: a memory, a processor;
a memory for storing processor-executable instructions;
wherein, when executing the instructions in the memory, the processor is configured to implement the method of any of the embodiments above.
Referring to fig. 13, fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 13, the electronic device includes a memory and a processor, and the electronic device may further include a communication interface and a bus, wherein the processor, the communication interface, and the memory are connected by the bus; the processor is used to execute executable modules, such as computer programs, stored in the memory.
The Memory may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Via at least one communication interface, which may be wired or wireless), the communication connection between the network element of the system and at least one other network element may be implemented using the internet, a wide area network, a local network, a metropolitan area network, etc.
The bus may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
The memory is used for storing a program, and the processor executes the program after receiving an execution instruction.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
According to another aspect of the embodiments of the present disclosure, there is also provided a computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the method according to any one of the embodiments.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present disclosure.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should also be understood that, in the embodiments of the present disclosure, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
While the present disclosure has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (10)
1. A method for cleaning a background application of a terminal is characterized by comprising the following steps:
responding to terminal blockage, and displaying an interactive interface for cleaning background application;
and if the click operation of the user on the background application in the interactive interface is detected, closing the background application corresponding to the click operation.
2. The method of claim 1, wherein prior to the displaying the interactive interface for cleaning up background applications, the method further comprises:
responding to the terminal card pause, and determining active application and inactive application in the background application according to a preset LSTM model;
allocating a first identifier for the active application and allocating a second identifier for the inactive application, wherein the first identifier and the second identifier are different identifiers;
and displaying an interactive interface for cleaning background applications, comprising:
and displaying an interactive interface of the active application carrying the first identification and the inactive application carrying the second identification.
3. The method of claim 2, wherein the step of determining the LSTM model comprises:
acquiring recorded data of each application run by the terminal in a preset first time period;
preprocessing the recorded data to obtain sample data, wherein the sample data at least comprises time parameters, position parameters and times of running of each application;
and training according to the sample data and the initial network model to obtain the LSTM model.
4. The method according to claim 2, wherein after the closing of the background application corresponding to the click operation, the method further comprises:
responding to the terminal still being stuck, and judging whether the background application comprises the inactive application;
if so, closing the inactive application.
5. The method according to any one of claims 1 to 4, wherein before the step of closing a background application corresponding to a click operation if the click operation of a user on the background application in the interactive interface is detected, the method further includes:
and responding to the situation that the operation of the user on the interactive interface is not detected within a preset second time period, and outputting voice information for prompting the user to operate the interactive interface.
6. The method according to any one of claims 1 to 4, further comprising:
and if the sliding operation of the user on the interactive interface is detected, closing the interactive interface.
7. A cleaning device for a background application of a terminal is characterized by comprising:
the display module is used for responding to the terminal pause and displaying an interactive interface for cleaning the background application;
and the first closing module is used for closing the background application corresponding to the click operation if the click operation of the user on the background application in the interactive interface is detected.
8. The apparatus of claim 7, further comprising:
the first determining module is used for responding to the terminal pause and determining active application and inactive application in the background application according to a preset LSTM model;
the allocation module is used for allocating a first identifier for the active application and allocating a second identifier for the inactive application, wherein the first identifier and the second identifier are different identifiers;
and the display module is used for displaying the interactive interface of the active application carrying the first identifier and the inactive application carrying the second identifier.
9. An electronic device, comprising: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein the processor, when executing the instructions in the memory, is configured to implement the method of any of claims 1 to 6.
10. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911146745.8A CN110928600A (en) | 2019-11-21 | 2019-11-21 | Cleaning method and device for terminal background application, mobile terminal and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911146745.8A CN110928600A (en) | 2019-11-21 | 2019-11-21 | Cleaning method and device for terminal background application, mobile terminal and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110928600A true CN110928600A (en) | 2020-03-27 |
Family
ID=69850498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911146745.8A Pending CN110928600A (en) | 2019-11-21 | 2019-11-21 | Cleaning method and device for terminal background application, mobile terminal and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110928600A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112181515A (en) * | 2020-09-18 | 2021-01-05 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
US11163618B1 (en) | 2020-07-24 | 2021-11-02 | Citrix Systems, Inc. | Auto termination of applications based on application and user activity |
CN114528039A (en) * | 2021-01-08 | 2022-05-24 | 蒋耕银 | Background application cleaning system based on big data |
-
2019
- 2019-11-21 CN CN201911146745.8A patent/CN110928600A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11163618B1 (en) | 2020-07-24 | 2021-11-02 | Citrix Systems, Inc. | Auto termination of applications based on application and user activity |
WO2022016481A1 (en) * | 2020-07-24 | 2022-01-27 | Citrix Systems, Inc. | Auto termination of applications based on application and user activity |
US11550645B2 (en) | 2020-07-24 | 2023-01-10 | Citrix Systems, Inc. | Auto termination of applications based on application and user activity |
CN112181515A (en) * | 2020-09-18 | 2021-01-05 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
CN112181515B (en) * | 2020-09-18 | 2024-05-24 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
CN114528039A (en) * | 2021-01-08 | 2022-05-24 | 蒋耕银 | Background application cleaning system based on big data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107643977B (en) | Anti-addiction method and related product | |
US20190121537A1 (en) | Information displaying method and device, and electronic device | |
KR101706359B1 (en) | Method and device for controlling background application | |
CN107026842B (en) | Method and device for generating security problem and verifying identity | |
CN105141496B (en) | A kind of instant communication message playback method and device | |
CN110928600A (en) | Cleaning method and device for terminal background application, mobile terminal and electronic equipment | |
CN107807847B (en) | Application process management method and terminal equipment | |
CN105512545B (en) | Access rights management method and device | |
US10474507B2 (en) | Terminal application process management method and apparatus | |
CN105653323A (en) | Application program management method and device | |
CN106951766A (en) | scene mode switching method and device of intelligent terminal | |
CN106815509B (en) | Multimedia file protection method and device and electronic equipment | |
CN104536787B (en) | Resource preloads method and device | |
CN107566642A (en) | Method and device for switching function modes and intelligent terminal | |
CN110868693A (en) | Application program flow control method, terminal device and storage medium | |
CN106775193A (en) | Application program interface display method and device | |
CN106227483B (en) | Display control method and mobile terminal | |
CN108572866B (en) | Application program management method, application program management device and mobile terminal | |
CN107728875A (en) | Functional mode switching method and device and intelligent terminal | |
CN106937258A (en) | A kind of control method of broadcast, device and mobile terminal | |
CN105005489B (en) | A kind of the starting method and terminal device of terminal device | |
CN112533072A (en) | Image sending method and device and electronic equipment | |
CN106462698A (en) | Authority control method and authority control device | |
CN105739771B (en) | A kind of display interface management method, device and terminal | |
CN107992361B (en) | Background application cleaning method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |