CN113741753A - Revocation method, electronic device, storage medium, and computer program product - Google Patents

Revocation method, electronic device, storage medium, and computer program product Download PDF

Info

Publication number
CN113741753A
CN113741753A CN202111068866.2A CN202111068866A CN113741753A CN 113741753 A CN113741753 A CN 113741753A CN 202111068866 A CN202111068866 A CN 202111068866A CN 113741753 A CN113741753 A CN 113741753A
Authority
CN
China
Prior art keywords
revocation
user
progress
progress bar
display content
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.)
Pending
Application number
CN202111068866.2A
Other languages
Chinese (zh)
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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202111068866.2A priority Critical patent/CN113741753A/en
Publication of CN113741753A publication Critical patent/CN113741753A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The application provides a revocation method, an electronic device, a storage medium and a computer program product. The revocation method comprises the following steps: generating and displaying a progress bar based on the editing operation record of the display content in response to a cancel start instruction of the user; responding to the selection operation of a user to any position on the progress bar, and determining pre-revocation display content; and deleting the pre-revocation display content in response to a revocation operation instruction of a user. According to the revocation method, the electronic device, the storage medium and the computer program product, the intermediate editing operation steps can be directly selected to be revoked, so that the user can realize revocation of one or more editing operations in one revocation operation, and better operation experience is provided for the user.

Description

