WO2015117426A1 - Procédé et dispositif de gestion de fichiers - Google Patents

Procédé et dispositif de gestion de fichiers Download PDF

Info

Publication number
WO2015117426A1
WO2015117426A1 PCT/CN2014/090068 CN2014090068W WO2015117426A1 WO 2015117426 A1 WO2015117426 A1 WO 2015117426A1 CN 2014090068 W CN2014090068 W CN 2014090068W WO 2015117426 A1 WO2015117426 A1 WO 2015117426A1
Authority
WO
WIPO (PCT)
Prior art keywords
file information
index
application
file
specified
Prior art date
Application number
PCT/CN2014/090068
Other languages
English (en)
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 WO2015117426A1 publication Critical patent/WO2015117426A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Definitions

  • the present invention relates to the field of communications, and in particular, to a file management method and apparatus.
  • smart terminals mobile phones, etc.
  • the invention takes a mobile phone of a smart terminal as an example.
  • Mobile phones have not only greatly improved people's work efficiency, but also changed people's lifestyles.
  • an Android installation package (AndroidPackage, abbreviated as apk) is tens of hundreds of MB, and many files generated by the application after not being used. More and more, and these files (especially those placed on sd cards) cannot be deleted automatically.
  • AndroidPackage abbreviated as apk
  • the terminal system space and sd card space will be quickly consumed, and users do not know which files are useful. Which files are useless and I dare not delete files at will.
  • the management of the file related to the application has technical problems such as a large manual maintenance workload, and the present invention provides a file management method and device to solve at least the above technical problem.
  • a file management method including: obtaining an index of an application identifier corresponding to a specified application on a terminal from a preset index database, wherein the index and the specified application are installed or running
  • the generated file information has an association relationship, and the index is in one-to-one correspondence with the application identifier; the file information is managed according to the index and the association relationship.
  • the method includes: allocating the index to the application identifier; and establishing file information and the index generated by the application during installation or operation. Association relationship; storing the association relationship into the preset index database.
  • the method further includes: uploading the preset index database to the network side.
  • the method further includes: storing, in the terminal, the file information in the preset index library of the network side that the frequency of use is greater than a specified threshold.
  • the file information is managed according to the index and the association relationship: a query operation, a deletion operation, and a backup transfer.
  • deleting the file information according to the index and the association relationship including one of: prompting a user in a list form for specifying file information in all the file information triggered by a specified event Select whether to delete, and delete all the information in the file information except the specified file information; delete all the file information under the trigger of the specified event.
  • the list includes description information of at least one of the following file information: a name of the specified file information, a frequency of use of the specified file information, an access time of the specified file information, the specified file The effect of the information and the result of the deletion of the specified file information.
  • the specified event includes one of: detecting that the application is uninstalled, detecting that a system space of the terminal is less than a preset threshold.
  • the application identifier comprises: an application package name.
  • the file information includes at least one of: an application package name of the application, a read/write frequency of the file information, a read/write time of the file information, a file directory path of the file information, and the The role of data message information.
  • a file management apparatus including: an obtaining module, configured to acquire an index of an application identifier corresponding to a specified application on a terminal from a preset index database, wherein the index and the designation There is an association relationship between the file information generated by the application during installation or operation, and the index is in one-to-one correspondence with the application identifier; the management module is configured to manage the file information according to the index and the association relationship.
  • the technical means for establishing an index of the related file information of the specified application and managing the related file information of the specified application according to the index solves the related art, and the manual management of the file related to the application is manually maintained.
  • Technical problems such as a large workload, which saves the manual workload of file management, improves disk usage, and improves user experience.
  • FIG. 1 is a flow chart of a file management method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of a file management apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing the principle of file management implementation according to a preferred embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a file index establishment process according to a preferred embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a file cleaning process according to a preferred embodiment of the present invention.
  • FIG. 1 is a flow chart of a file management method according to an embodiment of the present invention. As shown in Figure 1, the method includes the following processing steps:
  • Step S102 Obtain an index of the application identifier corresponding to the specified application on the terminal from the preset index database, where the index is associated with the file information generated by the specified application during installation or operation, and the index and the application identifier are corresponding;
  • Step S104 managing the file information according to the index and the association relationship.
  • the related file can be managed according to the index of the unique identifier corresponding to the application, the related file of the application can be automatically managed, and since the application file can be managed according to the index, the saving is achieved.
  • the amount of manual maintenance work since the related file can be managed according to the index of the unique identifier corresponding to the application, the related file of the application can be automatically managed, and since the application file can be managed according to the index, the saving is achieved. The amount of manual maintenance work.
  • the following processing may be performed:
  • the index associated with the above file information is stored in the preset index database, but is not limited thereto.
  • the preset index database may also be uploaded to the network side, so that the sharing of the index database may be implemented.
  • the file information in the preset index library on the network side that is greater than the specified threshold may be stored in the terminal.
  • the foregoing file information may be managed according to the foregoing index and the foregoing association relationship: a query operation, a deletion operation, and a backup transfer.
  • the deleting operation of the file information according to the foregoing index and the foregoing association relationship may be expressed as one of the following processing procedures, but is not limited thereto:
  • the description information of at least one of the following file information includes: a name of the specified file information, a frequency of use of the specified file information, an access time of the specified file information, a role of the specified file information, and a deletion of the specified file information. The result. (2) Delete all the above file information under the trigger of the specified event.
  • the specified event may include, but is not limited to, one of the following: detecting that the application is uninstalled, and detecting that the system space of the terminal is less than a preset threshold.
  • the foregoing application identifier includes but is not limited to: an application package name.
  • the file information includes at least one of the following: an application package name of the application, a read/write frequency of the file information, a read/write time of the file information, a file directory path of the file information, and the foregoing data file.
  • an application package name of the application a read/write frequency of the file information
  • a read/write time of the file information a read/write time of the file information
  • a file directory path of the file information a file directory path of the file information
  • the embodiment of the present invention further provides a file management apparatus, which is used to implement the foregoing method. As shown in FIG. 2, the method includes:
  • the obtaining module 20 is configured to obtain, from the preset index database, an index of the application identifier corresponding to the specified application on the terminal, where the index is associated with the file information generated by the specified application during installation or operation, and the index is as described above.
  • Application identifiers are one-to-one correspondence;
  • the management module 22 is connected to the obtaining module 20 and configured to manage the file information according to the index and the association relationship.
  • each of the foregoing modules may be implemented by using software or hardware.
  • the latter may be implemented by the following methods, but is not limited thereto: the obtaining module 20 is located in the first processor, and the management module 22 is located in the first In the second processor, the acquisition module 20 and the management module 22 are located in the same processor.
  • the embodiment provides a method for automatically establishing a corresponding file index when creating a file in a mobile phone application, and updating corresponding index data when reading and writing these files.
  • the following takes the file deletion as an example.
  • the mobile phone application is a function module that is preset by the mobile phone or installed by the user through various channels and can be operated by the user, and generates various user or application data in the mobile phone system space or the sd card space through various forms.
  • the file reading and writing module is a platform interface used by the mobile phone platform to read/write files/directories in the disk space of the mobile phone.
  • the file index database is used to record the file index of the system space or the sd card disk space, including but not limited to the following information, the created application package name, the file detailed path, the specific data item name, the data usage frequency, and the latest access time. , the role of the data item, and the possible consequences of the data item being cleaned up.
  • the Cloud File Index Database is a larger and more complete database that integrates more end file data indexes for further document management.
  • Application files apply application data and user data generated during runtime
  • System data is a data file generated in the system space, which may cause the application or system to run abnormally after being cleaned up;
  • User data refers to non-essential data or temporary data stored in an sd card, etc., and will only cause the application to reload or re-update the input after cleaning;
  • the embodiment provides a method for automatically establishing a file index for user data management.
  • the index database is preset to the terminal, that is, the index database that has been established before is preset in the mobile phone version.
  • the index database is built to establish a unique index for each application package name.
  • the file name, the read/write frequency, the last write time, the file directory path, the application information, and the purpose of the file are updated to the index database when the file is read or written;
  • the database can be synchronized to the cloud, and after more users share the data, the residual data of the sd card can be better cleaned up.
  • the disk file monitoring mode can be adopted.
  • the disk file is passively received and read and written information, and the file index database is updated to reduce the amount of CPU calculation or time cost caused by the scanning.
  • the more commonly used application data in the cloud database can be preset in the terminal, thereby improving the disk management efficiency, and not greatly increasing the size of the database and occupying too much disk space.
  • the cloud query can be performed to obtain the most valuable information with less traffic.
  • the user is notified in time to clean up the corresponding file; or all the recommended cleanup items may be listed according to the database information when the user performs the cleanup scan.
  • the scanned recommended cleaning item can list the detailed path of the item to be cleaned, the specific data item name of the application, the frequency of data usage, the last access time, the role of the data item, and the data item is cleaned up. Possible results. This information can effectively give users suggestions for managing files. Of course, it is also possible to extend some other field information that may be obtained.
  • the user-set strategy is automatically adopted for data cleaning or backup transfer.
  • the mobile phone platform needs to be cleaned mainly with system space, mainly the built-in storage space of the mobile phone, and the storage space of the sd card (including built-in and external), and the built-in storage space is mainly stored by the system component.
  • Application data which needs to be subdivided, is generally related to the application function; sd card storage space is generally the data downloaded or saved by the user through the application, and the amount of data may be relatively large.
  • Step S402 the mobile phone version preset index database: pre-scans the system space and the sd card, and imports all /data partitions, that is, system space and sd card (inside and outside) directories, into the database, if it is a new version and an empty sd Card, this index database will not have a new directory.
  • the index database has a preset index
  • the source of the preset index is the following steps, which are implemented in the cloud and then preset to the mobile phone version.
  • Step S404 installing a third-party application: entering a mobile phone application, such as WeChat, and performing certain operations through the WeChat application;
  • WeChat will have image cache, monitor log, local log, web cache, game download cache, game center icon, address cache, star user icon, other cache and so on.
  • step S406 the package name is obtained by parsing the configuration item of the application: the package name of the application is obtained through the platform interface, and the package name of the WeChat in this embodiment is: com.tencent.mm;
  • Step S408 creating a unique database index for the package name: querying the index of the package name in the index database, and if not, creating the application information, including a directory, etc.;
  • MD5 encryption is required to prevent the indexed database from being maliciously used.
  • Step S410 generating an apk file /data/app: when the application is installed, the platform generates an application directory such as /data/app;
  • the system caches the directory file generated by the Android platform, it needs to pass the application package name, so that it can clearly know which application created the file, but it still needs to pass the function of the file and the cleaning result through the translation interface of the platform transformation.
  • Step S412 generating a user data directory /data/data/com.zte.xxx: synchronously generating an application system data directory such as /data/data/com.tencent.mm and an sd card file such as /storage/tencent/micromsg;
  • the platform needs to be modified to write the file interface, and the file name and file function are added when the file is created, and the consequences after the cleaning are obtained.
  • Step S414 the user uses: the user inputs some personal data by using WeChat, and the WeChat application synchronizes the corresponding WeChat server data, such as a chat record or a WeChat address book, through the personal information;
  • Step S416 The file generated by the user in the setting item of the application: the application data is generated by the file reading and writing module of the terminal platform, and the data generated by the WeChat in this embodiment has a photo taken by WeChat, a crash log generated by WeChat, and a WeChat Monitoring logs, WeChat game download cache, local logs, chat files, subscription cache, address book backup, etc.
  • Step S418 Update the index database after writing the file/directory: synchronously update the index database when these files are generated, and update the following fields but are not limited to these fields: the created application package name, the file detailed path, the specific data item name, and the data usage frequency. The last access time, the role of the data item, and the possible consequences of the data item being cleaned up;
  • Step S420 Synchronize to the cloud database when appropriate: synchronously update with the cloud index database if necessary;
  • the index database is updated and ends.
  • Figure 3 is file management/cleanup according to the application name created by the file. As shown in FIG. 5, the file cleaning process provided in this embodiment includes the following steps:
  • Step S502 the background task scans all system space and sd card files when the index database is used for the first time;
  • Step S504 obtaining an application package name created by the file/directory in the index database
  • Step S506 scanning all pre-installed software and third-party software of the mobile phone
  • Step S508 obtaining a package name of all software
  • Step S510 judging whether the created application of the file exists by comparing the two lists;
  • step S512 a file management suggestion is given, and the file/directory that the creator does not already exist is cleared by default. Users can view the details and decide whether to clean up;
  • Step S514 according to the file size, read and write frequency sorting, the user can clearly see which files/directories are not used for a long time or which ones occupy too much space;
  • Step S5166 the user determines to clear
  • Step S518, the user independently selects a list of file directories to be cleaned
  • step S520 all the files that confirm the cleaning are deleted.
  • the above technical solution provided by the embodiment can enable the mobile phone user to fully index the database for various operations and improve the user experience.
  • data operations can also be performed in other similar manners, and the present invention will not be described one by one.
  • the index database of the embodiment of the present invention generates application information, file purpose, cleanup effect, and directory information at the beginning of creation. These index data can be shared by multiple terminals. It is convenient to clean up files by the frequency of use of the files. Mobile phone users can use the index database to clean application files, making disk usage more efficient and greatly improving the user experience.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • a technical means for establishing an index of related file information of a specified application and managing related file information of the specified application according to the index is used to solve the related technology and related to the application.
  • the management of the file has technical problems such as large manual maintenance workload, thereby saving the manual workload of file management, improving the disk usage rate and improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé et un dispositif de gestion de fichiers. Le procédé comporte les étapes consistant à: acquérir des index d'identifiants d'applications correspondant à une application désignée sur un terminal à partir d'une base de données d'index prédéfinie, une relation d'association existant entre les index et des informations de fichiers générées lorsque l'application désignée est installée ou exploitée, et les index étant en correspondance biunivoque avec les identifiants d'applications; et en fonction des index et de la relation d'association, gérer les informations de fichiers. La solution technique décrite dans la présente invention permet de résoudre le problème technique rencontré dans la technique apparentée, où la charge de travail pour la maintenance manuelle est relativement importante lorsque des fichiers liés à des applications sont gérés, économisant ainsi sur la charge de travail manuelle pour la gestion de fichiers, accroissant le taux d'utilisation des disques et améliorant l'agrément d'utilisation.
