Display device and display content clearing method

By displaying a sliding erase control on the electronic whiteboard, users can erase text with a single click or in a partial area by sliding the control, which solves the problem of cumbersome handwriting erasure operations in existing technologies and improves the user experience.

WO2026000170A1PCT designated stage Publication Date: 2026-01-02BOE TECHNOLOGY GROUP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/101294
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

In existing technologies, the handwriting erasure methods of electronic whiteboards are cumbersome and involve long interaction paths, which cannot meet the diverse erasure needs of users.

Method used

By displaying a sliding erase control on the handwriting interface, users can clear the handwriting with one click or clear a partial area by sliding, simplifying the handwriting removal process.

Benefits of technology

It provides a more convenient and faster clearing experience, improving user efficiency and satisfaction when using handwriting software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024101294_02012026_PF_FP_ABST
    Figure CN2024101294_02012026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a display device and a display content clearing method, which are used for simplifying a handwriting clearing operating process and meeting various handwriting clearing requirements. The display device comprises a display unit and a control circuit, wherein the display unit is configured for displaying content; the control circuit comprises a processor and a memory, the memory being configured for storing a program executable by the processor, and the processor is configured for reading the program in the memory and performing the following steps: displaying a handwriting menu on a handwriting interface, the handwriting menu comprising an erasing menu item; displaying a sliding erasing control in response to a selection operation performed by a user on the erasing menu item; and clearing at least a portion of handwriting content on the handwriting interface in response to an operation performed by the user on the sliding erasing control.
Need to check novelty before this filing date? Find Prior Art

Description

Display device and display content clearing method TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of human-computer interaction, and in particular to a display device and a display content clearing method. BACKGROUND

[0002] With the continuous development of modern technology and the demand for intelligence and efficiency in conference scenarios, many intelligent display devices appear in various scenarios such as offices, conference rooms, and classrooms. The intelligent display device uses a virtual whiteboard software to replace the past blackboard function and also carries many other functional requirements. However, the blackboard is still one of the functions frequently used in the conference room. As a writing window, the background color of the electronic blackboard can simulate the color of the ordinary blackboard, and the implementation of the electronic blackboard greatly promotes the intelligence and efficiency of the conference and education scenarios.

[0003] At present, in the process of using electronic whiteboard, electronic blackboard and other software, the most frequently used function by the user when writing is the erasing function of the handwriting. However, the existing handwriting erasing method is complicated in operation and has a long interactive path, which cannot meet the different needs of users for erasing.

[0004] SUMMARY

[0005] The present disclosure provides a display device and a display content clearing method for simplifying the operation process of handwriting erasing and meeting the needs of various handwriting erasing.

[0006] In a first aspect, an embodiment of the present disclosure provides a display device, which comprises a display unit and a control circuit, wherein:

[0007] The display unit is configured to display content.

[0008] The control circuit comprises a processor and a memory, the memory is used to store programs executable by the processor, and the processor is used to read the programs in the memory and perform the following steps:

[0009] displaying a handwriting menu on the handwriting interface, the handwriting menu comprising an erasing menu item;

[0010] in response to a selection operation of the user on the erasing menu item, displaying a sliding erasing control;

[0011] in response to an operation of the user on the sliding erasing control, clearing at least part of the handwriting content of the handwriting interface.

[0012] In a second aspect, another embodiment of the present disclosure provides another display device, which comprises a display unit and a control circuit, wherein:

[0013] The display unit is configured to display content.

[0014] The control circuit includes a processor and a memory for storing a program executable by the processor, the processor being configured to read the program in the memory and perform the following steps:

[0015] displaying a handwriting menu on the handwriting interface, the handwriting menu including an erase menu item;

[0016] in response to a selection and a drag operation of the erase menu item by the user, clearing at least part of the handwriting content on the handwriting interface.

[0017] In a third aspect, the embodiments of the present disclosure provide a method for displaying content clearing, the method comprising:

[0018] displaying a handwriting menu on the handwriting interface, the handwriting menu including an erase menu item;

[0019] in response to a selection operation of the erase menu item by the user, displaying a sliding erase control;

[0020] in response to an operation of the sliding erase control by the user, clearing at least part of the handwriting content on the handwriting interface.

[0021] In a fourth aspect, the embodiments of the present disclosure provide another method for displaying content clearing, the method comprising:

[0022] displaying a handwriting menu on the handwriting interface, the handwriting menu including an erase menu item;

[0023] in response to a selection and a drag operation of the erase menu item by the user, clearing at least part of the handwriting content on the handwriting interface.

[0024] In a fifth aspect, the embodiments of the present disclosure further provide a device for displaying content clearing, the device comprising:

[0025] a display unit configured to display a handwriting menu on the handwriting interface, the handwriting menu including an erase menu item;

[0026] an updating unit configured to, in response to a selection operation of the erase menu item by the user, display a sliding erase control;

[0027] a clearing unit configured to, in response to an operation of the sliding erase control by the user, clear at least part of the handwriting content on the handwriting interface.

[0028] In a sixth aspect, the embodiments of the present disclosure further provide a non-transitory computer storage medium having stored thereon a computer program, the program being executable by a processor to implement the steps of the method of any one of the first aspect.

[0029] In a seventh aspect, the present disclosure provides a computer program product, comprising: computer program codes, when the computer program codes are run on a computer, causing the computer to execute the method in any one of the first aspect.

[0030] These and other aspects of the present disclosure will become more apparent from the following description of embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art without any creative effort based on these drawings.

[0032] FIG. 1 is a schematic diagram of a display device according to an embodiment of the present disclosure;

[0033] FIGS. 2A-2B are schematic diagrams of a handwriting menu according to an embodiment of the present disclosure;

[0034] FIGS. 3A-3B are UI interface diagrams of a screen clearing operation according to an embodiment of the present disclosure;

[0035] FIG. 4 is a handwriting interface diagram of a second sliding erasing control according to an embodiment of the present disclosure;

[0036] FIGS. 5A-5C are UI interface diagrams of a clearing operation of changing the size of a clearing control according to an embodiment of the present disclosure;

[0037] FIGS. 6A-6B are UI interface diagrams of a horizontal clearing of part of handwriting according to an embodiment of the present disclosure;

[0038] FIGS. 7A-7B are UI interface diagrams of a vertical clearing of part of handwriting according to an embodiment of the present disclosure;

[0039] FIGS. 8A-8C are schematic diagrams of a third sliding erasing control of clearing part of handwriting according to an embodiment of the present disclosure;

[0040] FIGS. 9A-9C are UI interface diagrams of clearing handwriting in a region according to an embodiment of the present disclosure;

[0041] FIGS. 10A-10D are UI interface diagrams of clearing handwriting in a region according to an embodiment of the present disclosure;

[0042] FIGS. 11A-11C are UI interface diagrams of clearing handwriting in a region according to an embodiment of the present disclosure;

[0043] FIG. 12A-FIG. 12B are UI interface diagrams for clearing handwriting in a region according to an embodiment of the present disclosure;

[0044] FIG. 13A-FIG. 13C are UI interface diagrams for clearing using a multi- slide erase control according to an embodiment of the present disclosure;

[0045] FIG. 14A-FIG. 14B are UI interface diagrams for clearing handwriting by time according to an embodiment of the present disclosure;

[0046] FIG. 15A-FIG. 15C are UI interface diagrams for clearing handwriting by time according to an embodiment of the present disclosure;

[0047] FIG. 16A-FIG. 16C are UI interface diagrams for clearing handwriting in a region according to an embodiment of the present disclosure;

[0048] FIG. 17A-FIG. 17C are UI interface diagrams for clearing handwriting in a region according to an embodiment of the present disclosure;

[0049] FIG. 18 is a diagram of a display device according to an embodiment of the present disclosure;

[0050] FIG. 19 is a flowchart of a display content clearing method according to an embodiment of the present disclosure;

[0051] FIG. 20 is a flowchart of a display content clearing method according to an embodiment of the present disclosure;

[0052] FIG. 21 is a diagram of a display content clearing apparatus according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] In order to make the objects, technical solutions and advantages of the present disclosure clearer, the following will further describe the present disclosure with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present disclosure.

[0054] In the embodiments of the present disclosure, the term “and / or” describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. The character “ / ” generally represents an “or” relationship between the associated objects before and after it.

[0055] The application scenarios described in the embodiments of the present disclosure are used to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art can know that the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems as new application scenarios appear. In the description of the present disclosure, unless otherwise specified, the meaning of "a plurality of" is two or more.

[0056] Before introducing the display device and display content clearing method provided by the embodiments of the present disclosure, in order to facilitate understanding, first, the technical background of the embodiments of the present disclosure is introduced in detail.

[0057] With the continuous development of modern science and technology and the demand for intelligence and efficiency in conference scenarios, many intelligent display devices appear in various scenarios such as offices, conference rooms and classrooms. The intelligent display device uses a virtual whiteboard software to replace the past blackboard function and also carries many other functional requirements. However, the blackboard is still one of the functions frequently used in the conference room. As a writing window, the background color of the electronic blackboard can simulate the color of the ordinary blackboard, and the implementation of the electronic blackboard greatly promotes the intelligence and efficiency of the conference and education scenarios.

[0058] At present, in the process of using electronic whiteboard, electronic blackboard and other software, the most frequently used function by users when writing is the erasing function of the handwriting. The current erasing methods mainly include the following:

[0059] (1) Click the eraser, and slide the finger or pen on the blackboard on the handwriting to erase;

[0060] (2) Slide the palm on the blackboard on the handwriting to erase;

[0061] (3) Click the selection button, circle the handwriting area on the blackboard, and click to erase after selection;

[0062] (4) Long press the handwriting to select the handwriting, and click to erase after selection;

[0063] (5) Click the eraser, click the eraser again, drag the screen clearing sliding component, and clear all handwriting on the page;

[0064] The current erasing scheme has high user cost, long interaction path, and cannot meet the different needs of users, such as the user's desire to quickly erase half of the screen, erase the handwriting on the upper half of the screen, erase the handwriting written in the first half hour, or quickly clear the screen. The existing scheme requires the user to click the eraser, click the eraser again, and drag the slider to clear the screen, which requires repeated operation of three steps, and the erasing process is complicated and has poor operability.

[0065] In order to solve the problems of the above-mentioned complex erasing process and inconvenient operation, the display content clearing method provided by the present disclosure uses the sliding erasing control mode to realize one-key clearing through the sliding operation on the menu item, and the clearing method provided by the present disclosure can simplify the process for various clearing modes. The user can have a more convenient and fast clearing operation experience, and the experience of using the handwriting software can be effectively improved.

[0066] It should be noted that the display device in the embodiment refers to a large-size (generally more than 50 inches) smart interactive display device with a touch handwriting function; on the display device, an electronic whiteboard or other writing program is installed, and a user can write on the display device by using a finger, an active pen or a passive pen, etc. The display device can include a liquid crystal display (LCD), an organic electroluminescence display (OLED), an electronic ink display module, etc., and can display the writing traces in real time.

[0067] Referring to FIG. 1, the display device in the embodiment is introduced.

