CN108334229A - Adjust the method, apparatus and equipment, readable storage medium storing program for executing of handwriting trace - Google Patents

Adjust the method, apparatus and equipment, readable storage medium storing program for executing of handwriting trace Download PDF

Info

Publication number
CN108334229A
CN108334229A CN201810094054.7A CN201810094054A CN108334229A CN 108334229 A CN108334229 A CN 108334229A CN 201810094054 A CN201810094054 A CN 201810094054A CN 108334229 A CN108334229 A CN 108334229A
Authority
CN
China
Prior art keywords
handwriting trace
writing
region
coordinate
identified
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.)
Granted
Application number
CN201810094054.7A
Other languages
Chinese (zh)
Other versions
CN108334229B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810094054.7A priority Critical patent/CN108334229B/en
Publication of CN108334229A publication Critical patent/CN108334229A/en
Application granted granted Critical
Publication of CN108334229B publication Critical patent/CN108334229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention provides a kind of method, apparatus and equipment, readable storage medium storing program for executing of adjustment handwriting trace, the method includes:When detecting writing operation, the position of the handwriting trace currently inputted is obtained;If the position determines handwriting trace to be adjusted in the predetermined edge area for writing region, wherein identified handwriting trace includes at least the handwriting trace currently inputted;The display properties of identified handwriting trace is adjusted, so that the handwriting trace after adjusting is shown in the region write in region in addition to the predetermined edge area.Implement the embodiment of the present invention, the handwriting trace of input can be adjusted to the region except predetermined edge area automatically when user writes to predetermined edge area, is moved without user without page turning, sufficient writing space can be provided to the user, and then improve the writing efficiency of user.

Description