PCT/CN2014/090068 2014-07-24 2014-10-31 Procédé et dispositif de gestion de fichiers WO2015117426A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410356025.5 2014-07-24
CN201410356025.5A CN105302832A (zh) 2014-07-24 2014-07-24 文件管理方法及装置

Publications (1)

Publication Number Publication Date
WO2015117426A1 true WO2015117426A1 (fr) 2015-08-13

Family

ID=53777241

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090068 WO2015117426A1 (fr) 2014-07-24 2014-10-31 Procédé et dispositif de gestion de fichiers

Country Status (2)

Country Link
CN (1) CN105302832A (fr)
WO (1) WO2015117426A1 (fr)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069446A (zh) * 2019-04-28 2019-07-30 努比亚技术有限公司 移动终端文件管理方法、移动终端、装置及存储介质
CN111125047A (zh) * 2019-12-06 2020-05-08 中盈优创资讯科技有限公司 冷热数据目录识别方法及装置
CN111712806A (zh) * 2017-09-21 2020-09-25 深圳传音通讯有限公司 残留文件的清除方法、设备及可读存储介质
CN112579526A (zh) * 2019-09-30 2021-03-30 陕西西部资信股份有限公司 数据处理方法、系统及装置
CN115658626A (zh) * 2022-12-26 2023-01-31 成都数默科技有限公司 一种分布式网络小文件存储管理方法
CN116610577A (zh) * 2023-05-25 2023-08-18 成都融见软件科技有限公司 一种覆盖率获取方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760518A (zh) * 2016-02-29 2016-07-13 四川秘无痕信息安全技术有限责任公司 一种准确提取安卓微信朋友圈数据的方法
CN106528658B (zh) * 2016-10-19 2019-06-25 Oppo广东移动通信有限公司 应用文件的查找方法及装置
CN106991130A (zh) * 2017-03-07 2017-07-28 广东欧珀移动通信有限公司 一种文件处理方法、装置及智能终端
CN107493386A (zh) * 2017-08-22 2017-12-19 广东小天才科技有限公司 一种应用程序管理方法、应用程序管理装置及智能终端
CN108519897A (zh) * 2018-03-01 2018-09-11 惠州Tcl移动通信有限公司 智能终端及其文件管理方法、具有存储功能的装置
CN109299039A (zh) * 2018-08-30 2019-02-01 努比亚技术有限公司 一种文件管理方法、设备及计算机可读存储介质
CN110471764A (zh) * 2019-08-01 2019-11-19 郑州阿帕斯科技有限公司 一种内存清理的处理方法及装置
CN112988457B (zh) * 2019-12-17 2023-04-25 中国移动通信集团河南有限公司 一种数据备份方法、装置、系统及计算机设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979428A (zh) * 2005-12-08 2007-06-13 中兴通讯股份有限公司 自动释放嵌入式系统中应用程序模块泄漏内存的系统
CN103020253A (zh) * 2012-12-20 2013-04-03 北京奇虎科技有限公司 应用搜索方法和设备
CN103092687A (zh) * 2012-12-26 2013-05-08 上海斐讯数据通信技术有限公司 一种应用程序管理装置和方法
CN103888833A (zh) * 2014-03-11 2014-06-25 惠州Tcl移动通信有限公司 一种智能电视访问电视节目和应用程序的方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500116A (zh) * 2013-10-29 2014-01-08 中科创达软件股份有限公司 一种清除应用程序生成的数据的方法及系统
CN109284253B (zh) * 2013-11-19 2022-07-22 荣耀终端有限公司 一种移动终端的文件管理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979428A (zh) * 2005-12-08 2007-06-13 中兴通讯股份有限公司 自动释放嵌入式系统中应用程序模块泄漏内存的系统
CN103020253A (zh) * 2012-12-20 2013-04-03 北京奇虎科技有限公司 应用搜索方法和设备
CN103092687A (zh) * 2012-12-26 2013-05-08 上海斐讯数据通信技术有限公司 一种应用程序管理装置和方法
CN103888833A (zh) * 2014-03-11 2014-06-25 惠州Tcl移动通信有限公司 一种智能电视访问电视节目和应用程序的方法及系统

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712806A (zh) * 2017-09-21 2020-09-25 深圳传音通讯有限公司 残留文件的清除方法、设备及可读存储介质
CN110069446A (zh) * 2019-04-28 2019-07-30 努比亚技术有限公司 移动终端文件管理方法、移动终端、装置及存储介质
CN112579526A (zh) * 2019-09-30 2021-03-30 陕西西部资信股份有限公司 数据处理方法、系统及装置
CN111125047A (zh) * 2019-12-06 2020-05-08 中盈优创资讯科技有限公司 冷热数据目录识别方法及装置
CN111125047B (zh) * 2019-12-06 2024-03-12 中盈优创资讯科技有限公司 冷热数据目录识别方法及装置
CN115658626A (zh) * 2022-12-26 2023-01-31 成都数默科技有限公司 一种分布式网络小文件存储管理方法
CN116610577A (zh) * 2023-05-25 2023-08-18 成都融见软件科技有限公司 一种覆盖率获取方法