[0068] The display device 100 in the embodiment includes a display unit 1040, a processor 1080 and a memory 1020, wherein the display unit 1040 includes a display panel 1041, which is used to display the information input by the user or provided to the user and various operation interfaces of the application, etc., and is mainly used to display the interface of the client installed in the display device 100, the shortcut window, the three-dimensional menu model, the menu information of the menu item, etc. in the embodiment of the present disclosure.

[0069] Optionally, the display panel 1041 can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).

[0070] The processor 1080 is used to read the computer program and then execute the method defined by the computer program, for example, the processor 1080 reads the application, so as to run the application on the display device 100 and display the interface of the application on the display unit 1040. The processor 1080 can include one or more general-purpose processors, and can also include one or more digital signal processors (DSPs) for performing related operations to realize the technical solutions provided by the embodiments of the present disclosure.

[0071] The memory 1020 generally includes internal memory and external memory. The internal memory can be random access memory (RAM), read only memory (ROM), and cache memory (CACHE), etc. The external memory can be a hard disk, an optical disk, a USB disk, a floppy disk, or a tape drive, etc. The memory 1020 is used to store computer programs and other data. The computer programs include application programs corresponding to clients, etc. The other data can include data generated after the operating system or application programs are run, including system data (such as configuration parameters of the operating system) and user data. In the embodiments of the present disclosure, program instructions are stored in the memory 1020, and the processor 1080 executes the program instructions in the memory 1020 to implement any one of the three-dimensional menu display methods provided by the present disclosure.

[0072] In addition, the display device 100 can further include a touch unit 1100 for receiving input digital information, word information or contact touch operation or non-contact gesture, and generating signal input related to user settings and function control of the display device 100, etc. The touch unit 1100 includes but is not limited to: an infrared touch unit, a capacitive touch unit, an electromagnetic touch unit, a camera acquisition unit, etc., wherein the camera acquisition unit is used to acquire the gesture of the user without contacting the display unit. When the touch unit 1100 includes an infrared touch unit or an electromagnetic touch unit, the touch unit 1100 and the display unit 1040 can be arranged in a stacked manner. For example, the user performs a touch operation on the touch screen, and the touch unit 1100 can collect the touch operation of the user on or near it (such as the user using a finger, a stylus or any suitable object or accessory on the display panel 1041), and drive the corresponding connection device according to the pre-set program.

[0073] Optionally, the touch unit 1100 can include two parts of a touch detection device and a touch processor. The touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch processor; the touch processor receives the touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 1080, and can also receive the command from the processor 1080 and execute it. In the embodiments of the present disclosure, if the user clicks the application, the touch detection device in the touch unit 1100 detects the touch operation, and then sends the signal corresponding to the detected touch operation to the touch processor. The touch processor converts the signal into touch coordinates and sends it to the processor 1080. The processor 1080 determines the operation required by the user according to the received touch coordinates.

[0074] The display panel 1041 can be implemented in various types such as LCD, OLED, etc. In addition to the display unit 1040 and the touch unit 1100, the display device 100 can further include an input unit 1030, which can include an image input device 1031 and other input devices 1032, which can be but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, joysticks, etc.

[0075] In addition to the above, the display device 100 can further include a power supply 1090 for powering other modules, an audio circuit 1060, a near field communication module 1070, and an RF circuit 1010. The display device 100 can further include one or more sensors 1050, such as an acceleration sensor, a light sensor, a pressure sensor, etc. The audio circuit 1060 specifically includes a speaker 1061 and a microphone 1062, etc., for example, the display device 100 can collect the user's voice through the microphone 1062, and perform corresponding operations, etc.

[0076] As an embodiment, the number of processors 1080 can be one or more, and the processor 1080 and the memory 1020 can be coupled or relatively independent.

[0077] As an embodiment, the processor 1080 is configured to perform the following steps:

[0078] Step a, displaying a handwriting menu on the handwriting interface, the handwriting menu including an erase menu item;

[0079] In an implementation, the display device has a handwriting function module, the user opens the handwriting program to display the handwriting interface, and the user can perform handwriting on the handwriting interface by using a handwriting pen or a finger touch. Optionally, the handwriting menu of the handwriting interface in the embodiment includes but is not limited to one or more menu items, for example, the handwriting menu includes a pen-shaped menu item, a color menu item, an erase menu item, etc., wherein the pen-shaped menu item is used to realize the switching of the pen shape, the color menu item is used to realize the switching of the color, and the erase menu item is used to realize the erasing function. The handwriting menu in the embodiment includes at least one erase menu item for realizing the erasing function.

[0080] Step b, in response to the selection operation of the user on the erase menu item, displaying a sliding erase control;

[0081] In an implementation, the sliding erase control includes a sliding bar and a slider; the appearance feature of the slider is determined based on the erase menu item.

[0082] The appearance feature of the slider in the embodiment is determined based on the erasing menu item, that is, the slider is consistent in appearance with the erasing menu item, and the difference is that the erasing menu item is a fixed menu item and cannot select the erasing function by dragging, while the slider is a menu item with a dragging function, and the erasing function of the handwriting content is realized by dragging the slider.

[0083] Optionally, the sliding erasing control can be directly updated and displayed at the position of the erasing menu item, that is, when the user selects the erasing menu item by clicking or long-pressing or other touch methods, the erasing menu item is directly updated to the slider in the sliding erasing control at the position of the erasing menu item, and the appearance style of the slider is displayed in the style of the erasing menu item.

[0084] Optionally, the sliding erasing control can also be displayed at a position other than the position of the erasing menu item, for example, at a corresponding position of the content displayed in the handwriting interface. When the handwriting content is divided into multiple content blocks, a sliding erasing control can be displayed at a corresponding position of each content block, for example, a sliding erasing control can be displayed at the upper right corner of each content block.

[0085] It should be noted that the sliding erasing control in the embodiment refers to a Sider control, which is composed of a slider (i.e., a slider) and a sliding bar. There are two ways, a horizontal sliding bar (HorizontalSlider) and a vertical sliding bar (Verticalslider). The Slider control is a bidirectional interactive control that allows the user to select a value within a certain range corresponding to the sliding bar in two directions by dragging the slider. The Sider control can not only be used for simple range selection, but also can be bound with numerical display to realize accurate numerical input. The sliding erasing control in the embodiment is used for configuring the erasing parameter, and can realize one-key screen clearing, partial area screen clearing, partial handwriting screen clearing, content screen clearing of a certain type, and the like.

[0086] Optionally, in response to the operation of the user dragging the slider in the sliding bar, the handwriting content of the handwriting interface is cleared. In the embodiment, the sliding erasing control is displayed, and at this time the erasing menu item is the slider in the sliding erasing control, and the corresponding erasing parameter or erasing function can be selected by dragging the slider in the sliding bar. When the erasing menu item is updated to the slider, the starting position of the slider in the sliding erasing control can be the original position before the erasing menu item is updated, or can be pre-set, for example, can be on one side of the sliding bar close to the edge, can be in the middle of the sliding bar, or can be other positions in the sliding bar, and the embodiment does not make too many limitations. In the embodiment, when the sliding erasing control is displayed, the size of the handwriting menu can also be adaptively updated according to the size of the sliding bar of the sliding erasing control, so that the handwriting menu contains the sliding erasing control.

[0087] The sliding erase control in the present disclosure is used to switch or select the specific clearing function of the erase menu item. The user can select or switch the corresponding clearing function by dragging the slider in the sliding bar. In implementation, the user first needs to select the erase menu item, for example, by clicking, long pressing, or the like. After updating the erase menu item to display as the sliding erase control, the user directly drags the slider in the sliding bar to implement the corresponding clearing function. Alternatively, one way is that the selection operation and the dragging operation are continuous, that is, the user performs the selection operation on the erase menu item by clicking / long pressing, maintains the selection operation, and drags the erase menu item. Another way is that the selection operation and the dragging operation are separated, that is, the user first selects the erase menu item by clicking / long pressing, and then the user releases the selection operation and performs the dragging operation on the erase menu item to drag the slider in the sliding bar.

[0088] Step c, in response to the user operation on the sliding erase control, clearing at least part of the handwriting content of the handwriting interface.

[0089] Optionally, the handwriting content in the present embodiment includes handwriting, graphics, and inserted pictures, and the like, which are not limited herein.

[0090] In some embodiments, the sliding erase control includes a sliding bar and a slider. In response to the long pressing operation of the user on the erase menu item, the sliding erase control is displayed, and the slider of the sliding erase control is displayed at the position of the erase menu item.

[0091] In response to the operation of directly dragging the slider by the user in the state of maintaining the long pressing operation, at least part of the handwriting content of the handwriting interface is cleared.

[0092] In implementation, the user long presses the erase menu item, and the sliding erase control is displayed at this time. The erase menu item is updated to the slider in the sliding erase control. At this time, the position of the slider is the same as that of the erase menu item. The slider is directly dragged by the user in the state of maintaining the long pressing operation to perform the operation of clearing the handwriting content of the handwriting interface. Directly dragging the slider by the user in the state of maintaining the long pressing operation means that the user continues to drag the slider in the state of long pressing and maintaining the contact with the screen. In this process, the user is always in contact with the screen and is not separated.

[0093] Optionally, the long pressing operation and the operation of dragging the slider can be realized by finger operation or realized by handwriting pen operation, which is not limited herein.

[0094] In some embodiments, after clearing at least part of the handwritten content of the handwriting interface in response to the user directly dragging the slider while maintaining the long press operation, the handwriting menu is restored to the state before the display of the slide erase control in response to the user releasing the drag operation on the slider.

[0095] Alternatively, after displaying the slide erase control in response to the user's selection operation on the erase menu item, the handwriting menu is restored to the state before the display of the slide erase control in response to the user releasing the selection operation on the erase menu item.

[0096] In some embodiments, the user can restore the handwriting menu to the state before the display of the slide erase control when the user releases the contact with the screen, such as lifting the finger or the stylus, during the process of clicking / long pressing the erase menu item and dragging the slider. The handwriting menu can be restored to the state before the display of the slide erase control when the user's finger or the stylus is separated from the screen.

[0097] In some embodiments, after triggering the display of the slide erase control in the handwriting menu, the user can drag the slider in the slide bar of the slide erase control to achieve different clearing functions. As shown in FIGS. 2A-2B, the present disclosure provides a schematic diagram of a handwriting menu, including a pen-shaped menu item 205, a color menu item 206, and an erase menu item 203. The user selects the erase menu item 203 by long pressing or clicking, triggers the display of the slide erase control, and updates the erase menu item to the slider in the slide erase control. As shown in FIG. 2A, a horizontal slide erase control 202a is displayed, the erase menu item 203 is updated to the slider 203 in the slide erase control 202a, and the slider 203 is located in the middle or one side of the slide bar. At this time, the slider 203 is in the selected state. As shown in FIG. 2B, a vertical slide erase control 202b is displayed, the erase menu item 203 is updated to the slider 203 in the slide erase control 202b, and the slider 203 is located in the middle or one side of the slide bar. At this time, the slider 203 is in the selected state. Meanwhile, the handwriting menu is updated horizontally and / or vertically according to the size of the slide erase control. Then, the user can drag the slider in the slide bar of the slide erase control to move and achieve the clearing function.

