WO2017166679A1 - Method and apparatus for managing storage space of applications, and electronic device - Google Patents

Method and apparatus for managing storage space of applications, and electronic device Download PDF

Info

Publication number
WO2017166679A1
WO2017166679A1 PCT/CN2016/097279 CN2016097279W WO2017166679A1 WO 2017166679 A1 WO2017166679 A1 WO 2017166679A1 CN 2016097279 W CN2016097279 W CN 2016097279W WO 2017166679 A1 WO2017166679 A1 WO 2017166679A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
storage space
management
user
file
Prior art date
Application number
PCT/CN2016/097279
Other languages
French (fr)
Chinese (zh)
Inventor
童天成
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166679A1 publication Critical patent/WO2017166679A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0623Securing storage systems in relation to content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket

Definitions

  • the present invention relates to the field of software management, and in particular, to a method, an apparatus, and an electronic device for managing an application storage space.
  • the technical problem to be solved by the present invention is to overcome the defect that the storage space of the application program in the prior art is inconvenient to manage.
  • the invention provides a method for managing an application storage space, comprising the steps of: monitoring a storage space occupied by each application; determining whether the storage space reaches a preset upper threshold; and prompting a user to the application Perform storage space management.
  • the step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for the user to select; and deleting the corresponding file according to the user's selection.
  • performing storage space management on the application comprises: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
  • an upper threshold of a storage space corresponding to the application may be adjusted.
  • the monitoring the storage space occupied by each application comprises: periodically acquiring the storage space occupied by the application; or acquiring the application occupied by the application when the application has a new download task. storage.
  • the present invention also provides a management device for an application storage space, comprising: a monitoring unit, configured to monitor a storage space occupied by each application; a determining unit, configured to determine whether the storage space reaches a preset upper threshold; Unit for when the storage space exceeds the upper limit The threshold is sent to the user; the space management unit is configured to perform storage space management on the application.
  • the space management unit includes: a display subunit for displaying a list of files that can be deleted in the application; manually deleting the subunit, and deleting the corresponding file according to the user's selection.
  • the space management unit comprises: automatically deleting the sub-unit, deleting the file with the earliest download date or the file with the lowest frequency of use in the application.
  • the method further includes a threshold adjustment unit, configured to adjust an upper threshold of the storage space corresponding to the application.
  • a threshold adjustment unit configured to adjust an upper threshold of the storage space corresponding to the application.
  • the monitoring unit includes: a periodic monitoring subunit for periodically acquiring a storage space occupied by the application; or a timing monitoring unit, configured to acquire a location when the application has a new download task The storage space occupied by the application.
  • Embodiments of the invention further disclose an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to monitor a storage space occupied by each application; determine whether the storage space reaches a preset upper threshold; Perform storage space management on the application.
  • step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for selection by a user; Select and delete the corresponding file.
  • the storage space management of the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
  • an upper limit threshold of a storage space corresponding to the application may be adjusted.
  • the electronic device wherein the monitoring the storage space occupied by each application comprises: periodically acquiring a storage space occupied by the application; or acquiring the application when the application has a new download task The storage space occupied by the program.
  • the present invention also discloses a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: monitor each application The storage space occupied; determining whether the storage space reaches a preset upper threshold; and prompting the user to perform storage space management on the application.
  • step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for selection by a user; and deleting a corresponding file according to a user selection.
  • the storage space management of the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
  • an upper limit threshold of a storage space corresponding to the application may be adjusted.
  • the storage medium wherein the monitoring the storage space occupied by each application comprises: periodically acquiring a storage space occupied by the application; or acquiring the application when the application has a new download task The storage space occupied by the program.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of any of the above.
  • the method for managing an application storage space provided by the present invention firstly monitors a storage space occupied by each application, and determines whether the storage space occupied by the application reaches a preset upper threshold, and the application is Perform storage space management.
  • the storage space of each application is monitored by setting an upper threshold for each application in advance, and since the upper threshold can be set by the user, the application can be stored for an important application or an application requiring more space.
  • the space setting is larger, and the rest of the settings are smaller.
  • the storage space of an application reaches the upper limit, the user is reminded to perform storage space management or automatically perform storage space management according to the preset settings, thereby effectively avoiding the prior art. Only when there is insufficient storage space can the problem be reminded, and the storage space is effectively managed during the use of each application, which improves the validity and timeliness of the storage space management of the application.
  • the management method of the application storage space provided by the present invention can provide a user with a delete interface or automatically delete according to a preset when the storage space is managed by the application, so that the user does not need to wait until the storage space is insufficient to manage the storage. Space optimizes resource utilization.
  • the management method of the application storage space provided by the present invention can also adjust the upper threshold according to requirements. When the threshold setting is unreasonable during use, the change can be made in time.
  • the management method of the application storage space provided by the present invention can periodically acquire the storage space occupied by each application program; or when the application has a new download task, obtain the storage space occupied by the application program, so that Each time there is a new download task, the application is managed once according to the preset upper threshold, which avoids the problem of centralized management and time consuming when the final storage space is insufficient.
  • Embodiment 1 is a flowchart of a specific example of a method for managing an application storage space in Embodiment 1 of the present invention
  • FIG. 2 is a structural block diagram of a specific example of an apparatus for managing an application storage space in Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • a method for managing an application storage space is provided, which can be used in a mobile terminal device such as a mobile phone, an iPad, or a tablet computer to manage a storage space of an downloaded application.
  • the management method of the application storage space needs to set an upper limit threshold of the storage space for each application in advance.
  • the application takes up a certain amount of storage space.
  • additional storage space is added according to the needs of the application. For example, Youku video, Baidu music and other applications can download video or music when using, and the downloaded file needs to occupy a certain storage space.
  • the threshold like WeChat, QQ, etc., when sending and receiving messages, it is also necessary to increase the storage space.
  • the threshold must be greater than the storage space required for the application installation. For example, Youku installer takes up 200M of space. Because you need to use it to download video or cache video, you can set its corresponding storage space limit to 1G.
  • the management method of the application storage space includes the following steps:
  • the system can capture and record the storage space occupied by each application.
  • the storage space occupied by each application is periodically acquired.
  • the monitoring period needs to be set in advance, such as checking every hour and acquiring each application every hour.
  • the storage space occupied by the program is periodically acquired.
  • S2 Determine whether the storage space occupied by the application reaches a preset upper threshold. The value is to manage the storage space of the application, otherwise go to S1 to continue monitoring.
  • the upper limit threshold of the storage space of Youku is set to 1G in advance, and when the storage space is reached to 1G, the storage space of the Youku application is managed.
  • the first way to manage storage space for this application includes:
  • the download file that can be deleted in the application is displayed for the user to select. For Youku videos, you can display the downloaded files and let the user check the files that need to be deleted.
  • the user's selection is received and the user selected file is deleted.
  • the files selected by the user are deleted, thereby releasing the corresponding storage space.
  • the second way to manage the storage space of the application is to pre-define one or several ways to automatically clear the space for releasing the file, such as deleting the file with the earliest download date in the application or deleting the file with the lowest frequency of use.
  • the playback application such as Youku
  • the storage space management of the application in the above two manners can provide the user with a delete interface or automatically delete according to preset settings, so that the user does not need to wait until the storage space is insufficient to manage the storage space, thereby optimizing resource utilization.
  • the method further includes adjusting an upper threshold of a storage space corresponding to the application as needed.
  • the upper threshold is not set due to lack of experience during the first setup
  • the upper limit threshold may be adjusted as needed, and the upper limit threshold may be increased or reduced, such that the threshold is within a reasonable range.
  • the storage space of each application is monitored by setting an upper threshold for each application in advance, and since the upper threshold can be set by the user, the application can be stored for an important application or an application requiring more space.
  • the space setting is larger, and the rest of the settings are smaller.
  • the user is reminded to perform storage space management or automatically perform storage space management according to the preset settings, thereby effectively avoiding the prior art.
  • the problem of reminding can only be made when there is insufficient storage space, and the storage space is effectively managed during the use of each application.
  • a management device for an application storage space is provided.
  • the structural block diagram is as shown in FIG. 2, and includes:
  • the monitoring unit 01 is configured to monitor storage space occupied by each application
  • the determining unit 02 is configured to determine whether the storage space occupied by the application reaches its corresponding upper threshold
  • the reminding unit 03 is configured to send a reminder to the user when the storage space exceeds an upper threshold
  • the space management unit 04 is configured to perform storage space management on the application when the storage space occupied by the application reaches a preset upper threshold.
  • the space management unit 04 comprises:
  • a display subunit for displaying a list of files that can be deleted in the application
  • the subunit is manually deleted, and the corresponding file is deleted according to the user's selection.
  • the space management unit 04 includes:
  • the solution further includes a threshold adjustment unit, configured to adjust an upper threshold of the storage space corresponding to the application as needed.
  • the monitoring unit 01 includes:
  • the timing monitoring unit is configured to acquire the storage space occupied by the application when the application has a new download task.
  • the management device for the application storage space provided by the present invention comprises a threshold setting unit, a judging unit and a space management unit.
  • a threshold setting unit When the storage space of an application reaches an upper limit, the user is reminded to perform storage space management or automatically according to the preset setting. Storage space management improves the effectiveness and timeliness of application storage space management.
  • an embodiment of the present invention further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810;
  • the memory 800 stores instructions executable by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to monitor storage occupied by each application a space; determining whether the storage space reaches a preset upper threshold; and prompting the user to perform storage space management on the application.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the step of performing storage space management on the application program includes: displaying a list of files that can be deleted in the application program for the user to select; and deleting the corresponding file according to the user's selection.
  • performing storage space management on the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
  • an upper limit threshold of a storage space corresponding to the application may be adjusted.
  • the monitoring, by the monitoring, the storage space occupied by each application includes: periodically acquiring the storage space occupied by the application; or acquiring when the application has a new download task.
  • the storage space occupied by the application includes: periodically acquiring the storage space occupied by the application; or acquiring when the application has a new download task.
  • Embodiments of the present invention also disclose a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to monitor occupancy by each application Storage space; determining that the storage space is Whether the preset upper threshold is reached; the user is reminded to perform storage space management on the application.
  • the storage medium of the embodiment preferably, the step of performing storage space management on the application, includes: displaying a list of files that can be deleted in the application for the user to select; and deleting the corresponding file according to the user's selection.
  • performing storage space management on the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
  • the upper limit threshold of the storage space corresponding to the application may be adjusted.
  • the storage medium of the embodiment, wherein the monitoring the storage space occupied by each application comprises: periodically acquiring the storage space occupied by the application; or acquiring when the application has a new download task The storage space occupied by the application.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method described in the above embodiments.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, the present invention can adopt an entirely hardware embodiment, completely soft An embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A method and an apparatus for managing storage space of applications, and an electronic device. The method comprises: first monitoring storage space occupied by applications (S1); determining whether storage space occupied by each application reaches preset an upper-limit threshold (S2); and if yes, managing the storage space of the application (S4). By presetting upper-limit thresholds for applications and monitoring storage space of the applications, the solution effectively avoids the problem in the art that a prompt is provided only when the storage space is insufficient, effectively manages the storage space of the applications during the use of the applications, thereby improving the effectiveness and timeliness of storage space management of the applications.

