[go: up one dir, main page]

CN100555284C - Electronic dictionary data updating system and method thereof - Google Patents

Electronic dictionary data updating system and method thereof Download PDF

Info

Publication number
CN100555284C
CN100555284C CNB2006101703137A CN200610170313A CN100555284C CN 100555284 C CN100555284 C CN 100555284C CN B2006101703137 A CNB2006101703137 A CN B2006101703137A CN 200610170313 A CN200610170313 A CN 200610170313A CN 100555284 C CN100555284 C CN 100555284C
Authority
CN
China
Prior art keywords
dictionary data
data
dictionary
index table
electronic
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
CNB2006101703137A
Other languages
Chinese (zh)
Other versions
CN101211352A (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.)
BEIJING SUNPLUS-EHUE TECHNOLOGY Co Ltd
Sunplus Technology Co Ltd
Original Assignee
Beijing Sunnorth Electronic Technology Co ltd
Sunplus Technology 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 Beijing Sunnorth Electronic Technology Co ltd, Sunplus Technology Co Ltd filed Critical Beijing Sunnorth Electronic Technology Co ltd
Priority to CNB2006101703137A priority Critical patent/CN100555284C/en
Publication of CN101211352A publication Critical patent/CN101211352A/en
Application granted granted Critical
Publication of CN100555284C publication Critical patent/CN100555284C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

一种电子字典数据更新系统及方法,系统包括存储单元,其特征在于,还包括:导入单元、用户操作单元及处理单元;方法包括:导入用于更新的字典数据;将该字典数据中的词条内容按字典顺序进行排版;根据字典数据中的词条内容建立索引表;将所述字典数据和索引表转换为字典更新数据并下载到电子字典的存储器中。本发明的方案使得用户可以根据各自的需求随时对电子字典数据进行更新,实现了用户主动定制电子字典的功能,从而满足了用户在原有电子字典系统中使用各种不同内容的电子字典的需求,同时还节省了厂商的字典维护成本。

Figure 200610170313

An electronic dictionary data updating system and method, the system includes a storage unit, characterized in that it also includes: an import unit, a user operation unit and a processing unit; the method includes: importing dictionary data for updating; typeset the content of the entries in the dictionary data in dictionary order; establish an index table according to the content of the entries in the dictionary data; convert the dictionary data and the index table into dictionary update data and download it to the memory of the electronic dictionary. The scheme of the present invention allows users to update the electronic dictionary data at any time according to their respective needs, realizes the function of users actively customizing the electronic dictionary, thereby meeting the needs of users to use electronic dictionaries with various contents in the original electronic dictionary system, and also saves the dictionary maintenance cost of the manufacturer.

Figure 200610170313

Description

一种电子字典数据更新系统及其方法 A system and method for updating electronic dictionary data

技术领域 technical field

本发明涉及电子字典,尤其涉及电子字典的数据更新。The invention relates to an electronic dictionary, in particular to data updating of the electronic dictionary.

背景技术 Background technique

目前,一般大多手持式电子设备如电子辞典、学习机、手机等均内置了各种电子字典功能。如图1所示,是现有技术中手持式电子装置中电子字典的硬件配置,包括用于控制整个系统的控制单元、用于输入用户需要查询的单词的输入设备、用于显示用户输入的单词和查询的内容的显示设备、和用于存储各类电子字典数据库与程序(指字典查询程序)的存储器,其中,该程序包括了电子字典数据库。而目前市面上的电子字典产品,在产品出厂时程序和数据则已经被固化在只读存储器或者是存储在可读写存储器中,但数据和程序是相互关联的,因此当电子字典数据出现错误或者有新的数据版本时,用户需要通过更换只读存储器或者同时更新厂商提供的数据和程序升级包,然而该电子字典数据更新的过程,不但需要厂商提供后续维护和技术支持,增加了产品的成本,同时也给用户带来了很大的不便,使用户不能按照自己的需要定制适合自己使用的电子字典数据,无法个性化的DIY自己需要的数据。另外,一般的电子字典数据中的所有索引、例句、文法等信息存放在各自的数据文件中,因此系统结构相对比较复杂。At present, generally most handheld electronic devices such as electronic dictionaries, learning machines, mobile phones, etc. have built-in various electronic dictionary functions. As shown in Figure 1, it is the hardware configuration of the electronic dictionary in the hand-held electronic device in the prior art, including the control unit for controlling the whole system, the input device for inputting the word that the user needs to query, the input device for displaying the user input A display device for words and query content, and a memory for storing various electronic dictionary databases and programs (referring to dictionary query programs), wherein the program includes electronic dictionary databases. For the electronic dictionary products currently on the market, the program and data have been solidified in the read-only memory or stored in the read-write memory when the product leaves the factory, but the data and the program are interrelated, so when the electronic dictionary data has an error Or when there is a new data version, the user needs to replace the read-only memory or update the data and program upgrade package provided by the manufacturer at the same time. However, the process of updating the electronic dictionary data not only requires the manufacturer to provide follow-up maintenance and technical support, but also increases product reliability The cost also brings great inconvenience to the user, so that the user cannot customize the electronic dictionary data suitable for his own use according to his own needs, and cannot personalize the data he needs for DIY. In addition, all indexes, example sentences, grammar and other information in the general electronic dictionary data are stored in their own data files, so the system structure is relatively complicated.

如中国大陆专利申请第200310123036号公开了一种字典更新系统和方法,适当地更新设置在终端中的字典,然而该字典更新系统和方法需要电子字典供应商提供额外的电子字典服务器,以提供网络数据维护,从而增加了厂商后续维护的成本。同时由于用户所使用的电子字典是一个无线网络终端,因此增加了电子字典的硬件和软件成本,且对于用户来说,字典的更新只能依靠厂商提供,而无法主动个性化DIY自己所需的电子字典数据。For example, Chinese mainland patent application No. 200310123036 discloses a system and method for updating a dictionary, which properly updates the dictionary installed in the terminal. However, the system and method for updating the dictionary require the supplier of the electronic dictionary to provide an additional electronic dictionary server to provide network Data maintenance, thus increasing the cost of subsequent maintenance of the manufacturer. At the same time, because the electronic dictionary used by the user is a wireless network terminal, the hardware and software costs of the electronic dictionary are increased, and for the user, the update of the dictionary can only be provided by the manufacturer, and it is impossible to actively personalize what they need for DIY. Electronic dictionary data.

发明内容 Contents of the invention

针对现有技术存在的问题,本发明提供一种电子字典数据更新系统及其方法,使用户可以根据自己的需要任意更新电子字典数据,同时可节省厂商的维护成本。Aiming at the problems existing in the prior art, the present invention provides an electronic dictionary data updating system and method thereof, which enables users to update electronic dictionary data arbitrarily according to their needs, and at the same time saves maintenance costs for manufacturers.

本发明采用的技术方案是:The technical scheme adopted in the present invention is:

一种电子字典数据更新系统,包括存储单元,导入单元、用户操作单元及处理单元;An electronic dictionary data update system, including a storage unit, an import unit, a user operation unit and a processing unit;

所述导入单元导入用于更新的字典数据;the importing unit imports dictionary data for updating;

所述用户操作单元接收用户输入的操作信号,并将其转化为相应的控制命令发送给处理单元;The user operation unit receives the operation signal input by the user, and converts it into a corresponding control command and sends it to the processing unit;

所述处理单元接收用户操作单元发送的控制命令,并根据所述控制命令处理导入的字典数据;该处理单元包括:The processing unit receives the control command sent by the user operation unit, and processes the imported dictionary data according to the control command; the processing unit includes:

整理模块,整理导入的字典数据,所述整理是将该字典数据中的词条内容按字典顺序进行排版;Organize module, arrange the dictionary data of importing, described arrange is that the entry content in this dictionary data is carried out typesetting according to dictionary order;

