Handwriting adjustment method, device, equipment and storage medium

By using the long press operation to display indicator icons and effects in the handwriting setting interface, the problem of unintuitive handwriting setting in the prior art is solved, and the convenience and efficiency of user operations are improved.

CN116774854BActive Publication Date: 2024-10-01ONYX INT
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310713523.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2024-10-01
Estimated Expiration
2043-06-15

AI Technical Summary

Technical Problem

In existing handwriting adjustment methods, handwriting settings are not intuitive enough, and users need to repeatedly select and try, resulting in cumbersome operations and low efficiency.

Method used

By detecting the long press operation in the display interface and displaying the corresponding indicator icon and the current effect, the user can preview the handwriting settings in real time and apply the displayed effect when the long press ends, simplifying the setting process.

Benefits of technology

It realizes the intuitive display of handwriting settings, reduces the complexity and time of user operations, and improves the efficiency of setting handwriting styles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116774854B_ABST
    Figure CN116774854B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a handwriting adjustment method, device, equipment and storage medium. The method displays at least one handwriting setting option in a display interface when a trigger operation on a handwriting setting control is detected; then, when a selection operation acting on any handwriting setting option is received, the handwriting setting option corresponding to the selection operation is confirmed to be a target setting option; then, when a long press operation acting on the display interface is detected, an indication icon corresponding to the target setting option is displayed at the position where the long press operation is applied; finally, when the long press operation is confirmed to be over, the display effect corresponding to the indication icon is configured as the display effect of the subsequent generated handwriting, and the indication icon is stopped from being displayed. The method realizes intuitively showing the intermediate selection effect of handwriting adjustment to the user by means of an indication icon, simplifies the user's setting operation, and improves the efficiency of setting the handwriting style.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of display technology, and in particular to a handwriting adjustment method, device, equipment and storage medium. Background Art

[0002] A stylus is an input tool used with a touch device. It usually works with a writing board, tablet computer or drawing board to write or draw directly on the screen. Depending on the target device, the types of styluses can include resistive pressure, capacitive touch and electromagnetic pressure sensing. Currently, for resistive pressure and capacitive touch styluses that lack pressure sensitivity, applications usually provide multiple settings for handwriting attribute options, such as "thin strokes, medium strokes, thick strokes", etc. Users can complete the settings of different handwriting attributes by clicking on the corresponding handwriting attribute option. In addition, the status bar of the application will also provide controls such as drag bars, and users can set specific handwriting attributes by dragging the drag bars.

[0003] However, in the aforementioned handwriting setting method, the user needs to try writing after selecting an attribute option each time, the display of the handwriting adjustment effect is not intuitive enough, and it may be necessary to repeatedly switch between selecting settings and writing attempts before achieving the ideal effect, which is cumbersome to operate and has low setting efficiency. Summary of the invention

[0004] Based on this, the embodiments of the present application provide a handwriting adjustment method, device, equipment and storage medium, which solves the problems that the display of the intermediate selection effect of handwriting adjustment is not intuitive enough, the user's handwriting setting operation is cumbersome, and the setting efficiency is low. It realizes the intuitive display of the intermediate selection effect of handwriting adjustment to the user through indicator icons, simplifies the user's setting operation, and improves the setting efficiency of handwriting style.

[0005] In a first aspect, an embodiment of the present application provides a handwriting adjustment method, comprising:

[0006] When a trigger operation on a handwriting setting control is detected, at least one handwriting setting option is displayed in the display interface;

[0007] When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option;

[0008] When a long press operation is detected in the display interface, an indication icon corresponding to the target setting option is displayed at the position where the long press operation is performed, and the indication icon is used to display the display effect of the target setting option in real time according to the accumulated duration of the long press operation;

[0009] When it is confirmed that the long press operation is ended, the display effect corresponding to the indication icon is configured as the display effect of the subsequently generated handwriting, and the indication icon stops being displayed.

[0010] Wherein, while the indicator icon corresponding to the target setting option is displayed at the action position of the long press operation, it also includes:

[0011] The handwriting style value corresponding to the current display effect of the indication icon is displayed.

[0012] Wherein, the handwriting setting options include handwriting style options;

[0013] When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option includes:

[0014] When receiving a selection operation acting on the handwriting style option, confirming the handwriting style option as a target setting option;

[0015] Correspondingly, while the indicator icon corresponding to the target setting option is displayed at the action position of the long press operation, it also includes:

[0016] The handwriting style name corresponding to the current display effect of the indication icon is displayed.

[0017] Wherein, when confirming that the long press operation ends, configuring the display effect corresponding to the indicator icon as the display effect of the handwriting generated subsequently includes:

