Application program management method and device, electronic equipment and storage medium

By obtaining the remaining running memory on the smart terminal and calling the target background program, the background application is accurately managed, and the application management inaccurate problem when there is insufficient memory is solved, achieving more efficient memory management and better user experience.

CN119645514APending Publication Date: 2025-03-18SHENZHEN WATER WORLD INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411608491.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

When existing application management methods are insufficient, they cannot accurately manage background applications, resulting in repeated restarts and shutdowns, affecting the user experience.

Method used

When receiving the application startup instruction, obtain the remaining running memory of the smart terminal. If the running memory to be used cannot be met, call the target background program, accurately select the application to be closed, and close it, display the icon of the closed application at the target window of the user interaction interface, and manage it according to user operations.

Benefits of technology

It effectively reduces the phenomenon of repeated restarts and shutdowns of applications, improves the accuracy of application management, reduces the burden of background operation and heating problems, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645514A_ABST
    Figure CN119645514A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application program management method which comprises the steps that when an application starting instruction corresponding to an application program is received, the remaining running memory of an intelligent terminal is obtained, and the application program corresponds to a running memory to be used; when the remaining running memory cannot meet the running memory to be used, at least one target background application program of the intelligent terminal is called; selecting at least one application program to be closed from the at least one target background application program; closing the to-be-closed application program to obtain a closed application program, and displaying an icon of the closed application program at a target window in a user interaction interface of the intelligent terminal; and managing the closed application program according to the operation of the user on the icon in the target window. According to the method, the closed application program is managed according to the operation of the user on the icon in the target window, so that the phenomenon of repeatedly restarting and closing the application can be well reduced, and the accuracy of application program management is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management, and in particular to an application management method, device, electronic device and storage medium. Background Art

[0002] Smart terminals such as mobile phones and tablets carry many functions, and people are becoming more and more dependent on smart terminals. In addition to functions such as calls, text messages, and calculators, many functions of smart terminals rely on APPs and networks. However, as people's demand for various APPs increases, more and more APPs are downloaded, and more and more APPs are opened and run in the background, which occupies more and more mobile phone running memory. For some mobile phones with limited memory, there are problems such as flashback, freeze, abnormal operation or abnormal use of APPs, which seriously affect the user experience. The traditional method is to automatically close the background application when the memory is insufficient to free up the running memory, and then restore the automatically closed background application when the mobile phone has enough running memory. However, this method still causes repeated restarts and shutdowns of applications, which increases the running burden of the mobile phone and heat consumption, and the accuracy of its application management is still not high. Therefore, how to provide an application management method that can improve the accuracy of application management has become an urgent problem to be solved. Summary of the invention

[0003] The embodiment of the present invention provides an application management method, which aims to solve the problem of low application management accuracy of the existing application management method. When receiving an application startup instruction, the remaining running memory is obtained. When the remaining running memory cannot meet the running memory to be used, the target background program is called to accurately select the application to be closed in the target background program, close the application to be closed, and after obtaining the closed application, the closed application is displayed in the target window of the user interaction interface. According to the user's operation on the icon in the target window, the closed application is managed, which can well reduce the phenomenon of repeated restart and closing of the application, thereby improving the accuracy of application management.

[0004] In a first aspect, an embodiment of the present invention provides an application management method, the method comprising the following steps:

[0005] When receiving an application startup instruction corresponding to an application, obtaining the remaining running memory of the smart terminal, the running memory to be used corresponding to the application;

[0006] When the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal;

[0007] Selecting at least one application to be closed from at least one of the target background applications;

[0008] Closing the application to be closed to obtain a closed application, and displaying an icon of the closed application in a target window in the user interaction interface of the smart terminal;

[0009] The closed application is managed according to the user's operation on the icon in the target window.

[0010] Optionally, the target window is a curtain window, and displaying the icon of the closed application in the target window in the user interaction interface of the smart terminal includes:

[0011] Projecting the icon to the pull-curtain window, and hiding the pull-curtain window in the sidebar of the user interaction interface;

[0012] When a user click operation on the pull-curtain window hidden in the sidebar is obtained, all icons in the pull-curtain window are presented on the user interaction interface; and / or,

[0013] When the user's sliding operation on the pull-curtain window hidden in the sidebar is obtained, the icon to be displayed is determined from all the icons in the pull-curtain window according to the sliding distance during sliding, and the icon to be displayed is presented on the user interaction interface.

[0014] Optionally, projecting the icon to the curtain window includes:

[0015] Sorting the icons in descending order of the closing time of the closed applications to obtain a sorted set;

[0016] Based on the ranking of each icon in the sorted set, the icons are sequentially delivered to the pull-curtain window, and the closed application in the pull-curtain window that first enters the user's sight has the highest ranking.

[0017] Optionally, determining the icon to be displayed from all the icons according to the sliding distance during sliding includes:

[0018] Determine the number of icons that can be displayed according to the sliding distance during sliding;