[0098] Currently, the user usually needs to click the erase function option multiple times to achieve different erase functions. In the present disclosure, the function of the erase menu item is the clearing / erase function. The erase menu item in the present disclosure is different from the existing erase function option in the handwriting interface. The erase menu item in the present disclosure can be updated to the slider in the slide erase control. The user can drag the slider in the slide bar of the slide erase control to achieve one-key clearing operation, which can make the clearing process more convenient and fast.

[0099] In some embodiments, the present embodiment provides a one-key screen clearing function for more convenient and fast clearing of all display contents, and the implementation steps are as follows:

[0100] The sliding erasing control includes a first sliding erasing control including a first sliding bar, and the processor is specifically configured to perform: in response to a first operation of the user dragging a slider in the first sliding bar to a target position, clearing all display contents of the handwriting interface.

[0101] In implementation, if the first sliding bar is a horizontal sliding bar, the target position is the rightmost or leftmost side of the first sliding bar, the user can drag the slider in the first sliding bar to the rightmost or leftmost position, and when the user lifts the finger, all display contents of the handwriting interface can be cleared. If the first sliding bar is a vertical sliding bar, the target position is the uppermost or lowermost side of the first sliding bar, the user can drag the slider in the first sliding bar to the uppermost or lowermost position, and when the user lifts the finger, all display contents of the handwriting interface can be cleared.

[0102] Optionally, the user can also update the erasing menu item to the slider in the sliding erasing control by long pressing, at this time the user's finger selects the slider, the user can continue to drag the slider to the target position without lifting the finger to realize the screen clearing function. The user can also update the erasing menu item to the slider in the sliding erasing control by long pressing, at this time the user releases the hand or lifts the finger, and the slider is in the selected state, the user can drag the slider to the target position again to realize the screen clearing function.

[0103] Optionally, in order to facilitate user operation, a clearing icon, such as a garbage can style clearing icon, can be displayed on the target position of the first sliding bar, for indicating the user to drag the slider to the target position to realize the screen clearing function. Optionally, the first sliding bar in the present embodiment can be a vertical sliding bar or a horizontal sliding bar, and the position of the clearing icon in the first sliding bar can be pre-set.

[0104] Optionally, after clearing the display contents of the handwriting interface, the processor is further configured to perform: returning the slider to an initial position in the sliding bar; wherein the initial position represents the position of the slider in the sliding bar of the sliding erasing control when the erasing menu item is updated to the slider in the sliding erasing control.

[0105] As shown in FIGS. 3A-3B, the present embodiment provides a UI interface diagram of a screen clearing operation. As shown in FIG. 3A, the user opens the handwriting interface, and the default selected item in the handwriting menu of the handwriting interface is the brush 205. The user performs handwriting operation on the handwriting interface, and the handwriting trace 201 of the user is displayed. At this time, the user selects the erase menu item 203 in the handwriting menu of the handwriting interface. At this time, in one way, the user can slide the handwriting trace 201 on the handwriting interface by a gesture to erase the handwriting trace 201. In another way, as shown in FIG. 3B, the user selects the erase menu item, and the first sliding erase control 300 is displayed. The erase menu item is updated to the slider 203 in the first sliding erase control 300. At this time, the slider 203 is in the selected state. The user drags the slider 203 to the target position, i.e., the clear icon 204, in the first sliding bar, clears all the handwriting traces 201 on the handwriting interface, and returns to the selected brush 205. During the dragging of the slider 203, if the user releases the hand or lifts the finger before reaching the clear icon 204, the clearing event is not effective, and the selected state of the erase menu item 203 is maintained. Alternatively, the user can trigger the display of the first sliding erase control by long pressing the erase menu item 203. At this time, the slider 203 is in the selected state. The user can continue to drag the slider 203 to the clear icon 204 without releasing the hand. At this time, all the handwriting traces 201 on the handwriting interface are cleared, and the selected brush 205 is returned. If the user lifts the finger when the slider 203 is in the selected state or lifts the finger before reaching the clear icon 204 during the dragging, the clearing event is not effective, and the selected state of the slider 203 is maintained.

[0106] In some embodiments, the present embodiment provides a clearing method for changing the size of the clear control. The specific implementation steps are as follows:

[0107] The sliding erase control includes a second sliding erase control including a second sliding bar. The processor is specifically configured to perform: determining the size of the clear control in response to the second operation of the user dragging the slider in the second sliding bar; and clearing the display content according to the size of the clear control in response to the sliding operation of the user on the display content.

[0108] In the implementation, the user can drag the slider in the second sliding bar to change the size of the clear control. The clear control in the present embodiment is used for erasing or clearing the displayed handwriting trace. After the user adjusts the size of the clear control, the range of each clearing operation can be accurately controlled, and the user can accurately clear the handwriting trace.

[0109] In some embodiments, the second sliding erasing control further comprises at least one indication icon for indicating the changing direction of the erasing control from large to small or from small to large. As shown in FIG. 4, the present embodiment provides a handwriting interface diagram of a second sliding erasing control, the second sliding erasing control 400 comprises a second sliding bar and a slider 203, the second sliding bar displays an indication icon 401, when the user drags the slider 203 to the direction of the indication icon 401, the size of the erasing control is increased, and when the user drags the slider 203 to the direction of the indication icon 402, the size of the erasing control is decreased. Optionally, the second sliding bar in the present embodiment can be a vertical sliding bar or a horizontal sliding bar.

[0110] Optionally, in addition to prompting the adjustment direction of the size of the erasing control through the indication icon, the size of the erasing control can also be represented by a width gradient progress bar, and the user can also be prompted by other icons such as arrows, words, etc. how to adjust the size of the erasing control.

[0111] In some embodiments, the processor is further configured to perform:

[0112] displaying the erasing control in the handwriting interface according to the size of the erasing control indicated by the second operation; and changing the size of the erasing control in response to a touch operation of the user on the erasing control displayed in the handwriting interface.

[0113] In some embodiments, the erasing control can also be displayed in the handwriting interface, such as a rubber icon, and the user can adjust the size of the erasing control by a long-pressing and sliding operation. In some embodiments, the size of the erasing control is adjusted in a way that the size of the erasing control is centered on the position of the long-pressing, the sliding distance is the radius, and the erasing range is adjusted in a way of expanding outward or converging inward when sliding and erasing.

[0114] As shown in FIGS. 5A-5C, the present embodiment provides a UI interface diagram of a clearing operation of changing the size of a clearing control. The user opens a handwriting interface, at which time a pen 205 is selected by default in a handwriting menu of the handwriting interface. The user performs a handwriting operation on the handwriting interface, displaying a handwriting trace 201 of the user, as shown in FIG. 5A. At this time, the user selects an erasing menu item 203 in the handwriting menu of the handwriting interface, displaying a second sliding erasing control 500. The erasing menu item is updated to a slider in the second sliding erasing control 500. At this time, in one way, the user can slide the handwriting trace 201 on the handwriting interface to erase the handwriting trace by a gesture. In another way, as shown in FIG. 5B, the user selects the erasing menu item, at which time the slider 203 is in a selected state. The user drags the slider 203 in the second sliding bar to change the size of the clearing control 202 (such as an eraser), for example, the user drags the slider 203 to the right to increase the size, and drags the slider 203 to the left to decrease the size. At the same time, the actual size of the current clearing control is displayed on the handwriting interface, that is, the actual size of the eraser is displayed in real time in the handwriting interface when the user drags the slider 203. After adjusting the size of the eraser, the user can erase the handwriting trace by sliding the handwriting trace on the handwriting interface.

[0115] In some embodiments, the present embodiment also provides a method for clearing handwriting with a relative distance, and the specific implementation process is as follows:

[0116] The sliding erasing control includes a third sliding erasing control, and the third sliding erasing control includes a third sliding bar. The processor is specifically configured to perform:

[0117] In response to a third operation of the user dragging the slider in the third sliding bar, determining a target area according to a start position and a stop position of the slider corresponding to the third operation in the third sliding bar, and clearing display content of the target area.

[0118] In the implementation, the user can clear the display content between the relative distances by dragging the slider. First, when the erasing menu item is updated to the slider in the third sliding erasing control, the starting position of the slider in the third sliding erasing control can be determined according to the position of the erasing menu item, and the relative position of the starting position in the sliding bar in the third sliding erasing control can be preset. For example, when the third sliding bar is a horizontal sliding bar, the starting position can be the leftmost or rightmost position of the third sliding bar. At this time, the user drags the slider from left to right, calculates the horizontal distance of the slider from the starting position to the stopping position, and clears the display content in the interval in the X-axis direction corresponding to the horizontal distance in the Y-axis direction of the handwriting interface from the left side of the handwriting interface.

[0119] In some embodiments, the implementation determines a clear ratio according to the ratio between the dragging distance of the third operation and the length of the third sliding bar, and determines the target region according to the clear ratio and the size of the handwriting interface.

[0120] In the implementation, the longer the dragging distance of the user in the third sliding bar, the larger the clear ratio and the target region to be cleared.

[0121] In some embodiments, the target region is determined in any of the following ways:

[0122] Method a) converts the starting position and the stopping position of the slider in the third sliding bar into a first coordinate and a second coordinate in the X direction, respectively, and determines the target region according to the first coordinate, the second coordinate, and the height of the handwriting interface.

[0123] In this way, the vertical handwriting can be partially cleared from left to right. Taking the third sliding bar as a horizontal sliding bar as an example, the user drags the slider to the right in the horizontal sliding bar, calculates the width in the X-axis direction according to the first coordinate and the second coordinate, and determines the target region as the region determined by the width in the X-axis direction and the height of the handwriting interface, and clears the display content in the target region. This clearing method can clear part of the region on the handwriting interface from left to right, and can clear the display content in the region in the height of the handwriting interface in the Y-axis direction and the distance corresponding to the sliding distance of the user in the X-axis direction. That is, the user can clear part of the handwriting from left to right.

[0124] As shown in FIGS. 6A-6B, the present embodiment also provides a UI interface diagram for clearing part of the handwriting laterally, the user opens the handwriting interface, at this time the default selected item in the handwriting menu of the handwriting interface is the brush 205, the user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, see FIG. 6A, at this time the user selects the erase menu item 203 in the handwriting menu of the handwriting interface, and the third sliding erase control 600 is displayed, and the erase menu item is updated to the slider 203 in the third sliding erase control 600. At this time, in one way, the user can slide the handwriting 201 on the handwriting interface by gestures. In another way, see FIG. 6B, under the condition that the user selects the erase menu item, the erase menu item is updated to the slider 203 in the third sliding erase control 600, at this time the slider 203 is in the selected state, the user drags the slider 203 to the right in the third sliding bar, and the display content corresponding to the distance dragged horizontally on the handwriting interface is cleared, that is, the display content corresponding to the distance dragged is cleared laterally, the smaller the distance dragged by the user, the smaller the left area (i.e. the target area) of the handwriting interface cleared, and the larger the distance dragged by the user, the larger the left area of the handwriting interface cleared. After the user releases the hand, the slider 203 stops at the position where the user releases the hand, and the user can continue to drag the slider 203 at the current position of the slider 203 to clear the display content in the relative lateral position.