[0018] When it is confirmed that the long-press operation is ended, a selection control is displayed for confirming whether to apply the display effect corresponding to the indicator icon to the subsequent generation of handwriting;

[0019] When a confirmation application operation acting on the selection control is received, the display effect corresponding to the indicator icon is configured as a display effect of subsequently generated handwriting.

[0020] Wherein, after confirming that the long-press operation is ended, displaying a selection control for confirming whether to apply the display effect corresponding to the indicator icon to the subsequent generation of handwriting, the method further includes:

[0021] When receiving a cancel application operation acting on the selection control, the subsequently generated handwriting is maintained as the display effect before the long press operation.

[0022] The handwriting setting option includes a pressure correction option, and the pressure correction option is used to adjust the correlation between the pressure value and the handwriting thickness value;

[0023] When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option includes:

[0024] When receiving a selection operation acting on the pressure sensitivity correction option, confirming that the pressure sensitivity correction option is a target setting option;

[0025] Correspondingly, after confirming that the pressure sensitivity correction option is a target setting option, the method further includes:

[0026] When receiving a writing operation on the display interface, determining a target pressure value according to the writing operation;

[0027] Accordingly, configuring the display effect corresponding to the indicator icon as the display effect of the handwriting generated subsequently includes:

[0028] The handwriting thickness effect corresponding to the indication icon is configured as the display effect of the subsequently generated handwriting generated based on the target pressure sensitivity value, and the display effect of the subsequently generated handwriting generated based on other pressure sensitivity values ​​is determined based on a preset mapping relationship.

[0029] Wherein, after determining the display effect of the subsequent handwriting generated based on other pressure sensitivity values ​​based on the preset mapping relationship, the method further includes:

[0030] Generate and display a graph showing the correlation between pressure sensitivity and pen thickness.

[0031] In a second aspect, the present application also provides a handwriting adjustment device, including:

[0032] An option display unit, configured to display at least one handwriting setting option in a display interface when a trigger operation on a handwriting setting control is detected;

[0033] An option setting unit, configured to, upon receiving a selection operation acting on any one of the handwriting setting options, confirm that the handwriting setting option corresponding to the selection operation is a target setting option;

[0034] an effect selection unit, configured to, when a long press operation is detected in the display interface, display an indication icon corresponding to the target setting option at the position where the long press operation is applied, wherein the indication icon is configured to display a display effect of the target setting option in real time according to the accumulated duration of the long press operation;

[0035] The effect confirmation unit is used to confirm that when the long press operation ends, configure the display effect corresponding to the indication icon as the display effect of the subsequently generated handwriting, and stop displaying the indication icon.

[0036] The effect selection unit includes:

[0037] The numerical display module is used to display the handwriting style numerical value corresponding to the current display effect of the indication icon.

[0038] The handwriting setting options include handwriting style options; the option setting unit includes:

[0039] A handwriting style module, configured to confirm that the handwriting style option is a target setting option when receiving a selection operation acting on the handwriting style option;

[0040] Effect selection unit, including:

[0041] The name display module is used to display the handwriting style name corresponding to the current display effect of the indication icon.

[0042] The effect confirmation unit includes:

[0043] A selection control module, for confirming that the long-press operation is ended, and displaying a selection control for confirming whether to apply the display effect corresponding to the indicator icon to the subsequent generation of handwriting;

[0044] The confirmation configuration module is used to configure the display effect corresponding to the indicator icon as the display effect of the subsequently generated handwriting when receiving the confirmation application operation acting on the selection control.

[0045] The effect confirmation unit further includes:

[0046] The cancellation configuration module is used to maintain the display effect before the long press operation of the subsequently generated handwriting when receiving the cancel application operation acting on the selection control.

[0047] The handwriting setting options include a pressure correction option, and the pressure correction option is used to adjust the correlation between the pressure value and the handwriting thickness value; the option setting unit includes:

[0048] A pressure correction module, configured to confirm that the pressure correction option is a target setting option when a selection operation acting on the pressure correction option is received;

[0049] It also includes: a pressure confirmation unit, which is used to confirm a target pressure value according to a writing operation on the display interface when receiving the writing operation;

[0050] Effect selection unit, including:

[0051] The pressure effect configuration module is used to configure the handwriting thickness effect corresponding to the indicator icon as the display effect of the subsequent handwriting generated based on the target pressure value, and determine the display effect of the subsequent handwriting generated based on other pressure values ​​based on a preset mapping relationship.

[0052] The effect selection unit further includes:

[0053] The pressure sensitivity chart generation module is used to generate and display a correlation change chart between the pressure sensitivity value and the handwriting thickness effect.

[0054] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising:

[0055] Touch screen display;

[0056] one or more processors;

