CN104699403B - A kind of method and apparatus of person's handwriting displaying - Google Patents

A kind of method and apparatus of person's handwriting displaying Download PDF

Info

Publication number
CN104699403B
CN104699403B CN201510126134.2A CN201510126134A CN104699403B CN 104699403 B CN104699403 B CN 104699403B CN 201510126134 A CN201510126134 A CN 201510126134A CN 104699403 B CN104699403 B CN 104699403B
Authority
CN
China
Prior art keywords
color
handwriting
writing
switching
input
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.)
Expired - Fee Related
Application number
CN201510126134.2A
Other languages
Chinese (zh)
Other versions
CN104699403A (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.)
TVM Beijing Education Technology Co Ltd
Original Assignee
TVM Beijing Education 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 TVM Beijing Education Technology Co Ltd filed Critical TVM Beijing Education Technology Co Ltd
Priority to CN201510126134.2A priority Critical patent/CN104699403B/en
Publication of CN104699403A publication Critical patent/CN104699403A/en
Application granted granted Critical
Publication of CN104699403B publication Critical patent/CN104699403B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method and apparatus of person's handwriting displaying, to improve the speed for writing input.This method includes:The number that the contact of input is write on detection touch screen, according to setting sequence, switches the current color of the person's handwriting for writing input when the number of the contact is greater than or equal to two.As it can be seen that when the number of touch screen upper contact is more than or equal to two, so that it may be switched over the color identified the handwriting, need not frequently click color options and carry out the selected of person's handwriting color, save switching flow, improve the speed for writing input.

Description

