WO2016202261A1 - 一种内存容量处理的方法及移动终端 - Google Patents

一种内存容量处理的方法及移动终端 Download PDF

Info

Publication number
WO2016202261A1
WO2016202261A1 PCT/CN2016/085887 CN2016085887W WO2016202261A1 WO 2016202261 A1 WO2016202261 A1 WO 2016202261A1 CN 2016085887 W CN2016085887 W CN 2016085887W WO 2016202261 A1 WO2016202261 A1 WO 2016202261A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
instruction
storage capacity
file
user
Prior art date
Application number
PCT/CN2016/085887
Other languages
English (en)
French (fr)
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 WO2016202261A1 publication Critical patent/WO2016202261A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Definitions

  • the embodiments of the present invention relate to the field of electronic device technologies, and in particular, to a method for processing a memory capacity and a mobile terminal.
  • mobile terminals such as mobile phones, tablets, etc.
  • Embodiments of the present invention provide a memory capacity processing method, a mobile terminal, and a computer storage medium, in order to batch process files stored in the mobile terminal, and speed up file cleaning.
  • a first aspect of the embodiments of the present invention provides a method for processing memory capacity, including the following steps:
  • the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input the fingerprint information;
  • a mobile terminal including:
  • a pushing unit configured to: when the current storage margin of the mobile terminal is lower than a first preset threshold The current storage margin of the terminal is pushed to the user to prompt the user to input fingerprint information;
  • An obtaining unit configured to acquire fingerprint information input by a user
  • a generating unit configured to generate a storage capacity processing instruction according to the fingerprint information acquired by the acquiring unit
  • the processing unit is configured to process the file in the mobile terminal according to the storage capacity processing instruction generated by the generating unit to obtain more storage space.
  • a third aspect of the present invention provides a mobile terminal, including: at least one input device, at least one output device, at least one processor, and a memory, the at least one input device, at least one output device, at least one processor, and a memory through a bus Connected, among them,
  • the at least one output device is configured to: when the current storage margin of the mobile terminal is lower than the first preset threshold, push the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information;
  • the at least one input device is configured to acquire fingerprint information input by a user
  • the at least one processor is configured to generate a storage capacity processing instruction according to the fingerprint information, and process the file in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • a fourth aspect of the present invention provides a nonvolatile computer storage medium storing one or more programs, when the one or more programs are executed by one device, causing the device to execute according to the present A method of storage capacity processing provided by the first aspect of the invention.
  • the current storage margin of the mobile terminal when the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input fingerprint information; and the fingerprint input by the user is obtained. And generating a storage capacity processing instruction according to the fingerprint information; processing the file in the mobile terminal according to the storage capacity processing instruction to obtain more storage space. In this way, the files in the mobile terminal can be batch processed to speed up the cleaning of files in the mobile terminal, thereby obtaining more available space.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for processing memory capacity according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for processing memory capacity according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for processing memory capacity according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for processing memory capacity according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may include, but is not limited to, a notebook computer, a mobile phone, a tablet computer, a smart wearable device, and the like.
  • the system of the mobile terminal refers to the operating system of the device, and may include, but is not limited to, an Android system, a Symbian system, a Windows system, an IOS (a mobile operating system developed by Apple Inc.), an XP system, a Windows 8 system, and the like.
  • the Android mobile terminal refers to the mobile terminal of the Android system
  • the Saipan mobile terminal refers to the mobile terminal of the Saipan system, and the like.
  • the above mobile terminal is only an example, not an exhaustive one, including but not limited to the above mobile terminal.
  • the method for processing the memory capacity mentioned in the embodiment of the present invention or the mobile terminal may perform functions such as file cleaning, compression, and transfer.
  • the files described in the embodiments of the present invention may include, but are not limited to: Photos, videos, songs, apps, ebooks, cached content, chats, and more.
  • FIG. 1 to FIG. 1 A method for processing a memory capacity and a mobile terminal according to an embodiment of the present invention are described in conjunction with FIG. 1 to FIG.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for processing memory capacity according to an embodiment of the present invention.
  • the method for processing memory capacity described in this embodiment includes the following steps:
  • the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input the fingerprint information.
  • the mobile terminal may detect whether the storage margin of the mobile terminal is lower than a first preset threshold every preset time interval, and if the current storage margin of the mobile terminal is detected to be lower than a first preset threshold, The current storage margin can be pushed to the user, and the current storage margin is displayed on the display interface of the mobile terminal, thereby prompting the user to input fingerprint information. Or, when the user starts the photographing function or the photographing function, detecting the current storage margin of the mobile terminal, and detecting that the current storage margin of the mobile terminal is lower than the first preset threshold, the mobile terminal The current storage margin is pushed to the user to prompt the user to input fingerprint information.
  • the first preset threshold may include, but is not limited to: 10M, 20M, 40M, 100M, 5% of the storage space of the terminal, and the like.
  • the breathing light of the mobile terminal may be red to prompt the user to input fingerprint information.
  • the mobile terminal can obtain the fingerprint information input by the user through the fingerprint detecting device.
  • the fingerprint information input by the user may include: fingerprint information of any finger of the user, or a set of complex fingerprint information composed of fingerprint information of different fingers. , such as the fingerprint information of the middle finger of user A and the middle finger of user B.
  • the mobile terminal After the mobile terminal obtains the fingerprint information input by the user, the mobile terminal may generate a storage capacity processing instruction according to the fingerprint information.
  • the storage capacity processing instruction may include, but is not limited to, a delete instruction, a transfer instruction, and a compression instruction.
  • the delete instruction is used to implement the delete function
  • the transfer instruction is used to implement the transfer function
  • the compression instruction is used to implement the compression function.
  • S104 Process the files in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • the mobile terminal can process the files in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • the current storage margin of the mobile terminal when the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input fingerprint information; and the fingerprint information input by the user is acquired; Generating a storage capacity processing instruction according to the fingerprint information; processing the file in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • the files in the mobile terminal can be batch processed to speed up the cleaning of files in the mobile terminal, thereby obtaining more available space.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for processing storage capacity according to an embodiment of the present invention.
  • the method for processing memory capacity described in this embodiment includes the following steps:
  • the mobile terminal pushes the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information, and obtain the user input.
  • Fingerprint The information is generated according to the fingerprint information, and the file stored in the first preset time period in the mobile terminal is deleted by the deletion instruction.
  • the first preset time period may include, but is not limited to, 24 hours ago, 2 days ago, a week ago, a month ago, a year ago, 2 days ago to 5 days ago, within 24 hours, and the like.
  • the mobile terminal may delete the file in a preset format in the mobile terminal by using a delete command.
  • the file of the preset format may be a jpg format photo, a bmp format photo, a png format photo, or the like.
  • the mobile terminal may delete, by using a delete command, a file in the mobile terminal that has a occupied space greater than a preset threshold.
  • the preset threshold may be automatically set by the system of the mobile terminal.
  • the mobile terminal may analyze the size distribution of the file stored by the mobile terminal, and provide a recommended value as a preset threshold according to the size of the memory space used.
  • the mobile terminal may delete the file captured by a certain preset location in the mobile terminal by using a delete command.
  • the preset location may be determined by a positioning system in the mobile terminal. For example, if the file contains a photo, the user takes a photo in Shenzhen Huaqiang North, and the photo also has location information.
  • the preset location is any one or more locations of the location information of the photo taken in the mobile terminal instructed by the user.
  • the current storage margin of the mobile terminal when the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input fingerprint information; and the fingerprint information input by the user is obtained. And generating a deletion instruction according to the fingerprint information; deleting, by using the deletion instruction, the file stored in the first preset time period in the mobile terminal. In this way, the files in the mobile terminal can be batch processed and deleted, and the file cleaning speed in the mobile terminal is accelerated, thereby obtaining more available space.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for processing memory capacity according to an embodiment of the present invention.
  • the method for processing memory capacity described in this embodiment includes the following steps:
  • the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input the fingerprint information.
  • the mobile terminal in a case that the current storage margin of the mobile terminal is lower than the first preset threshold, the mobile terminal pushes the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information, and obtain the fingerprint input by the user. And generating, according to the fingerprint information, a transfer instruction, wherein the transfer instruction is used to transfer a file stored in the mobile terminal, Generally, considering the traffic loss of the mobile terminal, it is possible to detect whether the mobile terminal is in a wireless network environment. If yes, the mobile terminal transfers the file stored in the second preset time period in the mobile terminal to the cloud disk by using the transfer instruction.
  • the mobile terminal may further transfer, by using the transfer instruction, the file stored in the second preset time period of the mobile terminal to another terminal bound to the mobile terminal, for example, the mobile terminal is a mobile phone, and the other terminal may be a smart wristband. , smart watches and more.
  • the second preset time period may include, but is not limited to, 24 hours ago, 2 days ago, a week ago, a month ago, a year ago, 2 days ago to 5 days ago, within 24 hours, and the like.
  • the mobile phone pushes the current storage margin to the user if the current storage margin of the mobile phone is lower than the first preset threshold.
  • the user is prompted to input fingerprint information, obtain fingerprint information input by the user, and generate a transfer instruction according to the fingerprint information, so as to detect whether a connection is made between the mobile phone and the smart bracelet. If yes, the mobile phone transfers the file stored in the second preset time period of the mobile phone to the smart bracelet through the transfer instruction.
  • the mobile terminal may transfer the file whose occupied space is greater than a preset threshold to the cloud disk by using a transfer instruction.
  • the file stored in the preset location in the mobile terminal may be transferred to the cloud disk by using a transfer instruction.
  • the current storage margin of the mobile terminal when the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input fingerprint information; and the fingerprint information input by the user is acquired; And generating a transfer instruction according to the fingerprint information; detecting whether the mobile terminal is in a wireless network environment; if yes, transferring the file stored in the second preset time period of the mobile terminal to the cloud disk by using the transfer instruction. In this way, the file in the mobile terminal can be transferred to the cloud disk in the wireless network environment, and the file cleaning speed in the mobile terminal is accelerated, thereby obtaining more available space.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for processing memory capacity according to an embodiment of the present invention.
  • the method for processing memory capacity described in this embodiment includes the following steps:
  • the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input the fingerprint information.
  • the mobile terminal may push the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information, and obtain the user input.
  • Fingerprint Information generating a compression instruction according to the fingerprint information, wherein the compression instruction is used to compress a file in the mobile terminal.
  • the mobile terminal may compress the file in the mobile terminal that has a occupied space greater than a second preset threshold according to the compression instruction.
  • the second preset threshold may include, but is not limited to, 1M, 2M, 3.5M, and the like. Further, the second preset threshold may be recommended to the user by the system according to the file distribution stored by the mobile terminal, for example, in the foregoing.
  • the mobile terminal can analyze as follows: 200 photos within 1M, the occupied space of the photo within 1M occupies 10% of the total memory space, and the second preset threshold is set to 1M, and the available space is 50M; 1M 80 photos between ⁇ 3M, the occupied space of photos within 1M occupies 20% of the total memory space, the second preset threshold is set to 2M, the available space 520M can be obtained, etc., the user can Set the threshold to choose.
  • the mobile terminal may compress the file stored in the mobile terminal for a preset time period according to the compression instruction. For example, the mobile terminal can compress the files stored in the mobile terminal within 24 hours according to the compression instruction.
  • the mobile terminal may compress the file in a preset format in the mobile terminal according to the compression instruction.
  • the mobile terminal can compress the photo in jpg format according to the compression instruction.
  • the mobile terminal may compress the file stored in the preset location in the mobile terminal according to the compression instruction.
  • the current storage margin of the mobile terminal when the current storage margin of the mobile terminal is lower than the first preset threshold, the current storage margin of the mobile terminal is pushed to the user to prompt the user to input fingerprint information; and the fingerprint information input by the user is obtained. And generating a compression instruction according to the fingerprint information; and compressing, in the mobile terminal, a file whose occupied space is greater than a second preset threshold according to the compression instruction. In this way, the files stored in the mobile terminal can be bulk compressed, thereby speeding up the cleaning of files in the mobile terminal and obtaining more available space.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in this embodiment of the present invention may include: a pushing unit 501, an obtaining unit 502, a generating unit 503, and a processing unit 504.
  • the mobile terminal described in this embodiment is specifically as follows:
  • the pushing unit 501 is configured to: when the current storage margin of the mobile terminal is lower than the first preset threshold, push the current storage margin of the mobile terminal to the user to prompt the user to input the fingerprint information.
  • the mobile terminal may detect whether the storage margin of the mobile terminal is lower than a first preset threshold every preset time interval, and if the current storage margin of the mobile terminal is detected to be lower than a first preset threshold,
  • the pushing unit 501 can push the current margin to the user, and display the current margin on the display interface of the mobile terminal, thereby prompting the user to input the fingerprint information.
  • the first preset threshold may include, but is not limited to, 10M, 20M, 40M, 100M, 5% of the memory space of the terminal, and the like.
  • the pushing unit 501 pushes the current storage margin of the mobile terminal to the user, where the current balance of the mobile terminal
  • the amount can be displayed on the display interface of the mobile terminal, but in the form of a breathing light, for example, the current storage margin is less than 5% of the first preset threshold, and the breathing light of the mobile terminal can be red.
  • the breathing light of the mobile terminal can be red.
  • the obtaining unit 502 is configured to acquire fingerprint information input by the user.
  • the obtaining unit 502 can obtain the fingerprint information input by the user by using the fingerprint detecting device.
  • the fingerprint information input by the user may include: fingerprint information of any finger of the user, or a set of complex fingerprints composed of fingerprint information of different fingers. Information such as the fingerprint information of the middle finger of user A and the middle finger of user B.
  • the generating unit 503 is configured to generate a storage capacity processing instruction according to the fingerprint information acquired by the obtaining unit 502.
  • the generating unit 503 may generate a storage capacity processing instruction according to the fingerprint information after acquiring the fingerprint information input by the user.
  • the storage capacity processing instruction may include, but is not limited to, a delete instruction, a transfer instruction, and a compression instruction.
  • the delete instruction is used to implement the delete function
  • the transfer instruction is used to implement the transfer function
  • the compression instruction is used to implement the compression function.
  • the processing unit 504 is configured to process files in the mobile terminal according to the storage capacity processing instruction generated by the generating unit 503 to obtain more storage space.
  • the processing unit 504 can process the files in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • the processing unit 504 is specifically configured to: delete, by using the delete instruction, the file stored in the first preset time period in the mobile terminal.
  • the pushing unit 501 pushes the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information, and the acquiring unit 502
  • the fingerprint information input by the user is obtained, and the generating unit generates a delete command according to the fingerprint information, and the processing unit 504 deletes the file stored in the first preset time period in the mobile terminal by using the delete command.
  • the first preset time period may include, but is not limited to, 24 hours ago, 2 days ago, a week ago, a month ago, a year ago, 2 days ago to 5 days ago, within 24 hours, and the like.
  • the processing unit 504 may delete the file in a preset format in the mobile terminal by using a delete instruction.
  • the file in the preset format may be a jpg format, a bmp format, a png format, or the like.
  • the processing unit 504 may use a delete instruction to occupy a larger occupied space in the mobile terminal.
  • the file with the preset threshold is deleted.
  • the preset threshold may be automatically set by the system of the mobile terminal. For example, the mobile terminal may analyze the size distribution of the file stored by the mobile terminal, and provide a recommended value as a preset threshold according to the size of the memory space used.
  • the processing unit 504 may delete the file captured by a certain preset location in the mobile terminal by using a delete command.
  • the preset location may be determined by a positioning system in the mobile terminal. For example, if the file contains a photo, the user takes a photo in Shenzhen Huaqiang North, and the photo also has location information.
  • the preset location is any one or more locations of the location information of the photo taken in the mobile terminal instructed by the user.
  • the processing unit 504 is specifically configured to: compress, by the compression instruction, a file in the mobile terminal that has a occupied space greater than a second preset threshold.
  • the pushing unit 501 may push the current storage margin of the mobile terminal to the user to prompt the user to input fingerprint information, and the acquiring unit 502 Obtaining fingerprint information input by the user; the generating unit 503 generates a compression instruction according to the fingerprint information, wherein the compression instruction is used to compress the file in the mobile terminal.
  • the processing unit 504 can compress the file in the mobile terminal that has a occupied space greater than a second preset threshold according to the compression instruction.
  • the second preset threshold may include, but is not limited to, 1M, 2M, 3.5M, and the like.
  • the second preset threshold may be recommended to the user by the system according to the file distribution stored by the mobile terminal, for example, the mobile terminal. It can be analyzed as follows: In the case where the above file is a photo, 200 photos within 1M, the occupied space of the file within 1M occupies 10% of the total memory space, and the second preset threshold is set to 1M, and the available space is 50M; 1M 80 photos between ⁇ 3M, the occupied space of photos within 1M occupies 20% of the total memory space, the second preset threshold is set to 2M, the available space 520M can be obtained, etc., the user can Set the threshold to choose.
  • the processing unit 504 may compress the file stored in the mobile terminal for a preset time period according to the compression instruction.
  • the mobile terminal can compress the files stored in the mobile terminal within 24 hours according to the compression instruction.
  • the processing unit 504 may compress the file in a preset format in the mobile terminal according to the compression instruction.
  • the mobile terminal can compress the photo in jpg format according to the compression instruction.
  • the processing unit 504 may compress the file stored in the preset location in the mobile terminal according to the compression instruction.
  • the mobile terminal described in the implementation of the present invention may push the current storage margin of the mobile terminal to the user to prompt the user to input fingerprint information, and obtain the user, if the current storage margin of the mobile terminal is lower than the first preset threshold. Entering fingerprint information; generating a storage capacity processing instruction according to the fingerprint information; processing the file in the mobile terminal according to the storage capacity processing instruction to obtain more storage space. In this way, the files in the mobile terminal can be batched Processing speeds up the cleaning of files in the mobile terminal to obtain more free space.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in the embodiment of the present invention may include: a pushing unit 501, an obtaining unit 502, a generating unit 503, and a detecting unit 601.
  • the pushing unit 501, the obtaining unit 502, the generating unit 503, and the processing unit 504 described in FIG. The functions of the corresponding push unit 501, the acquisition unit 502, the generation unit 503, and the processing unit 504 and the processing unit 504 described in FIG. 5 can be implemented. Therefore, only the specific functions of the lower detection unit 601 are described, which are described in this embodiment.
  • the detecting unit 601 of the mobile terminal is specifically as follows:
  • the detecting unit 601 is configured to detect whether the mobile terminal is in a wireless network environment.
  • the pushing unit 501 pushes the current storage margin of the mobile terminal to the user, to prompt the user to input fingerprint information
  • the acquiring unit 502 obtains The fingerprint information generated by the user
  • the generating unit 503 generates a branch instruction according to the fingerprint information, wherein the transfer instruction is used to transfer the file stored in the mobile terminal.
  • the detecting unit 601 can detect the movement. Whether the terminal is in a wireless network environment. If yes, the processing unit 504 transfers the file stored in the second preset time period in the mobile terminal to the cloud disk by using the transfer instruction.
  • the processing unit 504 may further transfer, by using the transfer instruction, the file stored in the second preset time period of the mobile terminal to another terminal bound to the mobile terminal, for example, the mobile terminal is a mobile phone, and other terminals may be smart hands. Rings, smart watches, and more.
  • the second preset time period may include, but is not limited to, 24 hours ago, 2 days ago, a week ago, a month ago, a year ago, 2 days ago to 5 days ago, within 24 hours, and the like.
  • the mobile phone may push the current storage margin to the case that the current storage margin of the mobile phone is lower than the first preset threshold.
  • the user prompts the user to input the fingerprint information, obtains the fingerprint information input by the user, and generates a transfer instruction according to the fingerprint information, so that whether the connection between the mobile phone and the smart bracelet is detected. If yes, the mobile phone transfers the file stored in the second preset time period of the mobile phone to the smart bracelet through the transfer instruction.
  • the processing unit 504 may transfer the file in the mobile terminal that has a occupied space greater than a preset threshold to the cloud disk by using a transfer instruction.
  • the processing unit 504 may transfer the file stored in the preset location in the mobile terminal to the cloud disk by using a transfer instruction.
  • the mobile terminal described in the embodiment of the present invention may: when the current storage margin of the mobile terminal is lower than the first preset threshold, push the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information; Fingerprint information input by the user; generating a branch instruction according to the fingerprint information; detecting whether the mobile terminal is in a wireless network environment; if yes, transferring the file stored in the second preset time period of the mobile terminal to the cloud disk by using the transfer instruction . In this way, the file in the mobile terminal can be transferred to the cloud disk when the mobile terminal is in the wireless network environment, and the text in the mobile terminal is accelerated. The speed of cleaning up the pieces to get more free space.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 is connected via bus 5000.
  • the input device 1000 can be a touch panel, a general PC, a liquid crystal screen, a touch screen, a touch button, and the like.
  • the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
  • the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
  • the output device 2000 is configured to: when the current storage margin of the mobile terminal is lower than the first preset threshold, push the current storage margin of the mobile terminal to the user, to prompt the user to input the fingerprint information;
  • the input device 1000 is configured to acquire fingerprint information input by a user
  • the processor 3000 is configured to: generate a storage capacity processing instruction according to the fingerprint information, and process a file in the mobile terminal according to the storage capacity processing instruction to obtain more storage space.
  • the storage capacity processing instruction may include, but is not limited to, a delete instruction, a transfer instruction, and a compression instruction.
  • the processor 3000 is further configured to:
  • the processor 3000 is further configured to:
  • the processor 3000 is further configured to:
  • the mobile terminal described in the embodiment of the present invention may prompt the user to input fingerprint information by pushing the current storage margin of the mobile terminal to the user if the current storage margin of the mobile terminal is lower than the first preset threshold.
  • the files in the mobile terminal can be batch processed to speed up the cleaning of files in the mobile terminal, thereby obtaining more available space.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the method for processing the memory capacity described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention.
  • the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read only memory (English: Read-Only Memory, abbreviation: ROM) or a random access memory (English: Random Access Memory, abbreviation: RAM) and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种内存容量处理的方法,包括:在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据所述指纹信息生成存储容量处理指令;根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。本发明实施例还公开了一种移动终端。如此,可对移动终端中的文件进行批量处理,加快移动终端中的文件的清理速度,从而获取更多可用空间。