[0057] A memory for storing one or more programs;

[0058] When the one or more programs are executed by the one or more processors, the electronic device implements the handwriting adjustment method as described in any one of the first aspects of the present application.

[0059] In a fourth aspect, an embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored, and the program or instruction is executed by a processor to implement the handwriting adjustment method described in any one of the first aspects of the present application.

[0060] The embodiment of the present application provides a handwriting adjustment method, device, equipment and storage medium. The method displays at least one handwriting setting option in the display interface when a trigger operation on a handwriting setting control is detected; then, when a selection operation acting on any handwriting setting option is received, the handwriting setting option corresponding to the selection operation is confirmed to be the target setting option; then, when a long press operation acting on the display interface is detected, an indication icon corresponding to the target setting option is displayed at the position of the long press operation, and the indication icon is used to display the display effect of the target setting option in real time according to the accumulated duration of the long press operation; finally, when the long press operation is confirmed to be over, the display effect corresponding to the indication icon is configured as the display effect of the subsequent generated handwriting, and the indication icon is stopped. The intermediate selection effect of handwriting adjustment is intuitively displayed to the user by means of an indication icon, which simplifies the user's setting operation and improves the efficiency of setting the handwriting style. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A flowchart of a handwriting adjustment method provided in an embodiment of the present application;

[0062] Figure 2 A schematic diagram of a process of adjusting the thickness of a handwriting provided in an embodiment of the present application;

[0063] Figure 3 A schematic diagram of a process of adjusting the depth of handwriting provided in an embodiment of the present application;

[0064] Figure 4 A structural schematic diagram of a handwriting adjustment device is provided for an embodiment of the present application;

[0065] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.

[0067] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more, and it cannot be understood as indicating or implying relative importance. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship. In addition, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "connect", and "connect in series" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be a connection between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific circumstances.

[0068] The handwriting adjustment method provided in the embodiment of the present application can be used for a display device equipped with a handwriting input device. The display device can be an electronic device such as a tablet computer, a mobile phone, an e-reader, etc. The handwriting input device can be a combination of a touch screen, an electronic ink screen, etc. and a stylus, or a combination of an external digital tablet, an ordinary display screen and a stylus, which is not limited in this application. Specifically, the stylus can be an electronic device based on capacitance, magnetic induction or pressure sensor. The stylus can form handwriting on a touch screen or on an ordinary display screen through an external digital tablet. The specific handwriting style, such as color, thickness, light and dark, and style, can be set by the user according to personal habits. The several application scenarios listed above are only exemplary and explanatory. In actual applications, the handwriting output method can also be used in handwriting output in other scenarios. The present application aims to provide a handwriting output method, device, equipment and storage medium to solve the problem that the display of the intermediate selection effect of handwriting adjustment is not intuitive enough, the user's handwriting setting operation is cumbersome, and the setting efficiency is low.

[0069] Figure 1 A flow chart of a handwriting adjustment method provided in an embodiment of the present application. The handwriting adjustment method provided in an embodiment of the present application can be executed by a handwriting adjustment device, which can be implemented by hardware and / or software and integrated in a display device equipped with a handwriting input device.

[0070] The following description is made by taking the handwriting adjustment device executing the handwriting adjustment method as an example. Figure 1 , the handwriting adjustment method comprises:

[0071] Step S101: when a triggering operation on a handwriting setting control is detected, at least one handwriting setting option is displayed in a display interface.

[0072] Among them, the display screen of the display device can display the handwriting setting control, and the handwriting setting control can be used to respond to the input signal generated by the user's trigger operation, and correspondingly display the handwriting setting option in the display interface, wherein the display form can be an icon, a button, a text box, etc. In addition, the handwriting setting control can include handwriting thickness options, handwriting density options, handwriting depth options, and handwriting style options, etc. Specifically, the handwriting thickness option can be used to adjust the width of the handwriting line. For example, the handwriting thickness can be controlled by establishing a mapping relationship between different widths and the number of adjacent pixels occupied; the handwriting density option can be used to adjust the transparency of the current handwriting color. For example, based on the transparency setting of the 8-bit Alpha channel, when the Alpha value of a pixel is 0, the pixel is completely transparent, that is, completely invisible; when the Alpha value is When the Alpha value is 255, the pixel is completely opaque, that is, completely visible; when the Alpha value is between 0 and 255, it means that the opacity of the pixel is between completely transparent and completely opaque; the handwriting depth option can be used to adjust the color depth corresponding to the current handwriting. For example, for a black and white display, the grayscale value of the pixel reflects the color depth of the handwriting, and the grayscale value range of 0 to 255 reflects the color depth change from white to gray to black; the handwriting style option can be used to adjust the display style of the handwriting, such as text font, line style, etc.