Handwriting display method and device
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a handwriting display method and device.
Background
With the development of the intelligent terminal technology, an input mode of writing on a touch screen through a finger or an electronic pen is more and more common. In the writing process, the color of the written handwriting needs to be changed due to the requirements of applications such as modification, emphasis annotation, or drawing.
Currently, the pen of handwriting color is generally realized by setting color options. The method specifically comprises the following steps: before writing, clicking the color option to select a color as the handwriting color. Thus, the handwriting is the selected handwriting color. If the color of the handwriting needs to be switched, another color needs to be selected as the handwriting color again, and after the selection, the handwriting color is switched to another color.
Therefore, the existing handwriting color switching needs to frequently click a color option for selection, and the color selection needs to be clicked firstly when the handwriting color is changed every time, so that certain time is consumed, and the smooth writing and inputting are not facilitated.
Disclosure of Invention
The invention provides a handwriting display method and a handwriting display device, which are used for improving the writing input speed.
The invention provides a handwriting display method, which comprises the following steps:
detecting the number of touch points for writing input on the touch screen;
and when the number of the contacts is more than or equal to two, switching the current color of the handwriting input according to a set sequence.
Some beneficial effects of the embodiments of the present invention may include:
when the number of the contacts on the touch screen is more than or equal to two, the colors of the handwriting can be switched, namely, when the single contact is used for writing, the colors of the handwriting can be switched by adding other contacts, so that the handwriting can be displayed more abundantly without frequently clicking color options to select the colors of the handwriting in the writing process, the switching process is saved, the writing input speed is improved, and better writing experience is provided for a user.
In one embodiment, after the switching the current color of the handwriting of the written input, the method further includes:
and determining the switched color as the current color.
Therefore, continuity of color switching is guaranteed during handwriting display.
In one embodiment, before detecting the number of touch points of the writing input on the touch screen, the method further includes:
at least two colors are preset and each color is sorted.
Because the preset colors are two or more, the diversity of the handwriting color switching is enriched.
In one embodiment, the switching the current color of the writing of the written input includes:
and switching the color of the handwriting from the current color to a first color according to the sorting, wherein the first color is arranged behind the current color and is different from the sequence of the current color by one bit.
In another embodiment, the switching the current color of the writing of the written input includes:
and switching the color of the handwriting from the current color to a second color according to the sorting, wherein the number of the contact points is n, and the second color is arranged behind the current color and has a difference of n-1 bits with the sequence of the current color.
Therefore, when handwriting display is carried out, particularly color switching can be diversified, one touch point can be used for writing input, one or more touch points are used for clicking, and the color of the handwriting can be switched once every time the touch point is clicked. Or directly switching the handwriting color to the color corresponding to the number of the contacts according to the number of the contacts.
The invention provides a handwriting display device, comprising:
the detection unit is used for detecting the number of the touch points input by writing on the touch screen;
and the switching unit is used for switching the current color of the handwriting input according to a set sequence when the number of the contacts is more than or equal to two.
In one embodiment, the apparatus further comprises:
and the determining unit is used for determining the switched color as the current color.
In one embodiment, the apparatus further comprises:
and the sequencing unit is used for presetting at least two colors and sequencing each color.
In an embodiment, the switching unit is specifically configured to switch the color of the handwriting from the current color to a first color according to the sorting, where the first color is arranged after the current color and differs from the current color by one bit.
In another embodiment, the switching unit is specifically configured to switch the color of the handwriting from the current color to a second color according to the sorting, where the number of the contacts is n, and the second color is arranged behind the current color and differs from the current color by n-1 bits.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of handwriting display according to a first embodiment of the present invention;
FIG. 2 is a flow chart of handwriting display in the second embodiment of the invention;
FIG. 3 is a flow chart of handwriting display in the third embodiment of the invention;
FIG. 4 is a block diagram of an apparatus for handwriting display in an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart of a handwriting display method according to an embodiment of the present invention. As shown in fig. 1, includes:
step 101: and detecting the number of the touch points for writing input on the touch screen.
When the touch screen is used for writing, the user can write through a finger or a writing tool, and therefore the position where the finger or the writing tool is in contact with the touch screen is a contact point. In embodiments of the present invention, writing includes, but is not limited to: writing, drawing, editing, etc.
Step 102: and when the number of the contacts is more than or equal to two, switching the current color of the handwriting input according to a set sequence.
After the number of the touch points for writing input on the touch screen is detected, whether the number of the detected touch points is larger than or equal to two is judged, and if yes, the current color of the handwriting for writing input is switched according to a set sequence. The specific handwriting switching process may be various, for example: when one finger is in contact with the touch screen for writing input, one touch point exists, when another finger or a plurality of fingers click the touch screen, the existence of another touch point or a plurality of touch points is detected, and at the moment, the current color of the handwriting input by writing can be switched to a color adjacent to the current color or a color is switched immediately according to a set sequence. Thus, when one finger is writing an input, the current color of the note is switched each time another finger or fingers click on the touch screen. Of course, the current color of the handwriting input can be switched according to the specific number of the contacts.
As can be seen, the handwriting switching process may include: and switching the color of the handwriting from the current color to a first color according to the set sorting, wherein the first color is arranged behind the current color and is different from the sequence of the current color by one bit. Or switching the color of the handwriting from the current color to a second color according to the sorting, wherein the number of the touch points is n, and the second color is arranged behind the current color and has a difference of n-1 bits with the sequence of the current color.
According to the technical scheme provided by the embodiment of the invention, when the number of the contacts on the touch screen is more than or equal to two, the colors of the handwriting can be switched, namely when a single contact is used for writing, the colors of the handwriting can be switched by adding other contacts, so that the colors of the handwriting can be selected without frequently clicking color options in order to display the handwriting more abundantly in the writing process, the switching process is saved, the writing input speed is improved, and better writing experience is provided for a user.
For ensuring continuity of color switching during handwriting display, in one embodiment, after step 102, the switched color is determined as the current color. In the above embodiment, or in another embodiment, at least two colors may be preset and each color may be sorted before step 101. Therefore, due to the fact that the preset colors are two or more, the diversity of handwriting color switching is enriched.
In the second embodiment, when one touch point is used for writing input, as long as two or more touch points are detected, the current color of the handwriting is switched to the next color adjacent to the current color during handwriting display. Referring to fig. 2, the process of handwriting display in the embodiment includes:
step 201: and detecting the number of the touch points for writing input on the touch screen.
When writing on the touch screen, the number of contacts on the touch screen is recorded.
Step 202: and judging whether the number of the detected contacts is more than or equal to 2, if so, executing the step 203, otherwise, ending the handwriting color switching process.
Step 203: and switching the color of the handwriting from the current color to a first color according to a set sequence, wherein the first color is arranged behind the current color and is different from the sequence of the current color by one bit.
When writing on the touch screen, a single contact is generally adopted for writing input, and when other contacts are detected, the color of the handwriting can be switched. The description will be given taking an example in which a finger touches a touch panel. When a single finger is used for writing input on the touch screen, another finger is used for clicking the touch screen, and at the moment, two contacts are detected on the touch screen, and the current color of the handwriting input by writing is switched. Of course, the same is true for clicking the touch screen with another two or three fingers, and the current color of the handwriting to be input is switched.
Before detecting the number of touch points of writing input on the touch screen, at least two colors can be preset, and each color is sequenced, for example: arranged in the order of black, red, blue, green ┈, etc. Thus, writing input is carried out on the touch screen by a single finger, the color of the handwriting is red, when another finger or two fingers click on the touch screen, the number of detected touch points is greater than or equal to 2, namely, the color of the handwriting is switched from red to blue which is arranged behind the red and has a bit difference with the red in sequence, and the blue is the first color.
In this embodiment, after the current color of the input handwriting is switched, the switched first color may be determined as the current color. Therefore, switching the current color of the note may be performed again after that, when the single finger or/and the multi-finger clicks the touch screen, when the single finger performs writing input on the touch screen. Specifically, the writing of blue is switched to the note of green, which is the first delay because it is lined up behind blue and out of order by one bit.
According to the process, the colors of the handwriting can be sequentially switched, and the handwriting is not listed one by one, so that in the embodiment, when a single finger is used for writing input on the touch screen, the color of the handwriting can be switched once when other fingers click the touch screen once, the color of the output written note is diversified, in addition, the switching process only needs to click the touch screen once through the finger, the existing handwriting color switching process is greatly simplified, and the writing input speed is improved.
Example three: in this implementation, the current color of the handwriting can be switched to the color corresponding to the number of the contacts according to the specific number of the contacts. Referring to fig. 3, the handwriting display process includes:
step 301: and detecting the number of the touch points for writing input on the touch screen.
The number of the touch points for writing input on the touch screen can be detected, and the number of the touch points is n.
Step 302: and judging whether the number of the detected contacts is more than or equal to 2, if so, executing the step 303, and otherwise, finishing the handwriting color switching process.
Step 303: and switching the color of the handwriting from the current color to a second color according to the sorting, wherein the second color is arranged behind the current color and is different from the sequence of the current color by n-1 bits.
Also, at least two colors are preset and each color is sorted, for example: black, red, blue, green, purple ┈, etc. are arranged in this order. Thus, writing input is carried out on the touch screen by a single finger, the color of the handwriting is red, when another finger or a plurality of fingers contact the touch screen, the total number of the contacts is n, n is more than or equal to 2, and the color of the handwriting is switched from red to the color of n-1 bit behind the red in sequence with the red. Specifically, if there are two fingers on the touch screen, and n is equal to 2, the color of the handwriting is switched from red to blue, which is 1 bit behind red in sequence with red, and at this time, blue is the second color. If three fingers exist on the touch screen at the same time, and n is equal to 3, the color of the handwriting is directly switched from red to green with 2 bits behind the red in sequence. Where green is the second color. If four fingers exist on the touch screen at the same time, and n is equal to 4, the color of the handwriting is directly switched from red to purple which is 3 bits behind the red in sequence with the red, and the purple is the second color at the moment. The following is not mentioned.
In this embodiment, after switching, the second color after cutting may also be determined as the current color, so as to ensure the continuity of color switching later.
In the implementation, the color corresponding to the number of the contacts can be switched according to the specific number of the contacts, and the individual switching is not needed, so that the speed of handwriting color switching is increased, and the accuracy of the handwriting color switching is also improved. Thereby improving the speed and accuracy of handwriting input.
The second embodiment and the third embodiment take finger writing input as an example, but the embodiment of the present invention is not limited to this, and writing input may also be performed by using a writing tool, and a touch point is generated with the touch screen, and when the touch point is equal to or more than two, the color of the handwriting of the writing input may be switched. Of course, the second embodiment and the third embodiment are respectively two different setting orders, but the embodiment of the present invention is not limited thereto, and other setting orders may also be adopted, for example, a random order, that is, when the number of the touch points is greater than or equal to two, the current color of the handwriting input by writing is randomly switched to another color.
According to the process of handwriting display, a handwriting display device can be constructed, as shown in fig. 4, the device includes: a detection unit 410 and a switching unit 420. Wherein,
the detecting unit 410 is configured to detect the number of touch points input by writing on the touch screen.
And the switching unit 420 is connected with the detecting unit 410 and is used for switching the current color of the handwriting input according to the set sequence when the number of the contacts is greater than or equal to two.
Of course, in the embodiment of the present invention, the apparatus further includes: and the determining unit is used for determining the switched color as the current color. The determination unit may be connected with the switching unit 420.
In the embodiment of the present invention, the apparatus further includes: and the sequencing unit is used for presetting at least two colors and sequencing each color. The sorting unit may be connected with the detection unit 410.
In the embodiment of the present invention, the switching unit 420 may switch the current color of the handwriting input by writing, and specifically, the switching unit 420 may be configured to switch the color of the handwriting from the current color to a first color according to the sorting, where the first color is arranged behind the current color and differs from the current color by one bit. Or, the switching unit 420 is specifically configured to switch the color of the handwriting from the current color to a second color according to the sorting, where the number of the touch points is n, and the second color is arranged behind the current color and differs from the sequence of the current color by n-1 bits. Of course, the switching unit 420 may also switch the color of the handwriting from the current color to other random colors.
In the embodiment of the invention, when the number of the contacts on the touch screen is more than or equal to two, the colors of the handwriting can be switched, namely when a single contact is used for writing, the colors of the handwriting can be switched by adding other contacts, so that the handwriting can be displayed more abundantly in the writing process without frequently clicking color options to select the colors of the handwriting, the switching process is saved, the writing input speed is improved, and better writing experience is provided for users.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method of handwriting display, comprising:
detecting the number of touch points for writing input on the touch screen;
when the number of the contacts is more than or equal to two, switching the current color of the handwriting input according to a set sequence;
before detecting the number of the touch points input by writing on the touch screen, the method further comprises the following steps:
presetting at least two colors, and sequencing each color;
the switching the current color of the handwriting of the writing input comprises:
and switching the color of the handwriting from the current color to a second color according to the sorting, wherein the number of the contact points is n, and the second color is arranged behind the current color and has a difference of n-1 bits with the sequence of the current color.
2. The method of claim 1, wherein the switching the current color of the writing of the written input further comprises:
and determining the switched color as the current color.
3. A handwriting display apparatus, comprising:
the detection unit is used for detecting the number of the touch points input by writing on the touch screen;
the switching unit is used for switching the current color of the handwriting input according to a set sequence when the number of the contacts is more than or equal to two;
the sorting unit is used for presetting at least two colors and sorting each color;
the switching unit is specifically configured to switch the color of the handwriting from the current color to a second color according to the sorting, where the number of the contacts is n, and the second color is arranged behind the current color and differs from the current color by n-1 bits.
4. The apparatus of claim 3, further comprising:
and the determining unit is used for determining the switched color as the current color.
CN201510126134.2A 2015-03-20 2015-03-20 A kind of method and apparatus of person's handwriting displaying Expired - Fee Related CN104699403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510126134.2A CN104699403B (en) 2015-03-20 2015-03-20 A kind of method and apparatus of person's handwriting displaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510126134.2A CN104699403B (en) 2015-03-20 2015-03-20 A kind of method and apparatus of person's handwriting displaying