Description

一种应用程序存储空间的管理方法、装置和电子设备Method, device and electronic device for managing application storage space
交叉引用cross reference
本申请要求在2016年03月28日提交中国专利局、申请号为201610182887.X、发明名称为“一种应用程序存储空间的管理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on March 28, 2016, the Chinese Patent Office, Application No. 201610182887.X, entitled "Management Method and Apparatus for Application Storage Space", the entire contents of which are hereby incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及软件管理领域,具体涉及一种应用程序存储空间的管理方法、装置和电子设备。The present invention relates to the field of software management, and in particular, to a method, an apparatus, and an electronic device for managing an application storage space.
背景技术Background technique
随着通信技术的发展,电子移动终端如手机、平板电脑等已经成为人们日常生活中必不可少的设备之一,这些设备与人们的生活也越来越紧密。例如,随着智能手机技术的发展,其功能也越来越强大,出现了支持手机终端的各种应用程序。由于各种手机应用使用时很便捷,因此很多用户下载了众多的应用程序在手机上。With the development of communication technology, electronic mobile terminals such as mobile phones and tablet computers have become one of the indispensable devices in people's daily life, and these devices are becoming more and more closely related to people's lives. For example, with the development of smart phone technology, its functions are becoming more and more powerful, and various applications supporting mobile terminal devices have emerged. Since many mobile applications are very convenient to use, many users download a large number of applications on their mobile phones.
各种应用程序都需要占用一定的存储空间,尤其是视频、音乐等,用户可以在使用这些应用程序时,可以根据需要下载所需的视频、音乐等,如果用户不定期清理,这就使得某些应用程序占用的存储空间越来越大,当手机总的存储空间有限时,当某些应用程序占用的空间太大,剩余空间不足时,则影响用户下载新的应用程序,或影响手机中其他应用程序的正常更新。A variety of applications need to occupy a certain amount of storage space, especially video, music, etc., users can use these applications, you can download the required video, music, etc. as needed, if the user does not regularly clean up, this makes a certain Some applications take up more and more storage space. When the total storage space of the mobile phone is limited, when some applications occupy too much space and the remaining space is insufficient, it will affect the user to download new applications or affect the mobile phone. Normal update of other applications.
此外,由于用户使用应用程序时,并不会随时关注这些应用程序所占用的存储空间,有些应用程序由于自动下载、存储缓存文件等其他原 因,占用了较多的存储空间,但用户并无法及时获得这些信息,只有当剩余的存储空间不足时,用户才会收到提醒。可见,现有技术中,用户无法及时管理安装的各个应用程序的存储空间。In addition, since users are not always paying attention to the storage space occupied by these applications when they use the application, some applications are automatically downloaded, stored in cache files, etc. Because it takes up more storage space, but the user can not get this information in time, the user will only receive the reminder when the remaining storage space is insufficient. It can be seen that in the prior art, the user cannot manage the storage space of each installed application in time.
发明内容Summary of the invention
本发明要解决的技术问题在于克服现有技术中的应用程序的存储空间不方便管理的缺陷。The technical problem to be solved by the present invention is to overcome the defect that the storage space of the application program in the prior art is inconvenient to manage.
本发明提供一种应用程序存储空间的管理方法,包括如下步骤:监测各应用程序所占用的存储空间;判断所述存储空间是否达到预先设定的上限阈值;是则提醒用户对所述应用程序进行存储空间管理。The invention provides a method for managing an application storage space, comprising the steps of: monitoring a storage space occupied by each application; determining whether the storage space reaches a preset upper threshold; and prompting a user to the application Perform storage space management.
优选地,对所述应用程序进行存储空间管理的步骤,包括:显示所述应用程序内可删除的文件列表供用户选择;根据用户的选择,删除相应的文件。Preferably, the step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for the user to select; and deleting the corresponding file according to the user's selection.
优选地,对所述应用程序进行存储空间管理,包括:删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。Preferably, performing storage space management on the application comprises: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
优选地,可以调整所述应用程序对应的存储空间的上限阈值。Preferably, an upper threshold of a storage space corresponding to the application may be adjusted.
优选地,所述监测各应用程序所占用的存储空间,包括:周期性获取所述应用程序所占用的存储空间;或当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。Preferably, the monitoring the storage space occupied by each application comprises: periodically acquiring the storage space occupied by the application; or acquiring the application occupied by the application when the application has a new download task. storage.
本发明还提供一种应用程序存储空间的管理装置,包括监测单元,用于监测各应用程序所占用的存储空间;判断单元,用于判断所述存储空间是否达到预先设定的上限阈值;提醒单元,用于当所述存储空间超过上限 阈值时,向用户发送提醒;空间管理单元,用于对所述应用程序进行存储空间管理。The present invention also provides a management device for an application storage space, comprising: a monitoring unit, configured to monitor a storage space occupied by each application; a determining unit, configured to determine whether the storage space reaches a preset upper threshold; Unit for when the storage space exceeds the upper limit The threshold is sent to the user; the space management unit is configured to perform storage space management on the application.
优选地,包括:所述空间管理单元包括:显示子单元,用于显示所述应用程序内可删除的文件列表;人工删除子单元,根据用户的选择,删除相应的文件。Preferably, the space management unit includes: a display subunit for displaying a list of files that can be deleted in the application; manually deleting the subunit, and deleting the corresponding file according to the user's selection.
优选地,所述空间管理单元包括:自动删除子单元,删除所述应用程序内下载日期最早的文件或使用频率最低的文件。Preferably, the space management unit comprises: automatically deleting the sub-unit, deleting the file with the earliest download date or the file with the lowest frequency of use in the application.
优选地,还包括阈值调整单元,用于调整所述应用程序对应的存储空间的上限阈值。Preferably, the method further includes a threshold adjustment unit, configured to adjust an upper threshold of the storage space corresponding to the application.
优选地,所述监测单元包括:周期性监测子单元,用于周期性获取所述应用程序所占用的存储空间;或定时监测单元,用于当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。Preferably, the monitoring unit includes: a periodic monitoring subunit for periodically acquiring a storage space occupied by the application; or a timing monitoring unit, configured to acquire a location when the application has a new download task The storage space occupied by the application.
本发明实施例又公开了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够监测各应用程序所占用的存储空间;判断所述存储空间是否达到预先设定的上限阈值;是则提醒用户对所述应用程序进行存储空间管理。Embodiments of the invention further disclose an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to monitor a storage space occupied by each application; determine whether the storage space reaches a preset upper threshold; Perform storage space management on the application.
上述的电子设备,其中,对所述应用程序进行存储空间管理的步骤,包括:显示所述应用程序内可删除的文件列表供用户选择;根据用户的选 择,删除相应的文件。The electronic device, wherein the step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for selection by a user; Select and delete the corresponding file.
上述的电子设备,其中,对所述应用程序进行存储空间管理,包括:删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。In the above electronic device, the storage space management of the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
上述的电子设备,其中,可以调整所述应用程序对应的存储空间的上限阈值。In the above electronic device, an upper limit threshold of a storage space corresponding to the application may be adjusted.
上述的电子设备,其中,所述监测各应用程序所占用的存储空间,包括:周期性获取所述应用程序所占用的存储空间;或当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。The electronic device, wherein the monitoring the storage space occupied by each application comprises: periodically acquiring a storage space occupied by the application; or acquiring the application when the application has a new download task The storage space occupied by the program.
本发明还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:监测各应用程序所占用的存储空间;判断所述存储空间是否达到预先设定的上限阈值;是则提醒用户对所述应用程序进行存储空间管理。The present invention also discloses a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: monitor each application The storage space occupied; determining whether the storage space reaches a preset upper threshold; and prompting the user to perform storage space management on the application.
上述的存储介质,其中,对所述应用程序进行存储空间管理的步骤,包括:显示所述应用程序内可删除的文件列表供用户选择;根据用户的选择,删除相应的文件。The above storage medium, wherein the step of performing storage space management on the application comprises: displaying a list of files that can be deleted in the application for selection by a user; and deleting a corresponding file according to a user selection.
上述的存储介质,其中,对所述应用程序进行存储空间管理,包括:删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。In the above storage medium, the storage space management of the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
上述的存储介质,其中,可以调整所述应用程序对应的存储空间的上限阈值。 In the above storage medium, an upper limit threshold of a storage space corresponding to the application may be adjusted.
上述的存储介质,其中,所述监测各应用程序所占用的存储空间,包括:周期性获取所述应用程序所占用的存储空间;或当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。The storage medium, wherein the monitoring the storage space occupied by each application comprises: periodically acquiring a storage space occupied by the application; or acquiring the application when the application has a new download task The storage space occupied by the program.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method of any of the above.
本发明技术方案,具有如下优点:The technical solution of the present invention has the following advantages:
1.本发明提供的应用程序存储空间的管理方法,首先,监测各应用程序所占用的存储空间,判断所述应用程序所占用的存储空间是否达到预先设置的上限阈值,是则对该应用程序进行存储空间管理。该方案中,通过预先针对各个应用程序设置上限阈值,对各个应用程序的存储空间来进行监测,由于上限阈值用户可以自己设置,因此针对重要的应用程序或需要较多空间的应用程序可将存储空间设置的大一些,其余的设置的小一些,当某一个应用程序的存储空间达到上限时,则会提醒用户进行存储空间管理或者根据预先的设置自动进行存储空间管理,有效避免了现有技术中只有存储空间不足时才能进行提醒的问题,在各个应用的使用过程中对其存储空间进行了有效管理,提高了应用程序的存储空间管理的有效性和及时性。The method for managing an application storage space provided by the present invention firstly monitors a storage space occupied by each application, and determines whether the storage space occupied by the application reaches a preset upper threshold, and the application is Perform storage space management. In this solution, the storage space of each application is monitored by setting an upper threshold for each application in advance, and since the upper threshold can be set by the user, the application can be stored for an important application or an application requiring more space. The space setting is larger, and the rest of the settings are smaller. When the storage space of an application reaches the upper limit, the user is reminded to perform storage space management or automatically perform storage space management according to the preset settings, thereby effectively avoiding the prior art. Only when there is insufficient storage space can the problem be reminded, and the storage space is effectively managed during the use of each application, which improves the validity and timeliness of the storage space management of the application.
2.本发明提供的应用程序存储空间的管理方法,对应用程序进行存储空间管理时,可以为用户提供删除接口或者根据预先设置来自动删除,这样,用户无需等到存储空间不足时再去管理存储空间,优化了资源利用率。 2. The management method of the application storage space provided by the present invention can provide a user with a delete interface or automatically delete according to a preset when the storage space is managed by the application, so that the user does not need to wait until the storage space is insufficient to manage the storage. Space optimizes resource utilization.
3.本发明提供的应用程序存储空间的管理方法,还可以根据需要调整上限阈值,当使用过程中发现阈值设置的不合理时,可以及时进行更改。3. The management method of the application storage space provided by the present invention can also adjust the upper threshold according to requirements. When the threshold setting is unreasonable during use, the change can be made in time.
4.本发明提供的应用程序存储空间的管理方法,能够周期性获取各个应用程序所占用的存储空间;或当该应用程序有新下载任务时,获取该应用程序所占用的存储空间,这样在每次有新下载任务时,都会根据预设的上限阈值对该应用程序进行一次管理,避免了最后存储空间不足时再集中管理费时费力的问题。The management method of the application storage space provided by the present invention can periodically acquire the storage space occupied by each application program; or when the application has a new download task, obtain the storage space occupied by the application program, so that Each time there is a new download task, the application is managed once according to the preset upper threshold, which avoids the problem of centralized management and time consuming when the final storage space is insufficient.
附图说明DRAWINGS
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the specific embodiments or the description of the prior art will be briefly described below, and obviously, the attached in the following description The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图1为本发明实施例1中应用程序存储空间的管理方法的一个具体示例的流程图;1 is a flowchart of a specific example of a method for managing an application storage space in Embodiment 1 of the present invention;
图2为本发明实施例2中应用程序存储空间的管理装置的一个具体示例的结构框图;2 is a structural block diagram of a specific example of an apparatus for managing an application storage space in Embodiment 2 of the present invention;
图3为本发明实施例中电子设备的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发 明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. Based on this issue All other embodiments obtained by a person of ordinary skill in the art without creative efforts are within the scope of the present invention.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it is to be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship of the indications is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description of the invention and the simplified description, rather than indicating or implying that the device or component referred to has a specific orientation, in a specific orientation. The construction and operation are therefore not to be construed as limiting the invention. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connection, or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection. The specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。Further, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not constitute a conflict with each other.
实施例1Example 1
本实施例中提供一种应用程序存储空间的管理方法,可用于手机、ipad、平板电脑等移动终端设备中,对其下载的应用程序的存储空间进行管理。In this embodiment, a method for managing an application storage space is provided, which can be used in a mobile terminal device such as a mobile phone, an iPad, or a tablet computer to manage a storage space of an downloaded application.
该应用程序存储空间的管理方法需要预先针对各应用程序分别设置存储空间的上限阈值。 The management method of the application storage space needs to set an upper limit threshold of the storage space for each application in advance.
当用户下载一个应用程序后,该应用程序会占用一定的存储空间,除此以外,使用该应用程序时,还会根据使用的需要增加另外的存储空间。例如优酷视频、百度音乐等应用程序,使用时可以下载视频或音乐,下载的文件需要占据一定的存储空间。此外,像微信、QQ等,在收发消息时,也需要增加存储空间。在针对每个应用程序设置存储空间的上限阈值时,该阈值一定要大于该应用程序安装时所需的存储空间。例如优酷安装程序占用的空间为200M,由于需要使用其下载视频或缓存视频,可以将其对应的存储空间商上限设置为1G。When a user downloads an application, the application takes up a certain amount of storage space. In addition, when the application is used, additional storage space is added according to the needs of the application. For example, Youku video, Baidu music and other applications can download video or music when using, and the downloaded file needs to occupy a certain storage space. In addition, like WeChat, QQ, etc., when sending and receiving messages, it is also necessary to increase the storage space. When you set the upper threshold for storage for each application, the threshold must be greater than the storage space required for the application installation. For example, Youku installer takes up 200M of space. Because you need to use it to download video or cache video, you can set its corresponding storage space limit to 1G.
该应用程序存储空间的管理方法包括以下步骤:The management method of the application storage space includes the following steps:
S1、监测各应用程序所占用的存储空间。系统可以获取并记录每个应用程序所占用的存储空间。此处监测的方式可以有多种,比如周期性获取各个应用程序所占用的存储空间,当采用周期性获取的方式时,需要预先设置监测周期,如每小时检查一次,每小时获取一次各个应用程序所占用的存储空间。S1. Monitor the storage space occupied by each application. The system can capture and record the storage space occupied by each application. There are a variety of ways to monitor here. For example, the storage space occupied by each application is periodically acquired. When the periodic acquisition method is adopted, the monitoring period needs to be set in advance, such as checking every hour and acquiring each application every hour. The storage space occupied by the program.
为了避免周期性检查带来的资源浪费,还可以采用当该应用程序有新下载任务时,获取该应用程序所占用的存储空间。这样,当没有使用新的存储空间时,无需获取该应用程序所占的存储空间。例如,当使用优酷下载新的视频时,检查当前优酷所占用的存储空间。这样在每次有新下载任务时,都会根据预设的上限阈值对该应用程序进行一次管理,避免了最后存储空间不足时再集中管理费时费力的问题。In order to avoid the waste of resources caused by periodic inspection, it is also possible to obtain the storage space occupied by the application when the application has a new download task. This way, when you do not use the new storage space, you do not need to obtain the storage space occupied by the application. For example, when using Youku to download a new video, check the storage space currently occupied by Youku. In this way, each time there is a new download task, the application is managed once according to the preset upper threshold, which avoids the problem of centralized management and time consuming when the final storage space is insufficient.
S2、判断所述应用程序所占用的存储空间是否达到预先设置的上限阈 值,是则对该应用程序进行存储空间管理,否则转到S1继续监测。S2. Determine whether the storage space occupied by the application reaches a preset upper threshold. The value is to manage the storage space of the application, otherwise go to S1 to continue monitoring.
例如预先设置优酷的存储空间的上限阈值为1G,当监测到其存储空间达到1G时,则对该优酷应用程序进行存储空间的管理。For example, the upper limit threshold of the storage space of Youku is set to 1G in advance, and when the storage space is reached to 1G, the storage space of the Youku application is managed.
管理的方式可以采用以下两种:There are two ways to manage it:
第一种对该应用程序进行存储空间管理的方式,包括:The first way to manage storage space for this application includes:
第一,显示该应用程序内能够删除的下载文件供用户选择。针对优酷视频,可以将已经下载的文件显示出来让用户勾选需要删除那些文件。First, the download file that can be deleted in the application is displayed for the user to select. For Youku videos, you can display the downloaded files and let the user check the files that need to be deleted.
第二,接收用户的选择并删除用户选定的文件。当用户选择后,将用户选定的这些文件删除,从而释放出相应的存储空间。Second, the user's selection is received and the user selected file is deleted. When the user selects, the files selected by the user are deleted, thereby releasing the corresponding storage space.
第二种对该应用程序进行存储空间管理的方式,是预先定义一种或几种自动清除文件释放空间的方式,如包括删除该应用程序内下载日期最早的文件或删除使用频率最低的文件,当然针对优酷等播放应用,还可以设置为默认删除已经观看的文件,保留尚未观看的下载文件,或者这些方式相结合,建立一个删除的顺序,例如删除已经观看的下载日期最早且使用频率最低的一个或多个文件,根据这种方式来依次删除一个或多个文件。The second way to manage the storage space of the application is to pre-define one or several ways to automatically clear the space for releasing the file, such as deleting the file with the earliest download date in the application or deleting the file with the lowest frequency of use. Of course, for the playback application such as Youku, you can also set to delete the files you have watched by default, keep the downloaded files that have not been viewed, or combine these methods to create a deletion order, such as deleting the earliest download date and the lowest frequency of use. One or more files in this way to delete one or more files in turn.
通过上述两种方式对应用程序进行存储空间管理,能够为用户提供删除接口或者根据预先设置来自动删除,这样,用户无需等到存储空间不足时再去管理存储空间,优化了资源利用率。The storage space management of the application in the above two manners can provide the user with a delete interface or automatically delete according to preset settings, so that the user does not need to wait until the storage space is insufficient to manage the storage space, thereby optimizing resource utilization.
作为进一步优化的实施方案,还包括根据需要调整所述应用程序对应的存储空间的上限阈值。由于第一次设置时缺乏经验将上限阈值设置的不 合适,后续还可以根据需要对该上限阈值进行调整,将该增加该上限阈值或缩小该上限阈值,从而使得所述阈值在合理的范围内。As a further optimized implementation, the method further includes adjusting an upper threshold of a storage space corresponding to the application as needed. The upper threshold is not set due to lack of experience during the first setup Suitably, the upper limit threshold may be adjusted as needed, and the upper limit threshold may be increased or reduced, such that the threshold is within a reasonable range.
该方案中,通过预先针对各个应用程序设置上限阈值,对各个应用程序的存储空间来进行监测,由于上限阈值用户可以自己设置,因此针对重要的应用程序或需要较多空间的应用程序可将存储空间设置的大一些,其余的设置的小一些,当某一个应用程序的存储空间达到上限时,则会提醒用户进行存储空间管理或者根据预先的设置自动进行存储空间管理,有效避免了现有技术中只有存储空间不足时才能进行提醒的问题,在各个应用的使用过程中对其存储空间进行了有效管理。In this solution, the storage space of each application is monitored by setting an upper threshold for each application in advance, and since the upper threshold can be set by the user, the application can be stored for an important application or an application requiring more space. The space setting is larger, and the rest of the settings are smaller. When the storage space of an application reaches the upper limit, the user is reminded to perform storage space management or automatically perform storage space management according to the preset settings, thereby effectively avoiding the prior art. The problem of reminding can only be made when there is insufficient storage space, and the storage space is effectively managed during the use of each application.
实施例2Example 2
本实施例中提供一种应用程序存储空间的管理装置,结构框图如图2所示,包括:In this embodiment, a management device for an application storage space is provided. The structural block diagram is as shown in FIG. 2, and includes:
监测单元01,用于监测各应用程序所占用的存储空间;The monitoring unit 01 is configured to monitor storage space occupied by each application;
判断单元02,用于判断所述应用程序所占用的存储空间是否达到其对应的上限阈值;The determining unit 02 is configured to determine whether the storage space occupied by the application reaches its corresponding upper threshold;
提醒单元03,用于当所述存储空间超过上限阈值时,向用户发送提醒;The reminding unit 03 is configured to send a reminder to the user when the storage space exceeds an upper threshold;
空间管理单元04,用于当应用程序所占用的存储空间达到预设的上限阈值时,对该应用程序进行存储空间管理。The space management unit 04 is configured to perform storage space management on the application when the storage space occupied by the application reaches a preset upper threshold.
优选地:所述空间管理单元04包括: Preferably, the space management unit 04 comprises:
显示子单元,用于显示所述应用程序内可删除的文件列表;a display subunit for displaying a list of files that can be deleted in the application;
人工删除子单元,根据用户的选择,删除相应的文件。The subunit is manually deleted, and the corresponding file is deleted according to the user's selection.
作为其他的实施方案,所述空间管理单元04包括:As other embodiments, the space management unit 04 includes:
自动删除子单元,删除该应用程序内下载日期最早的文件或删除使用频率最低的文件。Automatically delete subunits, delete the files with the oldest download date in the application, or delete the files with the lowest frequency of use.
进一步地,该方案还包括阈值调整单元,用于根据需要调整所述应用程序对应的存储空间的上限阈值。Further, the solution further includes a threshold adjustment unit, configured to adjust an upper threshold of the storage space corresponding to the application as needed.
作为具体的实现方式,所述监测单元01包括:As a specific implementation manner, the monitoring unit 01 includes:
周期性监测子单元,用于周期性获取各个应用程序所占用的存储空间;或Periodically monitoring sub-units for periodically acquiring storage space occupied by each application; or
定时监测单元,用于当该应用程序有新下载任务时,获取该应用程序所占用的存储空间。The timing monitoring unit is configured to acquire the storage space occupied by the application when the application has a new download task.
本发明提供的应用程序存储空间的管理装置,包括阈值设置单元、判断单元和空间管理单元,当某一个应用程序的存储空间达到上限时,则会提醒用户进行存储空间管理或者根据预先的设置自动进行存储空间管理,提高了应用程序的存储空间管理的有效性和及时性。The management device for the application storage space provided by the present invention comprises a threshold setting unit, a judging unit and a space management unit. When the storage space of an application reaches an upper limit, the user is reminded to perform storage space management or automatically according to the preset setting. Storage space management improves the effectiveness and timeliness of application storage space management.
实施例3Example 3
如图3所示,本发明实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中, 所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够监测各应用程序所占用的存储空间;判断所述存储空间是否达到预先设定的上限阈值;是则提醒用户对所述应用程序进行存储空间管理。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。As shown in FIG. 3, an embodiment of the present invention further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; The memory 800 stores instructions executable by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to monitor storage occupied by each application a space; determining whether the storage space reaches a preset upper threshold; and prompting the user to perform storage space management on the application. The electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
本实施例的电子设备,优选地,对所述应用程序进行存储空间管理的步骤,包括:显示所述应用程序内可删除的文件列表供用户选择;根据用户的选择,删除相应的文件。In the electronic device of this embodiment, preferably, the step of performing storage space management on the application program includes: displaying a list of files that can be deleted in the application program for the user to select; and deleting the corresponding file according to the user's selection.
本实施例的电子设备,优选地,对所述应用程序进行存储空间管理,包括:删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。In the electronic device of this embodiment, preferably, performing storage space management on the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
本实施例的电子设备,优选地,可以调整所述应用程序对应的存储空间的上限阈值。In the electronic device of this embodiment, preferably, an upper limit threshold of a storage space corresponding to the application may be adjusted.
本实施例的电子设备,优选地,所述监测各应用程序所占用的存储空间,包括:周期性获取所述应用程序所占用的存储空间;或当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。In the electronic device of the embodiment, the monitoring, by the monitoring, the storage space occupied by each application includes: periodically acquiring the storage space occupied by the application; or acquiring when the application has a new download task. The storage space occupied by the application.
实施例4Example 4
本发明实施例还公开了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够监测各应用程序所占用的存储空间;判断所述存储空间是 否达到预先设定的上限阈值;是则提醒用户对所述应用程序进行存储空间管理。Embodiments of the present invention also disclose a non-volatile computer storage medium storing computer-executable instructions that, when executed by an electronic device, enable an electronic device to monitor occupancy by each application Storage space; determining that the storage space is Whether the preset upper threshold is reached; the user is reminded to perform storage space management on the application.
本实施例的存储介质,优选地,对所述应用程序进行存储空间管理的步骤,包括:显示所述应用程序内可删除的文件列表供用户选择;根据用户的选择,删除相应的文件。The storage medium of the embodiment, preferably, the step of performing storage space management on the application, includes: displaying a list of files that can be deleted in the application for the user to select; and deleting the corresponding file according to the user's selection.
本实施例的存储介质,优选地,对所述应用程序进行存储空间管理,包括:删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。In the storage medium of the embodiment, preferably, performing storage space management on the application includes: deleting a file with the earliest download date in the application or deleting a file with the lowest frequency of use.
本实施例的存储介质,优选地,可以调整所述应用程序对应的存储空间的上限阈值。In the storage medium of this embodiment, preferably, the upper limit threshold of the storage space corresponding to the application may be adjusted.
本实施例的存储介质,优选地,所述监测各应用程序所占用的存储空间,包括:周期性获取所述应用程序所占用的存储空间;或当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。The storage medium of the embodiment, wherein the monitoring the storage space occupied by each application comprises: periodically acquiring the storage space occupied by the application; or acquiring when the application has a new download task The storage space occupied by the application.
实施例5Example 5
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method described in the above embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软 件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, the present invention can adopt an entirely hardware embodiment, completely soft An embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of the invention.