[0125] b) converting the starting position and the stopping position of the slider in the third sliding bar into the third coordinate and the fourth coordinate in the Y direction respectively, and determining the target area according to the third coordinate, the fourth coordinate and the width of the handwriting interface.

[0126] In this way, the handwriting laterally can be cleared from top to bottom. Taking the third sliding bar as an example, the user drags the slider downward in the vertical sliding bar, calculates the height in the Y axis direction according to the third coordinate and the fourth coordinate, and determines the target area by the height in the Y axis direction and the width of the handwriting interface, and clears the display content in the target area. This clearing method can clear part of the area on the handwriting interface from top to bottom, at this time the display content in the width of the handwriting interface in the X axis direction and the distance corresponding to the distance dragged by the user in the Y axis direction can be cleared. That is, the user can clear part of the handwriting from top to bottom.

[0127] As shown in FIGS. 7A-7B, the embodiment further provides a UI interface diagram for vertically clearing part of the handwriting. The user opens the handwriting interface, at this time, the default selected pen 205 in the handwriting menu of the handwriting interface, the user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, as shown in FIG. 7A. At this time, the user selects the erasing menu item 203 in the handwriting menu of the handwriting interface, and the third sliding erasing control is displayed. The erasing menu item is updated to the slider 203 in the third sliding erasing control 600. At this time, in one way, the user can slide the handwriting 201 on the handwriting interface by gesture. In another way, as shown in FIG. 7B, the user selects the erasing menu item, and the erasing menu item is updated to the slider 203 in the third sliding erasing control 600. At this time, the slider 203 is in the selected state. The user drags the slider 203 to the right in the third sliding bar, and the display content corresponding to the dragging distance in the vertical direction of the handwriting interface is cleared, that is, the display content corresponding to the dragging distance in the vertical direction is cleared. The smaller the dragging distance of the user, the smaller the upper side area (that is, the target area) of the handwriting interface that is cleared. The larger the dragging distance of the user, the larger the upper side area of the handwriting interface that is cleared. After the user releases the hand, the slider 203 stops at the position where the user releases the hand. The user can continue to drag the slider 203 at the current position of the slider 203 to clear the display content in the relative vertical position.

[0128] Optionally, the third sliding bar can display a clearing icon, such as a text clearing icon in the form of left, right, up, down, etc., or other graphical clearing icon, for prompting the user to clear the direction and position of the handwriting.

[0129] In some embodiments, the processor is specifically configured to determine the starting position in any of the following ways:

[0130] Way 1): determining a preset position as the starting position of the slider corresponding to the third operation;

[0131] In this way, the starting position is fixed, for example, at the leftmost side of the third sliding bar. When the user drags, the part of the handwriting in the range of the corresponding distance in the X direction and the height of the handwriting interface in the Y direction can be cleared from left to right. In this way, the user must clear part of the handwriting from left to right or from top to bottom.

[0132] Way 2): determining the stopping position of the slider corresponding to the last third operation as the starting position of the slider corresponding to the current third operation;

[0133] In this way, when the user has performed the third operation once, the current position of the slider can be used as the starting position of the clearing, and the slider is dragged to move to clear the handwriting in other areas. The user can continuously clear the handwriting on the handwriting interface by continuously dragging the slider.

[0134] Option 3) In response to a user's designated operation in the third sliding bar, the slider is moved to a position corresponding to the designated operation, and the position corresponding to the designated operation is determined as the starting position of the slider.

[0135] In this option, the user can first move the slider to a designated position in the third sliding bar by a designated operation such as long pressing or clicking, and then determine the designated position as the starting position of the slider, i.e., the starting position of the erasing. From the starting position, the handwriting of the horizontal relative distance or the handwriting of the vertical relative distance is erased. The user can select the starting boundary of the handwriting erasing. For example, the user designates the midpoint of the third sliding bar in the third sliding bar, and then determines the midpoint as the starting position of the slider. From the midpoint, the slider is dragged to the left or right. As a result, the handwriting of the upper half of the handwriting interface or the handwriting of the lower half of the handwriting interface can be erased from the middle line of the handwriting interface in the X direction. The handwriting of the left half of the handwriting interface or the handwriting of the right half of the handwriting interface can be erased from the middle line of the handwriting interface in the Y direction. Thus, the handwriting erasing is more flexible.

[0136] As shown in FIGS. 8A-8C, the present embodiment further provides a schematic diagram of a third sliding erasing control for erasing part of the handwriting. The user selects the erasing menu item 203 in the handwriting menu of the handwriting interface, and displays the third sliding erasing control. The erasing menu item is updated to the slider in the third sliding erasing control. At this time, the erasing menu item is in the selected state. Referring to FIG. 8A, the user designates a starting position 800 in the third sliding bar in the selected state of the erasing menu item. Referring to FIG. 8B, the slider is moved to the starting position 800. Referring to FIG. 8C, the user drags the slider 203 to the right in the third sliding bar. From the coordinate in the X direction corresponding to the starting position 800, the display content of the distance corresponding to the dragging distance is horizontally erased. Alternatively, from the coordinate in the Y direction corresponding to the starting position 800, the display content of the distance corresponding to the dragging distance is vertically erased. After the user releases the hand, the slider 203 stops at the position where the user releases the hand. The user can continue to drag the slider 203 at the current position of the slider 203 to erase the display content in the relative horizontal position or the relative vertical position.

[0137] In some embodiments, the present embodiment further provides a method for area erasing, and the specific implementation steps are as follows:

[0138] The sliding erasing control includes a fourth sliding erasing control, the fourth sliding erasing control includes a fourth sliding bar, and the fourth sliding bar is configured with a plurality of sliding directions. The handwriting interface is divided into a plurality of areas, and the sliding directions and the areas are one-to-one corresponding. The processor is specifically configured to perform:

[0139] In response to a fourth operation of dragging the slider to a specified position in the fourth slider bar in any one sliding direction by the user, the display content of the area corresponding to the any one sliding direction is cleared.

[0140] Optionally, based on the correspondence between the sliding direction and the area, the display content of the area corresponding to the different sliding direction is cleared by dragging the erasing menu item in the different sliding direction, the multiple areas divided by the handwriting interface are cleared in a region-by-region manner, and a more flexible clearing scheme is provided.

[0141] Optionally, the multiple areas divided by the handwriting interface can be arranged in an up-down manner or a left-right manner, or there can be intersecting areas, and the specific division of the areas is not limited in the embodiment.

[0142] In some embodiments, the slider is located in the middle of the fourth slider bar, the fourth slider bar includes a first sliding direction and a second sliding direction, the handwriting interface includes a first area and a second area; and the processor is specifically configured to perform:

[0143] In response to a fourth operation of dragging the slider to a specified position in the fourth slider bar in the first sliding direction by the user, the display content of the first area is cleared; and / or,

[0144] In response to a fourth operation of dragging the slider to a specified position in the fourth slider bar in the second sliding direction by the user, the display content of the second area is cleared.

[0145] Optionally, the specified position can be a left side, a right side, an upper side, a lower side, or the like of the fourth slider bar, and the embodiment is not limited thereto.

[0146] Optionally, when the erasing menu item is updated to the slider of the fourth sliding erasing control, the slider is located in the middle of the fourth slider bar, and the user can clear the display content of different areas by dragging the slider leftward or rightward.

[0147] Optionally, the first area and the second area have the same size, and the first area and the second area are arranged in a left-right manner or an up-down manner. The first sliding direction and the second sliding direction are opposite directions, and different sliding directions can be represented by icons. Taking the fourth slider bar as a horizontal sliding bar, for example, a first icon is located at the leftmost side of the fourth slider bar, representing the first sliding direction of moving leftward from the middle position, and a second icon is located at the rightmost side of the fourth slider bar, representing the second sliding direction of moving rightward from the middle position. In the implementation, taking the handwriting interface divided into two areas as an example, the user drags the slider to the first icon in the fourth slider bar to clear the entire content of the first area, and the user drags the slider to the second icon in the fourth slider bar to clear the entire content of the second area.

[0148] As shown in FIGS. 9A-9C, the present embodiment also provides a UI interface diagram for clearing the handwriting in the region, the handwriting interface includes a first region and a second region, and the first region and the second region are arranged side by side. The user opens the handwriting interface, at this time the default selected item in the handwriting menu of the handwriting interface is the brush 205, the user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, see FIG. 9A, at this time the user selects the erasing menu item 203 in the handwriting menu of the handwriting interface, the erasing menu item is updated to the slider of the fourth sliding erasing control 900, and the fourth sliding erasing control 900 is displayed, the fourth sliding erasing control 900 includes a sliding bar, a first icon 901 and a second icon 902. At this time, one way is that the user can slide the handwriting 201 on the handwriting interface by gesture. Another way is that, see FIG. 9B, under the condition that the user selects the erasing menu item, the erasing menu item is updated to the slider 203 in the fourth sliding erasing control 900, at this time the slider 203 is in the selected state and is located in the middle of the fourth sliding bar, the user drags the slider 203 to the first icon 901 in the fourth sliding bar, and the display content of the left region (the first region) of the handwriting interface is cleared. After the user releases the hand, the slider 203 returns to the middle position of the fourth sliding bar, if the user releases the hand before dragging the slider 203 to the first icon, the clearing event is invalid, and the slider 203 returns to the middle position of the fourth sliding bar. See FIG. 9C, the user drags the slider 203 to the second icon 902 in the fourth sliding bar, and the display content of the right region (the second region) of the handwriting interface is cleared. After the user releases the hand, the slider 203 returns to the middle position of the fourth sliding bar.

[0149] As shown in FIGS. 10A-10D, the present embodiment also provides a UI interface diagram for clearing the handwriting in the region, the handwriting interface includes a first region and a second region, and the first region and the second region are arranged in an up-down manner. The user opens the handwriting interface, at this time, the brush is selected by default in the handwriting menu of the handwriting interface, the user performs handwriting operation on the handwriting interface, and the handwriting of the user is displayed, see FIGS. 10A-10B, at this time, the user selects the erasing menu item 203 in the handwriting menu of the handwriting interface, the erasing menu item is updated to the slider in the fourth sliding erasing control 1000, and the fourth sliding erasing control 1000 is displayed, the fourth sliding erasing control 1000 includes a sliding bar, a first icon 1001 and a second icon 1002. At this time, in one way, the user can slide and erase the handwriting 201 on the handwriting interface by gesture. In another way, see FIG. 10C, under the condition that the user selects the erasing menu item, the erasing menu item is updated to the fourth sliding erasing control, at this time, the slider 203 is in the selected state and located in the middle of the fourth sliding bar 1000, the user drags the slider 203 to the first icon 1001 in the fourth sliding bar 1000, and the display content of the upper region (the first region) of the handwriting interface is cleared. After the user releases the hand, the slider 203 returns to the middle position of the fourth sliding bar 1000, if the user releases the hand before dragging the slider 203 to the first icon, the clearing event is invalid, and the slider 203 returns to the middle position of the fourth sliding bar 1000. See FIG. 10D, the user drags the slider 203 to the second icon 1002 in the fourth sliding bar 1000, and the display content of the lower region (the second region) of the handwriting interface is cleared, and after the user releases the hand, the slider 203 returns to the middle position of the fourth sliding bar 1000.