Publications (2)

Publication Number Publication Date
CN104699403A CN104699403A (en) 2015-06-10
CN104699403B true CN104699403B (en) 2018-07-24

Family

ID=53346587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510126134.2A Expired - Fee Related CN104699403B (en) 2015-03-20 2015-03-20 A kind of method and apparatus of person's handwriting displaying

Country Status (1)

Country Link
CN (1) CN104699403B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700805B (en) * 2016-01-08 2019-01-01 小天才科技有限公司 Handwriting display methods, handwriting display device and mobile terminal
CN108762597B (en) * 2018-06-13 2019-09-24 掌阅科技股份有限公司 The method for drafting and E-book reader of E-book reader handwriting

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003195998A (en) * 2001-12-26 2003-07-11 Canon Inc Information processor, control method of information processor, control program of information processor and storage medium
CN102117150A (en) * 2011-03-30 2011-07-06 汉王科技股份有限公司 Character post-processing method and system
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment
CN103197870A (en) * 2012-01-05 2013-07-10 汉王科技股份有限公司 Method and device for function switching of mobile terminal
CN103235694A (en) * 2013-04-10 2013-08-07 广东欧珀移动通信有限公司 Page turning method and device of e-book reader and mobile terminal
CN103345364A (en) * 2013-07-09 2013-10-09 广东欧珀移动通信有限公司 Electronic hand drawing method and system
CN104281284A (en) * 2013-07-10 2015-01-14 联想(北京)有限公司 Input device and input trajectory adjusting method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8139028B2 (en) * 2006-02-01 2012-03-20 Synaptics Incorporated Proximity sensor and method for indicating extended interface results
CN104317453B (en) * 2014-10-27 2017-09-26 广州视睿电子科技有限公司 touch screen writing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003195998A (en) * 2001-12-26 2003-07-11 Canon Inc Information processor, control method of information processor, control program of information processor and storage medium
CN102117150A (en) * 2011-03-30 2011-07-06 汉王科技股份有限公司 Character post-processing method and system
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment
CN103197870A (en) * 2012-01-05 2013-07-10 汉王科技股份有限公司 Method and device for function switching of mobile terminal
CN103235694A (en) * 2013-04-10 2013-08-07 广东欧珀移动通信有限公司 Page turning method and device of e-book reader and mobile terminal
CN103345364A (en) * 2013-07-09 2013-10-09 广东欧珀移动通信有限公司 Electronic hand drawing method and system
CN104281284A (en) * 2013-07-10 2015-01-14 联想(北京)有限公司 Input device and input trajectory adjusting method

