CN111629266A - Playing progress display method and device, electronic equipment and storage medium - Google Patents

Playing progress display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111629266A
CN111629266A CN202010281122.8A CN202010281122A CN111629266A CN 111629266 A CN111629266 A CN 111629266A CN 202010281122 A CN202010281122 A CN 202010281122A CN 111629266 A CN111629266 A CN 111629266A
Authority
CN
China
Prior art keywords
progress mark
progress
mark
predicted
playing
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
CN202010281122.8A
Other languages
Chinese (zh)
Other versions
CN111629266B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010281122.8A priority Critical patent/CN111629266B/en
Publication of CN111629266A publication Critical patent/CN111629266A/en
Application granted granted Critical
Publication of CN111629266B publication Critical patent/CN111629266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention relates to a playing progress display method, a playing progress display device, electronic equipment and a storage medium, wherein the method comprises the following steps: if a jump event of a video clip in a target video is monitored in the playing process of the target video, acquiring a playing progress mark corresponding to the video clip played before the jump event is monitored; predicting a predicted progress mark after the skip based on the skip event and the play progress mark; skipping of the video clip in response to the skipping event, and acquiring an actual progress mark corresponding to the skipped video clip; and determining a target progress mark according to the predicted progress mark and the actual progress mark, and displaying. The embodiment of the invention can correct the actual progress mark which is possibly wrong by utilizing the predicted progress mark, ensure the correctness of the finally displayed target progress mark and improve the accuracy of the target progress mark.

Description

