WO2018027782A1 - 大文件自动分解的方法和分解系统 - Google Patents

大文件自动分解的方法和分解系统 Download PDF

Info

Publication number
WO2018027782A1
WO2018027782A1 PCT/CN2016/094581 CN2016094581W WO2018027782A1 WO 2018027782 A1 WO2018027782 A1 WO 2018027782A1 CN 2016094581 W CN2016094581 W CN 2016094581W WO 2018027782 A1 WO2018027782 A1 WO 2018027782A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
decomposition
size
size threshold
unit
Prior art date
Application number
PCT/CN2016/094581
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 王志远
Priority to PCT/CN2016/094581 priority Critical patent/WO2018027782A1/zh
Publication of WO2018027782A1 publication Critical patent/WO2018027782A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the invention belongs to the field of computer software, and provides a method and a decomposition system for automatically decomposing large files.
  • File system is the operating system used to clarify storage devices (commonly disk, also based on NAND Flash SSD) or method and data structure of files on a partition; that is, a method of organizing files on a storage device.
  • the software organization responsible for managing and storing file information in the operating system is called a file management system, or a file system for short.
  • the file system consists of three parts: the interface of the file system, the set of software for object manipulation and management, objects and attributes.
  • a file system is a system that organizes and allocates space for file storage devices, is responsible for file storage, and protects and retrieves stored files. Specifically, it is responsible for creating files for users, storing, reading, modifying, dumping files, controlling access to files, and undoing files when users no longer use them.
  • Computer files are a stream of data stored on a long-term storage device.
  • the term "long-term storage device” generally refers to a disk, a disk, a tape, and the like. Its characteristic is that the stored information can be used for a long time, multiple times, and will not disappear due to power failure.
  • the embodiment of the invention provides a method for automatically decomposing large files, which aims to provide a method for decomposing the size threshold by using a preset file when the user uses a computer to operate a large file, and when the file is newly created or the file is updated, When the file size is larger than the file resolution size threshold, the file is automatically decomposed to avoid slow file opening and poor file function efficiency due to the large file size.
  • a method for automatically decomposing large files comprising the following steps:
  • the embodiment of the invention further provides a decomposition system, comprising:
  • a detecting unit configured to detect a file size when a file is newly created or a file is updated
  • the decomposition unit has an input end connected to the recording unit and the output end of the detecting unit, respectively, for decomposing the file when the file size is greater than the file decomposition size threshold.
  • the invention decomposes the size threshold by using a preset file.
  • the file size is new or the file is updated, when the file size is larger than the file decomposition size threshold, the file is automatically decomposed to avoid slow file opening and poor file function efficiency due to a single file being too large. .
  • FIG. 1 is a schematic flowchart of a method for automatically decomposing large files according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a decomposition system according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for automatically disassembling a large file according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • step S100 a file decomposition size threshold is recorded.
  • the set file decomposition size is 10 Mb.
  • step S101 when the file is newly created or the file is updated, the file size is detected.
  • step S102 when the file size is larger than the file decomposition size threshold, the file is decomposed.
  • the technology is prior art and can be divided by a document.
  • the divided files include text files, video files, etc., but files such as pictures are not suitable for segmentation.
  • a txt text document size is 30Mb, and the book is divided into 3 documents.
  • the invention decomposes the size threshold by using a preset file.
  • the file size is new or the file is updated, when the file size is larger than the file decomposition size threshold, the file is automatically decomposed to avoid slow file opening and poor file function efficiency due to a single file being too large. .
  • FIG. 2 is a schematic structural diagram of a decomposition system according to an embodiment of the present invention, where the decomposition system includes:
  • a recording unit 21 configured to record a file decomposition size threshold
  • the detecting unit 22 is configured to detect a file size when the file is newly created or the file is updated;
  • the decomposition unit 23 has an input end connected to the output unit of the recording unit 21 and the detecting unit 22, respectively, for decomposing a file when the file size is larger than the file decomposition size threshold.
  • the working principle is: the recording unit 21 records the file decomposition size threshold, and the detecting unit 22 detects the file size when the file is newly created or the file is updated, and the decomposition unit 23, when the file size is larger than the file decomposition size threshold, Decompose the file.
  • the invention decomposes the size threshold by using a preset file.
  • the file size is new or the file is updated, when the file size is larger than the file decomposition size threshold, the file is automatically decomposed to avoid slow file opening and poor file function efficiency due to a single file being too large. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种大文件自动分解的方法以及分解系统,属于电脑软件领域,所述方法包括:记录文件分解大小阈值(S100);当文件新建或者文件有更新时,检测文件大小(S101);当所述文件大小大于所述文件分解大小阈值时,分解文件(S102)。通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。

