CN1323345C - Data compression/decompression device and its application system - Google Patents
Data compression/decompression device and its application system Download PDFInfo
- Publication number
- CN1323345C CN1323345C CNB2004100297014A CN200410029701A CN1323345C CN 1323345 C CN1323345 C CN 1323345C CN B2004100297014 A CNB2004100297014 A CN B2004100297014A CN 200410029701 A CN200410029701 A CN 200410029701A CN 1323345 C CN1323345 C CN 1323345C
- Authority
- CN
- China
- Prior art keywords
- data
- compression
- decompression
- output buffer
- storage device
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 230000006837 decompression Effects 0.000 title claims abstract description 84
- 238000013144 data compression Methods 0.000 title claims abstract description 81
- 238000013500 data storage Methods 0.000 claims abstract description 77
- 230000005540 biological transmission Effects 0.000 claims description 36
- 230000003287 optical effect Effects 0.000 claims description 14
- 230000003139 buffering effect Effects 0.000 claims description 8
- 238000007906 compression Methods 0.000 claims description 8
- 230000006835 compression Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000013461 design Methods 0.000 description 5
- 230000007547 defect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种资料压缩/解压缩装置,特别是涉及一种不需耗用CPU(Central Processing Unit,简称CPU)资源与记忆体(内存)空间的资料压缩/解压缩装置及其应用系统。The present invention relates to a data compression/decompression device, in particular to a data compression/decompression device and its application system that do not consume CPU (Central Processing Unit, referred to as CPU) resources and memory (internal memory) space.
背景技术Background technique
随着信息科技的发达,信息系统中的资料(资料即数据,以下均称为资料)传输量也越来越庞大,于是,资料压缩储存成为计算机系统中常用的资料处理方法。With the development of information technology, the transmission volume of data in information systems (data is data, hereinafter referred to as data) is also increasing. Therefore, data compression storage has become a commonly used data processing method in computer systems.
请参阅图1所示,是现有习知的一种计算机储存系统示意图。图中,计算机110具有可连接至硬盘120的一资料传输界面(接口)111,并经由资料传输界面111来存取硬盘120中的资料。其中,为了可以增加硬盘120的储存容量,当计算机110欲将资料存入硬盘120时,会执行计算机110中的一压缩/解压缩程序112,以将资料压缩后,才传送至硬盘120中储存。而当欲将资料自硬盘120中读出时,则必须应用计算机110中的压缩/解压缩程序112,来对读出的资料进行解压缩,以将资料还原。此种作法虽可达成资料压缩储存的目的,但却会耗用计算机110的CPU资源与记忆体(内存)空间,而且也需要在计算机110作业环境中,建立相关的软件或驱动程序,并不利于使用者的使用。Please refer to FIG. 1 , which is a schematic diagram of a conventional computer storage system. In the figure, the computer 110 has a data transmission interface (interface) 111 that can be connected to the hard disk 120 , and accesses the data in the hard disk 120 through the data transmission interface 111 . Among them, in order to increase the storage capacity of the hard disk 120, when the computer 110 intends to store data into the hard disk 120, it will execute a compression/decompression program 112 in the computer 110, so that the data will be compressed before being transmitted to the hard disk 120 for storage . And when wanting to read the data from the hard disk 120, the compression/decompression program 112 in the computer 110 must be used to decompress the read data to restore the data. Although this kind of approach can achieve the purpose of data compression storage, it will consume the CPU resources and memory (memory) space of the computer 110, and it is also necessary to establish relevant software or driver programs in the operating environment of the computer 110. Conducive to the user's use.
由此可见,上述现有的资料压缩/解压缩装置及其应用系统仍存在有缺陷,而亟待加以进一步改进。为了解决资料压缩/解压缩装置及其应用系统存在的问题,相关厂商莫不费尽心思来谋求解决之道,但长久以来一直未见适用的设计被发展完成,而一般产品又没有适切的结构能够解决上述问题,此显然是相关业者急欲解决的问题。It can be seen that the above-mentioned existing data compression/decompression device and its application system still have defects, and need to be further improved urgently. In order to solve the problems existing in data compression/decompression devices and their application systems, relevant manufacturers have tried their best to find solutions, but for a long time no suitable design has been developed, and general products have no suitable structure Being able to solve the above-mentioned problems is obviously a problem that relevant industry players are eager to solve.
有鉴于上述现有的资料压缩/解压缩装置及其应用系统存在的缺陷,本发明人基于从事此类产品设计制造多年丰富的实务经验及专业知识,积极加以研究创新,以期创设一种新型结构的资料压缩/解压缩装置及其应用系统,能够改进一般现有的资料压缩/解压缩装置及其应用系统,使其更具有实用性。经过不断的研究、设计,并经反复试作样品及改进后,终于创设出确具实用价值的本发明。In view of the defects in the above-mentioned existing data compression/decompression device and its application system, the inventor actively researches and innovates based on his rich practical experience and professional knowledge in the design and manufacture of this type of product, in order to create a new structure The data compression/decompression device and its application system can improve the general existing data compression/decompression device and its application system, making it more practical. Through continuous research, design, and after repeated trial samples and improvements, the present invention with practical value is finally created.
发明内容Contents of the invention
本发明的目的在于,克服现有的资料压缩/解压缩装置及其应用系统存在的缺陷,而提供一种新型结构的资料压缩/解压缩装置及其应用系统,所要解决的技术问题是使其可在不需耗用计算机的CPU资源与记忆体空间,且毋须相关的软件或驱动程序的情况下,达到资料压缩储存的目的,十分方便于使用者的使用,从而更加适于实用。The purpose of the present invention is to overcome the defects existing in the existing data compression/decompression device and its application system, and provide a new type of data compression/decompression device and its application system. The technical problem to be solved is to make it The purpose of data compression and storage can be achieved without consuming the CPU resources and memory space of the computer, and without the need for related software or drivers, which is very convenient for users to use, and thus more suitable for practical use.
本发明的目的及解决其技术问题是采用以下的技术方案来实现的。依据本发明提出的一种资料压缩/解压缩装置,适用于对一资料产生装置与一资料储存装置间传输的一资料进行压缩/解压缩工作,其包括:一输入缓冲器,用以缓冲储存输入的该资料;一输出缓冲器,用以缓冲储存输出的该资料;一资料压缩/解压缩器,耦接该输出缓冲器,用以压缩/解压缩输入的该资料,并将输出的该资料储存于该输出缓冲器;以及一控制器,耦接该输入缓冲器、输出缓冲器与该资料压缩/解压缩器,用以控制该资料产生装置、该输入缓冲器、该输出缓冲器与该资料储存装置间的资料传输,并控制压缩/解压缩工作的进行及管理该资料产生装置传送的存取位址与储存于该资料储存装置的实际位址的一位址对应表。The purpose of the present invention and the solution to its technical problems are achieved by adopting the following technical solutions. A data compression/decompression device according to the present invention is suitable for compressing/decompressing a data transmitted between a data generating device and a data storage device, which includes: an input buffer for buffer storage The input data; an output buffer for buffering and storing the output data; a data compressor/decompressor coupled to the output buffer for compressing/decompressing the input data and outputting the output data data is stored in the output buffer; and a controller, coupled to the input buffer, the output buffer and the data compressor/decompressor, is used to control the data generating device, the input buffer, the output buffer and the Data transmission between the data storage devices, and control of compression/decompression work and management of an address correspondence table between the access address transmitted by the data generation device and the actual address stored in the data storage device.
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures.
前述的资料压缩/解压缩装置,其中所述的控制器其包括:一资料产生控制单元,用以控制该资料产生装置、该输入缓冲器与该输出缓冲器间的资料传输;一资料储存控制单元,用以控制该资料储存装置、该输入缓冲器与该输出缓冲器间的资料传输;一资料撷取器,用以自该输入缓冲器取得该资料,并撷取该资料的应压缩/解压缩部分,传送至该资料压缩/解压缩器;以及一主控制单元,用以协调控制该资料产生控制单元,该资料储存控制单元与该资料撷取器,及管理该位址对应表。The aforementioned data compression/decompression device, wherein the controller includes: a data generation control unit for controlling the data transmission between the data generation device, the input buffer and the output buffer; a data storage control unit A unit, used to control the data transmission among the data storage device, the input buffer and the output buffer; a data fetcher, used to obtain the data from the input buffer, and fetch the data that should be compressed/ The decompression part is sent to the data compressor/decompressor; and a main control unit is used to coordinate and control the data generation control unit, the data storage control unit and the data extractor, and manage the address correspondence table.
前述的资料压缩/解压缩装置,其中所述的资料产生装置为计算机主机、笔记型计算机、微处理器、界面卡及路由器其中之一。In the aforementioned data compression/decompression device, the data generation device is one of a host computer, a notebook computer, a microprocessor, an interface card, and a router.
前述的资料压缩/解压缩装置,其中所述的资料储存装置是为硬盘、软盘、读写式光驱、磁性光学装置、数字视讯记录器及快闪记忆卡其中之一。In the aforementioned data compression/decompression device, the data storage device is one of a hard disk, a floppy disk, a read-write optical drive, a magnetic optical device, a digital video recorder, and a flash memory card.
本发明的目的及解决其技术问题还采用以下的技术方案来实现。依据本发明提出的一种资料压缩/解压缩装置应用系统,其包括:一资料储存装置,具有一资料传输界面;一资料产生装置,用以经由该资料传输界面存取该资料储存装置中的一资料;以及一资料压缩/解压缩装置,经由该资料传输界面耦接该资料产生装置与该资料储存装置,用以压缩/解压缩在该资料产生装置与该资料储存装置间传输的该资料,并管理该资料产生装置传送的存取位址与储存于该资料储存装置的实际位址的一位址对应表。The purpose of the present invention and the solution to its technical problems are also achieved by the following technical solutions. A data compression/decompression device application system according to the present invention includes: a data storage device with a data transmission interface; a data generation device for accessing the data in the data storage device through the data transmission interface a data; and a data compression/decompression device, coupled to the data generating device and the data storage device via the data transmission interface, for compressing/decompressing the data transmitted between the data generating device and the data storage device , and manage an address correspondence table between the access address sent by the data generating device and the actual address stored in the data storage device.
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures.
前述的资料压缩/解压缩装置应用系统,其中所述的资料压缩/解压缩装置包括:一输入缓冲器,用以缓冲储存输入的该资料;一输出缓冲器,用以缓冲储存输出的该资料;一资料压缩/解压缩器,耦接该输出缓冲器,用以压缩/解压缩输入的该资料,并将输出的该资料储存于该输出缓冲器;以及一控制器,耦接该输入缓冲器、输出缓冲器与该资料压缩/解压缩器,用以控制该资料产生装置、该输入缓冲器、该输出缓冲器与该资料储存装置间的资料传输,并控制压缩/解压缩工作的进行及管理该位址对应表。The aforementioned data compression/decompression device application system, wherein the data compression/decompression device includes: an input buffer for buffering and storing the input data; an output buffer for buffering and storing the output data ; A data compression/decompression device, coupled to the output buffer, for compressing/decompressing the input data, and storing the output data in the output buffer; and a controller, coupled to the input buffer The device, the output buffer and the data compression/decompression device are used to control the data transmission between the data generation device, the input buffer, the output buffer and the data storage device, and to control the compression/decompression work And manage the address correspondence table.
前述的资料压缩/解压缩装置应用系统,其中所述的控制器包括:一资料产生控制单元,用以控制该资料产生装置、该输入缓冲器与该输出缓冲器间的资料传输;一资料储存控制单元,用以控制该资料储存装置、该输入缓冲器与该输出缓冲器间的资料传输;一资料撷取器,用以自该输入缓冲器取得该资料,并撷取该资料的应压缩/解压缩部分,传送至该资料压缩/解压缩器;以及一主控制单元,用以协调控制该资料产生控制单元、该资料储存控制单元与该资料撷取器,及管理该位址对应表。The aforementioned data compression/decompression device application system, wherein the controller includes: a data generation control unit, used to control the data transmission between the data generation device, the input buffer and the output buffer; a data storage a control unit, used to control the data transmission between the data storage device, the input buffer and the output buffer; a data extractor, used to obtain the data from the input buffer, and obtain the compressed data of the data /Decompression part, sent to the data compressor/decompressor; and a master control unit, used to coordinate and control the data generation control unit, the data storage control unit and the data collector, and manage the address correspondence table .
前述的资料压缩/解压缩装置应用系统,其中所述的资料产生装置为计算机主机、笔记型计算机、微处理器、界面卡及路由器其中之一。In the aforementioned data compression/decompression device application system, the data generating device is one of a host computer, a notebook computer, a microprocessor, an interface card, and a router.
前述的资料压缩/解压缩装置应用系统,其中所述的资料储存装置为硬盘、软盘、读写式光驱、磁性光学装置、数字视讯记录器及快闪记忆卡其中之一。The aforementioned data compression/decompression device application system, wherein the data storage device is one of hard disk, floppy disk, read-write optical drive, magnetic optical device, digital video recorder and flash memory card.
前述的资料压缩/解压缩装置应用系统,其中所述的资料传输界面为IDE、1394、SCSI、串行ATA、串行附属SCSI、PCMCIA及USB其中之一。In the aforementioned data compression/decompression device application system, the data transmission interface is one of IDE, 1394, SCSI, serial ATA, serial attached SCSI, PCMCIA and USB.
本发明与现有技术相比具有明显的优点和有益效果。由以上技术方案可知,为了达到前述发明目的,本发明的主要技术内容如下:Compared with the prior art, the present invention has obvious advantages and beneficial effects. As can be seen from the above technical solutions, in order to achieve the aforementioned object of the invention, the main technical contents of the present invention are as follows:
本发明提出一种资料压缩/解压缩装置及其应用系统,其是在资料压缩/解压缩应用系统中,除了资料压缩/解压缩装置外,另包括有资料产生装置及资料储存装置。其中,资料储存装置具有一资料传输界面,资料产生装置用以经由资料传输界面来存取资料储存装置中的资料,而资料压缩/解压缩装置经由资料传输界面耦接资料产生装置与资料储存装置,用以压缩/解压缩在资料产生装置与资料储存装置间传输的资料,并管理资料产生装置传送的存取位址与储存于资料储存装置的实际位址的位址对应表。The present invention proposes a data compression/decompression device and its application system. In the data compression/decompression application system, in addition to the data compression/decompression device, it also includes a data generation device and a data storage device. Wherein, the data storage device has a data transmission interface, the data generation device is used to access the data in the data storage device through the data transmission interface, and the data compression/decompression device is coupled to the data generation device and the data storage device through the data transmission interface , for compressing/decompressing the data transmitted between the data generating device and the data storage device, and managing the address correspondence table between the access address sent by the data generating device and the actual address stored in the data storage device.
其中,资料压缩/解压缩装置包括:输入缓冲器、输出缓冲器、资料压缩/解压缩器及控制器。输入缓冲器是用以缓冲储存输入的资料,输出缓冲器用以缓冲储存输出的资料。资料压缩/解压缩器耦接输出缓冲器,用以压缩/解压缩输入的资料,并将输出的资料储存于输出缓冲器。而控制器则耦接输入缓冲器、输出缓冲器与资料压缩/解压缩器,用以控制资料产生装置、输入缓冲器、输出缓冲器与资料储存装置间的资料传输,并控制压缩/解压缩工作的进行及管理前述的位址对应表。Wherein, the data compression/decompression device includes: an input buffer, an output buffer, a data compression/decompression device and a controller. The input buffer is used to buffer and store input data, and the output buffer is used to buffer and store output data. The data compressor/decompressor is coupled to the output buffer for compressing/decompressing the input data and storing the output data in the output buffer. The controller is coupled to the input buffer, the output buffer and the data compression/decompression device to control the data transmission between the data generation device, the input buffer, the output buffer and the data storage device, and to control the compression/decompression The work is carried out and the aforementioned address correspondence table is managed.
在一实施例中,控制器包括有:资料产生控制单元、资料储存控制单元、资料撷取器及主控制单元。其中,资料产生控制单元用以控制资料产生装置、输入缓冲器与输出缓冲器间的资料传输,资料储存控制单元用以控制资料储存装置、输入缓冲器与输出缓冲器间的资料传输。资料撷取器用以自输入缓冲器取得输入的资料,并撷取资料的应压缩/解压缩部分,传送至资料压缩/解压缩器。而主控制单元则用以协调控制资料产生控制单元、资料储存控制单元及资料撷取器,并管理前述的位址对应表。In one embodiment, the controller includes: a data generation control unit, a data storage control unit, a data collector and a main control unit. Wherein, the data generation control unit is used to control the data transmission between the data generation device, the input buffer and the output buffer, and the data storage control unit is used to control the data transmission between the data storage device, the input buffer and the output buffer. The data extractor is used for obtaining the input data from the input buffer, extracting the part of the data that should be compressed/decompressed, and sending it to the data compressing/decompressing device. The main control unit is used for coordinating and controlling the data generation control unit, the data storage control unit and the data fetcher, and managing the aforementioned address correspondence table.
其中的资料产生装置可以为计算机主机(Host)、笔记型计算机(Notebook)、微处理器(Microprocessor)、界面卡(Interface Card)或路由器(Router)等其中之一。资料储存装置可以为硬盘(Hard Disk)、软盘(Floppy Disk)、读写式光驱(CD-RW)、磁性光学装置(Magnetic Opticaldrive,简称MO)、数字视讯记录器(Digital Video Recorder)及或快闪记忆卡(Flash Memory Card)等其中之一。而资料传输界面则可以为IDE(Integrated Device Electronics,简称IDE)、1394、SCSI(SmallComputer System Interface,简称SCSI)、串行ATA(Serial ATA)、串行附属SCSI(Serial attached SCSI)、PCMCIA(Personal ComDuter MemoryCard International Association,简称PCMCIA)或USB(Universal SerialBus,简称USB)等其中之一。The data generating device can be one of host computer (Host), notebook computer (Notebook), microprocessor (Microprocessor), interface card (Interface Card) or router (Router). The data storage device can be a hard disk (Hard Disk), a floppy disk (Floppy Disk), a read-write optical drive (CD-RW), a magnetic optical device (Magnetic Optical drive, referred to as MO), a digital video recorder (Digital Video Recorder) and or fast One of them such as Flash Memory Card. The data transmission interface can be IDE (Integrated Device Electronics, referred to as IDE), 1394, SCSI (SmallComputer System Interface, referred to as SCSI), serial ATA (Serial ATA), serial attached SCSI (Serial attached SCSI), PCMCIA (Personal ComDuter MemoryCard International Association (PCMCIA for short) or USB (Universal Serial Bus, USB for short).
经由上述可知,本发明资料压缩/解压缩装置及其应用系统,是在资料产生装置与资料储存装置间,连接具有输入缓冲器、输出缓冲器、资料压缩/解压缩器及控制器的一资料压缩/解压缩装置,用以压缩/解压缩在资料产生装置与资料储存装置间传输的资料,并管理资料产生装置传送的存取位址与储存于资料储存装置的实际位址的位址对应表。因此,可在不需耗用计算机的CPU资源与记忆体空间,且毋须相关的软件或驱动程序的情况下,达到资料压缩储存的目的。As can be seen from the above, the data compression/decompression device and its application system of the present invention are to connect a data storage device with an input buffer, an output buffer, a data compression/decompression device and a controller between the data generation device and the data storage device. The compression/decompression device is used to compress/decompress the data transmitted between the data generation device and the data storage device, and manages the address correspondence between the access address transmitted by the data generation device and the actual address stored in the data storage device surface. Therefore, the purpose of data compression and storage can be achieved without consuming the CPU resources and memory space of the computer, and without the need for related software or drivers.
借由上述技术方案,本发明至少具有下列优点:本发明资料压缩/解压缩装置及其应用系统可以连接在例如是计算机与硬盘等装置的资料传输界面间,以执行所需的资料压缩/解压缩工作,并管理其位址对应表,故可在不需耗用计算机的CPU资源与记忆体空间,且毋须相关的软件或驱动程序的情况下,达成资料压缩储存的目的,十分便于使用者的使用。By means of the above-mentioned technical solution, the present invention has at least the following advantages: the data compression/decompression device and its application system of the present invention can be connected between the data transmission interfaces of devices such as computers and hard disks, so as to perform the required data compression/decompression Compress the work and manage its address correspondence table, so the purpose of data compression and storage can be achieved without consuming the CPU resources and memory space of the computer, and without the need for related software or drivers, which is very convenient for users usage of.
综上所述,本发明特殊结构的资料压缩/解压缩装置及其应用系统,可在不需耗用计算机的CPU资源与记忆体空间,且毋须相关的软件或驱动程序的情况下,达到资料压缩储存的目的,十分方便于使用者的使用。其具有上述诸多的优点及实用价值,并在同类产品中未见有类似的结构设计公开发表或使用而确属创新,其不论在结构上或功能上皆有较大的改进,在技术上有较大的进步,并产生了好用及实用的效果,且较现有的资料压缩/解压缩装置及其应用系统具有增进的多项功效,从而更加适于实用,而具有产业的广泛利用价值,诚为一新颖、进步、实用的新设计。In summary, the data compression/decompression device and its application system of the special structure of the present invention can achieve data compression without consuming the CPU resources and memory space of the computer, and without the need for related software or drivers. The purpose of compressed storage is very convenient for users to use. It has the above-mentioned many advantages and practical value, and there is no similar structural design publicly published or used in similar products, so it is indeed innovative. It has made great progress, and has produced easy-to-use and practical effects, and has improved multiple functions compared with the existing data compression/decompression devices and their application systems, so it is more suitable for practical use, and has wide application value in the industry , It is a novel, progressive and practical new design.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,并可依照说明书的内容予以实施,以下以本发明的较佳实施例并配合附图详细说明如后。The above description is only an overview of the technical solutions of the present invention. In order to understand the technical means of the present invention more clearly and implement them according to the contents of the description, the preferred embodiments of the present invention and accompanying drawings are described in detail below.
附图说明Description of drawings
图1是现有习知的一种计算机储存系统的示意图。FIG. 1 is a schematic diagram of a conventional computer storage system.
图2是根据本发明较佳实施例的一种资料压缩/解压缩装置应用系统的方块示意图。FIG. 2 is a schematic block diagram of an application system of a data compression/decompression device according to a preferred embodiment of the present invention.
图3是图2中将资料压缩/解压缩装置设置于资料储存装置内部的方块示意图。FIG. 3 is a schematic block diagram of disposing the data compression/decompression device inside the data storage device in FIG. 2 .
图4是图2中将资料压缩/解压缩装置设置于资料产生装置内部的方块示意图。FIG. 4 is a schematic block diagram of disposing the data compression/decompression device inside the data generating device in FIG. 2 .
图5是根据本发明较佳实施例的一种资料压缩/解压缩装置的方块示意图。FIG. 5 is a schematic block diagram of a data compression/decompression device according to a preferred embodiment of the present invention.
110:计算机 111:资料(数据)传输界面110: Computer 111: Data (data) transmission interface
112:资料压缩/解压缩程序 120:硬盘112: Data compression/decompression program 120: Hard disk
200:资料压缩/解压缩应用系统 210、410:资料产生装置200: data compression/decompression application system 210, 410: data generation device
220:资料储存装置 320:资料储存装置220: Data storage device 320: Data storage device
230、330、430:资料压缩/解压缩装置 231:输入缓冲器230, 330, 430: data compression/decompression device 231: input buffer
232:输出缓冲器 233:资料压缩/解压缩器232: Output buffer 233: Data compression/decompression
240:控制器 241:资料产生控制单元240: Controller 241: Data generation control unit
242:资料储存控制单元 243:资料撷取器242: Data storage control unit 243: Data collector
245:主控制单元245: Main control unit
具体实施方式Detailed ways
以下结合附图及较佳实施例,对依据本发明提出的资料压缩/解压缩装置及其应用系统其具体实施方式、结构、特征及其功效,详细说明如后。The specific implementation, structure, features and functions of the data compression/decompression device and its application system according to the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
请参阅图2所示,是根据本发明较佳实施例的一种资料压缩/解压缩装置应用系统方块示意图。图中,该资料压缩/解压缩应用系统200,包括资料产生装置210、资料储存装置220以及资料压缩/解压缩装置230。Please refer to FIG. 2 , which is a schematic block diagram of an application system of a data compression/decompression device according to a preferred embodiment of the present invention. In the figure, the data compression/decompression application system 200 includes a data generation device 210 , a data storage device 220 and a data compression/decompression device 230 .
其中,该资料产生装置210,例如是计算机主机(Host)、笔记型计算机(Notebook)、微处理器(Microprocessor)、界面卡(Interface Card)或路由器(Router)等其中之一。而资料储存装置220例如是硬盘(Hard Disk)、软盘(Floppy Disk)、读写式光驱(CD-RW)、磁性光学装置(Magnetic Opticaldrive,简称MO)、数字视讯记录器(Digital Video Recorder)及或快闪记忆卡(Flash Memory Card)等其中之一Wherein, the data generating device 210 is, for example, one of a host computer (Host), a notebook computer (Notebook), a microprocessor (Microprocessor), an interface card (Interface Card) or a router (Router). The data storage device 220 is, for example, a hard disk (Hard Disk), a floppy disk (Floppy Disk), a read-write optical drive (CD-RW), a magnetic optical device (Magnetic Optical drive, referred to as MO), a digital video recorder (Digital Video Recorder) and Or one of the flash memory card (Flash Memory Card)
如图所示,资料产生装置210与资料储存装置220分别经由例如是IDE(Integrated Device Electronics,简称IDE)、1394、SCSI(SmallComputer System Interface,简称SCSI)、串行ATA(Serial ATA)、串行附属SCSI(Serial attached SCSI)、PCMCIA(Personal Computer MemoryCard International Association,简称PCMCIA)或USB(Universal SerialBus,简称USB)等其中之一的资料传输界面211与221连接至资料压缩/解压缩装置230。As shown in the figure, the data generating device 210 and the data storage device 220 are respectively connected via, for example, IDE (Integrated Device Electronics, IDE for short), 1394, SCSI (Small Computer System Interface, SCSI for short), Serial ATA (Serial ATA), serial The data transmission interfaces 211 and 221 attached to one of SCSI (Serial attached SCSI), PCMCIA (Personal Computer Memory Card International Association, referred to as PCMCIA) or USB (Universal Serial Bus, referred to as USB) are connected to the data compression/decompression device 230 .
当资料产生装置210欲经由资料传输界面211与221来存取资料储存装置220中的资料时,将经由资料压缩/解压缩装置230来压缩/解压缩在资料产生装置210与资料储存装置220间传输的资料。其中,因资料产生装置210传送的资料已经被压缩,其所占据空间将较资料产生装置210的认知为小。因此,资料压缩/解压缩装置230也需管理资料产生装置210传送的存取位址与储存于资料储存装置220的实际位址的位址对应表。When the data generating device 210 intends to access the data in the data storage device 220 through the data transmission interfaces 211 and 221, it will be compressed/decompressed between the data generating device 210 and the data storage device 220 through the data compression/decompression device 230 data transmitted. Wherein, because the data transmitted by the data generating device 210 has been compressed, the space occupied by it will be smaller than the perception of the data generating device 210 . Therefore, the data compression/decompression device 230 also needs to manage the address correspondence table between the access address transmitted by the data generation device 210 and the actual address stored in the data storage device 220 .
在图2中,虽然将资料产生装置210、资料储存装置220以及资料压缩/解压缩装置230均绘示为个别独立的装置,然而熟习此艺者应知,其实际构成的态样是可以变更的。例如,其可以如图3所示,将资料压缩/解压缩装置330设置于资料储存装置320内部,也可以如图4所示,将资料压缩/解压缩装置430设置于资料产生装置410的内部。In Fig. 2, although the data generation device 210, the data storage device 220 and the data compression/decompression device 230 are all shown as individual independent devices, those skilled in the art should know that the actual composition thereof can be changed. of. For example, as shown in Figure 3, the data compression/decompression device 330 can be arranged inside the data storage device 320, and as shown in Figure 4, the data compression/decompression device 430 can be arranged inside the data generation device 410 .
请参阅图5所示,是本发明较佳实施例的一种资料压缩/解压缩装置方块示意图。图中,该资料压缩/解压缩装置230,其包括输入缓冲器231、输出缓冲器232、资料压缩/解压缩器233以及控制器240。其中,该控制器240,包括资料产生控制单元241、资料储存控制单元242、资料撷取器243以及主控制单元245。Please refer to FIG. 5 , which is a schematic block diagram of a data compression/decompression device according to a preferred embodiment of the present invention. In the figure, the data compression/decompression device 230 includes an input buffer 231 , an output buffer 232 , a data compression/decompression device 233 and a controller 240 . Wherein, the controller 240 includes a data generation control unit 241 , a data storage control unit 242 , a data extractor 243 and a main control unit 245 .
在图5中,实线部分是代表资料流,而虚线部分则代表控制讯号。如图所示,资料产生控制单元241会控制资料产生装置210、输入缓冲器231与输出缓冲器232间的资料传输,例如,将来自资料产生装置210的输入资料缓冲储存于输入缓冲器231,或取出缓冲储存于输出缓冲器232的输出资料,传送至资料产生装置210。资料储存控制单元242则会控制资料储存装置220、输入缓冲器231与输出缓冲器232间的资料传输,例如,将由资料储存装置220取得的输入资料缓冲储存于输入缓冲器231,或取出缓冲储存于输出缓冲器232的输出资料,传送至资料储存装置220。In FIG. 5 , the solid line part represents the data flow, and the dotted line part represents the control signal. As shown in the figure, the data generation control unit 241 will control the data transmission between the data generation device 210, the input buffer 231 and the output buffer 232, for example, buffering and storing the input data from the data generation device 210 in the input buffer 231, Or take out the output data buffered and stored in the output buffer 232 and send it to the data generating device 210 . The data storage control unit 242 will control the data transmission between the data storage device 220, the input buffer 231 and the output buffer 232, for example, buffer the input data obtained by the data storage device 220 into the input buffer 231, or take out the buffer storage The output data in the output buffer 232 is sent to the data storage device 220 .
另外,资料撷取器243会自输入缓冲器231取得输入的资料,并撷取资料的应压缩/解压缩部分,例如资料产生装置210所传送的储存位址即不需压缩,而应事先予以分离,然后再传送至资料压缩/解压缩器233。资料压缩/解压缩器233则用以压缩/解压缩来自资料撷取器243的资料,并将输出的资料储存于输出缓冲器232。主控制单元245则用以协调控制资料产生控制单元241、资料储存控制单元242及资料撷取器243,并管理由资料产生装置210传送的存取位址与储存于资料储存装置220的实际位址的位址对应表,而达到资料压缩储存的目的。In addition, the data extractor 243 will obtain the input data from the input buffer 231, and extract the part of the data that should be compressed/decompressed. For example, the storage address sent by the data generating device 210 does not need to be compressed, but should be compressed in advance. separated, and then sent to the data compressor/decompressor 233. The data compressor/decompressor 233 is used to compress/decompress the data from the data extractor 243 and store the output data in the output buffer 232 . The main control unit 245 is used to coordinate and control the data generation control unit 241, the data storage control unit 242 and the data fetcher 243, and manage the access address sent by the data generation device 210 and the actual address stored in the data storage device 220. The address correspondence table of the address can achieve the purpose of data compression and storage.
以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,虽然本发明以较佳实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容作出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的范围内。The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention is disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone familiar with this professional technology Personnel, without departing from the scope of the technical solution of the present invention, when the technical content disclosed above can be used to make some changes or modifications to equivalent embodiments with equivalent changes, but all the content that does not depart from the technical solution of the present invention, according to the technical content of the present invention Technical Essence Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solution of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100297014A CN1323345C (en) | 2004-03-22 | 2004-03-22 | Data compression/decompression device and its application system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100297014A CN1323345C (en) | 2004-03-22 | 2004-03-22 | Data compression/decompression device and its application system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1673949A CN1673949A (en) | 2005-09-28 |
| CN1323345C true CN1323345C (en) | 2007-06-27 |
Family
ID=35046516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100297014A Expired - Fee Related CN1323345C (en) | 2004-03-22 | 2004-03-22 | Data compression/decompression device and its application system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1323345C (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5343560A (en) * | 1986-06-27 | 1994-08-30 | Hitachi, Ltd. | Image data display system |
| US5673206A (en) * | 1993-12-29 | 1997-09-30 | International Business Machines Corporation | Real-time digital audio compression/decompression system |
| JP2001022553A (en) * | 1999-07-07 | 2001-01-26 | Nec Corp | Frame buffer device provided with digital image input- output and image display device |
| US20020103918A1 (en) * | 2000-12-06 | 2002-08-01 | Miller Daniel J. | Methods and systems for efficiently processing compressed and uncompressed media content |
-
2004
- 2004-03-22 CN CNB2004100297014A patent/CN1323345C/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5343560A (en) * | 1986-06-27 | 1994-08-30 | Hitachi, Ltd. | Image data display system |
| US5673206A (en) * | 1993-12-29 | 1997-09-30 | International Business Machines Corporation | Real-time digital audio compression/decompression system |
| JP2001022553A (en) * | 1999-07-07 | 2001-01-26 | Nec Corp | Frame buffer device provided with digital image input- output and image display device |
| US20020103918A1 (en) * | 2000-12-06 | 2002-08-01 | Miller Daniel J. | Methods and systems for efficiently processing compressed and uncompressed media content |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1673949A (en) | 2005-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101331463B (en) | Optimize memory write and wear performance | |
| KR101824612B1 (en) | Flash memory compression | |
| CN109697025B (en) | Storage device, data management method, and storage medium | |
| TW200846906A (en) | Unified support for solid state storage | |
| JP2004362530A (en) | Storage device with best compression management mechanism | |
| US11042328B2 (en) | Storage apparatus and method for autonomous space compaction | |
| CN108139972B (en) | Method and apparatus for managing memory fragmentation in hardware assisted data compression | |
| US11144452B2 (en) | Temperature-based data storage processing | |
| CN101403975A (en) | Method and apparatus for reproducing media contents using non-volatile storage medium | |
| EP2466447A2 (en) | Method for converting data in optical disc drive | |
| CN103226448B (en) | The driving method of solid state hard disc and device | |
| CN100454283C (en) | Virtual universal serial bus equipment system and data transmission method thereof | |
| CN106681659A (en) | Data compression method and device | |
| US20060271590A1 (en) | Volume information analysis module and method thereof | |
| TWI312240B (en) | Data compressed/decompressed device and associated application system | |
| CN1323345C (en) | Data compression/decompression device and its application system | |
| CN100550169C (en) | Media recording method and device | |
| CN116243854A (en) | Data storage system and data storage method | |
| CN115587076B (en) | Data decompression system, graphics processing system, component, device and decompression method | |
| JP2007080240A (en) | Technique for accessing file allocation table | |
| CN116089386A (en) | Compression accelerator card, method of accessing compression accelerator card in simulated hard disk mode | |
| WO2024130890A1 (en) | Solid state drive garbage collection method, solid state drive garbage collection acceleration apparatus, and device and computer medium | |
| US20070186041A1 (en) | Mass storage device, mass storage controller and methods for use therewith | |
| CN117827079A (en) | Compressed data reading method, writing method and device | |
| US9195595B2 (en) | Portable apparatus using multi-core storage mechanism and data access method therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070627 Termination date: 20160322 |