Playing progress display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a play progress, an electronic device, and a storage medium.
Background
In a square dance mode of a TV terminal, in order to facilitate a user to quickly jump to watch a previous segment or a next segment when watching a square dance video, a progress bar of the square dance video is divided into a plurality of segments according to the number of segments actually contained in the square dance, each segment corresponds to one segment on the progress bar, each segment is associated with a plurality of image frames, and the plurality of image frames comprise a plurality of video key frames.
However, in practical applications, a video key frame in the square dance video may not be consistent with a critical frame between two adjacent segments, and thus, when a user jumps a segment, it may happen that the user jumps to an erroneous video key frame closest to the critical frame, for example, a first segment corresponds to frames 0 to 20 on a progress bar, and a second segment corresponds to frames 20 to 30 on the progress bar, where a 19 th frame is a video key frame in the first segment, and if it is required to jump to a first frame of the second video segment, that is, when the critical frame is a 20 th frame, if the 20 th frame is not a video key frame, the user jumps to a 19 th frame, and the 19 th frame is located in the first segment, so that after the user jumps to the segment, a situation that a currently played segment is still prompted to be identified as the first segment is caused, and inconvenience is brought to the user.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a playing progress display method, device, electronic device and storage medium.
In a first aspect, the present application provides a method for displaying a play progress, where the method includes:
if a jump event of a video clip in a target video is monitored in the playing process of the target video, acquiring a playing progress mark corresponding to the video clip played before the jump event is monitored;
predicting a predicted progress mark after the skip based on the skip event and the play progress mark;
skipping of the video clip in response to the skipping event, and acquiring an actual progress mark corresponding to the skipped video clip;
and determining a target progress mark according to the predicted progress mark and the actual progress mark, and displaying.
Optionally, the step of predicting the predicted progress mark after the skip based on the skip event and the play progress mark includes:
determining the jumping direction and jumping distance of the video clip based on the jumping event;
and predicting the predicted progress mark after the skip according to the skip direction, the skip distance and the play progress mark.
Optionally, the step of predicting the predicted progress mark after the skip according to the skip direction, the skip distance and the play progress mark includes:
and if the jumping direction is backward jumping, increasing the number of the jumping distances to the playing progress mark to obtain a predicted progress mark.
Optionally, if the jumping direction is backward jumping, the step of predicting the predicted progress mark after jumping according to the jumping direction, the jumping distance, and the playing progress mark further includes:
determining whether the playing progress mark is not the maximum progress mark of a preset jump range;
if the playing progress mark is not the maximum progress mark, executing the step of increasing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the maximum progress mark, determining the playing progress mark as the predicted progress mark.
Optionally, the step of predicting the predicted progress mark after the skip according to the skip direction, the skip distance, and the play progress mark further includes:
and if the jumping direction is forward jumping, reducing the playing progress mark by the number of the jumping distances to obtain a predicted progress mark.
Optionally, if the jumping direction is forward jumping, the step of predicting the predicted progress mark after jumping according to the jumping direction, the jumping distance and the playing progress mark further includes:
determining whether the playing progress mark is not the minimum progress mark of a preset jump range;
if the playing progress mark is not the minimum progress mark, reducing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the minimum progress mark, determining the playing progress mark as the predicted progress mark.
Optionally, the step of determining a target progress indicator according to the predicted progress indicator and the actual progress indicator includes:
judging whether the predicted progress mark is larger than or equal to the actual progress mark;
if the predicted progress mark is larger than or equal to the actual progress mark, determining the predicted progress mark as the target progress mark;
and if the predicted progress mark is smaller than the actual progress mark, determining the actual progress mark as the target progress mark.
In a second aspect, the present application provides a play progress display apparatus, including:
the first acquisition module is used for acquiring a playing progress identifier corresponding to a video clip played before a jump event is monitored if the jump event of the video clip in the target video is monitored in the playing process of the target video;
the prediction module is used for predicting a predicted progress mark after the skip based on the skip event and the play progress mark;
the second acquisition module is used for responding to the jumping event to jump the video clip and acquiring the actual progress mark corresponding to the jumped video clip;
and the determining and displaying module is used for determining and displaying the target progress mark according to the predicted progress mark and the actual progress mark.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and a processor configured to implement the method for displaying a play progress according to any one of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having a program of a playing progress display method stored thereon, where the program of the playing progress display method, when executed by a processor, implements the steps of the playing progress display method according to any one of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, when the jump event of the video clip in the target video is monitored, the playing progress mark corresponding to the video clip played before the jump event is monitored is firstly obtained, then the predicted progress mark after the jump is predicted based on the jump event and the playing progress mark, the jump of the video clip is carried out in response to the jump event, the actual progress mark corresponding to the jumped video clip is obtained, and finally the target progress mark can be determined according to the predicted progress mark and the actual progress mark and displayed.
According to the embodiment of the invention, the actual progress mark corresponding to the skipped video segment is obtained by predicting the skipped predicted progress mark according to the skipping event and the playing progress mark, the predicted progress mark predicted based on the skipping event is combined with the actual progress mark obtained by actually skipping according to the skipping event to determine the final target progress mark, the actual progress mark which is possibly wrong is corrected by using the predicted progress mark, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a play progress display method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an internal structure of a target video according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of step S102 in FIG. 1;
fig. 4 is a structural diagram of a display device of playing progress according to an embodiment of the present application;
fig. 5 is a schematic internal structure 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 embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, a video key frame in a square dance video may not be consistent with a critical frame between two adjacent segments, so that when a user jumps a segment, jumping to an erroneous video key frame closest to the critical frame may occur, for example, a first segment corresponds to frames 0 to 20 on a progress bar, and a second segment corresponds to frames 20 to 30 on the progress bar, where a 19 th frame is a video key frame in the first segment, and when the user needs to jump to the critical frame, the 19 th frame is jumped to because the 20 th frame is not a video key frame, and the 19 th frame is located in the first segment, so that after the user jumps to the segment, the situation that a currently played segment is identified as the first segment is still prompted, and inconvenience is brought to the user. To this end, an embodiment of the present invention provides a method and an apparatus for displaying a play progress, an electronic device, and a storage medium, where the method for displaying a play progress can be applied to a computer, as shown in fig. 1, and the method for displaying a play progress can include the following steps:
step S101, if a jump event of a video clip in a target video is monitored in the playing process of the target video, acquiring a playing progress mark corresponding to the video clip played before the jump event is monitored;
in the embodiment of the present invention, the target video may include a plurality of video segments arranged in series, each video segment may include a plurality of image frames and a plurality of video key frames, an image frame shared by two adjacent video segments is a critical frame, and each video segment is preset with a corresponding progress identifier, for example: progress flag for video clip 1 is 1, progress flag for video clip 2 is 2, progress flag for video clip N is N … …, and so on.
The skip event may be triggered by manually pressing a key of a remote controller (for example, pressing a right direction key on the remote controller to correspondingly skip backwards to a next video segment, pressing a left direction key on the remote controller to correspondingly skip leftwards to a previous video segment, pressing a right fast forward key on the remote controller to correspondingly skip backwards to N video segments (N >1), pressing a left fast forward key on the remote controller to correspondingly skip forwards to N video segments, and the like) or clicking a button control on a screen, or may be automatically triggered when the target video automatically skips to the next video segment after the previous video segment is played, and the skip event may trigger to skip to a first frame of the next video segment, that is: critical frames.
The pointer for recording the progress mark can be preset, and when the jump event is monitored, the jump of the video clip is not carried out, so that the pointer records the progress mark of the video clip which is played before the jump event is monitored, namely the play progress mark.
Step S102, predicting a predicted progress mark after the skip based on the skip event and the playing progress mark;
in practical application, skipping of a video clip refers to skipping to the first frame of the next video clip, and video key frames from two video clips may exist within a preset range (for example, several frames before the critical frame and several frames after the critical frame) centered on the critical frame, so that two situations may occur in a progress mark corresponding to the video clip where the skipped video key frame is located, if skipping backwards, the progress mark corresponding to the video clip where the skipped video key frame is located may be a progress mark of the current video clip or a progress mark of the next video clip, and for example, as shown in fig. 2, if the video clip 2 is currently being played, skipping backwards may be to a video key frame in the video clip 2 or the video clip 3; if the video clip is skipped forward, the progress mark corresponding to the skipped video key frame may be the progress mark of the previous video clip, or may be the progress marks of the skipped two video clips (i.e. the previous video clip of the previous video clip), for example, in fig. 2, assuming that the video clip 3 is currently being played, the skipped video clip 2 or the video clip 3 may be skipped forward, so in this step, the predicted progress mark after the skip needs to be predicted.
In the step, the jumping direction and the jumping distance can be extracted from the attribute parameters of the jumping event, and the predicted progress mark after jumping is predicted according to the jumping direction and the jumping distance.
Step S103, skipping of the video clip in response to the skipping event, and acquiring an actual progress mark corresponding to the skipped video clip;
in this step, the video segment may be skipped according to the parameters of the skip event, for example, if the skip event is a backward skip to the next video segment, the skip to the next video segment may be directly skipped, that is: and after the skipping, because the pointer points to the next video clip after the skipping of the video clip, the progress mark corresponding to the next video clip can be the actual progress mark, and the actual progress mark corresponding to the skipped video clip is obtained.
And step S104, determining a target progress mark according to the predicted progress mark and the actual progress mark, and displaying.
In this step, the target progress marker may be determined according to the magnitude relationship between the predicted progress marker and the actual progress marker and the skip direction.
When a skip event of a video clip in a target video is monitored, firstly, a playing progress mark corresponding to the video clip played before the skip event is monitored is obtained, then, a predicted progress mark after skip is predicted based on the skip event and the playing progress mark, then, skip of the video clip is carried out in response to the skip event, an actual progress mark corresponding to the skipped video clip is obtained, and finally, the target progress mark can be determined according to the predicted progress mark and the actual progress mark and displayed.
According to the embodiment of the invention, the actual progress mark corresponding to the skipped video segment is obtained by predicting the skipped predicted progress mark according to the skipping event and the playing progress mark, the predicted progress mark predicted based on the skipping event is combined with the actual progress mark obtained by actually skipping according to the skipping event to determine the final target progress mark, the actual progress mark which is possibly wrong is corrected by using the predicted progress mark, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In practical application, a user presses a right direction key on a remote controller and correspondingly jumps backwards to a next video clip; or, when pressing the left direction key on the remote controller, and correspondingly jumping to the previous video segment left, in another embodiment of the present invention, as shown in fig. 3, step S102 may include the following steps:
step S201, determining the jumping direction and jumping distance of the video clip based on the jumping event;
in this step, the jump direction may be obtained by reading a parameter of the jump event, for example, a parameter direction in the jump event is 0, which corresponds to forward jump; if the parameter direction is 1, and the backward jump is performed, in practical application, the jump direction may be obtained by reading the value of the parameter direction.
Similarly, the jump distance may be obtained by reading a parameter of the jump event, for example, the parameter distance in the jump event is 1, and a video clip correspondingly jumps forwards/backwards from the current video clip, that is, jumps to the previous video clip or the next video clip; if the parameter distance is 2, corresponding to forward/backward jumping of two video clips from the current video clip, and the like, in practical application, the jump distance may be obtained by reading a value of the parameter distance.
In practical application, a user can configure the jump distance triggered by different trigger modes through preset configuration operation, for example, configure a right direction key on a remote controller, and correspondingly jump backwards to a next video clip; configuring a left direction key on the remote controller, and correspondingly jumping to the last video clip left; configuring a right fast forward key on a remote controller, and correspondingly skipping backwards for N video clips (N > 1); and configuring a left fast forward key on the remote controller, and jumping forward N video clips correspondingly.
And step S202, predicting the predicted progress mark after the skip according to the skip direction, the skip distance and the play progress mark.
In this step, since the progress markers of the video segments are increased backwards, different calculation modes can be predefined in different skip directions, and after the calculation modes are determined according to the skip directions, the skip distance and the playing progress markers are used as parameters to calculate to obtain the predicted progress markers.
The embodiment of the invention can predict the predicted progress mark after the skip according to the skip direction and the skip distance, so that the predicted progress mark is convenient to be subsequently used for correcting the actual progress mark which is possibly wrong, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, the step S202 may include:
and if the jumping direction is backward jumping, increasing the number of the jumping distances to the playing progress mark to obtain a predicted progress mark.
For example, as shown in fig. 2, if the play progress flag is 2 and the skip distance is 1, 2+1 may be 3, that is, 3 is the predicted progress flag;
if the playing progress flag is 2 and the skip distance is 2, 2+2 may be 4, that is, 4 is the predicted progress flag.
In practical applications, the jump distance may also be set to other values, such as 3 or 5, etc., according to practical needs, and in all examples shown and described herein, any particular value should be construed as merely illustrative, and not as a limitation, and thus, other examples of the exemplary embodiments may have different values.
According to the embodiment of the invention, when the jumping direction is backward jumping, the playing progress mark and the jumping distance are calculated by utilizing an addition operation mode to obtain the predicted progress mark, the operation mode of addition is determined according to the change rule of the progress mark of each video clip in practical application, the accuracy of the predicted progress mark is ensured, the actual progress mark which is possibly wrong is corrected by utilizing the predicted progress mark subsequently, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, if the jumping direction is backward jumping, the step S202 further includes:
determining whether the playing progress mark is not the maximum progress mark of a preset jump range;
in the embodiment of the present invention, the preset jumping range may be determined according to the number of video segments in the target video, for example, if the target video includes 10 video segments, the progress flag of the first video segment is 1, the progress flag of the second video segment is 2, and the progress flag of the 10 th video segment of … … is 10 in the ascending order of time, the preset jumping range is 1-10, where the maximum progress flag is 10.
If the playing progress mark is not the maximum progress mark, executing the step of increasing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the maximum progress mark, determining the playing progress mark as the predicted progress mark.
According to the embodiment of the invention, the skip boundary is set, so that the accuracy of the predicted progress mark can be ensured, the problem that the predicted progress mark is inaccurate because the playing progress mark is the maximum progress mark and cannot be increased continuously is solved, the predicted progress mark is convenient to be used for correcting the actual progress mark which is possibly wrong subsequently, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, the step S202 may further include:
and if the jumping direction is forward jumping, reducing the playing progress mark by the number of the jumping distances to obtain a predicted progress mark.
For example, as shown in fig. 2, if the play progress flag is 3 and the skip distance is 1, 3-1 may be 2, that is, 2 is the predicted progress flag;
if the playing progress flag is 3 and the jumping distance is 2, 3-2 may be 1, and 1 is the predicted progress flag.
In practical applications, the jump distance may also be set to other values, such as 8 or 10, etc., according to practical needs, and in all examples shown and described herein, any particular value should be construed as merely illustrative, and not limiting, and thus, other examples of the exemplary embodiments may have different values.
According to the embodiment of the invention, when the jumping direction is forward jumping, the playing progress mark and the jumping distance are calculated by using a subtraction operation mode to obtain the predicted progress mark, the subtraction operation mode is determined according to the change rule of the progress mark of each video clip in practical application, the accuracy of the predicted progress mark is ensured, the actual progress mark which is possibly wrong is corrected by using the predicted progress mark subsequently, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, if the jumping direction is forward jumping, the step S202 further includes:
determining whether the playing progress mark is not the minimum progress mark of a preset jump range;
in the embodiment of the present invention, the preset jumping range may be determined according to the number of video segments in the target video, for example, if the target video includes 10 video segments, the progress flag of the first video segment is 1, the progress flag of the second video segment is 2, and the progress flag of the 10 th video segment of … … is 10 in the ascending order of time, the preset jumping range is 1-10, where the minimum progress flag is 1.
If the playing progress mark is not the minimum progress mark, reducing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the minimum progress mark, determining the playing progress mark as the predicted progress mark.
According to the embodiment of the invention, the skip boundary is set, so that the accuracy of the predicted progress mark can be ensured, the problem that the predicted progress mark is inaccurate because the playing progress mark is the minimum progress mark and cannot be continuously reduced is solved, the predicted progress mark is convenient to be subsequently used for correcting the actual progress mark which is possibly wrong, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, as shown in fig. 3, the step S104 may include:
step S301, judging whether the predicted progress mark is larger than or equal to the actual progress mark;
in this step, the predicted progress flag and the actual progress flag may be compared, and then a magnitude relationship between the predicted progress flag and the actual progress flag may be obtained.
Step S302, if the predicted progress mark is larger than or equal to the actual progress mark, determining the predicted progress mark as the target progress mark;
step S303, if the predicted progress flag is smaller than the actual progress flag, determining the actual progress flag as the target progress flag.
In practical application, only in a time period from the time when the jump event is monitored to the time when the video clip jumps in response to the jump event, the situation that the predicted progress mark is smaller than the actual progress mark may occur when the video clip currently being played finishes playing and jumps to the next video clip, because the actual progress mark is determined by the jump distance of the two jumps, for example, in fig. 2, when the monitored jump event jumps from the video clip 2 to the video clip 3, the jump event that the video clip finishes playing and triggers jumps to the next video clip is monitored, so that the actual progress mark is 4 after the video clip jumps in response to the two jump events; similarly, when the monitored jumping event is jumping from the video segment 2 to the video segment 4, the jumping event of jumping to the next video segment triggered by the completion of playing the video segment is monitored, so that after the jumping of the video segment is performed in response to the two jumping events, the actual progress mark is 5.
According to the embodiment of the invention, different target progress marks can be determined according to the size relationship between the predicted progress mark and the actual progress mark, the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
In another embodiment of the present invention, there is also provided a play progress display apparatus, as shown in fig. 4, the apparatus including:
a first obtaining module 11, configured to, if a skip event of a video clip in a target video is monitored in a playing process of the target video, obtain a playing progress identifier corresponding to the video clip played before the skip event is monitored;
the prediction module 12 is configured to predict a predicted progress identifier after the skip based on the skip event and the play progress identifier;
a second obtaining module 13, configured to perform a skip of a video segment in response to the skip event, and obtain an actual progress identifier corresponding to the skipped video segment;
and the determining and displaying module 14 is configured to determine and display a target progress indicator according to the predicted progress indicator and the actual progress indicator.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the playing progress display method in the embodiment of the method when executing the program stored in the memory.
In the electronic device provided by the embodiment of the invention, when a jump event of a video clip in a target video is monitored, a processor executes a program stored in a memory, firstly obtains a play progress mark corresponding to the video clip played before the jump event is monitored, then predicts a predicted progress mark after the jump based on the jump event and the play progress mark, then responds to the jump event to jump the video clip, obtains an actual progress mark corresponding to the jumped video clip, and finally determines and displays the target progress mark according to the predicted progress mark and the actual progress mark, and corrects the actual progress mark which is possibly wrong by using the predicted progress mark, so that the correctness of the finally displayed target progress mark is ensured, and the accuracy of the target progress mark is improved.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In still another embodiment of the present invention, there is also provided a computer readable storage medium having a program of a playing progress display method stored thereon, the program of the playing progress display method, when executed by a processor, implementing the steps of the playing progress display method described in the foregoing method embodiment.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A playing progress display method is characterized by comprising the following steps:
if a jump event of a video clip in a target video is monitored in the playing process of the target video, acquiring a playing progress mark corresponding to the video clip played before the jump event is monitored;
predicting a predicted progress mark after the skip based on the skip event and the play progress mark;
skipping of the video clip in response to the skipping event, and acquiring an actual progress mark corresponding to the skipped video clip;
and determining a target progress mark according to the predicted progress mark and the actual progress mark, and displaying.
2. The playing progress display method according to claim 1, wherein the step of predicting the predicted progress mark after the skip based on the skip event and the playing progress mark comprises:
determining the jumping direction and jumping distance of the video clip based on the jumping event;
and predicting the predicted progress mark after the skip according to the skip direction, the skip distance and the play progress mark.
3. The playing progress display method according to claim 2, wherein the step of predicting the predicted progress mark after the skip according to the skip direction, the skip distance, and the playing progress mark comprises:
and if the jumping direction is backward jumping, increasing the number of the jumping distances to the playing progress mark to obtain a predicted progress mark.
4. The playing progress display method according to claim 3, wherein if the jumping direction is backward jumping, the step of predicting the predicted progress mark after jumping according to the jumping direction, the jumping distance, and the playing progress mark further comprises:
determining whether the playing progress mark is not the maximum progress mark of a preset jump range;
if the playing progress mark is not the maximum progress mark, executing the step of increasing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the maximum progress mark, determining the playing progress mark as the predicted progress mark.
5. The playing progress display method according to claim 2, wherein the step of predicting the predicted progress mark after the skip according to the skip direction, the skip distance, and the playing progress mark further comprises:
and if the jumping direction is forward jumping, reducing the playing progress mark by the number of the jumping distances to obtain a predicted progress mark.
6. The playing progress display method according to claim 5, wherein if the jumping direction is forward jumping, the step of predicting the predicted progress mark after jumping according to the jumping direction, the jumping distance, and the playing progress mark further comprises:
determining whether the playing progress mark is not the minimum progress mark of a preset jump range;
if the playing progress mark is not the minimum progress mark, reducing the playing progress mark by the number of the jump distances to obtain a predicted progress mark;
and if the playing progress mark is the minimum progress mark, determining the playing progress mark as the predicted progress mark.
7. The play progress display method according to claim 1, wherein the step of determining a target progress indicator according to the predicted progress indicator and the actual progress indicator includes:
judging whether the predicted progress mark is larger than or equal to the actual progress mark;
if the predicted progress mark is larger than or equal to the actual progress mark, determining the predicted progress mark as the target progress mark;
and if the predicted progress mark is smaller than the actual progress mark, determining the actual progress mark as the target progress mark.
8. A play progress display apparatus, comprising:
the first acquisition module is used for acquiring a playing progress identifier corresponding to a video clip played before a jump event is monitored if the jump event of the video clip in the target video is monitored in the playing process of the target video;
the prediction module is used for predicting a predicted progress mark after the skip based on the skip event and the play progress mark;
the second acquisition module is used for responding to the jumping event to jump the video clip and acquiring the actual progress mark corresponding to the jumped video clip;
and the determining and displaying module is used for determining and displaying the target progress mark according to the predicted progress mark and the actual progress mark.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method of displaying a progress of play according to any one of claims 1 to 7 when executing the program stored in the memory.
10. A computer-readable storage medium, having stored thereon a program of a play progress display method, which when executed by a processor, implements the steps of the play progress display method according to any one of claims 1 to 7.
CN202010281122.8A 2020-04-10 2020-04-10 Playing progress display method and device, electronic equipment and storage medium Active CN111629266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010281122.8A CN111629266B (en) 2020-04-10 2020-04-10 Playing progress display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010281122.8A CN111629266B (en) 2020-04-10 2020-04-10 Playing progress display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111629266A true CN111629266A (en) 2020-09-04
CN111629266B CN111629266B (en) 2022-02-11