Claims (21)

  1. 一种应用程序存储空间的管理方法,其特征在于,包括如下步骤:A method for managing an application storage space, comprising the steps of:
    监测各应用程序所占用的存储空间;Monitor the storage space occupied by each application;
    判断所述存储空间是否达到预先设定的上限阈值;Determining whether the storage space reaches a preset upper threshold;
    是则提醒用户对所述应用程序进行存储空间管理。Yes, the user is reminded to perform storage space management on the application.
  2. 根据权利要求1所述的管理方法,其特征在于,对所述应用程序进行存储空间管理的步骤,包括:The management method according to claim 1, wherein the step of performing storage space management on the application comprises:
    显示所述应用程序内可删除的文件列表供用户选择;Displaying a list of files that can be deleted in the application for selection by the user;
    根据用户的选择,删除相应的文件。Delete the corresponding file according to the user's choice.
  3. 根据权利要求1所述的管理方法,其特征在于,对所述应用程序进行存储空间管理,包括:The management method according to claim 1, wherein the storage space management of the application comprises:
    删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。Delete the file with the oldest download date in the application or delete the file with the lowest frequency of use.
  4. 根据权利要求1或2或3所述的管理方法,其特征在于,可以调整所述应用程序对应的存储空间的上限阈值。The management method according to claim 1 or 2 or 3, wherein the upper limit threshold of the storage space corresponding to the application is adjustable.
  5. 根据权利要求1或2或3所述的管理方法,其特征在于,所述监测各应用程序所占用的存储空间,包括: The management method according to claim 1 or 2 or 3, wherein the monitoring the storage space occupied by each application comprises:
    周期性获取所述应用程序所占用的存储空间;或Periodically obtaining storage space occupied by the application; or
    当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。When the application has a new download task, the storage space occupied by the application is obtained.
  6. 一种应用程序存储空间的管理装置,其特征在于,包括:A management device for an application storage space, comprising:
    监测单元,用于监测各应用程序所占用的存储空间;a monitoring unit for monitoring the storage space occupied by each application;
    判断单元,用于判断所述存储空间是否达到预先设定的上限阈值;a determining unit, configured to determine whether the storage space reaches a preset upper threshold;
    提醒单元,用于当所述存储空间超过上限阈值时,向用户发送提醒;a reminding unit, configured to send a reminder to the user when the storage space exceeds an upper threshold;
    空间管理单元,用于对所述应用程序进行存储空间管理。a space management unit, configured to perform storage space management on the application.
  7. 根据权利要求6所述的装置,其特征在于,包括:所述空间管理单元包括:The device according to claim 6, comprising: said space management unit comprises:
    显示子单元,用于显示所述应用程序内可删除的文件列表;a display subunit for displaying a list of files that can be deleted in the application;
    人工删除子单元,根据用户的选择,删除相应的文件。The subunit is manually deleted, and the corresponding file is deleted according to the user's selection.
  8. 根据权利要求6所述的装置,其特征在于,所述空间管理单元包括:The device according to claim 6, wherein the space management unit comprises:
    自动删除子单元,删除所述应用程序内下载日期最早的文件或使用频率最低的文件。The subunit is automatically deleted, and the file with the earliest download date or the file with the lowest frequency of use in the application is deleted.
  9. 根据权利要求6或7或8所述的装置,其特征在于,还包括阈值调整单元,用于调整所述应用程序对应的存储空间的上限阈值。 The device according to claim 6 or 7 or 8, further comprising a threshold adjusting unit, configured to adjust an upper threshold of a storage space corresponding to the application.
  10. 根据权利要求6或7或8所述的装置,其特征在于,所述监测单元包括:The device according to claim 6 or 7 or 8, wherein the monitoring unit comprises:
    周期性监测子单元,用于周期性获取所述应用程序所占用的存储空间;或Periodically monitoring a subunit for periodically acquiring storage space occupied by the application; or
    定时监测单元,用于当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。The timing monitoring unit is configured to acquire a storage space occupied by the application when the application has a new download task.
  11. 一种电子设备,其特征在于包括至少一个处理器;以及,与所述An electronic device characterized by comprising at least one processor; and
    至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够At least one processor communicatively coupled memory; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to
    监测各应用程序所占用的存储空间;Monitor the storage space occupied by each application;
    判断所述存储空间是否达到预先设定的上限阈值;Determining whether the storage space reaches a preset upper threshold;
    是则提醒用户对所述应用程序进行存储空间管理。Yes, the user is reminded to perform storage space management on the application.
  12. 根据权利要求11所述的电子设备,其特征在于,对所述应用程序进行存储空间管理的步骤,包括:The electronic device according to claim 11, wherein the step of performing storage space management on the application comprises:
    显示所述应用程序内可删除的文件列表供用户选择;Displaying a list of files that can be deleted in the application for selection by the user;
    根据用户的选择,删除相应的文件。Delete the corresponding file according to the user's choice.
  13. 根据权利要求11所述的电子设备,其特征在于,对所述应用程序进行存储空间管理,包括: The electronic device according to claim 11, wherein the storage space management of the application comprises:
    删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。Delete the file with the oldest download date in the application or delete the file with the lowest frequency of use.
  14. 根据权利要求11或12或13所述的电子设备,其特征在于,可以调整所述应用程序对应的存储空间的上限阈值。The electronic device according to claim 11 or 12 or 13, wherein the upper limit threshold of the storage space corresponding to the application is adjustable.
  15. 根据权利要求11或12或13所述的电子设备,其特征在于,所述监测各应用程序所占用的存储空间,包括:The electronic device according to claim 11 or 12 or 13, wherein the monitoring the storage space occupied by each application comprises:
    周期性获取所述应用程序所占用的存储空间;或Periodically obtaining storage space occupied by the application; or
    当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。When the application has a new download task, the storage space occupied by the application is obtained.
  16. 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:A non-volatile computer storage medium characterized by the storage medium storing computer-executable instructions that, when executed by an electronic device, enable the electronic device to:
    监测各应用程序所占用的存储空间;Monitor the storage space occupied by each application;
    判断所述存储空间是否达到预先设定的上限阈值;Determining whether the storage space reaches a preset upper threshold;
    是则提醒用户对所述应用程序进行存储空间管理。Yes, the user is reminded to perform storage space management on the application.
  17. 根据权利要求16所述的存储介质,其特征在于,对所述应用程序进行存储空间管理的步骤,包括:The storage medium according to claim 16, wherein the step of performing storage space management on the application comprises:
    显示所述应用程序内可删除的文件列表供用户选择; Displaying a list of files that can be deleted in the application for selection by the user;
    根据用户的选择,删除相应的文件。Delete the corresponding file according to the user's choice.
  18. 根据权利要求16所述的存储介质,其特征在于,对所述应用程序进行存储空间管理,包括:The storage medium according to claim 16, wherein the storage space management of the application comprises:
    删除所述应用程序内下载日期最早的文件或删除使用频率最低的文件。Delete the file with the oldest download date in the application or delete the file with the lowest frequency of use.
  19. 根据权利要求16或17或18所述的存储介质,其特征在于,可以调整所述应用程序对应的存储空间的上限阈值。The storage medium according to claim 16 or 17 or 18, wherein an upper limit threshold of a storage space corresponding to the application is adjustable.
  20. 根据权利要求16或17或18所述的存储介质,其特征在于,所述监测各应用程序所占用的存储空间,包括:The storage medium according to claim 16 or 17 or 18, wherein the monitoring the storage space occupied by each application comprises:
    周期性获取所述应用程序所占用的存储空间;或Periodically obtaining storage space occupied by the application; or
    当所述应用程序有新下载任务时,获取所述应用程序所占用的存储空间。When the application has a new download task, the storage space occupied by the application is obtained.
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, The computer performs the method of any of the preceding claims.
PCT/CN2016/097279 2016-03-28 2016-08-30 Method and apparatus for managing storage space of applications, and electronic device WO2017166679A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610182887.X 2016-03-28
CN201610182887.XA CN105867845A (en) 2016-03-28 2016-03-28 Application storage space management method and device

