WO2013133024A1 - 電子機器及び非一時的記録媒体 - Google Patents

電子機器及び非一時的記録媒体 Download PDF

Info

Publication number
WO2013133024A1
WO2013133024A1 PCT/JP2013/054234 JP2013054234W WO2013133024A1 WO 2013133024 A1 WO2013133024 A1 WO 2013133024A1 JP 2013054234 W JP2013054234 W JP 2013054234W WO 2013133024 A1 WO2013133024 A1 WO 2013133024A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
unit
data
storage unit
converted
Prior art date
Application number
PCT/JP2013/054234
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 US14/383,463 priority Critical patent/US9363410B2/en
Priority to CN201380012492.XA priority patent/CN104145250B/zh
Priority to EP13757651.8A priority patent/EP2824577B1/en
Publication of WO2013133024A1 publication Critical patent/WO2013133024A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32277Compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00095Systems or arrangements for the transmission of the picture signal
    • H04N1/001Systems or arrangements for the transmission of the picture signal specially adapted for transmission via digital wireline networks

Definitions

  • the present invention relates to an electronic device that compresses a file and transfers it to an external device.
  • an object of the present invention is to provide an electronic device that can transfer a plurality of files to an external device by one communication with the external device.
  • An electronic apparatus includes a data storage unit that stores a plurality of data, a work storage unit that is used for work, a transfer request reception unit that receives a transfer request for the plurality of data, a compressed file generation unit, A compressed file transfer unit.
  • the compressed file generating unit generates a compressed file for storing the plurality of data on the data storage unit when the request is received by the transfer request receiving unit.
  • the compressed file transfer unit transfers the compressed file generated by the compressed file generation unit to an external device.
  • the compressed file generation unit includes a converted file generation unit, a conversion source data deletion unit, a file compression unit, and a compressed-time converted file deletion unit.
  • the converted file generation unit converts one data of the plurality of data on the data storage unit by reversible compression, and generates a converted file in the working storage unit.
  • the conversion source data deletion unit deletes the data of the conversion source of the converted file generated by the converted file generation unit from the data storage unit.
  • the file compression unit compresses the converted file on the working storage unit by lossless compression to the compressed file on the data storage unit after the data is deleted by the conversion source data deletion unit. Store.
  • the compressed file deletion unit at the time of compression deletes the converted file stored in the compressed file by the file compression unit from the working storage unit.
  • the converted file generation unit generates the converted file in the work storage unit when the converted file does not exist in the work storage unit.
  • the non-temporary recording medium of the present invention is a computer-readable non-temporary recording medium that records a file compression / transfer program.
  • FIG. 1 is a block diagram of a network system according to an embodiment of the present invention.
  • FIG. 2 is a block diagram of the MFP shown in FIG. 1.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG. 2 when a plurality of data constituting one document data is stored in a Box area.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG. 2 when a converted file is stored in a Box area.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a compressed file is stored in a Box area. It is a figure which shows the function of the control part shown in FIG. It is a block diagram of PC shown in FIG. 3 is a flowchart of the operation of the MFP shown in FIG.
  • FIG. 9 is a flowchart of a compressed file generation process shown in FIG. 8.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is generated in a Swap area.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when data is deleted from a Box area.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is moved to a Box area during compression.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG. 2 when a converted file is moved to a swap area.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is stored in a compressed file.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is deleted from a swap area during compression.
  • FIG. 9 is a flowchart of the document data restoration process shown in FIG. 8.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG. 2 when a converted file is expanded to a swap area.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is deleted from a compressed file.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when a converted file is moved to a Box area at the time of restoration.
  • FIG. 3 is a diagram illustrating a state of a RAM illustrated in FIG. 2 when data is generated in a Box area.
  • FIG. 3 is a diagram showing a state of a RAM shown in FIG. 2 when a converted file is deleted from a swap area at the time of restoration.
  • FIG. 1 is a block diagram of a network system 10 according to the present embodiment.
  • the network system 10 includes an MFP (Multifunction Peripheral) 20 as an electronic device of the present invention and a PC (Personal Computer) 50 that is an external device of the MFP 20.
  • the MFP 20 and the PC 50 are connected to each other via a network 11 such as a LAN (Local Area Network) so as to be able to communicate with each other.
  • a network 11 such as a LAN (Local Area Network) so as to be able to communicate with each other.
  • FIG. 2 is a block diagram of the MFP 20.
  • the MFP 20 includes an operation unit 21, a display unit 22, a printer 23, a scanner 24, a fax communication unit 25, a network communication unit 26, a storage unit 30, a control unit 40, It has.
  • the operation unit 21 is an input device such as a button for inputting various operations by the user.
  • the display unit 22 is a display device such as an LCD (Liquid Crystal Display) that displays various information.
  • the printer 23 is a printing device that prints an image on a recording medium such as paper.
  • the scanner 24 is a reading device that reads an image from a document.
  • the fax communication unit 25 is a fax device that performs fax communication via a communication line such as a public telephone line.
  • the network communication unit 26 is a network communication device that performs communication via the network 11.
  • the storage unit 30 is a storage device such as an EEPROM (Electrically Erasable Programmable Read Only Memory) that stores various data.
  • the control unit 40 controls the entire MFP 20.
  • the storage unit 30 stores a file compression transfer program 31 for compressing a file and transferring it to an external device.
  • the file compression / transfer program 31 may be installed in the MFP 20 at the manufacturing stage of the MFP 20, may be additionally installed in the MFP 20 from a storage medium such as a USB (Universal Serial Bus) memory, an SD memory card, or the network 11 may be additionally installed in the MFP 20 from above.
  • a storage medium such as a USB (Universal Serial Bus) memory, an SD memory card, or the network 11 may be additionally installed in the MFP 20 from above.
  • the control unit 40 includes, for example, a CPU (Central Processing Unit) 41, a ROM (Read Only Memory) 42 that stores programs and various data in advance, and a RAM (Random Access Memory) 43 that is used as a work area of the CPU 41. And.
  • the CPU 41 executes a program stored in the ROM 42 or the storage unit 30.
  • FIG. 3 is a diagram showing the state of the RAM 43 when a plurality of data 44a to 44i constituting one document data 44 is stored in the Box area 43a.
  • the RAM 43 can store a Box area 43a as a data storage unit that stores a plurality of data 44a to 44i, and a Swap area 43b as a work storage unit used for work. it can.
  • the plurality of data 44 a to 44 i constitute one document data 44.
  • Each of the data 44a to 44i is image data constituting a separate page in the document data 44.
  • the data 44a to 44i is not data in a format transmitted to an external device such as the PC 50.
  • FIG. 4 is a diagram showing a state of the RAM 43 when converted files 45a to 45i obtained by converting the data 44a to 44i of the document data 44 by lossless compression are stored in the Box area 43a.
  • converted files 45a to 45i can be stored in the Box area 43a of the RAM 43.
  • the converted files 45a to 45i are obtained by converting the data 44a to 44i of the document data 44 by reversible compression such as TIFF (Tagged Image File Format) and PDF (Portable Document Format).
  • the converted files 45a to 45i are data in a format transmitted to an external device such as the PC 50. Since the converted files 45a to 45i are compressed, the sizes of the converted files 45a to 45i are smaller than the sizes of the uncompressed data 44a to 44i, respectively.
  • FIG. 5 is a diagram showing the state of the RAM 43 when the compressed file 46 in which the converted files 45a to 45i are compressed by lossless compression and stored in the Box area 43a.
  • the compressed file 46 can be stored in the Box area 43 a of the RAM 43.
  • the compressed file 46 is a file in which converted files 45a to 45i are compressed and stored by reversible compression such as ZIP. Since the compressed file 46 is compressed, the size of the compressed file 46 is smaller than the entire size of the converted files 45a to 45i before compression.
  • FIG. 6 is a diagram illustrating functions of the control unit 40.
  • the control unit 40 executes a file compression / transfer program 31 stored in the storage unit 30, thereby transferring a transfer request reception unit 40 a, a compressed file generation unit 40 b, a compressed file transfer unit 40 i, and It functions as the data restoration unit 40j.
  • the transfer request receiving unit 40 a receives a request for transferring the document data 44.
  • the compressed file generating unit 40b generates a compressed file 46 that stores the document data 44 on the Box area 43a.
  • the compressed file transfer unit 40i transfers the compressed file 46 generated by the compressed file generation unit 40b to an external device.
  • the data restoration unit 40j restores the document data 44 from the compressed file 46 on the Box area 43a when the compressed file 46 is transferred to an external device by the compressed file transfer unit 40i. That is, the MFP 20 constitutes the computer of the present invention that executes the file compression / transfer program 31.
  • the compressed file generating unit 40b includes a converted file generating unit 40c, a conversion source data deleting unit 40d, a compressed file moving unit 40e, a compressed working file moving unit 40f, a file compressing unit 40g, and a converted compressed file.
  • a file deletion unit 40h The converted file generation unit 40c converts one piece of document data 44 on the Box area 43a by lossless compression, and generates a converted file in the Swap area 43b.
  • the conversion source data deletion unit 40d deletes the conversion source data of the converted file generated by the converted file generation unit 40c from the Box area 43a.
  • the compressed file moving unit 40e moves the converted file on the Swap area 43b to the Box area 43a.
  • the compression work file moving unit 40f moves one converted file of the document data 44 on the Box area 43a to the Swap area 43b.
  • the file compression unit 40g compresses the converted file on the Swap area 43b by lossless compression and stores it in the compressed file 46 on the Box area 43a.
  • the compressed file deletion unit 40h at the time of compression deletes the converted file stored in the compressed file 46 by the file compression unit 40g from the Swap area 43b.
  • the data restoring unit 40j includes a file decompressing unit 40k, a compressed file deletion unit 40l (40L), a restoring file moving unit 40m, a restoring working file moving unit 40n, a restoring data generating unit 40o, and a restoring data generating unit 40o.
  • a converted file deletion unit 40p The file decompression unit 40k decompresses one converted file of the document data 44 from the compressed file 46 on the Box area 43a to the Swap area 43b.
  • the file deletion unit 40l deletes the converted file expanded by the file expansion unit 40k from the compressed file 46.
  • the restoration file moving unit 40m moves the converted file on the Swap area 43b to the Box area 43a.
  • the restoration work file moving unit 40n moves one converted file of the document data 44 on the Box area 43a to the Swap area 43b.
  • the restoration data generation unit 40o restores the converted file on the Swap area 43b and generates data in the Box area 43a.
  • the restored converted file deletion unit 40p deletes the converted file that is the restoration source of the data generated by the restored data generation unit 40o from the swap area 43b.
  • FIG. 7 is a block diagram of the PC 50.
  • the PC 50 includes an operation unit 51, a display unit 52, a network communication unit 53, a storage unit 60, and a control unit 70 that controls the entire PC 50.
  • the operation unit 51 is an input device such as a mouse or a keyboard for inputting various operations by the user.
  • the display unit 52 is a display device such as an LCD that displays various information.
  • the network communication unit 53 is a network communication device that performs communication via the network 11.
  • the storage unit 60 is a storage device such as an HDD (Hard Disk Drive) that stores various data.
  • HDD Hard Disk Drive
  • the storage unit 60 stores a printer driver 61 that is a program for controlling printing in the MFP 20 and a web browser 62 that is a program for browsing web pages.
  • the printer driver 61 and the web browser 62 may be installed in the PC 50 at the manufacturing stage of the PC 50, and are additionally installed in the PC 50 from a storage medium such as a USB memory, a CD (Compact Disc), a DVD (Digital Versatile Disc). Alternatively, it may be additionally installed on the PC 50 from the network 11.
  • a storage medium such as a USB memory, a CD (Compact Disc), a DVD (Digital Versatile Disc).
  • the control unit 70 includes, for example, a CPU, a ROM that stores programs and various data in advance, and a RAM that is used as a work area of the CPU.
  • the CPU executes a program stored in the ROM or the storage unit 60.
  • the operation of the network system 10 will be described.
  • the state of the RAM 43 is the state illustrated in FIG. 3, the user causes the control unit 70 to execute the web browser 62 via the operation unit 51 of the PC 50 and then causes the control unit 70 executing the web browser 62 to execute the web browser 62.
  • a request to transfer the document data 44 of the MFP 20 can be instructed.
  • control unit 70 executes the web browser 62 to transfer the document data 44 of the MFP 20
  • the control unit 70 sends a request for transferring the document data 44 via the network communication unit 53 to the HTTP (HyperText Transfer Protocol). It transmits to MFP20 by communication.
  • HTTP HyperText Transfer Protocol
  • control unit 40 of the MFP 20 When the control unit 40 of the MFP 20 receives a request for transferring the document data 44 transmitted from the PC 50 via the network communication unit 26, the control unit 40 executes the process shown in FIG.
  • FIG. 8 is a flowchart of the operation of the MFP 20 when the document data 44 is transferred.
  • the transfer request reception unit 40a of the control unit 40 of the MFP 20 receives a request for transfer of the document data 44 received via the network communication unit 26 (S101).
  • the compressed file generating unit 40b of the control unit 40 generates a compressed file 46 (see FIG. 5) that stores the document data 44 on the Box area 43a (see FIG. 5). S102).
  • the compressed file transfer unit 40i of the control unit 40 transfers the compressed file 46 generated in S102 to the PC 50 by HTTP communication via the network communication unit 26 (S103).
  • the data restoration unit 40j of the control unit 40 restores the document data 44 (see FIG. 3) from the compressed file 46 on the Box area 43a (S104), and then ends the process shown in FIG.
  • control unit 70 executing the web browser 62 receives the compressed file 46 transferred from the MFP 20 via the network communication unit 53 in S103, and then decompresses the compressed file 46 to convert it.
  • Document data 44 can be acquired in the format of files 45a to 45i.
  • FIG. 9 is a flowchart of the process of generating the compressed file 46 in S102.
  • the converted file generation unit 40c of the control unit 40 of the MFP 20 converts one piece of data of the document data 44 on the Box area 43a by lossless compression, and generates a converted file in the Swap area 43b. (S121).
  • FIG. 10 is a diagram illustrating a state of the RAM 43 when the converted file 45a is generated in the swap area 43b.
  • the converted file generation unit 40c converts one data 44a of the document data 44 on the Box area 43a by lossless compression. Then, the converted file 45a is generated in the swap area 43b as shown in FIG.
  • the conversion source data deletion unit 40d of the control unit 40 deletes the conversion source data of the converted file generated in S121 from the Box area 43a after the processing of S121 (S122).
  • FIG. 11 is a diagram illustrating a state of the RAM 43 when the data 44a is deleted from the Box area 43a.
  • the conversion source data deletion unit 40d displays the conversion source data 44a of the converted file 45a generated in S121. 11 is deleted from the Box area 43a.
  • the compressed file moving unit 40e of the control unit 40 moves the converted file on the Swap area 43b generated in S121 to the Box area 43a after the process of S122 (S123). By this processing, the converted file does not exist in the swap area 43b.
  • FIG. 12 is a diagram showing a state of the RAM 43 when the converted file 45a is moved to the Box area 43a during compression. For example, if the state of the RAM 43 immediately before the processing of S123 is the state shown in FIG. 11, in S123, the compressed file moving unit 40e converts the converted file 45a on the Swap area 43b generated in S121 into FIG. As shown in FIG.
  • the compressed file generation unit 40b of the control unit 40 determines whether or not the process of S121 has been executed on all the data of the document data 44 on the Box area 43a (S124).
  • the compressed file generation unit 40b determines in S124 that the process of S121 has not yet been performed on any data of the document data 44 on the Box area 43a
  • the converted file generation unit 40c of the control unit 40 The process of S121 is performed on the data of the document data 44 on the area 43a that has not yet been subjected to the process of S121.
  • the state of the RAM 43 before the start of the process shown in FIG. 9 is the state shown in FIG. 3, if the process of S121 is performed on all the data of the document data 44 on the Box area 43a, the process is compressed in S124.
  • the file generation unit 40b determines, the state of the RAM 43 is that all converted files 45a to 45i of the document data 44 are stored in the Box area 43a as shown in FIG. 4, and any converted file is a Swap area. 43b does not exist.
  • the control unit 40 moves the work file during compression.
  • the unit 40f moves one converted file of the document data 44 on the Box area 43a to the Swap area 43b (S125).
  • FIG. 13 is a diagram showing a state of the RAM 43 when the converted file 45a is moved to the swap area 43b.
  • the state of the RAM 43 immediately before the processing of S125 is the state shown in FIG. 4, in S125, the work file moving unit 40f at the time of compression converts the converted file 45a of the document data 44 on the Box area 43a into the FIG. As shown in FIG.
  • the file compression unit 40g of the control unit 40 compresses the converted file on the Swap area 43b by the lossless compression by the compression library (not shown) after the processing of S125, and The file is stored in the compressed file 46 on the area 43a (S126).
  • FIG. 14 is a diagram showing a state of the RAM 43 when the converted file 45a is stored in the compressed file 46.
  • the file compression unit 40g compresses the converted file 45a on the Swap area 43b by lossless compression, and FIG. As shown in FIG. 4, the file is stored in the compressed file 46 on the Box area 43a.
  • the file compressing unit 40g when compressing the converted file on the Swap area 43b by lossless compression, the file compressing unit 40g generates the compressed file 46 on the Box area 43a when the compressed file 46 does not exist on the Box area 43a.
  • the converted file after compression is added to the compressed file 46 on the Box area 43a.
  • the compressed file deletion unit 40h of the control unit 40 deletes the converted file stored in the compressed file 46 in S126 from the Swap area 43b (S127).
  • FIG. 15 shows the state of the RAM 43 when the converted file 45a is deleted from the swap area 43b during compression.
  • the compressed file deletion unit 40h at the time of compression converts the converted file 45a on the swap area 43b as shown in FIG. delete.
  • the compressed file generation unit 40b of the control unit 40 determines whether or not the process of S125 has been executed for all converted files of the document data 44 on the Box area 43a (S128). ).
  • the compressed file generation unit 40b determines in S128 that the process of S125 has not yet been executed for any converted file of the document data 44 on the Box area 43a
  • the compressed work file moving unit of the control unit 40 40f executes the process of S125 on the data that has not yet been subjected to the process of S125 in the converted file of the document data 44 on the Box area 43a.
  • the state of the RAM 43 immediately after the end of the process of S123 is the state shown in FIG. 4, if the process of S125 is executed for all the converted files of the document data 44 on the Box area 43a, the process is compressed in S128.
  • the file generation unit 40b determines, the state of the RAM 43 is such that the compressed file 46 storing all the converted files 45a to 45i of the document data 44 is stored in the Box area 43a as shown in FIG. is there.
  • FIG. 16 is a flowchart of the process of restoring the document data 44 in S104.
  • the file decompression unit 40k of the control unit 40 of the MFP 20 decompresses one converted file of the document data 44 stored in the compressed file 46 on the Box area 43a to the Swap area 43b ( S141).
  • FIG. 17 is a diagram showing a state of the RAM 43 when the converted file 45a is expanded to the swap area 43b.
  • the file decompression unit 40k converts the converted file of the document data 44 stored in the compressed file 46 on the Box area 43a. 45a is expanded to the swap area 43b as shown in FIG.
  • the file deletion unit 40l in the compressed file of the control unit 40 deletes the converted file decompressed in S141 from the compressed file 46 after the process of S141 (S142).
  • FIG. 18 is a diagram illustrating a state of the RAM 43 when the converted file 45a is deleted from the compressed file 46.
  • the file deletion unit 401 in the compressed file deletes the converted file 45a decompressed in S141 as shown in FIG. Delete from the compressed file 46.
  • the file deletion unit 40l in the compressed file deletes the compressed file 46 itself from the Box area 43a.
  • the restoration-time file moving unit 40m of the control unit 40 moves the converted file on the Swap area 43b expanded in S141 to the Box area 43a after the process of S142 (S143).
  • FIG. 19 is a diagram illustrating a state of the RAM 43 when the converted file 45a is moved to the Box area 43a at the time of restoration.
  • the restoration-time file moving unit 40m converts the converted file 45a decompressed in S141 into the Box as shown in FIG. Move to area 43a.
  • the data restoration unit 40j of the control unit 40 determines whether or not the processing of S141 has been executed for all converted files in the compressed file 46 on the Box area 43a (S144). ).
  • the file decompression unit 40k of the control unit 40 Of the converted files in the compressed file 46 on the Box area 43a the process of S141 is performed on the data that has not yet been subjected to the process of S141.
  • the state of the RAM 43 before the start of the process shown in FIG. 16 is the state shown in FIG. 5
  • the process of S141 is executed for all converted files in the compressed file 46 on the Box area 43a
  • the data restoration unit 40j determines in S144
  • the state of the RAM 43 is that all the converted files 45a to 45i of the document data 44 are stored in the box area 43a as shown in FIG. This is a state that does not exist in the swap area 43b.
  • the data restoring unit 40j determines in S144 that the processing of S141 has been executed for all the converted files in the compressed file 46 on the Box area 43a
  • the restoring operation of the control unit 40 is performed.
  • the file moving unit 40n moves one converted file of the document data 44 on the Box area 43a to the Swap area 43b (S145).
  • the restoration work file moving unit 40n converts the converted file 45a of the document data 44 on the Box area 43a to the state shown in FIG. As shown in FIG.
  • the restored data generation unit 40o of the control unit 40 restores the converted file on the swap area 43b moved in S145 after the process of S145, and generates data in the box area 43a. (S146).
  • FIG. 20 is a diagram illustrating a state of the RAM 43 when the data 44a is generated in the Box area 43a.
  • the state of the RAM 43 immediately before the process of S146 is the state shown in FIG. 13, in S146, the restored data generation unit 40o restores the converted file 45a on the Swap area 43b moved in S145, Data 44a is generated in the Box area 43a as shown in FIG.
  • the restored file deletion unit 40p at the time of restoration of the control unit 40 deletes the converted file of the restoration source of the data generated in S146 from the swap area 43b after the process of S146 (S147). ).
  • FIG. 21 is a diagram illustrating a state of the RAM 43 when the converted file 45a is deleted from the swap area 43b at the time of restoration.
  • the restored file deletion unit 40p at the time of restoration uses the converted file 45a that is the restoration source of the data 44a generated in S146 in S147. As shown in FIG. 21, it is deleted from the Swap area 43b.
  • the data restoration unit 40j of the control unit 40 determines whether or not the process of S145 has been executed for all converted files of the document data 44 on the Box area 43a (S148). .
  • the restoration-time work file moving unit 40n of the control unit 40 is determined. Performs the process of S145 on the data that has not yet been subjected to the process of S145 in the converted file of the document data 44 on the Box area 43a.
  • the state of the RAM 43 immediately after the end of the processing of S143 is the state shown in FIG. 4, if the processing of S145 is executed for all the converted files of the document data 44 on the Box area 43a, the data in S148 When the restoration unit 40j determines, the state of the RAM 43 has returned to the initial state shown in FIG.
  • the MFP 20 stores a plurality of converted files 45a to 45i in one compressed file 46 (S102, S126), and transfers the compressed file 46 to the PC 50 (S103). Therefore, the MFP 20 can transfer the plurality of converted files 45a to 45i to the PC 50 by one communication between the MFP 20 and the PC 50.
  • the MFP 20 generates the compressed file 46 while deleting unnecessary data and converted files (S122, S123, S125, S127) (S126). Therefore, the MFP 20 can transfer a plurality of converted files 45a to 45i to the PC 50 by a single communication between the MFP 20 and the PC 50 even if the configuration of the swap area 43b is small. Therefore, the MFP 20 does not need to include a large-capacity storage device such as an HDD for the swap area 43b.
  • the MFP 20 only needs to have a capacity capable of storing a converted file corresponding to one page of document data 44 as the capacity of the swap area 43b.
  • the MFP 20 generates the compressed file 46 in the Box area 43a in a state where all of the plurality of data 44a to 44i exist in the Box area 43a as converted files 45a to 45i (S124: YES) (S126). Therefore, compared with the case where the compressed file 46 is generated in the Box area 43a before any of the plurality of data 44a to 44i is converted into the converted file, the MFP 20 has a free space in the Box area 43a.
  • the compressed file 46 can be generated in the state. Note that the MFP 20 may generate the compressed file 46 in the Box area 43a before any of the plurality of data 44a to 44i is converted into a converted file.
  • the MFP 20 restores the plurality of data 44a to 44i from the compressed file 46 on the Box area 43a (S104, S146). Therefore, after transferring the compressed file 46 to the PC 50, the MFP 20 can restore a plurality of data 44a to 44i from the compressed file 46.
  • the MFP 20 restores the converted file and stores the data in the Box area in a state where all of the plurality of data 44a to 44i exist in the Box area 43a as converted files (YES in S144). 43a is generated (S146). However, in a state where any of the plurality of data 44a to 44i exists as a converted file in the compressed file, the converted file may be restored to generate data in the Box area 43a.
  • a box area 43a and a swap area 43b are configured by a RAM. Therefore, compared with the case where at least one of the Box area 43a and the Swap area 43b is configured by an HDD, the MFP 20 can access the Box area 43a and the Swap area 43b at high speed. Therefore, the MFP 20 can transfer the plurality of data 44a to 44i to the PC 50 at high speed.
  • at least one of the Box area 43a and the Swap area 43b may be configured by an HDD.
  • Each data of the plurality of data 44a to 44i constitutes a separate page in one document data 44. Therefore, the MFP 20 can transfer the document data 44 composed of a plurality of pages to the PC 50 by one communication between the MFP 20 and the PC 50.
  • the electronic apparatus of the present invention is an MFP in the present embodiment, but is not limited to this, and may be an image forming apparatus other than the MFP, for example, an electronic apparatus (such as a PC) other than the image forming apparatus. There may be.
  • the file compression transfer program to be executed by the computer may be stored (recorded) in a non-temporary manner on a computer-readable recording medium, for example, a computer ROM, hard disk, external storage device, or portable recording medium.
  • the external storage device refers to a memory expansion device that incorporates a storage medium such as a CD-ROM (Compact disk-Read only memory) and is externally connected to an electronic device.
  • the portable recording medium is a recording medium that can be mounted on a recording medium driving device (drive device) and is portable, and includes, for example, a flexible disk, a memory card, a magneto-optical disk, and the like.
  • the program recorded on the recording medium is loaded into RAM of a computer etc., and is performed by CPU (control part). This execution realizes the function of the computer.