Family

ID=72272482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010281122.8A Active CN111629266B (en) 2020-04-10 2020-04-10 Playing progress display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111629266B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112685367A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 File sharing progress indication method, electronic device and computer readable storage medium
CN115225970A (en) * 2021-04-16 2022-10-21 海信视像科技股份有限公司 Display device and video skipping method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367925A (en) * 1999-03-30 2002-09-04 提维股份有限公司 System for automatic playback position correction after fast forward or reverse
US20130336638A1 (en) * 2012-06-14 2013-12-19 International Business Machines Corporation Switching between time order and popularity order sending of video segments
US20160033325A1 (en) * 2014-07-30 2016-02-04 Corning Optical Communications LLC Non-contact methods of measuring insertion loss in optical fiber connectors
US20170212669A1 (en) * 2016-01-26 2017-07-27 Adobe Systems Incorporated Input techniques for virtual reality headset devices with front touch screens
EP3404446A1 (en) * 2017-05-15 2018-11-21 STMicroelectronics Srl Device module for the detection of temperature compensated crystal oscillator originated micro-jumps in a global navigation satellite system and related detection method
CN109168037A (en) * 2017-01-05 2019-01-08 腾讯科技(深圳)有限公司 Video broadcasting method and device
CN109286846A (en) * 2018-09-29 2019-01-29 传线网络科技(上海)有限公司 Control method for playing back and device, electronic equipment and storage medium
CN109391856A (en) * 2018-10-22 2019-02-26 百度在线网络技术(北京)有限公司 Video broadcasting method, device, computer equipment and storage medium
CN110719515A (en) * 2018-07-12 2020-01-21 北京优酷科技有限公司 Video playing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367925A (en) * 1999-03-30 2002-09-04 提维股份有限公司 System for automatic playback position correction after fast forward or reverse
US20130336638A1 (en) * 2012-06-14 2013-12-19 International Business Machines Corporation Switching between time order and popularity order sending of video segments
US20160033325A1 (en) * 2014-07-30 2016-02-04 Corning Optical Communications LLC Non-contact methods of measuring insertion loss in optical fiber connectors
US20170212669A1 (en) * 2016-01-26 2017-07-27 Adobe Systems Incorporated Input techniques for virtual reality headset devices with front touch screens
CN109168037A (en) * 2017-01-05 2019-01-08 腾讯科技(深圳)有限公司 Video broadcasting method and device
EP3404446A1 (en) * 2017-05-15 2018-11-21 STMicroelectronics Srl Device module for the detection of temperature compensated crystal oscillator originated micro-jumps in a global navigation satellite system and related detection method
CN110719515A (en) * 2018-07-12 2020-01-21 北京优酷科技有限公司 Video playing method and device
CN109286846A (en) * 2018-09-29 2019-01-29 传线网络科技(上海)有限公司 Control method for playing back and device, electronic equipment and storage medium
CN109391856A (en) * 2018-10-22 2019-02-26 百度在线网络技术(北京)有限公司 Video broadcasting method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112685367A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 File sharing progress indication method, electronic device and computer readable storage medium
CN112685367B (en) * 2020-12-30 2023-01-31 上海掌门科技有限公司 File sharing progress indication method, electronic equipment and computer readable storage medium
CN115225970A (en) * 2021-04-16 2022-10-21 海信视像科技股份有限公司 Display device and video skipping method thereof