电子字典数据生成模块,根据整理后的字典数据中的词条内容建立索引表,并将该字典数据和索引表转换为字典更新数据;The electronic dictionary data generation module builds an index table according to the entry content in the dictionary data after finishing, and converts the dictionary data and the index table into dictionary update data;

所述处理单元用所述字典更新数据替换存储单元中原有的电子字典数据,实现电子字典数据的更新。The processing unit replaces the original electronic dictionary data in the storage unit with the dictionary updating data to realize updating of the electronic dictionary data.

进一步地,该电子字典数据更新系统还包括:Further, the electronic dictionary data update system also includes:

缓存单元,用于存储处理中的字典数据以及生成的字典更新数据;及A cache unit for storing dictionary data in processing and generated dictionary update data; and

显示单元,用于将处理中的字典数据或最终生成的字典更新数据过滤掉格式信息后进行显示。The display unit is used for displaying the dictionary data being processed or the finally generated dictionary update data after filtering out the format information.

进一步地,所述处理单元还包括配置模块,用于设定导入单元导入的字典数据的格式;所述整理模块将配置模块设定格式后的字典数据中的词条内容进行排版。Further, the processing unit further includes a configuration module, configured to set the format of the dictionary data imported by the import unit; the sorting module typeset the entry content in the dictionary data formatted by the configuration module.

进一步地,所述处理单元还包括编辑模块,对整理后的字典数据中的词条内容进行编辑;所述整理模块整理编辑后的字典数据;所述电子字典数据生成模块根据编辑并整理后的字典数据中的词条内容建立索引表,并将该字典数据和索引表转换为字典更新数据。Further, the processing unit also includes an editing module, which edits the entry content in the sorted dictionary data; the sorting module sorts the edited dictionary data; the electronic dictionary data generation module according to the edited and sorted An index table is established for the entry content in the dictionary data, and the dictionary data and the index table are converted into dictionary update data.

进一步地,所述整理模块对字典数据的整理还包括对排版后的字典数据的词条内容进行分类。Further, the collation of the dictionary data by the sorting module also includes classifying the entry contents of the typesetting dictionary data.

进一步地,所述电子字典数据生成模块生成索引先根据整理后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表;然后将该字典数据、分类索引表和总索引表转换为字典更新数据。Further, the electronic dictionary data generation module generates an index according to the entry content in the sorted dictionary data to establish a classification index table corresponding to each classification category, and then establish a general index table according to the classification index table; then the Dictionary data, category index tables, and total index tables are converted to dictionary update data.

进一步地,所述处理单元还包括压缩模块,用于压缩整理后的字典数据;所述电子字典数据生成模块根据压缩后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表;然后将所述压缩后的字典数据、该压缩后的字典数据对应的分类索引表和总索引表转换为字典更新数据。Further, the processing unit also includes a compression module for compressing the sorted dictionary data; the electronic dictionary data generation module establishes a classification index table corresponding to each classification category according to the entry content in the compressed dictionary data, Then establish a general index table according to the classification index table; then convert the compressed dictionary data, the classification index table and the general index table corresponding to the compressed dictionary data into dictionary update data.

本发明还提供了一种电子字典数据更新方法,该方法应用于字典数据更新系统,该系统包括导入单元、用户操作单元及处理单元,该方法包括:The present invention also provides a kind of electronic dictionary data renewal method, and this method is applied to dictionary data renewal system, and this system comprises import unit, user operation unit and processing unit, and this method comprises:

(a)所述导入单元导入用于更新的字典数据,用户操作单元根据用户的输入发送控制命令给处理单元;(a) the import unit imports dictionary data for updating, and the user operation unit sends control commands to the processing unit according to user input;

(b)所述处理单元根据所述控制命令将该字典数据中的词条内容按字典顺序进行排版;(b) the processing unit typesetting the entry content in the dictionary data according to the lexicographical order according to the control command;

(c)所述处理单元根据步骤(b)得到的字典数据中的词条内容建立索引表;(c) said processing unit establishes an index table according to the entry content in the dictionary data that step (b) obtains;

(d)所述处理单元将所述字典数据和索引表转换为字典更新数据并下载到电子字典的存储器中,替换该存储器中原有的电子字典数据。(d) The processing unit converts the dictionary data and index table into dictionary update data and downloads it to the memory of the electronic dictionary to replace the original data of the electronic dictionary in the memory.

进一步地,步骤(a)中还包括配置步骤(a1):设定导入用于更新的字典数据的格式;所述步骤(b)中,将设定格式后的字典数据中的词条内容进行排版。Further, the step (a) also includes a configuration step (a1): setting the format of the dictionary data imported for updating; in the step (b), the entry content in the dictionary data after the format is set typesetting.

进一步地,步骤(b)中还包括:对排版后的字典数据中的词条内容进行分类。Further, the step (b) also includes: classifying the contents of the entries in the typesetting dictionary data.

进一步地,步骤(c)中的建立索引表具体包括::Further, the establishment of the index table in step (c) specifically includes:

(c1)根据步骤(b)得到的字典数据建立对应于各分类数据的分类索引表;(c1) establishing a classification index table corresponding to each classification data according to the dictionary data obtained in step (b);

(c2)根据所述分类索引表建立总索引表;(c2) establishing a general index table according to the classification index table;

所述步骤(d)中将所述字典数据、分类索引表及总索引表转换为字典更新数据并下载到电子字典的存储器中。In the step (d), the dictionary data, classification index table and general index table are converted into dictionary update data and downloaded to the memory of the electronic dictionary.

进一步地,步骤(b)中,对分类后的字典数据还要进行编辑,其步骤包括:Further, in step (b), the dictionary data after classification also will be edited, and its steps include:

b11)显示排版后的字典数据;b11) displaying the typesetting dictionary data;

b12)在相应位置插入需要增加的词条内容,或对应修改相应词条内容,或查询相应词条内容;b12) Insert the content of the entry that needs to be added at the corresponding position, or modify the content of the corresponding entry correspondingly, or query the content of the corresponding entry;

b13)对插入或修改词条内容后的字典数据重新进行排版和分类。b13) Typesetting and classifying the dictionary data after inserting or modifying entry content.

进一步地,所述步骤(c)中:在建立索引表前,对排版及分类后得到的字典数据中的词条内容进行压缩;根据压缩后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表,所述步骤(d)中将所述压缩后的字典数据、该压缩后字典数据对应的分类索引表和总索引表转换为字典更新数据并下载到电子字典的存储器中。Further, in the step (c): before setting up the index table, the entry content in the dictionary data obtained after typesetting and classification is compressed; according to the entry content in the compressed dictionary data, corresponding to each classification The classification index table of category, then set up the general index table according to the classification index table, in the described step (d), the classification index table and the general index table corresponding to the dictionary data after the compression, the dictionary data after this compression are converted into The updated data of the dictionary is downloaded to the memory of the electronic dictionary.

本发明的方案通过将字典程序和电子字典数据进行分离,使得用户不仅可以按照现有方式更新电子字典数据,还可以根据各自的需求仅对电子字典数据进行更新,由于不需要在更新数据时另外建立索引表以标识哪些数据是修改或新增的,降低了对存储空间的需求;同时,用户可以通过用户界面实现自己主动定制电子字典的功能,从而满足了用户在原有电子字典系统中使用各种不同内容的电子字典的需求,即用户可以将自己收集到的字典数据按照系统中规定的数据格式导入到此系统中再编辑,并可将编辑后的数据融合或者替换原先电子字典中的数据。本发明的方案满足了用户任意定制电子字典的需求,同时可节省字典网络服务器的硬件成本和网络维护成本。The scheme of the present invention separates the dictionary program and the electronic dictionary data, so that the user can not only update the electronic dictionary data according to the existing method, but also only update the electronic dictionary data according to their own needs, because there is no need to update the data separately An index table is established to identify which data is modified or newly added, which reduces the demand for storage space; at the same time, users can realize the function of actively customizing electronic dictionaries through the user interface, thus satisfying users in the original electronic dictionary system. The requirements for electronic dictionaries with different contents, that is, users can import the dictionary data collected by themselves into the system according to the data format specified in the system for editing, and can merge or replace the data in the original electronic dictionary with the edited data . The scheme of the invention satisfies the user's demand for customizing the electronic dictionary arbitrarily, and can save the hardware cost and the network maintenance cost of the dictionary network server at the same time.

