CN106557260B - Handwriting input method and device - Google Patents

Handwriting input method and device Download PDF

Info

Publication number
CN106557260B
CN106557260B CN201611081200.XA CN201611081200A CN106557260B CN 106557260 B CN106557260 B CN 106557260B CN 201611081200 A CN201611081200 A CN 201611081200A CN 106557260 B CN106557260 B CN 106557260B
Authority
CN
China
Prior art keywords
pattern
handwritten
pinyin
character
preset
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
Application number
CN201611081200.XA
Other languages
Chinese (zh)
Other versions
CN106557260A (en
Inventor
汪源远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weike terminal technology (Dongguan) Co.,Ltd.
Original Assignee
Shenzhen Tinno Wireless 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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201611081200.XA priority Critical patent/CN106557260B/en
Publication of CN106557260A publication Critical patent/CN106557260A/en
Application granted granted Critical
Publication of CN106557260B publication Critical patent/CN106557260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Character Discrimination (AREA)

Abstract

The embodiment of the invention provides a handwriting input method and a handwriting input device, relates to the technical field of handwriting input, and can instantly switch to recognize and provide candidate characters according to pinyin according to needs in the process of handwriting input, thereby improving the input efficiency of Chinese characters. The handwriting input method comprises the following steps: acquiring a handwritten pattern; judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern; if the handwritten pattern is judged to be a pinyin pattern, providing candidate characters according to pinyin identification; and if the handwritten pattern is judged to be a character pattern, providing candidate characters according to character pattern recognition.

Description

Handwriting input method and device
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of handwriting input, in particular to a handwriting input method and device.
[ background of the invention ]
With the development of intelligent devices such as mobile phones and tablet computers, more and more devices perform human-computer interaction in a touch screen mode, the touch screen can input Chinese characters in a virtual keyboard mode and can also input Chinese characters in a handwriting input mode, and switching can be performed between different input modes. The current handwriting input methods are all modes of recognizing and providing candidate characters according to Chinese character patterns.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
when a user forgets the font of a Chinese character in the process of inputting the Chinese character by using a handwriting input method, the user needs to click an input method switching button to switch to a pinyin input method or input the Chinese character by other input methods without knowing the font, so that the input efficiency of the Chinese character is reduced.
[ summary of the invention ]
In view of the above, the present invention provides a handwriting input method and device, which can instantly switch to recognize and provide candidate characters according to pinyin as required during the handwriting input process, thereby improving the input efficiency of Chinese characters.
In one aspect, a handwriting input method is provided, including:
acquiring a handwritten pattern;
judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern;
if the handwritten pattern is judged to be a pinyin pattern, providing candidate characters according to pinyin identification;
and if the handwritten pattern is judged to be a character pattern, providing candidate characters according to character pattern recognition.
Specifically, the process of determining that the handwritten pattern is a pinyin pattern or a font pattern according to a preset mark pattern in the handwritten pattern is as follows:
and judging whether the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern.
Specifically, before the acquiring the handwritten pattern, the method further includes:
and providing pinyin identification prompt information, wherein the pinyin identification prompt information contains the preset mark graph.
Specifically, the step of judging whether the handwritten pattern includes the preset mark pattern is performed, if yes, the handwritten pattern is determined to be a pinyin pattern, and if not, the step of determining the handwritten pattern to be a character pattern is performed in the following steps:
and judging whether a preset position in the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern.
In another aspect, a handwriting input apparatus is provided, including:
the acquisition module is used for acquiring the handwritten pattern;
the judging module is used for judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern;
the character selection module is used for providing candidate characters according to pinyin identification if the handwritten pattern is judged to be a pinyin pattern;
and the character selection module is also used for providing candidate characters according to character pattern recognition if the handwritten pattern is judged to be a character pattern.
Specifically, the judging module is specifically configured to judge whether the handwritten pattern includes the preset sign pattern, determine that the handwritten pattern is a pinyin pattern if the preset sign pattern is included in the handwritten pattern, and determine that the handwritten pattern is a font pattern if the preset sign pattern is not included in the handwritten pattern.
Specifically, the above apparatus further comprises: and the prompt module is used for providing pinyin identification prompt information, and the pinyin identification prompt information contains the preset mark graph.
Specifically, the determining module is specifically configured to determine whether a preset position in the handwritten pattern includes the preset logo pattern, determine that the handwritten pattern is a pinyin pattern if the preset position includes the preset logo pattern, and determine that the handwritten pattern is a font pattern if the preset position does not include the preset logo pattern.
According to the handwriting input method and the handwriting input device, in the process of handwriting input, whether the character is identified according to the pinyin or the character form is determined according to the preset mark pattern in the handwriting pattern, so that when a user forgets the character form, the user can immediately switch to the identification according to the pinyin and provide candidate characters without input method switching operations such as clicking, the switching between the pinyin identification and the character form identification can be completed in the continuous handwriting input process, and the input efficiency of Chinese characters is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flow chart of a handwriting input method in an embodiment of the invention;
FIG. 2 is a diagram illustrating a handwritten pattern in an embodiment of the invention;
FIG. 3 is a flow chart of another handwriting input method in an embodiment of the invention;
fig. 4 is a block diagram of a handwriting input device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As shown in fig. 1, an embodiment of the present invention provides a handwriting input method, including:
step 101, acquiring a handwritten pattern;
in this step, the handwritten pattern may come from a human-computer interaction device capable of providing a handwriting input mode through a handwriting pad, a touch screen, or the like. The handwriting input method in the embodiment is suitable for any equipment with a handwriting input device, such as a mobile phone, a tablet computer and the like.
102, judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern;
in this step, the preset mark pattern is a pattern for indication in the handwritten pattern and not a pattern for recognition to provide candidate characters, and specific patterns may be set as needed, for example, a "√" pattern is used as the preset mark pattern, if a "√" pattern is recognized as included in the handwritten pattern, the handwritten pattern is determined as a pinyin pattern, and if a "√" pattern is recognized not included in the handwritten pattern, the handwritten pattern is determined as a character pattern. When a user forgets the font of a certain character, as shown in fig. 2, pinyin and the square root are input, and the system recognizes the square root, the handwritten pattern is judged to be a pinyin pattern, and the system changes the recognition mode at this time and recognizes the character through the pinyin pattern.
If the handwritten pattern is judged to be a pinyin pattern, step 103 is entered, and a candidate character is provided according to pinyin identification, that is, a user inputs a character pattern without inputting 'check square' in the process of handwriting input, and a corresponding candidate character is identified and provided according to a normal character pattern;
if the handwritten pattern is judged to be a character pattern, step 104 is entered, and a candidate character is provided according to character pattern recognition, that is, a user inputs pinyin and "√" in the handwriting input process, and a corresponding candidate character is recognized and provided according to the pinyin.
In the handwriting input method in the embodiment, in the process of handwriting input, the identification according to the pinyin or the character form is determined according to the preset mark pattern in the handwriting pattern, so that when a user forgets the character form, the user can immediately switch to the identification according to the pinyin and provide candidate characters without input method switching operations such as clicking, the switching between the pinyin identification and the character form identification can be completed in the continuous handwriting input process, and the input efficiency of Chinese characters is improved.
As shown in fig. 3, the step 102 of determining that the handwritten pattern is a pinyin pattern or a font pattern according to a preset mark pattern in the handwritten pattern includes: and 1020, judging whether the handwritten pattern contains a preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, entering step 103, otherwise, determining that the handwritten pattern is a character pattern, and entering step 104.
In the process of handwriting input, a user usually inputs a character form, and only when the character form is forgotten, the user wants to replace the character form input mode by inputting pinyin, therefore, the recognition mode of the handwriting graph is judged according to whether the handwriting graph contains the preset mark graph, so that the handwriting input method is closer to the existing handwriting input mode, the existing handwriting input mode is changed only when the user cannot realize the user requirement, namely, the existing input mode is changed only when the user forgets the character form, and the preset mark graph is additionally input by handwriting in addition to the handwriting input pinyin, so that the handwriting graph input at this time can recognize the character form but not the graph according to the pinyin graph.
Specifically, before the step 101 of acquiring the handwritten pattern, the method further includes: and step 100, providing pinyin identification prompt information, wherein the pinyin identification prompt information contains the preset mark graph. In the process of handwriting input, the screen prompts the pinyin identification prompt information, such as 'direct character selection after character shape input by handwriting, and character selection after' check mark 'is drawn while inputting pinyin by handwriting', so as to prompt a user how to realize the input of Chinese characters by handwriting and pinyin.
Specifically, the above-mentioned process of determining whether the handwritten pattern includes a preset mark pattern is the following steps, if yes, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a font pattern: and judging whether the preset position in the handwritten pattern contains a preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern. In the process of judging the recognition mode according to the preset mark pattern, a situation that the preset mark pattern is recognized as a character pattern or a part in the character pattern is recognized as the preset mark pattern may occur, so in order to reduce such misjudgment, a certain mechanism may be added to distinguish the preset mark pattern from the character pattern, for example, only a pattern input at a preset position is judged whether the pattern is the preset mark pattern, and the preset position may be a position which is not frequently contacted when a Chinese character is normally input, for example, the upper right corner of a touch screen, or a quarter region on the right side of the touch screen.
As shown in fig. 4, an embodiment of the present invention provides a handwriting input device, including: the acquisition module 1 is used for acquiring a handwritten pattern; the judging module 2 is used for judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern; the character selection module 3 is used for providing candidate characters according to pinyin identification if the handwritten pattern is judged to be a pinyin pattern; and the character selection module 3 is further configured to provide a candidate character according to the character pattern recognition if the handwritten pattern is judged to be a character pattern.
It should be noted that the handwriting input device in this embodiment may apply the handwriting input method in the above embodiment, and the specific process and principle thereof are the same as those in the above embodiment, and are not described herein again.
In the handwriting input device in the embodiment, in the process of handwriting input, the identification according to the pinyin or the character form is determined according to the preset mark pattern in the handwriting pattern, so that when a user forgets the character form, the user can immediately switch to the identification according to the pinyin and provide candidate characters without input method switching operations such as clicking, the switching between the pinyin identification and the character form identification can be completed in the continuous handwriting input process, and the input efficiency of Chinese characters is improved.
Specifically, the judging module 2 is specifically configured to judge whether the handwritten pattern includes a preset mark pattern, determine that the handwritten pattern is a pinyin pattern if the preset mark pattern is included in the handwritten pattern, and determine that the handwritten pattern is a font pattern if the preset mark pattern is not included in the handwritten pattern.
The handwriting input device further comprises: and the prompt module is used for providing pinyin identification prompt information which contains a preset mark graph.
The judging module 2 is specifically configured to judge whether a preset position in the handwritten pattern includes a preset sign pattern, determine that the handwritten pattern is a pinyin pattern if the preset position includes the preset sign pattern, and determine that the handwritten pattern is a font pattern if the preset position does not include the preset sign pattern.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (4)

1. A handwriting input method, comprising:
acquiring a handwritten pattern;
judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern;
if the handwritten pattern is judged to be a pinyin pattern, providing candidate characters according to pinyin identification;
if the handwritten pattern is judged to be a character pattern, providing candidate characters according to character pattern recognition;
the process of judging the handwritten pattern to be a pinyin pattern or a character pattern according to the preset mark pattern in the handwritten pattern is as follows:
judging whether the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern;
judging whether the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern, wherein the process of determining that the handwritten pattern is a character pattern is as follows:
and judging whether a preset position in the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern.
2. The method of claim 1,
before the acquiring the handwritten pattern, further comprising:
and providing pinyin identification prompt information, wherein the pinyin identification prompt information contains the preset mark graph.
3. A handwriting input apparatus, comprising:
the acquisition module is used for acquiring the handwritten pattern;
the judging module is used for judging the handwritten pattern to be a pinyin pattern or a character pattern according to a preset mark pattern in the handwritten pattern;
the character selection module is used for providing candidate characters according to pinyin identification if the handwritten pattern is judged to be a pinyin pattern;
the character selection module is also used for providing candidate characters according to character pattern recognition if the handwritten pattern is judged to be a character pattern;
the judging module is specifically used for judging whether the handwritten pattern contains the preset mark pattern, if so, determining that the handwritten pattern is a pinyin pattern, and if not, determining that the handwritten pattern is a character pattern;
the judging module is specifically configured to judge whether a preset position in the handwritten pattern includes the preset sign pattern, determine that the handwritten pattern is a pinyin pattern if the preset sign pattern is included in the preset position, and determine that the handwritten pattern is a font pattern if the preset sign pattern is not included in the preset sign pattern.
4. The apparatus of claim 3, further comprising:
and the prompt module is used for providing pinyin identification prompt information, and the pinyin identification prompt information contains the preset mark graph.
CN201611081200.XA 2016-11-30 2016-11-30 Handwriting input method and device Active CN106557260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611081200.XA CN106557260B (en) 2016-11-30 2016-11-30 Handwriting input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611081200.XA CN106557260B (en) 2016-11-30 2016-11-30 Handwriting input method and device

Publications (2)

Publication Number Publication Date
CN106557260A CN106557260A (en) 2017-04-05
CN106557260B true CN106557260B (en) 2020-12-29

Family

ID=58445750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611081200.XA Active CN106557260B (en) 2016-11-30 2016-11-30 Handwriting input method and device

Country Status (1)

Country Link
CN (1) CN106557260B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794398A (en) * 2010-04-02 2010-08-04 华为终端有限公司 Method, system and device for recognizing handwriting input characters
CN103631436A (en) * 2013-09-26 2014-03-12 宇龙计算机通信科技(深圳)有限公司 Handwriting input method and terminal
CN104808806B (en) * 2014-01-28 2019-10-25 北京三星通信技术研究有限公司 The method and apparatus for realizing Chinese character input according to unascertained information
CN106033316A (en) * 2015-03-13 2016-10-19 北京搜狗科技发展有限公司 Method and device for hand input
CN105930140A (en) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 Input mode setting method and apparatus

Also Published As

Publication number Publication date
CN106557260A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN101464741B (en) Touch panel and its use method and notebook computer with the same
CN106484266B (en) Text processing method and device
KR102544780B1 (en) Method for controlling user interface according to handwriting input and electronic device for the same
US9377871B2 (en) System and methods for determining keyboard input in the presence of multiple contact points
CN108664364B (en) Terminal testing method and device
US10248635B2 (en) Method for inserting characters in a character string and the corresponding digital service
US20120242579A1 (en) Text input using key and gesture information
US10082952B2 (en) System and method for text input by a continuous sliding operation
CN102262504A (en) User interaction gestures with virtual keyboard
CN102109954A (en) Handwriting and soft keyboard hybrid input method for electronic equipment
CN104461336A (en) Electronic device and unlocking method thereof
CN110703977A (en) H5 webpage input keyboard implementation method, device, equipment and storage medium
KR101158679B1 (en) Method for directly inputting figure on electronic document, and computer-readable recording medium storing program of directly inputting figure on electronic document
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
US20200142582A1 (en) Disambiguating gesture input types using multiple heatmaps
US9183276B2 (en) Electronic device and method for searching handwritten document
US10423249B2 (en) Information processing method and electronic device
CN108268291A (en) A kind of application program delet method and terminal device
CN110658976A (en) Touch track display method and electronic equipment
CN109710111B (en) False touch prevention method and electronic equipment
CN106557260B (en) Handwriting input method and device
CN103034421A (en) Advanced handwriting system with multi-touch features
CN110569501A (en) user account generation method, device, medium and computer equipment
CN110825300A (en) Touch sensing method, electronic device and non-transitory computer readable recording medium device
CN112162689B (en) Input method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220111

Address after: 523000 building 3, No. 6, HongMian Road, Songshanhu Park, Dongguan City, Guangdong Province

Patentee after: Weike terminal technology (Dongguan) Co.,Ltd.

Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right