Abstract

 本発明のMFP20は、複数のデータを記憶するBox領域43aと、作業に使用されるSwap領域43bと、複数のデータの転送の要求を受け付ける転送要求受付部40aと、圧縮ファイル生成部40bと、圧縮ファイル転送部40iと、を備える。圧縮ファイル生成部40bは、転送要求受付部40aによって要求が受け付けられた場合に、Box領域43a上の複数のデータを格納する圧縮ファイルを生成する。圧縮ファイル転送部40iは、圧縮ファイル生成部40bによって生成された圧縮ファイルを外部のPC50に転送する。

Description

電子機器及び非一時的記録媒体
 本発明は、ファイルを圧縮して外部の装置に転送する電子機器に関する。
 従来、ファイルを圧縮して分割した後、分割したファイルを外部の装置に転送する電子機器が知られている(特許文献1-3参照。)。
特開2002-108635号公報 特開2003-067277号公報 特開2005-011119号公報
 しかしながら、従来の電子機器においては、ファイルを分割して外部の装置に転送するので、ファイルを外部の装置に転送する場合、電子機器と外部の装置との間で複数回の通信が必要であるという問題がある。
 そこで、本発明は、外部の装置との間の1回の通信で外部の装置に複数のファイルを転送することができる電子機器を提供することを目的とする。
 本発明の電子機器は、複数のデータを記憶するデータ記憶部と、作業に使用される作業用記憶部と、前記複数のデータの転送の要求を受け付ける転送要求受付部と、圧縮ファイル生成部と、圧縮ファイル転送部と、を備えている。圧縮ファイル生成部は、前記転送要求受付部によって前記要求が受け付けられた場合に、前記データ記憶部上の前記複数のデータを格納する圧縮ファイルを生成する。圧縮ファイル転送部は、前記圧縮ファイル生成部によって生成された前記圧縮ファイルを外部の装置に転送する。前記圧縮ファイル生成部は、変換済ファイル生成部と、変換元データ削除部と、ファイル圧縮部と、圧縮時変換済ファイル削除部と、を備えている。変換済ファイル生成部は、前記データ記憶部上の前記複数のデータの1つのデータを可逆圧縮によって変換して変換済ファイルを前記作業用記憶部に生成する。変換元データ削除部は、前記変換済ファイル生成部によって生成された前記変換済ファイルの変換元の前記データを、前記データ記憶部から削除する。ファイル圧縮部は、前記変換元データ削除部によって前記データが削除された後で、前記作業用記憶部上の前記変換済ファイルを、可逆圧縮によって圧縮して前記データ記憶部上の前記圧縮ファイルに格納する。圧縮時変換済ファイル削除部は、前記ファイル圧縮部によって前記圧縮ファイルに格納された前記変換済ファイルを、前記作業用記憶部から削除する。前記変換済ファイル生成部は、前記作業用記憶部に前記変換済ファイルが存在しない場合に、前記変換済ファイルを前記作業用記憶部に生成する。
 本発明の非一時的記録媒体は、ファイル圧縮転送プログラムを記録する、コンピューターで読取可能な非一時的記録媒体である。