[0073] Optionally, while displaying at least one handwriting setting option in the display interface, a preset parameter control may also be displayed corresponding to the screen position of each handwriting setting option, and the preset parameter control is used to respond to the input signal generated by the user's trigger operation, and use the preset parameters to configure the subsequently generated handwriting. The preset parameters may be preset by the user in the display device, or may be obtained by the display device based on the user's historical usage frequency statistics, which is not limited in this application.

[0074] Step S102: upon receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option.

[0075] It is understandable that when the display device confirms the handwriting setting option corresponding to the selection operation as the target setting option, the display device will be in a state of receiving the handwriting setting operation, and in this state, continuously monitor the handwriting setting operation input by the user.

[0076] Step S103: When a long press operation is detected in the display interface, an indicator icon corresponding to the target setting option is displayed at the position of the long press operation, and the indicator icon is used to display the display effect of the target setting option in real time according to the accumulated duration of the long press operation.

[0077] Among them, the electronic device for the user to input handwriting can be a stylus, or other input devices. The user can use the stylus to directly click, long press, etc. on the touch display screen to complete the handwriting setting, or use other input devices to click, long press, etc. on the display interface to complete the handwriting setting, and this application is not limited here. For example, after the user uses the stylus to click on the touch display screen to complete the selection of the handwriting setting option, the user uses the stylus to apply a long press operation to the touch display screen to complete the setting of the target display effect corresponding to the target setting option. The display device can confirm the start of the setting of the display effect of the target setting option by detecting the long press operation acting on the display interface. Among them, the long press operation can be a user using a stylus to press the touch display screen for more than a preset time, or it can be a user using other input devices to press the display interface for more than a preset time, and this application is not limited here. Specifically, the preset time can be 500ms, or 1000ms, etc., which can be configured by the system preset file or set by the user, and this application is not limited here. When the display device detects a long press operation by the user, the indicator icon corresponding to the target setting option can be synchronously displayed at the location of the long press operation, for example, the coordinates corresponding to the location of the long press operation are obtained, and the indicator icon is generated and displayed at the coordinates. For example, when the target setting option is a handwriting thickness option, the corresponding indicator icon can be a black circular icon; when the target setting option is a handwriting density option, the corresponding indicator icon can be a circular icon with variable transparency; when the target setting option is a handwriting depth option, the corresponding indicator icon can be a circular icon with variable color.

[0078] Furthermore, after the display device confirms that there is a long press operation, the display effect of the target setting option can be displayed in real time according to the accumulated time of the long press operation. Taking the target setting option as the handwriting thickness option as an example, Figure 2 A schematic diagram of a handwriting thickness adjustment process provided in an embodiment of the present application is shown in FIG. Figure 2As shown, for example, the thickness of handwriting can be divided into three levels, namely thin strokes, medium strokes and thick strokes. Then, after the display device confirms the existence of a long press operation at time t1, the display effect of the indicator icon corresponding to the thin stroke is displayed at the position of the long press operation, for example, a circular icon with a radius of r1; if it is detected at time t2 that the long press operation has not been completed, and the cumulative duration t2-t1=T, T is the preset interval threshold, then the display effect of the indicator icon corresponding to the medium stroke is displayed at the position of the long press operation, for example, a circular icon with a radius of 2r1; if it is detected at time t3 that the long press operation has not been completed, and the cumulative duration t3-t1=2T, then the display effect of the indicator icon corresponding to the thick stroke is displayed at the position of the long press operation, for example, a circular icon with a radius of 3r1. For another example, the thickness of the handwriting can be mapped to the duration of the long press operation. The display device can represent the thickness change of the handwriting through the gradual display effect of the indicator icon according to the cumulative duration of the long press operation. For example, as the duration of the long press operation increases, the radius of the circular indicator icon can gradually increase according to the mapping relationship until the maximum radius threshold is reached. In addition, taking the handwriting depth option as an example, Figure 3 A schematic diagram of a handwriting depth adjustment process provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, for example, if the current handwriting color of the display device is grayscale, the color change effect is white-gray-black, and the color value range is 0-255. Then, after the display device confirms the existence of a long press operation at time t′1, the display effect of the indicator icon corresponding to the color value of 0 is displayed at the position of the long press operation, such as a white circular icon with a radius of r1; if it is detected at time t′2 that the long press operation has not ended, and the cumulative duration t′2-t′1=T′, according to the set mapping relationship between the cumulative duration and the color value, it can be obtained that the cumulative duration T′ corresponds to the color value c1, then the display effect of the indicator icon corresponding to the color value c1 is displayed at the position of the long press operation, such as a circular icon of color value c1; if it is detected at time t′3 that the long press operation has not ended, and the cumulative duration t′3-t′1=T″, according to the set mapping relationship between the cumulative duration and the color value, it can be obtained that the cumulative duration T″ corresponds to the color value c2, then the display effect of the indicator icon corresponding to the color value c2 is displayed at the position of the long press operation, such as a circular icon of color value c2. For another example, the handwriting color of the display device can be divided into multiple levels, corresponding to multiple different color values. The display device can display a color value through an indicator icon at fixed intervals according to the duration of the long press operation, and the color value can change from dark to light or from light to dark, which is not limited by the present invention.

