CN113434064A - Handwriting reader stroke switching method, electronic equipment and storage medium - Google Patents

Handwriting reader stroke switching method, electronic equipment and storage medium Download PDF

Info

Publication number
CN113434064A
CN113434064A CN202110750671.XA CN202110750671A CN113434064A CN 113434064 A CN113434064 A CN 113434064A CN 202110750671 A CN202110750671 A CN 202110750671A CN 113434064 A CN113434064 A CN 113434064A
Authority
CN
China
Prior art keywords
style
icon
switching
pen
user
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
CN202110750671.XA
Other languages
Chinese (zh)
Other versions
CN113434064B (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.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN202110750671.XA priority Critical patent/CN113434064B/en
Publication of CN113434064A publication Critical patent/CN113434064A/en
Application granted granted Critical
Publication of CN113434064B publication Critical patent/CN113434064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a handwriting reader stroke switching method, electronic equipment and a storage medium. According to the technical scheme provided by the invention, the icon switching operation of a user on the global menu icon is monitored, and the global menu icon is switched into a pen-tip style icon; presenting a style selection box; the style selection frame comprises a plurality of style selection items; and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item. According to the invention, the global menu icon can be switched to the stroke style icon, and the stroke style can be quickly selected through the stroke style icon without being selected through a toolbar, so that the writing efficiency is improved, and the use experience of a user is improved.

Description

Handwriting reader stroke switching method, electronic equipment and storage medium
Technical Field
The invention relates to the field of handwriting readers, in particular to a handwriting reader stroke switching method, electronic equipment and a storage medium.
Background
With the development of internet application technology, the functions of the handwriting reader are more and more perfect, and a user can input contents to be recorded by using a handwriting function in reading a page or recording the page, so that the user can record information more conveniently in the process of using the handwriting reader. Meanwhile, the writing style in the handwriting process can be switched to output characters with different writing style styles, so that the flexibility of the handwriting function is improved.
In the prior art, switching of the handwritten pen front style is usually realized by a method of calling out a toolbar in a handwriting reader, selecting a pen front option, and drawing a pen front style in a pull-down menu. However, selecting the style of the pen point from the toolbar requires clicking the toolbar on the side bar position of the screen trigger interface by a finger before selecting the style of the pen point, so that the whole switching process is complicated and consumes time; especially in the scene that the style of the pen point needs to be frequently switched, the operation mode is too complex, the operation is frequent, the writing process of a user can be interrupted, and the use is very inconvenient.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a handwriting reader pen-tip switching method, an electronic device and a storage medium that overcome or at least partially solve the above problems.
According to the invention, a handwriting reader stroke switching method is provided, which comprises the following steps:
monitoring the icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon;
presenting a style selection box; the style selection frame comprises a plurality of style selection items;
and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item.
In the above scheme, the style-presenting selection frame specifically includes: and when the triggering operation of the user on the style icon is monitored, presenting a style selection frame.
In the foregoing solution, after the switching the current style of the handwriting reader to the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item, the method further includes: and closing the pen style selection frame.
In the above scheme, the method further comprises:
when a page switching instruction is received, reading a next page from a cache;
and detecting the view structure of the next page, and switching the stroke style icon back to the global menu icon after page switching if the view layer of the next page is detected not to contain a handwritten layer.
In the above scheme, the method further comprises:
when the page switching instruction is received again, reading the next page from the cache;
and detecting the view structure of the next page, and switching the global menu icon to the pen-tip style icon again after switching the pages if the view layer of the next page is detected to contain a handwritten layer.
In the foregoing solution, after the global menu icon is switched to the pen-tip style icon, the method further includes:
reading the coordinate data of a pen point in real time;
and updating the presenting coordinate data of the pen point style icon according to the coordinate data of the pen point.
In the above scheme, a distance between the coordinates of the pen tip and the coordinates of the pen tip style icon is within a preset distance range.
In the foregoing solution, the updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen tip further includes:
detecting a distance difference value between coordinate data of adjacent pen points;
and if the distance difference is larger than a preset threshold value, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
In the foregoing solution, after the global menu icon is switched to the pen-tip style icon, the method further includes:
acquiring position data of a palm touch area by using a capacitive screen;
updating the presenting coordinate data of the pen point style icon according to the position data of the palm touch area; and the presenting coordinate of the pen point style icon is positioned in the palm touch area.
In the foregoing solution, after the global menu icon is switched to the pen-tip style icon, the method further includes:
reading the coordinate data of a pen point in real time;
acquiring position data of a palm touch area by using a capacitive screen;
acquiring a connecting line between the coordinates of the center point of the palm touch area and the coordinates of the pen point, and using the coordinate direction towards the pen point as an extension line of the connecting line;
and updating the presenting coordinate data of the pen point style icon according to the extension line, wherein the presenting coordinate of the pen point style icon is on the extension line.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the handwriting reader pen-tip switching method.
According to another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the handwriting reader pen-tip switching method as described above.
According to the technical scheme provided by the invention, the global menu icon is switched into the pen-tip style icon by monitoring the icon switching operation of the user on the global menu icon; presenting a style selection box containing a plurality of style selection items; and finally, switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item. Therefore, the problem that the operation mode of selecting the required style from the toolbar is complex only by clicking to open the toolbar and then selecting the style option in the prior art is solved; the global menu icon is automatically switched to the pen-type icon, so that the pen-type selection operation is more convenient.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a handwriting reader pen-tip switching method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an icon switching flow according to another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a pen tip style icon position determination process according to another embodiment of the present invention;
FIG. 4 shows a schematic diagram of a handwriting reader interface, according to another embodiment of the invention;
FIG. 5 shows a schematic diagram of a handwriting reader interface, according to another embodiment of the invention;
fig. 6 shows a schematic view of an electronic device according to another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a schematic flow chart of a method for switching pen-tip of a handwriting reader according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S101, monitoring icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon.
Specifically, a user expands the global menu by clicking the global menu icon; the global menu comprises options for completing icon switching operation of global menu icons and switching the global menu icons into pen-tip style icons; and if the option is selected, the global menu is collected, and the global menu icon is switched to the pen-tip style icon.
Preferably, the global menu may include a pen-tip switch, and when the pen-tip switch is clicked, the icon switching operation on the global menu icon may be completed, and the global menu icon is switched to a pen-tip style icon; the global menu icon can be globally displayed on the uppermost layer of all layer interfaces, and the user can freely move the position of the icon.
And step S102, presenting a style selection frame.
Specifically, after the user completes step S101, the global menu icon is switched to the style icon, and the style selection box is automatically presented; wherein a plurality of selectable stroke styles are provided in the stroke style selection box.
Specifically, if the user closes the automatic presentation style selection box, the trigger operation may be completed by clicking the style icon, and the style selection box is expanded at the icon position.
Or, after the user completes step S101, the global menu icon is switched to the style icon, a trigger operation of the user on the style icon is detected, and the style selection box is presented.
Preferably, the user can freely move the position of the pen point style icon in the handwriting process, and when the pen point needs to be switched, the pen point style icon is clicked to expand the pen point style selection frame so as to select the pen point style.
Preferably, the style selection box may include at least: five types of style options, namely pencils, pens, writing brushes, marker pens and ball-point pens.
Step S103, according to any stroke style selection item selected by the user from the stroke style selection frame, switching the current stroke style of the handwriting reader into the stroke style corresponding to the stroke style selection item selected by the user.
Specifically, the user selects the stroke style selection item corresponding to the stroke style to be switched from the stroke style selection frame, that is, the switching of the stroke styles is completed.
And step S104, closing the stroke style selection frame.
Specifically, after the current style is switched to the style corresponding to the style selection item selected by the user, the style selection frame is closed.
In this embodiment, by switching the global menu icon into the pen-tip style icon, the user is prevented from moving a finger or a stylus for a long distance to open the toolbar and open the multi-layer menu to perform the operation of switching the pen-tip style, so that the user can move the pen-tip style icon to a proper position, and the pen-tip style can be conveniently and quickly switched by simple operation.
In another embodiment of the present invention, on the basis of the embodiment of the method shown in fig. 1, an icon switching method during page switching is further included, fig. 2 shows a schematic diagram of an icon switching flow during page switching according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S201, receiving a page switching instruction, and reading a next page from the cache.
Specifically, after the global menu icon is switched to the stroke style icon, when a page is switched, the handwriting reader reads a next page stored in advance from a system cache after receiving a page switching instruction.
Step S202, detecting a view structure of a next page, judging whether a layer of the next page comprises a handwritten layer, if so, executing step S203; if not, go to step S204.
Specifically, the handwriting reader detects a view structure of a next page, acquires layer information of the next page, and judges whether a handwriting layer exists in the next page from the acquired layer information.
Step S203, page switching is carried out, and the style icon is kept unchanged.
Specifically, after step S202, after determining whether the layer of the next page includes the handwritten layer, if the determination result is that the layer of the next page includes the handwritten layer, the page is switched, and the handwriting reader displays the next page without changing the stroke style icon, that is, the stroke style icon is still displayed in the next page.
And step S204, switching pages, and switching the stroke style icons back to the global menu icons.
Specifically, after step S202, after determining whether the layer of the next page includes the handwritten layer, if the determination result is that the layer of the next page does not include the handwritten layer, the page is switched, and the handwriting reader displays the next page and switches the tip-of-pen style icon back to the global menu icon, that is, displays the global menu icon in the next page.
In this embodiment, through the above steps, the handwriting reader completes adaptive switching of the pen tip style icon. Judging whether the layer of the next page contains a handwritten layer or not, and judging that the page has high possibility of writing when the switched page contains the handwritten layer, so that the stroke style icon is kept; when the switched page does not contain the handwritten layer, for example, when the page is switched to a directory page or a setting page, it is determined that writing on the page is less likely, and therefore, the stroke style icon is switched back to the global menu icon, which is convenient for performing other operations using the global menu.
Further, after the step S204, if the page switching command is received again, the following steps are executed:
in step S205, when the page switching instruction is received again, the next page is read from the cache.
Specifically, when step S204 is completed and the stroke style icon is switched back to the global menu icon, and page switching is performed again, the handwriting reader reads the next page stored in advance from the system cache after receiving a page switching instruction.
Step S206, detecting the view structure of the next page, judging whether the layer of the next page contains a handwritten layer or not, if so, executing step S207; if not, go to step S208.
Specifically, the handwriting reader detects a view structure of a next page, acquires layer information of the next page, and judges whether a handwriting layer exists in the next page from the acquired layer information.
Step S207, page switching is carried out, and the global menu icon is switched to the pen style icon again.
Specifically, after step S206, after determining whether a next page has a handwritten layer, if the determination result is that the layer of the next page includes the handwritten layer, the page is switched, the handwriting reader displays the next page, and the global menu icon is switched to the tip style icon again, that is, the tip style icon is displayed in the next page.
And step S208, switching pages and keeping the global menu icons unchanged.
Specifically, after step S206, after determining whether a next page has a handwritten layer, if the determination result is that the layer of the next page does not include the handwritten layer, the page is switched, and the handwriting reader displays the next page and keeps the global menu icon unchanged, that is, displays the global menu icon in the next page.
In this embodiment, through the above steps, the handwriting reader completes adaptive switching of the global menu icon. Judging whether the layer of the next page contains a handwritten layer, and switching the global menu icon back to the stroke style icon when the switched page contains the handwritten layer; and when the switched page does not contain the handwritten layer, keeping the global menu icon. That is, in this embodiment, by detecting the next page view structure, the global menu icon or the stroke style icon is adaptively switched according to whether the next page view structure includes a handwritten layer, so that the operation of the user is more convenient.
In a further embodiment of the present invention, on the basis of the embodiment of the method shown in fig. 1, after step S101, a process of determining the position of the pen-tip style icon is further included. Fig. 3 is a schematic diagram illustrating a process of determining a location of a pen tip style icon according to an embodiment of the present invention, and as shown in fig. 3, the method includes the following steps:
step S301, reading the coordinate data of the pen point in real time.
Specifically, after the global menu icon is switched to the tip style icon, coordinate data corresponding to the contact position of the pen point of the handwriting pen is acquired through the screen of the handwriting reader.
Preferably, through an electromagnetic film at the bottom of the screen of the handwriting reader, the writing parameters of the pen point of the handwriting pen, including coordinates, pressure and the like, are detected by utilizing electromagnetic response; and the handwriting reader reads the coordinate parameters of the pen point in real time.
Step S302, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
Specifically, the presenting coordinate data of the updated rear pen point style icon is determined according to the coordinate data of the pen point; wherein a distance between the coordinates of the pen tip and the coordinates of the tip style icon is within a preset distance range. And displaying the pen-tip style icon at a corresponding position of a screen according to the updated presentation coordinate data of the pen-tip style icon.
Preferably, the distance between the coordinate of the pen point and the coordinate of the pen point style icon is smaller than a preset distance, the distance between the pen point style icon and the writing position can be kept within a certain range, and it is guaranteed that the moving distance of the pen point does not need to be too large when a user needs to click and search the pen point style icon to switch the pen point. In addition, the display position of the stroke style icon is refreshed while the screen refreshes the writing stroke point, and the screen refreshes the position change of the stroke style icon independently.
Further, step 302 may further include:
detecting a distance difference value between coordinate data of adjacent pen points;
and if the distance difference is larger than a preset threshold value, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
Specifically, coordinate data of adjacent pen points in the writing process are obtained through a screen of the handwriting reader, and a distance difference value between the coordinate data of the adjacent pen points in front and back is determined; and judging the distance difference, if the distance difference is larger than a preset threshold, updating the presenting coordinate data of the pen point style icon according to the coordinate data of the pen point, and displaying the pen point style icon at a corresponding position of a screen according to the updated presenting coordinate data of the pen point style icon. According to the embodiment, the distance between the coordinates of the pen point and the coordinates of the pen point style icon is within a preset distance range, so that the pen point style icon is not too far away from the position of the pen point, the situation that the distance between the pen point style icon and the pen point is too far away is prevented, and the user can perform pen point style switching operation only when the finger or the pen point of the user needs to move too far; meanwhile, the moving distance of the pen point is determined by detecting the distance difference between the coordinate data of the adjacent pen points before and after the pen point is detected, and the position of the pen point style icon is adjusted only when the moving distance of the pen point exceeds a preset threshold; the pen point type icon can not move continuously along with the pen point in a small range when the pen point moving distance is small, the movement of the pen point type icon under the condition can not greatly influence the improvement of the use convenience of a user, but can interfere the writing of the user, and the embodiment can effectively avoid the situation.
In the above embodiment, the position of the tip style icon is determined based on the position of the pen tip, and when the pen tip moves, the tip style icon also moves in a corresponding manner.
FIG. 4 is a schematic diagram of a handwriting reader interface according to another embodiment of the invention, as shown in FIG. 4, showing the position of the pen tip captured by the handwriting reader screen during writing and the palm contact area where the palm of the user's pen is in contact with the screen (see the area outlined by the dashed line in FIG. 4).
Specifically, the embodiment can acquire the position data of the palm touch area by using the capacitive screen; updating the presenting coordinate data of the pen point style icon according to the position data of the palm touch area; and the presenting coordinate of the pen point style icon is positioned in the palm touch area.
Preferably, in the case shown in fig. 4, a contact area between a palm of a user and a screen is detected through a capacitive screen of the handwriting reader, and position data of a palm touch area is acquired; and enabling the presenting coordinates of the stroke style icon to be located in the palm touch area, namely displaying the stroke style icon in the palm touch area. According to the embodiment, the pen point style icon does not generate extra shielding on the screen display content, and the palm touch area is not changed when writing in a small range, so that the pen point style icon does not need to be frequently changed in position, and a user can click the pen point style icon to switch pen points by lifting hands.
Different from fig. 4, the present invention further provides another determination method for the position of the stroke style icon, and fig. 5 shows a schematic diagram of page content and screen contact position in the process of determining the position of the stroke style icon according to another embodiment of the present invention, as shown in fig. 5:
fig. 5 includes that, in the writing process, the pen point position acquired by the screen of the handwriting reader and the palm contact position where the palm of the user holding the pen is in contact with the screen are determined by the center point of the palm contact position and the extension line of the connection line of the pen point position.
Specifically, the embodiment can read the coordinate data of the pen point in real time; acquiring position data of a palm touch area by using a capacitive screen; acquiring a connecting line between the coordinates of the center point of the palm touch area and the coordinates of the pen point, and using the coordinate direction towards the pen point as an extension line of the connecting line; and updating the presenting coordinate data of the pen point style icon according to the extension line, wherein the presenting coordinate of the pen point style icon is on the extension line.
Preferably, in the case shown in fig. 5, a contact area between a palm of a user and a screen and a position of a pen point of a handwriting pen are detected through a capacitive screen of the handwriting reader, and position data of the palm touch area and coordinate data of the pen point are acquired; and determining the pen point style icon on an extension line of a connecting line between the coordinate of the center point of the palm touch area and the coordinate of the pen point towards one side of the pen point position, namely, the pen point style icon is positioned on the extension line. Meanwhile, the minimum distance between the stroke style icon coordinate data and the pen point position coordinate data is preset, and the distance between the stroke style icon position and the pen point position must be larger than the minimum distance. According to the embodiment, a user can touch the pen point style icon by changing the pen holding angle, and the pen point style icon is not too close to a writing area in the writing process, so that the writing content is shielded.
The invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the executable instruction can execute the handwriting reader pen-tip switching method in any method embodiment.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 6, the electronic device may include: a processor (processor)602, a communication Interface 604, a memory 606, and a communication bus 608.
Wherein:
the processor 602, communication interface 604, and memory 606 communicate with one another via a communication bus 608.
A communication interface 604 for communicating with network elements of other devices, such as clients or other servers.
The processor 602 is configured to execute the program 610, and may specifically perform relevant steps in the above-described handwriting reader pen-tip switching method embodiment.
In particular, program 610 may include program code comprising computer operating instructions.
The processor 602 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 606 for storing a program 610. Memory 606 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 610 may be specifically configured to enable the processor 602 to execute the handwriting reader pen-tip switching method in any method embodiment described above. For specific implementation of each step in the program 610, reference may be made to corresponding steps and corresponding descriptions in units in the above-mentioned handwriting reader pen-front switching embodiment, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1. a handwriting reader pen point switching method, which comprises the following steps:
monitoring the icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon;
presenting a style selection box; the style selection frame comprises a plurality of style selection items;
and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item.
A2. The method of A1, wherein,
the style presenting selection frame specifically comprises: and when the triggering operation of the user on the style icon is monitored, presenting the style selection frame.
A3. The method according to a1, wherein after switching the current style of the handwriting reader to the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item, the method further includes: and closing the pen style selection frame.
A4. The method of a1, wherein the method further comprises:
when a page switching instruction is received, reading a next page from a cache;
and detecting the view structure of the next page, and switching the stroke style icon back to the global menu icon after page switching if the view layer of the next page is detected not to contain a handwritten layer.
A5. The method of a4, wherein the method further comprises:
when the page switching instruction is received again, reading the next page from the cache;
and detecting the view structure of the next page, and switching the global menu icon to the stroke style icon again after page switching if the view layer of the next page is detected to contain a handwritten layer.
A6. The method of any of a1-a5, wherein, after the switching global menu icons to stroke style icons, the method further comprises:
reading the coordinate data of a pen point in real time;
and updating the presenting coordinate data of the pen point style icon according to the coordinate data of the pen point.
A7. The method of a6, wherein the distance between the coordinates of the pen tip and the coordinates of the nib style icon is within a preset distance range.
A8. The method of a6, wherein the updating the rendered coordinate data of the tip style icon in accordance with the coordinate data of the pen tip further comprises:
detecting a distance difference value between coordinate data of adjacent pen points;
and if the distance difference is larger than a preset threshold value, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
A9. The method of any of a1-a5, wherein, after the switching global menu icons to stroke style icons, the method further comprises:
acquiring position data of a palm touch area by using a capacitive screen;
updating the presenting coordinate data of the pen point style icon according to the position data of the palm touch area; and the presenting coordinate of the pen point style icon is positioned in the palm touch area.
A10. The method of any of a1-a5, wherein, after the switching global menu icons to stroke style icons, the method further comprises:
reading the coordinate data of a pen point in real time;
acquiring position data of a palm touch area by using a capacitive screen;
acquiring a connecting line between the coordinates of the center point of the palm touch area and the coordinates of the pen point, and using the coordinate direction towards the pen point as an extension line of the connecting line;
and updating the presenting coordinate data of the pen point style icon according to the extension line, wherein the presenting coordinate of the pen point style icon is on the extension line.
B11. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring the icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon;
presenting a style selection box; the style selection frame comprises a plurality of style selection items;
and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item.
B12. The electronic device of B11, wherein the executable instructions cause the processor to:
and when the triggering operation of the user on the style icon is monitored, presenting the style selection frame.
B13. The electronic device according to B11, wherein, after the current style of the handwriting reader is switched to the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item, the executable instructions cause the processor to perform the following operations:
and closing the pen style selection frame.
B14. The electronic device of B11, wherein the executable instructions cause the processor to:
when a page switching instruction is received, reading a next page from a cache;
and detecting the view structure of the next page, and switching the stroke style icon back to the global menu icon after page switching if the view layer of the next page is detected not to contain a handwritten layer.
B15. The electronic device of B14, wherein the executable instructions cause the processor to:
when the page switching instruction is received again, reading the next page from the cache;
and detecting the view structure of the next page, and switching the global menu icon to the stroke style icon again after switching the page if detecting that the view layer of the next page comprises a handwritten layer.
B16. The electronic device of any one of B11-B15, wherein the executable instructions cause the processor to:
reading the coordinate data of a pen point in real time;
and updating the presenting coordinate data of the pen point style icon according to the coordinate data of the pen point.
B17. The electronic device of B16, wherein the executable instructions cause the processor to:
the distance between the coordinates of the pen tip and the coordinates of the pen tip style icon is within a preset distance range.
B18. The electronic device of B16, wherein the executable instructions cause the processor to:
detecting a distance difference value between coordinate data of adjacent pen points;
and if the distance difference is larger than a preset threshold value, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
B19. The electronic device of any one of B11-B15, wherein, after the switching of global menu icons to pencil-point style icons, the executable instructions cause the processor to:
acquiring position data of a palm touch area by using a capacitive screen;
updating the presenting coordinate data of the pen point style icon according to the position data of the palm touch area; and the presenting coordinate of the pen point style icon is positioned in the palm touch area.
B20. The electronic device of any one of B11-B15, wherein, after the switching of global menu icons to pencil-point style icons, the executable instructions cause the processor to:
reading the coordinate data of a pen point in real time;
acquiring position data of a palm touch area by using a capacitive screen;
acquiring a connecting line between the coordinates of the center point of the palm touch area and the coordinates of the pen point, and using the coordinate direction towards the pen point as an extension line of the connecting line;
and updating the presenting coordinate data of the pen point style icon according to the extension line, wherein the presenting coordinate of the pen point style icon is on the extension line.
C21. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform a method as described in any of a1-a 10.

Claims (10)

1. A handwriting reader pen point switching method comprises the following steps:
monitoring the icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon;
presenting a style selection box; the style selection frame comprises a plurality of style selection items;
and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item.
2. The method of claim 1, wherein,
the style presenting selection frame specifically comprises: and when the triggering operation of the user on the style icon is monitored, presenting the style selection frame.
3. The method according to claim 1, wherein after switching the current style of the handwriting reader to the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item, the method further comprises: and closing the pen style selection frame.
4. The method of claim 1, wherein the method further comprises:
when a page switching instruction is received, reading a next page from a cache;
and detecting the view structure of the next page, and switching the stroke style icon back to the global menu icon after page switching if the view layer of the next page is detected not to contain a handwritten layer.
5. The method of claim 4, wherein the method further comprises:
when the page switching instruction is received again, reading the next page from the cache;
and detecting the view structure of the next page, and switching the global menu icon to the stroke style icon again after page switching if the view layer of the next page is detected to contain a handwritten layer.
6. The method of any of claims 1-5, wherein after the switching the global menu icon to a brush-style icon, the method further comprises:
reading the coordinate data of a pen point in real time;
and updating the presenting coordinate data of the pen point style icon according to the coordinate data of the pen point.
7. The method of claim 6, wherein a distance between coordinates of the pen tip and coordinates of the nib style icon is within a preset distance range.
8. The method of claim 6, wherein the updating the rendered coordinate data of the tip style icon in accordance with the coordinate data of the pen tip further comprises:
detecting a distance difference value between coordinate data of adjacent pen points;
and if the distance difference is larger than a preset threshold value, updating the presenting coordinate data of the tip style icon according to the coordinate data of the pen point.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring the icon switching operation of a user on the global menu icon, and switching the global menu icon into a pen-tip style icon;
presenting a style selection box; the style selection frame comprises a plurality of style selection items;
and switching the current style of the handwriting reader into the style corresponding to the style selection item selected by the user according to the selection operation of the user on any style selection item.
10. A computer storage medium having stored therein at least one executable instruction that causes a processor to perform the method of any one of claims 1-8.
CN202110750671.XA 2021-07-01 2021-07-01 Handwriting reader stroke switching method, electronic equipment and storage medium Active CN113434064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110750671.XA CN113434064B (en) 2021-07-01 2021-07-01 Handwriting reader stroke switching method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110750671.XA CN113434064B (en) 2021-07-01 2021-07-01 Handwriting reader stroke switching method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113434064A true CN113434064A (en) 2021-09-24
CN113434064B CN113434064B (en) 2022-03-29

Family

ID=77758752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110750671.XA Active CN113434064B (en) 2021-07-01 2021-07-01 Handwriting reader stroke switching method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113434064B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006039939A1 (en) * 2004-10-13 2006-04-20 Wacom Corporation Limited A hand-held electronic appliance and method of entering a selection of a menu item
US20130212535A1 (en) * 2012-02-13 2013-08-15 Samsung Electronics Co., Ltd. Tablet having user interface
US20130232451A1 (en) * 2012-03-01 2013-09-05 Chi Mei Communication Systems, Inc. Electronic device and method for switching between applications
US20140189593A1 (en) * 2012-12-27 2014-07-03 Kabushiki Kaisha Toshiba Electronic device and input method
US20160062634A1 (en) * 2014-09-03 2016-03-03 Kabushiki Kaisha Toshiba Electronic device and method for processing handwriting
US20170003854A1 (en) * 2015-06-30 2017-01-05 Coretronic Corporation Touch-Based Interaction Method
CN109085965A (en) * 2018-07-19 2018-12-25 掌阅科技股份有限公司 Take down notes generation method, electronic equipment and computer storage medium
CN111352570A (en) * 2020-03-24 2020-06-30 深圳市鸿合创新信息技术有限责任公司 Writing interaction method, intelligent interaction display equipment and writing interaction system
CN111414108A (en) * 2020-03-18 2020-07-14 深圳市鸿合创新信息技术有限责任公司 Method, device, system, storage medium and electronic equipment for displaying menu bar
CN111625158A (en) * 2020-05-22 2020-09-04 京东方科技集团股份有限公司 Electronic interactive panel, menu display method and writing tool attribute control method
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium
WO2021068368A1 (en) * 2019-10-09 2021-04-15 广州视源电子科技股份有限公司 Method and apparatus for operating intelligent interaction tablet, terminal device, and storage medium
CN112740152A (en) * 2018-09-30 2021-04-30 华为技术有限公司 Handwriting pen detection method, system and related device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006039939A1 (en) * 2004-10-13 2006-04-20 Wacom Corporation Limited A hand-held electronic appliance and method of entering a selection of a menu item
US20130212535A1 (en) * 2012-02-13 2013-08-15 Samsung Electronics Co., Ltd. Tablet having user interface
US20130232451A1 (en) * 2012-03-01 2013-09-05 Chi Mei Communication Systems, Inc. Electronic device and method for switching between applications
US20140189593A1 (en) * 2012-12-27 2014-07-03 Kabushiki Kaisha Toshiba Electronic device and input method
US20160062634A1 (en) * 2014-09-03 2016-03-03 Kabushiki Kaisha Toshiba Electronic device and method for processing handwriting
US20170003854A1 (en) * 2015-06-30 2017-01-05 Coretronic Corporation Touch-Based Interaction Method
CN109085965A (en) * 2018-07-19 2018-12-25 掌阅科技股份有限公司 Take down notes generation method, electronic equipment and computer storage medium
CN112740152A (en) * 2018-09-30 2021-04-30 华为技术有限公司 Handwriting pen detection method, system and related device
WO2021068368A1 (en) * 2019-10-09 2021-04-15 广州视源电子科技股份有限公司 Method and apparatus for operating intelligent interaction tablet, terminal device, and storage medium
CN111414108A (en) * 2020-03-18 2020-07-14 深圳市鸿合创新信息技术有限责任公司 Method, device, system, storage medium and electronic equipment for displaying menu bar
CN111352570A (en) * 2020-03-24 2020-06-30 深圳市鸿合创新信息技术有限责任公司 Writing interaction method, intelligent interaction display equipment and writing interaction system
CN111625158A (en) * 2020-05-22 2020-09-04 京东方科技集团股份有限公司 Electronic interactive panel, menu display method and writing tool attribute control method
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113434064B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US10095389B2 (en) Gesture-based on-chart data filtering
US9292161B2 (en) Pointer tool with touch-enabled precise placement
JP6066725B2 (en) Information processing apparatus and control method thereof
US20140049499A1 (en) Touch screen selection
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
CN112596661A (en) Writing track processing method and device and interactive panel
CN114879869A (en) Note erasing method, electronic device and computer storage medium
US20180120966A1 (en) Method and device for handling event invocation using a stylus pen
CN110471700A (en) Graphic processing method, device, storage medium and electronic equipment
CN106249879A (en) The display packing of a kind of virtual reality image and terminal
CN103034426B (en) A kind of terminal and contact person's searching method thereof
CN111459593B (en) Drawing method, device and equipment
US9256360B2 (en) Single touch process to achieve dual touch user interface
CN112639696A (en) Handwriting board, handwriting board device and writing control method
CN113434064B (en) Handwriting reader stroke switching method, electronic equipment and storage medium
CN107609001A (en) Intelligent terminal and its mark display methods, the device with store function
US20170083201A1 (en) Method and system for navigation and selection in electronic device
JP6398706B2 (en) Input method, input device, and program
CN108595078A (en) Touch operation method, device, mobile terminal and computer readable storage medium
CN112269523B (en) Object editing processing method and device and electronic equipment
US9635170B2 (en) Apparatus and method for controlling terminal to expand available display region to a virtual display space
CN113158620A (en) Bookshelf page editing processing method, electronic equipment and computer storage medium
CN113986422A (en) Rapid control method and device for application function
CN113722630A (en) Method and equipment for presenting resource data in web page based on client rendering
CN111679778A (en) Interactive display method of electronic book comment information, electronic equipment and storage medium

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