本発明の一実施形態に係るネットワークシステムのブロック図である。 図1に示すMFPのブロック図である。 1つの文書データを構成している複数のデータがBox領域に記憶されている場合における、図2に示すRAMの状態を示す図である。 変換済ファイルがBox領域に記憶されている場合における、図2に示すRAMの状態を示す図である。 圧縮ファイルがBox領域に記憶されている場合における、図2に示すRAMの状態を示す図である。 図2に示す制御部の機能を示す図である。 図1に示すPCのブロック図である。 文書データを転送する場合における、図2に示すMFPの動作のフローチャートである。 図8に示す圧縮ファイルの生成の処理のフローチャートである。 変換済ファイルがSwap領域に生成された場合における、図2に示すRAMの状態を示す図である。 データがBox領域から削除された場合における、図2に示すRAMの状態を示す図である。 圧縮時に変換済ファイルがBox領域に移動させられた場合における、図2に示すRAMの状態を示す図である。 変換済ファイルがSwap領域に移動させられた場合における、図2に示すRAMの状態を示す図である。 変換済ファイルが圧縮ファイルに格納させられた場合における、図2に示すRAMの状態を示す図である。 圧縮時に変換済ファイルがSwap領域から削除された場合における、図2に示すRAMの状態を示す図である。 図8に示す文書データの復元の処理のフローチャートである。 変換済ファイルがSwap領域に伸張された場合における、図2に示すRAMの状態を示す図である。 圧縮ファイルから変換済ファイルが削除された場合における、図2に示すRAMの状態を示す図である。 復元時に変換済ファイルがBox領域に移動させられた場合における、図2に示すRAMの状態を示す図である。 データがBox領域に生成された場合における、図2に示すRAMの状態を示す図である。 復元時に変換済ファイルがSwap領域から削除された場合における、図2に示すRAMの状態を示す図である。
 以下、本発明の一実施形態について、図面を用いて説明する。まず、本実施形態に係るネットワークシステムの構成について説明する。図1は、本実施形態に係るネットワークシステム10のブロック図である。
 図1に示すように、ネットワークシステム10は、本発明の電子機器としてのMFP(Multifunction Peripheral)20と、MFP20の外部の装置であるPC(Personal Computer)50と、を備えている。MFP20とPC50とは、LAN(Local Area Network)などのネットワーク11を介して、互いに通信可能に接続されている。
 図2は、MFP20のブロック図である。図2に示すように、MFP20は、操作部21と、表示部22と、プリンター23と、スキャナー24と、ファックス通信部25と、ネットワーク通信部26と、記憶部30と、制御部40と、を備えている。操作部21は、利用者による種々の操作が入力されるボタンなどの入力デバイスである。表示部22は、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである。プリンター23は、用紙などの記録媒体への画像の印刷を実行する印刷デバイスである。スキャナー24は、原稿から画像を読み取る読取デバイスである。ファックス通信部25は、公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスである。ネットワーク通信部26は、ネットワーク11経由で通信を行うネットワーク通信デバイスである。記憶部30は、各種のデータを記憶しているEEPROM(Electrically Erasable Programmable Read Only Memory)などの記憶デバイスである。制御部40は、MFP20全体を制御する。
 記憶部30は、ファイルを圧縮して外部の装置に転送するためのファイル圧縮転送プログラム31を記憶している。
 ファイル圧縮転送プログラム31は、MFP20の製造段階でMFP20にインストールされていてもよく、USB(Universal Serial Bus)メモリー、SDメモリーカードなどの記憶媒体からMFP20に追加でインストールされてもよく、又は、ネットワーク11上からMFP20に追加でインストールされてもよい。
 制御部40は、例えば、CPU(Central Processing Unit)41と、プログラム及び各種のデータを予め記憶しているROM(Read Only Memory)42と、CPU41の作業領域として用いられるRAM(Random Access Memory)43と、を備えている。CPU41は、ROM42又は記憶部30に記憶されているプログラムを実行する。
 図3は、1つの文書データ44を構成している複数のデータ44a~44iがBox領域43aに記憶されている場合におけるRAM43の状態を示す図である。
 図3に示すように、RAM43は、複数のデータ44a~44iを記憶するデータ記憶部としてのBox領域43aと、作業に使用される作業用記憶部としてのSwap領域43bと、を記憶することができる。複数のデータ44a~44iは、1つの文書データ44を構成している。データ44a~44iは、それぞれ、文書データ44における別々のページを構成している画像データである。データ44a~44iは、PC50などの外部の装置に送信される形式のデータではない。
 図4は、文書データ44のデータ44a~44iが可逆圧縮によって変換された変換済ファイル45a~45iがBox領域43aに記憶されている場合におけるRAM43の状態を示す図である。
 図4に示すように、RAM43のBox領域43aには、変換済ファイル45a~45iが記憶されることができる。変換済ファイル45a~45iは、文書データ44のデータ44a~44iが、例えばTIFF(Tagged Image File Format)、PDF(Portable Document Format)などの可逆圧縮によってそれぞれ変換されたものである。変換済ファイル45a~45iは、PC50などの外部の装置に送信される形式のデータである。変換済ファイル45a~45iは圧縮されているので、変換済ファイル45a~45iのサイズは、それぞれ圧縮前のデータ44a~44iのサイズよりも小さい。
 図5は、変換済ファイル45a~45iが可逆圧縮によって圧縮されて格納された圧縮ファイル46がBox領域43aに記憶されている場合におけるRAM43の状態を示す図である。
 図5に示すように、RAM43のBox領域43aには、圧縮ファイル46が記憶されることができる。圧縮ファイル46は、変換済ファイル45a~45iが例えばZIPなどの可逆圧縮によって圧縮されて格納されたものである。圧縮ファイル46は圧縮されているので、圧縮ファイル46のサイズは、圧縮前の変換済ファイル45a~45iの全体のサイズよりも小さい。
 図6は、制御部40の機能を示す図である。図6に示すように、制御部40は、記憶部30に記憶されているファイル圧縮転送プログラム31を実行することによって、転送要求受付部40a、圧縮ファイル生成部40b、圧縮ファイル転送部40i、及び、データ復元部40jとして機能する。転送要求受付部40aは、文書データ44の転送の要求を受け付ける。圧縮ファイル生成部40bは、転送要求受付部40aによって要求が受け付けられた場合に、Box領域43a上の文書データ44を格納する圧縮ファイル46を生成する。圧縮ファイル転送部40iは、圧縮ファイル生成部40bによって生成された圧縮ファイル46を外部の装置に転送する。データ復元部40jは、圧縮ファイル転送部40iによって圧縮ファイル46が外部の装置に転送された場合に、Box領域43a上の圧縮ファイル46から文書データ44を復元する。すなわち、MFP20は、ファイル圧縮転送プログラム31を実行する本発明のコンピューターを構成している。
 圧縮ファイル生成部40bは、変換済ファイル生成部40cと、変換元データ削除部40dと、圧縮時ファイル移動部40eと、圧縮時作業ファイル移動部40fと、ファイル圧縮部40gと、圧縮時変換済ファイル削除部40hと、を備えている。変換済ファイル生成部40cは、Box領域43a上の文書データ44の1つのデータを可逆圧縮によって変換して、変換済ファイルをSwap領域43bに生成する。変換元データ削除部40dは、変換済ファイル生成部40cによって生成された変換済ファイルの変換元のデータを、Box領域43aから削除する。圧縮時ファイル移動部40eは、Swap領域43b上の変換済ファイルをBox領域43aに移動させる。圧縮時作業ファイル移動部40fは、Box領域43a上の文書データ44の1つの変換済ファイルを、Swap領域43bに移動させる。ファイル圧縮部40gは、Swap領域43b上の変換済ファイルを、可逆圧縮によって圧縮してBox領域43a上の圧縮ファイル46に格納する。圧縮時変換済ファイル削除部40hは、ファイル圧縮部40gによって圧縮ファイル46に格納された変換済ファイルを、Swap領域43bから削除する。
 データ復元部40jは、ファイル伸張部40kと、圧縮ファイル中ファイル削除部40l(40L)と、復元時ファイル移動部40mと、復元時作業ファイル移動部40nと、復元データ生成部40oと、復元時変換済ファイル削除部40pと、を備えている。ファイル伸張部40kは、Box領域43a上の圧縮ファイル46から文書データ44の1つの変換済ファイルを、Swap領域43bに伸張する。ファイル削除部40lは、ファイル伸張部40kによって伸張された変換済ファイルを圧縮ファイル46から削除する。復元時ファイル移動部40mは、Swap領域43b上の変換済ファイルをBox領域43aに移動させる。復元時作業ファイル移動部40nは、Box領域43a上の文書データ44の1つの変換済ファイルをSwap領域43bに移動させる。復元データ生成部40oは、Swap領域43b上の変換済ファイルを復元して、データをBox領域43aに生成する。復元時変換済ファイル削除部40pは、復元データ生成部40oによって生成されたデータの復元元の変換済ファイルを、Swap領域43bから削除する。
 図7は、PC50のブロック図である。図7に示すように、PC50は、操作部51と、表示部52と、ネットワーク通信部53と、記憶部60と、PC50全体を制御する制御部70と、を備えている。操作部51は、利用者による種々の操作が入力されるマウス、キーボードなどの入力デバイスである。表示部52は、種々の情報を表示するLCDなどの表示デバイスである。ネットワーク通信部53は、ネットワーク11経由で通信を行うネットワーク通信デバイスである。記憶部60は、各種のデータを記憶しているHDD(Hard Disk Drive)などの記憶デバイスである。
 記憶部60は、MFP20での印刷を制御するためのプログラムであるプリンタードライバー61と、Webページを閲覧するためのプログラムであるウェブブラウザー62と、を記憶している。
 プリンタードライバー61及びウェブブラウザー62は、PC50の製造段階でPC50にインストールされていてもよく、USBメモリー、CD(Compact Disc)、DVD(Digital Versatile Disc)などの記憶媒体からPC50に追加でインストールされてもよく、又は、ネットワーク11上からPC50に追加でインストールされてもよい。
 制御部70は、例えば、CPUと、プログラム及び各種のデータを予め記憶しているROMと、CPUの作業領域として用いられるRAMと、を備えている。CPUは、ROM又は記憶部60に記憶されているプログラムを実行する。
 次に、ネットワークシステム10の動作について説明する。RAM43の状態が図3に示す状態である場合、利用者は、PC50の操作部51を介して制御部70にウェブブラウザー62を実行させた後、ウェブブラウザー62を実行している制御部70にMFP20の文書データ44の転送の要求を指示することができる。
 ウェブブラウザー62を実行している制御部70は、MFP20の文書データ44の転送の要求が指示されると、ネットワーク通信部53を介して文書データ44の転送の要求を、HTTP(HyperText Transfer Protocol)通信によってMFP20に送信する。
 MFP20の制御部40は、ネットワーク通信部26を介してPC50から送信されてきた文書データ44の転送の要求を受信すると、図8に示す処理を実行する。
 図8は、文書データ44を転送する場合におけるMFP20の動作のフローチャートである。図8に示すように、MFP20の制御部40の転送要求受付部40aは、ネットワーク通信部26を介して受信した文書データ44の転送の要求を受け付ける(S101)。
 次いで、制御部40の圧縮ファイル生成部40bは、転送要求受付部40aによって要求が受け付けられた場合に、Box領域43a上の文書データ44を格納する圧縮ファイル46(図5参照)を生成する(S102)。
 次いで、制御部40の圧縮ファイル転送部40iは、S102において生成された圧縮ファイル46を、ネットワーク通信部26を介してHTTP通信によってPC50に転送する(S103)。
 次いで、制御部40のデータ復元部40jは、Box領域43a上の圧縮ファイル46から文書データ44(図3参照)を復元した(S104)後、図8に示す処理を終了する。
 したがって、ウェブブラウザー62を実行している制御部70は、S103において、ネットワーク通信部53を介してMFP20から転送されてきた圧縮ファイル46を受信した後、この圧縮ファイル46を伸張して、変換済ファイル45a~45iの形式で文書データ44を取得することができる。
 図9は、S102における圧縮ファイル46の生成の処理のフローチャートである。図9に示すように、MFP20の制御部40の変換済ファイル生成部40cは、Box領域43a上の文書データ44の1つのデータを可逆圧縮によって変換して、変換済ファイルをSwap領域43bに生成する(S121)。
 図10は、変換済ファイル45aがSwap領域43bに生成された場合におけるRAM43の状態を示す図である。例えば、S121の処理の直前のRAM43の状態が図3に示す状態である場合、S121において、変換済ファイル生成部40cは、Box領域43a上の文書データ44の1つのデータ44aを可逆圧縮によって変換して、図10に示すように変換済ファイル45aをSwap領域43bに生成する。
 図9に示すように、制御部40の変換元データ削除部40dは、S121の処理の後、S121において生成された変換済ファイルの変換元のデータをBox領域43aから削除する(S122)。
 図11は、データ44aがBox領域43aから削除された場合におけるRAM43の状態を示す図である。例えば、S122の処理の直前のRAM43の状態が図10に示す状態である場合、S122において、変換元データ削除部40dは、S121において生成された変換済ファイル45aの変換元のデータ44aを、図11に示すようにBox領域43aから削除する。
 図9に示すように、制御部40の圧縮時ファイル移動部40eは、S122の処理の後、S121において生成されたSwap領域43b上の変換済ファイルを、Box領域43aに移動させる(S123)。この処理によって、Swap領域43bには、変換済ファイルが存在しなくなる。
 図12は、圧縮時に変換済ファイル45aがBox領域43aに移動させられた場合におけるRAM43の状態を示す図である。例えば、S123の処理の直前のRAM43の状態が図11に示す状態である場合、S123において、圧縮時ファイル移動部40eは、S121において生成されたSwap領域43b上の変換済ファイル45aを、図12に示すようにBox領域43aに移動させる。
 図9に示すように、制御部40の圧縮ファイル生成部40bは、Box領域43a上の文書データ44の全てのデータに対してS121の処理を実行したか否かを、判断する(S124)。
 Box領域43a上の文書データ44の何れかのデータに対して未だS121の処理を実行していないとS124において圧縮ファイル生成部40bが判断すると、制御部40の変換済ファイル生成部40cは、Box領域43a上の文書データ44のデータのうち未だS121の処理を実行していないデータに対して、S121の処理を実行する。
 例えば、図9に示す処理の開始前におけるRAM43の状態が図3に示す状態である場合、Box領域43a上の文書データ44の全てのデータに対してS121の処理を実行したと、S124において圧縮ファイル生成部40bが判断したときには、RAM43の状態は、図4に示すように文書データ44の全ての変換済ファイル45a~45iがBox領域43aに記憶されていて、何れの変換済ファイルもSwap領域43bに存在していない状態である。
 図9に示すように、Box領域43a上の文書データ44の全てのデータに対してS121の処理を実行したと、S124において圧縮ファイル生成部40bが判断すると、制御部40の圧縮時作業ファイル移動部40fは、Box領域43a上の文書データ44の1つの変換済ファイルをSwap領域43bに移動させる(S125)。
 図13は、変換済ファイル45aがSwap領域43bに移動させられた場合におけるRAM43の状態を示す図である。例えば、S125の処理の直前のRAM43の状態が図4に示す状態である場合、S125において、圧縮時作業ファイル移動部40fは、Box領域43a上の文書データ44の変換済ファイル45aを、図13に示すようにSwap領域43bに移動させる。
 図9に示すように、制御部40のファイル圧縮部40gは、S125の処理の後、Swap領域43b上の変換済ファイルを、圧縮ライブラリー(図示せず)による可逆圧縮によって圧縮して、Box領域43a上の圧縮ファイル46に格納する(S126)。
 図14は、変換済ファイル45aが圧縮ファイル46に格納させられた場合におけるRAM43の状態を示す図である。例えば、S126の処理の直前のRAM43の状態が図13に示す状態である場合、S126において、ファイル圧縮部40gは、Swap領域43b上の変換済ファイル45aを、可逆圧縮によって圧縮して、図14に示すようにBox領域43a上の圧縮ファイル46に格納する。なお、ファイル圧縮部40gは、Swap領域43b上の変換済ファイルを可逆圧縮によって圧縮する場合、Box領域43a上に圧縮ファイル46が存在しないときには、Box領域43a上に圧縮ファイル46を生成し、一方、Box領域43a上に圧縮ファイル46が存在するときには、Box領域43a上の圧縮ファイル46に圧縮後の変換済ファイルを追加する。
 図9に示すように、制御部40の圧縮時変換済ファイル削除部40hは、S126において圧縮ファイル46に格納された変換済ファイルを、Swap領域43bから削除する(S127)。
 図15は、圧縮時に変換済ファイル45aがSwap領域43bから削除された場合におけるRAM43の状態を示す図である。例えば、S127の処理の直前のRAM43の状態が図14に示す状態である場合、S127において、圧縮時変換済ファイル削除部40hは、Swap領域43b上の変換済ファイル45aを図15に示すように削除する。
 図9に示すように、制御部40の圧縮ファイル生成部40bは、Box領域43a上の文書データ44の全ての変換済ファイルに対してS125の処理を実行したか否かを、判断する(S128)。
 Box領域43a上の文書データ44の何れかの変換済ファイルに対して未だS125の処理を実行していないと、S128において圧縮ファイル生成部40bが判断すると、制御部40の圧縮時作業ファイル移動部40fは、Box領域43a上の文書データ44の変換済ファイルのうち未だS125の処理を実行していないデータに対して、S125の処理を実行する。
 例えば、S123の処理の終了直後のRAM43の状態が図4に示す状態である場合、Box領域43a上の文書データ44の全ての変換済ファイルに対してS125の処理を実行したと、S128において圧縮ファイル生成部40bが判断したとき、RAM43の状態は、図5に示すように文書データ44の全ての変換済ファイル45a~45iが格納された圧縮ファイル46がBox領域43aに記憶されている状態である。
 図9に示すように、Box領域43a上の文書データ44の全ての変換済ファイルに対してS125の処理を実行したと、S128において圧縮ファイル生成部40bが判断すると、圧縮ファイル生成部40bは、図9に示す処理を終了する。
 図16は、S104における文書データ44の復元の処理のフローチャートである。図16に示すように、MFP20の制御部40のファイル伸張部40kは、Box領域43a上の圧縮ファイル46に格納されている文書データ44の1つの変換済ファイルを、Swap領域43bに伸張する(S141)。
 図17は、変換済ファイル45aがSwap領域43bに伸張された場合におけるRAM43の状態を示す図である。例えば、S141の処理の直前のRAM43の状態が図5に示す状態である場合、S141において、ファイル伸張部40kは、Box領域43a上の圧縮ファイル46に格納されている文書データ44の変換済ファイル45aを、図17に示すようにSwap領域43bに伸張する。
 図16に示すように、制御部40の圧縮ファイル中ファイル削除部40lは、S141の処理の後、S141において伸張された変換済ファイルを圧縮ファイル46から削除する(S142)。
 図18は、圧縮ファイル46から変換済ファイル45aが削除された場合におけるRAM43の状態を示す図である。例えば、S142の処理の直前のRAM43の状態が図17に示す状態である場合、S142において、圧縮ファイル中ファイル削除部40lは、S141において伸張された変換済ファイル45aを、図18に示すように圧縮ファイル46から削除する。なお、圧縮ファイル中ファイル削除部40lは、Box領域43a上の圧縮ファイル46から全ての変換済ファイルを削除する場合、Box領域43a上から圧縮ファイル46自体を削除する。
 図16に示すように、制御部40の復元時ファイル移動部40mは、S142の処理の後、S141において伸張されたSwap領域43b上の変換済ファイルをBox領域43aに移動させる(S143)。
 図19は、復元時に変換済ファイル45aがBox領域43aに移動させられた場合におけるRAM43の状態を示す図である。例えば、S143の処理の直前のRAM43の状態が図18に示す状態である場合、S143において、復元時ファイル移動部40mは、S141において伸張された変換済ファイル45aを、図19に示すようにBox領域43aに移動させる。
 図16に示すように、制御部40のデータ復元部40jは、Box領域43a上の圧縮ファイル46内の全ての変換済ファイルに対してS141の処理を実行したか否かを、判断する(S144)。
 Box領域43a上の圧縮ファイル46内の何れかの変換済ファイルに対して未だS141の処理を実行していないと、S144においてデータ復元部40jが判断すると、制御部40のファイル伸張部40kは、Box領域43a上の圧縮ファイル46内の変換済ファイルのうち未だS141の処理を実行していないデータに対して、S141の処理を実行する。
 例えば、図16に示す処理の開始前のRAM43の状態が図5に示す状態である場合、Box領域43a上の圧縮ファイル46内の全ての変換済ファイルに対してS141の処理を実行したと、S144においてデータ復元部40jが判断したとき、RAM43の状態は、図4に示すように文書データ44の全ての変換済ファイル45a~45iがBox領域43aに記憶されていて、何れの変換済ファイルもSwap領域43bに存在していない状態である。
 図16に示すように、Box領域43a上の圧縮ファイル46内の全ての変換済ファイルに対してS141の処理を実行したと、S144においてデータ復元部40jが判断すると、制御部40の復元時作業ファイル移動部40nは、Box領域43a上の文書データ44の1つの変換済ファイルをSwap領域43bに移動させる(S145)。
 例えば、S145の処理の直前のRAM43の状態が図4に示す状態である場合、S145において、復元時作業ファイル移動部40nは、Box領域43a上の文書データ44の変換済ファイル45aを、図13に示すようにSwap領域43bに移動させる。
 図16に示すように、制御部40の復元データ生成部40oは、S145の処理の後、S145において移動させたSwap領域43b上の変換済ファイルを、復元してデータをBox領域43aに生成する(S146)。
 図20は、データ44aがBox領域43aに生成された場合におけるRAM43の状態を示す図である。例えば、S146の処理の直前のRAM43の状態が図13に示す状態である場合、S146において、復元データ生成部40oは、S145において移動させたSwap領域43b上の変換済ファイル45aを復元して、データ44aを図20に示すようにBox領域43aに生成する。
 図16に示すように、制御部40の復元時変換済ファイル削除部40pは、S146の処理の後、S146において生成されたデータの復元元の変換済ファイルを、Swap領域43bから削除する(S147)。
 図21は、復元時に変換済ファイル45aがSwap領域43bから削除された場合におけるRAM43の状態を示す図である。例えば、S147の処理の直前のRAM43の状態が図20に示す状態である場合、S147において、復元時変換済ファイル削除部40pは、S146において生成されたデータ44aの復元元の変換済ファイル45aを、図21に示すようにSwap領域43bから削除する。
 図16に示すように、制御部40のデータ復元部40jは、Box領域43a上の文書データ44の全ての変換済ファイルに対してS145の処理を実行したか否かを、判断する(S148)。
 Box領域43a上の文書データ44の何れかの変換済ファイルに対して未だS145の処理を実行していないと、S148においてデータ復元部40jが判断すると、制御部40の復元時作業ファイル移動部40nは、Box領域43a上の文書データ44の変換済ファイルのうち未だS145の処理を実行していないデータに対して、S145の処理を実行する。
 例えば、S143の処理の終了直後のRAM43の状態が図4に示す状態である場合、Box領域43a上の文書データ44の全ての変換済ファイルに対してS145の処理を実行したと、S148においてデータ復元部40jが判断したときには、RAM43の状態は、図3に示す最初の状態に戻っている。
 図16に示すように、Box領域43a上の文書データ44の全ての変換済ファイルに対してS145の処理を実行したと、S148においてデータ復元部40jが判断すると、データ復元部40jは、図16に示す処理を終了する。
 以上に説明したように、MFP20は、複数の変換済ファイル45a~45iを1つの圧縮ファイル46に格納し(S102、S126)、この圧縮ファイル46をPC50に転送する(S103)。そのため、MFP20は、MFP20とPC50との間の1回の通信でPC50に複数の変換済ファイル45a~45iを転送することができる。
 また、MFP20は、不要になったデータ及び変換済ファイルを削除しながら(S122、S123、S125、S127)、圧縮ファイル46を生成する(S126)。そのため、MFP20は、Swap領域43bの容量が少ない構成であっても、MFP20とPC50との間の1回の通信で、PC50に複数の変換済ファイル45a~45iを転送することができる。したがって、MFP20は、Swap領域43bのためにHDDのような大容量の記憶装置を備える必要がない。
 なお、MFP20は、Swap領域43bの容量として、文書データ44の1ページ分のデータに対応する変換済ファイルを記憶することができる容量を備えていればよい。
 MFP20は、複数のデータ44a~44iの全てが変換済ファイル45a~45iとしてBox領域43aに存在している状態(S124でYES)で、Box領域43aに圧縮ファイル46を生成する(S126)。そのため、複数のデータ44a~44iの何れかが変換済ファイルに変換される前にBox領域43aに圧縮ファイル46を生成する場合と比較して、MFP20は、Box領域43aの空き容量に余裕がある状態で圧縮ファイル46を生成することができる。なお、MFP20は、複数のデータ44a~44iの何れかが変換済ファイルに変換される前に、Box領域43aに圧縮ファイル46を生成するようになっていてもよい。
 MFP20は、圧縮ファイル46がPC50に転送された場合(S103)にBox領域43a上の圧縮ファイル46から複数のデータ44a~44iを復元する(S104、S146)。そのため、MFP20は、圧縮ファイル46をPC50に転送した後、この圧縮ファイル46から複数のデータ44a~44iを復元することができる。
 なお、MFP20は、本実施形態において、複数のデータ44a~44iの全てが変換済ファイルとしてBox領域43aに存在している状態(S144でYES)で、変換済ファイルを復元してデータをBox領域43aに生成するようになっている(S146)。しかしながら、複数のデータ44a~44iの何れかが変換済ファイルとして圧縮ファイル内に存在している状態で、変換済ファイルを復元してデータをBox領域43aに生成するようになっていてもよい。
 MFP20は、Box領域43a及びSwap領域43bがRAMで構成されている。そのため、Box領域43a及びSwap領域43bの少なくとも一方がHDDで構成されている場合と比較して、MFP20は、Box領域43a及びSwap領域43bへのアクセスが高速である。したがって、MFP20は、複数のデータ44a~44iを高速にPC50に転送することができる。なお、MFP20においては、Box領域43a及びSwap領域43bの少なくとも一方がHDDで構成されていてもよい。
 複数のデータ44a~44iの各データは、1つの文書データ44における別々のページを構成している。そのため、MFP20は、複数のページで構成されている文書データ44を、MFP20とPC50との間の1回の通信でPC50に転送することができる。
 なお、本発明の電子機器は、本実施形態においてMFPであるが、これに制限されず、MFP以外の画像形成装置であってもよく、例えば、画像形成装置以外の電子機器(PCなど)であってもよい。
 また、コンピューターに実行させるファイル圧縮転送プログラムは、コンピューターで読み取り可能な記録媒体、例えば、コンピューターのROMやハードディスク、外部記憶装置又は可搬記録媒体等に、非一時的に格納(記録)することができる。外部記憶装置とは、CD-ROM(Compact disk-Read only memory)等の記憶媒体を内蔵し、電子機器に外部接続されるメモリ増設装置をいう。可搬記録媒体とは、記録媒体駆動装置(ドライブ装置)に装着でき、かつ、持ち運び可能な記録媒体であって、たとえば、フレキシブルディスク,メモリーカード,光磁気ディスク等をいう。そして、記録媒体に記録されたプログラムは、コンピューターのRAM等にロードされて、CPU(制御部)により実行される。この実行により、コンピューターの機能が実現される。