[0019] In the sorted set, icons that meet the number of displayable icons are extracted in the order of the closing time from recent to distant as the icons to be displayed.

[0020] Optionally, when the remaining running memory cannot satisfy the running memory to be used, before calling at least one target background application of the smart terminal, the method includes:

[0021] When the remaining running memory reaches a preset warning value, all background applications are retrieved from the background of the smart terminal;

[0022] Displaying all the background applications on the user interaction interface so that the user can select a locked application from among all the background applications, and determining the unselected background applications as non-locked applications;

[0023] When the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal includes:

[0024] When the remaining running memory cannot satisfy the running memory to be used, the target background application is called out in the non-locked application.

[0025] Optionally, selecting at least one application to be closed from at least one of the target background applications includes:

[0026] Obtaining the entry time of each target background application program when entering the background, the usage frequency of each target background application program, and the currently occupied running memory;

[0027] Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application, at least one application to be closed is selected from the target background applications.

[0028] Optionally, selecting at least one application to be closed from the target background applications based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application includes:

[0029] Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each of the target background applications, selecting at least one closable application from the target background applications;

[0030] Displaying the icon of the closable application in the user interaction interface for a preset time;

[0031] If the preset operation of the user on the icon is not obtained within the preset time, the closable application is determined as the application to be closed.

[0032] In a second aspect, an embodiment of the present invention further provides an application management device, the application management device comprising:

[0033] An acquisition module, configured to acquire the remaining running memory of the intelligent terminal when receiving an application startup instruction corresponding to an application, wherein the running memory to be used corresponds to the application;

[0034] A calling module, used for calling at least one target background application of the smart terminal when the remaining running memory cannot satisfy the running memory to be used;

[0035] A selection module, used to select at least one application to be closed from at least one of the target background applications;

[0036] A display module, used to close the application to be closed, obtain a closed application, and display the icon of the closed application in a target window in the user interaction interface of the smart terminal;

[0037] The management module is used to manage the closed application according to the user's operation on the icon in the target window.

[0038] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the application management method provided in the embodiment of the present invention when executing the computer program.

[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the application management method provided in the embodiment of the invention are implemented.

[0040] In an embodiment of the present invention, when an application startup instruction corresponding to an application is received, the remaining running memory of the smart terminal is obtained, and the application corresponds to the running memory to be used; when the remaining running memory cannot meet the running memory to be used, at least one target background application of the smart terminal is called; among at least one of the target background applications, at least one application to be closed is selected; the application to be closed is closed to obtain a closed application, and the icon of the closed application is displayed in a target window in the user interaction interface of the smart terminal; and the closed application is managed according to the user's operation on the icon in the target window. When an application startup instruction is received, the remaining running memory is obtained. When the remaining running memory cannot meet the running memory to be used, the target background program is called to accurately select the application to be closed in the target background program, close the application to be closed, and after obtaining the closed application, the icon of the closed application is obtained, and the icon of the closed application is displayed in the target window of the user interaction interface. In this way, the closed application is recorded and indicated, and the closed application is managed according to the user's operation on the icon in the target window. This can greatly reduce the phenomenon of repeated restarting and closing of the application, thereby improving the accuracy of application management, and effectively reducing the background running burden and heating problems, meeting the actual subjective needs of users, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 is a flow chart of an application management method provided by an embodiment of the present invention;

[0043] Figure 2 This is a structural schematic diagram of a curtain window provided by an embodiment of the present invention;

[0044] Figure 3 is a schematic diagram of the structure of a prompt mark provided by an embodiment of the present invention;

[0045] Figure 4 is a structural schematic diagram of another curtain window provided by an embodiment of the present invention;

[0046] Figure 5 is a structural diagram of an application management device provided in an embodiment of the present invention;

[0047] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] like Figure 1 As shown, Figure 1 : is a flow chart of an application management method provided by an embodiment of the present invention, including:

[0050] 101. When an application startup instruction corresponding to an application program is received, the remaining running memory of the smart terminal is obtained.

[0051] In an embodiment of the present invention, the above-mentioned application management method can be applied to an intelligent terminal, which can be an electronic product such as a smart phone, a smart tablet computer, or a computer. Alternatively, in order to reduce the occupation of computing resources of the above-mentioned intelligent terminal, the above-mentioned application management method can also be applied to an application management platform, and a communication connection is established between the above-mentioned application management platform and the above-mentioned intelligent terminal. When the above-mentioned intelligent terminal receives the above-mentioned application startup instruction, the above-mentioned application startup instruction can be uploaded to the above-mentioned application management platform through the above-mentioned communication connection to implement the above-mentioned application management method. The above-mentioned application management platform can be constructed by a server or a server cluster, and the above-mentioned server or server cluster can be any electronic device with functions such as data analysis, data processing, data transmission, and data storage.

[0052] Specifically, the above application can be installed or understood as an APP (Application) deployed in the smart terminal, and each of the above application corresponds to a running memory to be used, and the above running memory to be used can be understood as the running memory required to start the above application. The above application startup instruction can be obtained by the user interacting with the user interaction interface of the above smart terminal, for example, it can be obtained by clicking on the icon of any application in the user interaction interface.

