CN102314374A - Input method for preventing target process from being broken down and equipment - Google Patents

Input method for preventing target process from being broken down and equipment Download PDF

Info

Publication number
CN102314374A
CN102314374A CN2010102166821A CN201010216682A CN102314374A CN 102314374 A CN102314374 A CN 102314374A CN 2010102166821 A CN2010102166821 A CN 2010102166821A CN 201010216682 A CN201010216682 A CN 201010216682A CN 102314374 A CN102314374 A CN 102314374A
Authority
CN
China
Prior art keywords
input method
core processing
target process
processing process
keystroke sequence
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
CN2010102166821A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2010102166821A priority Critical patent/CN102314374A/en
Publication of CN102314374A publication Critical patent/CN102314374A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an input method for preventing a target process from being broken down and input equipment. The method comprises the following steps of: running a target process on user equipment, wherein an input method interface is embedded in the target process and detects the sequence of press keys entered by a user under the target process; sending the detected press key sequence into an input method core processing process from the target process, wherein the input method core processing process processes the press key sequence; returning the processing result to the input method interface from the input method core processing process; and displaying the processing result on an interface of the target process. The method and the equipment have the advantages that: the input method core processing process is separated from the target process, so when the input method core processing process is broken down, the target process is not affected, the aftereffect of data loss caused when the target process abnormally exits because the input method core processing process is broken down is avoided, and the inconvenience caused when a user is required to re-start the target process is avoided.

Description

