CN115878010B - Operation interaction method, device, electronic equipment and computer readable storage medium - Google Patents

Operation interaction method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN115878010B
CN115878010B CN202310181973.9A CN202310181973A CN115878010B CN 115878010 B CN115878010 B CN 115878010B CN 202310181973 A CN202310181973 A CN 202310181973A CN 115878010 B CN115878010 B CN 115878010B
Authority
CN
China
Prior art keywords
user
application program
pie chart
area
user interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310181973.9A
Other languages
Chinese (zh)
Other versions
CN115878010A (en
Inventor
唐子麓
罗涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest University of Science and Technology
Original Assignee
Southwest University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest University of Science and Technology filed Critical Southwest University of Science and Technology
Priority to CN202310181973.9A priority Critical patent/CN115878010B/en
Publication of CN115878010A publication Critical patent/CN115878010A/en
Application granted granted Critical
Publication of CN115878010B publication Critical patent/CN115878010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an operation interaction method, an operation interaction device, electronic equipment and a computer readable storage medium, wherein the operation interaction method comprises the following steps: in response to an instruction from a user of the electronic device, executing an application on the electronic device, the application when executed: displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program; generating a bar graph for indicating the operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second history operation set executed after the first history operation set meets a second condition, line segments corresponding to the first history operation set and the second history operation set respectively in the generated bar graph are not positioned on the same straight line; and displaying a corresponding accumulated operation result at one position according to a third operation of the user on one position of the bar graph.

Description

Operation interaction method, device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal devices, and in particular, to an operation interaction method, an operation interaction device, an electronic device, and a computer readable storage medium.
Background
In recent years, a large number of tablet drawing software have appeared on the market. Due to the portability of tablet computers, and the simplicity and low learning cost of tablet painting software, tablet painting software attracts a large number of painting lovers. For drawing users, they often have different, divergent ideas and want to view past records of operations. However, no relevant functions are provided in these drawing software.
Disclosure of Invention
The application provides an operation interaction method, an operation interaction device, electronic equipment and a computer readable storage medium, which can improve the use experience of a user, and the method comprises the following steps: in response to an instruction from a user of an electronic device, executing an application on the electronic device, the application when executed:
displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program;
generating a bar graph for indicating an operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second history operation set executed after the first history operation set meets a second condition, line segments corresponding to the first history operation set and the second history operation set in the generated bar graph are not positioned on the same straight line;
And displaying a corresponding accumulated operation result at one position according to the third operation of the user on one position of the bar graph.
Optionally, the application program is a drawing application program, the operation result is drawing content of the user, and the bar graph is used for recording a drawing operation process corresponding to the drawing content.
Optionally, the first condition includes the first set of operations being withdrawn;
the strip drawing is in a tree structure, and line segments corresponding to the first operation set and the second operation set respectively are positioned on different branches connected to the same node in the strip drawing in the tree structure.
Optionally, the first condition further includes: the number of operations in the first set of operations is not less than a first threshold, the first threshold being a value greater than 2.
Optionally, the second condition includes that the number of operations in the second operation set is not less than a second threshold, and the second threshold is a value greater than 2.
Optionally, the second condition includes that the drawing tool corresponding to the operation in the second operation set is different from the drawing tool corresponding to the operation in the first operation set.
Optionally, the first condition further includes: the first operation in the first set of operations employs an eraser tool and the erasure area reaches a third threshold.
Optionally, the method further comprises:
and displaying a pie chart on a user interface of the electronic equipment according to a fourth operation of the user in the application program, wherein the area of the pie chart is used for indicating the progress of withdrawal and recovery of the operation on the current branch by the user.
Adjusting the area of the pie chart according to a fifth operation of the user in the application program;
and adjusting the accumulated operation result corresponding to the current branch displayed on the user interface in real time according to the adjustment of the area of the pie chart.
Optionally, the method further comprises:
displaying an indication of at least one adjacent branch to the current branch in an adjacent area of the pie chart in the user interface when the user's withdrawal of an operation on the current branch causes the number of unremoved operations on the current branch to be less than a fourth threshold;
selecting a target adjacent branch of the at least one adjacent branch according to a sixth operation of the user in the application program;
switching the accumulated operation result corresponding to the current branch displayed on the user interface to the accumulated operation result corresponding to the target adjacent branch;
The pie chart is switched to a progress bar for indicating withdrawal and resumption of operations by the user on the target adjacent branch.
Optionally, the user changes the area of the pie chart by an arc movement operation on the user interface, thereby withdrawing or resuming operation on the current branch,
wherein, when the arc movement operation speed of the user changes, the area change speed of the pie chart changes accordingly.
Optionally, the adjusting the area of the pie chart is performed according to a preset number of fingers of the user moving on the user interface;
the method further comprises the steps of:
and switching and displaying accumulated operation results corresponding to the area adjustment of the pie chart according to the change of the number of contact fingers of the user on the user interface.
Optionally, the adjusting the area of the pie chart according to the fifth operation of the user in the application program includes:
in the application program, adjusting the area of the pie chart according to the moving distance of the double finger of the user on the user interface so as to cancel or restore the operation of the user on the current branch;
And when the change of the distance between the two fingers of the user meets a preset condition, calling out the bar graph on the user interface.
Optionally, the method further comprises:
and when the distance between the two fingers of the user increases to reach a preset threshold value, or when the distance between the two fingers increases to reach the preset threshold value and keeps pressing for a certain period of time and then is lifted, determining that the change of the distance between the two fingers of the user meets a preset condition.
Optionally, the method further comprises:
when the distance between the two fingers of the user is increased and does not reach the preset threshold, or when the distance between the two fingers is increased and reaches the preset threshold and then is reduced to be smaller than the preset threshold, or when the distance between the two fingers is increased and does not lift up after reaching the preset threshold, or when the distance between the two fingers is increased and does not keep pressing for a certain period of time and then lifts up after reaching the preset threshold, calling out the entry chart is canceled.
Optionally, displaying the accumulated operation result corresponding to the selected position according to the selection operation of the user on the entry chart, and further including:
And displaying the bar graph on a user interface of the electronic equipment according to a seventh operation of the user in the application program.
The operation interaction device comprises:
an execution module for executing an application program in response to an instruction from a user;
the display module is used for executing the following steps when executing the application program:
displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program;
generating a bar graph for indicating an operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second history operation set executed after the first history operation set meets a second condition, line segments corresponding to the first history operation set and the second history operation set in the generated bar graph are not positioned on the same straight line;
and displaying a corresponding accumulated operation result at one position according to the third operation of the user on one position of the bar graph.
The electronic device comprises a processor and a memory, wherein executable codes are stored on the memory, and when the executable codes are processed by the processor, the processor can be caused to execute the method of any one of the above.
The computer readable storage medium stores executable code which, when executed by a processor of an electronic device, causes the terminal device to perform the method of any of the above.
In the embodiment of the application, through setting the entry chart, the history operation process of the user can be better recorded; in addition, by setting the line segments corresponding to the first operation set and the second operation set in the bar drawing are not located on the same straight line, the user can clearly check turning points in the history operation process when checking the bar drawing degree.
Drawings
FIG. 1 is a schematic diagram of one embodiment of an operational interaction method of the present application;
FIG. 2a is a schematic diagram of one embodiment of a user interface in the operational interaction method of the present application;
FIG. 2b is a schematic diagram of another embodiment of a user interface in the operational interaction method of the present application;
FIG. 3 is a schematic illustration of a pie chart in an embodiment of the present application;
FIG. 4 is a schematic diagram of one embodiment of an operational interaction method of the present application;
FIG. 5 is a schematic diagram of one embodiment of an operation interaction device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
FIG. 1 is a schematic diagram of one embodiment of an operational interaction method of the present application. The operational interaction method may be performed by an operational interaction apparatus, which may be implemented by software and/or hardware, and may be integrated within an electronic device. The electronic device may be a mobile device such as a mobile phone or a tablet computer, or may be other devices such as a desktop computer. As shown in fig. 1, the operation interaction method includes: executing an application on the electronic device in response to an instruction from a user of the electronic device, wherein upon execution of the application, the following steps are performed:
Step 101, displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program.
In this embodiment of the present application, the specific type of the application program is not limited, and may be, for example, a drawing application program, where the operation of the user in the application program is a drawing operation performed by using a function option provided in the application program, and the accumulated operation result is accumulated drawing content after the drawing operation is performed. Alternatively, the application program may be another application program that can cumulatively generate a corresponding operation result according to a step-by-step operation of the user, where the cumulatively operated result is displayed in real time through a user interface of the electronic device and changes accordingly according to the operation of the user.
And 102, generating a bar graph for indicating the operation process of the user according to the operation of the user in the application program.
The operation sequentially performed by the user on the time axis is converted into different pixel points, and the pixel points sequentially formed according to time are accumulated according to the time relationship to form a feed chart so as to more vividly show the historical operation process of the user.
When a first operation set executed by the user in the application program meets a first condition and a second operation set executed after the first operation set meets a second condition, line segments corresponding to the first operation set and the second historical operation set in the generated bar graph are not located on the same straight line. Wherein the first set of operations comprises a continuous plurality of operations and the second set of operations comprises a continuous plurality of operations. The first condition and the second condition may be preset, or may be customized by a user. Therefore, the line segments corresponding to the first operation set and the second operation set in the bar drawing are not positioned on the same straight line, so that a user can clearly check turning points in the history operation process when checking the bar drawing degree. Wherein the first condition and the second condition may be the same or different. For example, the first condition includes that a first operation in the first set of operations is an operation performed with one tool in a particular set of tools in the application, and the second condition includes that a first operation in the second set of operations is an operation performed with one tool in a particular set of tools in the application. Optionally, the particular set of tools comprises an eraser tool.
And step 103, displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position.
Alternatively, the bar graph may be displayed on the user interface all the time during the operation of the user, or may be hidden all the time, and the bar graph is displayed on the user interface through a third operation of the user in the application program. For example, as shown in fig. 2a, fig. 2a is a schematic diagram of one embodiment of a user interface in the operation interaction method of the present application. A canvas 21 is displayed in a central area of the user interface 20, and a bar graph is not displayed. In the operation process, the history key can be called by long-pressing the withdrawal key, and under the condition that the finger is not lifted, the finger is lifted after being moved to the key, so that the entry chart can be called. As shown in fig. 2b, fig. 2b is a schematic diagram of another embodiment of a user interface in the operation interaction method of the present application. After calling out the entry sheet, the user interface 20 includes a canvas 21 and an entry sheet 22. Alternatively, as shown in FIG. 2b, the entry sheet 22 may be displayed on the user interface side-by-side with the canvas 21, and the position of the entry sheet 22 may be to the left, to the right, above or below the canvas 21. The footprint of the entry map 22 may be smaller or larger than the footprint of the canvas 21. Alternatively, the entry sheet may also float above the canvas, further alternatively, the entry sheet may be translucent or non-transparent.
And after the bar graph is displayed on the user interface, displaying a corresponding operation result at one position of the bar graph according to a third operation of a user on the position. For example, in the example where the application is a drawing application, the corresponding operation result at the location is an accumulated drawing result from the first pixel point in the entry chart to the location.
In one example, the third operation may be a click operation performed by the user on one of the positions of the entry chart, where the click operation may be performed by clicking a mouse, or may be performed by clicking a touch screen on the electronic device with a finger of the user. In one example, the third operation may simply be moving a mouse or finger to the position of the entry sheet without clicking. Therefore, the user can clearly see the change of the accumulated operation results at different moments in the whole operation process only by moving the mouse or the finger along the line segment on the entry chart.
Alternatively, when the accumulated operation result corresponding to the position corresponding to the third operation is displayed, the accumulated operation result corresponding to the position corresponding to the third operation may be switched to be displayed on the central area for displaying the accumulated operation result corresponding to the operation procedure, or the accumulated operation result corresponding to the position corresponding to the third operation may be displayed at the same time in an area other than the central area, which is not limited herein.
In the embodiment of the application, through setting the entry chart, the history operation process of the user can be better recorded; in addition, by setting the line segments corresponding to the first operation set and the second operation set in the bar drawing are not located on the same straight line, the user can clearly check turning points in the history operation process when checking the bar drawing degree.
Existing applications are often provided with a withdrawal function whereby a history of successive operations can be withdrawn through successive withdrawal operations. However, if the user re-operates after withdrawing a part of the operations once used in the history operation, the withdrawn part of the operations still cannot be recovered in the case of using the continuous multiple withdrawing function after re-operating. However, for users, they often have different, divergent ideas, and existing applications cannot better keep the user's history, and such linear revocation/redo can also result in loss of part of the operation from retrieval.
Optionally, different pixels converted by the operations sequentially executed by the user are accumulated according to the relationship among the operations to form a bar graph besides the time relationship, so that the history operation process of the user is displayed more vividly. Optionally, the first condition includes the first set of operations being withdrawn; the strip drawing is in a tree structure, and line segments corresponding to the first operation set and the second operation set respectively are positioned on different branches connected to the same node in the strip drawing in the tree structure. Therefore, the scroll drawing of the dressing structure can better save the operation history of the user, and can clearly show the relation between a plurality of operations before and after the withdrawal operation.
In some application scenarios, a user may have multiple retirement operations during an operation within an application, and some retirement operations may be followed by only one operation being retired for a new operation. If all the withdrawal operations generate corresponding branches in the strip chart, a very large number of thorns are generated in the strip chart generated in the scene of frequent situations with a small number of new operations after the withdrawal operations. Alternatively, this type of thorns in the entry sheet may be reduced by limiting the first condition and/or the second condition, improving the user experience.
In one example, the first condition further includes: the number of operations in the first set of operations is not less than a first threshold, the first threshold being a value greater than 2.
In one example, the second condition includes the number of operations in the second set of operations being not less than a second threshold, the second threshold being a value greater than 2. The first threshold value and the second threshold value may be the same or different, and the two threshold values may be values of 3, 4, 5 and 6, respectively. Optionally, the first threshold and the second threshold may be default settings, or set by a user, so that the generated entry chart more conforms to the operation habit of the user.
In one example, the second condition includes that the drawing tool corresponding to the operation in the second set of operations is different from the drawing tool corresponding to the operation in the first set of operations. For example, the thickness, color, transparency, or other attribute of the brush employed in the operation in the second set of operations is different from the thickness, color, transparency, or other attribute of the brush employed in the first set of operations. For example, the second set of operations employs a filter but the first set of operations does not employ a filter.
In one example, the first condition further includes: the first operation in the first set of operations employs an eraser tool and the erasure area reaches a third threshold.
Alternatively, the above-described respective examples of the first condition and the second condition may be adopted, or two or more of them may be used in combination. When used in combination, the respective examples of the first condition may be a relationship with or without; examples of the second condition may be a relationship with or without the second condition; and are not limited herein. Optionally, the first condition and the second condition are set by default or set by a user, so that the generated entry chart is more suitable for the operation habit of the user. Optionally, the user is prompted by a preset manner each time a new branch is generated by the entry sheet. The preset mode may be a mode of prompting through vibration or sound, or a mode of popup window in a user interface, which is not limited herein.
In some application scenarios, the user needs to withdraw a large number of operations, and the user can implement quick withdrawal by pressing the withdraw button for a long time. However, in this scenario the user has no control over the speed of withdrawal, resulting in a very difficult control over the number of withdrawal steps, often perhaps more or less. Optionally, in an embodiment of the present application, a pie chart is displayed on a user interface of the electronic device according to a fourth operation of the user in the application program, where the pie chart is used to indicate a progress bar of the user for withdrawing and recovering the operation on the current branch. Alternatively, the fourth operation may be a user performing a withdraw operation within the application. For example, the fourth operation is that the user clicks a withdraw function button within the application. For example, the user interface of the electronic device is a touch screen, and in some applications, the withdrawal operation is triggered by a shortcut gesture with two fingers, and when the two fingers of the user are detected to contact the touch screen, a pie chart is displayed on the touch screen of the electronic device. As shown in fig. 3, fig. 3 is a schematic diagram of a pie chart in an embodiment of the present application. Alternatively, when the pie chart is called out, the total area 31 of the pie chart is circular, corresponding to all operations on the current branch.
And adjusting the area of the pie chart according to a fifth operation of the user in the application program. Optionally, the user may change the area of the pie chart by single-finger or double-finger or by an arc movement operation of a mouse on the touch screen, so as to withdraw or recover the operation on the current branch. For example, when the user moves counterclockwise on the touch screen by a single finger or a double finger or by a mouse, the area of the pie chart is gradually reduced to withdraw the operation on the current branch; when the clockwise rotational movement, the pie chart area gradually resumes increasing to resume the withdrawn operation on the current branch. This can provide the user with a controlled withdrawal operation. Optionally, in the process of adjusting the area of the pie chart by the user, the accumulated operation results corresponding to the corresponding steps on the current branch are displayed on the user interface.
Optionally, in the case of using a double-finger operation to change the area of the pie chart to withdraw or recover the operation on the current branch, when the distance between the double fingers increases to reach a preset threshold, or when the distance between the double fingers increases to reach a preset threshold and remains pressed for a certain period of time, the entry chart may be summoned. Optionally, in the case of using a double-finger operation to change the area of the pie chart to withdraw or recover the operation on the current branch, when the distance between the double fingers increases to not reach the preset threshold, or when the distance between the double fingers increases to reach the preset threshold and then decreases to be smaller than the preset threshold, or when the distance between the double fingers increases to reach the preset threshold and then does not lift, or when the distance between the double fingers increases to reach the preset threshold and then does not remain pressed for a certain period of time and then lifts, the scroll chart is called out.
Optionally, when the user's withdrawal of an operation on the current branch causes the number of unremoved operations on the current branch to be less than a fourth threshold, displaying an indication of at least one adjacent branch to the current branch in an adjacent area of the pie chart in the user interface. Selecting a target adjacent branch of the at least one adjacent branch according to a sixth operation of the user in the application program; the pie chart is switched from a progress bar for indicating the current branch to a progress bar for indicating the withdrawal and resumption of operations by the user on the target adjacent branch.
For example, as shown in fig. 3, an arc 32 and an arc 33 are shown above the pie chart, respectively, as an indication of two adjacent branches to the current branch. The sixth operation may be that the user moves up on the touch screen by a single finger or a double finger or by a mouse to select the adjacent branch corresponding to the arc segment 32 as the target adjacent branch or to select the adjacent branch corresponding to the arc segment 33 as the target adjacent branch.
The pie chart is switched to a progress bar for indicating withdrawal and resumption of operations by the user on the target adjacent branch. The total area of the pie chart is switched to correspond to all operations on the target adjacent branch. The pie chart area continues to decrease or increase as the user continues to withdraw or resume operation on the target adjacent branch.
And switching the accumulated operation result corresponding to the current branch displayed on the user interface to the accumulated operation result corresponding to the target adjacent branch. The user interface also displays corresponding cumulative operation results after the operation on the target adjacent branch is withdrawn or resumed, respectively, while the user continues to withdraw or resume the operation on the target adjacent branch.
Optionally, in the adjusting of the area of the pie chart, not only the degree of decrease or increase of the area of the pie chart is controlled by the distance of the arc movement on the user interface, but also the speed of change of the area of the pie chart is controlled by the speed of the arc movement operation. For example, when the user's arc movement operation speed becomes fast, the area change speed of the pie chart becomes fast; when the user's arc movement operation speed becomes slow, the area change speed of the pie chart becomes slow. In one example, as the user's arc movement operation speed becomes faster, the area of the pie chart decreases in speed. In practical application, when the arc movement operation speed of the user becomes high, the operation steps to be withdrawn are very much and are rapidly withdrawn, the area of the pie chart can be rapidly changed to meet the operation intention of the user, and the operation process of the user can be more intuitively and conveniently displayed.
In some application scenarios, the user needs to switch back and forth on the user interface to display different versions of the accumulated operation results formed before and after the withdrawal operation for comparison. Optionally, in this embodiment of the present application, the adjusting the area of the pie chart is implemented by moving a preset number of fingers of the user on the user interface; the method further comprises the steps of: and switching and displaying accumulated operation results corresponding to the area adjustment of the pie chart according to the change of the number of contact fingers of the user on the user interface.
For example, the undo operation is implemented by an arc movement operation of the user's double finger on the user interface, with the pie chart area gradually decreasing as the operation on the current branch is undone. As shown in fig. 4, fig. 4 is a schematic diagram of one embodiment of the operational interaction method of the present application. In the undoing process, the number of the undone operations is adjusted by the moving operation of the double finger of the user on the user interface, and the accumulated operation result 42 after the operation on the current branch is undone according to the undoing operation is displayed on the interactive interface 41 shown in (1) of fig. 4. As shown in fig. 4 (2), when the user lifts one finger or adds one finger (fig. 4 (2) exemplifies lifting one finger), the user interface 43 can quickly switch to display the corresponding accumulated operation result before the area of the pie chart is reduced, that is, the accumulated operation result 44 before the operation on the current branch is withdrawn according to the withdrawal operation. When the user puts back one finger or lifts one finger, the user interface can quickly switch to the corresponding accumulated operation result after the area of the displayed pie chart is reduced, that is, the accumulated operation result 42 after the operation on the current branch is withdrawn according to the withdrawal operation, which is displayed by the user interface 41 of the (1) chart in fig. 4. Therefore, the user can conveniently and quickly compare accumulated operation results corresponding to the operation before and after the withdrawal of the plurality of operations on the current branch.
Fig. 5 is a schematic diagram of an embodiment of an operation interaction device according to an embodiment of the present application. The operation interaction device 500 includes:
an execution module 501 for executing an application program in response to an instruction from a user;
the display module 502 is configured to execute the following steps when executing the application program:
displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program;
generating a bar graph for indicating an operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second history operation set executed after the first history operation set meets a second condition, line segments corresponding to the first history operation set and the second history operation set in the generated bar graph are not positioned on the same straight line;
and displaying a corresponding accumulated operation result at one position according to the third operation of the user on one position of the bar graph.
Optionally, the application program is a drawing application program, the operation result is drawing content of the user, and the bar graph is used for recording a drawing operation process corresponding to the drawing content.
Optionally, the first condition includes the first set of operations being withdrawn;
the strip drawing is in a tree structure, and line segments corresponding to the first operation set and the second operation set respectively are positioned on different branches connected to the same node in the strip drawing in the tree structure.
Optionally, the first condition further includes: the number of operations in the first set of operations is not less than a first threshold, the first threshold being a value greater than 2.
Optionally, the second condition includes that the number of operations in the second operation set is not less than a second threshold, and the second threshold is a value greater than 2.
Optionally, the second condition includes that the drawing tool corresponding to the operation in the second operation set is different from the drawing tool corresponding to the operation in the first operation set.
Optionally, the first condition further includes: the first operation in the first set of operations employs an eraser tool and the erasure area reaches a third threshold.
Optionally, the display module 502 is further configured to display, on a user interface of the electronic device, a pie chart according to a fifth operation of the user in the application program, an area of the pie chart being used to indicate a progress of withdrawal and recovery of the operation on the current branch by the user.
Adjusting the area of the pie chart;
and adjusting the accumulated operation result corresponding to the current branch displayed on the user interface in real time according to the adjustment of the area of the pie chart.
Optionally, the display module 502 is further configured to display, in the user interface, an indication of at least one adjacent branch to the current branch in an adjacent area of the pie chart when the user's withdrawal of an operation on the current branch causes the number of unremoved operations on the current branch to be less than a fourth threshold;
selecting a target adjacent branch of the at least one adjacent branch according to a sixth operation of the user in the application program;
switching the accumulated operation result corresponding to the current branch displayed on the user interface to the accumulated operation result corresponding to the target adjacent branch;
the pie chart is switched to a progress bar for indicating withdrawal and resumption of operations by the user on the target adjacent branch.
Optionally, the user changes the area of the pie chart by an arc movement operation on the user interface, thereby withdrawing or resuming operation on the current branch,
Wherein, when the arc movement operation speed of the user changes, the area change speed of the pie chart changes accordingly.
Optionally, the adjusting the area of the pie chart is performed according to a preset number of fingers of the user moving on the user interface;
the display module 502 is further configured to switch and display the accumulated operation result corresponding to the area adjustment of the pie chart according to the change of the number of contact fingers of the user on the user interface.
Optionally, the adjusting the area of the pie chart according to the fifth operation of the user in the application program includes:
in the application program, adjusting the area of the pie chart according to the moving distance of the double finger of the user on the user interface so as to cancel or restore the operation of the user on the current branch;
and when the change of the distance between the two fingers of the user meets a preset condition, calling out the bar graph on the user interface.
Optionally, the method further comprises:
and when the distance between the two fingers of the user increases to reach a preset threshold value, or when the distance between the two fingers increases to reach the preset threshold value and keeps pressing for a certain period of time and then is lifted, determining that the change of the distance between the two fingers of the user meets a preset condition.
Optionally, the method further comprises:
when the distance between the two fingers of the user is increased and does not reach the preset threshold, or when the distance between the two fingers is increased and reaches the preset threshold and then is reduced to be smaller than the preset threshold, or when the distance between the two fingers is increased and does not lift up after reaching the preset threshold, or when the distance between the two fingers is increased and does not keep pressing for a certain period of time and then lifts up after reaching the preset threshold, calling out the entry chart is canceled.
Optionally, the display module 502 is further configured to display, before the cumulative operation result corresponding to the selected position is displayed according to the selection operation of the user on the scroll bar graph, the scroll bar graph on a user interface of the electronic device according to a seventh operation of the user in the application program.
Alternatively, the present application may also be embodied as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) having stored thereon executable code (or a computer program or computer instruction code) which, when executed by a processor of an electronic device (or a server, etc.), causes the processor to perform part or all of the steps of the above-described methods according to the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 600 includes a processor 601 and a memory 602. The memory 602 is used to store a computer program. The processor 601 is arranged to perform the above-described operational interaction method when said computer program is invoked. Further, the terminal device may also include a bus, a microphone, a speaker, a display, and a camera. The processor 601, the memory 602, the microphone, the speaker, the display, and the camera communicate via a bus, or may communicate via other means such as wireless transmission.
It is to be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmablegate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable PROM (EPROM), electrically erasable programmable EPROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.
The embodiments of the present application have been described above, the foregoing description is exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (16)