[0053] More specifically, the remaining running memory can be understood as the running memory that is not currently used by the above-mentioned smart terminal. The above-mentioned remaining running memory can be used to build a memory monitoring project in any programming language, and the remaining running memory, used running memory, total running memory and other data of the above-mentioned smart terminal can be obtained at any time through the above-mentioned memory monitoring project.

[0054] 102. When the remaining running memory cannot satisfy the running memory to be used, call at least one target background application of the smart terminal.

[0055] In an embodiment of the present invention, the above-mentioned remaining running memory can be compared with the above-mentioned running memory to be used to obtain a running memory comparison result. When the running memory comparison result is that the remaining running memory is greater than or equal to the above-mentioned running memory to be used, it means that the remaining running memory at the current moment can satisfy the running memory to be used, that is, the remaining running memory can support the launch of the above-mentioned application. At this time, there is no need to call the target background application of the smart terminal. When the running memory comparison result is that the remaining running memory is less than the above-mentioned running memory to be used, it means that the remaining running memory at the current moment cannot satisfy the running memory to be used, that is, the remaining running memory cannot support the launch of the above-mentioned application. At this time, the target background application of the above-mentioned smart terminal can be called.

[0056] Specifically, the background application may be an application running in the background of the above-mentioned smart terminal. The above-mentioned background application may include target background application and non-target background application. The above-mentioned target background application may be an application that can be closed by the user (i.e., a non-locked application), and the above-mentioned non-target background application may be an application that cannot be closed by the user (i.e., a locked application). More specifically, the system application required by the system running the smart terminal may also be used as the above-mentioned locked application. It can be understood that if the system application required by the above-mentioned system is closed, it may cause the system to crash and restart. Therefore, the above-mentioned system application may also be used as the above-mentioned locked application.

[0057] The target background application can be called from the background of the smart terminal by random calling (i.e., randomly calling some or all target background applications) or global calling (i.e., calling all target background applications), or the target background application that satisfies the size of the running memory to be used can be called in the background according to the size of the running memory to be used.

[0058] For example, assuming that in the above background, there are target background applications a1, a2, a3 and a4. When a1 is closed, 1MB of running memory can be released. When a2 is closed, 1.5MB of running memory can be released. When a3 is closed, 3MB of running memory can be released. When a4 is closed, 5MB of running memory can be released. Assuming that the remaining running memory is 0 and the running memory to be used is 6.5MB, the above target background applications a2 and a4 can be called at this time.

[0059] 103. Select at least one application to be closed from at least one target background application.

[0060] In an embodiment of the present invention, at least one application to be closed can be selected from the target background applications according to a preset selection rule. Specifically, the time when each target background application enters the background, the frequency of use of each target background application, and the currently occupied running memory can be obtained. Among the target background applications, programs with longer entry times are preferentially selected as the applications to be closed; or, among the target background applications, programs with lower usage frequencies are preferentially selected as the applications to be closed; or, according to the above-mentioned running memory to be used and the above-mentioned currently occupied running memory, an application or a combination of applications that meets the above-mentioned running memory to be used can be matched in the target background programs as the above-mentioned applications to be closed.

[0061] 104. Close the application to be closed to obtain a closed application, and display the icon of the closed application in a target window in the user interaction interface of the smart terminal.

[0062] In the embodiment of the present invention, closing the application to be closed can be understood as removing the application to be closed from the background of the smart terminal, so that the application to be closed is in a closed state. When the application to be closed is in a closed state, the application to be closed can be determined as a closed application, so that the icon of the closed application is displayed in the target window.

[0063] It should be noted that the target window can be any area that can distinguish the icon of the closed application from other icons. It can have any function and any shape. For example, it can be a curtain-shaped window, a rectangular window in normal display, a circular window, etc.

[0064] In a possible embodiment, in order to let the user know that the system has executed the operation of closing the program, when the program is closed, a prompt mark can be used to remind the user in the user interaction interface (an icon or animation indicating that the program closing action has occurred, such as Figure 3 The prompt mark in the middle left picture shows an explosion-style icon or an explosion-style animation).

[0065] Specifically, the above prompt mark can also include icons of closed applications to further let users know which applications are closed. Specifically, the icons of closed applications are displayed on the user interface for 3 seconds, and then the icons are placed in the target window. (On the user interface, the application icon can be animated, moving from the displayed position toward the target window, entering the target window, and also indicating the target window position.) Specifically, it can be done by Figure 3 The schematic diagram of the structure of a prompt mark shown in FIG. further illustrates that Figure 3 In the right picture, the two rectangles in the top row indicate icons of closed applications, which move toward the target window through the icon animation and enter the target window.