Description

一种内存容量处理的方法及移动终端
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2015年6月18日提交的、发明名称为“一种内存容量处理的方法及移动终端”的、中国专利申请号“201510346320.7”的优先权。
技术领域
本发明实施例涉及电子设备技术领域,尤其涉及到一种内存容量处理的方法及移动终端。
背景技术
随着信息技术的发展,移动终端(如手机、平板电脑等等)的功能越来越强大,可以用来录视频、拍照、聊天、发状态等等,这无疑会增加移动终端的内存空间负荷量。
现有技术中,上述列举的内容所占用的存储空间都需要人为进行处理,且较为麻烦,例如:在移动终端中存储的照片越来越多的情况下,需要一张一张地进行删除,这个过程相当麻烦,更为麻烦地是,在我们拍照的时候,倘若发现内存不足,这样会因为我们要处理出一些内存来,然后再进行拍照,如此,会错过瞬间的美好,因而,寻求一种快速处理移动终端内存的方法亟待解决。
发明内容
本发明实施例提供了一种内存容量处理的方法、移动终端和计算机存储介质,以期批量处理移动终端中存储的文件,加快文件清理速度。
本发明实施例第一方面提供了一种内存容量处理的方法,包括步骤:
在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
获取用户输入的指纹信息;
根据所述指纹信息生成存储容量处理指令;
根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
相应地,本发明实施例第二方面提供了一种移动终端,包括:
推送单元,用于在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动 终端的当前存储余量推送给用户,以提示用户输入指纹信息;
获取单元,用于获取用户输入的指纹信息;
生成单元,用于根据所述获取单元获取到的指纹信息生成存储容量处理指令;
处理单元,用于根据所述生成单元生成的存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
本发明第三方面提供一种移动终端,包括:至少一个输入设备、至少一个输出设备、至少一个处理器和存储器,所述至少一个输入设备、至少一个输出设备、至少一个处理器和存储器通过总线连接,其中,
所述至少一个输出设备,用于在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
所述至少一个输入设备,用于获取用户输入的指纹信息;
所述至少一个处理器,用于根据所述指纹信息生成存储容量处理指令,并根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
本发明第四方面提供一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行根据本发明第一方面提供的存储容量处理的方法。
本发明实施例通过在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据所述指纹信息生成存储容量处理指令;根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。如此,可对移动终端中的文件进行批量处理,加快移动终端中的文件的清理速度,从而获取更多可用空间。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例、描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种内存容量处理的方法的第一实施例的流程示意图;
图2是本发明实施例提供的一种内存容量处理的方法的第二实施例的流程示意图;
图3是本发明实施例提供的一种内存容量处理的方法的第三实施例的流程示意图;
图4是本发明实施例提供的一种内存容量处理的方法的第四实施例的流程示意图;
图5是本发明实施例提供的一种移动终端的第一实施例的结构示意图;
图6是本发明实施例提供的一种移动终端的第二实施例的结构示意图;
图7是本发明实施例提供的一种移动终端的第三实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
实现中,本发明实施例中,移动终端可以包括但不限于:笔记本电脑、手机、平板电脑、智能可穿戴设备等等。移动终端的系统指设备的操作系统,可以包括但不限于:Android系统、塞班系统、Windows系统、IOS(苹果公司开发的移动操作系统)、XP系统、windows8系统等等。需要说明的是,Android移动终端指Android系统的移动终端,塞班移动终端指塞班系统的移动终端,等等。上述移动终端仅是举例,而非穷举,包含但不限于上述移动终端。
实现中,本发明实施例中,本发明实施例中提到的内存容量处理的方法或者移动终端可完成文件清理、压缩、转移等功能,本发明实施例所描述的文件可包括但不仅限于:照片、视频、歌曲、应用程序、电子书、缓存内容、聊天记录等等。
本发明实施例结合图1至图7对本发明实施例提供的一种内存容量处理的方法及移动终端进行描述。
请参阅图1,图1是本发明实施例提供的一种内存容量处理的方法的第一实施例流程示意图。本实施例中所描述的内存容量处理的方法,包括步骤:
S101、在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。
其中,移动终端可每隔预设时间间隔检测该移动终端的存储余量是否低于第一预设阈值,倘若检测到该移动终端的当前存储余量低于第一预设阈值的情况下,可将当前存储余量推送给用户,在移动终端的显示界面上显示当前存储余量,从而,提醒用户输入指纹信息。或者,用户在启动拍照功能或者摄影功能时,对移动终端的当前存储余量进行检测,在检测到该移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。进一步地,第一预设阈值可包括但不仅限于:10M,20M,40M,100M,终端的存储空间的5%等等。
作为一种可能的实施方式,在移动终端的当前存储余量低于第一预设阈值的情况下, 将该移动终端的当前存储余量推送给用户,其中,移动终端的当前存储余量可不用在移动终端的显示界面上进行展示,而是采用呼吸灯的形式进行提醒,例如:当前存储余量低于第一预设阈值的5%,移动终端的呼吸灯可呈现红色,以提示用户输入指纹信息。
S102、获取用户输入的指纹信息。
其中,移动终端可通过指纹检测装置获取用户输入的指纹信息,用户输入的指纹信息可包括:用户的任意一个手指的指纹信息,也可以是一组复杂的由不同手指的指纹信息组成的指纹信息,如用户A的中指和用户B的中指组合成的指纹信息。
S103、根据所述指纹信息生成存储容量处理指令。
其中,移动终端在获取到用户输入的指纹信息之后,可根据该指纹信息生成存储容量处理指令。
作为一种可能的实施方式,存储容量处理指令可包括但不仅限于:删除指令、转移指令和压缩指令。其中,删除指令用于实现删除功能,转移指令用于实现转移功能,压缩指令用于实现压缩功能。
S104、根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
其中,移动终端可根据存储容量处理指令对移动终端中的文件进行处理,以得到更多的存储空间。
本发明实施例在移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据该指纹信息生成存储容量处理指令;根据该存储容量处理指令对该移动终端中的文件进行处理,以得到更多的存储空间。如此,可对移动终端中的文件进行批量处理,加快移动终端中的文件的清理速度,从而获取更多可用空间。
请参阅图2,图2是本发明实施例提供的一种存储容量处理的方法的第二实施例流程示意图。本实施例中所描述的内存容量处理的方法,包括步骤:
S201、在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。
S202、获取用户输入的指纹信息。
S203、根据所述指纹信息生成删除指令。
S204、通过所述删除指令将所述移动终端中第一预设时间段内存储的文件进行删除。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,该移动终端将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取用户输入的指纹 信息,根据该指纹信息生成删除指令,通过该删除指令将该移动终端中第一预设时间段内存储的文件进行删除。其中,第一预设时间段内可包括但不仅限于:24小时之前、2天之前、一周之前、一个月前、一年前、2天前到5天前之间、24小时以内等等。
作为一种可能的实施方式,移动终端可通过删除指令将该移动终端中预设格式的文件进行删除。例如,在上述文件包含照片的情况下,预设格式的文件可为jpg格式照片、bmp格式照片、png格式照片等等。
作为一种可能的实施方式,移动终端可通过删除指令将移动终端中占用空间大于预设阈值的文件进行删除。其中,预设阈值可由移动终端的系统进行自动设置,如:移动终端可分析其存储的文件的大小分布情况,根据用于想得到的内存空间大小,给出一个推荐值作为预设阈值。
作为一种可能的实施方式,移动终端可通过删除指令将移动终端中某个预设地点拍摄的文件进行删除。其中,预设地点可由移动终端中的定位系统进行确定,例如:在上述文件包含照片的情况下,用户在深圳华强北拍了一张照片,那么这张照片也具有地点信息。预设地点是用户指令的移动终端中所拍摄照片的地点信息的任意一个或者多个地点。
本发明实施例在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据所述指纹信息生成删除指令;通过所述删除指令将所述移动终端中第一预设时间段内存储的文件进行删除。如此,可对移动终端中的文件进行批量处理删除,加快移动终端中的文件的清理速度,从而获取更多可用空间。
请参阅图3,图3是本发明实施例提供的一种内存容量处理的方法的第三实施例流程示意图。本实施例中所描述的内存容量处理的方法,包括步骤:
S301、在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。
S302、获取用户输入的指纹信息。
S303、根据所述指纹信息生成转移指令。
S304、检测所述移动终端是否处于无线网络环境。
S305、若是,通过所述转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,移动终端将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取用户输入的指纹信息,根据该指纹信息生成转移指令,其中,该转移指令用于转移移动终端中存储的文件, 通常情况下,考虑移动终端的流量损耗,可检测该移动终端是否处于无线网络环境。若是,移动终端通过该转移指令将该移动终端中第二预设时间段内存储的文件转移至云盘。进一步地,移动终端还可以通过该转移指令将移动终端中第二预设时间段内存储的文件转移至与该移动终端绑定的其他终端,如移动终端为手机、其他终端可为智能手环、智能手表等等。其中,第二预设时间段内可包括但不仅限于:24小时之前、2天之前、一周之前、一个月前、一年前、2天前到5天前之间、24小时以内等等。
作为一种可能的实施方式,例如,假设手机和智能手环之间进行文件转移操作,在手机的当前存储余量低于第一预设阈值的情况下,手机将当前存储余量推送给用户,以提示用户输入指纹信息,获取用户输入的指纹信息,根据该指纹信息生成转移指令,可检测该手机与智能手环之间是否进行了连接。若是,手机通过该转移指令将该手机中第二预设时间段内存储的文件转移至智能手环。
作为一种可能的实施方式,若移动终端检测到该移动终端处于无线网络环境,可通过转移指令将该移动终端中占用空间大于预设阈值的文件转移至云盘。
作为一种可能的实施方式,若移动终端检测到该移动终端处于无线网络环境,可通过转移指令将该移动终端中预设地点存储的文件转移至云盘。
本发明实施例在移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据该指纹信息生成转移指令;检测该移动终端是否处于无线网络环境;若是,通过该转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。如此,可在移动终端处于无线网络环境下将移动终端中的文件转移到云盘,加快移动终端中的文件的清理速度,从而获取更多可用空间。
请参阅图4,图4是本发明实施例提供的一种内存容量处理的方法的第四实施例流程示意图。本实施例中所描述的内存容量处理的方法,包括步骤:
S401、在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。
S402、获取用户输入的指纹信息;
S403、根据所述指纹信息生成压缩指令;
S404、根据所述压缩指令将所述移动终端中的占用空间大于第二预设阈值的文件进行压缩。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,移动终端可将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取用户输入的指纹 信息;根据该指纹信息生成压缩指令,其中,该压缩指令用于压缩移动终端中的文件。移动终端可根据该压缩指令将该移动终端中的占用空间大于第二预设阈值的文件进行压缩。其中,第二预设阈值可包括但不仅限于:1M、2M、3.5M等等,进一步地,第二预设阈值可根据移动终端存储的文件分布情况,由系统推荐给用户,例如,在上述文件为照片的情况下,移动终端可分析如下:1M以内照片200张,1M以内照片的占用空间占据总的内存空间10%,将第二预设阈值设置为1M,可获取可用空间50M;1M~3M之间照片80张,1M以内照片的占用空间占据总的内存空间20%,将第二预设阈值设置为2M,可获取可用空间520M等等,则用户可根据具体需要对第二预设阈值进行选择。
作为一种可能的实施方式,移动终端可根据该压缩指令将该移动终端中预设时间段内存储的文件进行压缩。如:移动终端可根据压缩指令将移动终端中24小时以内存储的文件进行压缩。
作为一种可能的实施方式,移动终端可根据该压缩指令将该移动终端中预设格式的文件进行压缩。在上述文件包含照片的情况下,如:移动终端可根据压缩指令将jpg格式的照片进行压缩。
作为一种可能的实施方式,移动终端可根据该压缩指令将该移动终端中预设地点存储的文件进行压缩。
本发明实施例在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据所述指纹信息生成压缩指令;根据所述压缩指令将所述移动终端中的占用空间大于第二预设阈值的文件进行压缩。如此,可将移动终端中存储的文件进行批量压缩,从而,加快移动终端中的文件的清理速度,获取更多可用空间。
请参阅图5,图5是本发明实施例提供的一种移动终端的第一实施例的结构示意图。本发明实施例所描述的移动终端可包括:推送单元501、获取单元502、生成单元503和处理单元504,本实施例中所描述的移动终端具体如下:
推送单元501,用于在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息。
其中,移动终端可每隔预设时间间隔检测该移动终端的存储余量是否低于第一预设阈值,倘若检测到该移动终端的当前存储余量低于第一预设阈值的情况下,推送单元501可将当前余量推送给用户,在移动终端的显示界面上显示当前余量,从而,提醒用户输入指纹信息。或者,用户在启动拍照功能或者摄影功能时,对移动终端的当前存储余量进行检测,在检测到该移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当 前存储余量推送给用户,以提示用户输入指纹信息。进一步地,第一预设阈值可包括但不仅限于:10M,20M,40M,100M,终端的内存空间的5%等等。
作为一种可能的实施方式,在移动终端的当前存储余量低于第一预设阈值的情况下,推送单元501将该移动终端的当前存储余量推送给用户,其中,移动终端的当前余量可不用在移动终端的显示界面上进行展示,而是采用呼吸灯的形式进行提醒,例如:当前存储余量大量低于第一预设阈值的5%,移动终端的呼吸灯可呈现红色,以提示用户输入指纹信息。
获取单元502,用于获取用户输入的指纹信息。
其中,获取单元502可通过指纹检测装置获取用户输入的指纹信息,用户输入的指纹信息可包括:用户的任意一个手指的指纹信息,也可以是一组复杂的由不同手指的指纹信息组成的指纹信息,如用户A的中指和用户B的中指组合成的指纹信息。
生成单元503,用于根据所述获取单元502获取到的指纹信息生成存储容量处理指令。
其中,生成单元503在获取到用户输入的指纹信息之后,可根据该指纹信息生成存储容量处理指令。
作为一种可能的实施方式,存储容量处理指令可包括但不仅限于:删除指令、转移指令和压缩指令。其中,删除指令用于实现删除功能,转移指令用于实现转移功能,压缩指令用于实现压缩功能。
处理单元504,用于根据所述生成单元503生成的存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
其中,处理单元504可根据存储容量处理指令对移动终端中的文件进行处理,以得到更多的存储空间。
作为一种可能的实施方式,在存储容量处理指令为删除指令的情况下,处理单元504具体用于:通过该删除指令将移动终端中第一预设时间段内存储的文件进行删除。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,该推送单元501将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取单元502获取用户输入的指纹信息,生成单元根据该指纹信息生成删除指令,处理单元504通过该删除指令将该移动终端中第一预设时间段内存储的文件进行删除。其中,第一预设时间段内可包括但不仅限于:24小时之前、2天之前、一周之前、一个月前、一年前、2天前到5天前之间、24小时以内等等。
作为一种可能的实施方式,处理单元504可通过删除指令将该移动终端中预设格式的文件进行删除。其中,预设格式的文件可为jpg格式、bmp格式、png格式等等。
作为一种可能的实施方式,处理单元504可通过删除指令将移动终端中占用空间大于 预设阈值的文件进行删除。其中,预设阈值可由移动终端的系统进行自动设置,如:移动终端可分析其存储的文件的大小分布情况,根据用于想得到的内存空间大小,给出一个推荐值作为预设阈值。
作为一种可能的实施方式,处理单元504可通过删除指令将移动终端中某个预设地点拍摄的文件进行删除。其中,预设地点可由移动终端中的定位系统进行确定,例如:在上述文件包含照片的情况下,用户在深圳华强北拍了一张照片,那么这张照片也具有地点信息。预设地点是用户指令的移动终端中所拍摄照片的地点信息的任意一个或者多个地点。
作为一种可能的实施方式,在存储容量处理指令为压缩指令的情况下,处理单元504具体用于:通过该压缩指令将移动终端中的占用空间大于第二预设阈值的文件进行压缩。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,推送单元501可将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取单元502获取用户输入的指纹信息;生成单元503根据该指纹信息生成压缩指令,其中,该压缩指令用于压缩移动终端中的文件。处理单元504可根据该压缩指令将该移动终端中的占用空间大于第二预设阈值的文件进行压缩。其中,第二预设阈值可包括但不仅限于:1M、2M、3.5M等等,进一步地,第二预设阈值可根据移动终端存储的文件分布情况,由系统推荐给用户,例如,移动终端可分析如下:在上述文件为照片的情况下,1M以内照片200张,1M以内文件的占用空间占据总的内存空间10%,将第二预设阈值设置为1M,可获取可用空间50M;1M~3M之间照片80张,1M以内照片的占用空间占据总的内存空间20%,将第二预设阈值设置为2M,可获取可用空间520M等等,则用户可根据具体需要对第二预设阈值进行选择。
作为一种可能的实施方式,处理单元504可根据该压缩指令将该移动终端中预设时间段内存储的文件进行压缩。如:移动终端可根据压缩指令将移动终端中24小时以内存储的文件进行压缩。
作为一种可能的实施方式,处理单元504可根据该压缩指令将该移动终端中预设格式的文件进行压缩。如:,在上述文件为照片的情况下,移动终端可根据压缩指令将jpg格式的照片进行压缩。
作为一种可能的实施方式,处理单元504可根据该压缩指令将该移动终端中预设地点存储的文件进行压缩。
本发明实施所描述的移动终端可在移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据该指纹信息生成存储容量处理指令;根据该存储容量处理指令对该移动终端中的文件进行处理,以得到更多的存储空间。如此,可对移动终端中的文件进行批量 处理,加快移动终端中的文件的清理速度,从而获取更多可用空间。
请参阅图6,图6是本发明实施例提供的一种移动终端的第二实施例的结构示意图。本发明实施例所描述的移动终端可包括:推送单元501、获取单元502、生成单元503、检测单元601,其中,图6所描述的推送单元501、获取单元502、生成单元503和处理单元504可实施图5中所描述的对应的推送单元501、获取单元502、生成单元503和处理单元504和处理单元504的功能,因而,只介绍下检测单元601的具体功能,本实施例中所描述的移动终端的检测单元601具体如下:
检测单元601,用于检测移动终端是否处于无线网络环境。
具体实现中,在移动终端的当前存储余量低于第一预设阈值的情况下,推送单元501将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息,获取单元502获取用户输入的指纹信息,生成单元503根据该指纹信息生成转移指令,其中,该转移指令用于转移移动终端中存储的文件,通常情况下,考虑移动终端的流量损耗,检测单元601可检测该移动终端是否处于无线网络环境。若是,处理单元504通过该转移指令将该移动终端中第二预设时间段内存储的文件转移至云盘。进一步地,处理单元504还可以通过该转移指令将移动终端中第二预设时间段内存储的文件转移至与该移动终端绑定的其他终端,如移动终端为手机、其他终端可为智能手环、智能手表等等。其中,第二预设时间段内可包括但不仅限于:24小时之前、2天之前、一周之前、一个月前、一年前、2天前到5天前之间、24小时以内等等。
作为一种可能的实施方式,例如,假设手机和智能手环之间进行文件转移操作,在手机的当前存储余量低于第一预设阈值的情况下,手机可将当前存储余量推送给用户,以提示用户输入指纹信息,获取用户输入的指纹信息,根据该指纹信息生成转移指令,可检测该手机与智能手环之间是否进行了连接。若是,手机通过该转移指令将该手机中第二预设时间段内存储的文件转移至智能手环。
作为一种可能的实施方式,若检测单元601检测到该移动终端处于无线网络环境,处理单元504可通过转移指令将该移动终端中占用空间大于预设阈值的文件转移至云盘。
作为一种可能的实施方式,若检测单元601检测到该移动终端处于无线网络环境,处理单元504可通过转移指令将该移动终端中预设地点存储的文件转移至云盘。
本发明实施例所描述的移动终端可在移动终端的当前存储余量低于第一预设阈值的情况下,将该移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据该指纹信息生成转移指令;检测该移动终端是否处于无线网络环境;若是,通过该转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。如此,可在移动终端处于无线网络环境下将移动终端中的文件转移到云盘,加快移动终端中的文 件的清理速度,从而获取更多可用空间。
请参阅图7,图7是本发明实施例提供的一种移动终端的第三实施例的结构示意图。本实施例中所描述的移动终端包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。
其中,上述输入设备1000可为触控面板、普通PC、液晶屏、触控屏、触控按钮等。
上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:
上述输出设备2000,用于:在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
上述输入设备1000,用于获取用户输入的指纹信息;
上述处理器3000,用于:根据所述指纹信息生成存储容量处理指令,并根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
作为一种可能的实施方式,存储容量处理指令可包括但不仅限于:删除指令、转移指令和压缩指令。
作为一种可能的实施方式,在存储容量处理指令为删除指令的情况下,上述处理器3000,还具体用于:
通过所述删除指令将所述移动终端中第一预设时间段内存储的文件进行删除。
作为一种可能的实施方式,在存储容量处理指令为转移指令的情况下,上述处理器3000,还具体用于:
检测移动终端是否处于无线网络环境;若是,通过所述转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。
作为一种可能的实施方式,在存储容量处理指令为压缩指令的情况下,上述处理器3000,还具体用于:
通过所述压缩指令将所述移动终端中的占用空间大于第二预设阈值的文件进行压缩。
本发明实施例所描述的移动终端可通过在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;获取用户输入的指纹信息;根据所述指纹信息生成存储容量处理指令;根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。如此,可对移动终端中的文件进行批量处理,加快移动终端中的文件的清理速度,从而获取更多可用空间。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任意一种内存容量处理的方法的部分或全部步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(英文:Read-Only Memory,缩写:ROM)或者随机存取存储器(英文:Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述 实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (20)

  1. 一种存储容量处理的方法,其特征在于,包括:
    在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
    获取用户输入的指纹信息;
    根据所述指纹信息生成存储容量处理指令;
    根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
  2. 如权利要求1所述的方法,其特征在于,所述存储容量处理指令包括以下指令中的至少一个:删除指令、转移指令和压缩指令。
  3. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为删除指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    通过所述删除指令将所述移动终端中第一预设时间段内存储的文件进行删除。
  4. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为转移指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    检测所述移动终端是否处于无线网络环境;
    若是,通过所述转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。
  5. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为压缩指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    通过所述压缩指令将所述移动终端中的占用空间大于第二预设阈值的文件进行压缩。
  6. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为删除指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    通过所述删除指令将所述移动终端中预设格式的文件进行删除。
  7. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为删除指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    通过所述删除指令将所述移动终端中占用空间大于第三预设阈值的文件进行删除。
  8. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为转移指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    检测所述移动终端是否处于无线网络环境;
    若是,通过所述转移指令将所述移动终端中预设地点存储的文件转移至云盘。
  9. 如权利要求1或2任一项所述的方法,其特征在于,所述存储容量处理指令为转移指令;
    所述根据所述存储容量处理指令对所述移动终端中的文件进行处理,包括:
    检测所述移动终端是否处于无线网络环境;
    若是,通过所述转移指令将所述移动终端占用空间大于第四预设阈值的文件转移至云盘。
  10. 一种移动终端,其特征在于,包括:
    推送单元,用于在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
    获取单元,用于获取用户输入的指纹信息;
    生成单元,用于根据所述获取单元获取到的指纹信息生成存储容量处理指令;
    处理单元,用于根据所述生成单元生成的存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
  11. 如权利要求12所述的移动终端,其特征在于,所述存储容量处理指令包括以下指令中的至少一个:删除指令、转移指令和压缩指令。
  12. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为删除指令;
    所述处理单元具体用于:通过所述删除指令将所述移动终端中第一预设时间段内存储的文件进行删除。
  13. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为转移指令;
    所述移动终端还包括:
    检测单元,用于检测所述移动终端是否处于无线网络环境;
    所述处理单元具体用于:
    若所述检测单元检测到所述移动终端处于无线网络环境,通过所述转移指令将所述移动终端中第二预设时间段内存储的文件转移至云盘。
  14. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为压缩指令;
    所述处理单元具体用于:
    通过所述压缩指令将所述移动终端中的占用空间大于第二预设阈值的文件进行压缩。
  15. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为删除指令;
    所述处理单元具体用于:
    通过所述删除指令将所述移动终端中预设格式的文件进行删除。
  16. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为删除指令;
    所述处理单元具体用于:
    通过所述删除指令将所述移动终端中占用空间大于第三预设阈值的文件进行删除。
  17. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为转移指令;
    所述处理单元具体用于:
    检测所述移动终端是否处于无线网络环境;
    若是,通过所述转移指令将所述移动终端中预设地点存储的文件转移至云盘。
  18. 如权利要求10或11任一项所述的移动终端,其特征在于,所述存储容量处理指令为转移指令;
    所述处理单元具体用于:
    检测所述移动终端是否处于无线网络环境;
    若是,通过所述转移指令将所述移动终端占用空间大于第四预设阈值的文件转移至云盘。
  19. 一种移动终端,其特征在于,包括:至少一个输入设备、至少一个输出设备、至少一个处理器和存储器,所述至少一个输入设备、至少一个输出设备、至少一个处理器和存储器通过总线连接,其中,
    所述至少一个输出设备,用于在移动终端的当前存储余量低于第一预设阈值的情况下,将所述移动终端的当前存储余量推送给用户,以提示用户输入指纹信息;
    所述至少一个输入设备,用于获取用户输入的指纹信息;
    所述至少一个处理器,用于根据所述指纹信息生成存储容量处理指令,并根据所述存储容量处理指令对所述移动终端中的文件进行处理,以得到更多的存储空间。
  20. 一种非易失性计算机存储介质,其特征在于,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行根据权利要求1-9任一项所述的存储容量处理的方法。
PCT/CN2016/085887 2015-06-18 2016-06-15 一种内存容量处理的方法及移动终端 WO2016202261A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510346320.7 2015-06-18
CN201510346320.7A CN104951253B (zh) 2015-06-18 2015-06-18 一种内存容量处理的方法及移动终端

Publications (1)

Publication Number Publication Date
WO2016202261A1 true WO2016202261A1 (zh) 2016-12-22

Family

ID=54165933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085887 WO2016202261A1 (zh) 2015-06-18 2016-06-15 一种内存容量处理的方法及移动终端

Country Status (2)

Country Link
CN (1) CN104951253B (zh)
WO (1) WO2016202261A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951253B (zh) * 2015-06-18 2017-05-03 广东欧珀移动通信有限公司 一种内存容量处理的方法及移动终端
CN105787021A (zh) * 2016-02-24 2016-07-20 康志强 智能手表的容量管理方法及系统
CN106249898A (zh) * 2016-08-12 2016-12-21 北京金山安全软件有限公司 一种存储空间不足的提示方法、装置及移动设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631934A (zh) * 2013-12-06 2014-03-12 贝壳网际(北京)安全技术有限公司 垃圾文件检测方法及装置
CN104298612A (zh) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 移动终端中清理内存的方法、装置和移动终端
CN104572113A (zh) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 存储空间的自动整理方法和移动终端
CN104657182A (zh) * 2015-03-05 2015-05-27 北京畅游天下网络技术有限公司 用于移动设备的系统垃圾清理方法和装置
CN104951253A (zh) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 一种内存容量处理的方法及移动终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0402273D0 (en) * 2004-02-03 2004-03-10 Koninkl Philips Electronics Nv Improved storage capacity configuration
KR101231216B1 (ko) * 2012-07-13 2013-02-07 주식회사 베프스 지문 인식을 이용한 휴대용 저장 장치 및 그 제어 방법
CN104040512B (zh) * 2012-12-28 2017-09-19 华为技术有限公司 存储空间的处理方法及装置
CN103488481B (zh) * 2013-09-11 2017-02-15 华为技术有限公司 应用程序控制方法、终端设备以及远程控制系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631934A (zh) * 2013-12-06 2014-03-12 贝壳网际(北京)安全技术有限公司 垃圾文件检测方法及装置
CN104298612A (zh) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 移动终端中清理内存的方法、装置和移动终端
CN104572113A (zh) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 存储空间的自动整理方法和移动终端
CN104657182A (zh) * 2015-03-05 2015-05-27 北京畅游天下网络技术有限公司 用于移动设备的系统垃圾清理方法和装置
CN104951253A (zh) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 一种内存容量处理的方法及移动终端

Also Published As

Publication number Publication date
CN104951253B (zh) 2017-05-03
CN104951253A (zh) 2015-09-30

Similar Documents

Publication Publication Date Title
EP2990930B1 (en) Scraped information providing method and apparatus
KR102497195B1 (ko) 컨텐츠를 처리하는 방법 및 이를 위한 전자 장치 및 저장 매체
US10599336B2 (en) Method of displaying content and electronic device adapted to the same
KR102553886B1 (ko) 전자 장치 및 전자 장치의 이미지 제어 방법
US20170019604A1 (en) Electronic device and method for processing image by electronic device
KR20170097414A (ko) 전자 장치 및 그의 동작 방법
CN109359091B (zh) 文件管理方法、装置、终端及计算机可读存储介质
KR20190132360A (ko) 멀티미디어 리소스를 처리하는 방법 및 디바이스
CN103218224A (zh) 一种提高存储空间利用率的方法和终端
CN106228511B (zh) 电子装置以及用于在电子装置中产生图像文件的方法
KR20160105239A (ko) 전자 장치 및 그의 영상 표시 방법
US20160026383A1 (en) Apparatus for providing integrated functions of dial and calculator and method thereof
US20170205980A1 (en) Method and an apparatus for providing a multitasking view
WO2016202261A1 (zh) 一种内存容量处理的方法及移动终端
KR20160105215A (ko) 텍스트 처리 장치 및 방법
KR20180014632A (ko) 전자 장치 및 그의 동작 방법
US10185724B2 (en) Method for sorting media content and electronic device implementing same
KR20170036300A (ko) 동영상 제공 방법 및 이를 수행하는 전자 장치
KR20160001359A (ko) 데이터 관리 방법 및 그 방법을 처리하는 전자 장치
US20150363372A1 (en) Method and device for updating user data
US9898799B2 (en) Method for image processing and electronic device supporting thereof
KR20160063793A (ko) 전자 장치 및 전자 장치에서의 정보 송신 및 수신 방법
JP2018508081A (ja) 入力シリアルの処理方法、装置、デバイス及び不発揮性コンピュータ記憶媒体
EP2813947B1 (en) Electronic device and method for mounting file system using virtual block device
WO2016065903A1 (zh) 内容输入方法、系统、设备及非易失性计算机存储介质

Legal Events

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

Ref document number: 16811002

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16811002

Country of ref document: EP

Kind code of ref document: A1