Revocation method, electronic device, storage medium, and computer program product
Technical Field
The present application relates to the field of intelligent conferencing technologies, and in particular, to a revocation method, an electronic device, a storage medium, and a computer program product.
Background
With the rapid development of electronic technology, devices such as whiteboards and large screens with writing and drawing functions are widely used in the work and life of people, for example, in various scenes such as intelligent conferences. The user can realize the editing operation of the contents of characters, pictures, videos, handwriting and the like through a writing pen, fingers, a mouse, a keyboard and the like. In the actual editing process, editing errors and situations needing to be cancelled are avoided.
However, in the current conference scenario and normal input scenario on the market, only the revocation of the last operation can be implemented, namely: and after the cancel button is clicked, one step of intelligent cancel is performed. When a user needs to withdraw continuously for multiple times, the electrode withdrawing operation needs to be repeated for multiple times, and the operation is extremely inconvenient.
Disclosure of Invention
In view of the above, the present application aims to provide an undo method, an electronic device, a storage medium and a computer program product.
In view of the above, the present application provides a revocation method, including:
generating and displaying a progress bar based on the editing operation record of the display content in response to a cancel start instruction of the user;
responding to the selection operation of a user to any position on the progress bar, and determining pre-revocation display content;
and deleting the pre-revocation display content in response to a revocation operation instruction of a user.
Optionally, the generating and displaying a progress bar based on the editing operation record of the display content includes:
and sequencing the editing operation records according to time sequence to generate the progress bar, and displaying the progress bar in a display page.
Optionally, the sorting the editing operation records according to a time sequence to generate the progress bar includes:
setting a control area of the progress bar according to the total duration of the generated display content;
setting a mapping relation between any position of the progress bar in the control area and the corresponding editing operation record;
the starting position of the control area is the time point when the first editing operation record is generated, and the ending position of the control area is the time point when the last editing operation record is generated.
Optionally, the determining, in response to a selection operation of a user on an arbitrary position on the progress bar, pre-revocation display content includes:
determining a progress position of a user on the progress bar;
and determining the operation content selected by the user as the pre-revocation display content based on the progress position and the mapping relation between any position of the progress bar in the control area and the editing operation record corresponding to the progress bar.
Optionally, the sorting the editing operation records according to a time sequence to generate the progress bar includes:
acquiring the total record number of the editing operation record;
and determining the sub control area of each editing operation recorded on the progress bar based on the total number of records.
Optionally, the determining a sub-control area of each editing operation recorded on the progress bar includes:
equally distributing the control areas into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record; alternatively, the first and second electrodes may be,
unevenly distributing the progress bars into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record; wherein the sub-control area near the end position is larger than the sub-control area near the start position.
Optionally, the determining, in response to a selection operation of a user on an arbitrary position on the progress bar, pre-revocation display content includes:
determining a progress position of a user on the progress bar;
and determining the operation content selected by the user as the pre-revocation display content based on the progress position and the mapping relation between each sub-control area and the editing operation record corresponding to the sub-control area.
Optionally, the determining the operation content selected by the user as the pre-revocation display content includes:
in response to a progress position of a user on the progress bar comprising a progress point, determining the pre-dismissal display content based on the editing operation record between the progress point and an end position; alternatively, the first and second electrodes may be,
in response to a progress position of a user on the progress bar including a progress area, determining the pre-undo display content based on the editing operation record included within the progress area.
Optionally, the method further includes:
and generating a preview image after deleting the pre-revocation display content based on the pre-revocation display content, and displaying the preview image on the display page.
Optionally, the preview includes a thumbnail, and the thumbnail is disposed above the progress bar and corresponds to the progress position.
Optionally, the deleting the pre-revoked display content in the display page in response to a revocation operation instruction of the user includes:
and in response to a write operation instruction of a user, deleting the pre-revoked display content in the display page and executing a write operation.
Optionally, the method further includes:
responding to a progress playing instruction of a user, and automatically playing an editing operation process of the display content based on the progress bar; and the number of the first and second groups,
and in response to a progress pause playing instruction of a user, pausing automatic playing of the editing operation process of the display content.
Optionally, the method further includes:
responding to a revocation starting instruction of a user, and generating an intermediate revocation page;
for the intermediate undo page, performing at least one of the following steps,
in response to a user's full dismissal instruction to dismiss the page in the middle, deleting the entire display content,
generating the progress bar in response to a cancel operation instruction of a user for canceling the page in the middle,
and returning to the last display page in response to a return instruction of the user to cancel the page in the middle.
The present application also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the revocation method as described in any of the above.
The present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the revocation method of any of the above.
The present application also provides a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the revocation method as defined in any of the above.
As can be seen from the foregoing, according to the revocation method, the electronic device, the storage medium, and the computer program product provided by the present application, the editing operation process of the display content is recorded by the progress bar, the content to be revoked is determined by selecting any position on the progress bar, and the middle editing operation step can be directly selected to be revoked, so that the user can realize revocation of one or more editing operations at one time of revocation operation, thereby solving the problem of inconvenience in revocation only from the last step in the prior art, and providing better operation experience for the user.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the related art, the drawings needed to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a revocation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a cancel start display page according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an intermediate revocation page in an embodiment of the present application;
FIG. 4 is a schematic diagram of a display page of a progress bar according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display page of a progress bar and a progress area according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display page of a progress bar and a progress point according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a progress bar display page according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a pause display page of a progress bar according to an embodiment of the present application;
FIG. 9 is a schematic flowchart of a method for generating a progress bar according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a method for determining pre-revocation display content according to an embodiment of the present application;
FIG. 11 is another schematic flow chart diagram illustrating a method for generating a progress bar according to an embodiment of the present application;
fig. 12 is another flowchart illustrating a method for determining pre-revocation display content according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background art, in the existing conference scene or other scenes that require editing operations on displayed contents such as characters, pictures, videos, handwriting, etc., when an editing operation is cancelled, only one item can be cancelled from the last editing operation, which is very inconvenient for a user to cancel.
In order to solve the technical problems, the application provides a revocation method, editing operations on display contents such as characters, pictures, videos, handwriting and the like are displayed on a display page in a progress bar form, and revocation operations are performed through selection of a user on the progress bar, so that the user can realize revocation of one or more editing operations during one revocation operation, and convenience is provided for the user.
As shown in fig. 1, an embodiment of the present application provides a revocation method, including:
in step S100, in response to a cancel start instruction of the user, a progress bar is generated and displayed based on the editing operation record of the display content.
In this embodiment, the revocation method may be applied to a terminal device, and the terminal device includes, but is not limited to, a whiteboard, a large screen, a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a Personal Digital Assistant (PDA), or other electronic devices capable of implementing the above functions. The terminal equipment processor comprises a processor and a display screen connected with the processor, and the processor can receive input on the display screen and control the terminal equipment.
The display screen includes a display page for enabling display of display content. When a user carries out editing operation on the display screen, the processor generates an editing operation record based on an editing operation instruction generated during the editing operation of the user and stores the editing operation record in the database, and simultaneously, display contents after the editing operation are displayed on the display page. Optionally, each editing operation may generate an editing operation instruction correspondingly.
The display content may include pictures, videos, characters, handwriting and the like, and the editing operation may include inserting, deleting, modifying, rotating and other editing operations on the display content such as the pictures, the videos, the characters, the handwriting and the like. The user's editing operation can be realized on the touch screen by fingers, or can be realized by a mouse, a keyboard input device, and the like.
When the user performs the undo operation, in response to an undo start instruction of the user, the processor generates a progress bar based on the editing operation record of the display content and displays the progress bar on the display screen.
Optionally, the canceling the start instruction may include clicking a preset icon disposed at any position on the display page. As shown in fig. 2, in a specific embodiment, an undo arrow is arranged in the lower right corner of the display page as an undo start icon 101, and when the user clicks the undo start icon 101 with a finger or a mouse, the processor acquires the editing operation record stored in the database, generates a progress bar for indicating the progress of the editing operation, and displays the progress bar in the display page. As shown in fig. 4, a progress bar 105 is displayed below a page of the display page.
Alternatively, the user may click the cancel start icon 101 with a finger, or may click the cancel start icon 101 with a mouse or other device.
And step S200, responding to the selection operation of the user to any position on the progress bar, and determining the pre-revocation display content.
In this embodiment, in response to a selection operation of a user on any position on the progress bar on the display screen, the processor determines that the display content is to be revoked. The progress bar records the whole process of the editing operation, and the display content generated in any step in the whole process of the editing operation can be selected through the selection operation of any position on the progress bar, so that the pre-revocation display content is determined, namely the editing operation record corresponding to the pre-revocation display content in the database is determined. Any step in the whole process of the editing operation can be the last editing operation or the middle editing operation.
And step S300, responding to a cancel operation instruction of a user, and deleting the pre-cancel display content.
In this embodiment, in response to a cancel operation instruction of a user on the display screen, the processor deletes the pre-cancel display content. And generating a cancel operation instruction based on user operation, and deleting the pre-cancel display content selected in the step S200, that is, deleting the corresponding editing operation record in the database, thereby implementing the cancel operation.
In the embodiment, the editing operation process of the displayed content is recorded through the progress bar, the content needing to be cancelled is determined through selection of any position on the progress bar, and the middle editing operation steps can be directly selected to be cancelled, so that the user can cancel one or more editing operations during one-time cancelling operation, the problem of inconvenience in cancelling caused by only cancelling the last step in the prior art is solved, and better operation experience is provided for the user.
In some embodiments, the generating and displaying a progress bar based on the editing operation record of the display content in step S100 includes:
step S110, sorting the editing operation records according to a time sequence to generate the progress bar, and displaying the progress bar in a display page.
In this embodiment, each editing operation record includes time information, such as a timestamp, when the editing operation record is generated; the time information may be used to indicate the time at which its corresponding editing operation was generated. Therefore, after the editing operation records are obtained from the database, the editing operation records are sorted according to time sequence based on the time information so as to generate a progress bar, and the progress bar can be used for representing a time axis generated by the editing operation.
Optionally, when the editing operation records are stored in the database, the editing operation records may be sorted according to a time sequence, so as to facilitate generation of the progress bar.
In some embodiments, as shown in fig. 9, the sorting the editing operation records in time sequence to generate the progress bar in step S110 includes:
and step S111, setting a control area of the progress bar according to the total time length for generating the display content.
And step S112, setting a mapping relation between any position of the progress bar in the control area and the editing operation record corresponding to the position.
The starting position of the control area is the time point when the first editing operation record is generated, and the ending position of the control area is the time point when the last editing operation record is generated.
In this embodiment, the control area of the progress bar 105 is set based on the total time length of all the display contents generated on the display page, that is, the time point generated by the first editing operation record is taken as the time point represented by the start position of the control area, and the time point generated by the last editing operation record is taken as the end position of the control area, and the control area of the progress bar is set based on time, that is, any point in the control area of the progress bar represents a time point.
In this embodiment, the time point generated by each editing operation record is within the total duration, so that the corresponding relationship between the time point generated by each editing operation record and any point on the control area, that is, the mapping relationship between any position of the progress bar on the control area and the corresponding editing operation record, is obtained based on the corresponding relationship between the time point generated by each editing operation record and the total duration and the corresponding relationship between the total duration and the control area of the progress bar.
Optionally, as shown in fig. 10, in this embodiment, the determining, in response to the user' S selection operation on an arbitrary position on the progress bar in step S200, pre-revocation display content includes:
and step S211, determining the progress position of the user on the progress bar.
Step S212, determining the operation content selected by the user as the pre-revocation display content based on the mapping relationship between the progress position and the editing operation record corresponding to the progress bar at any position of the control area.
In this embodiment, the progress position selected by the user on the progress bar is determined through the selection operation of the user on the progress bar, and based on the progress position and the mapping relationship between any position of the progress bar in the control area and the corresponding editing operation record, the editing operation corresponding to the editing operation record selected by the user can be determined, so as to determine the display content to be revoked by the user, that is, determine the pre-revocation display content.
Optionally, the determining, in step S212, the operation content selected by the user as the pre-revocation display content includes: in response to a user's progress position on the progress bar including a progress point, determining the pre-dismissal display content based on the editing operation record between the progress point and an end position. As shown in fig. 6, a progress point icon 108 is included on the progress bar 105, and the progress point icon 108 may be an arrow or any other icon with any shape. By dragging the progress point icon 108 on the progress bar 105 to determine the position of the progress point selected by the user on the progress bar, and taking the display content corresponding to the editing operation record located between the progress point icon 108 and the end position of the progress bar 105 as the pre-undo display content, it is possible to determine the editing operation steps that the user or users want to undo according to the selection content of the user on the progress bar, so that the editing operation steps of the user or users can be undone by one operation.
Alternatively, the determining, in step S212, the operation content selected by the user as the pre-revocation display content includes: in response to a progress position of a user on the progress bar including a progress area, determining the pre-undo display content based on the editing operation record included within the progress area. As shown in fig. 4, a progress area icon 106 is included on the progress bar 105, and the progress area icon 106 may be a rectangular frame. As shown in fig. 5, the size of the progress area icon 106 is adjustable, so that the size of the progress area selected by the user on the progress bar 105, that is, the number and content of editing operation steps that need to be cancelled selected by the user can be adjusted. By dragging the progress area icons 106 on the progress bar 105 and adjusting the size of the progress area icons 106, the progress areas selected by the user on the progress bar are determined, and the display content corresponding to the editing operation records positioned between the progress areas is used as the pre-undo display content, so that the editing operation steps which the user or users want to undo can be determined according to the selection content of the user on the progress bar, and the editing operation steps of the user or users can be undone in one operation.
Optionally, in this embodiment, the total duration of the generated display content is used as the control area of the progress bar, and there may be an interval time during which the user does not perform an operation between two editing operation steps, and the interval time may also be displayed on the progress bar, so that the process of the editing operation of the user may be completely recorded.
Meanwhile, the interval time may be partially displayed on the progress bar or not displayed on the progress bar, for example, the interval time may be deleted or partially deleted from the progress bar according to actual conditions or user needs, which is not limited in the embodiment of the present application.
In some embodiments, as shown in fig. 11, the sorting the editing operation records in time sequence to generate the progress bar in step S110 includes:
and step S121, acquiring the total record number of the editing operation records.
Step S122, determining the sub-control area of each editing operation recorded on the progress bar based on the total number of records.
In this embodiment, the control area of the progress bar 105 is set based on the total number of records of the editing operation records for generating all the display contents on the display page, and then the sub-control area of each editing operation record on the progress bar is determined based on the total number of records, so that when the user selects any number of sub-control areas at any position on the progress bar, it is equivalent to selecting the editing operation step corresponding to the corresponding editing operation record.
Optionally, the determining the sub-control area of each editing operation recorded on the progress bar in step S122 includes: and equally distributing the control areas into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record. For example, when the number of editing operation records is a, the control area on the progress bar is divided into a shares on average, and each share corresponds to one editing operation record as one sub-control area.
Alternatively, the determining the sub-control area of each editing operation recorded on the progress bar in step S122 includes: unevenly distributing the progress bars into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record; wherein the sub-control area near the end position is larger than the sub-control area near the start position. Typically, the last one or more editing operations are typically undone when the user undoes. Therefore, in the embodiment, the area of the part of the sub control region near the ending position is larger than that of the sub control region near the starting position, so that the user can select the display content to be cancelled on the progress bar more conveniently.
Optionally, as shown in fig. 12, in this embodiment, the determining, in response to the user' S selection operation on an arbitrary position on the progress bar in step S200, pre-revocation display content includes:
and step S221, determining the progress position of the user on the progress bar.
Step S222, determining, based on the progress position and the mapping relationship between each sub-control area and the editing operation record corresponding thereto, an operation content selected by the user as the pre-revocation display content.
In this embodiment, the progress position selected by the user on the progress bar is determined through the selection operation of the user on the progress bar, and based on the progress position and the mapping relationship between each sub-control area and the corresponding editing operation record, the editing operation corresponding to the editing operation record selected by the user can be determined, so as to determine the display content to be revoked by the user, that is, determine the pre-revocation display content.
Optionally, the determining, in step S222, the operation content selected by the user as the pre-revocation display content includes: in response to a user's progress position on the progress bar including a progress point, determining the pre-dismissal display content based on the editing operation record between the progress point and an end position. As shown in fig. 6, a progress point icon 108 is included on the progress bar 105, and the progress point icon 108 may be an arrow or any other icon with any shape. By dragging the progress point icon 108 on the progress bar 105 to determine the position of the progress point selected by the user on the progress bar, the editing operation record corresponding to the sub-control area between the progress point icon 108 and the end position of the progress bar 105 can be determined, and the pre-revocation display content is determined according to the display content corresponding to the editing operation record, so that the editing operation steps that the user or users want to revoke can be determined according to the selection content of the user on the progress bar, and the editing operation steps of the user or users can be revoked at one time.
Alternatively, the determining, in step S222, the operation content selected by the user as the pre-revocation display content includes: in response to a progress position of a user on the progress bar including a progress area, determining the pre-undo display content based on the editing operation record included within the progress area. As shown in fig. 4, a progress area icon 106 is included on the progress bar 105, and the progress area icon 106 may be a rectangular frame. As shown in fig. 5, the size of the progress area icon 106 is adjustable, so that the size of the progress area selected by the user on the progress bar 105 can be adjusted, that is, the sub-control area framed in the progress area icon 106 can be adjusted, and the number and content of editing operation steps that need to be cancelled and are selected by the user can be determined. The progress area selected by the user on the progress bar 105 is determined by dragging the progress area icon 106 on the progress bar 105 and adjusting the size of the progress area icon 106, so that the editing operation records corresponding to the sub-control areas positioned between the progress areas are obtained, and the pre-revocation display content is determined based on the display content corresponding to the editing operation records, so that the editing operation steps which the user or users want to revoke can be determined according to the selection content of the user on the progress bar, and the editing operation steps of the user or users can be revoked at one time.
In some embodiments, the revocation method further comprises: and generating a preview image after deleting the pre-revocation display content based on the pre-revocation display content, and displaying the preview image on the display page.
In this embodiment, in order to facilitate the user to determine the pre-revocation display content selected by the user, a preview may be displayed on the display page, where the preview user displays a page where the remaining display content of the pre-revocation display content is deleted, so that the user may be assisted in determining the content to be revoked.
Optionally, as shown in fig. 7, the preview includes a thumbnail 111, and the thumbnail 111 is disposed above the progress bar 105 and corresponds to the progress position. I.e., as the user's progress position on the progress bar 105 is adjusted, the content and position of the thumbnail is also adjusted with the progress position,
alternatively, the thumbnail 111 may be formed on the progress bar 105, that is, the thumbnail of the remaining display content of the deletion pre-revocation display content is directly displayed on the progress bar.
Optionally, the preview image may also be displayed in the entire display page for easy viewing by the user.
In some embodiments, the deleting the pre-revoked display content in the display page in response to a revocation operation instruction of a user includes: and in response to a write operation instruction of a user, deleting the pre-revoked display content in the display page and executing a write operation.
In this embodiment, the cancel operation instruction includes a write operation instruction, that is, after the selection is performed on the progress bar to determine the pre-cancel display content, the next write operation instruction is directly performed, for example, the writing of the display content such as pictures, videos, characters, handwriting, and the like, so that the cancel and write operations can be directly completed, and the cancel and write functions can be synchronously realized without additionally clicking the display page by the user.
Optionally, the cancel operation instruction may also include a click operation instruction for the preset function icon. For example, after a selection is made on the progress bar to determine the pre-revocation display content, a prompt indicating whether the page is revoked is displayed, and the revocation function is realized by clicking the "ok" icon.
In other embodiments, the revocation method further comprises: responding to a progress playing instruction of a user, and automatically playing an editing operation process of the display content based on the progress bar; and in response to a progress pause playing instruction of the user, pausing automatic playing of the editing operation process of the display content.
As shown in fig. 7, a play icon 107 may be disposed on one side of the progress bar, and a user clicks the play icon 107 to generate a progress play instruction, so that the editing operation process of the display content 201 may be automatically played based on the progress bar, and the corresponding progress point icon 108 may also change along with the play progress, so that the display content may be integrally reviewed.
As shown in fig. 8, when stopping is required during review, the user clicks an arbitrary position on the display page to generate a schedule pause play instruction, automatic play of the editing operation process of the display content 201 may be paused, and the progress point icon 108 stays at a corresponding position on the progress bar 105. Clicking the play icon 107 again may continue the editing operation process of playing the display content 201.
In some optional embodiments, step S101 further includes:
in step S310, in response to the revocation start instruction of the user, an intermediate revocation page is generated.
As shown in fig. 3, an intermediate revocation page may be entered by clicking a revocation start icon 101 on the display page. The intermediate revocation page is provided with a total revocation icon 102, a revocation operation icon 103, and a return icon 104.
Step S320, for the intermediate revocation page, performing at least one of the following steps:
in step S321, in response to the all revocation instruction of the user on the intermediate revocation page, all display content is deleted. In this embodiment, when the user clicks the all-undo icon 102, the processor may generate all-undo instructions and delete all display contents on the display page based on the all-undo instructions.
Step S322, generating the progress bar in response to the cancel operation instruction of the user in the intermediate cancel page. In this embodiment, when the user clicks the undo operation icon 103, the processor may generate and display a progress bar 105 in the display page, as shown in fig. 4.
And step S323, returning to the last display page in response to the return instruction of the user to cancel the page in the middle. In this embodiment, when the user clicks the return icon 104, the processor may generate a return instruction and control the display page to return to the previous display page, as shown in fig. 2. It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment, and the multiple devices interact with each other to complete the method.
It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the revocation method of any of the above embodiments is implemented.
Fig. 13 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the above embodiment is used to implement the corresponding method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-described embodiment methods, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the revocation method according to any of the above-described embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method according to any of the above embodiments, and have the beneficial effects of the corresponding method embodiment, and are not described herein again.
Based on the same inventive concept, corresponding to any of the above-described embodiment methods, the present application also provides a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the revocation method according to any of the above-described embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the context of the present application, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the application. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the application are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that the embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present application are intended to be included within the scope of the present application.

