The content of the invention
The main object of the present invention is a kind of method for connecting engine of offer, it is intended to which solving translator cannot be according to user's
Use habit or Engine-Network situation automatically select the technical problem that suitable engine is attached.
The present invention proposes a kind of method for connecting engine, including:
The first heartbeat packet is sent respectively to multiple specified engines at the same time;
Receive the first echo message that multiple specified engines are fed back respectively according to first heartbeat packet;
It is attached according to first echo message and the corresponding engine of preset rules selection.
Preferably, described the step of being attached according to first echo message and preset rules selection engine, bag
Include:
Judge whether to receive first echo message of default setting engine feedback;
If it is determined that it is no, then analyze the chronological order that multiple specified engines feed back first echo message respectively;
Connection is established according to the chronological order specified engine corresponding with being initially received first echo message.
Preferably, it is the first engine to be initially received the corresponding specified engine of first echo message, it is described with first
After receiving the step of corresponding first engine of first echo message establishes connection, including:
According to first scheduled time monitoring heartbeat packet is sent to first engine;
Monitor the second echo message that first engine is fed back according to the monitoring heartbeat packet first responds duration;
Judge whether the first response duration is more than preset value;
If it is determined that it is then to send the second heartbeat packet respectively to multiple specified engines at the same time again;
Monitor the time time for the 3rd echo message that multiple specified engines are fed back respectively according to second heartbeat packet
Sequence;
Connection is established according to the chronological order specified engine corresponding with being initially received the 3rd echo message.
Preferably, it is the first engine to be initially received the corresponding specified engine of first echo message, it is described with first
After receiving the step of corresponding specified engine of first echo message establishes connection, further include:
The 3rd heartbeat packet is sent respectively to multiple specified engines at the same time again according to second scheduled time;
Receive the 4th echo message that multiple specified engines are fed back respectively according to the 3rd heartbeat packet;
Analysis is initially received specified engine corresponding to the 4th echo message and whether first engine is identical,
Wherein, it is the 3rd engine to be initially received the specified engine corresponding to the 4th echo message;
If differing, the 3rd engine is switched to by first engine.
Preferably, described the step of judging whether to receive first echo message of default setting engine feedback it
Afterwards, including:
If it is determined that it is then to establish and connect with the default setting engine.
Preferably, described the step of judging whether to receive first echo message of default setting engine feedback it
Before, including:
Monitor the frequency of use of multiple specified engines;
Screen the highest specified engine of the frequency of use;
It is the default setting engine to be set using the highest specified engine of frequency.
Preferably, described the step of judging whether to receive first echo message of default setting engine feedback it
Before, further include:
Analyze user's history engine use information;
The default setting engine is set according to the history engine use information.
Preferably, described the step of judging whether to receive first echo message of default setting engine feedback it
Before, further include:
Analysis engine handles the application feature information of data;
The default setting engine is set according to the application feature information.
The present invention also provides a kind of device for connecting engine, including:
First sending module, for sending the first heartbeat packet respectively to multiple specified engines at the same time;
First receiving module, first fed back respectively according to first heartbeat packet for receiving multiple specified engines
Echo message;
Selecting module, for being connected according to first echo message and the corresponding engine of preset rules selection
Connect.
Preferably, the selecting module, including:
First judging unit, for judging whether to receive first echo message of default setting engine feedback;
First analytic unit, feeds back described first for if it is determined that no, then analyzing multiple specified engines and responds respectively
The chronological order of information;
First establishes unit, for according to chronological order finger corresponding with being initially received first echo message
Determine engine and establish connection.
Preferably, it is the first engine to be initially received the corresponding specified engine of first echo message, the selection mould
Block, including
Second transmitting element, for sending monitoring heartbeat packet to first engine according to first scheduled time;
First monitoring unit, the second echo message fed back for monitoring first engine according to the monitoring heartbeat packet
First respond duration;
Second judging unit, for judging whether the first response duration is more than preset value;
3rd transmitting element, for if it is determined that being then to send second heart respectively to multiple specified engines at the same time again
Jump bag;
Second monitoring unit, the 3rd fed back respectively according to second heartbeat packet for monitoring multiple specified engines
The chronological order of echo message;
Second establishes unit, for according to chronological order finger corresponding with being initially received the 3rd echo message
Determine engine and establish connection.
Preferably, it is the first engine to be initially received the corresponding specified engine of first echo message, the selection mould
Block, further includes:
4th transmitting element, for sending the respectively to multiple specified engines at the same time again according to second scheduled time
Three heartbeat packets;
3rd receiving unit, the 4th fed back respectively according to the 3rd heartbeat packet for receiving multiple specified engines
Echo message;
Second analytic unit, for analyze be initially received specified engine corresponding to the 4th echo message with it is described
Whether the first engine is identical, wherein, it is the 3rd engine to be initially received the specified engine corresponding to the 4th echo message;
Switch unit, if being differed for the 3rd engine with first engine, is switched by first engine
To the 3rd engine.
Preferably, the selecting module, including:
3rd establishes module, for if it is determined that receive the first echo message of the default setting engine feedback, then with
The default setting engine establishes connection.
Preferably, the selecting module, including:
Monitoring unit, for monitoring the frequency of use of multiple specified engines;
Screening unit, for screening the highest specified engine of the frequency of use;
First setting unit, is the default setting engine for being set using the highest specified engine of frequency.
Preferably, the selecting module, further includes:
3rd analytic unit, for analyzing user's history engine use information;
Second setting unit, for setting the default setting engine according to the history engine use information.
Preferably, the selecting module, further includes:
4th analytic unit, the application feature information for analysis engine processing data;
3rd setting unit, for setting the default setting engine according to the application feature information.
Advantageous effects of the present invention:The present invention is according to the use habit of user or the net by judging different specified engines
Network state automatically selects suitable third party's engine and is attached, and the present invention translator speech recognition class engine, turn over
Class engine and phonetic synthesis class engine are translated according to independent demand of all categories, is made choice respectively in multiple third party's engines
Respective suitable third party's engine is attached, and monitors draw with Engine-Network connection status, timely basis in use
Hold up network state targetedly to be switched, realize the function of real time translation, improve translation efficiency.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference Fig. 1, the method for the connection engine of one embodiment of the invention, including:
S1:The first heartbeat packet is sent respectively to multiple specified engines at the same time.
In the embodiment of the present invention, the method for connecting engine is applied to terminal device, and the terminal device is by taking translator as an example.This
The management server of translator sends multiple specified engines of function of the same race to translator in advance in inventive embodiments, such as:This
Engine in embodiment includes drawing for speech recognition class engine, translation class engine and three kinds of functions of phonetic synthesis class speech engine
Classification is held up, each engine classification corresponds to respective multiple specified engines respectively, for example, speech recognition class engine includes HKUST News
Speech recognition engine, Microsoft's speech recognition engine, IBM speech recognition engines, Baidu's speech recognition engine, Google's speech recognition are drawn
Hold up, Kingsoft speech recognition engine etc.;Translation engine includes:Baidu's translation engine, Google's translation engine, IBM translation engines, University of Science and Technology
News fly translation engine etc.;Speech synthesis engine includes:Baidu's speech synthesis engine, Google's speech synthesis engine, IBM phonetic syntheses
Engine, HKUST News speech synthesis engine etc..The engine classification of three kinds of functions is respectively according to corresponding more in the present embodiment
The network state of a specified engine makes choice connection.For example translator, when selecting speech recognition engine, meeting is at the same time to University of Science and Technology
News fly speech recognition engine, Microsoft's speech recognition engine, IBM speech recognition engines, Baidu's speech recognition engine, Google's voice and know
Other engine, Kingsoft speech recognition engine etc. send the first heartbeat packet to judge the network state of each third party's engine.
Engine of the present invention refers to server, for example, specifying engine to refer to given server, speech recognition class engine finger speech
Sound identifies class server, and Baidu's translation engine refers to Baidu's translating server etc..
S2:Receive the first echo message that multiple above-mentioned specified engines are fed back respectively according to above-mentioned first heartbeat packet.
Such as above-mentioned HKUST News speech recognition engine, Microsoft's speech recognition engine, IBM speech recognition engines, Baidu's language
After sound identification engine, Google's speech recognition engine, Kingsoft speech recognition engine etc. receive the first heartbeat packet, fed back to translator
First echo message judges according to the sequencing for receiving the first echo message the network of each third party's engine so as to translator
State, the network state being initially received are best.
S3:It is attached according to first echo message and the corresponding above-mentioned engine of preset rules selection.
The step of preset rules of the present embodiment, includes:S301 judges whether that receive default setting engine first responds
Information, S302 select to be connected with default setting engine if receiving;If S303 is not received, compare and receive other engines
The precedence of first echo message of feedback, the engine with being initially received the first echo message link;And the present embodiment
In can individually be selected according to the engine classification of different functions.For example speech recognition engine Chinese University of Science and Technology news fly speech recognition and draw
The network state held up is optimal, then selects HKUST News speech recognition engine;The network state of Baidu's translation engine in translation engine
Most preferably, then Baidu's translation engine is selected;The network state of IBM speech synthesis engines is optimal in speech synthesis engine, then selects IBM
Speech synthesis engine.
With reference to Fig. 2, further, the method for the connection engine of one embodiment of the invention, multiple above-mentioned specified engines include
First engine, step S3, including:
S30:Judge whether to receive above-mentioned first echo message of default setting engine feedback.
S31:If it is determined that it is no, then analyze the time time that multiple above-mentioned specified engines feed back above-mentioned first echo message respectively
Sequence.
S32:The first engine corresponding to according to chronological order and being initially received above-mentioned first echo message, which is established, to be connected.
First echo message of feedback reach at first translator for the first engine.First in the embodiment of the present invention is
Easy to state, do not limit, first, second, third, fourth grade elsewhere is also identical, does not repeat.
With reference to Fig. 3, further, the method for the connection engine of one embodiment of the invention, the present invention will be with being initially received
Corresponding specified the first engine of engine definitions of first echo message, after step S32, further includes:
S320:According to first scheduled time monitoring heartbeat packet is sent to above-mentioned first engine.
Such as first the scheduled time for 15min, 30min etc., preset by the server of translator.This implementation
Example is described in detail exemplified by selecting connection speech recognition class engine.
S321:Monitor above-mentioned first engine according to above-mentioned monitoring heartbeat packet feed back the second echo message first respond when
It is long.
This step by monitor the first response duration the speech recognition class that judges currently to connect the first engine (such as:
HKUST News speech recognition engine) network state, to avoid translation efficiency is influenced because of network failure during use.
S322:Judge whether above-mentioned first response duration is more than preset value.
For example preset value is 10S or 15S.
S323:If it is determined that it is then to send the second heartbeat packet respectively to multiple above-mentioned specified engines at the same time again.
For example preset value is set as 10S, the response duration listened to is more than 10S, then it is assumed that current speech identifies engine net
Network failure is, it is necessary to rejudge the network state of above-mentioned each speech recognition engine.
S324:Monitor the 3rd echo message that multiple specified engines feed back respectively according to above-mentioned second heartbeat packet and right
The chronological order answered.
S325:Specified engine corresponding to according to the chronological order and being initially received above-mentioned 3rd echo message is established
Connection.
Such as the speech recognition class engine rejudged the second engine (such as:IBM speech recognition engines) it is network-like
State is preferable, then is connected with IBM speech recognition engines.The present invention by with the finger that is initially received corresponding to above-mentioned 3rd echo message
It is the second engine to determine engine definitions.
With reference to Fig. 4, the method for the connection engine of another embodiment of the present invention, the present embodiment will be initially received described first
The corresponding specified engine definitions of echo message are the first engine, after step S32, are further included:
S326:The 3rd heartbeat packet is sent respectively to multiple above-mentioned specified engines at the same time again according to second scheduled time.
Such as:Second scheduled time was half an hour or 1 hour, and the second pre- timing is controlled by translator server
Between.The present embodiment refers to during normally use is connected with the first engine of speech recognition class engine, can separated in time weight
The Network status of above-mentioned each engine of speech recognition class is newly judged, to replace the more preferable speech recognition engine of Network status in time.
S327:Receive the 4th echo message that multiple above-mentioned specified engines are fed back respectively according to above-mentioned 3rd heartbeat packet;
S328:Analyze the corresponding chronological order of multiple 4th echo messages received;
S329:According to the chronological order analysis be initially received above-mentioned 4th echo message corresponding to specified engine with
Whether above-mentioned first engine is identical, wherein, it is initially received the specified engine corresponding to the 4th echo message and draws for the 3rd
Hold up.
By analysis, if above-mentioned 3rd engine and above-mentioned first engine are identical engine, or engine differs, but the
Four echo message feedback times are identical, then the Network status of the first engine is still best, continue to connect the first engine.
S330:If differing, above-mentioned 3rd engine is switched to by above-mentioned first engine.
If differing, illustrate that the Network status of the 3rd engine is better than the first engine, then switch the first engine currently connected
To more preferable 3rd engine of Network status, to further improve translation efficiency.
With reference to Fig. 5, the method for the connection engine of yet another embodiment of the invention, after step S30, including:
S301:If it is determined that it is then to establish and connect with above-mentioned default setting engine.
Exist in the present embodiment in translator by the default default setting engine of translator server.If it is determined that receive silent
The first echo message that engine feedback is set is recognized, to judge current translator whether in the coverage of default setting engine.
If receiving the first echo message of default setting engine feedback in the present embodiment, even if the first of default setting engine feedback
Echo message is not initially received, it is also preferred that being connected with default setting engine, to further conform to user's use habit, is carried
High user experience.
With reference to Fig. 6, further, the method for the connection engine of yet another embodiment of the invention, before step S30, including:
S302:Monitor the frequency of use of multiple above-mentioned specified engines.
Frequency of use includes access times monthly or access times weekly.
S303:Screen the highest specified engine of above-mentioned frequency of use.
Such as:The highest HKUST News speech recognition engine monthly to use 2 times using 10 times or weekly of frequency of use.
S304:If more than it is above-mentioned default setting engine to set the highest specified engine of above-mentioned frequency of use.
The present embodiment sets default setting engine according to frequency of use, with the use demand being further close to the users.
With reference to Fig. 7, the method for the connection engine of further embodiment of this invention, before step S30, further includes:
S305:Analyze user's history engine use information.
User's history engine use information includes history translation custom in this step, such as, commonly using Chinese-English translation, in
Method translation, often matched engine, each engine use the usage records such as duration, cost of use.
S306:Above-mentioned default setting engine is set according to above-mentioned history engine use information.
This step refers to according to after the progress depth analysis study of the use habit of user, and further setting meets user and uses habit
Used default setting engine, so that the function of the intelligent switch engine of translator progress more meets the use demand of user, raising makes
With experience.
With reference to Fig. 8, the method for the connection engine of further embodiment of this invention, before step S30, further includes:
S307:Analysis engine handles the application feature information of data.
Language that application feature information in this step includes each engine is supportive, translation efficiency, accuracy and expense
The application feature information such as standard.Such as the preferred high speech recognition class engine of recognition accuracy;Turned over it is preferred that translation accuracy is strong
Translate class engine;Synthesize the phonetic synthesis class engine that voice compactness is high and expense is low.Application feature information can be drawn by third party
The official website network data held up obtains, such as supportive by engine attributive analysis language;With the user of collection to translating accuracy
Accreditation scoring be used as accuracy reference analysis accuracy.
S308:Above-mentioned default setting engine is set according to above application condition information.
Citing ground, translator use HKUST News voice in two months to the application feature information of server feedback for user
Identify the recognition accuracy highest of engine;The translation efficiency highest of Baidu's translation engine;The synthesis accuracy rate of IBM Compositing Engines is most
It is high;Each default setting engine of translator is then set by above application condition information.
With reference to Fig. 9, the device of the connection engine of one embodiment of the invention, is integrated on terminal device, including:
First sending module 1, for sending the first heartbeat packet respectively to multiple specified engines at the same time.
In the embodiment of the present invention, terminal device is by taking translator as an example.The server of translator is advance in the embodiment of the present invention
Multiple specified engines of function of the same race are sent to translator, such as:Engine in the present embodiment includes speech recognition class engine, turns over
The engine classification of three kinds of functions of class engine and phonetic synthesis class speech engine is translated, each engine classification corresponds to respective more respectively
A specified engine, for example, speech recognition class engine includes HKUST News speech recognition engine, Microsoft's speech recognition engine, IBM languages
Sound identification engine, Baidu's speech recognition engine, Google's speech recognition engine, Kingsoft speech recognition engine etc.;Translation engine includes:
Baidu's translation engine, Google's translation engine, IBM translation engines, HKUST News translation engine etc.;Speech synthesis engine includes:Hundred
Spend speech synthesis engine, Google's speech synthesis engine, IBM speech synthesis engines, HKUST News speech synthesis engine etc..This implementation
The engine classification of three kinds of functions makes choice connection according to the network state of corresponding multiple specified engines respectively in example.Than
Such as, translator is when selecting speech recognition engine, can by the first sending module 1 at the same time to HKUST News speech recognition engine,
Microsoft's speech recognition engine, IBM speech recognition engines, Baidu's speech recognition engine, Google's speech recognition engine, Kingsoft voice are known
Other engine etc. sends the first heartbeat packet to judge the network state of each third party's engine.
First receiving module 2, fed back respectively according to above-mentioned first heartbeat packet for receiving multiple specified engines
One echo message.
Such as above-mentioned HKUST News speech recognition engine, Microsoft's speech recognition engine, IBM speech recognition engines, Baidu's language
After sound identification engine, Google's speech recognition engine, Kingsoft speech recognition engine etc. receive the first heartbeat packet, fed back to translator
First echo message is so that translator is by 2 first echo message of the first receiving module, according to receiving the first echo message
Sequencing judges the network state of each third party's engine, and the network state being initially received is best.
Selecting module 3, for selecting corresponding engine to be attached according to first echo message and preset rules.
Can individually it be selected by selecting module 3 according to the engine classification of different functions in the present embodiment.Such as voice
Identify that the network state of the winged speech recognition engine of engine Chinese University of Science and Technology news is optimal, then select HKUST News speech recognition engine;Translation
The network state of Baidu's translation engine is optimal in engine, then selects Baidu's translation engine;IBM phonetic syntheses in speech synthesis engine
The network state of engine is optimal, then selects IBM speech synthesis engines.
Reference Figure 10, further, the selecting module 3 of one embodiment of the invention, including:
First judging unit 30, for judging whether to receive first echo message of default setting engine feedback.
First analytic unit 31, for if it is determined that no, then analyzing multiple specified engines and feeding back respectively described first time
Answer the chronological order of information;
First establishes unit 32, for corresponding with being initially received first echo message according to above-mentioned chronological order
Engine is specified to establish connection.
The above-mentioned preset rules of the present embodiment include judging whether that receiving default setting draws by the first judging unit 30
The first echo message held up, selects to be connected with default setting engine if receiving;It is single by the first analysis if not receiving
The precedence that member 31 compares the first echo message for receiving other engine feedbacks, then by first establish unit 32 with most
The engine link of the first echo message is first received, the first echo message of feedback is reached translator by the embodiment of the present invention at first
Definition be the first engine.First in the embodiment of the present invention for ease of statement, does not limit, and elsewhere first, the
2nd, the three, 4th etc. is also identical, does not repeat.
With reference to Figure 11, further, the selecting module 3 of one embodiment of the invention, further includes
Second transmitting element 320, for sending monitoring heartbeat packet to first engine according to first scheduled time.
Such as first the scheduled time for 15min, 30min etc., preset by the server of translator.This implementation
Example is described in detail exemplified by selecting connection speech recognition class engine.
First monitoring unit 321, is responded for monitoring first engine is fed back according to above-mentioned monitoring heartbeat packet second
The first of information responds duration.
First response duration is monitored by monitoring unit 321 to judge the first engine of speech recognition class currently connected
(such as:HKUST News speech recognition engine) network state, to avoid influenced during use because of network failure translation effect
Rate.
Second judging unit 322, for judging whether the first response duration is more than preset value.
For example preset value is 10S or 15S.
3rd transmitting element 323, for if it is determined that being then to send second respectively to multiple specified engines at the same time again
Heartbeat packet.
For example preset value is set as 10S, the response duration listened to is more than 10S, then it is assumed that current speech identifies engine net
Network failure, it is necessary to multiple specified engines send the second heartbeat packet respectively at the same time again by the 3rd transmitting element 323, with
Rejudge the network state of above-mentioned each speech recognition engine.
Second monitoring unit 324, feeds back for monitoring multiple specified engines respectively according to above-mentioned second heartbeat packet
The chronological order of 3rd echo message;.
Second establishes unit 325, for corresponding with being initially received the 3rd echo message according to above-mentioned chronological order
Specified engine establish connection.
Such as the speech recognition class engine rejudged the second engine (such as:IBM speech recognition engines) it is network-like
State is preferable, then establish unit 325 by second is connected with IBM speech recognition engines.
With reference to Figure 12, the selecting module 3 of another embodiment of the present invention, further includes:
4th transmitting element 326, for being sent out respectively to multiple specified engines at the same time again according to second scheduled time
Send the 3rd heartbeat packet.
Such as:Second scheduled time was half an hour or 1 hour, and the second pre- timing is controlled by translator server
Between.The present embodiment refers to during normally use is connected with the first engine of speech recognition class engine, can be sent by the 4th single
First 326 separated in time rejudge the Network status of above-mentioned each engine of speech recognition class, to replace Network status in time
More preferable speech recognition engine.
3rd receiving unit 327, feeds back for receiving multiple specified engines respectively according to the 3rd heartbeat packet
4th echo message.
Time series analysis unit 328, for analyzing the corresponding chronological order of multiple 4th echo messages received;
Second analytic unit 329, corresponding to being initially received the 4th echo message according to chronological order analysis
Specified engine and first engine it is whether identical, wherein, be initially received corresponding to the 4th echo message specify
Engine is the 3rd engine.
Analyzed by the second analytic unit 329, if above-mentioned 3rd engine is identical with above-mentioned first engine, the first engine
Network status is still best, continues to connect the first engine.
Switch unit 330, if for the 3rd engine and the different engine of the first engine, or engine not phase
Together, but the 4th echo message feedback time is identical, then switches to the 3rd engine by first engine.
If being analyzed by the second analytic unit 329, above-mentioned 3rd engine is differed with above-mentioned first engine, illustrates that the 3rd draws
The Network status held up is better than the first engine, then switches the first engine currently connected by switch unit 330 to Network status more
3rd engine, to further improve translation efficiency.
Reference Figure 13, the selecting module 3 of yet another embodiment of the invention, including:
3rd establishes module 301, for if it is determined that receiving the first echo message of the default setting engine feedback, then
Establish and connect with the default setting engine.
Exist in the present embodiment in translator by the default default setting engine of translator server.If the first judging unit
Whether 30 judge to receive the first echo message of default setting engine feedback, to judge current translator in default setting engine
Coverage in.If the first echo message of default setting engine feedback is received, even if default setting in the present embodiment
First echo message of engine feedback is not initially received, and is drawn it is also preferred that establishing module 301 by the 3rd with default setting
Connection is held up, to further conform to user's use habit, improves user experience.
Reference Figure 14, further, the selecting module 3 of yet another embodiment of the invention, including:
Monitoring unit 302, for monitoring the frequency of use of multiple specified engines.
Frequency of use includes access times monthly or access times weekly.
Screening unit 303, for screening the highest specified engine of the frequency of use.
Such as:The highest HKUST News speech recognition engine monthly to use 2 times using 10 times or weekly of frequency of use.
First setting unit 304, is the default setting engine for being set using the highest specified engine of frequency.
The present embodiment by the first setting unit 304 according to frequency of use set default setting engine, with further close to
The use demand of user.
With reference to Figure 15, the selecting module 3 of further embodiment of this invention, further includes:
3rd analytic unit 305, for analyzing user's history engine use information.
User's history engine use information includes history translation custom in the present embodiment, such as, commonly using Chinese-English translation,
Middle method translation, often matched engine, each engine use the usage records such as duration, cost of use.
Second setting unit 306, for setting the default setting engine according to the history engine use information.
After depth analysis study being carried out in the present embodiment according to the use habit of user by the second setting unit 306, into
One step sets the default setting engine for meeting user's use habit, and the function that intelligent switch engine is carried out so as to translator more meets
The use demand of user, improves usage experience.
With reference to Figure 16, the selecting module 3 of further embodiment of this invention, further includes:
4th analytic unit 307, the application feature information for analysis engine processing data.
Language that application feature information in the present embodiment includes each engine is supportive, translation efficiency, accuracy and takes
With the application feature information such as standard.Such as the preferred high speech recognition class engine of recognition accuracy;It is preferred that translation accuracy is strong
Translate class engine;Synthesize the phonetic synthesis class engine that voice compactness is high and expense is low.Application feature information can pass through third party
The official website network data of engine obtains, such as supportive by engine attributive analysis language;It is accurate to translating with the user of collection
The accreditation scoring of degree is used as accuracy reference analysis accuracy.
3rd setting unit 308, for setting the default setting engine according to the application feature information.
Citing ground, translator use HKUST News voice in two months to the application feature information of server feedback for user
Identify the recognition accuracy highest of engine;The translation efficiency highest of Baidu's translation engine;The synthesis accuracy rate of IBM Compositing Engines is most
It is high;All kinds of default setting engines of translator are then set respectively by above application condition information by the 3rd setting unit 308.
The embodiment of the present invention is according to the use habit of user or by judging that the network state of different specified engines is selected automatically
Select suitable third party's engine to be attached, and the speech recognition class engine of the translator of the embodiment of the present invention, translation class are drawn
Hold up and phonetic synthesis class engine is according to independent demand of all categories, make choice respective conjunction in multiple third party's engines respectively
Suitable third party's engine is attached, and monitoring and Engine-Network connection status in use, in time according to Engine-Network
State is targetedly switched, and realizes the function of real time translation, improves translation efficiency.
The foregoing is merely the preferred embodiment of the present invention, is not intended to limit the scope of the invention, every utilization
The equivalent structure or equivalent flow shift that description of the invention and accompanying drawing content are made, it is related to be directly or indirectly used in other
Technical field, be included within the scope of the present invention.