1. A method of operational interaction, comprising:
in response to an instruction from a user of an electronic device, executing an application on the electronic device, the application when executed:
displaying an accumulated operation result corresponding to the operation process on a user interface of the electronic equipment in real time according to the operation process of a user in the application program;
Generating a bar graph for indicating an operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second operation set executed after the first operation set meets a second condition, line segments corresponding to the first operation set and the second operation set in the generated bar graph are not positioned on the same straight line; wherein the first condition includes the first set of operations being withdrawn; the strip drawing is in a tree structure, and line segments corresponding to the first operation set and the second operation set respectively are positioned on different branches connected to the same node in the strip drawing in the tree structure;
displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position of the bar graph;
displaying a pie chart on a user interface of the electronic equipment according to a fourth operation of the user in the application program, wherein the area of the pie chart is used for indicating the progress of withdrawal and recovery of the operation on the current branch by the user;
adjusting the area of the pie chart according to a fifth operation of the user in the application program;
And adjusting the accumulated operation result corresponding to the current branch displayed on the user interface in real time according to the adjustment of the area of the pie chart.
2. The method of claim 1, wherein the first condition further comprises: the number of operations in the first set of operations is not less than a first threshold, the first threshold being a value greater than 2.
3. The method of claim 1, wherein the second condition comprises a number of operations in the second set of operations not less than a second threshold, the second threshold being a value greater than 2.
4. The method of claim 1, wherein the second condition comprises a drawing tool corresponding to an operation in the second set of operations being different from a drawing tool corresponding to an operation in the first set of operations.
5. The method of claim 1, wherein the first condition further comprises: the first operation in the first set of operations employs an eraser tool and the erasure area reaches a third threshold.
6. The method according to claim 1, wherein the method further comprises:
displaying an indication of at least one adjacent branch to the current branch in an adjacent area of the pie chart in the user interface when the user's withdrawal of an operation on the current branch causes the number of unremoved operations on the current branch to be less than a fourth threshold;
Selecting a target adjacent branch of the at least one adjacent branch according to a sixth operation of the user in the application program;
switching the accumulated operation result corresponding to the current branch displayed on the user interface to the accumulated operation result corresponding to the target adjacent branch;
the pie chart is switched to a progress bar for indicating withdrawal and resumption of operations by the user on the target adjacent branch.
7. The method of claim 1 wherein the user changes the area of the pie chart by an arc movement operation on the user interface to withdraw or resume the operation on the current branch,
wherein, when the arc movement operation speed of the user changes, the area change speed of the pie chart changes accordingly.
8. The method of claim 1, wherein the adjusting of the area of the pie chart is performed based on movement of a preset number of fingers of the user across the user interface;
the method further comprises the steps of:
and switching and displaying accumulated operation results corresponding to the area adjustment of the pie chart according to the change of the number of contact fingers of the user on the user interface.
9. The method of claim 1, wherein said adjusting the area of the pie chart according to a fifth operation of the user within the application program comprises:
in the application program, adjusting the area of the pie chart according to the moving distance of the double finger of the user on the user interface so as to cancel or restore the operation of the user on the current branch;
and when the change of the distance between the two fingers of the user meets a preset condition, calling out the bar graph on the user interface.
10. The method according to claim 9, wherein the method further comprises:
and when the distance between the two fingers of the user increases to reach a preset threshold value, or when the distance between the two fingers increases to reach the preset threshold value and keeps pressing for a certain period of time and then is lifted, determining that the change of the distance between the two fingers of the user meets a preset condition.
11. The method according to claim 10, wherein the method further comprises:
When the distance between the two fingers of the user is increased and does not reach the preset threshold, or when the distance between the two fingers is increased and reaches the preset threshold and then is reduced to be smaller than the preset threshold, or when the distance between the two fingers is increased and does not lift up after reaching the preset threshold, or when the distance between the two fingers is increased and does not keep pressing for a certain period of time and then lifts up after reaching the preset threshold, calling out the entry chart is canceled.
12. The method according to claim 1, wherein displaying the corresponding accumulated operation result at the selected position according to the selection operation of the user on the entry sheet, further comprises:
and displaying the bar graph on a user interface of the electronic equipment according to a seventh operation of the user in the application program.
13. The method according to claim 1, wherein the application program is a drawing application program, the operation result is drawing content of the user, and the bar graph is used for recording a drawing operation process corresponding to the drawing content.
14. An operation interaction device, comprising:
an execution module for executing an application program in response to an instruction from a user;
The display module is used for executing the following steps when executing the application program:
displaying an accumulated operation result corresponding to the operation process on a user interface in real time according to the operation process of a user in the application program;
generating a bar graph for indicating an operation process of the user according to the operation of the user in the application program, wherein when a first operation set executed by the user in the application program meets a first condition and a second operation set executed after the first operation set meets a second condition, line segments corresponding to the first operation set and the second operation set in the generated bar graph are not positioned on the same straight line; wherein the first condition includes the first set of operations being withdrawn; the strip drawing is in a tree structure, and line segments corresponding to the first operation set and the second operation set respectively are positioned on different branches connected to the same node in the strip drawing in the tree structure;
displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position of the bar graph;
displaying a pie chart on a user interface of the electronic equipment according to a fourth operation of the user in the application program, wherein the area of the pie chart is used for indicating the progress of withdrawal and recovery of the operation on the current branch by the user;
Adjusting the area of the pie chart according to a fifth operation of the user in the application program;
and adjusting the accumulated operation result corresponding to the current branch displayed on the user interface in real time according to the adjustment of the area of the pie chart.
15. An electronic device comprising a processor and a memory having executable code stored thereon which, when processed by the processor, causes the processor to perform the method of any of claims 1 to 13.
16. A computer readable storage medium, characterized in that executable code is stored, which when executed by a processor of an electronic device, causes the electronic device to perform the method of any of claims 1 to 13.
CN202310181973.9A 2023-03-01 2023-03-01 Operation interaction method, device, electronic equipment and computer readable storage medium Active CN115878010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310181973.9A CN115878010B (en) 2023-03-01 2023-03-01 Operation interaction method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310181973.9A CN115878010B (en) 2023-03-01 2023-03-01 Operation interaction method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115878010A CN115878010A (en) 2023-03-31
CN115878010B true CN115878010B (en) 2023-06-23