Claims (16)

1. A revocation method, comprising:
generating and displaying a progress bar based on the editing operation record of the display content in response to a cancel start instruction of the user;
responding to the selection operation of a user to any position on the progress bar, and determining pre-revocation display content;
and deleting the pre-revocation display content in response to a revocation operation instruction of a user.
2. The revocation method according to claim 1, wherein the generating and displaying of the progress bar based on the editing operation record of the display content includes:
and sequencing the editing operation records according to time sequence to generate the progress bar, and displaying the progress bar in a display page.
3. The revocation method of claim 2, wherein said sorting said editing operation records in a time sequence to generate said progress bar comprises:
setting a control area of the progress bar according to the total duration of the generated display content;
setting a mapping relation between any position of the progress bar in the control area and the corresponding editing operation record;
the starting position of the control area is the time point when the first editing operation record is generated, and the ending position of the control area is the time point when the last editing operation record is generated.
4. The revocation method according to claim 3, wherein the determining of pre-revocation display content in response to a user selection operation of an arbitrary position on the progress bar includes:
determining a progress position of a user on the progress bar;
and determining the operation content selected by the user as the pre-revocation display content based on the progress position and the mapping relation between any position of the progress bar in the control area and the editing operation record corresponding to the progress bar.
5. The revocation method of claim 2, wherein said sorting said editing operation records in a time sequence to generate said progress bar comprises:
acquiring the total record number of the editing operation record;
and determining the sub control area of each editing operation recorded on the progress bar based on the total number of records.
6. The revocation method according to claim 5, wherein said determining a sub-control area in which each of said editing operations is recorded on said progress bar comprises:
equally distributing the control areas into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record; alternatively, the first and second electrodes may be,
unevenly distributing the progress bars into the sub-control areas corresponding to the total number of the records, and setting a mapping relation between each sub-control area and the corresponding editing operation record; wherein the sub-control area near the end position is larger than the sub-control area near the start position.
7. The revocation method according to claim 6, wherein the determining of pre-revocation display content in response to a user selection operation of an arbitrary position on the progress bar includes:
determining a progress position of a user on the progress bar;
and determining the operation content selected by the user as the pre-revocation display content based on the progress position and the mapping relation between each sub-control area and the editing operation record corresponding to the sub-control area.
8. The revocation method according to claim 4 or 7, wherein said determining operation content selected by a user as the pre-revocation display content includes:
in response to a progress position of a user on the progress bar comprising a progress point, determining the pre-dismissal display content based on the editing operation record between the progress point and an end position; alternatively, the first and second electrodes may be,
in response to a progress position of a user on the progress bar including a progress area, determining the pre-undo display content based on the editing operation record included within the progress area.
9. The revocation method of claim 8, further comprising:
and generating a preview image after deleting the pre-revocation display content based on the pre-revocation display content, and displaying the preview image on the display page.
10. The revocation method of claim 9, wherein the preview image comprises a thumbnail disposed above the progress bar and corresponding to the progress position.
11. The revocation method according to claim 9, wherein said deleting the pre-revoked display content in the display page in response to a revocation operation instruction by a user includes:
and in response to a write operation instruction of a user, deleting the pre-revoked display content in the display page and executing a write operation.
12. The revocation method of claim 9, further comprising:
responding to a progress playing instruction of a user, and automatically playing an editing operation process of the display content based on the progress bar; and the number of the first and second groups,
and in response to a progress pause playing instruction of a user, pausing automatic playing of the editing operation process of the display content.
13. The revocation method of claim 1, further comprising:
responding to a revocation starting instruction of a user, and generating an intermediate revocation page;
for the intermediate undo page, performing at least one of the following steps,
in response to a user's full dismissal instruction to dismiss the page in the middle, deleting the entire display content,
generating the progress bar in response to a cancel operation instruction of a user for canceling the page in the middle,
and returning to the last display page in response to a return instruction of the user to cancel the page in the middle.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the revocation method according to any of claims 1 to 13 when executing said program.
15. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the revocation method of any of claims 1 to 13.
16. A computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the revocation method of any of claims 1 to 13.
CN202111068866.2A 2021-09-13 2021-09-13 Revocation method, electronic device, storage medium, and computer program product Pending CN113741753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111068866.2A CN113741753A (en) 2021-09-13 2021-09-13 Revocation method, electronic device, storage medium, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111068866.2A CN113741753A (en) 2021-09-13 2021-09-13 Revocation method, electronic device, storage medium, and computer program product