A kind of input method and equipment that prevents the target process collapse
Technical field
The present invention relates to input method field, relate in particular to a kind of input method and equipment that prevents the target program collapse.
Background technology
In the prior art, when the user moved a target process, input method manager will load input method in target process, and target process obtains the relevant information of input method through the input method interface then.When input method self exists defective or input method to conflict with target process or switches input method or the user carries out the input method dictionary under the situation such as complex operations; All might cause the user when certain target process of operation, input method produces unusual collapse suddenly.In case input method collapse, target process also can correspondingly be affected and cause collapse, thereby bring many inconvenience to the user, even serious consequence.For example, when the user when using the Word Edit Document, if the input method process occurs unusual suddenly and collapses; Cause the Word process that under the state of not preserving, quits a program; Will cause loss of user data, at this moment, the user not only will open the Word program again; Also to edit again, thereby cause user's unnecessary loss and repetitive operation.
In order to address the above problem, need provide a kind of when input method is collapsed, can prevent the input method of target process collapse effectively.
Summary of the invention
The purpose of this invention is to provide a kind of input method and equipment of preventing the target program collapse that addresses the above problem.
According to an aspect of the present invention, a kind of input method that prevents the target program collapse is provided, this method may further comprise the steps:
Operational objective process on subscriber equipment is embedded with the input method interface in the said target process;
Said input method interface detects the keystroke sequence that the user imports under said target process;
Detected keystroke sequence is sent to input method core processing process from said target process;
Said input method core processing process is handled said keystroke sequence;
Result is turned back to said input method interface from said input method core processing process;
In the said result of the interface display of said target process.
According to another aspect of the present invention, a kind of input equipment that prevents the target program collapse is provided also, has comprised:
The target process device that on subscriber equipment, moves;
Be used for detecting and send keystroke sequence that the user imports and the input method interface arrangement that is embedded in said target process device under said target process;
Be used to receive keystroke sequence from said input method interface arrangement, and the input method core processing process device that said keystroke sequence is handled, said input method core processing process device turns back to said input method interface arrangement with result; And
Be used for device in the said result of interface display of said target process device.
Compared with prior art; The present invention has the following advantages: input method core processing process and target process are separated from each other; When the core processing process of input method was collapsed, target process was not affected, and still can normally move; Avoided because the collapse of input method process causes the improper consequence that withdraws from the loss of data that is produced of target process, and needed the user to rerun the inconvenience that target process brings.
Description of drawings
Through reading the detailed description of doing with reference to following accompanying drawing that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is for prevent the process flow diagram of the input method that target program collapses according to an embodiment of the invention;
The process flow diagram that Fig. 2 handles keystroke sequence for input method core processing process in accordance with a preferred embodiment of the present invention;
The process flow diagram of Fig. 3 for keystroke sequence being handled according to the input method core processing process of another preferred embodiment of the present invention;
The process flow diagram that Fig. 4 handles keystroke sequence for the input method core processing process of another preferred embodiment according to the present invention; And
Fig. 5 is for prevent the block scheme of the input equipment that target program collapses according to an embodiment of the invention.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
More than specific embodiment of the present invention is described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the appended claims.
Fig. 1 is for prevent the process flow diagram of the input method that target program collapses according to an embodiment of the invention.As shown in the figure, in step S101, the user is the operational objective process on its equipment, is embedded with the input method interface in the said target process.Wherein, said equipment includes but not limited to computing machine, server, mobile phone and PDA; Said target process comprises can input text, image or multimedia Any Application; Said input method is interface embedded in target process, and when target process brought into operation, the input method interface was called simultaneously.
In step S102, said input method interface detects the keystroke sequence of input under said target process.Wherein, can also can import through the dummy keyboard on the user device screen through the physical keyboard of subscriber equipment, said keystroke sequence can be the Pinyin coding sequence, also can be the stroke coding sequence.
In step S103, detected keystroke sequence is sent to input method core processing process from said target process.Wherein, detected said Pinyin coding sequence or stroke coding sequence send to said input method core processing process through the input method interface.
Then, execution in step S104, said input method core processing process is handled said keystroke sequence.After said input method core processing process is received said Pinyin coding sequence or stroke coding sequence, said Pinyin coding sequence or stroke coding sequence are retrieved in the dictionary memory storage of subscriber equipment.
In step S105, result is turned back to said input method interface from said input method core processing process.Said input method core processing process provides corresponding result according to the situation of retrieval, turns back to said input method interface, and said then input method interface offers target process with said result.
In step S106,, supply with the user and select and import in the said result of the interface display of said target process.
The process flow diagram that Fig. 2 handles keystroke sequence for input method core processing process in accordance with a preferred embodiment of the present invention.As shown in the figure; Forward step S201 behind the step S103 in Fig. 1 to; Said input method core processing process is retrieved in the dictionary memory storage of subscriber equipment based on said keystroke sequence, and is obtained one or more matched candidate speech after receiving the said keystroke sequence that the user imports.
In step S202, described one or more candidate word is turned back to the input method interface from said input method core processing process.
In step S203, said one or more candidate word that said input method interface will receive offers said target process.
Processing when the process flow diagram of Fig. 3 for keystroke sequence being handled according to the input method core processing process of another preferred embodiment of the present invention, its and preferred embodiment difference shown in Figure 2 are that describing said input method core processing process occurs collapsing.Among the step S104 behind the step S103 of Fig. 1, when said input method core processing process is retrieved in the dictionary memory storage of subscriber equipment keystroke sequence, occur causing said input method core processing process collapse (step S301) unusually.Cause the reason of said input method core processing process collapse exist multiple maybe, such as, dictionary self existing problems, the perhaps excessive input method stability decreases that causes of dictionary, perhaps dictionary has with the target process of the current operation of user and conflicts, or the like.Said input method core processing process can be sent an error message usually when collapse takes place.
In step S302, error message is turned back to said input method interface from said input method core processing process.
In step S303, said input method core processing process restarts after sending error message, can certainly manually restart input method by the user;
In step S304, said input method interface and said target process be normally operation still, and said input method interface directly offers said target process with said keystroke sequence after receiving said error message.This keystroke sequence can be directly inputted on the user interface of target process without selecting the speech step.At this moment, can provide an information and represent that input method collapses, under the situation of necessity, restart this input method by the user.Because input method kernel process and input method interface are separated, so the collapse of input method kernel process can not cause the collapse of input method interface, can not attach the collapse that causes target process yet.
The process flow diagram that Fig. 4 handles keystroke sequence for the input method core processing process of another preferred embodiment according to the present invention; After itself and preferred embodiment difference shown in Figure 3 were that collapse appears in said input method core processing process, said input method interface did not receive the situation of error message.In step S401, when said input method core processing process is retrieved in the dictionary memory storage of subscriber equipment keystroke sequence, occur unusually, cause said input method core processing process collapse.
In step S402, said input method core processing process restarts, and can certainly manually restart input method by the user.
In step S403, said input method interface is not received feedback in the schedule time after said input method core processing process is sent keystroke sequence.The reason that causes this situation to occur possibly be because said input method core processing process fails in time to see off error message when collapse; Also possibly be because error message fails in time to arrive said input method interface in the given time; Make said input method interface think that feedback information loses, abandon waiting for.
In step S404, said input method interface and said target process be normally operation still, and said input method interface directly offers said target process with said keystroke sequence and is used for input.This keystroke sequence can be directly inputted on the user interface of target process without selecting the speech step.At this moment, can provide an information and represent that input method collapses, under the situation of necessity, restart this input method by the user.Because input method kernel process and input method interface are separated, so the collapse of input method kernel process can not cause the collapse of input method interface, can not attach the collapse that causes target process yet.
Fig. 5 is for prevent the block scheme of the input equipment that target program collapses according to an embodiment of the invention.As shown in the figure, the user is operational objective process device 503 on subscriber equipment 50, and said target process device 503 comprises can input text, image or multimedia any application, for example, and various edit routines such as WORD, EXECL, POWERPOINT; Subscriber equipment 50 also comprises the input method interface arrangement 502 that is embedded in the said target process device 503, and when said target process device 503 brought into operation, said input method interface arrangement 502 was called simultaneously.
The user is through input media 501 input keystroke sequences, and wherein, said input media 501 can be the physical keyboard of subscriber equipment 50, also can be the dummy keyboard on subscriber equipment 50 screens; Said keystroke sequence can be the Pinyin coding sequence, also can be the stroke coding sequence.
After said input method interface arrangement 502 detects said keystroke sequence, said keystroke sequence is sent to input method core processing device 504; Said input method core processing device process 504 comprises said dictionary memory storage 505; Said input method core processing process device 504 is retrieved in the dictionary memory storage 505 of subscriber equipment 50 based on said keystroke sequence.
If the retrieval back obtains one or more matched candidate speech, then said candidate word is turned back to input method interface arrangement 502 from said input method core processing process device 504; Said input method interface arrangement 502 offers said target process device 503 with the candidate word that is received, and through display device 506 said candidate word is offered the user and selects and import.
If produce unusual in the retrieving; When collapse takes place in said input method core processing process device 504; Said input method core processing process device 504 will send an error message to said input method interface arrangement 502; Said then input method core processing process device 504 restarts, at this moment, and said input method interface arrangement 502 and said target process device 503 still normally operation; After said input method interface arrangement 502 is received said error message, directly said keystroke sequence is offered said target process device 503.
If produce unusual in the retrieving; When collapse takes place in said input method core processing process device 504; Said input method core processing process device 504 fails in time to send an error message to said input method interface arrangement 502; Perhaps error message fails in time arrive said input method interface arrangement 502 in the schedule time at said input method interface arrangement 502 after said input method core processing process device 504 sends keystroke sequence; 502 of said input method interface arrangements think that feedback information loses, and abandon waiting for, at this moment; Said input method interface arrangement 502 and said target process device 503 still normally operation, said input method interface arrangement 502 directly offers said target process device 503 with said keystroke sequence.Because input method kernel process device and input method interface arrangement are separated, so the collapse of input method kernel process device can not cause the collapse of input method interface arrangement, can not attach the collapse that causes the target process device yet.That is to say that the target process device can not cause withdrawing from unusually because of the collapse of input method core processing process device.
More than specific embodiment of the present invention is described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the appended claims.