Claims (7)

  1.  複数のデータを記憶するデータ記憶部と、
     作業に使用される作業用記憶部と、
     前記複数のデータの転送の要求を受け付ける転送要求受付部と、
     前記転送要求受付部によって前記要求が受け付けられた場合に、前記データ記憶部上の前記複数のデータを格納する圧縮ファイルを生成する圧縮ファイル生成部と、
     前記圧縮ファイル生成部によって生成された前記圧縮ファイルを外部の装置に転送する圧縮ファイル転送部と、
     を備えており、
     前記圧縮ファイル生成部は、
     前記データ記憶部上の前記複数のデータの1つのデータを可逆圧縮によって変換して変換済ファイルを前記作業用記憶部に生成する変換済ファイル生成部と、
     前記変換済ファイル生成部によって生成された前記変換済ファイルの変換元の前記データを、前記データ記憶部から削除する変換元データ削除部と、
     前記変換元データ削除部によって前記データが削除された後で、前記作業用記憶部上の前記変換済ファイルを、可逆圧縮によって圧縮して前記データ記憶部上の前記圧縮ファイルに格納するファイル圧縮部と、
     前記ファイル圧縮部によって前記圧縮ファイルに格納された前記変換済ファイルを、前記作業用記憶部から削除する圧縮時変換済ファイル削除部と
     を備えており、
     前記変換済ファイル生成部は、前記作業用記憶部に前記変換済ファイルが存在しない場合に、前記変換済ファイルを前記作業用記憶部に生成する電子機器。
  2.  前記圧縮ファイル生成部は、
     前記変換元データ削除部によって前記データが削除された後で、前記作業用記憶部上の前記変換済ファイルを前記データ記憶部に移動させる圧縮時ファイル移動部と、
     前記圧縮時ファイル移動部によって前記複数のデータの全ての前記変換済ファイルが前記データ記憶部に移動させられた後、前記データ記憶部上の前記複数のデータの1つの前記変換済ファイルを前記作業用記憶部に移動させる圧縮時作業ファイル移動部と
     を備えており、
     前記ファイル圧縮部は、前記圧縮時作業ファイル移動部によって前記作業用記憶部に移動させられた前記変換済ファイルを、可逆圧縮によって圧縮して前記データ記憶部上の前記圧縮ファイルに格納する請求項1に記載の電子機器。
  3.  前記圧縮ファイル転送部によって前記圧縮ファイルが外部の装置に転送された場合に、前記データ記憶部上の前記圧縮ファイルから前記複数のデータを復元するデータ復元部を備えており、
     前記データ復元部は、
     前記データ記憶部上の前記圧縮ファイルから前記複数のデータの1つの前記変換済ファイルを、前記作業用記憶部に伸張するファイル伸張部と、
     前記ファイル伸張部によって伸張された前記変換済ファイルを前記圧縮ファイルから削除する圧縮ファイル中ファイル削除部と、
     前記圧縮ファイル中ファイル削除部によって前記変換済ファイルが削除された後で、前記作業用記憶部上の前記変換済ファイルを復元して前記データを前記データ記憶部に生成する復元データ生成部と、
     前記復元データ生成部によって生成された前記データの復元元の前記変換済ファイルを、前記作業用記憶部から削除する復元時変換済ファイル削除部と
     を備えており、
     前記ファイル伸張部は、前記作業用記憶部に前記変換済ファイルが存在しない場合に、前記変換済ファイルを前記作業用記憶部に伸張する請求項1に記載の電子機器。
  4.  前記データ復元部は、
     前記圧縮ファイル中ファイル削除部によって前記変換済ファイルが削除された後で、前記作業用記憶部上の前記変換済ファイルを前記データ記憶部に移動させる復元時ファイル移動部と、
     前記復元時ファイル移動部によって前記複数のデータの全ての前記変換済ファイルが前記データ記憶部に移動させられた後、前記データ記憶部上の前記複数のデータの1つの前記変換済ファイルを前記作業用記憶部に移動させる復元時作業ファイル移動部と、
     を備えており、
     前記復元データ生成部は、前記復元時作業ファイル移動部によって前記作業用記憶部に移動させられた前記変換済ファイルを復元して前記データを前記データ記憶部に生成する請求項3に記載の電子機器。
  5.  前記データ記憶部及び前記作業用記憶部は、RAMで構成されている請求項1から請求項4までの何れかに記載の電子機器。
  6.  前記複数のデータは、1つの文書データを構成しており、
     前記複数のデータの各データは、前記文書データにおける別々のページを構成している請求項1に記載の電子機器。
  7.  ファイル圧縮転送プログラムを記録する、コンピューターで読取可能な非一時的記録媒体であって、
     前記ファイル圧縮転送プログラムは、請求項1から請求項6までの何れかの電子機器としてコンピューターを機能させる非一時的記録媒体。