Publications (1)

Publication Number Publication Date
CN113741753A true CN113741753A (en) 2021-12-03

Family

ID=78738345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111068866.2A Pending CN113741753A (en) 2021-09-13 2021-09-13 Revocation method, electronic device, storage medium, and computer program product

Country Status (1)

Country Link
CN (1) CN113741753A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878010A (en) * 2023-03-01 2023-03-31 南方科技大学 Operation interaction method and device, electronic equipment and computer-readable storage medium
CN116186815A (en) * 2023-04-25 2023-05-30 北京国科恒通科技股份有限公司 Data processing method, device, medium and equipment for grid pattern editing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878010A (en) * 2023-03-01 2023-03-31 南方科技大学 Operation interaction method and device, electronic equipment and computer-readable storage medium
CN116186815A (en) * 2023-04-25 2023-05-30 北京国科恒通科技股份有限公司 Data processing method, device, medium and equipment for grid pattern editing

Similar Documents

Publication Publication Date Title
US20190158934A1 (en) Video frame capturing method and device
CN107341018A (en) A kind of method and apparatus for continuing to show view after page layout switch
US10585581B2 (en) Controlling display object on display screen
US20150095839A1 (en) Method and apparatus for media searching using a graphical user interface
CN113741753A (en) Revocation method, electronic device, storage medium, and computer program product
US9176607B2 (en) Input/output apparatus for displaying superposed images including a handwritten image
US9304612B2 (en) Off-screen input capture for mobile device
CN112181554B (en) Interactive interface display method, device, electronic device and storage medium
CN112667118A (en) Method, apparatus and computer readable medium for displaying historical chat messages
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN105786417A (en) Method, device and equipment for dynamically displaying static pictures
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
CN109040767B (en) Live broadcast room loading method, system, server and storage medium
CN108492349B (en) Processing method, device and equipment for writing strokes and storage medium
WO2023246728A1 (en) Information display method and apparatus, electronic device, storage medium, and program product
US8856251B2 (en) Picture processing method and apparatus for instant communication tool
CN113709565B (en) Method and device for recording facial expression of watching video
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN113849106A (en) Page-turning handwriting processing method and device, electronic device and storage medium
CN113559503A (en) Video generation method, device and computer readable medium
CN112462989A (en) Operation method and device of intelligent interaction panel, intelligent interaction panel and medium
CN116166242B (en) Canvas-based measurement card implementation method, device and storage medium
WO2023217122A1 (en) Video clipping template search method and apparatus, and electronic device and storage medium
CN114125181A (en) Video processing method and video processing device
CN116847142A (en) Conference layout method and device

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