[0150] In the present embodiment, the user releasing the hand refers to the state that the user's finger or the user's stylus / handwriting pen leaves the screen and does not contact the screen.

[0151] In some embodiments, the sliding erasing control includes a fifth sliding erasing control, the fifth sliding erasing control includes a fifth sliding bar and a plurality of sliders, and the plurality of sliders are arranged in an up-down manner or a left-right manner; the handwriting interface is divided into a plurality of regions, and one slider corresponds to one region; and the processor is specifically configured to perform:

[0152] In response to a fifth operation of the user dragging any one slider in the fifth sliding bar, the display content of the region corresponding to the any one slider is cleared.

[0153] In the implementation, the fifth sliding erasing control includes a fifth sliding bar and a plurality of sliders, and the plurality of sliders are arranged in an up-down manner or a left-right manner, when the user drags any one slider to a specified position, the entire display content of the region corresponding to the any one slider can be cleared. Optionally, the specified position includes the middle, edge or any position of the fifth sliding bar, and the present embodiment does not make too many limitations on this.

[0154] Optionally, the display content in the embodiment includes handwriting, graphics, pictures and other types of content.

[0155] In some embodiments, the embodiment also provides a method for controlling multi-region clearing by a multi-slider, and the specific implementation steps are as follows:

[0156] The slider-erasing controls include multiple; the handwriting interface is divided into multiple regions, and the slider-erasing controls and the regions are one-to-one corresponding; the processor is specifically configured to perform:

[0157] In response to the operation of the user dragging the slider in the slider bar of any one of the slider-erasing controls, the display content of the region corresponding to the any one of the slider-erasing controls is cleared.

[0158] In the implementation, multiple slider-erasing controls can be set, one slider-erasing control corresponds to one region, and the user clears the display content of the region corresponding to the slider-erasing control through the dragging operation of the slider in the slider bar of any one of the slider-erasing controls, thereby realizing the partial or complete clearing of the display content of any region in the handwriting interface. When the display content is of a large area, the user can more flexibly select the content to be cleared, thereby improving the flexibility of clearing.

[0159] As shown in FIGS. 11A-11C, the embodiment also provides a UI interface diagram for clearing handwriting in a region, the handwriting interface includes a first region and a second region, and the first region and the second region are arranged in an up-down manner. The user opens the handwriting interface, performs handwriting operation on the handwriting interface, and displays the handwriting 201 of the user, as shown in FIG. 11A. At this time, the user selects the erasing menu item 203 in the handwriting menu of the handwriting interface. As shown in FIG. 11B, the slider-erasing controls 1101 and 1102 are displayed, and the erasing menu item is updated to the slider in the two slider-erasing controls. The slider-erasing control 1101 includes a slider bar, a clearing icon 1101a and a slider 203a; the slider-erasing control 1102 includes a slider bar, a clearing icon 1102a and a slider 203b. As shown in FIG. 11C, the user drags the slider 203a to the right in the slider bar to the clearing icon 1101a, and clears the display content of the upper region (the first region) of the handwriting interface. If the user drags the slider 203b to the right in the slider bar to the clearing icon 1102a, the display content of the lower region (the second region) of the handwriting interface is cleared.

[0160] In some embodiments, the processor is specifically configured to determine the multiple regions in any of the following ways:

[0161] Way a, dividing the handwriting interface into multiple regions arranged in an up-down manner or a left-right manner;

[0162] In this mode, the multiple regions divided by the handwriting interface are fixed, for example, the handwriting interface is divided into two regions arranged left and right or arranged top and bottom.

[0163] Mode b, the handwriting content is divided into multiple content blocks according to the distribution of the handwriting content; the handwriting interface is divided into multiple regions according to the multiple content blocks, and one content block corresponds to one region.

[0164] In this mode, the handwriting interface is divided into regions in real time according to the distribution of the display content, the relatively concentrated handwriting is divided into one region, and the relatively far apart handwriting is divided into different regions, so that the handwriting interface is divided into multiple content blocks, each content block is cleared, and a flexible clearing mode is provided.

[0165] Optionally, in this embodiment, the handwriting content can be divided into multiple content blocks by clustering or coordinate mapping. In implementation, the writing track information can be divided into each cell by using an automatic grid division algorithm, and each cell contains data content. The same type of track information is divided into a content block by using the algorithm.

[0166] In some examples, the automatic grid division algorithm in this embodiment can adopt a self-adaptive category clustering algorithm, such as K-Means (K-means clustering algorithm). The track points with consistent writing order and close coordinate distance are clustered into one category, the same type of track information is divided into the same cell, and thus all writing track information is divided into each cell. In implementation, the clustering number of the K-Means algorithm can be set in advance, that is, the total number of cells obtained by final grid division, and the improved K-Means algorithm for automatically determining the clustering number can be used to automatically determine the final clustering number, that is, the K-Means algorithm can automatically determine the total number of cells obtained by final grid division. The data set of the K-Means algorithm includes N sample points, each sample point includes two features, that is, the writing order of the track point and the coordinate of the track point, and the design idea is to calculate the distance between sample points in each category by using a preset loss function, so that the distance between sample points in each category is small and the error between sample points in different categories is large. The idea of the K-Means algorithm is to first select L mean points, to cluster sample points according to the L mean points, to remove small points in the cluster, to randomly select a mean point from the remaining L1 sample points after removing the sample points, and to find the mean point farthest from the mean point, and to iteratively select K mean points, where L, L1, and K are positive integers, and L>L1.

[0167] The specific process of the K-Means algorithm is as follows:

[0168] Step 1, initialization, select K mean points;

[0169] Step 2, divide the sample points into the class of the nearest mean point to determine the clustering result;

[0170] Wherein, the optimal clustering result is obtained by calculating the minimum value of the loss function.

[0171] Step 3, update the mean point according to the clustering result;

[0172] Step 4, repeat steps 2 and 3 until the mean point no longer changes;

[0173] Step 5, output the clustering result.

[0174] In the implementation, after obtaining the writing order and coordinates of each trajectory point in the writing trajectory information, each trajectory point can be clustered according to an automatic grid division algorithm, and the trajectory points satisfying a preset threshold of similarity are divided into a class, and each cell corresponding to each class of trajectory points is generated.

[0175] In some examples, the writing trajectory information can also be divided into each cell by the following steps:

[0176] Obtaining the writing order and coordinates of each trajectory point in the writing trajectory information; determining the similarity between each trajectory point according to the writing order and coordinates of each trajectory point; and dividing the trajectory points satisfying a preset threshold of similarity into each cell.

[0177] In some embodiments, the distribution of the writing trajectory information in the X-axis direction can also be clustered according to the mapping of the writing trajectory information on the X-axis; similarly, the distribution of the writing trajectory information in the Y-axis direction can be clustered according to the mapping of the writing trajectory information on the Y-axis, thereby dividing multiple content blocks.

[0178] In some embodiments, the present embodiment also provides a clearing scheme corresponding to the content block and the sliding label, and the specific implementation process is as follows:

[0179] a) In response to the user's selection operation on the erase menu item, the handwriting content is divided into multiple content blocks according to the distribution of the handwriting content, and a sliding erase control containing multiple sliders is displayed, wherein one content block corresponds to one slider;

[0180] In the implementation, the multiple sliders can be horizontally distributed or vertically distributed, and the multiple sliders can also be distributed left and right or up and down, and the present embodiment does not make too many limitations on this.

[0181] b) Display the first label of each of the multiple content blocks and the second label of each of the multiple sliders, wherein one first label and one second label are corresponding;

[0182] In the implementation, the first label of each content block can be determined according to the handwriting order of the content block, or the first label of each content block can be determined according to the position of the content block, and the correspondence between the first label and the second label is preset, for example, the first label "handwriting a1" is displayed at the upper right corner position corresponding to the content block a, the first label "handwriting b1" is displayed at the upper right corner position corresponding to the content block b, and the first label "handwriting c1" is displayed at the upper right corner position corresponding to the content block c. The second label corresponding to the first label "handwriting a1" is "slider a1", the second label corresponding to the first label "handwriting b1" is "slider b1", and the second label corresponding to the first label "handwriting c1" is "slider c1".

[0183] Optionally, the correspondence between the first label and the second label is set, wherein the first label and the second label include the same text information or icon information, so that the user can intuitively understand the correspondence between the first label and the second label, and it is convenient to clear different content blocks.

[0184] c) In response to the operation of the user dragging any one slider in the sliding bar of the sliding erasing control, the display content of the content block corresponding to the any one slider is cleared.

[0185] In the implementation, the user can clear all display contents of the area corresponding to the slider by dragging any one slider, including handwriting, graphics, pictures and other contents.

[0186] In some embodiments, the present embodiment also provides a clearing scheme corresponding to the content block and the sliding erasing control, and the specific implementation process is as follows:

[0187] In response to the selection operation of the user on the erasing menu item, the handwriting content is divided into multiple content blocks according to the distribution of the handwriting content, and a sliding erasing control is displayed at the position corresponding to each content block.

[0188] In response to the operation of the user on any one sliding erasing control, the display content of the content block corresponding to the any one sliding erasing control is cleared.

[0189] In the implementation, after the handwriting content is divided into blocks, a sliding erasing control is allocated to each content block, and all contents of the content block corresponding to the sliding erasing control are cleared by dragging the slider in the sliding erasing control. Optionally, a clearing icon can be displayed in the sliding bar of the sliding erasing control, and the position of the clearing icon can be set arbitrarily. When the user drags the slider in the sliding erasing control to the clearing icon and lifts the finger or stylus, all contents of the content block corresponding to the sliding erasing control are cleared.

[0190] As shown in FIGS. 12A-12B, the present embodiment also provides a UI interface diagram for clearing traces in a region. A user opens a handwriting interface, performs handwriting operations on the handwriting interface, and displays traces 201 handwritten by the user. The handwriting interface is divided into a first region 201a, a second region 201b, and a third region 201c according to the distribution of the traces, in which the traces in the same region are more concentrated. Referring to FIG. 12A, the user selects an erasing menu item in the handwriting menu of the handwriting interface, the erasing menu item is updated to a slider in three sliding erasing controls, and sliding erasing controls 1201, 1202, and 1203 are displayed. The sliding erasing control 1201 includes a sliding bar, a slider 203a, and an erasing icon 1201b; the sliding erasing control 1202 includes a sliding bar, a slider 203b, and an erasing icon 1202b; and the sliding erasing control 1203 includes a sliding bar, a slider 203c, and an erasing icon 1203b. Referring to FIG. 12B, the user drags the slider 203a to the erasing icon 1201b in the sliding bar to the right, and the display content of the first region 201a on the handwriting interface is cleared. If the user drags the slider 203b to the erasing icon 1202b in the sliding bar to the right, the display content of the second region 201b on the handwriting interface is cleared; and if the user drags the slider 203c to the erasing icon 1203b in the sliding bar to the right, the display content of the third region 201c on the handwriting interface is cleared.