[0079] Therefore, based on the preset associative mapping relationship between the cumulative duration and the display effect of the indicator icon, the real-time cumulative duration of the long press operation can be effectively converted into an intuitive display effect, thereby improving the convenience and accuracy of the user in setting the handwriting style.

[0080] Optionally, in addition to presenting the degree of change of the handwriting style through intuitive indicator icons, it is also possible to display the handwriting style value corresponding to the current display effect of the indicator icon while displaying the indicator icon corresponding to the target setting option at the position of the long press operation. For example, the width value corresponding to different thick and thin strokes, the color value corresponding to different color depths, etc., to provide users with numerical display from a quantitative perspective.

[0081] In one embodiment, the handwriting setting options include handwriting style options. When a selection operation acting on any handwriting setting option is received, confirming that the handwriting setting option corresponding to the selection operation is a target setting option includes:

[0082] When a selection operation acting on a handwriting style option is received, the handwriting style option is confirmed as a target setting option.

[0083] Accordingly, while the indicator icon corresponding to the target setting option is displayed at the position of the long press operation, it also includes:

[0084] The handwriting style name corresponding to the current display effect of the indicator icon is displayed. The handwriting style can be a set handwriting theme, and each handwriting theme corresponds to different text fonts, line styles, etc.

[0085] In another embodiment, the handwriting setting option includes a pressure correction option, and the pressure correction option is used to adjust the correlation between the pressure value and the handwriting thickness value;

[0086] When a selection operation acting on any handwriting setting option is received, the handwriting setting option corresponding to the selection operation is confirmed as a target setting option, including:

[0087] When receiving a selection operation acting on the pressure sensitivity correction option, confirming the pressure sensitivity correction option as a target setting option;

[0088] Accordingly, after confirming that the pressure sensitivity correction option is the target setting option, it also includes:

[0089] When receiving a writing operation acting on the display interface, determining a target pressure value according to the writing operation;

[0090] Accordingly, the display effect corresponding to the indicator icon is configured as the display effect of the handwriting generated subsequently, including:

[0091] The handwriting thickness effect corresponding to the indication icon is configured as the display effect of the subsequently generated handwriting generated based on the target pressure sensitivity value, and the display effect of the subsequently generated handwriting generated based on other pressure sensitivity values ​​is determined based on a preset mapping relationship.

[0092] It is worth noting that the stylus can be equipped with a pressure-sensitive function. The greater the pressure of the stylus pressing the touch screen, the thicker the handwriting will be; the smaller the pressure of the stylus pressing the touch screen, the thinner the handwriting will be. Since the pressure value range of the user's normal writing will stabilize near an average pressure value, the user can set the handwriting thickness value corresponding to the average pressure value as the benchmark thickness value. For example, when the user uses the stylus to write, based on the average pressure value, when the pressure on the touch screen gradually increases, the handwriting will gradually become thicker on the benchmark thickness value, and when the pressure on the touch screen gradually decreases, the handwriting will gradually become thinner on the benchmark thickness value. Specifically, after the display device confirms that the pressure correction option is the target setting option, it receives the user's writing operation, and can collect the pressure sample point values ​​p1, p2, p3, etc. of the writing operation, and calculate the average pressure sample point value obtained by all pressure sample point values. As the target pressure value. Then, by confirming the duration of the long press operation, the handwriting thickness effect corresponding to the target pressure value is determined. For example, the handwriting thickness value is Then in the subsequent handwriting generation process, if the received pressure value is p1, and p1 is greater than According to According to the preset mapping relationship, the increment of the handwriting thickness value should be Δw1, so the handwriting thickness value generated in real time should change to If the received pressure value is p2, and p2 is less than According to According to the preset mapping relationship, the increment of the handwriting thickness value should be -Δw2, so the handwriting thickness value generated in real time should change to Therefore, by correcting the correspondence between the pressure sensitivity value and the handwriting thickness value, the user's demand for configuring appropriate handwriting thickness effects for different pressure sensitivity values ​​can be met.