附图说明 Description of drawings

图1是现有电子字典系统的框图;Fig. 1 is the block diagram of existing electronic dictionary system;

图2是本发明的电子字典数据更新系统具体实施的框图;Fig. 2 is the block diagram of the concrete implementation of electronic dictionary data updating system of the present invention;

图3是本发明的电子字典数据更新方法具体实施的流程图;Fig. 3 is the flowchart of the concrete implementation of electronic dictionary data update method of the present invention;

图4是本发明实施例的电子字典数据更新系统的用户界面;Fig. 4 is the user interface of the electronic dictionary data updating system of the embodiment of the present invention;

图5是本发明实施例的电子字典数据更新系统中tag编辑器的用户界面;Fig. 5 is the user interface of tag editor in the electronic dictionary data updating system of the embodiment of the present invention;

图6是本发明实施例的电子字典数据更新系统中词条元素编辑器的用户界面;Fig. 6 is the user interface of the entry element editor in the electronic dictionary data updating system of the embodiment of the present invention;

图7是本发明实施例的电子字典数据更新方法的示意图。Fig. 7 is a schematic diagram of a method for updating electronic dictionary data according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合附图及实施例对本发明的技术方案进行更详细的说明。The technical solution of the present invention will be described in more detail below with reference to the drawings and embodiments.

为了方便后面的说明,首先介绍一下电子字典数据,通常该数据主要是由词条内容构成,词条内容即包括了各单词的解释、文法、例句等内容的数据;该数据还可以包括字典数据的信息数据,如字典描述数据、词条总数等;另外在本发明中,该数据还包括了索引表。For the convenience of the following description, first introduce the electronic dictionary data, usually the data is mainly composed of the entry content, the entry content includes data such as the explanation of each word, grammar, example sentences, etc.; the data can also include dictionary data Information data, such as dictionary description data, total number of entries, etc.; in addition, in the present invention, the data also includes an index table.

请参见图2,是本发明电子字典数据更新系统1的框图,用于将用户需要的原始字典数据经过处理,转换为目标电子字典数据,以实现电子字典数据的更新,该系统包括:See also Fig. 2, be the block diagram of electronic dictionary data update system 1 of the present invention, be used for the original dictionary data that the user needs is processed, be converted into target electronic dictionary data, to realize the update of electronic dictionary data, this system comprises:

缓存单元11,存储更新过程中的字典数据,如导入的原始字典数据、由排版过的词条内容构成的用户字典数据,以及生成的字典更新数据。The cache unit 11 stores dictionary data in the update process, such as imported original dictionary data, user dictionary data composed of typeset entries, and generated dictionary update data.

用户操作单元12,向用户提供操作该更新系统的接口;该单元接收用户通过鼠标、键盘或触摸屏等设备输入的操作信号,并将其转化为相应的控制命令发送给处理单元10;在实际应用中,此单元的实现形式可以但不限于是用户界面。The user operation unit 12 provides the user with an interface to operate the update system; this unit receives the operation signal input by the user through a mouse, keyboard or touch screen, and converts it into a corresponding control command and sends it to the processing unit 10; in practical applications In , the implementation form of this unit can be, but not limited to, a user interface.

存储单元13,存储包括字典更新数据在内的电子字典数据;该单元为可读/写/擦除存储器,比如NORFLASH或NANDFLASH等。当更新后,用户再使用电子字典时,字典查询程序就是对存放到该单元中的字典更新数据进行查询。The storage unit 13 stores electronic dictionary data including dictionary update data; this unit is a read/write/erasable memory, such as NORFLASH or NANDFLASH. After updating, when the user uses the electronic dictionary again, the dictionary query program is to query the dictionary update data stored in the unit.

显示单元14,将处理中的字典数据或最终生成的字典更新数据过滤掉格式信息后进行显示;也就是显示缓存单元11中存放的字典数据。The display unit 14 displays the dictionary data being processed or the finally generated dictionary update data after filtering out the format information; that is, it displays the dictionary data stored in the cache unit 11 .

导入单元15,导入用户指定的字典数据到缓存单元11;所导入的字典数据可以是原始字典数据——即未经过任何处理的字典数据,也可以是用户字典数据,还可以是字典更新数据。The importing unit 15 imports the dictionary data specified by the user into the cache unit 11; the imported dictionary data may be original dictionary data—that is, dictionary data without any processing, user dictionary data, or dictionary update data.

处理单元10,接收用户操作单元12所发送的各种控制命令,并根据该控制命令对缓存单元11中的字典数据进行相应处理,以生成字典更新数据——即用于更新的电子字典数据,并将其存放在缓存单元11中;在控制命令要求更新时,处理单元10用缓存单元11中存放的字典更新数据代替存储单元13中原有的电子字典数据,从而实现电子字典数据的更新;该单元进行的处理包括排版、分类和建立索引;还可以在用户需要时进行配置格式、编辑或压缩。The processing unit 10 receives various control commands sent by the user operation unit 12, and processes the dictionary data in the cache unit 11 according to the control commands to generate dictionary update data—that is, electronic dictionary data for updating, And store it in the cache unit 11; When the control command requires updating, the processing unit 10 replaces the original electronic dictionary data in the storage unit 13 with the dictionary update data stored in the cache unit 11, thereby realizing the update of the electronic dictionary data; Cell processing includes typesetting, sorting, and indexing; it can also be formatted, edited, or compressed if desired by the user.

处理单元10进一步包括:The processing unit 10 further includes:

配置模块101,用于当用户导入的字典数据的格式与本系统不一致时,设定字典内容的格式;每个词条内容包含主题词、DJ音标、KK音标、中文释义、英文释义、例句、辨析、文法(同义词、反义词、同音词、派生词)等多个元素,当对词条内容进行排版和分类时,是通过tag(标签)来确定这些元素的位置;比如<a>到</a>中为主题词,<h>到</h>中为例句等;这里的设定格式就是指定词条中各元素的开始和结束tag(标签);tag是系统内部用于识别元素的标志,在将词条内容显示给用户时均会过滤掉tag。Configuration module 101, is used for when the format of the dictionary data that the user imports is inconsistent with this system, the format of setting dictionary content; Each entry content comprises subject word, DJ phonetic symbol, KK phonetic symbol, Chinese definition, English definition, example sentence, Differentiation, grammar (synonyms, antonyms, homophones, derivatives) and other elements, when typesetting and classifying the entry content, the position of these elements is determined by tag (tag); for example, <a> to </a > is the subject word, <h> to </h> is an example sentence, etc.; the setting format here is to specify the start and end tag (tag) of each element in the entry; tag is the symbol used to identify the element inside the system , the tag will be filtered out when the content of the entry is displayed to the user.

整理模块102,对导入的或编辑后的字典数据中的所有词条内容按字典顺序进行排版和记录单词总数,并按单词、例句、文法等进行分类;如果使用配置模块101进行过设定,则整理模块102进行排版和分类的字典数据为配置模块设定格式后的字典数据。Collating module 102, carry out typesetting and recording total number of words by lexicographical order to importing or all entry content in the dictionary data after editing, and carry out classification by word, example sentence, grammar etc.; If use configuration module 101 to set, The dictionary data typesetting and sorting by the sorting module 102 is the dictionary data formatted by the configuration module.