[0191] In some embodiments, the present embodiment also provides a clearing mode for simultaneously generating a vertical sliding bar and a horizontal sliding bar, for clearing traces in different directions, and improving the flexibility of trace clearing. The specific implementation is as follows:

[0192] The sliding erasing controls include a plurality of sliding erasing controls; the sliding bar of each sliding erasing control is configured with a plurality of erasing icons; the handwriting interface is divided into a plurality of regions according to different arrangement directions; one sliding erasing control corresponds to one arrangement direction, and one erasing icon in the sliding bar of one sliding erasing control corresponds to one region in one arrangement direction; and the processor is specifically configured to perform:

[0193] In response to a fourth operation of the user dragging the slider to any one of the erasing icons in any one of the sliding bars, the region corresponding to the any one of the erasing icons in the arrangement direction corresponding to the any one of the sliding erasing controls is cleared.

[0194] In implementation, a plurality of sliding erasing controls are designed, one sliding erasing control corresponds to one arrangement direction, and the arrangement direction includes but is not limited to left-right arrangement, up-down arrangement, four-division arrangement in a checkered pattern, and various arrangement modes. The user can drag the slider in the sliding bar of one sliding erasing control, and the user can clear the corresponding region according to the corresponding arrangement direction.

[0195] As shown in FIGS. 13A-13C, taking two sliding erase controls as an example, the embodiment provides a clearing UI interface diagram of multiple sliding erase controls. Referring to FIG. 13A, the sliding erase control 13a is horizontally arranged and includes a horizontal sliding bar. The sliding erase control 13a corresponds to the left and right arranged regions a1 and a2. The sliding bar of the sliding erase control 13a includes a slider 203a, a clearing icon a10 and a clearing icon a20. The sliding erase control 13b is vertically arranged and includes a vertical sliding bar. The sliding erase control 13b corresponds to the up and down arranged regions b1 and b2. The sliding bar of the sliding erase control 13b includes a slider 203b, a clearing icon b10 and a clearing icon b20. Referring to FIG. 13B, if a user drags the slider 203a to the clearing icon a10 in the sliding bar of the sliding erase control 13a, the content of the region a1 is cleared. If the user drags the slider 203a to the clearing icon a20 in the sliding bar of the sliding erase control 13a, the content of the region a2 is cleared. Referring to FIG. 13C, if the user drags the slider 203b to the clearing icon b10 in the sliding bar of the sliding erase control 13b, the content of the region b1 is cleared. If the user drags the slider 203b to the clearing icon b20 in the sliding bar of the sliding erase control 13b, the content of the region b2 is cleared.

[0196] In some embodiments, the embodiment also provides a way of clearing handwriting by time. The specific implementation process is as follows:

[0197] The sliding erase control includes a sixth sliding erase control. The sixth sliding erase control includes a sixth sliding bar. The sixth sliding bar includes a time axis. The processor is specifically configured to perform:

[0198] In response to a sixth operation of the user dragging a slider from one time point to another time point in the sixth sliding bar, the display content of the handwriting interface in a specified time period is cleared. The specified time period is determined according to the one time point and the another time point.

[0199] The time axis in the sixth sliding bar is updated in real time according to the current time point.

[0200] In the implementation, the user can clear the handwriting in a specified time by dragging the slider in the sixth sliding bar. For example, the handwriting in the last 30 minutes before the current time point is cleared. Optionally, the sixth sliding bar displays a time axis, such as a time point, a time range, or a clearing icon indicating the time distance. When the user drags the slider from one time point to another time point, the time length between the two time points is calculated, and the handwriting in the corresponding time length is cleared. This provides a way of clearing handwriting by time, and improves the flexibility of handwriting clearing.

[0201] As shown in FIGS. 14A-14B, the present embodiment also provides a UI interface diagram for clearing handwriting by time. The user opens the handwriting interface, at which time the default selected pen 205 is in the handwriting menu of the handwriting interface. The user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, as shown in FIG. 14A. At this time, the user selects the erasing menu item 203 in the handwriting menu of the handwriting interface, the erasing menu item is updated to the slider 203 in the sixth sliding erasing control 1400, and the sixth sliding erasing control 1400 is displayed. The sixth sliding erasing control 1400 includes the slider 203 and a sliding bar, wherein the sliding bar displays a time axis. At this time, in one way, the user can slide to erase the handwriting 201 on the handwriting interface by gesture. In another way, as shown in FIG. 14B, the user drags the slider 203 to the right in the sixth sliding bar to clear the display content of the handwriting interface within a specified period. After the user releases the hand, the slider 203 stops at the position where the user releases the hand, and the user can continue to drag the slider 203 at the current position of the slider 203 to clear the display content within the specified period.

[0202] In some embodiments, the present embodiment can also clear the display content of the corresponding type according to the text type, and the specific implementation process is as follows:

[0203] The sliding erasing control includes a seventh sliding erasing control, and the seventh sliding erasing control includes a seventh sliding bar. The processor is specifically configured to perform:

[0204] In response to a seventh operation of the user dragging the slider to a specified position in the seventh sliding bar, the display content of the text type corresponding to the specified position on the handwriting interface is cleared. The specified position includes a middle position, an edge position such as an upper side, a lower side, a left side, a right side, and any position in the seventh sliding bar.

[0205] Optionally, the text type is displayed at the specified position of the seventh sliding bar. The text type in the present embodiment includes but is not limited to handwriting, pictures, tables, text, etc. Taking the text type including handwriting and pictures as an example, the picture and the handwriting are displayed at both ends of the seventh sliding bar. When the user drags the slider to the picture in the seventh sliding bar, all pictures on the handwriting interface are cleared. When the user drags the slider to the handwriting in the seventh sliding bar, all handwriting on the handwriting interface is cleared.

[0206] As shown in FIGS. 15A-15C, the present embodiment provides a UI interface diagram for clearing handwriting by time. When a user opens a handwriting interface, the handwriting menu of the handwriting interface has a default selected brush. The user performs handwriting operation on the handwriting interface, and the handwriting interface displays the user's handwriting 201 and a picture 200. As shown in FIG. 15A, the user selects an erasing menu item 203 in the handwriting menu of the handwriting interface, the erasing menu item is updated to a slider 203 in a seventh sliding erasing control 1500, and the seventh sliding erasing control 1500 is displayed. At this time, the slider 203 is located in the middle of the seventh sliding bar, and the seventh sliding bar has a clear icon 1500a and a clear icon 1500b on both sides. In one way, the user can slide the handwriting 201 on the handwriting interface by a gesture to erase the handwriting 201. In another way, as shown in FIG. 15B, the user selects the erasing menu item, the erasing menu item is updated to the seventh sliding erasing control, at this time the slider 203 is in a selected state, the user drags the slider 203 to the left in the seventh sliding bar 1500 to the clear icon 1500a, and the picture 200 inserted in the handwriting interface is cleared. After clearing, the slider 203 returns to the middle of the seventh sliding bar 1500. If the user releases the slider 203 before the slider 203 reaches the clear icon 1500a, the clearing event is invalid. As shown in FIG. 15C, the user drags the slider 203 to the right in the seventh sliding bar 1500 to the clear icon 1500b, and the handwriting 201 of the handwriting interface is cleared. After clearing, the slider 203 returns to the middle of the seventh sliding bar 1500. If the user releases the slider 203 before the slider 203 reaches the clear icon 1500b, the clearing event is invalid.

[0207] In some embodiments, the present embodiment also provides a clearing mode in which the size of the clearing area can be manually adjusted, and the specific implementation process is as follows:

[0208] The sliding erasing control includes an eighth sliding erasing control, and the eighth sliding erasing control includes an eighth sliding bar. The processor is configured to perform:

[0209] In response to a selection operation of the user on the display content, the processor determines a selected area corresponding to the display content selected by the user, and displays the eighth sliding erasing control at a position corresponding to the selected area.

[0210] In response to an eighth operation of the user dragging the slider in the eighth sliding bar, the processor adjusts the size of the selected area, and clears the display content in the adjusted selected area, or clears the display content outside the adjusted selected area.

[0211] In one case, the display content in the selected area is cleared.

[0212] In implementation, the user first selects the display content in the handwriting interface, for example, the user can select the corresponding display content by long-pressing the display content in the handwriting interface, and then drags the slider in the eighth sliding bar to adjust the size of the selected region, thereby clearing the display content in the selected region. For example, the user displays "Hello" in the handwriting interface, and the user selects "you" after that. At this time, the selected region contains "you". By dragging the slider in the eighth sliding bar, the selected region is expanded to contain "Hello", and then the user lifts the finger, thereby clearing "Hello" in the selected region.

[0213] As shown in FIGS. 16A-16C, the present embodiment provides a UI interface diagram of a selectable clearing region. The user opens the handwriting interface, at this time, the default selected pen 205 is selected in the handwriting menu of the handwriting interface, the user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, as shown in FIG. 16A, the user long-presses the display content, selects the display content, and displays the selected region 1601. At this time, the eighth sliding erasing control 1600 is displayed at the position 1602 corresponding to the selected region 1601, at this time, the erasing menu item is updated to the slider 203 and is in the selected state. As shown in FIG. 16B, under the condition that the user selects the eighth sliding bar, the user drags the slider 203 to the right in the eighth sliding bar to adjust the size of the selected region 1601. In the adjustment process, the selected box displays the corresponding size of the region in real time. When the user releases the hand, as shown in FIG. 16C, the display content in the current selected region is cleared, and the selected state of the display content is cancelled.

[0214] Another case is to clear the display content outside the selected region.

[0215] In implementation, the user first selects the display content in the handwriting interface, for example, the user can select the corresponding display content by long-pressing the display content in the handwriting interface, and then drags the slider in the eighth sliding bar to adjust the size of the selected region, thereby clearing the display content in the selected region.

[0216] As shown in FIGS. 17A-17C, the present embodiment provides a UI interface diagram of optional erasing area, the user opens the handwriting interface, at this time the default selected brush 205 in the handwriting menu of the handwriting interface, the user performs handwriting operation on the handwriting interface, and the handwriting 201 of the user is displayed, see FIG. 17A, the user long-presses the display content 1700, selects the display content 1700 and displays the selected area 1701; at this time, the eighth sliding erasing control 1600 is displayed at the position 1702 corresponding to the selected area 1701, and the erasing menu item is in the selected state. In one case, the user drags the slider 203 to the right in the eighth sliding bar under the condition that the erasing menu item is selected, so as to adjust the size of the selected area 1701, and the selected box displays the area of the corresponding size in real time during the adjustment process. When the user releases the hand, the display content outside the currently selected area is cleared, and the selected state of the display content is cancelled. In another case, see FIG. 17B, the user can also drag the slider 203 to the right in the eighth sliding bar to the rightmost side. When the user releases the hand, see FIG. 17C, the display content outside the selected area is cleared, and the selected state of the display content is cancelled.