[0066] In another possible embodiment, the icons of applications that have been closed (that is, automatically closed by the system) and the icons of applications that the user actively closed can also be displayed in the target window at the same time, presenting two columns, upper and lower. Figure 4 The structural schematic diagram of another type of curtain window shown further illustrates that: Figure 4 In the diagram, the icons in the bottom row are the icons of the applications that the user actively closed, and the icons in the upper row are the icons of the closed applications.

[0067] 105. Manage closed applications according to user operations on icons in the target window.

[0068] In an embodiment of the present invention, after the icon of the closed application is displayed in the target window, the user can select the icon in the above target window (for example, by clicking, long pressing, etc.) to determine whether to restart the application corresponding to a certain icon in the target window.

[0069] If the user does not select the icon in the target window, it means that there is no need to restart the application corresponding to the icon in the target window. At this time, the judgment of the currently closed application can be stopped and the above application management method can be re-executed at the above step 101.

[0070] If the user selects an icon in the target window, it means that the application corresponding to the selected icon needs to be restarted. At this time, the application corresponding to the selected icon can be restarted.

[0071] It should be noted that the user can select the above icons in a single selection, that is, select a single icon, then select the application corresponding to the single icon to restart. It can also be multiple selections, that is, the user can enter the multiple selection mode by long pressing any icon. After long pressing, you can select multiple icons by clicking again. At this time, you can restart the application corresponding to each of the multiple icons (i.e. one-click resurrection). It should be noted that when enabling the above one-click resurrection, it can only be done when there is enough remaining running memory.

[0072] In an embodiment of the present invention, when an application startup instruction corresponding to an application is received, the remaining running memory of the smart terminal is obtained, and the application corresponds to the running memory to be used; when the remaining running memory cannot meet the running memory to be used, at least one target background application of the smart terminal is called; at least one application to be closed is selected from at least one of the target background applications; the application to be closed is closed to obtain a closed application, and the icon of the closed application is displayed in the target window in the user interaction interface of the smart terminal; the closed application is managed according to the user's operation on the icon in the target window. When the application startup instruction is received, the remaining running memory is obtained, and when the remaining running memory cannot meet the running memory to be used, the target background program is called to accurately select the application to be closed in the target background program, close the application to be closed, and after obtaining the closed application, the closed application is displayed in the target window of the user interaction interface, and the closed application is managed according to the user's operation on the icon in the target window, which can well reduce the phenomenon of repeated restart and closing of applications, thereby improving the accuracy of application management.

[0073] It can be understood that in the specific implementation of the present application, data related to application startup instructions, background applications, target background applications, remaining running memory, etc., when the embodiments in the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data and the use of user interaction interfaces need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0074] It should be noted that the application management method provided in the embodiment of the present invention can be applied to devices such as computers and servers that can perform application management.

[0075] Optionally, in the step of displaying the icon of the closed application in the target window in the user interaction interface of the smart terminal, the icon can also be projected to a pull-down window, and the pull-down window can be hidden in the sidebar of the user interaction interface; when a user clicks the pull-down window hidden in the sidebar, all icons in the pull-down window are presented in the user interaction interface; and / or, when a user slides the pull-down window hidden in the sidebar, an icon to be displayed is determined from all icons in the pull-down window according to the sliding distance during the sliding, and the icon to be displayed is presented in the user interaction interface.