编辑模块103,根据用户的需要对字典数据中排版及分类后的词条内容进行编辑,该模块包括以下编辑功能:按用户输入的主题词查找相应的词条、增加新的词条、修改相应的词条、删除相应的词条、以及一次性将导入的字典数据全部删除。Editing module 103, according to the needs of the user, edits the entry content after typesetting and classification in the dictionary data. This module includes the following editing functions: search for corresponding entries, increase new entries, modify corresponding entries according to the subject words input by the user. entry, delete the corresponding entry, and delete all the imported dictionary data at once.

压缩模块104,按照用户的命令,根据存储空间、数据量的大小对整理后或编辑并整理后的字典数据中的词条内容进行压缩,并将所采用的压缩方案记录在数据压缩码表里,不同的压缩方案用不同的数值进行表示和记录,比如1表示用Huffman压缩方案等;不压缩时以0表示。Compression module 104, according to the user's command, according to the storage space, the size of the data volume, the entry content in the sorted or edited and sorted dictionary data is compressed, and the adopted compression scheme is recorded in the data compression code table , different compression schemes are represented and recorded with different values, for example, 1 indicates that the Huffman compression scheme is used; when no compression is used, it is indicated by 0.

电子字典数据生成模块105,根据整理后或压缩后的字典数据中的词条内容建立索引表,并将该索引表和词条内容、以及字典数据的信息数据转换为相应格式的字典更新数据,如二进制格式的数据;该索引表建立的具体步骤是:Electronic dictionary data generation module 105, according to the entry content in the dictionary data after sorting out or after compressing, set up index table, and this index table and entry content, and the information data of dictionary data are converted into the dictionary update data of corresponding format, Such as data in binary format; the specific steps for establishing the index table are:

首先根据排版分类后的字典数据中的词条内容,按其分类建立相应的分类索引表,如单词索引表、例句索引表,和文法索引表等,分别记录各单词、例句、文法等的地址;Firstly, according to the contents of the entries in the dictionary data after typesetting and classification, establish corresponding classification index tables according to their classification, such as word index table, example sentence index table, and grammar index table, etc., respectively record the address of each word, example sentence, grammar, etc. ;

然后再根据所述各分类索引表建立记录各分类索引表地址的总索引表。实际应用中,还可以把各分类索引表也包含进总索引表中。Then, according to the classification index tables, a general index table recording the addresses of each classification index table is established. In practical applications, each classification index table can also be included in the general index table.

这里所说的地址是指逻辑地址。The address mentioned here refers to a logical address.

所述字典更新数据包括:经过排版、分类和转换,也可能经过编辑和压缩的词条内容、索引表及字典数据的信息数据;所述字典数据的信息数据包括单词总数、数据压缩码表、字典描述信息及字典帮助文件等。字典更新数据可以构成一个数据文件,其中总索引表可以但不限于放在该数据文件的起始部分——即文件头部,也可以根据内容的不同构成多个文件。Described dictionary update data comprises: through typesetting, classification and conversion, the information data of entry content, index table and dictionary data that also may be edited and compressed; The information data of described dictionary data comprises total number of words, data compression code table, Dictionary description information and dictionary help files, etc. The dictionary update data can form a data file, and the general index table can be placed at the beginning of the data file, that is, the file header, but not limited to, or multiple files can be formed according to different contents.

在实际应用中,所述字典数据更新系统可以应用于PC机(个人电脑)或电子字典上,在用户的控制下从本PC或本电子字典的存储器里、其它以有线或无线方式连接的PC、网络主机或其它电子设备的存储器中、又或者U盘之类的外部存储器里导入字典数据,然后根据需要进行格式设计及编辑,最后生成字典更新数据,需要时还可以生成用户字典数据——即排版后的词条内容,然后根据用户需要存储到指定位置,如本地存储器里、其它以有线或无线方式连接的PC、网络主机或电子设备的存储器里、又或者U盘之类的外部存储器里,以方便共享和移动存储。当将字典更新数据存储到电子字典的存储单元中时,就实现了字典数据的更新。In practical applications, the dictionary data update system can be applied to PCs (personal computers) or electronic dictionaries, under the control of the user, from the memory of this PC or this electronic dictionary, other PCs connected in a wired or wireless manner , network host or other electronic device memory, or import dictionary data into external memory such as U disk, then format and edit according to needs, and finally generate dictionary update data, and user dictionary data can also be generated when necessary—— That is, the content of the entry after typesetting, and then store it in a designated location according to the user's needs, such as a local memory, other wired or wireless connected PCs, network hosts or electronic device memory, or external memory such as U disk , for easy sharing and mobile storage. When the dictionary update data is stored in the storage unit of the electronic dictionary, the update of the dictionary data is realized.

采用了该字典数据更新系统后,用户可以随意更新数据,既可以直接用新的字典数据完全替代原有字典数据以实现更新,也可以根据自己的需要,对已有的字典数据进行改变,得到个性化的字典数据,甚至可以完全按照自己的需要得到全新的字典数据,而且这些更新均不需要改动字典查询程序,在查询时只要根据所述总索引表找到相应的分类索引表,再根据该分类索引表即可进行相应内容的查询,所以用户对字典数据的更新可以根据自己的需要随时进行,不再需要受限于厂商。After adopting the dictionary data update system, the user can update the data at will, either directly replace the original dictionary data with the new dictionary data to realize the update, or change the existing dictionary data according to their own needs to obtain Personalized dictionary data can even get brand new dictionary data according to your own needs, and these updates do not need to change the dictionary query program. When querying, you only need to find the corresponding classification index table according to the general index table, and then according to the The classification index table can query the corresponding content, so users can update the dictionary data at any time according to their own needs, and no longer need to be limited by the manufacturer.

请参见图3,是本发明的电子字典数据更新方法的流程图,步骤包括:See also Fig. 3, be the flow chart of electronic dictionary data update method of the present invention, step comprises:

(1)导入用于更新的字典数据。(1) Import dictionary data for update.

(2)在需要时设定数据字典的格式;不需要时直接进行步骤(3)。(2) Set the format of the data dictionary when needed; directly proceed to step (3) when not needed.

(3)将导入的字典数据进行整理,所进行的整理包括:根据格式将字典数据中的词条内容按照字典顺序排版,记录词条总数,并将其按单词、例句、文法等进行分类;如果步骤(2)中设定了格式,则是对设定格式后的字典数据进行排版和分类。(3) The imported dictionary data is sorted out, and the sorting out includes: typesetting the entry contents in the dictionary data according to the dictionary order according to the format, recording the total number of entries, and classifying them by words, example sentences, grammar, etc.; If the format is set in step (2), typesetting and classification are performed on the dictionary data after the format is set.

(4)在需要时对整理后的字典数据进行编辑,编辑后再对字典数据进行排版和分类;不需要时直接进行步骤(5)。所进行的编辑包括:查询、增加、修改和删除词条内容。(4) Edit the sorted dictionary data when needed, and then perform typesetting and classification on the dictionary data after editing; directly perform step (5) when not needed. The editing includes: query, increase, modify and delete entry content.

(5)在需要时对字典数据中的词条内容进行压缩并在数据压缩码表中记录压缩方案;不需要时直接进行步骤(6)。(5) Compress the entry content in the dictionary data when needed and record the compression scheme in the data compression code table; directly perform step (6) when not needed.