[0217] In some embodiments, the specific way of adjusting the size of the selected area is as follows:

[0218] The center of the selected area is taken as the center, and the dragging distance corresponding to the eighth operation is taken as the radius, so as to display the change process of the outward expansion or inward convergence of the selected area.

[0219] The erasing method provided by the present embodiment solves various erasing requirements of handwriting in the handwriting software such as electronic whiteboard and electronic blackboard, realizes different erasing functions through different sliding erasing controls, controls the size of the erasing control such as “eraser” through the dragging slider, selects the specific area or position of the handwriting for erasing through the dragging slider after the erasing menu item is selected, selects the time of the handwriting for erasing through the dragging slider after the erasing menu item is selected, can also select the content radius for erasing through the dragging slider after the handwriting is selected, and can also select the content radius outside the content for erasing through the dragging slider after the handwriting is selected. The problems that the size of the gesture erasing eraser cannot be adjusted, the user erases laboriously, the user needs to click the screen menu multiple times for screen cleaning, and part of the handwriting cannot be quickly erased are solved.

[0220] Based on the same inventive concept, the present embodiment also provides another display device. Since the display device is the display device in the method in the present embodiment, and the principle of solving problems of the display device is similar to that of the method, the implementation of the display device can be referred to the implementation of the method, and the repeated parts will not be described herein.

[0221] As shown in FIG. 18, the display device includes a display unit 1800 and a control circuit 1801, wherein:

[0222] The display unit 1800 is configured to display content;

[0223] The control circuit 1801 includes a processor and a memory, the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and perform the following steps:

[0224] The handwriting menu includes an erase menu item;

[0225] In response to the user's selection and drag operation on the erase menu item, at least part of the handwriting content of the handwriting interface is cleared.

[0226] Based on the same inventive concept, the embodiments of the present disclosure also provide a display content clearing method, as shown in FIG. 19, the specific implementation process of the method is as follows:

[0227] Step 1900, displaying a handwriting menu on a handwriting interface, the handwriting menu including an erase menu item;

[0228] Step 1901, in response to the user's selection operation on the erase menu item, displaying a sliding erase control;

[0229] Step 1902, in response to the user's operation on the sliding erase control, clearing at least part of the handwriting content of the handwriting interface.

[0230] As an optional implementation, the sliding erase control includes a sliding bar and a slider; the appearance feature of the slider is determined based on the erase menu item.

[0231] As an optional implementation, the method includes:

[0232] In response to the user's long press operation on the erase menu item, a sliding erase control is displayed, and a slider of the sliding erase control is displayed at a position of the erase menu item;

[0233] In response to the user's operation of directly dragging the slider while maintaining the long press operation, at least part of the handwriting content of the handwriting interface is cleared.

[0234] As an optional implementation, the sliding erase control includes a first sliding erase control, and the first sliding erase control includes a first sliding bar; the response to the user's operation on the sliding erase control to clear at least part of the handwriting content of the handwriting interface includes:

[0235] In response to the user's first operation of dragging the slider to a target position in the first sliding bar, all display content of the handwriting interface is cleared.

[0236] As an optional implementation, the sliding erase control includes a second sliding erase control, and the second sliding erase control includes a second sliding bar; and the clearing at least part of the handwritten content of the handwriting interface in response to the operation of the user on the sliding erase control includes:

[0237] determining the size of the clear control in response to the second operation of the user dragging the slider in the second sliding bar;

[0238] clearing the display content according to the size of the clear control in response to the sliding operation of the user on the display content.

[0239] As an optional implementation, the sliding erase control includes a third sliding erase control, and the third sliding erase control includes a third sliding bar; and the clearing at least part of the handwritten content of the handwriting interface in response to the operation of the user on the sliding erase control includes:

[0240] determining a target area according to the start position and the stop position of the slider corresponding to the third operation in the third sliding bar in response to the third operation of the user dragging the slider in the third sliding bar, and clearing the display content of the target area.

[0241] As an optional implementation, the determining a target area according to the start position and the stop position of the slider corresponding to the third operation in the third sliding bar includes:

[0242] determining a clear ratio according to the ratio between the dragging distance of the third operation and the length of the third sliding bar;

[0243] determining the target area according to the clear ratio and the size of the handwriting interface.

[0244] As an optional implementation, the start position is determined by any of the following ways:

[0245] determining a preset position as the start position of the slider corresponding to the third operation; or,

[0246] determining the stop position of the slider corresponding to the last third operation as the start position of the slider corresponding to the current third operation; or,

[0247] moving the slider to the position corresponding to the specified operation in the third sliding bar in response to the specified operation of the user, and determining the position corresponding to the specified operation as the start position of the slider.

[0248] As an optional implementation, the sliding erasing control comprises a fourth sliding erasing control, the fourth sliding erasing control comprises a fourth sliding bar, the fourth sliding bar is configured with a plurality of sliding directions; the handwriting interface is divided into a plurality of areas, the sliding directions and the areas are one-to-one corresponding; the clearing at least part of the handwriting content of the handwriting interface in response to the operation of the user on the sliding erasing control comprises:

[0249] In response to a fourth operation of the user dragging the slider to a specified position in the fourth sliding bar in any one sliding direction, the display content of the area corresponding to the any one sliding direction is cleared.

[0250] As an optional implementation, the slider is located in the middle of the fourth sliding bar, the fourth sliding bar comprises a first sliding direction and a second sliding direction, and the handwriting interface comprises a first area and a second area; the clearing of the display content of the area corresponding to the any one sliding direction comprises:

[0251] In response to a fourth operation of the user dragging the slider to a specified position in the fourth sliding bar in the first sliding direction, the display content of the first area is cleared; and / or,

[0252] In response to a fourth operation of the user dragging the slider to a specified position in the fourth sliding bar in the second sliding direction, the display content of the second area is cleared.

[0253] As an optional implementation, the sliding erasing control comprises a fifth sliding erasing control, the fifth sliding erasing control comprises a fifth sliding bar and a plurality of sliders, and the plurality of sliders are distributed up and down or left and right; the handwriting interface is divided into a plurality of areas, and one slider corresponds to one area; the clearing at least part of the handwriting content of the handwriting interface in response to the operation of the user on the sliding erasing control comprises:

[0254] In response to a fifth operation of the user dragging any one slider in the fifth sliding bar, the display content of the area corresponding to the any one slider is cleared.

[0255] As an optional implementation, the sliding erasing control comprises a plurality of; the handwriting interface is divided into a plurality of areas, and the sliding erasing control and the areas are one-to-one corresponding; the clearing at least part of the handwriting content of the handwriting interface in response to the operation of the user on the sliding erasing control comprises:

[0256] In response to an operation of the user dragging the slider in the sliding bar of any one sliding erasing control, the display content of the area corresponding to the any one sliding erasing control is cleared.

[0257] As an optional implementation, the plurality of areas are determined by the following way:

[0258] According to the distribution of the handwritten content, the handwritten content is divided into a plurality of content blocks;

[0259] According to the plurality of content blocks, the handwritten interface is divided into a plurality of regions, and one content block corresponds to one region.

[0260] As an optional implementation, the method comprises:

[0261] In response to the user's selection operation on the erase menu item, the handwritten content is divided into a plurality of content blocks according to the distribution of the handwritten content, and a sliding erase control comprising a plurality of sliders is displayed, wherein one content block corresponds to one slider;

[0262] The first label of each of the plurality of content blocks and the second label of each of the plurality of sliders are displayed, and one first label and one second label are corresponding;

[0263] In response to the user's operation of dragging any one slider in the sliding bar of the sliding erase control, the display content of the content block corresponding to the any one slider is cleared.

[0264] As an optional implementation, in response to the user's operation on the sliding erase control, the at least part of the handwritten content of the handwritten interface is cleared, which comprises:

[0265] In response to the user's selection operation on the erase menu item, the handwritten content is divided into a plurality of content blocks according to the distribution of the handwritten content, and a sliding erase control is displayed at the position corresponding to each content block;

[0266] In response to the user's operation on any one sliding erase control, the display content of the content block corresponding to the any one sliding erase control is cleared.

[0267] As an optional implementation, the sliding erase control comprises a sixth sliding erase control, the sixth sliding erase control comprises a sixth sliding bar, and the sixth sliding bar comprises a time axis; in response to the user's operation on the sliding erase control, the at least part of the handwritten content of the handwritten interface is cleared, which comprises:

[0268] In response to the user's sixth operation of dragging the slider from one time to another time in the sixth sliding bar, the display content of the handwritten interface in the specified period is cleared;

[0269] The specified period is determined according to the one time and the another time.

[0270] As an optional implementation, the sliding erase control comprises a seventh sliding erase control, and the seventh sliding erase control comprises a seventh sliding bar; in response to the user's operation on the sliding erase control, the at least part of the handwritten content of the handwritten interface is cleared, which comprises:

[0271] In response to a seventh operation of dragging the slider to a specified position in the seventh slider bar by the user, display content of a text type corresponding to the specified position on the handwriting interface is cleared.

[0272] As an optional implementation, the sliding erasing control includes an eighth sliding erasing control, and the eighth sliding erasing control includes an eighth slider bar. The clearing of the at least part of the handwriting content on the handwriting interface in response to the operation of the sliding erasing control includes:

[0273] In response to a selection operation of the display content by the user, a selected region corresponding to the selected display content is determined, and the eighth sliding erasing control is displayed at a position corresponding to the selected region.

[0274] In response to an eighth operation of dragging the slider in the eighth slider bar by the user, the size of the selected region is adjusted, and display content in the adjusted selected region is cleared, or display content outside the adjusted selected region is cleared.

[0275] As an optional implementation, the method includes:

[0276] A change process of expanding the selected region outward or converging the selected region inward is displayed, with the center of the selected region as a center and a dragging distance corresponding to the eighth operation as a radius.

[0277] Based on the same inventive concept, the embodiment of the disclosure also provides another display content clearing method, as shown in FIG. 20, and a specific implementation process of the method is as follows:

[0278] Step 2000, displaying a handwriting menu on a handwriting interface, and the handwriting menu includes an erasing menu item.

[0279] Step 2001, in response to a selection and dragging operation of the erasing menu item by the user, clearing at least part of handwriting content on the handwriting interface.

[0280] Based on the same inventive concept, the embodiment of the disclosure also provides a display content clearing device. Since the device is the device in the method in the embodiment of the disclosure, and the principle of solving the problem of the device is similar to that of the method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.

[0281] As shown in FIG. 21, the device includes:

[0282] A display unit 2100 is configured to display a handwriting menu on a handwriting interface, and the handwriting menu includes an erasing menu item.

[0283] An updating unit 2101 is configured to display a sliding erasing control in response to a selection operation of the erasing menu item by the user.

[0284] The clearing unit 2102 is configured to clear at least part of the handwritten content of the handwriting interface in response to the user operation on the sliding erasing control.