[0076] In an embodiment of the present invention, the target window may be a curtain window. Figure 2The structural diagram of a curtain window shown in FIG. 1 further illustrates that the curtain window can be hidden in the sidebar of the user interaction interface (the sidebar includes four sides, such as top, bottom, left, and right, which can be hidden by Figure 2 As an example in the user interface on the left, the curtain window is closed and located on the left side, and will not move with the left and right sliding of the user interface. When you need to see the window icon, you can slide or click to partially display the window content (for example, in Figure 2 In the user interface on the right, the curtain window is partially displayed) or fully opened (for example, in Figure 2 In the user interaction interface in the middle, the curtain window is in a fully opened state).

[0077] It should be noted that if the user slides the curtain window hidden in the sidebar, the above-mentioned smart terminal will synchronously obtain the user's sliding operation, and can determine the sliding distance when sliding the curtain window through the sliding operation, determine the icons to be displayed in all charts, and present the icons to be displayed on the user interaction interface accordingly. By sliding the distance, it is possible to accurately determine the part of the icons that need to be presented. This can reduce the occupancy of the user interaction interface and further improve the user experience.

[0078] It should be further explained that the above-mentioned projection can be simply understood as an animation movement operation, that is, the icon is projected from a certain place in the user interaction interface of the smart terminal to the target window (or understood as a curtain window). The animation and animation trajectory displayed by the projection movement can facilitate users to quickly obtain information about closed applications and quickly know where the icons of closed applications are stored. This can improve the efficiency of users in obtaining information about closed applications and further improve user experience.

[0079] Optionally, in the step of projecting the icons to the pull-curtain window, the icons can also be sorted in order of the closing time of the closed applications from recent to far to obtain a sorted set; based on the ranking of each icon in the sorted set, the icons are projected to the pull-curtain window in turn, and the closed application in the pull-curtain window that first enters the user's line of sight has the highest ranking.

[0080] In an embodiment of the present invention, the icons can be sorted in the order of the closing time from recent to distant to obtain a sorted set. According to the ranking of each icon in the sorted set, the icon is projected to the pull-out window, wherein the closed application in the pull-out window that first enters the user's sight has the highest ranking. For example, it can be Figure 2 The far right side of the curtained window shown in the center photo.

[0081] It is understandable that by sorting according to the above closing time during delivery, a sorting set for icon delivery can be accurately constructed, and then the required number of icons for the pull-curtain window can be quickly extracted from the sorting set and delivered to the pull-curtain window accordingly. Figure 2 When the sliding curtain window shown in the middle figure is fully expanded (ie, in an open state), it can accommodate the icons of two closed applications, so the two highest-ranked icons of closed applications can be quickly extracted from the sorted set.

[0082] Specifically, after constructing the above-mentioned sorting set, each time a new closed application appears (i.e., a closed application that appears after the sorting set is constructed), the new closed application can be added to the sorting set to obtain the sorting set at the current moment, and the icon corresponding to the new closed application in the sorting set at the current moment has the highest ranking. If the icon needs to be delivered to the pull-curtain window at a subsequent moment, the corresponding icon can be directly extracted from the sorting set at the current moment. In this way, the required number of icons for the pull-curtain window can be quickly extracted, thereby improving the efficiency of icon delivery.

[0083] Alternatively, to prevent the current sorting set from missing a "new" closed application that appears at a certain moment, a sorting set can be constructed each time an icon needs to be projected to the curtain window, thereby avoiding a "missed update" at a certain moment that causes the accuracy of subsequent sorting sets to decrease.

[0084] Optionally, in the step of determining the icons to be displayed among all icons according to the sliding distance, the number of displayable icons can also be determined according to the sliding distance; in the sorted set, icons that meet the number of displayable icons are extracted in order of closing time from near to far as the icons to be displayed.

[0085] In an embodiment of the present invention, the number of icons that can be displayed can be determined based on the sliding distance and the size of the icon. For example, assuming that the sliding distance is 10 mm and the standard size of each icon is 5 mm, the number of icons that can be realized is 2. At this time, 2 icons can be extracted from the sorted set in the order of closing time from near to far as the icons to be displayed. It should be noted that if the user slides 10 mm and then slides 15 mm again, at this time, icons are extracted from the 3rd icon to the 5th icon in the sorted set in the order of closing time from near to far, and the 3rd icon, the 4th icon and the 5th icon are used as icons to be displayed.

[0086] By sliding distance selection, you can display a recently closed program first, and for other programs closed in the previous period in history, you can move the windows one by one in the unopened part to open and view them. Even if you do not open all the curtain windows, it will not affect the user's need to restart a recently closed program.

[0087] Optionally, before the step of calling at least one target background application of the smart terminal when the remaining running memory cannot satisfy the running memory to be used, all background applications can be called from the background of the smart terminal when the remaining running memory reaches a preset warning value; all background applications are displayed on the user interaction interface so that the user can select locked applications from all background applications and determine the unselected background applications as non-locked applications; in the step of calling at least one target background application of the smart terminal when the remaining running memory cannot satisfy the running memory to be used, the target background application can also be called out from the non-locked applications when the remaining running memory cannot satisfy the running memory to be used.

[0088] Considering that when a user opens a program, if there is a certain delay due to the system closing the program and the need to choose to close the program, some users may experience a certain degree of inconvenience. Therefore, in some preferred embodiments, when it is detected that the remaining running memory reaches a preset warning value, some management confirmation is first performed on the current background application, so that it is easier to judge and operate more quickly when the application needs to be closed later.

[0089] In the embodiment of the present invention, the above-mentioned warning value can be set according to the historical application management experience, or can be obtained according to a limited number of tests. The above-mentioned warning value can be a specific numerical value, and its unit can be byte (Byte, B), megabyte (Megabyte, MB), gigabyte (Gigabyte, GB), etc. For example, it can be 10MB. When the remaining running memory is less than 10MB, all background applications can be called from the background of the smart terminal. Or the above-mentioned warning value can also be set as a percentage, for example, 20%. When the remaining running memory accounts for less than 20% of the total running memory, all background applications can be called from the background of the smart terminal.

[0090] After calling up all background applications, all background applications (such as Meituan, PuPu, QQ Music, NetEase Cloud Music, Damai, etc.) can be arranged and displayed on the user interaction interface for users to further select locked applications, and the unselected applications can be treated as non-locked applications. It should be noted that when displaying, a "lockable" option can be provided to users.

[0091] More specifically, a "closable" option may be provided to the user. When the remaining running memory reaches the warning value, the non-locked applications corresponding to the "closable" option may be closed first, and the locked applications may not be closed.

[0092] Regarding the method of "arranging and displaying background applications on the user interaction interface", specifically: they can be arranged in a prompt window on the user interaction interface, and the prompt window can be enlarged and reduced, hidden and displayed. In a preferred embodiment, the prompt window can be reduced and stored in a local area of ​​the interaction interface for a long time. Further, after the remaining memory reaches the warning value, it is periodically enlarged on the interaction interface to prompt the user to manage, so as to facilitate early program management; in another preferred embodiment, the prompt window can be hidden on the side of the interaction interface and exist in the interaction interface as a swipeable sidebar. Further, after the remaining memory reaches the warning value, the sidebar can be automatically swiped open periodically to prompt the user to manage the program in advance.

[0093] In a possible embodiment, if the user does not select the above-mentioned “lockable” and “closable” options, the above-mentioned target background application can be selected by random selection or global selection.

[0094] By the user selecting the above-mentioned "lockable" and "closable" options, repeated restarting and closing of background applications when running in low memory can be further avoided, thereby improving the user experience.

[0095] Optionally, in the step of selecting at least one application to be closed from at least one target background application, the entry time of each target background application entering the background, the usage frequency of each target background application, and the current occupied running memory can also be obtained; based on at least one of the entry time, usage frequency, and current occupied running memory of each target background application, at least one application to be closed is selected from the target background applications.

[0096] In an embodiment of the present invention, a target background application with a relatively long entry time can be preferably selected as the application to be closed. The definition of the above long can be determined according to the current time, that is, the current time minus the entry time, the larger the difference is, the longer it is, and conversely, the smaller the difference is, the shorter it is. Alternatively, a target background application with a low frequency of use can be preferentially selected as the application to be closed. Alternatively, based on the above-mentioned running memory to be used and the above-mentioned currently occupied running memory, an application or a combination of applications that meets the above-mentioned running memory to be used can be matched in the target background program as the above-mentioned application to be closed.

[0097] Alternatively, you can also set an entry time coefficient and a usage frequency coefficient. The above coefficients are used to balance the weight between the entry time and the usage frequency. The above entry time coefficient is multiplied by the difference between the above current time and the entry time to obtain an entry score. The above usage frequency coefficient is multiplied by the above usage frequency to obtain a frequency score. The above entry score is added to the above frequency score to obtain the closing score of the target background application. According to the above running memory to be used and the above currently occupied running memory, in the target background program, in the order of the closing score from high to low, match the application or combination of applications that meet the above running memory to be used as the above application to be closed.

[0098] It should be noted that the above-mentioned entry time, usage frequency and currently occupied running memory can all be used independently as the basis for selecting the application to be closed. According to the above example, the above-mentioned entry time, practical frequency and currently occupied running memory can be arbitrarily combined to select the above-mentioned application to be closed. The technical concept is the same and the effect is the same. In order to avoid repetition and redundancy, it will not be repeated here. Equivalent changes made according to the above example are still within the scope of the present invention.

[0099] Optionally, in the step of selecting at least one application to be closed from the target background applications based on at least one of the entry time, usage frequency and current occupation of running memory of each target background application, at least one closable application can be selected from the target background applications based on at least one of the entry time, usage frequency and current occupation of running memory of each target background application; the icon of the closable application is displayed in the user interaction interface for a preset time; if the user's preset operation on the icon is not obtained within the preset time, the closable application is determined as the application to be closed.

[0100] In an embodiment of the present invention, based on at least one of the entry time, usage frequency, and current running memory occupied by each target background application, the selected application can be used as a closable application in the target background applications, and whether to use the above-mentioned closable application as the above-mentioned application to be closed can also receive the user's intention instruction. That is, the icon of the closable application is displayed on the user interaction interface for a preset time (for example, 3 seconds, 5 seconds, etc.). If the user does not operate the icon within the preset time, the closable application can be determined as the application to be closed, and the application to be closed can be placed in the above-mentioned target window.

[0101] On the contrary, if the user clicks, selects or performs other operations (i.e., preset operations) on any icon within the above preset time, the smart terminal will obtain the corresponding operation, and can determine the corresponding icon based on the obtained operation, and then can set the closable application corresponding to the icon as a locked application.

[0102] In the process of the target background application selecting the application to be closed, adding the user's "intention instruction" as one of the selection bases can effectively reduce the repeated restart and closing of the application, thereby improving the user experience.

[0103] like Figure 5 As shown, an embodiment of the present invention further provides an application management device, including:

[0104] The acquisition module 501 is used to acquire the remaining running memory of the smart terminal when receiving an application startup instruction corresponding to the application, and the running memory to be used corresponding to the application;

[0105] A calling module 502, configured to call at least one target background application of the smart terminal when the remaining running memory cannot satisfy the running memory to be used;

[0106] A selection module 503 is used to select at least one application to be closed from at least one of the target background applications;

[0107] A display module 504 is used to close the application to be closed, obtain a closed application, and display the icon of the closed application in a target window in the user interaction interface of the smart terminal;

[0108] The management module 505 is used to manage the closed application according to the user's operation on the icon in the target window.

[0109] Optionally, the target window is a curtain window, and the display module 504 includes:

[0110] A first delivery submodule, used for delivering the icon to the pull-curtain window, and hiding the pull-curtain window in the sidebar of the user interaction interface;

[0111] A first display submodule is configured to present all icons in the pull-curtain window on the user interaction interface when a user clicks the pull-curtain window hidden in the sidebar; and / or

[0112] The second display submodule is used to determine the icon to be displayed from all the icons in the pull-curtain window according to the sliding distance during sliding when the user's sliding operation on the pull-curtain window hidden in the sidebar is obtained, and present the icon to be displayed on the user interaction interface.

[0113] Optionally, the first delivery submodule includes:

[0114] A first sorting unit, configured to sort the icons in descending order of the closing time of the closed applications to obtain a sorting set;

[0115] The first delivery unit is used to deliver the icons to the pull-curtain window in sequence based on the ranking of each icon in the sorting set, and the closed application in the pull-curtain window that first enters the user's sight has the highest ranking.

[0116] Optionally, the second display submodule includes:

[0117] A first determining unit, used to determine the number of icons that can be displayed according to the sliding distance during sliding;

[0118] The first extraction unit is used to extract, from the sorted set, icons that meet the number of displayable icons in the order of the closing time from recent to distant, as the icons to be displayed.

[0119] Optionally, the application management device further includes:

[0120] A second calling module is used to call all background applications from the background of the smart terminal when the remaining running memory reaches a preset warning value;

[0121] A determination module, used for displaying all the background applications on the user interaction interface, so that the user can select a locked application from all the background applications, and determine the unselected background applications as non-locked applications;

[0122] Optionally, the calling module 502 includes:

[0123] The first calling submodule is used to call out the target background application in the non-locked application when the remaining running memory cannot meet the running memory to be used.

[0124] Optionally, the selection module 503 includes:

[0125] The first acquisition submodule is used to acquire the entry time of each target background application program when entering the background, the usage frequency of each target background application program, and the currently occupied running memory;

[0126] The first selection submodule is used to select at least one application to be closed from the target background applications based on at least one of the entry time, the usage frequency and the current occupied running memory of each target background application.

[0127] Optionally, the first selection submodule includes:

[0128] A first selection unit is used to select at least one closable application from the target background applications based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application;

[0129] A first display unit, configured to display the icon of the closable application in the user interaction interface for a preset time;

[0130] The second determining unit is configured to determine the closable application as the to-be-closed application if no preset operation of the user on the icon is obtained within the preset time.

[0131] like Figure 6 As shown, an embodiment of the present invention further provides an electronic device, characterized in that it includes a processor, and the processor can execute any one of the above-mentioned application management methods.

[0132] Specifically, it includes a processor 601 and a memory 602, and a computer program for executing the application management method which is stored in the memory 602 and can be run on the processor 601, wherein:

[0133] The processor 601 runs the computer program of the application management method stored in the memory 602, and performs the following steps:

[0134] When receiving an application startup instruction corresponding to an application, obtaining the remaining running memory of the smart terminal, the running memory to be used corresponding to the application;

[0135] When the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal;

[0136] Selecting at least one application to be closed from at least one of the target background applications;

[0137] Closing the application to be closed to obtain a closed application, and displaying an icon of the closed application in a target window in the user interaction interface of the smart terminal;

[0138] The closed application is managed according to the user's operation on the icon in the target window.

[0139] Optionally, the target window is a curtain window, and the processor 601 displays the icon of the closed application in the target window in the user interaction interface of the smart terminal, including:

[0140] Projecting the icon to the pull-curtain window, and hiding the pull-curtain window in the sidebar of the user interaction interface;

[0141] When a user click operation on the pull-curtain window hidden in the sidebar is obtained, all icons in the pull-curtain window are presented on the user interaction interface; and / or,

[0142] When the user's sliding operation on the pull-curtain window hidden in the sidebar is obtained, the icon to be displayed is determined from all the icons in the pull-curtain window according to the sliding distance during sliding, and the icon to be displayed is presented on the user interaction interface.

[0143] Optionally, the projecting of the icon to the curtain window performed by the processor 601 includes:

[0144] Sorting the icons in descending order of the closing time of the closed applications to obtain a sorted set;

[0145] Based on the ranking of each icon in the sorted set, the icons are sequentially delivered to the pull-curtain window, and the closed application in the pull-curtain window that first enters the user's sight has the highest ranking.

[0146] Optionally, the processor 601 determines the icon to be displayed from all the icons according to the sliding distance during sliding, including:

[0147] Determine the number of icons that can be displayed according to the sliding distance during sliding;

[0148] In the sorted set, icons that meet the number of displayable icons are extracted in the order of the closing time from recent to distant as the icons to be displayed.

[0149] Optionally, the processor 601 executes the following steps before calling at least one target background application of the smart terminal when the remaining running memory cannot meet the running memory to be used:

[0150] When the remaining running memory reaches a preset warning value, all background applications are retrieved from the background of the smart terminal;

[0151] Displaying all the background applications on the user interaction interface so that the user can select a locked application from among all the background applications, and determining the unselected background applications as non-locked applications;

[0152] Optionally, the processor 601 executes, when the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal, including:

[0153] When the remaining running memory cannot satisfy the running memory to be used, the target background application is called out in the non-locked application.

[0154] Optionally, the selecting, from at least one of the target background applications, at least one application to be closed performed by the processor 601 includes:

[0155] Obtaining the entry time of each target background application program when entering the background, the usage frequency of each target background application program, and the currently occupied running memory;

[0156] Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application, at least one application to be closed is selected from the target background applications.

[0157] Optionally, the processor 601 performs the step of selecting at least one application to be closed from the target background applications based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application, including:

[0158] Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each of the target background applications, selecting at least one closable application from the target background applications;

[0159] Displaying the icon of the closable application in the user interaction interface for a preset time;

[0160] If the preset operation of the user on the icon is not obtained within the preset time, the closable application is determined as the application to be closed.

[0161] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the various processes of the application management method or the application-side application management method provided in the embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0162] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the above-mentioned computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0163] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. An application management method, characterized in that: The method comprises the following steps: When receiving an application startup instruction corresponding to an application, obtaining the remaining running memory of the smart terminal, the running memory to be used corresponding to the application; When the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal; Selecting at least one application to be closed from at least one of the target background applications; Closing the application to be closed to obtain a closed application, and displaying an icon of the closed application in a target window in the user interaction interface of the smart terminal; The closed application is managed according to the user's operation on the icon in the target window.