Family

ID=85761734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310181973.9A Active CN115878010B (en) 2023-03-01 2023-03-01 Operation interaction method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115878010B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117318A (en) * 2015-08-18 2015-12-02 北京恒华伟业科技股份有限公司 Method and device for monitoring equipment production progress
CN112286614A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 User interface display method and device, electronic equipment and storage medium
WO2022077827A1 (en) * 2020-10-14 2022-04-21 网易(杭州)网络有限公司 Graph drawing method and apparatus, storage medium, and terminal device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1836584A4 (en) * 2004-11-16 2009-05-06 Zalag Corp Display/layout methods and apparatuses including content items and display containers
US20110239163A1 (en) * 2009-12-04 2011-09-29 Daisuke Mochizuki Display screen control method, graphical user interface, information processing apparatus, information processing method, and program
CN103034439A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Method and device for generating drawing file
US20150317071A1 (en) * 2014-05-05 2015-11-05 Peter N. Moore Method and Computer-Readable Medium for Cueing the Display of Active Content to an Audience
CN105224184A (en) * 2014-07-01 2016-01-06 中兴通讯股份有限公司 The method of menu dynamic adjustment and device
CN108197904A (en) * 2018-02-05 2018-06-22 网易(杭州)网络有限公司 Monitoring method, the device and system of project task
CN109710165A (en) * 2018-12-25 2019-05-03 维沃移动通信有限公司 A kind of drawing processing method and mobile terminal
CN112783398A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Display control and interaction control method, device, system and storage medium
CN115086757B (en) * 2021-03-12 2023-12-19 北京字跳网络技术有限公司 Method, device, equipment and storage medium for withdrawing history editing operation
CN113377364B (en) * 2021-04-29 2022-10-11 上海工程技术大学 Tree structure organization editing operation withdrawing method based on node historical values
CN113378008B (en) * 2021-04-29 2022-10-11 上海工程技术大学 Operation withdrawing method supporting tree model
CN113741753A (en) * 2021-09-13 2021-12-03 京东方科技集团股份有限公司 Revocation method, electronic device, storage medium, and computer program product
CN113867605B (en) * 2021-09-28 2022-05-27 湖南创星科技股份有限公司 Canvas operation rollback method and device, computer equipment and storage medium
CN115374504A (en) * 2022-07-20 2022-11-22 深圳市华阳国际工程设计股份有限公司 BIM-based primitive singleitem withdrawal method, terminal equipment and storage medium
CN115689485A (en) * 2022-11-01 2023-02-03 中钢设备有限公司 Engineering project progress management method, device and equipment and readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117318A (en) * 2015-08-18 2015-12-02 北京恒华伟业科技股份有限公司 Method and device for monitoring equipment production progress
WO2022077827A1 (en) * 2020-10-14 2022-04-21 网易(杭州)网络有限公司 Graph drawing method and apparatus, storage medium, and terminal device
CN112286614A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 User interface display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115878010A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US10095389B2 (en) Gesture-based on-chart data filtering
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN105824559B (en) False touch recognition and processing method and electronic equipment
US8140971B2 (en) Dynamic and intelligent hover assistance
US9891818B2 (en) Adaptive touch-sensitive displays and methods
US8237665B2 (en) Interpreting ambiguous inputs on a touch-screen
CN108064368A (en) The control method and device of flexible display device
US10108330B2 (en) Automatic highlighting of formula parameters for limited display devices
US20140157201A1 (en) Touch screen hover input handling
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
CN107193438B (en) Method for managing desktop icons and mobile terminal
JP6828150B2 (en) Screen display method and terminal
CN102129313A (en) Information processing apparatus, input operation determination method, and input operation determination program
US20120221969A1 (en) Scrollable list navigation using persistent headings
WO2013101371A1 (en) Apparatus and method for automatically controlling display screen density
CN108491152B (en) Touch screen terminal control method, terminal and medium based on virtual cursor
CN113065317B (en) Editing content recovery method and device, electronic equipment, medium and product
CN115878010B (en) Operation interaction method, device, electronic equipment and computer readable storage medium
CN113010059B (en) Application icon management method and device and electronic equipment
CN112578961B (en) Application identifier display method and device
CN104407763A (en) Content input method and system
CN113535027A (en) Icon control method and device, electronic equipment and readable storage medium
US20150253944A1 (en) Method and apparatus for data processing
CN109739590B (en) Desktop wallpaper replacing method, device and equipment
CN112764622A (en) Icon moving method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant