CN104462031A - Method for achieving batch processing of garbled documents quickly - Google Patents
Method for achieving batch processing of garbled documents quickly Download PDFInfo
- Publication number
- CN104462031A CN104462031A CN201410624888.6A CN201410624888A CN104462031A CN 104462031 A CN104462031 A CN 104462031A CN 201410624888 A CN201410624888 A CN 201410624888A CN 104462031 A CN104462031 A CN 104462031A
- Authority
- CN
- China
- Prior art keywords
- file
- content
- read
- documents
- batch process
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of file processing, in particular to a method for achieving batch processing of garbled documents quickly. The method comprises the steps of specifying the route of a disc, specifying the types of the documents, reading the content of the documents in a default encoding format and writing the content of the documents into a memory, and reading the content of the documents from the memory and writing the content into the disc in a normal encoding format. The method solves the problems that the documents can not be read due to garbled codes which are caused by difference in equipment type, operating system version and software compatibility, and the efficiency of batch processing of garbled documents is low. The method can be widely applied to document systems and document storage.
Description
Technical field
The present invention relates to file processing technology field, be specifically related to a kind of method of rapid batch process mess code document.
Background technology
Different device types (as mobile phone, computer, flat board etc.), different operating system and version thereof, and the different software compatibilitys, incomplete same to the coded format of document content when checking document, cause occurring when checking the Confused-code of document content and cannot read.
Usually the single conversion when processing mess code document, and original is easily lost in transfer process.To process a large amount of mess code documents, then just occur that treatment effeciency is low, and the safety issue of original can not have been ensured.
Summary of the invention
The technical matters that the present invention solves is a kind of method providing rapid batch process mess code document.Enable user more efficient, safer batch processing mess code document.
The technical scheme that the present invention solves the problems of the technologies described above is:
Comprise following step:
Step one, designated disk path;
Step 2, file types;
Step 3, with default code file reading content write memory;
Step 4, reading internal memory file content are with normal encoding form write disk;
The file that last output encoder normally can be read.
In described step 2, carry out judgement with file suffixes name and distinguish.
In described step 3, read the All Files write memory under designated disk path, then read the file content of specified type with original default code form, write memory.
In described step 3, read the All Files write memory under designated disk path, then read the file content of specified type with original default code form, write memory.
In described step 4, file reading content from internal memory, with the coded format normally can read, another file of write disk.
The present invention reads and writes disk file by the mode of read/write memory, the coded format of Batch conversion mess code document, ensures that original is not lost, and improves the efficiency of process mess code document, and the security of original.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Accompanying drawing is the inventive method process flow diagram.
Embodiment
As shown in Figure 1, the present invention specifically comprises following step:
Step one: the disk path of specifying mess code document, can be assigned to concrete file, also can be assigned to a certain file, if be appointed as one file, then recurrence reads the All Files folder under this file and the file under file automatically;
Step 2: specify file type to be processed, carries out judgement with file suffixes name and distinguishes, if not file types, then and all documents under default treatment specified path;
Step 3: recurrence reads All Files under designated disk path with array form write memory, circular file array, then the file content reading specified type with original default code form, write memory;
Step 4: file reading content from internal memory, with normal coded format, old file name and original type, another file of write disk, releasing resource, exports the document that normal encoding can be read.
Claims (5)
1. a method for rapid batch process mess code document, is characterized in that:
Comprise following step:
Step one, designated disk path;
Step 2, file types;
Step 3, with default code file reading content write memory;
Step 4, reading internal memory file content are with normal encoding form write disk;
The file that last output encoder normally can be read.
2. the method for rapid batch process mess code document according to claim 1, is characterized in that: in described step 2, carries out judgement distinguish with file suffixes name.
3. the method for rapid batch process mess code document according to claim 1, it is characterized in that: in described step 3, read the All Files write memory under designated disk path, then read the file content of specified type with original default code form, write memory.
4. the method for rapid batch process mess code document according to claim 2, it is characterized in that: in described step 3, read the All Files write memory under designated disk path, then read the file content of specified type with original default code form, write memory.
5. the method for the rapid batch process mess code document according to any one of Claims 1-4, is characterized in that: in described step 4, file reading content from internal memory, with the coded format normally can read, and another file of write disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624888.6A CN104462031A (en) | 2014-11-06 | 2014-11-06 | Method for achieving batch processing of garbled documents quickly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624888.6A CN104462031A (en) | 2014-11-06 | 2014-11-06 | Method for achieving batch processing of garbled documents quickly |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104462031A true CN104462031A (en) | 2015-03-25 |
Family
ID=52908103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410624888.6A Pending CN104462031A (en) | 2014-11-06 | 2014-11-06 | Method for achieving batch processing of garbled documents quickly |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104462031A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7437667B2 (en) * | 2003-06-20 | 2008-10-14 | International Business Machines Corporation | System and method of processing a document targeted for one system on another system |
CN101364216A (en) * | 2008-09-22 | 2009-02-11 | 中兴通讯股份有限公司 | Method and device for displaying electronic book documentary on mobile terminal |
CN101833557A (en) * | 2009-05-25 | 2010-09-15 | 深圳市朗科科技股份有限公司 | File caching method and device based on application program |
CN101833559A (en) * | 2009-11-05 | 2010-09-15 | 北京炬力北方微电子有限公司 | Method and device for reading FAT ( disk files |
CN102246533A (en) * | 2008-10-14 | 2011-11-16 | Rgb网络有限公司 | System and method for progressive delivery of transcoded media content |
CN102262520A (en) * | 2010-05-31 | 2011-11-30 | 北京创艺和弦科贸有限公司 | Test display method based on built-in platform mobile phone and applied device thereof |
-
2014
- 2014-11-06 CN CN201410624888.6A patent/CN104462031A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7437667B2 (en) * | 2003-06-20 | 2008-10-14 | International Business Machines Corporation | System and method of processing a document targeted for one system on another system |
CN101364216A (en) * | 2008-09-22 | 2009-02-11 | 中兴通讯股份有限公司 | Method and device for displaying electronic book documentary on mobile terminal |
CN102246533A (en) * | 2008-10-14 | 2011-11-16 | Rgb网络有限公司 | System and method for progressive delivery of transcoded media content |
CN101833557A (en) * | 2009-05-25 | 2010-09-15 | 深圳市朗科科技股份有限公司 | File caching method and device based on application program |
CN101833559A (en) * | 2009-11-05 | 2010-09-15 | 北京炬力北方微电子有限公司 | Method and device for reading FAT ( disk files |
CN102262520A (en) * | 2010-05-31 | 2011-11-30 | 北京创艺和弦科贸有限公司 | Test display method based on built-in platform mobile phone and applied device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4109230A4 (en) | Storage system, file storage and reading method, and terminal device | |
US9471412B2 (en) | Encoding diagnostic data in an error message for a computer program | |
GB2563175A (en) | Systems, methods, and computer readable media for extracting data from portable document format(PDF) files | |
CN104346296A (en) | Data storage device and voltage protection method thereof | |
CN102693305A (en) | File information previewing method and system | |
CN104346232A (en) | Data storage device and access limiting method thereof | |
CN109446120B (en) | USB device and method for identifying MacOS system by USB device | |
CN106155830B (en) | data storage device and error correction method | |
CN102663471A (en) | Mobile terminal safety information storage method and system on basis of EMMC (Embedded MultiMedia Card) chip | |
CN102520976A (en) | Solidifying method of DSP (digital signal processor) program | |
CN104915232A (en) | Method for achieving multi-platform installation of domestic operating system | |
CN105653475A (en) | USB device identification method and system | |
US20160179168A1 (en) | Electronic device and method for detecting power usage of electronic device | |
CN112131202B (en) | Distributed file storage and reading method, terminal device and storage medium | |
US20160124413A1 (en) | Plc system and operating method thereof | |
CN104732161A (en) | Information processing method and electronic equipment | |
CN104462031A (en) | Method for achieving batch processing of garbled documents quickly | |
US10313391B1 (en) | Digital distillation | |
CN104615948A (en) | Method for automatically recognizing file completeness and restoring | |
US9313651B2 (en) | Memory system and method of controlling memory system | |
CN109271108B (en) | Memory control device and data storage equipment | |
US20160085709A1 (en) | Data Card, and Data Card Switching Method and Apparatus | |
CN102929559A (en) | Method and system for providing file | |
CN105760325A (en) | System and method for supporting hot swapping of USB (universal serial bus) storage device under DOS (disk operating system) | |
CN104615449A (en) | Firmware loading system and firmware loading method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150325 |
|
RJ01 | Rejection of invention patent application after publication |