2. The application management method according to claim 1, characterized in that: The target window is a curtain window, and the step of displaying the icon of the closed application program at the target window in the user interaction interface of the smart terminal includes: Projecting the icon to the pull-curtain window, and hiding the pull-curtain window in the sidebar of the user interaction interface; When a user click operation on the pull-curtain window hidden in the sidebar is obtained, all icons in the pull-curtain window are presented on the user interaction interface; and / or, When the user's sliding operation on the pull-curtain window hidden in the sidebar is obtained, the icon to be displayed is determined from all the icons in the pull-curtain window according to the sliding distance during sliding, and the icon to be displayed is presented on the user interaction interface.

3. The application management method according to claim 2, characterized in that: The step of projecting the icon to the curtain window includes: Sorting the icons in descending order of the closing time of the closed applications to obtain a sorted set; Based on the ranking of each icon in the sorted set, the icons are sequentially delivered to the pull-curtain window, and the closed application in the pull-curtain window that first enters the user's sight has the highest ranking.

4. The application management method according to claim 3, characterized in that: The step of determining the icon to be displayed from among all the icons according to the sliding distance during sliding includes: Determine the number of icons that can be displayed according to the sliding distance during sliding; In the sorted set, icons that meet the number of displayable icons are extracted in the order of the closing time from recent to distant as the icons to be displayed.

