CN100580673C - Known format word library comparison system - Google Patents

Known format word library comparison system Download PDF

Info

Publication number
CN100580673C
CN100580673C CN200710018644A CN200710018644A CN100580673C CN 100580673 C CN100580673 C CN 100580673C CN 200710018644 A CN200710018644 A CN 200710018644A CN 200710018644 A CN200710018644 A CN 200710018644A CN 100580673 C CN100580673 C CN 100580673C
Authority
CN
China
Prior art keywords
character
contrast
unit
library
format
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
Application number
CN200710018644A
Other languages
Chinese (zh)
Other versions
CN101122911A (en
Inventor
陈淮琰
黎阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Besta Xian Co Ltd
Original Assignee
Inventec Besta Xian Co Ltd
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 Inventec Besta Xian Co Ltd filed Critical Inventec Besta Xian Co Ltd
Priority to CN200710018644A priority Critical patent/CN100580673C/en
Publication of CN101122911A publication Critical patent/CN101122911A/en
Application granted granted Critical
Publication of CN100580673C publication Critical patent/CN100580673C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A contrast system and method of a format-known word library. The contrast system includes a memory unit, a format conversion unit, a contrast unit and a display unit. The memory unit includes a first storage area, which can store several word libraries, and a second storage area, which stores contrast results. The word library stores binary character bitmap data. The present method includes: a word library which needs format contrast is selected; the contrast format is established; materials about an Nth character is read; the character data is converted into the same contrast format; character data is contrasted and the result is recorded, displayed and stored. The present invention solves technical problems that the operating processes of contrasting binary archive data by prior contrast system and method is complicated and that the compressed files cannot be contrasted. The present invention is characterized in that it is convenient for users to find out the differences between different word libraries, and that work efficiency of contrasting word libraries is improved and enhanced effectively and that the present invention can be used widely.

Description

The comparison system of known format word library
Technical field
The present invention relates to a kind of comparison system that can be applicable between the e-dictionary character library, relate in particular to the system that compares between a kind of character library at known format.
Background technology
E-dictionary has become people's language inquiry instrument the most efficiently, especially becomes the language learn device that a kind of user learns by oneself.But,, need set up many character libraries in the e-dictionary usually and select the own character of being liked to show font for the user for satisfying different users's demand.Yet in the performance history of these character libraries, the developer must often revise the huge character data of quantity in the character library.Because the character data in these character libraries is to store with scale-of-two archives (binary files) form, these character datas still through the archives of overcompression, contrast program so the research staff presses for a kind of character library that can handle the scale-of-two archives in case of necessity.But, be used as the software that character library contrasts at present, as VSS (Visual SourceSafe), simple text file (text files) data can only be handled, and the data processing of scale-of-two archives can't be applied to; Another kind of contrast instrument such as UE (ultra edit), though can carry out the data contrast of scale-of-two archives, its operation process is very loaded down with trivial details and can't contrast archives after the compression, so still can't solve research staff's contrast problem.
Summary of the invention
The purpose of this invention is to provide a kind of comparison system that can be applicable to the e-dictionary known format word library, it has solved the technical matters that existing comparison system can't contrast the archives after the compression.
Technical solution of the present invention is:
A kind of comparison system of known format word library, comprise mnemon 100, format conversion unit 130, contrast unit 160, display unit 170 and decompression unit 140, described mnemon 100 comprises first storage area 110 that can store a plurality of character libraries 111 and second storage area 120 that can store comparing result, store a plurality of character datas by the character code order in each character library 111 in described a plurality of character library 111, described character data is the binary-coded character bitmap; Described format conversion unit 130 is connected respectively with a plurality of character libraries 111 of mnemon 100, in order to the pixel format of binary-coded character bitmap in the conversion character library 111; Described contrast unit 160 is connected with second storage area 120 and the form converting unit 130 of mnemon 100, in order to contrast after format conversion character bitmap and comparing result is stored in second storage area 120; Described display unit 170 is connected with contrast unit 160, in order to show comparing result; Described decompression unit 140 is arranged between first storage area 110 and the format conversion unit 130, in order to character data compressed in the decompression character library.
Above-mentioned comparison system also comprises setup unit 150, described setup unit 150 is connected with first storage area 110 and form converting unit 130 and decompression unit 140 respectively, in order to the pixel format of setting character library to be contrasted, character data and the character data that whether decompresses.
Advantage of the present invention is: by the comparison system and the method for known format word library of the present invention, the user can be in the process of carrying out the modification of e-dictionary character library, the easy-to-look-up difference place that goes out different character libraries, and the relevant informations such as character code, storage location, character bitmap difference that can write down this difference character are effectively improved the operating efficiency of character library contrast work in order to check in the future.In addition, no matter whether the character data in the character library is archive file, and system and method for the present invention need not can directly contrast binary character data and compressed character data through complicated data processor, and is applied widely.
Description of drawings
Fig. 1 is the structural representation of the comparison system of known format word library of the present invention;
Fig. 2 is the process flow diagram of the control methods of known format word library of the present invention;
Wherein: 100-mnemon, 110-first storage area, the 111-character library, 120-second storage area, the 130-format conversion unit, the 140-decompression unit, 160-contrasts unit, 170-display unit, 150-setup unit;
Step 200-selects to carry out one first character library and one second character library of form contrast;
Step 210-sets the contrast form of character data in first character library and second character library;
Step 220-reads N character data in first character library and second character library;
Step 230-decompression character data;
Step 240-is converted to same contrast form with N character data in first character library and second character library;
Step 250-contrasts in first character library and second character library N character data and notes down comparing result;
Does step 260-contrast and finishes?
Step 270-shows comparing result;
Step 280-stores comparing result;
Does step 290-contrast other character library?
Embodiment
The structural representation of known format word library comparison system of the present invention is referring to Fig. 1, be applied to the character library contrast work of e-dictionary, this system includes mnemon 100, format conversion unit 130, decompression unit 140, contrast unit 160, display unit 170 and setup unit 150.
Mnemon 100 comprises first storage area 110 and second storage area 120 that can store comparing result that can store at least two character libraries 111, wherein store a plurality of character datas of depositing in proper order according to the character code of character in each character library 111, this character data is the character bitmap that the scale-of-two archives are formed.Format conversion unit 130 is connected with mnemon 100, is used for the pixel format of hand over word bitmap; Decompression unit 140 is arranged between first storage area 110 and the format conversion unit 130, and the compressed character data of character library is used for decompressing; Contrast unit 160 is connected with mnemon 100, decompression unit 140 and form converting unit 130, is used for contrasting through format conversion or through the character data of decompression and comparing result is stored in second storage area 120 of mnemon 100; Display unit 170 is connected with contrast unit 160, can show that comparing result checks that for the user wherein comparing result records the character code of the different sum of character, character bitmap difference, character data storage location and different character; Setup unit 150 is connected with mnemon 100, format conversion unit 130 and decompression unit 140, is used to set the pixel format of character library to be contrasted, character data and the character data that whether decompresses.
The flow chart of steps of known format word library control methods of the present invention is applied in the character library comparison system of e-dictionary referring to Fig. 2, and the character data that wherein is stored in each character library is binary character bitmap data.At first, first character library and second character library (step 200) of utilizing setup unit 150 to select to carry out the form contrast, for example each character data is that archive file and its form are the bitmap of 15 * 16 pixel sizes in first character library, and each character data is that non-archive file and its form are the bitmap of 11 * 12 pixel sizes in second character library; After choosing character library to be contrasted and finishing, set first character library and the common character data contrast form (step 210) of second character library by setup unit 150 again, whether be archive file, for example can set common pixel format is 12 * 12 (being font size 12) if just setting pixel format size (being font size) and character data; Finish impose a condition after, then from first storage area 110 of mnemon 100, read N character data (step 220) in first character library and second character library, for example read the 1st character data in first character library and second character library; Compressed character data decompresses (step 230) by decompression unit 140, for example, the 1st character data in first character library is decompressed; By the condition that sets according to setup unit 150, format conversion unit 130 is converted to same format (step 240) with N character data in first character library and second character library, for example the 1st character data in first character library and second character library all is converted to have 12 * 12 pixel formats bitmap of (being that font size is 12); Contrast the contrast work (step 250) that unit 160 will carry out the 1st character data in first character library and second character library this moment, contrast constitutes the scale-of-two archive content of two character data bitmaps and writes down the relevant information at difference place; Next, judge whether to finish the contrast work (step 260) of finishing touch data, if also do not finish the contrast of all character datas, then repeating step 230 is to step 260, contrast N+1 character data, for example contrast the 2nd character data in first character library and second character library, if finished alphabet data contrasts then carry out next step; After all contrast work were finished, display unit 170 showed comparing result (step 270), and the user can obtain the relevant informations such as number, character graphics difference, storage location and character code of different character in two character libraries from shown comparing result; Then, the user can be stored in comparing result in second storage area 120 of mnemon 100 (step 280), and can select to store into text file or character data type; At last, whether decision carries out the contrast work (step 290) of another group character library, contrasts flow process if no longer compare then finish whole character library, if select to continue other character library contrast work, then repeating step 210 is to step 290.

Claims (2)

1, a kind of comparison system of known format word library, it is characterized in that: described comparison system comprises mnemon (100), format conversion unit (130), contrast unit (160), display unit (170) and decompression unit (140), described mnemon (100) comprises first storage area (110) that can store a plurality of character libraries (111) and second storage area (120) that can store comparing result, store a plurality of character datas by the character code order in each character library (111) in described a plurality of character library (111), described character data is the binary-coded character bitmap; Described format conversion unit (130) is connected respectively with a plurality of character libraries (111) of mnemon (100), in order to the pixel format of binary-coded character bitmap in the conversion character library (111); Described contrast unit (160) is connected with second storage area (120) and the form converting unit (130) of mnemon (100), in order to contrast after format conversion character bitmap and comparing result is stored in second storage area (120); Described display unit (170) is connected with contrast unit (160), in order to show comparing result; Described decompression unit (140) is arranged between first storage area (110) and the format conversion unit (130), in order to character data compressed in the decompression character library.
2, the comparison system of known format word library according to claim 1, it is characterized in that: described comparison system also comprises setup unit (150), described setup unit (150) is connected with first storage area (110) and form converting unit (130) and decompression unit (140) respectively, in order to the pixel format of setting character library to be contrasted, character data and the character data that whether decompresses.
CN200710018644A 2007-09-13 2007-09-13 Known format word library comparison system Expired - Fee Related CN100580673C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710018644A CN100580673C (en) 2007-09-13 2007-09-13 Known format word library comparison system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710018644A CN100580673C (en) 2007-09-13 2007-09-13 Known format word library comparison system

Publications (2)

Publication Number Publication Date
CN101122911A CN101122911A (en) 2008-02-13
CN100580673C true CN100580673C (en) 2010-01-13

Family

ID=39085247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710018644A Expired - Fee Related CN100580673C (en) 2007-09-13 2007-09-13 Known format word library comparison system

Country Status (1)

Country Link
CN (1) CN100580673C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8115778B2 (en) * 2008-09-26 2012-02-14 Nvidia Corporation System and method for selecting a pixel output format
CN103902532A (en) * 2012-12-24 2014-07-02 北京大学 Library checking method and device used for character library

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
计算机实用工具软件应用指南. 杜大鹏,131-132,航空工业出版社. 2000 计算机实用工具软件应用指南. 杜大鹏等编,131-132,航空工业出版社. 2000
计算机实用工具软件应用指南. 杜大鹏,131-132,航空工业出版社. 2000 *
计算机实用工具软件应用指南. 杜大鹏等编,131-132,航空工业出版社. 2000 *

Also Published As

Publication number Publication date
CN101122911A (en) 2008-02-13

Similar Documents

Publication Publication Date Title
CN1755674B (en) Method, apparatus and equipment for explaining electronic documents with notes
US7149760B1 (en) Method for handling of different versions of a document in a computer system
CN106095261B (en) Method and device for adding notes to electronic equipment
CN110083805A (en) A kind of method and system that Word file is converted to EPUB file
CN102129425B (en) The access method of big object set table and device in data warehouse
KR100490240B1 (en) Data compressing apparatus, data decompressing apparatus, data compressing method, data decompressing method, and program recording medium
CN109948518B (en) Neural network-based PDF document content text paragraph aggregation method
US7120867B2 (en) System and method for conversion of directly-assigned format attributes to styles in a document
Lorie A methodology and system for preserving digital data
CN100580673C (en) Known format word library comparison system
CN102346771B (en) Information expression method and device
JP5709903B2 (en) METHOD, SYSTEM, COMPUTER PROGRAM, RECORDING MEDIUM, DATA STORAGE MEDIUM STORING DATA COLLECTION, AND CALL DATA RECORDING SYSTEM FOR COMPRESSING DATA RECORD AND PROCESSING COMPRESSED DATA RECORD
CN107168627B (en) Text editing method and device for touch screen
CN112818687B (en) Method, device, electronic equipment and storage medium for constructing title recognition model
CN114528944A (en) Medical text encoding method, device and equipment and readable storage medium
KR100418349B1 (en) Method for compression and restoration of data
US6262727B1 (en) Method of compressing and expanding large lists of data
US6295060B1 (en) Method of quickly expanding large lists of compressed data
CN112925817A (en) Library book retrieval method and system
US11803581B2 (en) System for identifying and linking entity relationships in documents
CN105824829B (en) Compression method, decompression method and device for order record
CN105205069B (en) Cache opening method and device based on paging file
CN1169073C (en) Video text editing method and system thereof
CN101599232B (en) Method and device for retrieving information points
CN108874486B (en) Page loading method, terminal and device with storage function

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100113

Termination date: 20120913