PCT/JP2013/054234 2012-03-07 2013-02-20 電子機器及び非一時的記録媒体 WO2013133024A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US14/383,463 US9363410B2 (en) 2012-03-07 2013-02-20 Electronic device including multifunction peripheral (MFP) having compressed file transfer unit for transferring compressed file to external apparatus and non-transitory storage medium
CN201380012492.XA CN104145250B (zh) 2012-03-07 2013-02-20 电子设备
EP13757651.8A EP2824577B1 (en) 2012-03-07 2013-02-20 Electronic apparatus and non-transitory recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012050767A JP5358710B2 (ja) 2012-03-07 2012-03-07 電子機器およびファイル圧縮転送プログラム
JP2012-050767 2012-03-07

Publications (1)

Publication Number Publication Date
WO2013133024A1 true WO2013133024A1 (ja) 2013-09-12

Family

ID=49116507

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/054234 WO2013133024A1 (ja) 2012-03-07 2013-02-20 電子機器及び非一時的記録媒体

Country Status (5)

Country Link
US (1) US9363410B2 (ja)
EP (1) EP2824577B1 (ja)
JP (1) JP5358710B2 (ja)
CN (1) CN104145250B (ja)
WO (1) WO2013133024A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6642337B2 (ja) * 2016-08-29 2020-02-05 京セラドキュメントソリューションズ株式会社 情報処理装置及びプログラム
JP7251051B2 (ja) * 2018-03-23 2023-04-04 富士フイルムビジネスイノベーション株式会社 ファイル転送システム、画像処理装置、端末装置、及びブラウザプログラム
CN115190213A (zh) * 2021-03-26 2022-10-14 东芝泰格有限公司 多功能打印机、其文件压缩方法及计算机可读介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108635A (ja) 2000-09-27 2002-04-12 Hitachi Kokusai Electric Inc プログラムファイルの転送システム
JP2003067277A (ja) 2001-08-30 2003-03-07 Hitachi Ltd ファイル伝送方法及びファイル伝送システム
JP2003216925A (ja) * 2002-01-21 2003-07-31 Katsuaki Kobayashi イメージングモデルの作成・編集方法及びこの方法で作成・編集されたイメージングモデルの送信方法
JP2005011119A (ja) 2003-06-19 2005-01-13 Hitachi Software Eng Co Ltd データ転送方法
JP2007086860A (ja) * 2005-09-20 2007-04-05 Yokogawa Electric Corp データ転送方法およびデータ転送システム
JP2008090490A (ja) * 2006-09-29 2008-04-17 Brother Ind Ltd 通信システム,ネットワーク型記憶装置及びプリンタ
JP2011188371A (ja) * 2010-03-10 2011-09-22 Nikon Corp 撮像装置及びデータ処理プログラム

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039305A1 (en) 2000-11-09 2002-05-16 Sri International Information management via delegated control
JP2004221836A (ja) * 2003-01-14 2004-08-05 Ricoh Co Ltd 画像処理装置、プログラム、記憶媒体及び符号伸長方法
JP2006067116A (ja) 2004-08-25 2006-03-09 Canon Inc 情報処理システムのデータ処理方法、情報処理システム、記憶媒体、プログラム
JP5025290B2 (ja) * 2006-03-17 2012-09-12 株式会社リコー 画像処理装置、画像処理方法、画像処理システム
GB2450336B (en) 2007-06-19 2009-09-23 Sony Comp Entertainment Europe Method and apparatus for compressing and decompressing data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108635A (ja) 2000-09-27 2002-04-12 Hitachi Kokusai Electric Inc プログラムファイルの転送システム
JP2003067277A (ja) 2001-08-30 2003-03-07 Hitachi Ltd ファイル伝送方法及びファイル伝送システム
JP2003216925A (ja) * 2002-01-21 2003-07-31 Katsuaki Kobayashi イメージングモデルの作成・編集方法及びこの方法で作成・編集されたイメージングモデルの送信方法
JP2005011119A (ja) 2003-06-19 2005-01-13 Hitachi Software Eng Co Ltd データ転送方法
JP2007086860A (ja) * 2005-09-20 2007-04-05 Yokogawa Electric Corp データ転送方法およびデータ転送システム
JP2008090490A (ja) * 2006-09-29 2008-04-17 Brother Ind Ltd 通信システム,ネットワーク型記憶装置及びプリンタ
JP2011188371A (ja) * 2010-03-10 2011-09-22 Nikon Corp 撮像装置及びデータ処理プログラム

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2824577A4
SHOJI KASAHARA: "Internet no Arukikata", UNIX USER, vol. 4, no. 6, 1 June 1995 (1995-06-01), pages 132 - 137, XP008174903 *