Also Published As

Publication number Publication date
CN105302832A (zh) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2015117426A1 (fr) Procédé et dispositif de gestion de fichiers
JP6621543B2 (ja) ハイブリッドアプリケーションの自動更新
JP6629697B2 (ja) 仮想マシンイメージファイルを抽出する方法および装置
CN102819461B (zh) 桌面同步方法、装置、设备及系统
US9311326B2 (en) Virtual file system for automated data replication and review
CN104158886B (zh) 一种应用程序的流式执行方法
JP6381776B2 (ja) コンテンツアイテムの共有のための未登録ユーザアカウントの生成
US9864736B2 (en) Information processing apparatus, control method, and recording medium
US20170031948A1 (en) File synchronization method, server, and terminal
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
WO2014138747A1 (fr) Partage d'un élément de contenu
US20140229457A1 (en) Automatic content item upload
CN103379476A (zh) 终端和联系人信息更新方法
CN105786606A (zh) 一种用于智能终端间的数据转移的方法和系统
CN103716346A (zh) 一种安卓手机客户端上应用的管理方法和装置
CN111770153A (zh) 一种对象下载方法、装置及电子设备和存储介质
CN112243017A (zh) 一种文件上传的方法和装置
CN112559913B (zh) 一种数据处理方法、装置、计算设备及可读存储介质
US9244668B1 (en) Systems and methods for synchronizing mobile computing platforms
CN103365674B (zh) 一种基于移动终端的插件管理方法、装置和系统
TWI571754B (zh) 用來進行檔案同步控制之方法與裝置
WO2017080198A1 (fr) Procédé et dispositif de mise à jour de mémo
CN106407320B (zh) 文件处理方法、装置及系统
CN103873494A (zh) 终端设备及其信息处理方法
US10917468B2 (en) Systems and methods of re-associating content items

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: 14881766

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: 14881766

Country of ref document: EP

Kind code of ref document: A1