(6)根据得到的字典数据中的词条内容,按其分类生成相应的分类索引表,如单词字母索引表、例句索引表、以及文法索引表等,分别记录单词、例句、文法的地址;根据所述各分类索引表建立对应于各索引表地址的总索引表。所述总索引表中包括多个变量,分别赋值为字典数据中各分类索引表的相关地址。(6) according to the entry content in the dictionary data that obtains, generate corresponding classification index table by its classification, as word letter index table, example sentence index table and grammar index table etc., record the address of word, example sentence, grammar respectively; A general index table corresponding to the address of each index table is established according to the respective classification index tables. The general index table includes a plurality of variables, which are respectively assigned as the relevant addresses of the classification index tables in the dictionary data.

这一步骤中所得到的字典数据中的词条内容有可能是仅进行过排版和分类的,也可能是进行过编辑或压缩的。The entry content in the dictionary data obtained in this step may have only been typeset and classified, or may have been edited or compressed.

(7)将所述词条内容、分类索引表、总索引表和字典数据的信息数据共同转换生成字典更新数据;字典更新数据可以按内容的不同分为多个文件;也可以合并为一个数据文件,将所述总索引表放在该数据文件的固定位置,比如该数据文件的起始位置。(7) the information data of described entry content, classification index table, general index table and dictionary data are converted together and generate dictionary update data; Dictionary update data can be divided into a plurality of files according to the difference of content; Also can be merged into a data file, placing the general index table in a fixed position of the data file, such as the starting position of the data file.

下载字典更新数据到电子字典的存储器中;这里的下载可以是直接下载,也可以通过USB设备下载,还可以通过无线通讯方式下载。所述存储器为可读/写擦除存储器。Downloading the updated data of the dictionary to the memory of the electronic dictionary; the downloading here can be direct downloading, downloading via a USB device, or downloading via wireless communication. The memory is a read/write erasable memory.

下面用本发明的一个应用实例进一步加以说明。An application example of the present invention will be further described below.

用户通过如图4所示的用户界面操作电子字典数据更新系统,从而进行电子字典数据的更新,用户操作的方式可以是:点击按钮、在单词输入栏33中输入内容并回车、或在列表框21中双击词条。用户操作单元12根据用户在所述用户界面上的操作发送相应的控制命令给处理单元10,从而来实现相应的功能。The user operates the electronic dictionary data update system through the user interface as shown in Figure 4, thereby carries out the update of electronic dictionary data, the mode of user's operation can be: click button, input content and carriage return in word input field 33, or in list Double-click the entry in box 21. The user operation unit 12 sends corresponding control commands to the processing unit 10 according to the user's operation on the user interface, so as to realize corresponding functions.

用户需要更新电子字典数据时,首先导入用于更新的字典数据。When the user needs to update the electronic dictionary data, first import the dictionary data for updating.

当用户需要导入用户字典数据,如文本文件,即后缀名为txt的文件时,就点击按钮24,导入单元15将导入用户所指定的用户字典数据并存放在缓存单元11中,如果此用户字典数据文件格式满足该电子字典数据更新系统的格式要求,即可成功的将用户字典数据导入并通过整理模块102进行排版、分类,形成单词列表;如果不满足则提示格式不正确。When the user needs to import user dictionary data, such as a text file, when the suffix is called txt, the button 24 is clicked, and the import unit 15 will import the user dictionary data specified by the user and store it in the cache unit 11. If this user dictionary If the format of the data file meets the format requirements of the electronic dictionary data update system, the user dictionary data can be successfully imported and typeset and classified by the sorting module 102 to form a word list; if not, it will prompt that the format is incorrect.

当用户需要导入电子字典数据,如后缀名为dict的文件时,就点击按钮25,其余操作与导入用户字典数据时相同,不再赘述。When the user needs to import electronic dictionary data, such as a file with a suffix of dict, the button 25 is clicked, and the rest of the operations are the same as when importing user dictionary data, and will not be repeated.

用户导入的可以是原先存放在USB从属设备上的、PC机硬盘中的、网络主机上的字典数据,还可以是存储单元13中的电子字典数据。如果用户需要导入USB从属设备上的数据,需要在此之前成功连接到USB从属设备上,可以通过点击按钮23实现与USB设备的连接。What the user imports can be the dictionary data stored on the USB slave device, the hard disk of the PC, or the network host, or the electronic dictionary data in the storage unit 13. If the user needs to import the data on the USB slave device, it needs to be successfully connected to the USB slave device before that, and the connection with the USB device can be realized by clicking the button 23 .

如果用户用于更新的字典数据格式不满足系统的格式要求,则用户可以通过配置模块101重新设定字典数据的格式。If the dictionary data format used by the user for updating does not meet the format requirements of the system, the user can reset the dictionary data format through the configuration module 101 .

用户需要设定格式时,点击按钮22,弹出如图5所示的用户界面,用户使用该tag编辑器配置词条中每个元素的起始tag;设定完成后,整理模块102将根据设定格式后的字典数据的词条内容进行排版和分类,然后将其以单词列表的形式显示在列表框21中,用户可以查看各词条的详细内容。When the user needs to set the format, click the button 22, and the user interface as shown in Figure 5 pops up, and the user uses the tag editor to configure the initial tag of each element in the entry; The entry content of the dictionary data after the fixed format is typesetting and classified, and then it is displayed in the list box 21 in the form of a word list, and the user can check the detailed content of each entry.

显示单元14将字典数据中的词条内容过滤掉tag后,在列表框21中以单词列表的形式显示,当用户查询、增加、删除或修改词条之后,列表框21中显示的单词列表也会随之动态改变。After the entry content in the dictionary data is filtered out by the display unit 14, it is displayed in the form of a word list in the list box 21. After the user inquires, increases, deletes or modifies the entry, the word list displayed in the list box 21 also will change dynamically.

用户可以通过编辑模块103对字典数据中词条内容实现以下编辑:The user can realize following editing to entry content in the dictionary data by editing module 103:

如果用户发现单词列表中没有自己需要的词条,可以新增一个词条,并将此新增词条插入到单词列表中;用户增加词条时,点击按钮26,弹出如图6所示的词条元素编辑器,用户在填写完词条内容后点“确定”,新的词条就会增加到字典数据里,同时,列表框21中单词列表的相应位置也会显示该新增词条。If the user finds that there is no entry that he needs in the word list, he can add a new entry, and insert this new entry into the word list; when the user adds an entry, he clicks on button 26, and pops up the The entry element editor, the user clicks "OK" after filling in the entry content, and the new entry will be added to the dictionary data, and at the same time, the corresponding position of the word list in the list box 21 will also display the newly added entry .

如果用户需要修改某个词条,先查找到所要修改的词条,然后在列表框21中选择该词条并点击按钮27、或是直接双击该词条,弹出如图6所示的词条元素编辑器,用户可以在该编辑器中修改词条中相应元素的内容,比如可以增加解释、例句、辨析或者文法;修改完后点“确定”,字典数据中该词条的内容就会改变,同时列表框21中单词列表所显示的该词条的内容也会改变。If the user needs to modify a certain entry, first find the entry to be modified, then select the entry in the list box 21 and click the button 27, or directly double-click the entry, and the entry as shown in Figure 6 pops up Element editor, in which the user can modify the content of the corresponding element in the entry, such as adding explanations, example sentences, analysis or grammar; click "OK" after the modification, and the content of the entry in the dictionary data will be changed , and the content of the word list displayed in the list box 21 will also change.

如果用户认为单词列表中某个字典内容对于自己无用,可以选择删除此词条,以减小所生成的电子字典数据的大小,节约电子字典的存储器空间;用户先查找到所要删除的词条,然后选择该词条并点击按钮28,字典数据中该词条的内容就会被删除,同时列表框21中单词列表中也不再显示该词条。If the user thinks that the content of a certain dictionary in the word list is useless to himself, he can choose to delete this entry, so as to reduce the size of the generated electronic dictionary data and save the storage space of the electronic dictionary; the user first finds the entry to be deleted, Then select this entry and click button 28, the content of this entry in the dictionary data will be deleted, and this entry will no longer be displayed in the word list in the list box 21 simultaneously.