[0093] Optionally, after determining the display effect of subsequent handwriting generated based on other pressure sensitivity values ​​based on a preset mapping relationship, the display device can also generate and display a correlation change chart of the pressure sensitivity value and the handwriting thickness effect, so as to provide the user with correlation reference data of the pressure sensitivity value and the handwriting thickness effect.

[0094] Step S104: when it is confirmed that the long press operation is ended, the display effect corresponding to the indication icon is configured as the display effect of the subsequently generated handwriting, and the indication icon is stopped from being displayed.

[0095] It is worth mentioning that when the display device detects that the long press operation is over, the display effect corresponding to the indicator icon at the end time can be configured as the display effect of the subsequently generated handwriting. For example, the target setting option is the handwriting thickness option, then at the end of the long press operation, the display effect corresponding to the indicator icon is a medium stroke, and the display device will configure the current handwriting thickness to a medium stroke; for another example, the target setting option is the handwriting depth option, and the current handwriting color is grayscale, then at the end of the long press operation, the display effect corresponding to the indicator icon is gray with a color value of c3, and the display device will configure the current handwriting to gray with a color value of c3.

[0096] Furthermore, when the display device confirms that the long press operation is over, in addition to directly configuring the display effect corresponding to the indicator icon as the display effect for subsequently generating handwriting, it can also provide the user with a selection control for whether to confirm setting the display effect. Specifically, when confirming that the long press operation is over, configuring the display effect corresponding to the indicator icon as the display effect for subsequently generating handwriting includes:

[0097] When confirming that the long-press operation is over, a selection control is displayed for confirming whether the display effect corresponding to the indicator icon is applied to the subsequent generation of handwriting;

[0098] When a confirmation application operation acting on a selection control is received, the display effect corresponding to the indicator icon is configured as a display effect of subsequently generated handwriting.

[0099] When receiving a cancel application operation acting on the selection control, the subsequently generated handwriting is maintained as the display effect before the long press operation.

[0100] Therefore, when the display effect set by the user's current long press operation does not meet expectations, the display effect corresponding to the current indicator icon can be canceled and confirmed in time, which is conducive to the user directly setting the expected display effect through the next long press operation.

[0101] In the above, when a trigger operation on the handwriting setting control is detected, at least one handwriting setting option is displayed in the display interface; then when a selection operation acting on any handwriting setting option is received, the handwriting setting option corresponding to the selection operation is confirmed to be the target setting option; then when a long press operation acting on the display interface is detected, the indicator icon corresponding to the target setting option is displayed at the position of the long press operation, and the indicator icon is used to display the display effect of the target setting option in real time according to the accumulated time of the long press operation; finally, when it is confirmed that the long press operation ends, the display effect corresponding to the indicator icon is configured as the display effect of the subsequent generated handwriting, and the indicator icon is stopped. It is realized that the intermediate selection effect of the handwriting adjustment is intuitively displayed to the user by means of the indicator icon, which simplifies the user's setting operation and improves the efficiency of setting the handwriting style.

[0102] Figure 4 A schematic diagram of the structure of a handwriting adjustment device is provided for the embodiment of the present application. Figure 4 The handwriting adjustment device includes an option display unit 101, an option setting unit 102, an effect selection unit 103, and an effect confirmation unit 104.

[0103] The option display unit 101 is used to display at least one handwriting setting option in the display interface when a trigger operation on the handwriting setting control is detected;

[0104] The option setting unit 102 is used for, when receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option;

[0105] The effect selection unit 103 is used to, when a long press operation is detected in the display interface, display an indication icon corresponding to the target setting option at the position where the long press operation is performed, and the indication icon is used to display the display effect of the target setting option in real time according to the accumulated duration of the long press operation;

[0106] The effect confirmation unit 104 is used to confirm that when the long press operation ends, configure the display effect corresponding to the indication icon as the display effect of the subsequently generated handwriting, and stop displaying the indication icon.

[0107] Based on the above embodiment, the effect selection unit 103 includes:

[0108] The numerical display module is used to display the handwriting style numerical value corresponding to the current display effect of the indication icon.

[0109] Based on the above embodiment, the handwriting setting options include handwriting style options; the option setting unit 102 includes:

[0110] A handwriting style module, configured to confirm that the handwriting style option is a target setting option when receiving a selection operation acting on the handwriting style option;

[0111] The effect selection unit 103 includes:

[0112] The name display module is used to display the handwriting style name corresponding to the current display effect of the indication icon.

[0113] Based on the above embodiment, the effect confirmation unit 104 includes:

[0114] A selection control module, for confirming that the long-press operation is ended, and displaying a selection control for confirming whether to apply the display effect corresponding to the indicator icon to the subsequent generation of handwriting;