Publications (1)

Publication Number Publication Date
WO2017166679A1 true WO2017166679A1 (en) 2017-10-05

Family

ID=56625032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097279 WO2017166679A1 (en) 2016-03-28 2016-08-30 Method and apparatus for managing storage space of applications, and electronic device

Country Status (2)

Country Link
CN (1) CN105867845A (en)
WO (1) WO2017166679A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334059A (en) * 2018-02-11 2019-10-15 北京京东尚科信息技术有限公司 Method and apparatus for handling file
CN112328327A (en) * 2020-11-20 2021-02-05 杭州迪普科技股份有限公司 Configuration partition sorting method and device
CN117991996A (en) * 2024-04-03 2024-05-07 深圳市铨兴科技有限公司 Data dynamic storage method, system and storage medium
CN117991996B (en) * 2024-04-03 2024-05-31 深圳市铨兴科技有限公司 Data dynamic storage method, system and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867845A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application storage space management method and device
CN106570084A (en) * 2016-10-19 2017-04-19 捷开通讯(深圳)有限公司 Mobile terminal with storage function and management method of storage space of terminal
CN107506243A (en) * 2017-09-01 2017-12-22 惠州Tcl移动通信有限公司 Using processing method, mobile terminal and the storage medium for taking memory space
CN107784104A (en) * 2017-10-26 2018-03-09 中山市君扬电子科技有限公司 A kind of data-pushing update method of children education software
CN108111668A (en) * 2017-11-23 2018-06-01 珠海格力电器股份有限公司 Read method, apparatus, storage medium and the equipment for the information that communication equipment receives
CN109558165B (en) * 2018-11-29 2022-07-08 广州市百果园信息技术有限公司 Configuration optimization method, device, equipment and storage medium
CN110334060A (en) * 2019-04-24 2019-10-15 维沃移动通信有限公司 A kind of data clearing method, mobile terminal and computer readable storage medium
CN112667575A (en) * 2019-10-16 2021-04-16 深圳市路通网络技术有限公司 Data packet cleaning method and device and related equipment thereof
CN111274160A (en) * 2020-01-22 2020-06-12 维沃移动通信有限公司 Data storage method, electronic device, and medium
CN111352632B (en) * 2020-03-02 2023-07-04 抖音视界有限公司 Software product detection device, system, method and storage medium
CN111737209A (en) * 2020-06-23 2020-10-02 深圳市网心科技有限公司 File cleaning method and related equipment thereof
CN111962253A (en) * 2020-07-09 2020-11-20 青岛海尔洗衣机有限公司 Method for expanding operation program of washing machine
CN115510272B (en) * 2022-09-20 2023-07-14 广州金狐智能科技有限公司 Computer data processing system based on big data analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431558A (en) * 2007-11-09 2009-05-13 中国移动通信集团公司 Data control method for mobile terminal and mobile terminal thereof
CN104317627A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Clear data one click scan method and device of storage space
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
CN105867845A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application storage space management method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365392B (en) * 2012-03-26 2016-06-08 辽宁华鼎科技股份有限公司 Internal storage management system
CN105335367B (en) * 2014-05-30 2018-12-14 北京金山安全软件有限公司 Method, device and server for determining application program associated with file directory
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104239157B (en) * 2014-08-19 2017-05-03 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal
CN104239195B (en) * 2014-09-17 2017-07-28 可牛网络技术(北京)有限公司 A kind of method and electronic equipment for handling electronic equipment power consumption
CN105095529A (en) * 2015-09-30 2015-11-25 深圳天珑无线科技有限公司 Method and device for cleaning garbage content of software as well as terminal
CN105260294A (en) * 2015-11-16 2016-01-20 曙光信息产业(北京)有限公司 Monitoring method and device for memory occupied by application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431558A (en) * 2007-11-09 2009-05-13 中国移动通信集团公司 Data control method for mobile terminal and mobile terminal thereof
CN104317627A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Clear data one click scan method and device of storage space
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
CN105867845A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application storage space management method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334059A (en) * 2018-02-11 2019-10-15 北京京东尚科信息技术有限公司 Method and apparatus for handling file
CN112328327A (en) * 2020-11-20 2021-02-05 杭州迪普科技股份有限公司 Configuration partition sorting method and device
CN112328327B (en) * 2020-11-20 2023-10-27 杭州迪普科技股份有限公司 Configuration partition arrangement method and device
CN117991996A (en) * 2024-04-03 2024-05-07 深圳市铨兴科技有限公司 Data dynamic storage method, system and storage medium
CN117991996B (en) * 2024-04-03 2024-05-31 深圳市铨兴科技有限公司 Data dynamic storage method, system and storage medium