在修改及删除前可以直接在列表框21中查找相应词条,也可以通过如下方法快速查找:先在单词输入栏33中输入想查找的词条的主题词,然后回车,列表框21中单词列表会动态的改变,移动到所查找词条的位置,并突出显示所查找的词条。Can directly search corresponding entry in list box 21 before revising and deleting, also can search quickly by following method: input the subject word of the entry that wants to search in word input column 33 earlier, then carriage return, in list box 21 The word list will change dynamically, move to the location of the searched term, and highlight the searched term.

如果用户需要将导入的字典数据完全删除,则点击按钮29,列表框21中的单词列表也会随之清空。If the user needs to completely delete the imported dictionary data, then click the button 29, and the word list in the list box 21 will also be emptied thereupon.

编辑后,整理模块102将对编辑后的字典数据的词条内容再次进行排版和分类。After editing, the collation module 102 will re-typeset and classify the entry content of the edited dictionary data.

如果用户要生成电子字典存储器中所存放的字典更新数据时,就点击按钮31,电子字典数据生成模块15先根据字典数据中的词条内容,按其分类建立相应的分类索引表,如单词索引表、例句索引表,和文法索引表等,分别记录各单词、例句、文法等的地址;然后建立记录各分类索引表地址的总索引表。然后电子字典数据生成模块15将所述字典数据、分类索引表和总索引表一起转换为字典更新数据。If the user will generate the dictionary update data stored in the electronic dictionary memory, just click button 31, the electronic dictionary data generation module 15 is earlier according to the entry content in the dictionary data, establishes corresponding classification index table by its classification, as word index Table, example sentence index table, and grammar index table etc. record the addresses of each word, example sentence, grammar etc. respectively; Then the electronic dictionary data generation module 15 converts the dictionary data, the classification index table and the general index table together into dictionary update data.

生成字典更新数据后,用户就可以进行更新,点击按钮32后,处理单元10将生成的字典更新数据下载到电子字典的存储器中以实现更新;After generating dictionary updating data, the user just can update, and after clicking button 32, processing unit 10 downloads the dictionary updating data that generates in the storage device of electronic dictionary to realize updating;

利用本发明的电子字典数据更新系统实现更新的方式包括:a)将由PC机生成的字典更新数据通过USB接口或用无线通讯方式下载至电子字典中;b)直接将由该电子字典生成的字典更新数据保存至需要更新的存储单元中;c)将用户通过本发明的电子字典更新系统生成并存储在USB设备,如U盘中的字典更新数据下载至电子字典中。本发明的电子字典数据更新系统可以根据不同的实际情况将电子字典上的电子字典数据更新为用户需要的数据。”Utilize the electronic dictionary data updating system of the present invention to realize the mode of updating and comprise: a) the dictionary update data that will be produced by PC is downloaded in the electronic dictionary by USB interface or with wireless communication mode; b) directly will be updated by the dictionary that this electronic dictionary produces Data is saved in the storage unit that needs to be updated; c) the user is generated and stored in the USB device by the electronic dictionary update system of the present invention, such as the dictionary update data in the U disk is downloaded to the electronic dictionary. The electronic dictionary data updating system of the present invention can update the electronic dictionary data on the electronic dictionary to the data required by the user according to different actual situations. "

请参见图7,是本发明的电子字典数据更新方法的应用实例。其中的例句数据和文法数据与单词是一一对应的,即每个单词及其解释占用一行,该单词的例句和文法也分别占用一行;在实际使用中,不限于图示格式,一个单词的例句和文法可以占用多行,只要通过单词可以找到它对应的例句和文法即可。Please refer to Fig. 7, which is an application example of the electronic dictionary data updating method of the present invention. The example sentence data and grammar data correspond to words one by one, that is, each word and its explanation occupy one line, and the example sentence and grammar of the word also occupy one line; in actual use, it is not limited to the graphic format. Example sentences and grammars can occupy multiple lines, as long as the corresponding example sentences and grammars can be found through the word.

导入的原始字典数据301中的词条内容按照字典顺序进行排版后,生成新的排版后的字典数据302,然后对排版后的字典数据302中的词条内容进行分类,得到分类数据303,如分为单词解释数据、例句数据和文法数据,并根据各分类数据303建立分类索引表304,所述分类索引表304包括:分类数据303的存储地址;再根据各分类索引表304建立一个总索引表305;该总索引表305包括:各分类索引表304的地址。最后,将分类后的数据303、分类索引表304和总索引表305以及字典数据的信息数据通过USB接口或无线通讯方式下载至电子字典中的可读写可擦除存储器中,从而实现了新的字典数据的更新。After the entry content in the imported original dictionary data 301 is typeset according to the dictionary order, generate new typesetting dictionary data 302, and then classify the entry content in the typesetting dictionary data 302 to obtain classification data 303, such as Be divided into word explanation data, example sentence data and grammatical data, and set up classification index table 304 according to each classification data 303, described classification index table 304 comprises: the storage address of classification data 303; Set up a general index according to each classification index table 304 again Table 305; the general index table 305 includes: the address of each category index table 304. Finally, download the classified data 303, classification index table 304, general index table 305, and dictionary data information data to the read-write and erasable memory in the electronic dictionary through the USB interface or wireless communication mode, thereby realizing a new The update of the dictionary data.

当查询时,字典查询程序先根据存储器中电子字典数据里的总索引表找到相应的分类索引表,再根据该分类索引表进行相应内容的查询。例如查找单词A,会先在总索引表中找到字母索引表或地址索引表地址,然后查找该索引表找到的单词地址,然后根据该地址从电子字典数据的单词解释数据中读出该单词解释。若要查找单词A第三个解释对应的例句,需要先从总索引表中找到例句索引表地址,然后根据当前要查找的例句序号,在例句索引表中找该序号对应的例句地址,通过该地址在例句数据中读出此例句数据。When querying, the dictionary query program first finds the corresponding classification index table according to the general index table in the electronic dictionary data in the memory, and then searches the corresponding content according to the classification index table. For example, to find a word A, first find the address of the letter index table or address index table in the general index table, then search the address of the word found in the index table, and then read the word explanation from the word interpretation data of the electronic dictionary data according to the address . To find the example sentence corresponding to the third explanation of word A, you need to find the address of the example sentence index table from the general index table, and then according to the serial number of the example sentence to be searched, find the address of the example sentence corresponding to the serial number in the example sentence index table, through this The address reads out the example sentence data in the example sentence data.

上述为本发明的最优实施方式,在不背离本发明精神及实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的变形,但这些相应的变形都应属于本发明所附权利要求及其等效物所保护的范围内。The above is the best implementation mode of the present invention. Without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding deformations according to the present invention, but these corresponding deformations should belong to the scope of the present invention. within the scope of protection of the appended claims and their equivalents.

采用本发明的电子字典数据更新系统和方法后,在电子字典进行查询时,由于字典查询程序中对字典数据进行查询的接口均采用变量,且该变量对应于字典数据中总索引表中的变量,由于字典数据在更新时已经将其更新的各类数据进行了分类,且分别建立对应的索引表,并将该索引表的地址统一以常量形式赋值给总索引表中对应的变量,从而不需要更新程序即可通过该变量实现对不同的字典数据中各类数据的查询。且字典数据中的所有索引、例句、文法等信息均存储于一个数据文件中,其结构简单。After adopting electronic dictionary data update system and method of the present invention, when electronic dictionary is inquired about, because the interface that dictionary data is inquired about in the dictionary inquiry program all adopts variable, and this variable is corresponding to the variable in the general index table in the dictionary data , since the dictionary data has already classified all kinds of updated data when it is updated, and the corresponding index tables are established respectively, and the addresses of the index tables are uniformly assigned to the corresponding variables in the general index table in the form of constants, so as not to It is necessary to update the program to realize the query of various data in different dictionary data through this variable. And all the index, example sentence, grammar and other information in the dictionary data are all stored in a data file, and its structure is simple.