Claims (18)

1. input method that prevents target process collapse, this method may further comprise the steps:
Operational objective process on subscriber equipment is embedded with the input method interface in the said target process;
Said input method interface detects the keystroke sequence that the user imports under said target process;
Detected keystroke sequence is sent to input method core processing process from said target process;
Said input method core processing process is handled said keystroke sequence;
Result is turned back to said input method interface from said input method core processing process;
In the said result of the interface display of said target process.
2. method according to claim 1, wherein:
Said target process comprises can input text, image or multimedia Any Application.
3. method according to claim 1 and 2, the keystroke sequence that is wherein detected is from physical keyboard or dummy keyboard.
4. method according to claim 1 and 2, wherein said keystroke sequence are Pinyin coding sequence or stroke coding sequence.
5. method according to claim 1 and 2, wherein said keystroke sequence is provided in the said target process through the input method interface that is embedded in the said target process.
6. method according to claim 1 and 2, wherein:
After said input method core processing process is received the said keystroke sequence from said input method interface, in dictionary, retrieve candidate word, then said candidate word is turned back to the input method interface from said input method core processing process based on said keystroke sequence;
Said input method interface offers said target process with the candidate word that is received, and supplies the user to select and input.
7. method according to claim 1 and 2, wherein:
When collapse takes place said input method core processing process, error message is turned back to said input method interface from said input method core processing process;
Said input method core processing process restarts;
After said input method interface is received said error message, directly said keystroke sequence is offered said target process.
8. method according to claim 1 and 2, wherein:
When said input method interface is not received feedback in the schedule time after said input method core processing process is sent keystroke sequence, directly said keystroke sequence is offered said target process and be used for input.
9. method according to claim 1 and 2, wherein:
When collapse took place said input method core processing process, said target process and input method interface is normally operation still.
10. input equipment that prevents target process collapse comprises:
The target process device that on subscriber equipment, moves;
Be used for detecting and send keystroke sequence that the user imports and the input method interface arrangement that is embedded in said target process device under said target process;
Be used to receive keystroke sequence from said input method interface arrangement, and the input method core processing process device that said keystroke sequence is handled, said input method core processing process device turns back to said input method interface arrangement with result; And
Be used for device in the said result of interface display of said target process device.
11. equipment according to claim 10, wherein
Said target process device comprises can input text, image or multimedia any application.
12. according to claim 10 or 11 described equipment, the keystroke sequence that is wherein detected is from physical keyboard or dummy keyboard.
13. according to claim 10 or 11 described equipment, wherein said keystroke sequence is Pinyin coding sequence or stroke coding sequence.
14. according to claim 10 or 11 described equipment, wherein said input method interface arrangement is provided to keystroke sequence in the said target process device.
15. according to claim 10 or 11 described equipment, wherein:
Said input method core processing process device comprises the dictionary memory storage;
Said input method core processing process device is behind the said keystroke sequence of receiving from said input method interface arrangement; In said dictionary memory storage, retrieve candidate word based on said keystroke sequence, then said candidate word is turned back to the input method interface arrangement from said input method core processing process device;
Said input method interface arrangement offers said target process device with the candidate word that is received, and supplies the user to select and input.
16. according to claim 10 or 11 described equipment, wherein
When collapse takes place said input method core processing process device, error message is turned back to said input method interface arrangement from said input method core processing process device;
Said input method core processing process device restarts;
After said input method interface arrangement is received said error message, directly said keystroke sequence is offered said target process device.
17. according to claim 10 or 11 described equipment, wherein
When said input method interface arrangement is not received feedback in the schedule time after said input method core processing process device sends keystroke sequence, directly said keystroke sequence is offered said target process device and be used for input.
18. according to claim 10 or 11 described equipment, wherein:
When collapse took place said input method core processing process device, said target process device and input method interface arrangement be normally operation still.
CN2010102166821A 2010-06-30 2010-06-30 Input method for preventing target process from being broken down and equipment Pending CN102314374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102166821A CN102314374A (en) 2010-06-30 2010-06-30 Input method for preventing target process from being broken down and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102166821A CN102314374A (en) 2010-06-30 2010-06-30 Input method for preventing target process from being broken down and equipment