Also Published As

Publication number Publication date
CN104699403A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104992094A (en) Terminal operation method and terminal
CN105159530A (en) Application display object switching method and apparatus
CN106970735B (en) Information processing method and electronic equipment
CN104063128B (en) A kind of information processing method and electronic equipment
EP2869174A1 (en) Method and device for text input and display of intelligent terminal
CN107704157B (en) Multi-screen interface operation method and device and storage medium
CN106649639A (en) Page display method and device
CN103605476A (en) Method and device for selecting objects in display interface
CN105138170A (en) Theme determination method and terminal
CN108196944A (en) Mobile terminal background application inspection method and device
CN106951168B (en) Word processing method and mobile terminal
CN107133003B (en) A kind of information displaying method and terminal
CN108304110B (en) Information processing method and electronic equipment
CN102214043A (en) Handwriting input identifying method and system
CN104699403B (en) A kind of method and apparatus of person's handwriting displaying
CN104571811A (en) Information processing method and electronic equipment
WO2016165382A1 (en) Method, device and storage medium for processing application program
CN106020712B (en) Touch gesture recognition method and device
CN105892895A (en) Multi-finger sliding gesture recognition method and device as well as terminal equipment
CN105573610A (en) Spreadsheet operation methods and apparatuses
CN104881222B (en) Man-machine interaction method and device
CN104375835A (en) Information processing method and electronic equipment
CN105159555A (en) User equipment control method and user equipment
CN105302466B (en) A kind of text operation method and terminal
CN104407763A (en) Content input method and 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180724

Termination date: 20210320

CF01 Termination of patent right due to non-payment of annual fee