[0115] The confirmation configuration module is used to configure the display effect corresponding to the indicator icon as the display effect of the subsequently generated handwriting when receiving the confirmation application operation acting on the selection control.

[0116] Based on the above embodiment, the effect confirmation unit 104 further includes:

[0117] The cancellation configuration module is used to maintain the display effect before the long press operation of the subsequently generated handwriting when receiving the cancel application operation acting on the selection control.

[0118] On the basis of the above-mentioned embodiment, the handwriting setting option includes a pressure correction option, and the pressure correction option is used to adjust the correlation between the pressure value and the handwriting thickness value; the option setting unit 102 includes:

[0119] A pressure correction module, configured to confirm that the pressure correction option is a target setting option when a selection operation acting on the pressure correction option is received;

[0120] It also includes: a pressure confirmation unit, which is used to confirm a target pressure value according to a writing operation on the display interface when receiving the writing operation;

[0121] The effect selection unit 103 includes:

[0122] The pressure effect configuration module is used to configure the handwriting thickness effect corresponding to the indicator icon as the display effect of the subsequent handwriting generated based on the target pressure value, and determine the display effect of the subsequent handwriting generated based on other pressure values ​​based on a preset mapping relationship.

[0123] Based on the above embodiment, the effect selection unit 103 further includes:

[0124] The pressure sensitivity chart generation module is used to generate and display a correlation change chart between the pressure sensitivity value and the handwriting thickness effect.

[0125] As mentioned above, the handwriting adjustment device in the embodiment of the present application, when detecting the trigger operation of the handwriting setting control, displays at least one handwriting setting option in the display interface; then when receiving the selection operation acting on any handwriting setting option, confirms that the handwriting setting option corresponding to the selection operation is the target setting option; then when detecting the long press operation acting on the display interface, displays the indicator icon corresponding to the target setting option at the position of the long press operation, and the indicator icon is used to display the display effect of the target setting option in real time according to the accumulated time of the long press operation; finally, when confirming that the long press operation ends, configures the display effect corresponding to the indicator icon as the display effect of the subsequent generated handwriting, and stops displaying the indicator icon. It realizes the intuitive display of the intermediate selection effect of the handwriting adjustment to the user by means of the indicator icon, simplifies the user's setting operation, and improves the efficiency of setting the handwriting style.

[0126] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device includes a processor 201, a memory 202, an input device 203, an output device 204 and a communication device 205; the number of processors 201 in the electronic device can be one or more. Figure 5 A processor 201 is taken as an example; the processor 201 memory 201, input device 203, output device 204 and communication device 205 in the electronic device can be connected by a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0127] The memory 202, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the handwriting adjustment in the embodiment of the present invention (for example, the option display unit 101, the option setting unit 102, the effect selection unit 103, and the effect confirmation unit 104). The processor 201 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 202, that is, realizes the above-mentioned handwriting adjustment.

[0128] The memory 202 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 202 may further include a memory remotely arranged relative to the processor 201, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0129] The input device 203 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device, such as a stylus, etc. The output device 204 in this solution can be a touch screen, where the touch screen can be an ink screen, a liquid crystal display, etc., and there can also be a sound output device or other display device.

[0130] The electronic device mentioned above includes a handwriting adjustment device, which can be used to execute any handwriting adjustment method and has corresponding functions and beneficial effects.

[0131] The embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a handwriting adjustment method when executed by a computer processor, and the handwriting adjustment method includes: when a trigger operation on a handwriting setting control is detected, at least one handwriting setting option is displayed in a display interface; when a selection operation acting on any of the handwriting setting options is received, the handwriting setting option corresponding to the selection operation is confirmed to be a target setting option; when a long press operation acting on the display interface is detected, an indication icon corresponding to the target setting option is displayed at the position of the long press operation, and the indication icon is used to display the display effect of the target setting option in real time according to the accumulated time of the long press operation; when the long press operation is confirmed to be over, the display effect corresponding to the indication icon is configured as the display effect of the handwriting generated subsequently, and the indication icon is stopped from being displayed. When the computer program is executed by the processor, it can also implement the relevant operations in other handwriting adjustment methods provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0132] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0133] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0134] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0135] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0136] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0137] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A handwriting adjustment method, characterized in that: The handwriting adjustment method comprises: When a trigger operation on a handwriting setting control is detected, at least one handwriting setting option is displayed in the display interface; When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option; When a long press operation is detected in the display interface, an indication icon corresponding to the target setting option is displayed at the position where the long press operation is performed, and the indication icon is used to display the display effect of the target setting option in real time according to the accumulated duration of the long press operation; When it is confirmed that the long-press operation ends, the display effect corresponding to the indication icon is configured as the display effect of the handwriting generated subsequently, and the indication icon stops being displayed; The handwriting setting option includes a pressure correction option, and the pressure correction option is used to adjust the correlation between the pressure value and the handwriting thickness value; When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option includes: When receiving a selection operation acting on the pressure sensitivity correction option, confirming that the pressure sensitivity correction option is a target setting option; Correspondingly, after confirming that the pressure sensitivity correction option is a target setting option, the method further includes: When receiving a writing operation on the display interface, determining a target pressure value according to the writing operation; Accordingly, configuring the display effect corresponding to the indicator icon as the display effect of the handwriting generated subsequently includes: The handwriting thickness effect corresponding to the indication icon is configured as the display effect of the subsequently generated handwriting generated based on the target pressure sensitivity value, and the display effect of the subsequently generated handwriting generated based on other pressure sensitivity values ​​is determined based on a preset mapping relationship.