Also Published As

Publication number Publication date
CN111629266B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN111629266B (en) Playing progress display method and device, electronic equipment and storage medium
CN110392305B (en) Video static picture detection method, terminal and computer readable storage medium
EP2998848A1 (en) Method, device, and apparatus for controlling screen rotation
CN108363507B (en) Touch screen dead zone compensation method and device, electronic equipment and storage medium
US8116593B2 (en) Image processing apparatus, image processing method, and program for determining a zoom area for a displayed zoom image
CN108574857B (en) Program recommendation method based on user behavior, smart television and storage medium
CN104834597A (en) Method and system for measuring application response duration
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
CN108566564B (en) Page focus jumping method, television and computer readable storage medium
US10380172B2 (en) Presentation support system, presentation support apparatus, and presentation support method
WO2017068634A1 (en) Work assistance system, work assistance method, and work assistance program
JP4814265B2 (en) Broadcast station identification device, broadcast station identification method, and broadcast station identification program
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
CN110020264B (en) Method and device for determining invalid hyperlinks
CN109408179B (en) Method and device for determining comprehensive screen of terminal equipment
CN110275753B (en) Value added service acquisition method, device and equipment of application program
CN111580732A (en) Page content display method and device, electronic equipment and computer storage medium
CN109344335B (en) Content recommendation method and electronic equipment
CN111079512A (en) Community-based anti-lost method, community server and storage medium
CN113587792B (en) Charging controller LCD screen calibration triggering method, system, equipment and medium
CN116150536A (en) Page returning method, device, equipment and medium
CN111767206B (en) Statistical method and device for content unit exposure presentation rate and electronic equipment
CN109725864B (en) Method and system for customizing resolution based on EDID
US20170168662A1 (en) Display Method and Electronic Device for Rapidly Positioning Play Time Point
CN114281445A (en) Page display method and device, electronic equipment and 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