Also Published As

Publication number Publication date
CN105867845A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017166679A1 (en) Method and apparatus for managing storage space of applications, and electronic device
US9491258B2 (en) Systems, communication endpoints, and related methods for distributing images corresponding to communication endpoints
JP6526044B2 (en) Information recall method and apparatus, and electronic terminal
US20150339261A1 (en) System and method for data transfer among the devices
WO2017166680A1 (en) Method and apparatus for managing application programs, and electronic device
WO2017166783A1 (en) Customized message pushing method and apparatus, and electronic device
JP2016532986A (en) Upgrade method, apparatus, device, program, and recording medium
US20140297586A1 (en) Device and method for cloud file management
US11832349B2 (en) Nomination of a primary cell phone from a pool of cell phones
US9325657B2 (en) System and method for contact management in a network
US9692876B2 (en) Suppress and resume notifications based on motion
WO2017166611A1 (en) Media file deletion method and apparatus, and electronic device
CN111061689A (en) File expiration processing method and device for object storage system and electronic equipment
KR102218648B1 (en) Method and apparatus for managing storage space in an electronic device using context data and user profile data
CN105490852B (en) A kind of upgrade detection method and device
WO2017201936A1 (en) Method and apparatus for replacing icon of application installation package, and electronic device
US20150140973A1 (en) System and method for ensuring a call is made from within a call application
CN111930391B (en) Application data processing method and device, server and user terminal
JP5936480B2 (en) TRANSMITTING DEVICE, TRANSMITTING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE CONTROL PROGRAM
JP2012123619A (en) Application management device, server device, application management system, application management method, and computer program
US9602982B2 (en) System and method for ensuring a communication is initiated from within a communication application
WO2017166750A1 (en) Method and device for wallpaper display, mobile terminal, and electronic device
US9239606B2 (en) Power management enhancement
JP6532439B2 (en) Communication system, information providing apparatus and information providing method
CN113176951A (en) Message copying method, device, equipment and computer readable medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896449

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896449

Country of ref document: EP

Kind code of ref document: A1