Publications (1)

Publication Number Publication Date
CN102314374A true CN102314374A (en) 2012-01-11

Family

ID=45427565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102166821A Pending CN102314374A (en) 2010-06-30 2010-06-30 Input method for preventing target process from being broken down and equipment

Country Status (1)

Country Link
CN (1) CN102314374A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681891A (en) * 2012-05-04 2012-09-19 奇智软件(北京)有限公司 Process control method and device for browser input control
CN104932710A (en) * 2015-06-18 2015-09-23 上海嵩恒网络科技有限公司 Plug-in input method and plug-in input system
CN111385251A (en) * 2018-12-28 2020-07-07 武汉斗鱼网络科技有限公司 Method, system, server and storage medium for improving operation stability of client

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155118A (en) * 1995-11-24 1997-07-23 三星电子株式会社 Program-controlled execution and display method
US20050088421A1 (en) * 1997-12-16 2005-04-28 Microsoft Corporation Soft input panel system and method
CN1740983A (en) * 2004-08-25 2006-03-01 埃沃列姆公司 Process management system
CN101227630A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method for monitoring application program based on window platform
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101583022A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Method for playing video monitoring client terminal and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155118A (en) * 1995-11-24 1997-07-23 三星电子株式会社 Program-controlled execution and display method
US20050088421A1 (en) * 1997-12-16 2005-04-28 Microsoft Corporation Soft input panel system and method
CN1740983A (en) * 2004-08-25 2006-03-01 埃沃列姆公司 Process management system
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101227630A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method for monitoring application program based on window platform
CN101583022A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Method for playing video monitoring client terminal and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
夏维: "基于XIM协议的汉字输入机制研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》 *
胡宇晓等: "基于IMM_IME输入法接口的实现方法", 《计算机工程与应用》 *
谢谦等: "中文Linux输入法引擎标准研究", 《计算机研究与发展》 *
韩卓平等: "基于Symbian的智能手机中文输入法的设计", 《计算机应用与软件》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681891A (en) * 2012-05-04 2012-09-19 奇智软件(北京)有限公司 Process control method and device for browser input control
CN102681891B (en) * 2012-05-04 2015-09-09 北京奇虎科技有限公司 A kind of course control method of browser input control and device
CN105068866A (en) * 2012-05-04 2015-11-18 北京奇虎科技有限公司 Process control method and device for browser input control
CN104932710A (en) * 2015-06-18 2015-09-23 上海嵩恒网络科技有限公司 Plug-in input method and plug-in input system
CN111385251A (en) * 2018-12-28 2020-07-07 武汉斗鱼网络科技有限公司 Method, system, server and storage medium for improving operation stability of client