Description

大文件自动分解的方法 和 分解系统 技术领域
本发明属于电脑软件领域,提供了一种大文件自动分解的方法以及分解系统。
背景技术
文件系统是操作系统用于明确存储设备(常见的是磁盘,也有基于NAND Flash的固态硬盘)或分区上的文件的方法和数据结构;即在存储设备上组织文件的方法。操作系统中负责管理和存储文件信息的软件机构称为文件管理系统,简称文件系统。文件系统由三部分组成:文件系统的接口,对对象操纵和管理的软件集合,对象及属性。从系统角度来看,文件系统是对文件存储设备的空间进行组织和分配,负责文件存储并对存入的文件进行保护和检索的系统。具体地说,它负责为用户建立文件,存入、读出、修改、转储文件,控制文件的存取,当用户不再使用时撤销文件等。
计算机文件(或称文件、电脑档案、档案),是存储在某种长期储存设备上的一段数据流。所谓'长期储存设备'一般指磁盘、光盘、磁带等。其特点是所存信息可以长期、多次使用,不会因为断电而消失。
用户在使用电脑打开文档需要查看时,特别是某些软件自动生成日志文档,工作上的文档。这些文档通常会很大,有些有几十Mb,上百Mb,甚至是几G。在打开时,用户需要等待很长时间,等文档全部打开后,用户使用查看,搜索文档内容等功能时,由于内存限制,也会造成使用缓慢等问题。
综上,需要针对用户使用电脑操作大文件时效率低的情况,提供一种通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。
技术问题
本发明实施例提供了一种大文件自动分解的方法,目的在于针对用户使用电脑操作大文件时效率低的情况,提供一种通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。
技术解决方案
本发明是这样实现的:一种大文件自动分解的方法,包括以下步骤:
记录文件分解大小阈值;
当文件新建或者文件有更新时,检测文件大小;
当所述文件大小大于所述文件分解大小阈值时,分解文件。
本发明实施例还提供了一种分解系统,包括:
记录单元,读取单元,分解单元,其中:
记录单元,用于记录文件分解大小阈值;
检测单元,用于当文件新建或者文件有更新时,检测文件大小;
分解单元,其输入端分别与所述记录单元及所述检测单元的输出端连接,用于当所述文件大小大于所述文件分解大小阈值时,分解文件。
有益效果
本发明通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。
附图说明
图1 是本发明实施例提供的一种大文件自动分解的方法的流程示意图;
图2 是本发明实施例提供的分解系统的结构示意图。
本发明的实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
图1是发明实施例提供的一种大文件自动分解的方法的流程示意图,为了便于说明,只示出了与本发明实施例相关的部分。
在步骤S100中,记录文件分解大小阈值。
在本实用例中,设置文件分解大小为10Mb。
在步骤S101中,当文件新建或者文件有更新时,检测文件大小。
在步骤S102中,当所述文件大小大于所述文件分解大小阈值时,分解文件。
该技术为现有技术,可以通过文档进行分割,被分割文件包括文本文件,视频文件等,但图片等文件不适合分割。例如某txt文本文档大小为30Mb,将本分割为3个文档。
本发明通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。
图2是本发明实施例提供的分解系统的结构示意图,该分解系统包括:
记录单元21,读取单元22,分解单元23,其中:
记录单元21,用于记录文件分解大小阈值;
检测单元22,用于当文件新建或者文件有更新时,检测文件大小;
分解单元23,其输入端分别与所述记录单元21及所述检测单元22的输出端连接,用于当所述文件大小大于所述文件分解大小阈值时,分解文件。
其工作原理是:记录单元21,记录文件分解大小阈值,检测单元22,当文件新建或者文件有更新时,检测文件大小,分解单元23,当所述文件大小大于所述文件分解大小阈值时,分解文件。
本发明通过预设文件分解大小阈值,当文件新建或者文件有更新时,文件大小大于文件分解大小阈值时,自动分解文件,避免因为单个文件过大导致文件打开缓慢及文件功能使用效率差的情况。
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (2)

  1. 一种大文件自动分解的方法,其特征在于,所述方法包括如下步骤:
    记录文件分解大小阈值;
    当文件新建或者文件有更新时,检测文件大小;
    当所述文件大小大于所述文件分解大小阈值时,分解文件。
  2. 一种分解系统,其特征在于,所述分解系统包括:
    记录单元,读取单元,分解单元,其中:
    记录单元,用于记录文件分解大小阈值;
    检测单元,用于当文件新建或者文件有更新时,检测文件大小;
    分解单元,其输入端分别与所述记录单元及所述检测单元的输出端连接,用于当所述文件大小大于所述文件分解大小阈值时,分解文件。
