CN102929485B - A kind of characters input method and device - Google Patents
A kind of characters input method and device Download PDFInfo
- Publication number
- CN102929485B CN102929485B CN201210425018.7A CN201210425018A CN102929485B CN 102929485 B CN102929485 B CN 102929485B CN 201210425018 A CN201210425018 A CN 201210425018A CN 102929485 B CN102929485 B CN 102929485B
- Authority
- CN
- China
- Prior art keywords
- text
- character
- edit box
- record
- text edit
- 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.)
- Active
Links
Landscapes
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention is applicable to input method technique field, provides a kind of characters input method and device, and described method comprises: when listening to user and carry out deletion action in text edit box, record the text in described text edit box; Delete the N number of character in described text edit box according to described deletion action, described N be more than or equal to 1 integer; Detect user and whether input default gesture; When detecting that user inputs described default gesture, recover the character of described deletion action deletion according to the text in the described text edit box of record.In the present invention, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, the text in pre-recorded text edit box, makes user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase text editing speed.
Description
Technical field
The invention belongs to input method technique field, particularly relate to a kind of characters input method and device.
Background technology
Along with the develop rapidly of mobile terminal intellectualized technology, mobile terminal of touch screen relies on the advantages such as its workable and screen size is large, replaces traditional keyboard-type mobile terminal at present gradually, becomes the market mainstream.
When existing mobile terminal content in text edit box is deleted, delete key rollback is mostly used to process.But to delete multiple character, because user needs adopting consecutive click chemical reaction delete key, therefore easily the situation of one or more character is deleted in generation, causes user to need the content to deleting by mistake to re-start input, affects text editing speed by mistake.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of characters input method, and being intended to solve user in prior art needs to re-start input to deleting content by mistake, affect text editing speed problem.
The embodiment of the present invention is achieved in that a kind of characters input method, comprising:
When listening to user and carry out deletion action in text edit box, record the text in described text edit box;
Delete the N number of character in described text edit box according to described deletion action, described N be more than or equal to 1 integer;
Detect user and whether input default gesture;
When detecting that user inputs described default gesture, recover the character of described deletion action deletion according to the text in the described text edit box of record.
Another object of the embodiment of the present invention is to provide a kind of character entry apparatus, comprising:
Text entry unit, for when listening to user and carry out deletion action in text edit box, records the text in described text edit box;
Character deletion unit, for deleting the N number of character in described text edit box according to described deletion action, described N be more than or equal to 1 integer;
Whether detecting unit, input default gesture for detecting user;
Character recovery unit, for when detecting that user inputs described default gesture, recovers the character of described deletion action deletion according to the text in the described text edit box of record.
In embodiments of the present invention, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, text in pre-recorded text edit box, make user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase the text editing speed of user.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the characters input method that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the characters input method that another embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the characters input method that another embodiment of the present invention provides;
Fig. 4 is the structured flowchart of the character entry apparatus that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, text in pre-recorded described text edit box, make user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase the text editing speed of user.
Fig. 1 shows the realization flow of the characters input method that the embodiment of the present invention provides, and details are as follows:
In step S101, when listening to user and carry out deletion action in text edit box, the text in recording text edit box.
In the present embodiment, can monitor the deletion event of mobile terminal user, when user clicks delete key, then record the content of text in current text edit box, and then carry out character deletion operation.Preferably, when user's adopting consecutive click chemical reaction delete key is deleted, only record is carried out to the content of text in text edit box before first time deletion action.
Such as, input " abcdefghijk " in text edit box, when user clicks delete key first time, oracle listener records current text edit box Chinese version " abcdefghijk " automatically, then delete character " k "; If user continues to click several times delete key, then the content of text recorded remains unchanged, and is still " abcdefghijk ".
In step s 102, delete the N number of character in text edit box according to deletion action, wherein, N be more than or equal to 1 integer.
In the present embodiment, when user clicks the delete key of a mobile terminal, then correspondingly delete a character in text edit box, if the delete key of user's adopting consecutive click chemical reaction N mobile terminal, then correspondingly delete the N number of character in text edit box.
In step s 103, detect user and whether input default gesture.
In the present embodiment, when user need delete several or multiple character, due to needs adopting consecutive click chemical reaction delete key, therefore easily the situation of one or more character is deleted in generation by mistake, therefore can judge the need of the content undeleted user by presetting gesture.Such as, when user makes default gesture in text edit box, then judge to recover the content of deleting.Wherein, default gesture can be system default, also can be User Defined.As a realization example of the present invention, when 2/3 distance of user's at least slip edit box width from left to right in text edit box, and sliding trace do not exceed edit box outer time, can judge that user needs the content to deleting to recover.
In step S104, when detecting that user inputs described default gesture, recover the character of described deletion action deletion according to the text in the text edit box of record.
In the present embodiment, after detecting and making default gesture in the screen of user at mobile terminal, according to the content of text recorded in step S101, the character deleted is recovered.
Pass through above-mentioned steps, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, text in pre-recorded text edit box, make user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase the text editing speed of user.
When detecting that user inputs default gesture, can the form recovering character be selected.As one embodiment of the present of invention, as shown in Figure 2, in step S105, after detecting that user inputs default gesture, recover the N number of character deleted in step S102 is disposable according to the content of text recorded in step S101.
As an alternative embodiment of the invention, as shown in Figure 3, in step s 106, once gesture is preset whenever detecting that user inputs, then according to the content of text recorded in step S101, successively the N number of character deleted in step S102 is recovered, until N number of character is recovered.
As one embodiment of the present of invention, default gesture comprises slip gesture from left to right, then when user's input once recover N number of character that S102 deletes by default gesture, can according to the content of text recorded in S101, successively the N number of character deleted is recovered, until N number of character is recovered from left to right.
As one embodiment of the present of invention, default gesture comprises the slip gesture of right-to-left, then when user's input once recover N number of character that S102 deletes by default gesture, can according to the content of text recorded in S101, right-to-left recovers, until N number of character is recovered the N number of character deleted successively.
Apparently, except adopt default gesture to the character by mistake deleted in text editing process carry out disposable recovery or successively recover except, can also recover presetting a character by presetting gesture, such as, after deleting N number of character, user often inputs once default gesture and then recovers m character, wherein m is the integer being greater than 1 and being less than N, and its concrete reset mode is not used in restriction the present invention.
In embodiments of the present invention, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, text in pre-recorded text edit box, make user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase the text editing speed of user.
Fig. 4 shows the structured flowchart of the character entry apparatus that the embodiment of the present invention provides, and this device can run on to be possessed in the terminal device of input function, and this terminal device includes but not limited to the equipment such as mobile terminal, computing machine.For convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 4, this device comprises:
Text entry unit 41, when listening to user and carry out deletion action in text edit box, the text in recording text edit box;
Character deletion unit 42, deletes the N number of character in mobile terminal text-editing frame according to the deletion action of user, wherein N be more than or equal to 1 integer;
Detecting unit 43, detects user and whether inputs default gesture;
Character recovery unit 44, after detecting that user inputs default gesture, the character of the operation deletion that undeletes according to the text in the text edit box of record.
Alternatively, character recovery unit 44 is specifically for after detecting that user inputs default gesture, and according to the text in the described text edit box of record, disposable undeleting operates N number of character of deletion.
Alternatively, character recovery unit 44 is specifically for once presetting after gesture whenever detecting that user inputs, and by according to the text in the described text edit box of record, the N number of character undeleted successively, until N number of character is recovered.
Alternatively, default gesture comprises slip gesture from left to right, character recovery unit 44 specifically for according to record text edit box in text, the N number of character undeleted successively from left to right.
Alternatively, default gesture comprises the slip gesture of right-to-left, character recovery unit 44 specifically for according to record described text edit box in text, N number of character that right-to-left undeletes successively.
In embodiments of the present invention, when carrying out deletion action during user is by the text edit box of delete key at mobile terminal, text in pre-recorded text edit box, make user once the content needing to cancel deletion, gesture can be preset by input to recover, substantially increase the text editing speed of user.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a characters input method, is characterized in that, comprising:
When listening to user and carry out deletion action in text edit box, record the text in described text edit box, and when user's adopting consecutive click chemical reaction delete key is deleted, only record is carried out to the content of text in text edit box before first time deletion action;
Delete the N number of character in described text edit box according to described deletion action, described N be more than or equal to 1 integer;
Detect user and whether input default gesture;
When detecting that user inputs described default gesture, recover the character of described deletion action deletion according to the text in the described text edit box of record.
2. the method for claim 1, is characterized in that, described when detecting that user inputs described default gesture, and the character recovering the deletion of described deletion action according to the text in the described text edit box of record comprises:
When detecting that user inputs described default gesture, recover described N number of character of described deletion action deletion according to the text in the described text edit box of record.
3. the method for claim 1, is characterized in that, described when detecting that user inputs described default gesture, and the character recovering the deletion of described deletion action according to the text in the described text edit box of record comprises:
Whenever detecting that user inputs once described default gesture, recover described N number of character successively, until described N number of character is recovered according to the text in the described text edit box of record.
4. method as claimed in claim 3, it is characterized in that, described default gesture comprises slip gesture from left to right, and the text in the described described text edit box according to recording recovers described N number of character successively and comprises:
According to the text in the described text edit box of record, recover described N number of character from left to right successively.
5. method as claimed in claim 3, it is characterized in that, described default gesture comprises the slip gesture of right-to-left, and the text in the described described text edit box according to recording recovers described N number of character successively and comprises:
According to the text in the described text edit box of record, right-to-left recovers described N number of character successively.
6. a character entry apparatus, is characterized in that, comprising:
Text entry unit, for when listening to user and carry out deletion action in text edit box, record the text in described text edit box, and when user's adopting consecutive click chemical reaction delete key is deleted, only record is carried out to the content of text in text edit box before first time deletion action;
Character deletion unit, for deleting the N number of character in described text edit box according to described deletion action, described N be more than or equal to 1 integer;
Whether detecting unit, input default gesture for detecting user;
Character recovery unit, for when detecting that user inputs described default gesture, recovers the character of described deletion action deletion according to the text in the described text edit box of record.
7. device as claimed in claim 6, is characterized in that, described character recovery unit, specifically for when detecting that user inputs described default gesture, recovers described N number of character of described deletion action deletion according to the text in the described text edit box of record.
8. device as claimed in claim 6, it is characterized in that, described character recovery unit, specifically for whenever detecting that user inputs once described default gesture, recovers described N number of character, until described N number of character is recovered successively according to the text in the described text edit box of record.
9. device as claimed in claim 8, it is characterized in that, described default gesture comprises slip gesture from left to right, and described character recovery unit, specifically for according to the text in the described text edit box of record, recovers described N number of character from left to right successively.
10. device as claimed in claim 8, it is characterized in that, described default gesture comprises the slip gesture of right-to-left, and described character recovery unit is specifically for according to the text in the described text edit box of record, and right-to-left recovers described N number of character successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210425018.7A CN102929485B (en) | 2012-10-30 | 2012-10-30 | A kind of characters input method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210425018.7A CN102929485B (en) | 2012-10-30 | 2012-10-30 | A kind of characters input method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102929485A CN102929485A (en) | 2013-02-13 |
CN102929485B true CN102929485B (en) | 2015-11-04 |
Family
ID=47644305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210425018.7A Active CN102929485B (en) | 2012-10-30 | 2012-10-30 | A kind of characters input method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102929485B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5830506B2 (en) * | 2013-09-25 | 2015-12-09 | 京セラドキュメントソリューションズ株式会社 | Input device and electronic device |
CN103645851B (en) * | 2013-10-28 | 2018-04-13 | 北京三星通信技术研究有限公司 | The method and system of input content on the electronic equipment with touch-screen |
CN103558985A (en) * | 2013-11-14 | 2014-02-05 | 华为技术有限公司 | Character recovery method and terminal equipment |
CN104049865B (en) * | 2014-06-19 | 2018-03-27 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104102411B (en) * | 2014-07-17 | 2018-04-20 | 广东欧珀移动通信有限公司 | A kind of method for editing text and text editing apparatus |
CN105677207A (en) * | 2014-11-17 | 2016-06-15 | 浪潮乐金数字移动通信有限公司 | Intelligent mobile phone input information editing method and device |
WO2016106659A1 (en) * | 2014-12-31 | 2016-07-07 | Nokia Technologies Oy | Method, apparatus, computer program product for executing gesture-based command on touch screen |
KR101685891B1 (en) * | 2015-07-21 | 2016-12-13 | 현대자동차주식회사 | Controlling apparatus using touch input and controlling method of the same |
CN105183310A (en) * | 2015-08-26 | 2015-12-23 | 深圳市金立通信设备有限公司 | Information editing method and terminal |
CN105653121B (en) * | 2015-12-22 | 2019-03-22 | 山东大学 | A method of it realizes to cancel in copy editor based on Android system and reform |
CN106250268B (en) * | 2016-07-22 | 2019-04-02 | 努比亚技术有限公司 | Content of text recovery device and method |
CN108733456A (en) * | 2017-04-18 | 2018-11-02 | 北大方正集团有限公司 | A kind of revision method and system based on online editing application |
CN112667141A (en) * | 2020-12-28 | 2021-04-16 | 平安普惠企业管理有限公司 | Input revocation method, device, electronic equipment and computer-readable storage medium |
CN114116113B (en) * | 2022-01-26 | 2022-07-26 | 荣耀终端有限公司 | Input processing method, electronic device, and computer-readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1151553A (en) * | 1995-07-28 | 1997-06-11 | 夏普公司 | Data processing apparatus |
CN101339453A (en) * | 2008-08-15 | 2009-01-07 | 广东威创视讯科技股份有限公司 | Simulated mouse input method based on interactive input apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120216113A1 (en) * | 2011-02-18 | 2012-08-23 | Google Inc. | Touch gestures for text-entry operations |
-
2012
- 2012-10-30 CN CN201210425018.7A patent/CN102929485B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1151553A (en) * | 1995-07-28 | 1997-06-11 | 夏普公司 | Data processing apparatus |
CN101339453A (en) * | 2008-08-15 | 2009-01-07 | 广东威创视讯科技股份有限公司 | Simulated mouse input method based on interactive input apparatus |
Non-Patent Citations (1)
Title |
---|
李彦.第5章文字处理软件.《五笔字型 abc输入法 计算机组成结构 Internet Word 2000 Excel 2000 Windows 2000 计算机应用培训教程》.电子科技大学出版社,2005,(第一版),第108-109页. * |
Also Published As
Publication number | Publication date |
---|---|
CN102929485A (en) | 2013-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102929485B (en) | A kind of characters input method and device | |
CN102821193B (en) | A kind of method of prompt operation file of smart mobile phone and smart mobile phone | |
CN103645825B (en) | The processing method and processing device of message | |
CN103164432B (en) | Recover method and the mobile terminal of deleted file by mistake | |
CN103886025B (en) | The display methods and device of picture in webpage | |
CN104142911B (en) | A kind of text information input method and device | |
WO2012151934A1 (en) | Method, device and terminal for deleting a character on terminal with touch screen | |
CN105278818B (en) | Content copying methods and device in a kind of instant message applications | |
CN104965664A (en) | Application operation method and apparatus | |
CN102981765A (en) | Text processing method and terminal | |
CN106681624A (en) | Device and method for annotation display on basis of touch display screen | |
CN104169862B (en) | A kind of information processing method and terminal device | |
CN104064201B (en) | Data synchronization method and system | |
CN103853649A (en) | Application program testing method and system | |
US20160314048A1 (en) | Backup and related operations | |
CN103034439A (en) | Method and device for generating drawing file | |
CN103116461A (en) | Character handling method and terminal based on touch screen | |
CN107395594A (en) | A kind of automatic identifying method for pulling identifying code | |
CN104238904A (en) | Display interface sliding method and mobile terminal | |
CN104111785A (en) | Method and device for responding to touch gestures | |
JP2017515241A (en) | Element deletion method and apparatus based on touch panel | |
CN102968270A (en) | Data deleting method and terminal equipment thereof | |
WO2016065589A1 (en) | Short message processing method for mobile terminal, and mobile terminal | |
CN102541487B (en) | A kind of method and system for printing sectional drawing | |
CN104469013B (en) | A kind of mobile terminal and its dialing edit methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CP03 | Change of name, title or address |