Claims (13)

1、一种电子字典数据更新系统,包括存储单元,其特征在于,还包括:导入单元、用户操作单元及处理单元;1, a kind of electronic dictionary data update system, comprise storage unit, it is characterized in that, also comprise: import unit, user operation unit and processing unit; 所述导入单元导入用于更新的字典数据;the importing unit imports dictionary data for updating; 所述用户操作单元接收用户输入的操作信号,并将其转化为相应的控制命令发送给处理单元;The user operation unit receives the operation signal input by the user, and converts it into a corresponding control command and sends it to the processing unit; 所述处理单元接收用户操作单元发送的控制命令,并根据所述控制命令处理导入的字典数据;该处理单元包括:The processing unit receives the control command sent by the user operation unit, and processes the imported dictionary data according to the control command; the processing unit includes: 整理模块,整理导入的字典数据,所述整理是将该字典数据中的词条内容按字典顺序进行排版;Organize module, arrange the dictionary data of importing, described arrange is that the entry content in this dictionary data is carried out typesetting according to dictionary order; 电子字典数据生成模块,根据整理后的字典数据中的词条内容建立索引表,并将该字典数据和索引表转换为字典更新数据;The electronic dictionary data generation module builds an index table according to the entry content in the dictionary data after finishing, and converts the dictionary data and the index table into dictionary update data; 所述处理单元用所述字典更新数据替换存储单元中原有的电子字典数据,实现电子字典数据的更新。The processing unit replaces the original electronic dictionary data in the storage unit with the dictionary updating data to realize updating of the electronic dictionary data. 2、如权利要求1所述的电子字典数据更新系统,其特征在于,还包括:2. The electronic dictionary data update system as claimed in claim 1, further comprising: 缓存单元,用于存储处理中的字典数据以及生成的字典更新数据;及A cache unit for storing dictionary data in processing and generated dictionary update data; and 显示单元,用于将处理中的字典数据或最终生成的字典更新数据过滤掉格式信息后进行显示。The display unit is used for displaying the dictionary data being processed or the finally generated dictionary update data after filtering out the format information. 3、如权利要求1所述的电子字典数据更新系统,其特征在于,所述处理单元还包括配置模块,用于设定导入单元导入的字典数据的格式;所述整理模块将配置模块设定格式后的字典数据中的词条内容进行排版。3. The electronic dictionary data update system as claimed in claim 1, wherein the processing unit also includes a configuration module, which is used to set the format of the dictionary data imported by the import unit; the arrangement module sets the configuration module Typesetting of entry content in the formatted dictionary data. 4、如权利要求1所述的电子字典数据更新系统,其特征在于,所述处理单元还包括编辑模块,对整理后的字典数据中的词条内容进行编辑;所述整理模块整理编辑后的字典数据;所述电子字典数据生成模块根据编辑并整理后的字典数据中的词条内容建立索引表,并将该字典数据和索引表转换为字典更新数据。4. The electronic dictionary data updating system according to claim 1, wherein the processing unit also includes an editing module, which edits the entry content in the dictionary data after sorting out; Dictionary data; the electronic dictionary data generating module establishes an index table according to the content of entries in the edited and sorted dictionary data, and converts the dictionary data and the index table into dictionary update data. 5、如权利要求1至4任一项所述的电子字典数据更新系统,其特征在于,所述整理模块对字典数据的整理还包括对排版后的字典数据的词条内容进行分类。5. The electronic dictionary data updating system according to any one of claims 1 to 4, characterized in that, the collation of the dictionary data by the collation module further includes classifying the entry contents of the typesetting dictionary data. 6、如权利要求5所述的电子字典数据更新系统,其特征在于,所述电子字典数据生成模块生成索引先根据整理后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表;然后将该字典数据、分类索引表和总索引表转换为字典更新数据。6. The electronic dictionary data update system as claimed in claim 5, wherein said electronic dictionary data generation module generates an index and first establishes a classification index table corresponding to each classification category according to the entry content in the dictionary data after sorting out , and then establish a general index table according to the classification index table; then convert the dictionary data, classification index table and general index table into dictionary update data. 7、如权利要求5所述的电子字典数据更新系统,其特征在于,所述处理单元还包括压缩模块,用于压缩整理后的字典数据;所述电子字典数据生成模块根据压缩后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表;然后将所述压缩后的字典数据、该压缩后的字典数据对应的分类索引表和总索引表转换为字典更新数据。7. The electronic dictionary data update system as claimed in claim 5, wherein the processing unit also includes a compression module for compressing the dictionary data after finishing; the electronic dictionary data generation module is based on the compressed dictionary data The entry content in set up the classification index table corresponding to each classification category, then set up the general index table according to the classification index table; then the classification index table corresponding to the dictionary data after the compression, the dictionary data after the compression and The total index table is converted to dictionary update data. 8、一种电子字典数据更新方法,其特征在于,该方法应用于字典数据更新系统,该系统包括导入单元、用户操作单元及处理单元,该方法包括:8, a kind of electronic dictionary data renewal method, it is characterized in that, the method is applied to dictionary data renewal system, and this system comprises import unit, user operation unit and processing unit, and this method comprises: (a)所述导入单元导入用于更新的字典数据,用户操作单元根据用户的输入发送控制命令给处理单元;(a) the import unit imports dictionary data for updating, and the user operation unit sends control commands to the processing unit according to user input; (b)所述处理单元根据所述控制命令将该字典数据中的词条内容按字典顺序进行排版;(b) the processing unit typesetting the entry content in the dictionary data according to the lexicographical order according to the control command; (c)所述处理单元根据步骤(b)得到的字典数据中的词条内容建立索引表;(c) said processing unit establishes an index table according to the entry content in the dictionary data that step (b) obtains; (d)所述处理单元将所述字典数据和索引表转换为字典更新数据并下载到电子字典的存储器中,替换该存储器中原有的电子字典数据。(d) The processing unit converts the dictionary data and index table into dictionary update data and downloads it to the memory of the electronic dictionary to replace the original data of the electronic dictionary in the memory. 9、如权利要求8所述的电子字典数据更新方法,其特征在于,步骤(a)中还包括配置步骤(a1):设定导入用于更新的字典数据的格式;所述步骤(b)中,将设定格式后的字典数据中的词条内容进行排版。9. The method for updating electronic dictionary data as claimed in claim 8, characterized in that, step (a) also includes a configuration step (a1): setting the format for importing dictionary data for updating; said step (b) , typeset the entry content in the formatted dictionary data. 10、如权利要求8或9所述的电子字典数据更新方法,其特征在于,步骤(b)中还包括:对排版后的字典数据中的词条内容进行分类。10. The method for updating electronic dictionary data according to claim 8 or 9, characterized in that step (b) further comprises: classifying the content of entries in the typesetting dictionary data. 11、如权利要求10所述的电子字典数据更新方法,其特征在于,步骤(c)中的建立索引表具体包括:11. The method for updating electronic dictionary data as claimed in claim 10, wherein the indexing table in step (c) specifically includes: (c1)根据步骤(b)得到的字典数据建立对应于各分类数据的分类索引表;(c1) establishing a classification index table corresponding to each classification data according to the dictionary data obtained in step (b); (c2)根据所述分类索引表建立总索引表;(c2) establishing a general index table according to the classification index table; 所述步骤(d)中将所述字典数据、分类索引表及总索引表转换为字典更新数据并下载到电子字典的存储器中。In the step (d), the dictionary data, classification index table and general index table are converted into dictionary update data and downloaded to the memory of the electronic dictionary. 12、如权利要求11所述的电子字典数据更新方法,其特征在于,步骤(b)还包括对排版分类后的字典数据进行的编辑步骤:12. The method for updating electronic dictionary data as claimed in claim 11, wherein step (b) also includes an editing step for the dictionary data after typesetting classification: b11)显示排版后的字典数据;b11) displaying the typesetting dictionary data; b12)在相应位置插入需要增加的词条内容,或对应修改相应词条内容,或查询相应词条内容;b12) Insert the content of the entry that needs to be added at the corresponding position, or modify the content of the corresponding entry correspondingly, or query the content of the corresponding entry; b13)对插入或修改词条内容后的字典数据重新进行排版和分类。b13) Typesetting and classifying the dictionary data after inserting or modifying entry content. 13、如权利要求12所述的电子字典数据更新方法,其特征在于,所述步骤(c)中在建立索引表前,还包括对排版及分类后得到的字典数据中的词条内容进行压缩;根据压缩后的字典数据中的词条内容建立对应于各分类类别的分类索引表,再根据所述分类索引表建立总索引表,所述步骤(d)中将所述压缩后的字典数据、该压缩后字典数据对应的分类索引表和总索引表转换为字典更新数据并下载到电子字典的存储器中。13. The method for updating electronic dictionary data as claimed in claim 12, wherein in said step (c), before setting up the index table, it also includes compressing the entry content in the dictionary data obtained after typesetting and classification ; According to the entry content in the compressed dictionary data, set up a classification index table corresponding to each classification category, then set up a general index table according to the classification index table, the dictionary data after the compression in the described step (d) , the classification index table and the general index table corresponding to the compressed dictionary data are converted into dictionary update data and downloaded to the memory of the electronic dictionary.
CNB2006101703137A 2006-12-28 2006-12-28 Electronic dictionary data updating system and method thereof Expired - Fee Related CN100555284C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101703137A CN100555284C (en) 2006-12-28 2006-12-28 Electronic dictionary data updating system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101703137A CN100555284C (en) 2006-12-28 2006-12-28 Electronic dictionary data updating system and method thereof

