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

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

Info

Publication number
CN115878010A
CN115878010A CN202310181973.9A CN202310181973A CN115878010A CN 115878010 A CN115878010 A CN 115878010A CN 202310181973 A CN202310181973 A CN 202310181973A CN 115878010 A CN115878010 A CN 115878010A
Authority
CN
China
Prior art keywords
user
application program
fingers
operations
pie chart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310181973.9A
Other languages
Chinese (zh)
Other versions
CN115878010B (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

Abstract

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

Description

Operation interaction method and device, electronic equipment and computer-readable storage medium
Technical Field
The present application relates to the field of terminal devices, and in particular, to an operation interaction method and apparatus, an electronic device, and a computer-readable storage medium.
Background
In recent years, a large number of flatbed drawing software has appeared on the market. Due to the portability of tablet computers, and the simplicity and low learning cost of tablet drawing software, tablet drawing software attracts a large number of drawing enthusiasts. Users who are drawing often have different, divergent thoughts and also want to view past operational records. However, no relevant functionality is 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, upon execution of the application:
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 historical operation set executed after the first historical operation set meets a second condition, line segments respectively corresponding to the first historical operation set and the second historical operation set in the generated bar graph are not located 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.
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 comprises the first set of operations being revoked;
the entry chart is of a tree structure, and line segments corresponding to the first operation set and the second operation set are located on different branches connected to the same node in the tree entry chart.
Optionally, the first condition further comprises: the number of operations in the first operation set is not less than a first threshold, and the first threshold is a numerical 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 numerical 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 comprises: the first operation in the first set of operations employs an eraser tool, and the erasing area reaches a third threshold.
Optionally, the method further comprises:
according to a fourth operation of the user in the application program, displaying a pie chart on a user interface of the electronic equipment, 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:
when the withdrawal of operations on the current branch by the user causes the number of unretracted 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;
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;
switching the pie chart to a progress bar for indicating a pull back and a recovery of the user's operation 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 restoring the operation on the current branch,
wherein when the speed of the arc movement operation of the user is changed, the speed of the area change of the pie chart is changed accordingly.
Optionally, the adjusting of 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 following steps:
and switching and displaying the corresponding accumulated operation results before and after the area adjustment of the pie chart according to the change of the number of the contact fingers of the user on the user interface.
Optionally, the adjusting the area of the pie chart according to a 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 two fingers of the user on the user interface so as to cancel or recover 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 the bar entering graph on the user interface.
Optionally, the method further comprises:
when the distance between the two fingers of the user is increased to reach a preset threshold value, or when the distance between the two fingers is raised after the distance between the two fingers is increased to reach the preset threshold value, or when the distance between the two fingers is increased to reach the preset threshold value and keeps being pressed for a certain time length and then is raised, the change of the distance between the two fingers of the user is determined to meet a preset condition.
Optionally, the method further comprises:
and when the distance between the two fingers of the user is increased and does not reach a preset threshold value, or when the distance between the two fingers is reduced to be smaller than the preset threshold value after being increased and reached the preset threshold value, or when the distance between the two fingers is not lifted after being increased and reached the preset threshold value, or when the distance between the two fingers is lifted after being not kept pressed for a certain time after being increased and reached the preset threshold value, the calling-out of the entry bar graph is cancelled.
Optionally, the displaying, according to a selection operation of the user on the bar graph, a corresponding result of the cumulative operation at the selected position further includes:
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 in response to an instruction from a user;
the display module is used for executing the following steps when the application program is 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 historical operation set executed after the first historical operation set meets a second condition, line segments respectively corresponding to the first historical operation set and the second historical operation set in the generated bar graph are not located 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.
The electronic device comprising a processor and a memory, the memory having stored thereon executable code which, when processed by the processor, causes the processor to perform the method of any one of the preceding claims.
The computer readable storage medium has stored executable code which, when executed by a processor of an electronic device, causes the terminal device to perform any of the methods described above.
In the embodiment of the application, through the arrangement of the bar graph, the historical operation process of a user can be better recorded; in addition, by setting that the line segments respectively corresponding to the first operation set and the second operation set in the entry graph are not on the same straight line, a user can clearly view turning points in the historical operation process when viewing the entry 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 illustrating 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 view 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 illustrating an embodiment of an apparatus for operating interaction according to 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 illustrated in the accompanying 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 herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the 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 and 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 to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
FIG. 1 is a schematic diagram of one embodiment of an operational interaction method of the present application. The operation interaction method can be executed by an operation interaction device, the operation interaction device can be realized by software and/or hardware, and the half can be integrated in the electronic equipment. The electronic device may be a mobile device such as a mobile phone and a tablet computer, or may be another device such as a desktop computer. As shown in fig. 1, the operation interaction method includes: executing an application on an electronic device in response to an instruction from a user of the electronic device, wherein, when executing 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 device in real time according to the operation process of the user in the application program.
In the 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 an operation performed by a user in the application program is a drawing operation performed by using a function option provided in the application program, and an accumulation operation result is accumulated drawing content after the drawing operation is performed. Optionally, the application program may also be another application program that can cumulatively generate a corresponding operation result according to the step-by-step operation of the user, and the cumulative operation result is presented in real time through a user interface of the electronic device and changes correspondingly with the operation of the user.
And 102, generating a step chart for indicating the operation process of the user according to the operation of the user in the application program.
The operations sequentially executed by the user on the time axis are converted into different pixel points, and the plurality of pixel points sequentially formed according to time are accumulated according to the time relationship to form a bar graph 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 respectively 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. The first operation set comprises a plurality of continuous operations, and the second operation set comprises a plurality of continuous operations. The first condition and the second condition may be preset or may be customized by a user. Therefore, the line segments respectively corresponding to the first operation set and the second operation set in the entry graph are not located on the same straight line, so that a user can clearly view turning points in the historical operation process when viewing the entry degree. The first condition and the second condition may be the same or different. For example, the first condition includes a first operation in the first operation set being an operation with one tool in a particular tool set in the application, and the second condition includes a first operation in the second operation set being an operation with one tool in the particular tool set in the application. Optionally, the specific tool set comprises an eraser tool.
And 103, displaying a corresponding accumulation operation result at one position of the bar graph according to the third operation of the user on the position.
Optionally, the entry bar graph may be always displayed on the user interface during the operation of the user, or may be always hidden, and the entry 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 an embodiment of a user interface in the operation interaction method of the present application. In the central area of the user interface 20 a canvas 21 is displayed, not shown with a drawing entry. During operation, a 'history' key can be called by pressing a withdrawing key for a long time, and a bar graph can be called by moving a finger to the key and then lifting the finger under the condition that the finger is not lifted. 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 the entry bar graph is summoned, a canvas 21 and an entry bar graph 22 are included on the user interface 20. Alternatively, as shown in FIG. 2b, the bar graph 22 may be displayed on the user interface in parallel with the canvas 21, and the position of the bar graph 22 may be to the left, right, above, or below the canvas 21. The specific area of the entry chart 22 may be smaller or larger than the specific area of the canvas 21. Optionally, the progress bar graph can also float above the canvas, and further optionally, the progress bar graph can be in a semi-transparent shape or a non-transparent shape.
And after the bar drawing is displayed on a user interface, displaying a corresponding operation result at one position of the bar drawing according to a third operation of the user on the position. For example, in an example where the application is a drawing application, the corresponding operation result at the location is a cumulative drawing result ending at the location starting from a first pixel point in the draw bar.
In one example, the third operation may be a click operation of a user on one of the positions of the bar graph, and the click operation may be a click of a mouse or a click of a touch screen on the electronic device by a finger of the user. In one example, the third operation may simply move a mouse or finger to the location of the bar graph without clicking. In this way, the user can clearly see the change of the accumulated operation result at different moments in the whole operation process only by moving the mouse or the finger along the line segment on the bar graph.
Alternatively, when the accumulated operation result corresponding to the position corresponding to the third operation is displayed, the center area for displaying the accumulated operation result corresponding to the operation process may be switched to display the accumulated operation result corresponding to the position corresponding to the third operation, or the accumulated operation result corresponding to the position corresponding to the third operation may be simultaneously displayed in an area other than the center area, which is not limited herein.
In the embodiment of the application, through the arrangement of the bar graph, the historical operation process of a user can be better recorded; in addition, by setting that the line segments respectively corresponding to the first operation set and the second operation set in the entry graph are not on the same straight line, a user can clearly view turning points in the historical operation process when viewing the entry degree.
Existing applications are often provided with a revocation function, which can revoke historical continuous operations through multiple continuous revocation operations. However, if the user once withdraws a part of the operations by the withdrawal operation during the historical operation and then re-operates the part of the operations, the part of the operations that are withdrawn cannot be recovered even when the withdrawal function is used a plurality of times in succession after the re-operation. However, users often have different and divergent ideas, existing applications cannot better keep the historical operation records of the users, and the linear withdrawal/redo also causes the loss of partial operations and the loss of the partial operations to be unrecoverable.
Optionally, the different pixel points converted by the operations sequentially executed by the user are accumulated according to the relationship among the operations in addition to the time relationship to form a bar graph, so as to more vividly show the historical operation process of the user. Optionally, the first condition comprises the first set of operations being revoked; the entry map is of a tree structure, and line segments corresponding to the first operation set and the second operation set are located on different branches connected to the same node in the tree entry map. Therefore, the operation history of the user can be better saved through the bar-feeding graph of the dressing structure, and the relationship between a plurality of operations before and after the withdrawal operation can be more clearly shown.
In some application scenarios, a user may have multiple pull-back operations during operations within an application, and some pull-back operations may be followed by only one operation being pulled back for a new operation. If all the pull-back operations generate corresponding branches in the progress chart, a very large number of spurs are generated in the progress chart generated in a scene frequently having a small number of new operations after the pull-back operations. Optionally, this type of spur in the bar graph may be reduced by limiting the first condition and/or the second condition, improving the user experience.
In one example, the first condition further comprises: the number of operations in the first operation set is not less than a first threshold, and the first threshold is a numerical value greater than 2.
In one example, the second condition includes a number of operations in the second set of operations not being less than a second threshold, the second threshold being a numerical value greater than 2. The first threshold and the second threshold may be the same or different, and the two thresholds 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 bar graph fits better with the operation habits of the user.
In one example, 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. For example, the thickness, color, transparency, or other property of the brush used in the operations in the second set of operations may be different from the thickness, color, transparency, or other property of the brush used in the first set of operations. For example, the second set of operations employs filters but the first set of operations does not employ filters.
In one example, the first condition further comprises: the first operation in the first set of operations employs an eraser tool and the erase area reaches a third threshold.
Alternatively, the respective examples described above for the first condition and the second condition may be adopted alternatively, 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 of sum, or a relationship of or; various examples of the second condition may be a relationship of sum, or a relationship of or; and are not intended to be limiting herein. Optionally, the first condition and the second condition are set by default or by a user, so that the generated bar graph fits better with the operation habits of the user. Optionally, the user is prompted in a preset manner each time a new branch is generated in the bar graph. The preset mode may be a vibration or sound mode, or a pop-up window mode on the 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 achieve fast withdrawal by pressing the withdraw key for a long time. However, in this scheme the speed of withdrawal cannot be controlled by the user, resulting in a very difficult control of the number of steps of the withdrawal operation, often with the possibility of more or less withdrawal. Optionally, in this embodiment of the application, a pie chart is further displayed on the user interface of the electronic device according to a fourth operation of the user in the application, where the pie chart is used to indicate a progress bar for the user to withdraw and restore the operation on the current branch. Alternatively, the fourth operation may be a user performing a revocation operation within the application. For example, the fourth operation is the user clicking a recall function button within the application. For example, the user interface of the electronic device is a touch screen, in some applications, the withdrawal operation is triggered by a shortcut gesture with two fingers, and when the fact that the two fingers of the user touch the touch screen is detected, a pie chart is displayed on the touch screen of the electronic device. Fig. 3 is a schematic diagram of a pie chart in an embodiment of the present application, as shown in fig. 3. Optionally, when the pie chart is recalled, 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 a single or double finger or by an arc movement operation of the mouse on the touch screen, thereby withdrawing or resuming the operation on the current branch. For example, when the user rotates and moves counterclockwise on the touch screen by a single finger or two fingers or by a mouse, the area of the pie chart is gradually reduced to withdraw the operation on the current branch; when moving in a clockwise rotation, the area of the pie chart gradually resumes increasing to resume the withdrawn operation on the current branch. This can provide the user with a feeling of control of the withdrawal operation. Optionally, in the process of adjusting the area of the pie chart by the user, the cumulative operation result corresponding to the step on the current branch is displayed on the user interface.
Optionally, in the case of using a two-finger operation to change the area of the pie chart to withdraw or restore the operation on the current branch, when the distance between the two fingers increases to reach a preset threshold, or when the distance between the two fingers increases to reach the preset threshold and then lifts, or when the distance between the two fingers increases to reach the preset threshold and keeps pressing for a certain time and lifts, a bar chart may be called. Optionally, in a case where the area of the pie chart is changed by using the operation of the two fingers to withdraw or recover the operation on the current branch, when the distance between the two fingers increases and does not reach a preset threshold, or when the distance between the two fingers decreases to be smaller than the preset threshold after increasing and reaching the preset threshold, or when the distance between the two fingers does not lift up after increasing and reaching the preset threshold, or when the distance between the two fingers lifts up without keeping pressing for a certain time after increasing and reaching the preset threshold, the call-in bar chart is cancelled.
Optionally, when the user's pullback of operations on the current branch causes the number of unretracted 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; switching the pie chart from a progress bar for indicating a current branch to a progress bar for indicating a pull back and a recovery of the user's operation on a target adjacent branch.
For example, as shown in fig. 3, the upper part of the pie chart shows an arc segment 32 and an arc segment 33, which are respectively indications of two adjacent branches to the current branch. The sixth operation may be that the user moves upward 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 select the adjacent branch corresponding to the arc segment 33 as the target adjacent branch.
Switching the pie chart to a progress bar for indicating a pull back and a recovery of the user's operation on the target adjacent branch. The total area of the pie chart switches to all operations on the corresponding target neighbor branch. The area of the pie chart continues to decrease or increase as the user continues to withdraw or resume operations 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. And in the process that the user continuously withdraws or recovers the operation on the target adjacent branch, the user interface correspondingly displays the corresponding accumulated operation result after the operation on the target adjacent branch is withdrawn or recovered.
Optionally, during the adjustment of the area of the pie chart, the degree of decrease or increase in the area of the pie chart is controlled not only by the distance moved by the arc on the user interface, but also by the speed of the arc movement operation. For example, when the arc movement operation speed of the user becomes fast, the area change speed of the pie chart becomes fast; when the speed of the arc movement operation of the user becomes slow, the speed of the area change of the pie chart becomes slow. In one example, when the user's arc movement operation speed becomes fast, the speed at which the area of the pie chart decreases becomes fast accordingly. In practical application, when the arc movement operation speed of the user is high, the operation steps to be withdrawn are large, the operation steps to be withdrawn are required to be withdrawn quickly, the operation intention of the user can be met by quickly changing the area of the pie chart, and the operation process of the user can be displayed more intuitively and conveniently.
In some application scenarios, the user needs to toggle back and forth on the user interface to display different versions of the accumulated operation results formed before and after the undo operation for comparison. Optionally, in this embodiment of the present application, the adjusting of the area of the pie chart is implemented according to a preset number of fingers of the user moving on the user interface; the method further comprises the following steps: and switching and displaying the corresponding accumulated operation results before and after the area adjustment of the pie chart according to the change of the number of the 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 fingers on the user interface, and the area of the pie chart gradually decreases as the operation on the current branch is undone. Fig. 4 is a schematic diagram of an embodiment of an operation interaction method according to the present application, as shown in fig. 4. In the revocation process, the number of revoked operations is adjusted by the movement operation of the user's two fingers on the user interface, and at this time, the cumulative operation result 42 after the operation on the current branch is revoked according to the revocation operation is displayed on the interactive interface 41 shown in (1) in fig. 4. Fig. 4 (2) shows that, when the user lifts one finger or adds one finger (fig. 4 (2) illustrates lifting one finger), the user interface 43 may quickly switch to display the corresponding cumulative operation result before the area of the pie chart is reduced, that is, the cumulative operation result 44 before the operation on the current branch is cancelled according to the cancellation operation. When the user puts back one finger or lifts one finger, the user interface may quickly switch to display the corresponding cumulative operation result after the area of the pie chart is reduced, that is, the cumulative operation result 42 after the user interface 41 of (1) in fig. 4 has undone the operation on the current branch according to the undoing operation. Therefore, the user can conveniently and quickly compare the accumulated operation results corresponding to the plurality of operations on the current branch before and after the plurality of operations on the current branch are cancelled.
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;
a display module 502, configured to, when the application program is executed, perform the following steps:
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 historical operation set executed after the first historical operation set meets a second condition, line segments respectively corresponding to the first historical operation set and the second historical operation set in the generated bar graph are not located on the same straight line;
and displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position.
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 comprises the first set of operations being revoked;
the entry chart is of a tree structure, and line segments corresponding to the first operation set and the second operation set are located on different branches connected to the same node in the tree entry chart.
Optionally, the first condition further comprises: the number of operations in the first operation set is not less than a first threshold, and the first threshold is a numerical value greater than 2.
Optionally, the second condition includes that the number of operations in the second set of operations is not less than a second threshold, where the second threshold is a numerical value greater than 2.
Optionally, the second condition includes that a drawing tool corresponding to an operation in the second operation set is different from a drawing tool corresponding to an operation in the first operation set.
Optionally, the first condition further comprises: the first operation in the first set of operations employs an eraser tool and the erase area reaches a third threshold.
Optionally, the display module 502 is further configured to display a pie chart on a user interface of the electronic device according to a fifth operation of the user in the application, where an area of the pie chart is 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 withdrawal of the operation on the current branch by the user is such that the number of unretracted operations on the current branch is 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;
switching the pie chart to a progress bar for indicating a pull back and a recovery of the user's operation 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 restoring the operation on the current branch,
wherein when the speed of the arc movement operation of the user is changed, the speed of the area change of the pie chart is changed accordingly.
Optionally, the adjusting of 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 to display corresponding accumulated operation results before and after the area adjustment of the pie chart according to the change of the number of the contact fingers of the user on the user interface.
Optionally, the adjusting the area of the pie chart according to a 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 two fingers of the user on the user interface so as to cancel or recover 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 the bar entering graph on the user interface.
Optionally, the method further comprises:
when the distance between the two fingers of the user is increased to reach a preset threshold value, or when the distance between the two fingers is raised after the distance between the two fingers is increased to reach the preset threshold value, or when the distance between the two fingers is increased to reach the preset threshold value and keeps being pressed for a certain time length and then is raised, the change of the distance between the two fingers of the user is determined to meet a preset condition.
Optionally, the method further comprises:
and when the distance between the two fingers of the user is increased and does not reach a preset threshold value, or when the distance between the two fingers is reduced to be smaller than the preset threshold value after being increased and reached the preset threshold value, or when the distance between the two fingers is not lifted after being increased and reached the preset threshold value, or when the distance between the two fingers is lifted after being not kept pressed for a certain time after being increased and reached the preset threshold value, the calling-out of the entry bar graph is cancelled.
Optionally, the display module 502 is further configured to, before the corresponding accumulated operation result at the selected position is displayed according to the selection operation of the user on the entry chart, further display the entry chart 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 executable code (or a computer program or computer instruction code) stored thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the various steps of the above-described method 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 computer programs. The processor 601 is configured to execute the above-mentioned operation interaction method when the computer program is called. Further, the terminal device may further 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 may communicate with each other through a bus, or may communicate with each other through other means such as wireless transmission.
It is understood that the processor in the embodiments of the present application may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The general purpose processor may be a microprocessor, but 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 software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in Random Access Memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable hard 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. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, the implementation may be wholly or partially realized 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the 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)), among others.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (18)