Adjust the method, apparatus and equipment, readable storage medium storing program for executing of handwriting trace
Technical field
The present invention relates to intelligent writing technical field, more particularly to the method, apparatus of adjustment handwriting trace and equipment, can Read storage medium.
Background technology
With the fast development of electronic device technology, the intelligent handwritings such as electronic whiteboard, electronic blackboard, intelligent meeting tablet are set It is standby to be widely applied.Wherein, intelligent handwriting device configuration has touch screen, touch screen to be useful for the writing operation of response user Come show input content writing region, user write region write when, intelligent handwriting equipment can control touch screen reality When write region show user write content.
Under certain application scenarios, user can write since any position for writing region, write after a certain period of time, can Can writing to writing region edge, if user also needs to write more contents at this time, can only wipe content written or It is write again after person's page turning.Regardless of being that erasing content written or page turning, the writing that can all interrupt user are operated and occupied Certain writing time, and then influence user and write efficiency.
Invention content
In view of this, the embodiment of the present invention provides a kind of method, apparatus and equipment, readable storage medium of adjustment handwriting trace Matter writes efficiency to solve the problems, such as that related writing technology easily influences user.
According to the first aspect of the invention, a kind of method of adjustment handwriting trace, including step are provided:
When detecting writing operation, the position of the handwriting trace currently inputted is obtained;
If the position determines handwriting trace to be adjusted, wherein identified in the predetermined edge area for writing region Handwriting trace includes at least the handwriting trace currently inputted;
The display properties of identified handwriting trace is adjusted, so that the handwriting trace after adjusting is in the writing area Region in domain in addition to the predetermined edge area is shown, wherein the display properties include in position, size and spacing extremely One item missing.
In one embodiment, the position for obtaining the handwriting trace currently inputted, including:
Acquire the touch signal for writing operation triggering, and the coordinate contained by the touch signal, determine described in The corresponding coordinate of handwriting trace currently inputted;Alternatively,
Each frame screen picture write described in associated image capture device and transmitted after operation is detected is received, and is passed through Object in the every frame screen picture of identification for triggering handwriting trace, determines the corresponding seat of the handwriting trace currently inputted Mark, wherein the object is stylus or user's finger.
In one embodiment, identified coordinate includes:
The coordinate of point is write in the starting of the handwriting trace currently inputted;And/or
The coordinate of point is write in the termination of the handwriting trace currently inputted.
In one embodiment, identified coordinate includes the seat of all writing points of the handwriting trace currently inputted Mark.
In one embodiment, identified coordinate includes the minimum outsourcing rectangle region of the handwriting trace currently inputted The boundary coordinate in domain.
In one embodiment, the method further includes:
Whether coordinate is in the coordinate range in the predetermined edge area determined by judging;
If identified coordinate in the coordinate range, judges the position in the predetermined edge area.
In one embodiment, the method includes:
Whether coordinate is in the coordinate range of target area determined by judging, wherein the target area refers to the book Write the region in addition to the predetermined edge area in region;
If identified coordinate not in the coordinate range, judges the position in the predetermined edge area.
In one embodiment, identified handwriting trace further includes:
Handwriting trace in the subregion adjacent with the predetermined edge area.
In one embodiment, identified handwriting trace further includes:
Other handwriting traces in the writing region in addition to the handwriting trace currently inputted.
In one embodiment, the step of display properties to identified handwriting trace is adjusted, is showing After the handwriting trace currently inputted, and executed before showing next handwriting trace.
In one embodiment, identified handwriting trace further includes:
The association handwriting trace inputted after the handwriting trace currently inputted;
The step of display properties to identified handwriting trace is adjusted inputs in the association handwriting trace After execute.
In one embodiment, the association handwriting trace and the handwriting trace currently inputted are same target object Component part, the target object be targeted graphical or target words;Alternatively,
The association handwriting trace includes the content inputted in predetermined period after the handwriting trace currently inputted.
In one embodiment, when the writing region is quadrangle, the predetermined edge area includes:
It is less than the region point of first predetermined value with the vertical range of the either boundary for writing region.
In one embodiment, when the writing region is quadrangle, the predetermined edge area includes:
It is less than the region point of second predetermined value with the vertical range of the right margin for writing region;And/or
It is less than the region point of third predetermined value with the vertical range of the bottom boundaries for writing region.
In one embodiment, the display properties to identified handwriting trace is adjusted, including:
To the display location of handwriting trace determined by the direction adjustment far from the predetermined edge area;Or,
To the display location of handwriting trace determined by the center adjustment for writing region.
In one embodiment, described to identified when the quadrangle for writing region as multiple subregions composition The display properties of handwriting trace is adjusted, including:
Determine the subregion belonging to the position;
If two adjacent boundaries of identified subregion belong to two adjacent edges of the quadrangle, to far from described The direction of the intersection point of two adjacent edges adjusts the display location of identified handwriting trace;
If identified subregion only has one side that a boundary belongs to the quadrangle, to being somebody's turn to do far from the quadrangle The direction on side, adjust determined by handwriting trace display location.
In one embodiment, described if the handwriting trace after adjustment is beyond the region except the predetermined edge area The display properties of identified handwriting trace is adjusted, including:
Handwriting trace determined by reducing;And/or
The spacing of adjacent handwriting trace in handwriting trace determined by reducing.
According to the second aspect of the invention, a kind of device of adjustment handwriting trace, including:
Locating module, for when detecting writing operation, obtaining the position of the handwriting trace currently inputted;
Determining module, for, when writing the predetermined edge area in region, determining handwriting trace to be adjusted in the position, Wherein, identified handwriting trace includes at least the handwriting trace currently inputted;
Module is adjusted, is adjusted for the display properties to identified handwriting trace, so as to the writing rail after adjusting Mark region in addition to the predetermined edge area show in the writing region, wherein the display properties include position with/ Or size.
According to the third aspect of the invention we, a kind of terminal device is provided, including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, the program instruction for reading the memory storage, and makees For response, the operation in method as described above is executed.
According to the fourth aspect of the invention, one or more machine readable storage mediums are provided, instruction is stored thereon with, when When being executed by one or more processors so that terminal device executes the operation in method as described above.
Implement embodiment provided by the invention, when detecting writing operation, obtains the position of the handwriting trace currently inputted Set, if acquired position write region predetermined edge area, can be according to scheduled adjustable strategies, to including at least The attribute of the track to be adjusted of the handwriting trace currently inputted is adjusted, and the handwriting trace after adjustment is in the writing area Region in domain in addition to the predetermined edge area is shown.Therefore, the embodiment of the present invention can be write in user to predetermined edge Qu Shi shows the region that the handwriting trace of input is adjusted to except predetermined edge area, vacates predetermined edge area and continues for user It writes, without skipping without user shift position, sufficient writing space can be provided when user writes to marginal zone, And then improve the writing efficiency of user.
Description of the drawings
Fig. 1 is the schematic diagram write using intelligent handwriting equipment shown in an exemplary embodiment of the invention;
Fig. 2A is the flow chart of the method for the adjustment handwriting trace shown in another exemplary embodiment of the present invention;
Fig. 2 B are the schematic diagrames in the predetermined edge area shown in an exemplary embodiment of the invention;
Fig. 2 C are the schematic diagrames in the predetermined edge area shown in another exemplary embodiment of the present invention;
Fig. 2 D-2E are that an exemplary embodiment of the invention shows to divide the schematic diagram for the subregion for writing region;
Fig. 3 A are the flow charts of the method for the adjustment handwriting trace shown in another exemplary embodiment of the present invention;
Fig. 3 B-3C are the schematic diagrames of the adjustment handwriting trace shown in an exemplary embodiment of the invention;
Fig. 3 D-3E are the schematic diagrames of the adjustment handwriting trace shown in another exemplary embodiment of the present invention;
Fig. 3 F-3H are the schematic diagrames of the adjustment handwriting trace shown in another exemplary embodiment of the present invention;
Fig. 4 is the block diagram of the device of the adjustment handwriting trace shown in an exemplary embodiment of the invention;
Fig. 5 is the hardware structure diagram of the terminal device shown in an exemplary embodiment of the invention.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, is not intended to limit the invention. It is also intended to including majority in the present invention and "an" of singulative used in the attached claims, " described " and "the" Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In practical application, the intelligent handwritings equipment such as electronic whiteboard, electronic blackboard, Digitizing plate, intelligent meeting tablet, Ke Yipei It is equipped with infrared type touch screen, capacitive touch screen, resistive touch screen or electromagnetical type touch screen etc., touch screen is equipped with for responding The writing of user operates to show that the writing region of input content is such as configured by Pointer contacts when user writes Touch screen, touch screen can sense the variation of infrared ray, the variation of electric current, the variation of voltage or the variation of magnetic flux, obtain To the touch signal of the coordinate containing touch location and the triggered time of the touch signal, according to the coordinate of touch location and The triggered time of touch signal, can obtain stylus or user's finger press every time writing to lift stop writing process in it is defeated The track data of the handwriting trace entered, the track data include coordinate and the time of each writing point of the handwriting trace, Then according to the track data touch screen writing region real-time display handwriting trace input by user.
When the book that user's finger is write on the touch screen of intelligent handwriting equipment, and input writing region shown in FIG. 1 is shown After writing track " carrying out track to electronic whiteboard ", also need to continue input writing track " adjustment ", but user's finger has arrived writing The edge in region in order to continue the handwriting trace that input writing track user can only write in erasing, or is moved to other After the page-turning button of white space or striking intelligent handwriting equipment, it could continue to write.And these operations can all lead to user Writing interrupt, and occupy certain writing time, and then reduce user and write efficiency.
The scheme that the embodiment of the present invention is provided, can be when user writes to predetermined edge area, the writing that is inputted to it Track is adjusted, so as to write region in region in addition to the predetermined edge area aobvious stating for the handwriting trace after adjusting Show.It is write for user to vacate predetermined edge area, without wiping the handwriting trace, page turning or the user shift position that have inputted, Sufficient writing space can be provided to the user, improve the writing efficiency of user.Below in conjunction with attached drawing to the embodiment of the present invention Scheme be described in detail.
Fig. 2A is please referred to, Fig. 2A is the flow of the method for the adjustment handwriting trace shown in an exemplary embodiment of the invention Figure, the embodiment can be applied to have on the terminal device of handwriting functions, may comprise steps of S201-S204:
Step S201, when detecting writing operation, the position of the handwriting trace currently inputted is obtained.
If step S202, the described position determines handwriting trace to be adjusted in the predetermined edge area for writing region, In, identified handwriting trace includes at least the handwriting trace currently inputted.
Step S203, the display properties of identified handwriting trace is adjusted, so that the handwriting trace after adjusting exists Region in the writing region in addition to the predetermined edge area is shown, wherein the display properties includes position and/or big It is small.
The terminal device that the embodiment of the present invention is applied can refer to electronic whiteboard, electronic blackboard, Digitizing plate, intelligent meeting The intelligent handwritings equipment such as tablet, can also refer to the personal computer for having handwriting functions, laptop computer, cellular phone, phase Electromechanical words, smart phone, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device, intelligence It can TV, set-top box, intelligent locomotive, pilotless automobile or smart home device.User passes through finger or Pointer contacts Writing region on the touch screen of equipment, may be implemented the input of handwriting trace, and the handwriting trace of input can be existed with real-time display Region is write, display location is usually the position that finger or Pointer contacts write region.
The embodiment of the present invention, no matter user writes since which position for writing region, in user's writing to writing area It when the marginal zone in domain, needs quickly to judge that user has write to marginal zone, and the handwriting trace of input is carried out in response Adjustment continues to write the writing space for providing abundance for user.In order to quickly judge, the embodiment of the present invention can be set in advance It is set for the marginal zone for judgement basis, in certain examples, can be directly predetermined edge area by the region division of near border, remain Remaining region is known as target area.When actual division, can by write region in each region point coordinate and each boundary coordinate, Region point is calculated at a distance from boundary, the range range mode of calculating has relationship with the true form for writing region, if writing area Domain is round or oval, then using the range difference in boundary and region point and the center of circle as region point to boundary at a distance from, can will Distance to boundary is divided into predetermined edge area in the region point of predetermined distance range.
If it is quadrangle or other polygons, the vertical range on the zoning boundaries Dian Yuge to write region.It is certain In example, when it is quadrangle to write region, it will make a reservation for less than first with the vertical range of the either boundary for writing region The region point of value is divided into predetermined edge area, and the predetermined edge area after division is as shown in Figure 2 B, and predetermined edge area is in Fig. 2 B Region between solid line and dotted line, target area can be referred to as by writing the region in region in addition to predetermined edge area, be referred in Fig. 2 B The region that dotted line surrounds.First predetermined value mentioned herein can be set by the designer of this programme according to actual use scene It is fixed, such as first predetermined value is write zone boundary length 10%.
In other examples, it is contemplated that the writing style of user, such as Chinese user, when writing general custom from left to right, from Up to lower writing, if starting when the left side edge area for writing region writes, that is, to adjust handwriting trace, user can be given in user Bad writing experience is caused, therefore, the embodiment of the present invention can only position the marginal zone for meeting user's writing style predetermined Marginal zone.Such as:It is predetermined edge area by the region division of right margin and/or bottom boundaries attachment when writing region is quadrangle.
In practical application, second predetermined value can be less than individually by the vertical range with the right margin for writing region Region point be divided into predetermined edge area, or individually by vertical range with the bottom boundaries for writing region, be less than the The region point of three predetermined values is divided into predetermined edge area, or above-mentioned zone point is divided into predetermined edge area simultaneously, such as divides Predetermined edge area afterwards is as shown in Figure 2 C, and predetermined edge area is the region between solid line and dotted line in Fig. 2 C, writes in region and removes Region except predetermined edge area can be referred to as target area, refer to the region of dotted line upper left side in Fig. 2 C.Mentioned herein second Predetermined value and third be destined to can by this programme designer according to actual use scene settings, such as:Second predetermined value It is the 10% of the length of the bottom boundaries in writing region, third predetermined value is the 10% of the length for the right margin for writing region.
After having divided predetermined edge area, if user writes region by finger or Pointer contacts, inside terminal device Relative program can detect and write operation, in order to judge whether to write in predetermined edge area, can obtain and currently to input The position of handwriting trace, the position can react finger or stylus and write the specific contact position in region, then judge to write Whether the position of track is in the predetermined edge area, if the position of handwriting trace is in predetermined edge area, it is determined that write Predetermined edge area.The handwriting trace currently inputted mentioned herein refers to stylus or user when detecting writing operation Finger down, which is write to lifting, stops the handwriting trace that inputs in writing process.
Coordinate in view of the touch location of touch signal and triggered time, with the writing point of the handwriting trace currently inputted The association of coordinate and time when actually obtaining the position of the handwriting trace currently inputted, can acquire the writing operation triggering Touch signal, and the coordinate contained by the touch signal determines the corresponding coordinate of the handwriting trace currently inputted. It is practical when determining the corresponding coordinate of the handwriting trace currently inputted, different sides can be used according to actual scene demand Formula is exemplified below several ways:
Mode one:In order to quickly judge that the position of handwriting trace, can be directly to write rail whether in predetermined edge area The starting of mark writes the coordinate of point to judge.Determine the seat that the starting of the handwriting trace currently inputted is write to point when coordinate It is denoted as the corresponding coordinate of the handwriting trace currently inputted.
Mode two:Under certain scenes, it is contemplated that the writing style of user, usually according to from left to right or from up to down Sequence stroke writing only can write point with the termination of handwriting trace and judge, determining will currently input when coordinate by described The coordinate of point is write in the termination of handwriting trace, as the corresponding coordinate of the handwriting trace currently inputted.
Mode three:In order to avoid in user according to being done from dextrad or bottom-up sequence stroke writing, only to terminate book It writes and is a little judged, it may occur however that erroneous judgement can be write point and be terminated with the starting of handwriting trace and write point to judge, determine coordinate When the starting of the handwriting trace currently inputted write into point, and terminate and write the coordinate of point and currently inputted as described The corresponding coordinate of handwriting trace.
Mode four:In view of the shape of the handwriting trace of input may be irregular, only write point with starting and terminate and write Point is judged, it may occur however that erroneous judgement, so when determining coordinate, it can be by all books of the handwriting trace currently inputted Coordinate a little is write, as the corresponding coordinate of the handwriting trace currently inputted.
Mode four:Under certain scenes, stylus or user's finger press write it is lasting to the process that stops writing is lifted Time may be long, and the writing point contained by the handwriting trace of input is more, if with all writing points contained by handwriting trace Being judged, the time of consuming may be relatively more, in order to improve efficiency while taking into account accuracy, the embodiment of the present invention, It, can be by the boundary coordinate of the minimum outsourcing rectangular area of the handwriting trace currently inputted, as described when determining coordinate The corresponding coordinate of handwriting trace currently inputted.When judgement, only with the maximum of the coordinate range of boundary coordinate and minimum into Row judges.
The embodiment of the present invention can determine the corresponding seat of the handwriting trace currently inputted by any of the above mode Mark, can also determine coordinate by other means, can also obtain institute by the other modes except coordinate contained by touch signal The coordinate of the handwriting trace currently inputted is stated, the embodiment of the present invention is without limitation.
Such as in certain application scenarios, the related image capture device of terminal device, such as camera is installed in terminal and sets Near standby, it is used for the touch screen of camera terminal equipment, when finger or Pointer contacts write region, the screen picture of shooting also can Including the image data of finger or stylus, the embodiment of the present invention can obtain the writing currently inputted by following operation The position of track:
Each frame screen picture write described in associated image capture device and transmitted after operation is detected is received, and is passed through Object in the every frame screen picture of identification for triggering handwriting trace, determines the corresponding seat of the handwriting trace currently inputted Mark, wherein the object is stylus or user's finger.
For the coordinate determined, judging the position whether when writing the predetermined edge area in region, it can be determined that Whether identified coordinate is in the coordinate range in the predetermined edge area, if can be determined that and described currently inputting The position of handwriting trace is in scheduled marginal zone.
In other examples, when whether judging the position in the predetermined edge area in writing region, it can also judge institute Whether determining coordinate is in the coordinate range of target area, if it was not then can be determined that the writing rail currently inputted The position of mark is in scheduled marginal zone.Wherein, the target area refer in the writing region except the predetermined edge area it Outer region can specifically see Fig. 2 B and Fig. 2 C.
It is specific when judging, if the corresponding coordinate of the handwriting trace currently inputted have it is multiple, as long as any coordinate exists In the coordinate range in predetermined edge area, or not in the coordinate range of target area, the book currently inputted can be judged The position of track is write in scheduled marginal zone.
If it is coordinate in a coordinate range that it is coordinate that the handwriting trace currently inputted is corresponding, as long as the coordinate Range and the coordinate range in predetermined edge area have intersection, alternatively, the coordinate range is not fully contained in the coordinate model of target area In enclosing, it can judge the position of the handwriting trace currently inputted in scheduled marginal zone.
When the embodiment of the present invention judges that the position of the handwriting trace currently inputted is in scheduled marginal zone, show to touch Control pen or the finger of user have been approached the edge for writing region, in order to avoid because of page turning, wiping in the operations such as the track inputted The writing of disconnected user, can be adjusted the handwriting trace of input.And under different application scenarios, the handwriting trace that is adjusted and Predetermined adjustable strategies will be different based on adjustment, or even the opportunity of adjustment would also vary from, and be exemplified below several answer Use scene:
Scene one:It, can will be described in order to not influence writing the whole display effect of input trajectory being had been displayed in region The handwriting trace and the handwriting trace write in region in addition to the handwriting trace currently inputted currently inputted, As handwriting trace to be adjusted.Scheduled adjustable strategies can be:
To the display location of handwriting trace determined by the direction adjustment far from the predetermined edge area;
To the display location of handwriting trace determined by the center adjustment for writing region.
It wherein,, can be by identical tune if original spacing between keeping adjacent handwriting trace during above-mentioned adjustment Whole picture degree moves each handwriting trace.Such as:The coordinate write contained by each handwriting trace a little can be changed with identical predetermined knots modification; The abscissa that all handwriting traces can be changed with scheduled abscissa knots modification changes all books with scheduled ordinate knots modification Write the ordinate of track, wherein scheduled abscissa knots modification is different from scheduled ordinate knots modification.
In addition, when adjustment, in addition to being directly changed the coordinate write contained by handwriting trace a little, can also be write by reducing The display size of track, causes the change of the contained coordinate and quantity for writing point of handwriting trace indirectly, or reduces adjacent writing The spacing of track causes the change of the contained coordinate for writing point of handwriting trace indirectly.
In certain examples, when adjusting the display location of identified handwriting trace to the center for writing region, if Center shows handwriting trace, can not change the size of handwriting trace, does not adjust the handwriting trace of central point, adjusts it The contained coordinate for writing point of his handwriting trace, or adjust the spacing of adjacent handwriting trace.
Scene two:In order to reduce the time spent by adjustment handwriting trace, handwriting trace to be adjusted may include described Handwriting trace in the handwriting trace currently inputted, and the subregion adjacent with the predetermined edge area.Phase mentioned herein Adjacent subregion can be preset, such as:By with the inner boundary in the predetermined edge area (dotted line in such as Fig. 2 B or Fig. 2A) Region point of the vertical range in predetermined range, be divided into adjacent subregion.
It wherein, can be to the direction far from the predetermined edge area determined by adjusting when the display properties of handwriting trace The display location of handwriting trace determined by adjustment, can also be to handwriting trace determined by the center adjustment for writing region Display location.
Specific adjustment mode may refer to scene one, and details are not described herein.
Further, since not all handwriting traces shown in region are write in adjustment under this scene, in order to avoid the tune Handwriting trace after whole is Chong Die with unadjusted handwriting trace, and when adjustment, which can be detected, writes in region far from the predetermined edge Area and the region without showing handwriting trace, then to handwriting trace determined by the region adjustment detected.It can also adjust After whole, whether the handwriting trace after detection adjustment is Chong Die with unadjusted handwriting trace, if so, can also be adjusted by reducing The display size of handwriting trace afterwards avoids being overlapped, or reduces the spacing of adjacent handwriting trace to avoid handwriting trace weight It is folded.
For scene one and scene two, to the operation that the display properties of identified handwriting trace is adjusted, if It is adjusted before showing the handwriting trace currently inputted, the display location of handwriting trace can be made to be connect with stylus or user's finger The position for touching writing region is inconsistent, if the handwriting trace of user's successively input is interrelated, in order to avoid associated writing Site error between track, after user may often input a handwriting trace, it is necessary to the handwriting trace display significantly Change stylus or finger and write the contact position in region, bad experience can be caused to user in this way, therefore, in scene one In scene two, can after showing the handwriting trace currently inputted, and before showing next handwriting trace, execute to really The operation that the display properties of fixed handwriting trace is adjusted.
Scene three:In order to avoid the site error between associated handwriting trace, in addition to what is mentioned in scene one or scene two Outside handwriting trace to be adjusted, association that the embodiment of the present invention can also will input after the handwriting trace currently inputted Handwriting trace is determined as handwriting trace to be adjusted.In one example, the association handwriting trace and the writing currently inputted Track is the component part of same target object, which is targeted graphical or target words.In another example, the pass Connection handwriting trace includes the content inputted in predetermined period after the handwriting trace currently inputted.Here predetermined period It can be 3 seconds, according to the predetermined period, the embodiment of the present invention can will be defeated in three seconds after the handwriting trace currently inputted The handwriting trace entered is determined as being associated with handwriting trace.In other examples, it can also be defined according to practical application scene and be worked as with described The associated handwriting trace of handwriting trace of preceding input, the embodiment of the present invention are without limitation.
It wherein, can be to far from the predetermined edge area when being adjusted to the display properties of identified handwriting trace Direction adjustment determined by handwriting trace display location;It can also be to book determined by the center adjustment for writing region Write the display location of track.
Specific adjustment mode may refer to scene one, and details are not described herein.
And to the operation that the display properties of identified handwriting trace is adjusted, rail can be write inputting the association It is executed after mark.
Scene four:As in figures 2 b or 2 c, the range in predetermined edge area is wider, if adjustment handwriting trace, no matter institute The coordinate of the handwriting trace currently inputted is stated in which position, all takes unified predetermined policy to be adjusted, is likely to result in It can cause to adjust repeatedly, expend more adjustment opportunity.Such as:Book of the position of the handwriting trace currently inputted in Fig. 2 B or 2C The upper right corner in region is write, scheduled adjustable strategies are the display location for adjusting identified handwriting trace to the left, can make adjustment Region of the handwriting trace afterwards in the writing region except predetermined edge area is shown.
But under certain situations, the position of the handwriting trace currently inputted may be on the left side in the writing region of Fig. 2 B or 2C Inferior horn, scheduled adjustable strategies are that when adjusting the display location of identified handwriting trace to the left, can make the writing after adjustment Track can exceed the range in the writing region far from predetermined edge area, and then also need to reduce the writing rail after adjustment The display size of mark, the spacing for reducing the adjacent handwriting trace after adjustment, or the mode moved to other directions is taken, make tune Region of the handwriting trace in the writing region except predetermined edge area after whole is shown.Such adjustment process can expend compared with The long time occupies more device resource.
In view of above-mentioned condition, it is multiple subregions that the embodiment of the present invention, which can will write region division, each contains area The subregion on domain boundary corresponds to a kind of adjustable strategies, when adjusting the display properties of identified handwriting trace, can first determine institute The subregion belonging to the position of the handwriting trace currently inputted is stated, using the corresponding adjustable strategies of identified subregion as predetermined Adjustable strategies, then adjust determined by handwriting trace attribute, so that the handwriting trace after adjusting is in the writing region In region in addition to the predetermined edge area show.
It when specific division subregion, can be divided with writing region and predetermined edge area shown in Fig. 2 B, Fig. 2 D to figure 2E shows specific partition process, can will write region shown in Fig. 2 B first and be divided into four regions, and such as scheme after decile Shown in 2D, including tetra- regions M1, M2, M3 and M4, decile then will be carried out per sub-regions, as shown in Figure 2 E, by M1 deciles For tetra- sub-regions of M11, M12, M13 and M14, M2 is divided into tetra- sub-regions of M21, M22, M23 and M24, M3 is divided into M4 is divided into tetra- sub-regions of M41, M42, M43 and M44, shown in final Fig. 2 B by tetra- sub-regions of M31, M32, M33 and M34 Writing region be divided into 14 sub-regions shown in Fig. 2 E.
This programme designer can set different adjustable strategies for all subregion adjacent from predetermined edge area, than Such as:This kind of subregion of M11, M22, M33 and M44 can be referred to as first kind subregion, two adjacent boundary categories of such subregion In two adjacent edges of quadrangle (writing region), scheduled adjustable strategies are:To the intersection point (figure far from two adjacent edges In 2E write region each adjacent boundary intersection point) direction adjustment determined by handwriting trace display location.
This kind of subregion of M12, M21, M13, M31, M34, M43, M42 and M24 for another example can be referred to as the second class sub-district Domain, such subregion only have one side that a boundary belongs to the quadrangle, and scheduled adjustable strategies can be:To far from described four The display position of handwriting trace determined by the direction adjustment of (every sub-regions overlap side with writing region) in this of shape It sets.
Further, it is also possible to further subdivision and adjustment strategy, such as:
The corresponding adjustable strategies of M11 subregions are:The display position of handwriting trace determined by adjusting to the right and downwards respectively It sets, specific adjustment amplitude can be set according to actual needs, such as adjust the length that amplitude set is the lower boundary for writing region to the right The N% of degree adjusts downwards the N% for the length that amplitude set is the right margin for writing region, wherein it can set according to demand, Such as it is set as 10.
The corresponding adjustable strategies of M12 subregions are:The display location of handwriting trace determined by adjustment downwards, it is specific to adjust Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the right margin for writing region downwards, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M13 subregions are:The display location of handwriting trace, specific to adjust determined by adjusting to the right Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the lower boundary for writing region to the right, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M21 subregions are:The display location of handwriting trace determined by adjustment downwards, it is specific to adjust Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the right margin for writing region downwards, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M22 subregions are:The display position of handwriting trace determined by adjusting to the left and downwards respectively It sets, specific adjustment amplitude can be set according to actual needs, such as adjust the length that amplitude set is the lower boundary for writing region to the left The N% of degree adjusts downwards the N% for the length that amplitude set is the right margin for writing region, wherein it can set according to demand, Such as it is set as 10.
The corresponding adjustable strategies of M24 subregions are:The display location of handwriting trace, specific to adjust determined by adjusting to the left Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the lower boundary for writing region to the left, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M31 subregions are:The display location of handwriting trace, specific to adjust determined by adjusting to the right Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the lower boundary for writing region to the right, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M33 subregions are:The display position of handwriting trace determined by adjusting right and up respectively It sets, specific adjustment amplitude can be set according to actual needs, such as adjust the length that amplitude set is the lower boundary for writing region to the right The N% of degree adjusts upward the N% for the length that amplitude set is the right margin for writing region, wherein it can set according to demand, Such as it is set as 10.
The corresponding adjustable strategies of M34 subregions are:The display location of handwriting trace determined by adjusting upward, it is specific to adjust Amplitude can be set according to actual needs, such as adjust upward the N% for the length that amplitude set is the right margin for writing region, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M42 subregions are:The display location of handwriting trace, specific to adjust determined by adjusting to the right Amplitude can be set according to actual needs, such as adjust the N% for the length that amplitude set is the lower boundary for writing region to the right, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M43 subregions are:The display location of handwriting trace determined by adjusting upward, it is specific to adjust Amplitude can be set according to actual needs, such as adjust upward the N% for the length that amplitude set is the right margin for writing region, In, it can set according to demand, such as be set as 10.
The corresponding adjustable strategies of M44 subregions are:Respectively to the left and the display position of handwriting trace determined by adjusting upward It sets, specific adjustment amplitude can be set according to actual needs, such as adjust the length that amplitude set is the lower boundary for writing region to the left The N% of degree adjusts upward the N% for the length that amplitude set is the right margin for writing region, wherein it can set according to demand, Such as it is set as 10.
It, can be with if the position of the handwriting trace after adjustment is not interior target area (as shown in Figure 2 B) in scene four The display size of the handwriting trace after adjustment is reduced again, and/or reduces the distance of the adjacent handwriting trace after adjustment so that again Handwriting trace after adjustment is shown in target area.Specific diminution amplitude can be by this programme designer according to actual needs Setting, is such as set as above-mentioned N%
In addition, the execution opportunity of handwriting trace to be adjusted in scene four, adjustment operation can be found in above-mentioned scene one to field Jing Si, details are not described herein, in other embodiments can be by any embodiment is mentioned in above-mentioned scene one to scene four tune The execution time that whole strategy, handwriting trace to be adjusted, adjustment operate, it is combined collocation according to actual needs, can also be adopted Take its that the region in addition to the presumptive area in the writing region of the handwriting trace after enabling to adjustment shown His adjustable strategies, or by any embodiment is mentioned in other adjustable strategies and above-mentioned scene one to scene four adjustable strategies, The execution time of handwriting trace, adjustment operation to be adjusted is combined collocation, and the embodiment of the present invention does not repeat this.
After completing to the display properties adjustment of handwriting trace, touch screen can be according to the display properties after adjustment, in institute State the handwriting trace after the region display adjustment except predetermined edge area.
Below in conjunction with attached drawing 3A to 3H, an application example is enumerated.
In this example, terminal device can be electronic whiteboard, write region, predetermined edge area and target area such as Fig. 2 B Shown, after the designer of this programme will write region division, the subregion for writing region is as shown in Figure 2 E, by M11, M22, This kind of subregions of M33 and M44 are referred to as first kind subregion, by this kind of sub-district of M12, M21, M13, M31, M34, M43, M42 and M24 Domain is referred to as the second class subregion.
Wherein, the corresponding adjustable strategies of first kind class subregion can be:To the intersection point far from two adjacent edges The display location of handwriting trace determined by the adjustment of direction.The corresponding adjustable strategies of second class subregion can be:To far from institute State the display location of handwriting trace determined by the direction adjustment on this side of quadrangle.
After user's finger, which triggers, writes region, the relevant technologies in terminal device can detect writing operation, and obtain The position (step S301) of the handwriting trace currently inputted is taken, the handwriting trace currently inputted is as shown in Figure 3B, is predetermined The position after the handwriting trace " being carried out to electronic whiteboard " inputted has been displayed, by executing judgement in "-" in marginal zone The position whether predetermined edge area (S302) operation, judge the handwriting trace currently inputted in predetermined edge area, All handwriting traces write in region can be determined as handwriting trace (step S303) to be adjusted.Again by described in determination The corresponding adjustable strategies of subregion are scheduled adjustment plan determined by subregion (step S304) and acquisition belonging to position Slightly (step S305), it may be determined that go out scheduled adjustable strategies.In step S304, can compare indicate the position coordinate and The coordinate range of sub-regions, if in the coordinate range of any subregion, it is determined that the position belongs to the subregion.
As shown in Figure 3B, it may be determined that its affiliated subregion is first kind subregion, and scheduled adjustable strategies are:To separate The display location of handwriting trace determined by the direction adjustment of the intersection point of two adjacent edges.I.e. to far from the right side for writing region Handwriting trace determined by the direction movement on the vertex at upper angle.
Then the display properties (step S306) that identified handwriting trace is adjusted according to scheduled adjustable strategies, tool are executed Body adjusts process can be refering to the embodiment involved by Fig. 2A to Fig. 2 E, and details are not described herein, if the handwriting trace before adjustment As shown in Figure 3B, the handwriting trace after adjustment can be as shown in Figure 3 C.
In certain examples, the content of identified handwriting trace is more, after executing step S306, may have part to write rail Mark exceeds target area, therefore whether the embodiment of the present invention can execute the handwriting trace after judging adjustment after step S306 Operation (step S307) beyond target area, if without departing from adjustment is terminated.
In certain scenes, the handwriting trace after adjustment may exceed target area, such as handwriting trace such as Fig. 3 D before adjusting Shown, identified handwriting trace includes " cycle to electronic whiteboard carry out-", the handwriting trace after adjustment as shown in FIGURE 3 E, book It writes track " following " and has exceeded target area.It, can be according to diminution in order to make the handwriting trace after adjustment be shown in target area The strategy of the size of handwriting trace after adjustment and the adjacent handwriting trace after adjustment again carries out the handwriting trace after adjustment It adjusts (step S308).Specific adjustment is referred to the embodiment involved by Fig. 2A to Fig. 2 E, and details are not described herein, after adjustment Handwriting trace as illustrated in Figure 3 F, is shown in target area.
In addition, the embodiment of the present invention can also will write the handwriting trace being had been displayed in region, such as the writing rail in Fig. 3 B Mark " electronic whiteboard is carried out-", and with the current handwriting trace "-" composition book word " rail " to be associated with handwriting trace true It is set to handwriting trace to be adjusted, and after association handwriting trace input, then adjusts identified handwriting trace, the book before adjustment Write track as shown in Figure 3 G, for " carrying out rail to electronic whiteboard ", handwriting trace such as Fig. 3 H after adjustment, to be shown in target area " to electronic whiteboard carry out rail ".
By above-described embodiment it is found that scheme provided by the invention, can detect that when writing operation, acquisition is current to be inputted Handwriting trace position, if acquired position write region predetermined edge area, can be according to scheduled adjustment Strategy is adjusted the attribute of the track to be adjusted including at least the handwriting trace currently inputted, the writing after adjustment Region of the track in the writing region in addition to the predetermined edge area is shown.Therefore, the solution of the present invention can with When family is write to predetermined edge area, the region that the handwriting trace of input is adjusted to except predetermined edge area is shown, is vacated predetermined Marginal zone is write for user, without skipping without user shift position, can provide sufficient writing space to the user, into And improve the writing efficiency of user.
The designer of this programme can design executes the embodiment of the present invention after the writing function of terminal device starts Scheme, can also design start execute the embodiment of the present invention scheme start button, needing execute the embodiment of the present invention Scheme when, then by start button start execute the embodiment of the present invention scheme, such as:After user writes a period of time, soon When writing to marginal zone, by pressing preset start button so that terminal device starts the scheme for executing the embodiment of the present invention. When thinking to execute, the scheme for executing the embodiment of the present invention can be terminated by the close button of design.
Corresponding with the embodiment of preceding method, the present invention also provides the embodiments of device.
It is the block diagram of the device of the adjustment handwriting trace shown in an exemplary embodiment of the invention, the dress referring to Fig. 4, Fig. 4 The smart machine that can be applied to support handwriting functions is set, including:Locating module 410, determining module 420 and adjustment module 430.
Wherein, locating module 410, for when detecting writing operation, obtaining the position of the handwriting trace currently inputted.
Determining module 420, for, when writing the predetermined edge area in region, determining writing rail to be adjusted in the position Mark, wherein identified handwriting trace includes at least the handwriting trace currently inputted.
Module 430 is adjusted, is adjusted for the display properties to identified handwriting trace, so as to the writing after adjusting Region of the track in the writing region in addition to the predetermined edge area is shown, wherein the display properties includes position And/or size.
In some examples, locating module 410 may include:
Coordinate acquisition module, for acquiring the touch signal for writing operation triggering, and according to the touch signal institute The coordinate contained determines the corresponding coordinate of the handwriting trace currently inputted;Alternatively,
Coordinate identification module, for receive described in associated image capture device write operation be detected after transmit it is each Frame screen picture, and by the object for triggering handwriting trace in identifying per frame screen picture is determined and described is currently inputted The corresponding coordinate of handwriting trace, wherein the object is stylus or user's finger.
As an example, the device of the adjustment handwriting trace of the embodiment of the present invention can also include judgment module, judgment module It can be used for:
Whether coordinate is in the coordinate range in the predetermined edge area determined by judging;
If identified coordinate in the coordinate range, judges the position in the predetermined edge area.
As an example, the device of the adjustment handwriting trace of the embodiment of the present invention can also include judgment module, judgment module It can be used for:
Whether coordinate is in the coordinate range of target area determined by judging, wherein the target area refers to the book Write the region in addition to the predetermined edge area in region;
If identified coordinate not in the coordinate range, judges the position in the predetermined edge area.
As an example, identified coordinate includes:
The coordinate of point is write in the starting of the handwriting trace currently inputted;And/or
The coordinate of point is write in the termination of the handwriting trace currently inputted.
As an example, identified coordinate includes the coordinate of all writing points of the handwriting trace currently inputted.
As an example, identified coordinate includes the side of the minimum outsourcing rectangular area of the handwriting trace currently inputted Boundary's coordinate.
In other examples, identified handwriting trace further includes:
Handwriting trace in the subregion adjacent with the predetermined edge area.
In other examples, identified handwriting trace further includes:
Handwriting trace in the writing region in addition to the handwriting trace currently inputted.
In other examples, adjustment module 430 can be used for after showing the handwriting trace currently inputted, and aobvious Before showing next handwriting trace, the display properties of identified handwriting trace is adjusted.
In other examples, identified handwriting trace further includes:
The association handwriting trace inputted after the handwriting trace currently inputted;
Adjustment module 430 can be used for after the association handwriting trace inputs, the display to identified handwriting trace Attribute is adjusted.
In other examples, the association handwriting trace is same target object with the handwriting trace currently inputted Component part, the target object are targeted graphical or target words;Alternatively,
The association handwriting trace includes the content inputted in predetermined period after the handwriting trace currently inputted.
In other examples, when the writing region is quadrangle, the predetermined edge area includes:
It is less than the region point of first predetermined value with the vertical range of the either boundary for writing region.
In other examples, when the writing region is quadrangle, the predetermined edge area includes:
It is less than the region point of second predetermined value with the vertical range of the right margin for writing region;And/or
It is less than the region point of third predetermined value with the vertical range of the bottom boundaries for writing region.
In other examples, when the writing region is the quadrangle that multiple subregions are constituted, adjustment module 430 can be used In:
Determine that the subregion belonging to the position determines;
When two adjacent boundaries of identified subregion belong to two adjacent edges of the quadrangle, to far from described The display location of handwriting trace determined by the direction adjustment of the intersection point of two adjacent edges;
When identified subregion only has one side that a boundary belongs to the quadrangle, to being somebody's turn to do far from the quadrangle The display location of handwriting trace determined by the direction adjustment on side.
In other examples, if the handwriting trace after adjustment adjusts mould beyond the region except the predetermined edge area Block 430 can be also used for:
Handwriting trace determined by reducing;And/or
The spacing of adjacent handwriting trace in handwriting trace determined by reducing.
In other examples, adjustment module 430 can be used for:
To the display location of handwriting trace determined by the direction adjustment far from the predetermined edge area;
To the display location of handwriting trace determined by the center adjustment for writing region.
The function of each unit (or module) and the realization process of effect specifically refer to right in the above method in above-mentioned apparatus The realization process of step is answered, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit or module of explanation may or may not be physically separated, and the component shown as unit or module can be with It is or may not be physical unit or module, you can be located at a place, or may be distributed over multiple network lists In member or module.Some or all of module therein can be selected according to the actual needs to realize the mesh of the present invention program 's.Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
The embodiment that the present invention adjusts the device of handwriting trace can be applied on the terminal device.It specifically can be by computer Chip or entity are realized, or are realized by the product of support handwriting functions.In the typical realization of one kind, terminal device is to calculate The concrete form of machine, computer can be the intelligent handwritings equipment such as electronic whiteboard, electronic blackboard, Digitizing plate, intelligent meeting tablet, It can also be the personal computer for having handwriting functions, laptop computer, cellular phone, camera phone, smart phone, navigation Equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device, smart television, set-top box, intelligent machine The combination of arbitrary several equipment in vehicle, pilotless automobile, smart home device or these equipment.
Device embodiment can also be realized by software realization by way of hardware or software and hardware combining.With For software realization, as the device on a logical meaning, being will be non-volatile by the processor of electronic equipment where it Corresponding computer program instructions read what operation in memory was formed in the readable storage medium storing program for executing such as memory.From hardware view Speech, as shown in figure 5, for a kind of hardware structure diagram of terminal device where the device of present invention adjustment handwriting trace, in addition to Fig. 5 institutes Except the processor, memory, network interface and the nonvolatile memory that show, the terminal device in embodiment where device is logical Often according to the actual functional capability of the terminal device, it can also include other hardware, this is repeated no more.Wherein, memory and non-volatile Property memory be computer-readable memory, the memory of terminal device can store the executable program instruction of processor; Processor can be with coupled memory, the program instruction for reading the storage medium storage, and in response, executes to take up an official post The operation in the method for handwriting trace is adjusted in one embodiment.
In other embodiments, the operation performed by processor can refer to the method for adjustment handwriting trace described above Relevant description in embodiment, it will not be described here.
In addition, the embodiment of the present invention also provides a kind of machine readable storage medium (memory of electronic equipment), it is described can The instruction that has program stored therein in storage medium is read, described program instruction includes each step of the method for adjustment handwriting trace described above Corresponding instruction.When executed by one or more processors so that terminal device executes adjustment handwriting trace described above Method.
The embodiment of the present invention can be used one or more wherein include program code readable storage medium storing program for executing (including but Be not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer is available Readable storage medium storing program for executing includes permanent and non-permanent, removable and non-removable media, can by any method or technique Lai Realize information storage.Information can be computer-readable instruction, data structure, the module of program or other data.It is machine readable The example of storage medium includes but not limited to:Phase transition internal memory (PRAM), static RAM (SRAM), dynamic random are deposited Access to memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable are only Read memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), the more work(of number Can CD (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus or it is any its His non-transmission medium, can be used for storing and can be accessed by a computing device information.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (20)

1. a kind of method of adjustment handwriting trace, which is characterized in that including step:
When detecting writing operation, the position of the handwriting trace currently inputted is obtained;
If the position determines handwriting trace to be adjusted, wherein identified writing in the predetermined edge area for writing region Track includes at least the handwriting trace currently inputted;
The display properties of identified handwriting trace is adjusted, so that the handwriting trace after adjusting is in the writing region Region in addition to the predetermined edge area is shown, wherein the display properties includes position and/or size.
2. according to the method described in claim 1, it is characterized in that, the position for obtaining the handwriting trace currently inputted, packet It includes:
The touch signal for writing operation triggering, and the coordinate contained by the touch signal are acquired, is determined described current The corresponding coordinate of handwriting trace of input;Alternatively,
Each frame screen picture write described in associated image capture device and transmitted after operation is detected is received, and passes through identification Object in per frame screen picture for triggering handwriting trace, determines the corresponding coordinate of the handwriting trace currently inputted, In, the object is stylus or user's finger.
3. according to the method described in claim 2, it is characterized in that, identified coordinate includes:
The coordinate of point is write in the starting of the handwriting trace currently inputted;And/or
The coordinate of point is write in the termination of the handwriting trace currently inputted.
4. according to the method described in claim 2, it is characterized in that, identified coordinate includes the writing rail currently inputted The coordinate of all writing points of mark.
5. according to the method described in claim 2, it is characterized in that, identified coordinate includes the writing rail currently inputted The boundary coordinate of the minimum outsourcing rectangular area of mark.
6. according to the method described in claim 2, it is characterized in that, the method further includes:
Whether coordinate is in the coordinate range in the predetermined edge area determined by judging;
If identified coordinate in the coordinate range, judges the position in the predetermined edge area.
7. according to the method described in claim 2, it is characterized in that, the method includes:
Whether coordinate is in the coordinate range of target area determined by judging, wherein the target area refers to the writing area Region in domain in addition to the predetermined edge area;
If identified coordinate not in the coordinate range, judges the position in the predetermined edge area.
8. according to the method described in claim 1, it is characterized in that, identified handwriting trace further includes:
With the handwriting trace in the adjacent subregion in the predetermined edge area.
9. according to the method described in claim 1, it is characterized in that, identified handwriting trace further includes:
Other handwriting traces in the writing region in addition to the handwriting trace currently inputted.
10. according to the method described in claim 9, it is characterized in that, the display properties to identified handwriting trace into The step of row adjustment, after showing the handwriting trace currently inputted, and executes before showing next handwriting trace.
11. according to the method described in claim 9, it is characterized in that, identified handwriting trace further includes:
The association handwriting trace inputted after the handwriting trace currently inputted;
The step of display properties to identified handwriting trace is adjusted is held after association handwriting trace input Row.
12. according to the method described in claim 9, it is characterized in that:
The association handwriting trace and the component part that the handwriting trace currently inputted is same target object, the target pair As for targeted graphical or target words;Alternatively,
The association handwriting trace includes the content inputted in predetermined period after the handwriting trace currently inputted.
13. according to the method described in claim 1, it is characterized in that, the writing region be quadrangle when, the predetermined edge Area includes:
It is less than the region point of first predetermined value with the vertical range of the either boundary for writing region.
14. according to the method described in claim 1, it is characterized in that, the writing region be quadrangle when, the predetermined edge Area includes:
It is less than the region point of second predetermined value with the vertical range of the right margin for writing region;And/or
It is less than the region point of third predetermined value with the vertical range of the bottom boundaries for writing region.
15. the method according to any one of claim 1 to 14, which is characterized in that described to identified handwriting trace Display properties be adjusted, including:
To the display location of handwriting trace determined by the direction adjustment far from the predetermined edge area;Or,
To the display location of handwriting trace determined by the center adjustment for writing region.
16. the method according to any one of claim 1 to 14, which is characterized in that the writing region is multiple sub-districts When the quadrangle that domain is constituted, the display properties to identified handwriting trace is adjusted, including:
Determine the subregion belonging to the position;
If two adjacent boundaries of identified subregion belong to two adjacent edges of the quadrangle, to far from described two The direction of the intersection point of adjacent edge adjusts the display location of identified handwriting trace;
If identified subregion only has one side that a boundary belongs to the quadrangle, to this side far from the quadrangle Direction, adjust determined by handwriting trace display location.
17. according to the method for claim 16, which is characterized in that if the handwriting trace after adjustment exceeds the predetermined sides Region except edge area, the display properties to identified handwriting trace are adjusted, including:
Handwriting trace determined by reducing;And/or
The spacing of adjacent handwriting trace in handwriting trace determined by reducing.
18. a kind of device of adjustment handwriting trace, which is characterized in that including:
Locating module, for when detecting writing operation, obtaining the position of the handwriting trace currently inputted;
Determining module, for, when writing the predetermined edge area in region, determining handwriting trace to be adjusted in the position, In, identified handwriting trace includes at least the handwriting trace currently inputted;
Module is adjusted, is adjusted for the display properties to identified handwriting trace, so that the handwriting trace after adjusting exists Region in the writing region in addition to the predetermined edge area is shown.
19. a kind of terminal device, which is characterized in that including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, the program instruction for reading the memory storage, and as sound It answers, executes such as the operation in any one of claim 1-17 the method.
20. one or more machine readable storage mediums, which is characterized in that instruction is stored thereon with, when by one or more When managing device execution so that terminal device is executed such as the operation in any one of claim 1-17 the method.
CN201810094054.7A 2018-01-31 2018-01-31 Method, device and equipment for adjusting writing track and readable storage medium Active CN108334229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810094054.7A CN108334229B (en) 2018-01-31 2018-01-31 Method, device and equipment for adjusting writing track and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810094054.7A CN108334229B (en) 2018-01-31 2018-01-31 Method, device and equipment for adjusting writing track and readable storage medium

Publications (2)

Publication Number Publication Date
CN108334229A true CN108334229A (en) 2018-07-27
CN108334229B CN108334229B (en) 2021-12-14

Family

ID=62926931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810094054.7A Active CN108334229B (en) 2018-01-31 2018-01-31 Method, device and equipment for adjusting writing track and readable storage medium

Country Status (1)

Country Link
CN (1) CN108334229B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062497A (en) * 2018-08-17 2018-12-21 石家庄科达文教用品有限公司 synchronous writing method, device and terminal device
CN110263519A (en) * 2019-05-31 2019-09-20 联想(北京)有限公司 Information processing method and electronic equipment
CN110515528A (en) * 2019-07-18 2019-11-29 同辉佳视(北京)信息技术股份有限公司 Touch-control pen interaction method, touch screen control method and touch screen
CN110941383A (en) * 2019-10-11 2020-03-31 广州视源电子科技股份有限公司 Double-screen display method, device, equipment and storage medium
CN112382147A (en) * 2020-11-13 2021-02-19 北京安博盛赢教育科技有限责任公司 Method, device, medium and electronic equipment for adjusting function display area
CN112650459A (en) * 2019-10-11 2021-04-13 张雯 Eye facility and method for learning in remote
CN113178105A (en) * 2020-05-14 2021-07-27 聚好看科技股份有限公司 Intelligent display device and exercise record acquisition method
CN114185453A (en) * 2021-12-06 2022-03-15 深圳市奇脉电子技术有限公司 Method for realizing two-dimensional control of brightness and color temperature based on touch screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354882A (en) * 2007-07-24 2009-01-28 讯连科技股份有限公司 Systems and methods for automatic adjustment of text
CN102023759A (en) * 2010-11-23 2011-04-20 广东威创视讯科技股份有限公司 Writing and locating method of active pen
CN102446055A (en) * 2010-09-30 2012-05-09 阿尔派株式会社 Character handwriting input method and device
CN103729074A (en) * 2013-12-26 2014-04-16 三星电子(中国)研发中心 Device, system and method for recognizing handwritings
CN104199566A (en) * 2014-08-21 2014-12-10 三星电子(中国)研发中心 Handwriting synchronizing device and method
CN106598289A (en) * 2016-10-21 2017-04-26 广州视源电子科技股份有限公司 Writing page expansion method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354882A (en) * 2007-07-24 2009-01-28 讯连科技股份有限公司 Systems and methods for automatic adjustment of text
CN102446055A (en) * 2010-09-30 2012-05-09 阿尔派株式会社 Character handwriting input method and device
CN102023759A (en) * 2010-11-23 2011-04-20 广东威创视讯科技股份有限公司 Writing and locating method of active pen
CN103729074A (en) * 2013-12-26 2014-04-16 三星电子(中国)研发中心 Device, system and method for recognizing handwritings
CN104199566A (en) * 2014-08-21 2014-12-10 三星电子(中国)研发中心 Handwriting synchronizing device and method
CN106598289A (en) * 2016-10-21 2017-04-26 广州视源电子科技股份有限公司 Writing page expansion method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062497A (en) * 2018-08-17 2018-12-21 石家庄科达文教用品有限公司 synchronous writing method, device and terminal device
CN110263519A (en) * 2019-05-31 2019-09-20 联想(北京)有限公司 Information processing method and electronic equipment
CN110515528A (en) * 2019-07-18 2019-11-29 同辉佳视(北京)信息技术股份有限公司 Touch-control pen interaction method, touch screen control method and touch screen
CN110941383A (en) * 2019-10-11 2020-03-31 广州视源电子科技股份有限公司 Double-screen display method, device, equipment and storage medium
CN112650459A (en) * 2019-10-11 2021-04-13 张雯 Eye facility and method for learning in remote
CN110941383B (en) * 2019-10-11 2021-08-10 广州视源电子科技股份有限公司 Double-screen display method, device, equipment and storage medium
CN113178105A (en) * 2020-05-14 2021-07-27 聚好看科技股份有限公司 Intelligent display device and exercise record acquisition method
CN113178105B (en) * 2020-05-14 2022-05-24 聚好看科技股份有限公司 Intelligent display device and exercise record acquisition method
CN112382147A (en) * 2020-11-13 2021-02-19 北京安博盛赢教育科技有限责任公司 Method, device, medium and electronic equipment for adjusting function display area
CN114185453A (en) * 2021-12-06 2022-03-15 深圳市奇脉电子技术有限公司 Method for realizing two-dimensional control of brightness and color temperature based on touch screen

Also Published As

Publication number Publication date
CN108334229B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN108334229A (en) Adjust the method, apparatus and equipment, readable storage medium storing program for executing of handwriting trace
CN110716680B (en) Control method and device of intelligent interactive panel
WO2021036526A1 (en) Screenshot capturing method, device, electronic device and computer-readable medium
CN109739372B (en) Graph drawing method for handwriting input equipment and handwriting reading equipment
US20110157047A1 (en) Information processing apparatus and control method therefor
CN110427601B (en) Form processing method and device, intelligent interactive panel and storage medium
CN110045840B (en) Writing track association method, device, terminal equipment and storage medium
CN103677643A (en) Method and device for locally amplifying content of screen based on floating touch
CN110928475A (en) Page interaction method, device, equipment and storage medium of intelligent interaction panel
CN107491297A (en) Drop-down refreshes the implementation method and device at APP interfaces
CN112596661A (en) Writing track processing method and device and interactive panel
CN110297558B (en) Multi-touch control method and device, intelligent interaction panel and storage medium
CN105278825A (en) Screen capturing method and mobile terminal
CN110795015A (en) Operation prompting method, device, equipment and storage medium
JP2011028697A (en) Information exchange device for inputting handwritten character
CN107391148B (en) View element saving method and device, electronic equipment and computer storage medium
CN113311981A (en) Erasing method and device, intelligent terminal and computer readable storage medium
CN111428455B (en) Form management method, device, equipment and storage medium
CN109582424B (en) Interface closing method, system and related device
WO2023216613A1 (en) Control method, electronic device and computer storage medium
US9483171B1 (en) Low latency touch input rendering
CN113093961B (en) Window switching method, storage medium and related equipment
CN109117072A (en) Write region control method and system, Writing method and system and interactive intelligent tablet computer
CN113849106A (en) Page-turning handwriting processing method and device, electronic device and storage medium
WO2019178866A1 (en) Page turning method and apparatus for terminal, and pen tablet

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