Also Published As

Publication number Publication date
JP5358710B2 (ja) 2013-12-04
EP2824577B1 (en) 2017-09-20
CN104145250A (zh) 2014-11-12
JP2013186657A (ja) 2013-09-19
EP2824577A1 (en) 2015-01-14
CN104145250B (zh) 2017-04-12
EP2824577A4 (en) 2015-11-04
US20150077789A1 (en) 2015-03-19
US9363410B2 (en) 2016-06-07

Similar Documents

Publication Publication Date Title
JP4870414B2 (ja) データ処理システム、データ処理装置、データ処理方法及びプログラム
WO2013133024A1 (ja) 電子機器及び非一時的記録媒体
CN101101478B (zh) 信息处理设备、信息处理方法以及信息处理系统
JP2014241506A (ja) 画像処理システム、情報処理装置、及び情報処理プログラム
US9030702B2 (en) Client apparatus, printing system, and display method for converting printing formats, generating preview images, and displaying preview images
JP4985034B2 (ja) 展開データ作成方法と装置とプログラム
JP5635551B2 (ja) 画像処理装置および画像形成装置
JP5040505B2 (ja) 印刷データ作成装置と方法とプログラム
JP5510768B2 (ja) 画像処理装置
JP4479348B2 (ja) 印刷システム
JP4144878B2 (ja) データ処理装置及びデータ処理方法並びにコンピュータプログラム
JP2012080519A (ja) 画像処理装置
JP5648301B2 (ja) データ転送システム、画像形成装置、データ転送方法およびプログラム
JP4965726B2 (ja) データ処理システム、データ処理装置、情報処理装置、プログラム及び記録媒体
JP2003296054A (ja) ページプリンタ、印刷システム及びプリンタドライバ
JP2014179044A (ja) 情報処理システム、出力システム、及び出力方法
JP4924089B2 (ja) 印刷処理システム及び印刷処理プログラム
JP2006024227A (ja) 印刷装置および印刷指示端末、印刷システム、印刷プログラム並びに印刷方法
JP2017022656A (ja) 印刷制御装置、印刷装置、制御方法、及びプログラム
JP2012096496A (ja) 画像出力装置、制御方法、および制御プログラム
JP4084937B2 (ja) データ出力デバイス、データ入力デバイス、データ出力方法、データ入力方法、データ出力プログラムを記録した媒体、データ入力プログラムを記録した媒体およびデータ入出力システム
JP2022025925A (ja) 制御プログラム、画像形成装置、情報処理装置
JP2008181564A (ja) 入出力データ処理用サーバプログラム
JP2005210257A (ja) ファクシミリ装置およびその制御方法
JP2005134956A (ja) 画像処理装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14383463

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2013757651

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013757651

Country of ref document: EP