Publications (2)

Publication Number Publication Date
CN101211352A CN101211352A (en) 2008-07-02
CN100555284C true CN100555284C (en) 2009-10-28

Family

ID=39611384

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101703137A Expired - Fee Related CN100555284C (en) 2006-12-28 2006-12-28 Electronic dictionary data updating system and method thereof

Country Status (1)

Country Link
CN (1) CN100555284C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423353B2 (en) * 2009-03-25 2013-04-16 Microsoft Corporation Sharable distributed dictionary for applications
KR20110077111A (en) * 2009-12-30 2011-07-07 주식회사 아이리버 Electronic dictionary terminal update system and update method
CN101840643A (en) * 2010-04-23 2010-09-22 无敌科技(西安)有限公司 Teaching type electronic dictionary
CN102054044B (en) * 2010-12-31 2013-10-23 深圳市华伯通讯设备有限公司 Method and device for generating personalized resource file and electronic equipment
JP5737079B2 (en) * 2011-08-31 2015-06-17 カシオ計算機株式会社 Text search device, text search program, and text search method
CN103678301B (en) * 2012-08-30 2017-02-08 英业达科技有限公司 Translation query system with advanced querying and translation content increase function and method thereof
CN105956203B (en) * 2016-06-30 2019-03-08 湖州亿联信息技术有限公司 An information storage method, an information query method, and a search engine device
CN108092956B (en) * 2017-12-01 2020-12-04 北京奇艺世纪科技有限公司 Method and device for acquiring compression dictionary
CN109684611B (en) * 2018-12-18 2024-02-20 北京城市网邻信息技术有限公司 Dictionary transcoding method and device, storage medium and terminal
CN113177407A (en) * 2021-06-30 2021-07-27 平安普惠企业管理有限公司 Data dictionary construction method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005174116A (en) * 2003-12-12 2005-06-30 Toshiba Corp Category dictionary construction server, category dictionary construction system and category dictionary construction method and category dictionary construction program
CN1647072A (en) * 2002-07-24 2005-07-27 卡西欧计算机株式会社 Electronic dictionary terminal, electronic dictionary server, and recording medium
JP2005222492A (en) * 2004-02-09 2005-08-18 Sharp Corp Electronic device, electronic dictionary update system, dictionary update processing program, and computer-readable recording medium recording dictionary update processing program
CN1670728A (en) * 2003-10-23 2005-09-21 微软公司 Full-form lexicon with tagged data and methods of constructing and using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1647072A (en) * 2002-07-24 2005-07-27 卡西欧计算机株式会社 Electronic dictionary terminal, electronic dictionary server, and recording medium
CN1670728A (en) * 2003-10-23 2005-09-21 微软公司 Full-form lexicon with tagged data and methods of constructing and using the same
JP2005174116A (en) * 2003-12-12 2005-06-30 Toshiba Corp Category dictionary construction server, category dictionary construction system and category dictionary construction method and category dictionary construction program
JP2005222492A (en) * 2004-02-09 2005-08-18 Sharp Corp Electronic device, electronic dictionary update system, dictionary update processing program, and computer-readable recording medium recording dictionary update processing program

Also Published As

Publication number Publication date
CN101211352A (en) 2008-07-02

Similar Documents

Publication Publication Date Title
CN100555284C (en) Electronic dictionary data updating system and method thereof
US7809553B2 (en) System and method of creating and using compact linguistic data
US8392453B2 (en) Nonstandard text entry
CN111666383B (en) Information processing method, device, electronic device, and computer-readable storage medium
CN101258496A (en) Automatic population with queries to a database
CN1519753B (en) Character input editing method and device
CN103226606A (en) Inquiry selection method and system
CN103455529A (en) Document search apparatus, document search method, and program product
US20080033948A1 (en) Storage apparatus and method therefor
JP4382663B2 (en) System and method for generating and using concise linguistic data
CN100397394C (en) Information display control device and method
KR102597181B1 (en) Data management server for managing metadata and control method thereof
Anderson Basics of Bash
TWI408564B (en) Method and human-to-machine interface apparatus for searching files
JP5563706B1 (en) Document file generation apparatus, document file generation method, and document file generation program
KR100911411B1 (en) File Finder with Tag Sort
CN102103620B (en) Search file method and its man-machine interface device
KR20070097660A (en) Multimedia File Management Method Using Escule in Mobile Communication Terminal
KR200347586Y1 (en) System method for automatic searching of based network
JP2024006420A (en) Information processing device, information processing system, information processing method, and program
CN120470110A (en) Query method, device and storage medium based on user information
CN113468114A (en) E-book source file processing method, electronic equipment and computer storage medium
JP2003132054A (en) System for inputting japanese, program therefor, and personal digital assistant
CN1261180A (en) The Method of Expanding and Updating the Electronic Dictionary
JP2003323325A (en) Data processing system and data processing method for data processor

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
ASS Succession or assignment of patent right

Owner name: BEIJING SUNPLUS EHUE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIJING BEIYANG ELECTRONIC TECHNOLOGY CO., LTD.

Effective date: 20140314

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140314

Address after: Science and Industry Park, Taiwan, Hsinchu, China, No. 19

Patentee after: Lingyang Science and Technology Co., Ltd.

Patentee after: BEIJING SUNPLUS-EHUE TECHNOLOGY CO., LTD.

Address before: Science and Industry Park, Taiwan, Hsinchu, China, No. 19

Patentee before: Lingyang Science and Technology Co., Ltd.

Patentee before: Beijing Beiyang Electronic Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091028

Termination date: 20161228

CF01 Termination of patent right due to non-payment of annual fee