Similar Documents

Publication Publication Date Title
US8923507B2 (en) Alpha character support and translation in dialer
AU2014327147B2 (en) Quick tasks for on-screen keyboards
CN102830924B (en) A kind of method and device adjusting entering method keyboard
CN101876878A (en) Word prediction input system and method
US8826167B2 (en) Letter input method and apparatus of portable terminal
US20150248386A1 (en) Method, device, and terminal equipment for enabling intelligent association in input method
US9256352B2 (en) Touch screen terminal and method for locating electronic document thereof
CN103678307A (en) Page display method and client-side
CN102486778A (en) Mobile phone browser and mobile phone browser-based search engine switching method
US9075866B2 (en) System and method for providing search keyword list
US20150379138A1 (en) Method and apparatus for processing input information
CN102135812B (en) Method and device for inputting polyphonic Chinese characters
CN104111728A (en) Electronic device and voice command input method based on operation gestures
CN106843915A (en) A kind of firmware switching method and apparatus
CN102314374A (en) Input method for preventing target process from being broken down and equipment
CN105573757A (en) Language updating method and device of Android system
CN102937858B (en) The method of text event detection and electronic equipment
CN112286485A (en) Method and device for controlling application through voice, electronic equipment and storage medium
US20150186456A1 (en) Electronic apparatus and method of executing application program
CN102945284A (en) Method and device for obtaining status of search engine and browser
CN103472991A (en) Method, equipment and system for adding contacts
CN102014199A (en) Information display method and terminal
WO2016107611A1 (en) Method and device for text search for mobile terminal
US20180039796A1 (en) Method for Hiding Personal Information on Call Screen, and Device
JP2015022554A (en) Data processing device, data processing program, database system, communication control device, and network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120111