PCT/CN2016/094581 2016-08-11 2016-08-11 大文件自动分解的方法和分解系统 WO2018027782A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/094581 WO2018027782A1 (zh) 2016-08-11 2016-08-11 大文件自动分解的方法和分解系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/094581 WO2018027782A1 (zh) 2016-08-11 2016-08-11 大文件自动分解的方法和分解系统

Publications (1)

Publication Number Publication Date
WO2018027782A1 true WO2018027782A1 (zh) 2018-02-15

Family

ID=61161503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094581 WO2018027782A1 (zh) 2016-08-11 2016-08-11 大文件自动分解的方法和分解系统

Country Status (1)

Country Link
WO (1) WO2018027782A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789477A (zh) * 2011-05-19 2012-11-21 巴比禄股份有限公司 文件管理装置以及文件管理方法
CN103049540A (zh) * 2012-12-26 2013-04-17 深圳瑞高信息技术有限公司 一种大文件烧录的方法及相关装置
CN103177019A (zh) * 2011-12-23 2013-06-26 联想(北京)有限公司 Usb存储设备及其驱动方法
CN103701565A (zh) * 2013-12-18 2014-04-02 南通新世纪机电有限公司 一种数据传输方法
CN104378422A (zh) * 2014-11-13 2015-02-25 中国联合网络通信有限公司保定市分公司 一种移动终端及其文件传输方法和系统
CN105224257A (zh) * 2015-10-16 2016-01-06 浪潮(北京)电子信息产业有限公司 一种云存储系统中大文件的处理方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789477A (zh) * 2011-05-19 2012-11-21 巴比禄股份有限公司 文件管理装置以及文件管理方法
CN103177019A (zh) * 2011-12-23 2013-06-26 联想(北京)有限公司 Usb存储设备及其驱动方法
CN103049540A (zh) * 2012-12-26 2013-04-17 深圳瑞高信息技术有限公司 一种大文件烧录的方法及相关装置
CN103701565A (zh) * 2013-12-18 2014-04-02 南通新世纪机电有限公司 一种数据传输方法
CN104378422A (zh) * 2014-11-13 2015-02-25 中国联合网络通信有限公司保定市分公司 一种移动终端及其文件传输方法和系统
CN105224257A (zh) * 2015-10-16 2016-01-06 浪潮(北京)电子信息产业有限公司 一种云存储系统中大文件的处理方法及系统

Similar Documents

Publication Publication Date Title
US7831639B1 (en) System and method for providing data protection by using sparse files to represent images of data stored in block devices
US8069442B2 (en) Computer system and method for secure installation and operation of software
JP5087467B2 (ja) コンピュータストレージシステムにおいてデータ圧縮並びに整合性を管理する方法および装置
US8706697B2 (en) Data retention component and framework
US20070033340A1 (en) System and method for providing content based anticipative storage management
US20090249464A1 (en) Firewall for removable mass storage devices
US11221992B2 (en) Storing data files in a file system
CN100442279C (zh) 注释数字对象
JP2009187544A (ja) 取り外し可能ディスクドライブ格納システム上の追記型モードの実装のための装置
JP2008077288A (ja) データバックアップ方法及び計算機システム
US20110238714A1 (en) System and Method for Providing Write-Once-Read-Many (WORM) Storage
US20120254117A1 (en) Reducing a Backup Time of a Backup of Data Files
TW201237671A (en) Method and system for deleting data
US20070299996A1 (en) Data Transfer Device
WO2018027782A1 (zh) 大文件自动分解的方法和分解系统
EP1679583A3 (en) Storage system and computer system
TWI575387B (zh) 安全同步裝置、方法及其電腦程式產品
US10019318B1 (en) Storage optimization of pre-allocated units of storage
US20080270453A1 (en) Keyword-based content management
Sumarni et al. Perpustakaan Digital “Isu Preservasi Digital” Alasan, Proses dan Tantangan Ke depan
WO2018027783A1 (zh) 文件自动分解时的信息推送方法和分解系统
WO2018157330A1 (zh) 大数据的划分方法及系统
WO2018023575A1 (zh) 根据手势打开文件夹的方法以及文件系统
WO2018027480A1 (zh) 电脑自动保存的方法以及保存系统
CN104252601A (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: 16912237

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

Country of ref document: EP

Kind code of ref document: A1