5. The application management method according to claim 1, characterized in that: When the remaining running memory cannot satisfy the running memory to be used, before calling at least one target background application of the smart terminal, the method includes: When the remaining running memory reaches a preset warning value, all background applications are retrieved from the background of the smart terminal; Displaying all the background applications on the user interaction interface so that the user can select a locked application from among all the background applications, and determining the unselected background applications as non-locked applications; When the remaining running memory cannot satisfy the running memory to be used, calling at least one target background application of the smart terminal includes: When the remaining running memory cannot satisfy the running memory to be used, the target background application is called out in the non-locked application.

6. The application management method according to claim 1, characterized in that: The step of selecting at least one application to be closed from at least one of the target background applications comprises: Obtaining the entry time of each target background application program when entering the background, the usage frequency of each target background application program, and the currently occupied running memory; Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application, at least one application to be closed is selected from the target background applications.

7. The application management method according to claim 6, characterized in that: The selecting at least one application to be closed from the target background applications based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each target background application comprises: Based on at least one of the entry time, the usage frequency, and the currently occupied running memory of each of the target background applications, selecting at least one closable application from the target background applications; Displaying the icon of the closable application in the user interaction interface for a preset time; If the preset operation of the user on the icon is not obtained within the preset time, the closable application is determined as the application to be closed.

8. An application management device, characterized in that: The application management device comprises: An acquisition module, configured to acquire the remaining running memory of the smart terminal when receiving an application startup instruction corresponding to an application, wherein the running memory to be used corresponds to the application; A calling module, used for calling at least one target background application of the smart terminal when the remaining running memory cannot satisfy the running memory to be used; A selection module, used to select at least one application to be closed from at least one of the target background applications; A display module, used to close the application to be closed, obtain a closed application, and display the icon of the closed application in a target window in the user interaction interface of the smart terminal; The management module is used to manage the closed application according to the user's operation on the icon in the target window.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the application management method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the application management method according to any one of claims 1 to 7 are implemented.