2. The handwriting adjustment method according to claim 1, characterized in that: While displaying the indicator icon corresponding to the target setting option at the position where the long press operation is performed, the method further includes: The handwriting style value corresponding to the current display effect of the indication icon is displayed.

3. The handwriting adjustment method according to claim 1, characterized in that: The handwriting setting options include handwriting style options; When receiving a selection operation acting on any one of the handwriting setting options, confirming that the handwriting setting option corresponding to the selection operation is a target setting option includes: When receiving a selection operation acting on the handwriting style option, confirming the handwriting style option as a target setting option; Correspondingly, while the indicator icon corresponding to the target setting option is displayed at the action position of the long press operation, it also includes: The handwriting style name corresponding to the current display effect of the indication icon is displayed.

4. The handwriting adjustment method according to any one of claims 1 to 3, characterized in that: The step of confirming that the long press operation is ended, configuring the display effect corresponding to the indicator icon as the display effect of the handwriting generated subsequently, comprises: When it is confirmed that the long-press operation is ended, a selection control is displayed for confirming whether to apply the display effect corresponding to the indicator icon to the subsequent generation of handwriting; When a confirmation application operation acting on the selection control is received, the display effect corresponding to the indicator icon is configured as a display effect of subsequently generated handwriting.

5. The handwriting adjustment method according to claim 4, characterized in that: After confirming that the long-press operation is ended, displaying a selection control for confirming whether to apply the display effect corresponding to the indicator icon to subsequent handwriting generation, the method further includes: When receiving a cancel application operation acting on the selection control, the subsequently generated handwriting is maintained as the display effect before the long press operation.

6. The handwriting adjustment method according to claim 1, characterized in that: After determining the display effect of the subsequent handwriting generated based on other pressure sensitivity values ​​based on the preset mapping relationship, the method further includes: Generate and display a graph showing the correlation between pressure sensitivity and pen thickness.

7. A handwriting adjustment device, characterized in that: include: An option display unit, configured to display at least one handwriting setting option in a display interface when a trigger operation on a handwriting setting control is detected; An option setting unit, configured to, upon receiving a selection operation acting on any one of the handwriting setting options, confirm that the handwriting setting option corresponding to the selection operation is a target setting option; an effect selection unit, configured to, when a long press operation is detected in the display interface, display an indication icon corresponding to the target setting option at the position where the long press operation is applied, wherein the indication icon is configured to display a display effect of the target setting option in real time according to the accumulated duration of the long press operation; an effect confirmation unit, configured to confirm that when the long-press operation ends, configure the display effect corresponding to the indication icon as the display effect of the subsequently generated handwriting, and stop displaying the indication icon; The option setting unit includes: A pressure correction module, configured to, upon receiving a selection operation acting on a pressure correction option, confirm that the pressure correction option is a target setting option; It also includes: a pressure confirmation unit, which is used to confirm a target pressure value according to a writing operation on the display interface when receiving the writing operation; Effect selection unit, including: The pressure effect configuration module is used to configure the handwriting thickness effect corresponding to the indicator icon as the display effect of the subsequent handwriting generated based on the target pressure value, and determine the display effect of the subsequent handwriting generated based on other pressure values ​​based on a preset mapping relationship.

8. An electronic device, characterized in that: The electronic device comprises: Touch screen display; one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the handwriting adjustment method as described in any one of claims 1-6.

9. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the handwriting adjustment method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Touch chirography generation method and system of touch pen

    CN104049874A

  • Display method and display device for realizing hand input on touch screen

    CN106201314A

  • Method for rapidly switching writing thickness and color of paintbrush and electronic equipment

    CN113568557A

  • E-book display method and system adaptive to multiple stroke shapes and storage medium

    CN115938244A

  • Switching system of icon

    JP2002109557A