1. An operational interaction method, comprising:
in response to an instruction from a user of an electronic device, executing an application on the electronic device, upon execution of the application:
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 historical operation set executed after the first historical operation set meets a second condition, line segments respectively corresponding to the first historical operation set and the second historical operation set in the generated bar graph are not located on the same straight line;
and displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position.
2. The method of claim 1, wherein the first condition comprises the first set of operations being withdrawn;
the entry map is of a tree structure, and line segments corresponding to the first operation set and the second operation set are located on different branches connected to the same node in the tree entry map.
3. The method of claim 2, wherein the first condition further comprises: the number of operations in the first operation set is not less than a first threshold, and the first threshold is a numerical value greater than 2.
4. The method of claim 2, wherein the second condition comprises a number of operations in the second set of operations not being less than a second threshold, the second threshold being a value greater than 2.
5. The method of claim 2, wherein the second condition comprises that operations in the second set of operations correspond to drawing tools that are different from drawing tools corresponding to operations in the first set of operations.
6. The method of claim 2, wherein the first condition further comprises: the first operation in the first set of operations employs an eraser tool, and the erasing area reaches a third threshold.
7. The method of claim 2, further comprising:
according to a fourth operation of the user in the application program, displaying a pie chart on a user interface of the electronic equipment, wherein the area of the pie chart is used for indicating the progress of withdrawal and recovery of the user on the operation on the current branch;
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.
8. The method of claim 7, further comprising:
when the user's retirement of operations on the current branch causes the number of unretired operations on the current branch to be less than a fourth threshold, displaying, in a neighboring area of the pie chart in the user interface, an indication of at least one neighboring branch to the current branch;
selecting a target adjacent branch in 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;
switching the pie chart to a progress bar for indicating withdrawal and resumption of the user's operation on the target adjacent branch.
9. The method of claim 7, wherein the user changes the area of the pie chart by an arc move operation on the user interface, thereby withdrawing or restoring the operation on the current branch,
wherein when the speed of the arc movement operation of the user is changed, the speed of the area change of the pie chart is changed accordingly.
10. The method of claim 7, wherein the adjusting of 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 following steps:
and switching and displaying the corresponding accumulated operation results before and after the area adjustment of the pie chart according to the change of the number of the contact fingers of the user on the user interface.
11. The method of claim 7, wherein the adjusting the area of the pie chart according to a fifth operation of the user in the application program comprises:
in the application program, adjusting the area of the pie chart according to the moving distance of the double fingers of the user on the user interface so as to cancel or recover 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 the bar-entering graph on the user interface.
12. The method of claim 11, further comprising:
when the distance between the two fingers of the user is increased to reach a preset threshold value, or when the distance between the two fingers is raised after the distance between the two fingers is increased to reach the preset threshold value, or when the distance between the two fingers is increased to reach the preset threshold value and keeps being pressed for a certain time length and then is raised, the change of the distance between the two fingers of the user is determined to meet a preset condition.
13. The method of claim 12, further comprising:
when the distance between the two fingers of the user increases and does not reach a preset threshold value, or when the distance between the two fingers decreases to be smaller than the preset threshold value after increasing and reaching the preset threshold value, or when the distance between the two fingers does not lift up after increasing and reaching the preset threshold value, or when the distance between the two fingers lifts up after not keeping pressing for a certain time after increasing and reaching the preset threshold value, the call-in bar graph is cancelled.
14. The method according to claim 1, wherein the displaying the corresponding accumulated operation result at the selected position according to the selection operation of the user on the bar graph 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.
15. 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.
16. An operation interaction apparatus, comprising:
an execution module for executing an application in response to an instruction from a user;
the display module is used for executing the following steps when the application program is executed:
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 historical operation set executed after the first historical operation set meets a second condition, line segments respectively corresponding to the first historical operation set and the second historical operation set in the generated bar graph are not located on the same straight line;
and displaying a corresponding accumulated operation result at one position of the bar graph according to a third operation of the user on the position.
17. An electronic device comprising a processor and a memory, the memory having stored thereon executable code which, when processed by the processor, causes the processor to perform the method of any of claims 1 to 15.
18. A computer-readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the electronic device to perform the method of any one of claims 1 to 15.
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 true CN115878010A (en) 2023-03-31
CN115878010B 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 (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090049406A1 (en) * 2004-11-16 2009-02-19 Zalag Corporation Display/layout methods and apparatuses including content items and display containers
CN102087576A (en) * 2009-12-04 2011-06-08 索尼公司 Display control method, image user interface, information processing apparatus and information processing method
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
CN105117318A (en) * 2015-08-18 2015-12-02 北京恒华伟业科技股份有限公司 Method and device for monitoring equipment production progress
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
CN112286614A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 User interface display method and device, electronic equipment and storage medium
CN112783398A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Display control and interaction control method, device, system and storage medium
CN113377364A (en) * 2021-04-29 2021-09-10 上海工程技术大学 Tree structure organization editing operation withdrawing method based on node historical value
CN113378008A (en) * 2021-04-29 2021-09-10 上海工程技术大学 Operation withdrawing method supporting tree model
CN113741753A (en) * 2021-09-13 2021-12-03 京东方科技集团股份有限公司 Revocation method, electronic device, storage medium, and computer program product
CN113867605A (en) * 2021-09-28 2021-12-31 湖南创星科技股份有限公司 Canvas operation rollback method and device, computer equipment and storage medium
WO2022077827A1 (en) * 2020-10-14 2022-04-21 网易(杭州)网络有限公司 Graph drawing method and apparatus, storage medium, and terminal device
CN115086757A (en) * 2021-03-12 2022-09-20 北京字跳网络技术有限公司 Method, device, equipment and storage medium for withdrawing history editing operation
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 (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090049406A1 (en) * 2004-11-16 2009-02-19 Zalag Corporation Display/layout methods and apparatuses including content items and display containers
CN102087576A (en) * 2009-12-04 2011-06-08 索尼公司 Display control method, image user interface, information processing apparatus and information processing method
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
CN105117318A (en) * 2015-08-18 2015-12-02 北京恒华伟业科技股份有限公司 Method and device for monitoring equipment production progress
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
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
CN115086757A (en) * 2021-03-12 2022-09-20 北京字跳网络技术有限公司 Method, device, equipment and storage medium for withdrawing history editing operation
CN113378008A (en) * 2021-04-29 2021-09-10 上海工程技术大学 Operation withdrawing method supporting tree model
CN113377364A (en) * 2021-04-29 2021-09-10 上海工程技术大学 Tree structure organization editing operation withdrawing method based on node historical value
CN113741753A (en) * 2021-09-13 2021-12-03 京东方科技集团股份有限公司 Revocation method, electronic device, storage medium, and computer program product
CN113867605A (en) * 2021-09-28 2021-12-31 湖南创星科技股份有限公司 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施皓: "面向布局推荐的数据可视化系统设计与实现", 中国优秀硕士学位论文全文数据库 (信息科技辑), pages 138 - 892 *

Also Published As

Publication number Publication date
CN115878010B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US10754603B2 (en) Systems, devices, and methods for dynamically providing user interface controls at a touch-sensitive secondary display
JP6640909B2 (en) Theme display method and related devices
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
WO2018157662A1 (en) Display control method for mobile terminal, and mobile terminal
CN106909305B (en) Method and apparatus for displaying graphical user interface
KR101224588B1 (en) Method for providing UI to detect a multi-point stroke and multimedia apparatus thereof
JP5721662B2 (en) Input receiving method, input receiving program, and input device
EP3002664B1 (en) Text processing method and touchscreen device
US20130097538A1 (en) Method and apparatus for displaying icons on mobile terminal
US20100146451A1 (en) Handheld terminal capable of supporting menu selection using dragging on touch screen and method of controlling the same
CN108064368A (en) The control method and device of flexible display device
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
KR20090077480A (en) Method for providing ui to display operation guide and multimedia apparatus thereof
CN104007894A (en) Portable device and method for operating multiapplication thereof
JP5449630B1 (en) Programmable display and its screen operation processing program
WO2014008789A1 (en) Method and device for processing browser window
CN103530045A (en) Menu item starting method and mobile terminal
US20230091771A1 (en) Device Control Method, Storage Medium, and Non-Transitory Computer-Readable Electronic Device
US20240143024A1 (en) Systems and Methods for Prompting a Log-In to an Electronic Device Based on Biometric Information Received from a User
CN104281378A (en) Mobile device one-hand control method and system
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
WO2018082256A1 (en) Terminal and application switching method thereof
CN115878010A (en) Operation interaction method and device, electronic equipment and computer-readable storage medium
CN109739422B (en) Window control method, device and equipment
CN113535027A (en) Icon control method and device, electronic equipment and readable storage medium

Legal Events

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