CN101430683A - Word stock switching system and method for translation software - Google Patents

Word stock switching system and method for translation software Download PDF

Info

Publication number
CN101430683A
CN101430683A CNA2007101659641A CN200710165964A CN101430683A CN 101430683 A CN101430683 A CN 101430683A CN A2007101659641 A CNA2007101659641 A CN A2007101659641A CN 200710165964 A CN200710165964 A CN 200710165964A CN 101430683 A CN101430683 A CN 101430683A
Authority
CN
China
Prior art keywords
dictionary
vocabulary
network
parameter
network lexicon
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
Application number
CNA2007101659641A
Other languages
Chinese (zh)
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 Corp
Original Assignee
Inventec Corp
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 Corp filed Critical Inventec Corp
Priority to CNA2007101659641A priority Critical patent/CN101430683A/en
Publication of CN101430683A publication Critical patent/CN101430683A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a lexicon switching system of translation software and a method thereof. A network lexicon which is stored at a network terminal and is provided with a whole vocabulary and a basic lexicon which is stored at a local terminal and is provided with a basic vocabulary are used for vocabulary translation, and the used lexicon is switched according to network connection conditions, thus achieving the purpose of reducing the lexicon storage space of the local terminal and achieving the technical efficiency of reducing hardware resource consumption.

Description

The dictionary switched system and the method thereof of translation software
Technical field
The present invention is meant a kind of dictionary switched system and method thereof of translation software especially relevant for a kind of dictionary switched system and method thereof.
Background technology
In recent years, no matter along with the flourish of translation software makes on price, function and translation quality, all accepted by people gradually, because translation software has the incomparable advantage of traditional dictionary, for example: inquire about fast, can translate the multi-lingual renewable vocabulary that mentions, even the trend that replaces traditional dictionary arranged therefore.
Yet, translation software has in the time of can translating the multi-lingual function that mentions renewable vocabulary, dictionary as the translation foundation also more and more takies the storage area, and this use to translation software is quite unfavorable, especially for as the limited equipment in this class storage area of embedded system.Therefore, whether the shared storage area of translation software can more simplify, and has just like become one of considerations of people's purchase.In order to reduce shared storage area, the more general way that translation software adopts at present is that dictionary is compressed, reduce the dictionary storage area of translation software by the good compression algorithm, though this way can reduce the dictionary storage area of translation software, but the dictionary of software is along with the increase of new term because serve as interpreter, even if the dictionary to translation software compresses, have the problem of storage area deficiency eventually.
In sum, prior art has existed dictionary to take the cumulative problem in storage area always since the midium or long term as can be known, and therefore being necessary to propose a kind of more efficiently technological means solves this problem in fact.
Summary of the invention
Because the dictionary that prior art exists takies the cumulative problem in storage area, the present invention discloses a kind of dictionary switched system and method thereof of translation software then.
The dictionary switched system of the disclosed translation software of the present invention comprises: network lexicon, network lexicon server and client.Wherein, network lexicon is as the foundation of the various types of vocabulary of translation; The network lexicon server is connected to network lexicon and carries out vocabulary inquiry, and passes Query Result back.
Client comprises: module and vocabulary inquiry module selected in basic dictionary, load module, dictionary detecting module, dictionary.Wherein, basic dictionary is in order to the foundation as the translation basic vocabulary; Load module is in order to receive inquiry vocabulary; The dictionary detecting module is in order to the connection state of foundation dictionary location parameter judgement corresponding server; Module selected in dictionary, but when connection state be line, the parameter value of map network dictionary is recorded in dictionary selects parameter, when connection state is an off-line or when wrong, the parameter value of the basic dictionary of correspondence is recorded in dictionary selection parameter; The vocabulary inquiry module, when but connection state is line, selecting parameter will inquire about vocabulary according to dictionary embeds Request Packet and is sent to the network lexicon server, receiving Query Result shows, when connection state is an off-line or when wrong, selects parameter will inquire about vocabulary according to dictionary and be passed to basic dictionary and inquire about.
Dictionary changing method as for translation software of the present invention, in the network lexicon server that is applied to carry out network lexicon and the network environment of the client of carrying out translation software, and client has basic dictionary, comprises the following step: receive inquiry vocabulary in client; Judge the connection state of corresponding network lexicon server according to the dictionary location parameter.Wherein, but when connection state is line, more comprise the following step: the parameter value of map network dictionary is recorded in dictionary selects parameter; Select parameter to inquire about according to dictionary and be sent to the network lexicon server after vocabulary embeds Request Packet.
When the network lexicon server receives Request Packet,, and pass Query Result back and show in client to querying network lexicon vocabulary; At last, when connection state is an off-line or when wrong, sets dictionary and select parameter to be passed to basic dictionary and to inquire about in order to will inquire about vocabulary.
The disclosed System and method for of the present invention as above, and the difference between the prior art is that the present invention is by depositing in network-side and having the network lexicon of complete vocabulary, and the basic dictionary of depositing in local side and having a basic vocabulary carries out vocabulary translation, and switch employed dictionary, thereby reduce the dictionary storage area of local side according to the network connectivity situation.
By above-mentioned technological means, the present invention can reach and reduce the technology effect that expends hardware resource.
Description of drawings
Fig. 1 is the Organization Chart of the dictionary switched system of translation software of the present invention.
Fig. 2 is the block diagram of the dictionary switched system of translation software of the present invention.
Fig. 3 is the process flow diagram of the dictionary changing method of translation software of the present invention.
But Fig. 4 is the synoptic diagram of the connection state of translation software of the present invention for line time inquiry vocabulary.
Fig. 5 is that the connection state of translation software of the present invention is the off-line or the synoptic diagram of inquiry vocabulary when wrong.
Embodiment
Below will cooperate graphic and embodiment describes embodiments of the present invention in detail, thus to the present invention how the application technology means implementation procedure that solves technical matters and reach the technology effect can fully understand and implement according to this.
At first, before the dictionary switched system and method thereof of explanation translation software proposed by the invention, elder generation's conjunction with figs. explains framework of the present invention, see also Fig. 1, Fig. 1 is the Organization Chart of the dictionary switched system of translation software of the present invention, wherein comprises: network lexicon 101, network lexicon server 102, LAN (Local Area Network) 103, client 104, basic dictionary 105, internet 106, vocabulary update service device 107 and lexical data base 108.Wherein, client 104 comprises basic dictionary 105, and is connected to network lexicon server 102 by LAN (Local Area Network) 103; Network lexicon server 102 comprises network lexicon 101, and is connected to vocabulary update service device 107 by internet 106, and wherein vocabulary update service device 107 comprises lexical data base 108.
When the user carries out translation software with basic dictionary 105 and input inquiry vocabulary on client 104, but if this moment connection state when being line, to transmit Request Packet to network lexicon server 102 by LAN (Local Area Network) 103, be used for vocabulary, and the Query Result that reception network lexicon server 102 is returned shows by network lexicon server 102 requester network dictionaries 101.In addition, to have new vocabulary to add fashionable when lexical data base 108, network lexicon server 102 also can in order to upgrade network lexicon 101, make network lexicon 101 remain on last state via internet 106 by the new term in the vocabulary update service device 107 download lexical data bases 108.
See also Fig. 2, Fig. 2 is the block diagram of the dictionary switched system of translation software of the present invention, wherein comprises: network lexicon 101, network lexicon server 102, LAN (Local Area Network) 103, client 104.Wherein, network lexicon 101 is as the foundation of the various types of vocabulary of translation; Network lexicon server 102, be connected to network lexicon and carry out vocabulary inquiry, and pass Query Result back, described network lexicon server 102 is used to resolve and comprises the Request Packet of inquiring about vocabulary, network lexicon server 102 comprises network lexicon 101, and the vocabulary in the network lexicon 101 also can upgrade (not shown) by vocabulary update service device 107; LAN (Local Area Network) 103 is used to connect network lexicon server 102 and client 104.
Client 104 comprises: module 203 and vocabulary inquiry module 204 selected in basic dictionary 105, load module 201, dictionary detecting module 202, dictionary.Wherein, basic dictionary 105 is used for the foundation as the translation basic vocabulary; Load module 201 is used for receiving inquiry vocabulary; Dictionary detecting module 202 is used for the connection state according to the corresponding network lexicon server 102 of dictionary location parameter judgement, the network site (for example: " 127.0.0.1 ") of described dictionary location parameter record network lexicon server 102; Module 203 selected in dictionary, when but connection state is line, the parameter value (for example: network lexicon 101 is with numerical value 1 expression) of map network dictionary 101 is recorded in dictionary selection parameter, if when off-line or error condition, then the parameter value (for example: basic dictionary 105 is with numerical value 0 expression) with the basic dictionary 105 of correspondence is recorded in dictionary selection parameter, the judgement of described connection state is by internet control messages agreement (InternetControl Message Protocol, ICMP) detect, comprise detecting line, off-line and wrong state; Vocabulary inquiry module 204, when but connection state is line, selecting parameter will inquire about vocabulary according to dictionary embeds Request Packet and is sent to network lexicon server 102, receiving Query Result shows, when connection state is off-line or mistake, selecting parameter will inquire about vocabulary according to dictionary is passed to basic dictionary 105 and inquires about, described dictionary selects module 203 when connection state is line, can also select parameter according to user's the operation setting dictionary that clicks, when the user selects basic dictionary 105 or network lexicon 101, the parameter value of the basic dictionary 105 of correspondence or the parameter value of map network dictionary 101 are recorded in dictionary selection parameter, and confession remittance enquiry module 204 selects to use basic dictionaries 105 or network lexicon 101 to inquire about vocabulary; Wherein, when network lexicon server 102 receives Request Packet,, and pass Query Result back to network lexicon 101 inquiry vocabulary.
As shown in Figure 3, the process flow diagram for the dictionary changing method of translation software of the present invention comprises the following step: receive inquiry vocabulary (step 301) in client; Judge the connection state (step 302) of corresponding network lexicon server according to the dictionary location parameter; Judge but whether connection state is line (step 303), but when the connection state line, the parameter value of map network dictionary is recorded in dictionary selects parameter (step 304); Selecting parameter will inquire about vocabulary according to dictionary embeds Request Packet and is sent to network lexicon server (step 305); When the network lexicon server receives Request Packet,, and pass Query Result back in client demonstration (step 306) to querying network lexicon vocabulary; When connection state is off-line or mistake, setting dictionary selects parameter to be passed to basic dictionary and to inquire about (step 307) in order to will inquire about vocabulary, when connection state is line, can also select parameter according to user's the operation setting dictionary that clicks, when the user selects basic dictionary or network lexicon, the parameter value of the basic dictionary of correspondence or the parameter value of map network dictionary are recorded in dictionary selection parameter, thereby can use basic dictionary or querying network lexicon vocabulary according to user's selection.
Below cooperate Fig. 4 and Fig. 5 to carry out following explanation with by way of example, please consult Fig. 4 earlier, the synoptic diagram of inquiry vocabulary when but Fig. 4 be line for the connection state of translation software of the present invention comprises: translation interface 401, vocabulary input frame 402, connotation show block 403, switching dictionary element 404 and network state display box 405.When the user when client 104 is carried out translation software, can produce translation interface 401 as shown in Figure 4, provide the user (for example: English alphabet " a ") inquire about corresponding the explanation to pass through vocabulary input frame 402 input vocabulary, then the connection state of judging the network lexicon server 102 that (for example: with ping instruction detecting connection state) is corresponding via ICMP according to dictionary location parameter (for example: " 127.0.0.1 ") (for example: line, off-line and wrong state) and be presented at network state display box 405 (for example: display message is that network connectivity is normal), when but connection state is line, the parameter value (for example: network lexicon is with numerical value 1 expression) of map network dictionary 101 is recorded in dictionary selection parameter, then select parameter (because connection state is a line according to dictionary, so parameter selected in dictionary is numerical value 1) be sent to network lexicon server 102 after will inquire about vocabulary embedding Request Packet, be used to use the foundation of network lexicon 101 as translation vocabulary, when network lexicon server 102 receives Request Packet, through obtaining inquiring about vocabulary behind the analysis request package, therefore can be with inquiry vocabulary as querying condition to network lexicon 101 inquiries, and pass back Query Result (for example: being interpreted as of corresponding inquiry vocabulary " one; One; First word of English alphabet "), then client 104 receives the passback Query Results, and is shown in connotation and shows block 403, so far, but is under the situation of line at connection state, finishes the process of whole inquiry vocabulary.In addition, also can be when but connection state be line, switch dictionary element 404 reference record selected in dictionary is the parameter value (for example: the parameter value of basic dictionary 105 is with numerical value 0 expression) of corresponding basic dictionary 105 by clicking, thus, inquiry vocabulary will be passed to the basic dictionary 105 that is positioned at client 104 equally and inquire about.Generally speaking, but can select parameter for changing dictionary under the state of line at connection state, in order to select basic dictionary 105 or network lexicon 101 by clicking switching dictionary element 404.
Then see also Fig. 5, Fig. 5 is that the connection state of translation software of the present invention is the off-line or the synoptic diagram of inquiry vocabulary when wrong, when connection state is off-line or mistake, the parameter value (for example: the parameter value of basic dictionary 105 is with numerical value 0 expression) of the basic dictionary 105 of correspondence is recorded in dictionary selection parameter, and the information that the display network line interrupts in network state display box 405, this moment translation software according to the dictionary that sets select parameter (for example: numerical value 0) will inquire about the vocabulary transmission (for example: English alphabet " a ") inquire about to basic dictionary 105, and obtain as " the 5th figure " connotation show as shown in the block 403 glossary explanation (for example: corresponding be interpreted as " first word of English alphabet " of inquiring about vocabulary in the basic dictionary 105).
In sum, difference between the present invention and the prior art is to provide the network lexicon of depositing in network-side and having complete vocabulary as can be known, and the basic dictionary of depositing in local side and having a basic vocabulary carries out vocabulary translation, and switch employed dictionary according to the network connectivity situation, can reach the purpose of the dictionary storage area that reduces local side by this technological means, solve the existing problem of prior art, and then reach the technology effect that reduction expends hardware resource.
Though the disclosed embodiment of the present invention as above, described content is not in order to direct qualification scope of patent protection of the present invention.Any persond having ordinary knowledge in the technical field of the present invention under the prerequisite that does not break away from the disclosed spirit and scope of the present invention, can do a little change what implement in form and on the details.Scope of patent protection of the present invention still must be with appended being as the criterion that claim was defined.

Claims (10)

1, a kind of dictionary switched system of translation software comprises:
One network lexicon is as the foundation of the various types of vocabulary of translation;
One network lexicon server is connected to this network lexicon and carries out vocabulary inquiry, and passes Query Result back; And
At least one client, this client comprises:
One basic dictionary is in order to the foundation as the translation basic vocabulary;
One load module is in order to receive an inquiry vocabulary;
One dictionary detecting module is in order to judge a connection state of this corresponding network lexicon server according to a dictionary location parameter;
Module selected in one dictionary, but when this connection state be line, will be recorded in a dictionary to parameter value that should network lexicon and select parameter, when this connection state is an off-line or when wrong, will be recorded in this dictionary selection parameter to parameter value that should the primary word storehouse; And
One vocabulary inquiry module, when but this connection state is line, selecting parameter should inquire about vocabulary according to this dictionary embeds a Request Packet and is sent to this network lexicon server, receiving Query Result shows, when this connection state is an off-line or when wrong, selects parameter should inquire about vocabulary according to this dictionary and be passed to this basic dictionary and inquire about.
2, the dictionary switched system of translation software as claimed in claim 1 is characterized in that, wherein this network lexicon server is used to resolve this Request Packet that comprises this inquiry vocabulary.
3, the dictionary switched system of translation software as claimed in claim 1 is characterized in that, wherein this dictionary location parameter network site of being used to write down this network lexicon server.
4, the dictionary switched system of translation software as claimed in claim 1 is characterized in that, wherein this connection state is to detect by internet control messages agreement, comprises line, off-line and wrong state.
5, the dictionary switched system of translation software as claimed in claim 1, it is characterized in that, this dictionary selects module to select parameter according to user's the operation setting dictionary that clicks, when the user selects this basic dictionary or this network lexicon, will or be recorded in this dictionary to parameter value that should the primary word storehouse and select parameter parameter value that should network lexicon.
6, in a kind of dictionary changing method of translation software, a network lexicon server that is applied to carry out a network lexicon and the network environment of a client of carrying out this translation software, this client has a basic dictionary, and its step comprises:
Receive an inquiry vocabulary in this client;
According to a connection state of this corresponding network lexicon server of dictionary location parameter judgement, wherein:
When but this connection state is line, also comprise the following step:
To be recorded in a dictionary to parameter value that should network lexicon and select parameter; And
Selecting parameter should inquire about vocabulary according to this dictionary embeds a Request Packet and is sent to this network lexicon server;
When this network lexicon server receives this Request Packet,, and pass Query Result back in this client demonstration to this querying network lexicon vocabulary; And
When this connection state is an off-line or when wrong, sets this dictionary and select parameter to be passed to this basic dictionary and to inquire about in order to should inquire about vocabulary.
7, the dictionary changing method of translation software as claimed in claim 6 is characterized in that, wherein this network lexicon server is used to resolve this Request Packet that comprises this inquiry vocabulary.
8, the dictionary changing method of translation software as claimed in claim 6 is characterized in that, wherein this dictionary location parameter network site of being used to write down this network lexicon server.
9, the dictionary changing method of translation software as claimed in claim 6 is characterized in that, wherein this connection state is to detect by internet control messages agreement, comprises line, off-line and wrong state.
10, the dictionary changing method of translation software as claimed in claim 6, it is characterized in that, parameter selected in this dictionary of operation setting that clicks according to the user, when the user selects this basic dictionary or this network lexicon, will or be recorded in this dictionary to parameter value that should the primary word storehouse and select parameter parameter value that should network lexicon.
CNA2007101659641A 2007-11-09 2007-11-09 Word stock switching system and method for translation software Pending CN101430683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101659641A CN101430683A (en) 2007-11-09 2007-11-09 Word stock switching system and method for translation software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101659641A CN101430683A (en) 2007-11-09 2007-11-09 Word stock switching system and method for translation software

Publications (1)

Publication Number Publication Date
CN101430683A true CN101430683A (en) 2009-05-13

Family

ID=40646089

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101659641A Pending CN101430683A (en) 2007-11-09 2007-11-09 Word stock switching system and method for translation software

Country Status (1)

Country Link
CN (1) CN101430683A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567310A (en) * 2010-12-17 2012-07-11 张龙哺 Networked artificial intelligence translation system based on intelligence knowledge base, and translation method of such system
CN103136193A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation system providing internet function for enterprise client side and method thereof
CN103927220A (en) * 2013-01-14 2014-07-16 百度国际科技(深圳)有限公司 Adaptive adjustment method and device for input method in client

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567310A (en) * 2010-12-17 2012-07-11 张龙哺 Networked artificial intelligence translation system based on intelligence knowledge base, and translation method of such system
CN102567310B (en) * 2010-12-17 2016-08-31 张龙哺 Networking artificial intelligence's translation system based on Intelligence repository and interpretation method thereof
CN103136193A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation system providing internet function for enterprise client side and method thereof
CN103927220A (en) * 2013-01-14 2014-07-16 百度国际科技(深圳)有限公司 Adaptive adjustment method and device for input method in client

Similar Documents

Publication Publication Date Title
US7496497B2 (en) Method and system for selecting web site home page by extracting site language cookie stored in an access device to identify directional information item
CN100410869C (en) Computer switch and a computer switching method
CN101924798B (en) Transparent Android component loading method and system based on file types
US20020138653A1 (en) Workstation system, computer, data transfer method, data editing method, computer program generation method, computer program and storage medium
US20070076230A1 (en) Dual-desktop remote control system and method
NO327845B1 (en) Interconnection system with protocol converter
CN102404306B (en) Protocol configuration method and device
WO2016115261A1 (en) Displaying information in multiple languages based on optical code reading
CN106603593A (en) HTTP calling method and device based on adaption
GB2364489A (en) Communication system including address translation table
CN100502309C (en) Embedded Web network management system and its interaction method
CN103399548A (en) Remote controlling method of intelligent equipment, mobile terminal, intelligent equipment and system
CA2515057C (en) System and method for processing a message in a server of a computer network sent by a mobile computer device
KR100566975B1 (en) remote function changing system of the cellular-phone and controlling method therefore
CN101430683A (en) Word stock switching system and method for translation software
CN101582861A (en) Method of IM specific customer service call, as well as server, client and system thereof
RU2007131194A (en) SYSTEM AND METHOD OF SUPPORTING MANY LANGUAGES FOR APPLICATION
US20150161097A1 (en) Language Set Disambiguator
JP2000250696A (en) Method for converting data between different types of keyboards
CN101193109B (en) A method for supporting interactive command in command line interface of communication device
CN107766070A (en) A kind of service card upgrade method, device, equipment and computer-readable recording medium
CN101447951A (en) System and method for service oriented email client application
CN102523271A (en) Terminal and communication method and system thereof
CN114173366A (en) User parameter repairing method and device, computer storage medium and electronic equipment
KR20020079133A (en) Web content transcoding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090513