[0285] Based on the same inventive concept, the embodiments of the present disclosure provide a non-transitory computer storage medium, which includes computer program codes, and when the computer program codes are run on a computer, the computer is caused to perform the display content clearing method according to any one of the preceding embodiments. Since the principle of the computer storage medium to solve the problem is similar to the display content clearing method, the implementation of the computer storage medium can be referred to the implementation of the method, and the repeated parts will not be described herein.

[0286] In the implementation process, the computer storage medium can include a universal serial bus flash drive (USB), a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage media that can store program codes.

[0287] Based on the same inventive concept, the embodiments of the present disclosure also provide a computer program product, which includes computer program codes, and when the computer program codes are run on a computer, the computer is caused to perform the display content clearing method according to any one of the preceding embodiments. Since the principle of the computer program product to solve the problem is similar to the display content clearing method, the implementation of the computer program product can be referred to the implementation of the method, and the repeated parts will not be described herein.

[0288] The computer program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0289] Those skilled in the art will appreciate that embodiments of the disclosure can be devised for a variety of other systems which are currently developed or later developed. Those skilled in the art will appreciate that the disclosure can provide for a method, a system, or a computer program product. Accordingly, the disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the disclosure can take the form of a computer program product on one or more computer readable storage media (including disks and CD-ROMs) embodying computer program code thereon for use by or in connection with an instruction execution system. Program code embodied on a computer readable storage medium can be transmitted by optical, electronic, or mechanical signals, including phone or cellular phone lines, wireless data transmission, electrical wiring or cables, radio frequency signals, or other.

[0290] The present disclosure is described in reference to the flowchart and / or block diagrams of the method, apparatus (system) and computer program product according to embodiments of the present disclosure. It should be understood that each flow and / or block in the flowchart and / or block diagrams, and a combination of flows and / or blocks in the flowchart and / or block diagrams 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 apparatus to produce a machine, so that the instructions, which are executed via the processor of the computer or other programmable data processing apparatus, generate an apparatus that implements the functions specified in the flowchart one or more flows and / or block diagram one or more blocks.

[0291] These computer program instructions can also be stored in a computer readable storage medium that can direct a computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer readable storage medium produce an article of manufacture including an instruction apparatus, which implements the functions specified in the flowchart one or more flows and / or block diagram one or more blocks.

[0292] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operational steps are performed on the computer or other programmable data processing apparatus to generate a computer implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide steps for implementing the functions specified in the flowchart one or more flows and / or block diagram one or more blocks.

[0293] It will be apparent to those skilled in the art that various modifications and variations can be made to the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present disclosure cover the modifications and variations of this disclosure provided they come within the scope of the appended claims and their equivalents.

Claims

1. A display device, wherein, The display device comprises a display unit and a control circuit, wherein: The display unit is configured to display handwritten content; The control circuit comprises a processor and a memory, the memory is used to store programs executable by the processor, and the processor is used to read the programs in the memory and perform the following steps: Display a handwriting menu on the handwriting interface, the handwriting menu comprising an erase menu item; In response to a selection operation of the erase menu item by a user, display a sliding erase control; In response to an operation of the sliding erase control by the user, clear at least part of the handwritten content of the handwriting interface.

2. The display device of claim 1, wherein: The sliding erase control comprises a sliding bar and a slider; and appearance characteristics of the slider are determined based on the erase menu item.

3. The display device of claim 2, wherein, The processor is specifically configured to perform: In response to a long press operation of the erase menu item by the user, display a sliding erase control, a slider of the sliding erase control being displayed at a position of the erase menu item; In response to an operation of directly dragging the slider by the user while the long press operation is maintained, clear at least part of the handwritten content of the handwriting interface.

4. The display device of claim 1, wherein, The sliding erase control comprises a first sliding erase control, the first sliding erase control comprising a first sliding bar; and the processor is specifically configured to perform: In response to a first operation of dragging a slider to a target position in the first sliding bar by the user, clear all display content of the handwriting interface.

5. The display device of claim 1, wherein, The sliding erase control comprises a second sliding erase control, the second sliding erase control comprising a second sliding bar; and the processor is specifically configured to perform: In response to a second operation of dragging a slider in the second sliding bar by the user, determine a size of a clear control; In response to a sliding operation on the display content by the user, clear the display content according to the size of the clear control.

6. The display device of claim 1, wherein, The sliding erase control comprises a third sliding erase control, the third sliding erase control comprising a third sliding bar; and the processor is specifically configured to perform: In response to a third operation of dragging a slider in the third sliding bar by the user, determine a target area according to a start position and a stop position of the slider in the third sliding bar corresponding to the third operation, and clear display content of the target area.

7. The display device of claim 6, wherein, The processor is specifically configured to perform: Determine a clear ratio according to a ratio between a dragging distance of the third operation and a length of the third sliding bar; Determine the target area according to the clear ratio and a size of the handwriting interface.

8. The display device of claim 6, wherein, The processor is specifically configured to determine the start position in any one of the following ways: Determine a preset position as the start position of the slider corresponding to the third operation; or, Determine a stop position of the slider corresponding to a previous third operation as the start position of the slider corresponding to the current third operation; or, In response to a specified operation in the third sliding bar by the user, move the slider to a position corresponding to the specified operation, and determine the position corresponding to the specified operation as the start position of the slider.

9. The display device of claim 1, wherein, The sliding erasing control includes a fourth sliding erasing control, the fourth sliding erasing control includes a fourth sliding bar, the fourth sliding bar is configured with a plurality of sliding directions; the handwriting interface is divided into a plurality of areas, the sliding directions and the areas are one-to-one corresponding; the processor is specifically configured to execute: In response to a fourth operation of the user dragging a slider to a specified position in the fourth sliding bar in any one sliding direction, the display content of the area corresponding to the any one sliding direction is cleared.

10. The display device of claim 9, wherein, The slider is located in the middle of the fourth sliding bar, the fourth sliding bar includes a first sliding direction and a second sliding direction, the handwriting interface includes a first area and a second area; the processor is specifically configured to execute: In response to a fourth operation of the user dragging a slider to a specified position in the fourth sliding bar in the first sliding direction, the display content of the first area is cleared; and / or, In response to a fourth operation of the user dragging a slider to a specified position in the fourth sliding bar in the second sliding direction, the display content of the second area is cleared. The sliding erasing control includes a fifth sliding erasing control, the fifth sliding erasing control includes a fifth sliding bar and a plurality of sliders, the plurality of sliders are distributed up and down or left and right; the handwriting interface is divided into a plurality of areas, one slider corresponds to one area; the processor is specifically configured to execute:

11. The display device of claim 1, wherein, In response to a fifth operation of the user dragging any one slider in the fifth sliding bar, the display content of the area corresponding to the any one slider is cleared. The sliding erasing control includes a plurality of; the handwriting interface is divided into a plurality of areas, the sliding erasing control and the area are one-to-one corresponding; the processor is specifically configured to execute:

12. The display device of claim 1, wherein, In response to an operation of the user dragging a slider in the sliding bar of any one sliding erasing control, the display content of the area corresponding to the any one sliding erasing control is cleared. The processor is specifically configured to determine a plurality of areas by:

13. The display device according to any one of claims 9 to 12, wherein According to the distribution of the handwriting content, the handwriting content is divided into a plurality of content blocks; According to the plurality of content blocks, the handwriting interface is divided into a plurality of areas, one content block corresponds to one area. The processor is specifically configured to execute:

14. The display device of claim 1, wherein, In response to the user's selection operation on the erasing menu item, the handwriting content is divided into a plurality of content blocks according to the distribution of the handwriting content, and a sliding erasing control including a plurality of sliders is displayed, one content block corresponds to one slider; A first label of each of the plurality of content blocks and a second label of each of the plurality of sliders are displayed, one first label and one second label are corresponding; In response to the user's operation of dragging any one slider in the sliding bar of the sliding erasing control, the display content of the content block corresponding to the any one slider is cleared. The processor is specifically configured to execute:

15. The display device of claim 1, wherein, In response to the user's selection operation on the erasing menu item, the handwriting content is divided into a plurality of content blocks according to the distribution of the handwriting content, and a sliding erasing control including a plurality of sliders is displayed, one content block corresponds to one slider; In response to the user's operation on any one sliding erasing control, the display content of the content block corresponding to the any one sliding erasing control is cleared. ​ 16. The display device of claim 1, wherein, The sliding erasing control includes a sixth sliding erasing control, the sixth sliding erasing control includes a sixth sliding bar, the sixth sliding bar includes a time axis; the processor is specifically configured to perform the following steps: in response to a sixth operation of the user dragging a slider in the sixth sliding bar from one time point to another time point, clearing the display content of the handwriting interface within a specified period; wherein the specified period is determined according to the one time point and the another time point.

17. The display device of claim 1, wherein, The sliding erasing control includes a seventh sliding erasing control, the seventh sliding erasing control includes a seventh sliding bar; the processor is specifically configured to perform the following steps: in response to a seventh operation of the user dragging a slider to a specified position in the seventh sliding bar, clearing the display content of the text type corresponding to the specified position on the handwriting interface.

18. The display device of claim 1, wherein, The sliding erasing control includes an eighth sliding erasing control, the eighth sliding erasing control includes an eighth sliding bar; the processor is specifically configured to perform the following steps: in response to a selection operation of the user on the display content, determining a selected region corresponding to the display content selected by the user, and displaying the eighth sliding erasing control at a position corresponding to the selected region; in response to an eighth operation of the user dragging a slider in the eighth sliding bar, adjusting the size of the selected region, and clearing the display content within the adjusted selected region, or clearing the display content outside the adjusted selected region.

19. The display device of claim 18, wherein, The processor is specifically configured to perform the following steps: displaying a change process of the selected region expanding outward or converging inward with the center of the selected region as the center and the dragging distance corresponding to the eighth operation as the radius.

20. A display device, wherein, The display device includes a display unit and a control circuit, wherein: the display unit is configured to display content; the control circuit includes a processor and a memory, the memory is used to store programs executable by the processor, and the processor is used to read the programs in the memory and perform the following steps: displaying a handwriting menu on the handwriting interface, the handwriting menu including an erasing menu item; in response to the user's selection and dragging operation on the erasing menu item, clearing at least part of the handwriting content of the handwriting interface.

21. A display content clearing method, wherein, The method includes: displaying a handwriting menu on the handwriting interface, the handwriting menu including an erasing menu item; in response to the user's selection operation on the erasing menu item, displaying a sliding erasing control; in response to the user's operation on the sliding erasing control, clearing at least part of the handwriting content of the handwriting interface.

22. A non-transitory computer storage medium having stored thereon a computer program, wherein, The program is executed by the processor to implement the steps of the method of claim 21.

Citation Information

Patent Citations

  • Note-taking generation method, electronic device, and computer storage medium

    CN109085965A

  • Electronic interaction tablet, menu display method and writing tool attribute control method

    CN111625158A

  • Human-computer interaction method, device and system and computer readable storage medium

    CN115136112A

  • Display device and display method thereof

    CN118119918A

  • Image processing method and device, electronic equipment and storage medium

    CN118196802A