CN113194352B - Multimedia playing progress recording method, device, equipment and storage medium - Google Patents

Multimedia playing progress recording method, device, equipment and storage medium Download PDF

Info

Publication number
CN113194352B
CN113194352B CN202110466235.XA CN202110466235A CN113194352B CN 113194352 B CN113194352 B CN 113194352B CN 202110466235 A CN202110466235 A CN 202110466235A CN 113194352 B CN113194352 B CN 113194352B
Authority
CN
China
Prior art keywords
playing
multimedia
preset
key point
progress
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110466235.XA
Other languages
Chinese (zh)
Other versions
CN113194352A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110466235.XA priority Critical patent/CN113194352B/en
Publication of CN113194352A publication Critical patent/CN113194352A/en
Application granted granted Critical
Publication of CN113194352B publication Critical patent/CN113194352B/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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/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 embodiment of the invention discloses a method, a device, equipment and a storage medium for recording multimedia playing progress, which relate to the field of automatic program design, and the method comprises the following steps: if the multimedia playing operation is obtained, determining a playing segment of the multimedia which is played; determining and recording the played playing key points according to the playing segments and at least one playing key point preset in the multimedia; and determining the playing progress of the multimedia according to the played key points and all the played key points in the multimedia. The technical scheme of the embodiment of the invention can conveniently record the multimedia playing progress of the user under the condition of ensuring the accurate recording of the playing progress.

Description

Multimedia playing progress recording method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to an automatic programming technology, in particular to a method, a device, equipment and a storage medium for recording a multimedia playing progress.
Background
With the vogue of online learning, network-based online learning courses have emerged in large numbers.
Most of these learning courses are presented to the user in a multimedia manner, such as video and audio, and after the user watches the video or listens to the audio, recording the progress of the user watching or listening becomes an important learning measure. Taking a video as an example, the current mainstream video watching progress recording scheme compares the total duration of the video by counting the watching duration of a user, so as to obtain the video watching progress. The watching duration is generally triggered at regular time, and the watching duration is recorded once to accumulate the progress. For example, recording the watching duration once every two minutes, and recording the watching duration plus two minutes.
The statistical scheme of the watching duration has the following problems that the user may be interrupted or paused at any time in the watching process, the playing behavior of the user needs to be monitored for the situation, and when the user is determined to have the interruption or pause behavior, the watching duration is stopped to be triggered and recorded, so that the processing process is complicated.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for recording multimedia playing progress, so as to conveniently record the progress of a user in playing multimedia.
In a first aspect, an embodiment of the present invention provides a multimedia playing progress recording method, including:
if the multimedia playing operation is acquired, determining a playing segment played by the multimedia;
determining and recording the played playing key points according to the playing segments and at least one playing key point preset in the multimedia;
and determining the playing progress of the multimedia according to the played key points and all the played key points in the multimedia.
In a second aspect, an embodiment of the present invention further provides a multimedia playing progress recording device, where the device includes:
the playing segment determining module is used for determining a playing segment which is played by the multimedia if the multimedia playing operation is obtained;
the playing point determining module is used for determining and recording the played playing key points according to the playing segments and at least one playing key point preset in the multimedia;
and the playing progress determining module is used for determining the playing progress of the multimedia according to the playing key points which are already played in the multimedia and all the playing key points.
In a third aspect, an embodiment of the present invention further provides a multimedia playing progress recording device, where the multimedia playing progress recording device includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the multimedia play progress recording method according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to execute the multimedia playing progress recording method provided in any embodiment of the present invention.
The playing key point which is played is determined through the played multimedia playing segment and the playing key point which is preset in the multimedia, and then the playing progress of the multimedia is determined according to the playing key point which is played, so that the problem that the playing progress recording process is complex to process when the multimedia playing is stopped due to the fact that the multimedia playing time length is counted regularly is solved, and the effect of conveniently recording the progress of the multimedia playing of a user under the condition that the playing progress recording is accurate is achieved.
Drawings
Fig. 1 is a flowchart of a multimedia playing progress recording method according to an embodiment of the present invention;
fig. 2 is a flowchart of a multimedia playing progress recording method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a multimedia playing progress recording method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multimedia playing progress recording apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a multimedia playing progress recording device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a multimedia playing progress recording method according to an embodiment of the present invention, where the embodiment is applicable to recording a multimedia playing progress of a user in a process of playing multimedia on a terminal device, and the method can be executed by a multimedia playing progress recording device, which can be implemented by hardware and/or software and can be generally integrated in the terminal device, such as a personal computer, a smart phone, and the like.
The method specifically comprises the following steps:
step 110, if a multimedia playing operation is obtained, determining a playing segment of the multimedia which is already played;
the user plays multimedia on the terminal equipment, the multimedia can be video or audio, and online streaming media or multimedia stored locally in the terminal can be played through the terminal equipment. The playing operation of the multimedia played by the user in the terminal device may be an operation of the user clicking a playing button on a multimedia playing interface, for example, the user uses a mobile phone to play an online learning video, clicks the playing button on an interface of a video playing application program or receives a voice playing instruction input by the user, starts playing the video, records a position where the video starts playing, and if the video playing is not paused or interrupted and a progress bar is not fast forwarded or dragged, a playing segment that has already been played is located between the position where the video starts playing and the current playing position. If a pause or interruption occurs, for example, if the user clicks a pause button or exits the playing interface, the playing segment that has been played is located between the position where the playing is started and the position where the video is stopped, the playing segment can be continuously calculated if the video is continuously played from the pause or interruption, or another playing segment that has been played can be recorded at the pause or interruption as the new position where the playing is started. If the user fast forwards, fast backwards or drags the progress bar to adjust the playing position, the playing segment which is already played is between the position where the playing is started and the position where the video is played when the video is fast forwarded or dragged, for example, the video starts playing from the beginning, when the video is played to the 1 st minute, the user fast forwards for 10 seconds, then the playing segment which is already played is between the beginning of the video and the 1 st minute, and 1 minute and 10 seconds become the new position where the playing is started, and are used for calculating another playing segment. It should be noted that fast forward and fast backward in this embodiment refer to skipping forward or backward for a preset duration, or skipping forward or backward for a duration corresponding to a user operation, which is different from the double-speed playing, and the content in the skipped duration is not played, that is, the content acquired by the skipped duration is not played by the user. Therefore, it can be understood that the play segment in which the determined multimedia has been played may be one or more.
Step 120, determining and recording the played playing key point according to the playing segment and at least one playing key point preset in the multimedia;
at least one play key point is preset in the multimedia, and the play key point can be a time node or a certain frame in the multimedia. The playing key points can be uniformly distributed, for example, one playing key point is set every 5 seconds, or the multimedia is equally divided, the playing key points are set at equally divided points, for example, the multimedia is equally divided by 4, and the playing key points are set at 1/4, 1/2, 3/4 and the end respectively. The playing key points can also be set according to the operation of a manager, for example, a learning course video, dense playing key points are set for video paragraphs of important knowledge points, and sparse playing key points are set for video paragraphs of non-important knowledge points. According to the starting position of the playing segment, it can be determined which playing key point or playing key points are included in the playing segment, and these playing key points included in the playing segment are already played, and these playing key points that have been already played are recorded for showing the progress of the multimedia playing.
And step 130, determining the playing progress of the multimedia according to the playing key points already played in the multimedia and all the playing key points.
After the played playing key points are recorded, all the playing key points in the multimedia are acquired, so that which parts of the multimedia are partially passed can be determined, and the playing progress of the multimedia is determined. The playing progress can be a ratio of the played playing segment to the total playing length of the multimedia.
According to the technical scheme of the embodiment, the played playing key point is determined through the played multimedia playing segment and the preset playing key point in the multimedia, the playing progress of the multimedia is further determined according to the played playing key point, the problem that the playing progress recording process is complex to process when the multimedia playing is stopped due to the fact that the multimedia playing duration is counted regularly is solved, and the effect of conveniently recording the progress of the multimedia playing of a user under the condition that the playing progress recording is accurate is achieved.
Example two
Fig. 2 is a flowchart of a multimedia playing progress recording method according to a second embodiment of the present invention, where the multimedia playing progress recording method according to the second embodiment of the present invention is further refined based on the above technical solution, and optionally, before determining and recording the playing key point that has been played according to the playing segment and at least one playing key point preset in multimedia, the method further includes: and setting at least one play key point in the multimedia according to the multimedia time length and the play key point setting condition. The multimedia playing progress recording method provided by the embodiment specifically comprises the following steps:
step 210, if a multimedia playing operation is obtained, determining a playing segment of the multimedia which has been played;
step 220, setting at least one playing key point in the multimedia according to the multimedia time length and the playing key point setting condition;
the playing key points may be uniformly distributed in the multimedia, and the playing key points need to be preset before the playing key points which have been played are determined by the playing key points and the playing segments. It can be understood that the step of setting the playing key point in the multimedia and the step 210 do not have a specific sequence, and the sequence of the step 210 and the step 220 shown in fig. 2 does not limit the sequence of the two steps. For multimedia with different durations, different playing key point setting modes can be provided. The playing key point setting condition may be that multimedia time length is used as a measurement condition, a plurality of different time length intervals are set, each time length interval corresponds to a respective playing key point setting mode, the playing key point setting mode may be that playing key points are sequentially set at fixed time length intervals, or multimedia is equally divided by equal division quantity, and playing key points are set at equal division points and at the end. More playing key points can be set for multimedia with longer duration, and the interval between adjacent playing key points can be larger when the multimedia duration is longer.
Step 230, determining and recording the played playing key point according to the playing segment and at least one playing key point preset in the multimedia;
and 240, determining the playing progress of the multimedia according to the playing key points already played in the multimedia and all the playing key points. The multimedia playing progress is determined by the terminal equipment used by the user, and then the multimedia playing progress is reported to the server, the terminal equipment can report the multimedia playing progress to the server when the user leaves the multimedia playing interface, the multimedia playing is finished or the playing is interrupted, and can also report the multimedia playing progress according to a preset reporting time interval in the multimedia playing process. For the situation of reporting the playing progress of the multimedia in the multimedia playing process, the reporting time interval can be set according to the interval of the playing key points, and the larger the interval of the playing key points is, the larger the reporting time interval is.
Optionally, the setting at least one play key point in the multimedia according to the multimedia duration and the play key point setting condition includes:
comparing the multimedia time length with the boundaries of at least two preset time length intervals, and determining the preset time length interval to which the multimedia time length belongs;
and setting at least one playing key point in the multimedia according to a playing key point setting mode corresponding to the preset time interval to which the multimedia time belongs.
For multimedia with short duration, play key points can be set in the multimedia according to a preset number, and for multimedia with longer duration, play key points can be set in the multimedia according to a preset time interval.
Optionally, the setting, according to a playing key point setting manner corresponding to the preset duration interval to which the multimedia duration belongs, of at least one playing key point in the multimedia includes:
if the multimedia time length is less than or equal to a first preset time length, setting a playing key point at a multimedia preset playing position;
if the multimedia time length is longer than the first preset time length and is less than or equal to a second preset time length, setting one playing key point every other first preset interval time from the starting playing time of the multimedia;
if the multimedia time length is longer than the second preset time length and is less than or equal to a third preset time length, setting one play key point every second preset interval time from the starting play time of the multimedia;
if the multimedia time length is longer than the third preset time length, setting one play key point every third preset interval time from the starting play time of the multimedia;
the first preset time length, the second preset time length and the third preset time length are sequentially increased; the first preset interval, the second preset interval and the third preset interval are sequentially increased.
For example, 1, for multimedia with the multimedia duration less than or equal to 5 seconds, a playing key point is set, which may be set at a middle point of the multimedia. 2. For multimedia with the multimedia duration of 5 seconds less than or equal to 1 minute, setting a play key point every 5 seconds, recording the play progress every 5 seconds, and submitting the play progress every 5 seconds. 3. Setting a play key point according to 5 seconds for multimedia with the multimedia duration of 1 minute < the multimedia duration of 10 minutes, recording the play progress every 5 seconds, and submitting the play progress every 10 seconds. 4. Setting a playing key point according to 10 seconds for multimedia with the multimedia duration of 10 minutes < 30 minutes, recording the playing progress every 10 seconds, and submitting the playing progress every 20 seconds. 6. And (3) setting a playing key point according to 20 seconds for the multimedia with the multimedia duration being more than 30 minutes, recording the playing progress every 20 seconds, and submitting the playing progress every 40 seconds.
The playing key point setting scheme is theoretically more finely divided, and the recording progress is more accurate. But here a realistic constraint must be considered: the finer the segmentation of the video key points is, the more frequent the progress recording action is, which causes the pressure of front-end processing of the user to be high and the requirement on the processing capacity of a machine of the user to be high. In addition, the more frequently we submit schedules to the backend, the greater the backend request pressure and the higher the requirements on the backend server. So we must take a balance between accuracy of the cut and machine performance pressure, and the cut that is not ideal is too fine. The segmentation granularity needs to be adjusted according to actual conditions. The longer the video, the larger the granularity of segmentation, considering different video durations. Because of the large video, a certain key point is lost and is not recorded, and the whole influence is not large.
According to the technical scheme of the embodiment, the playing key points are set according to the multimedia duration, so that the pressure of related equipment is reduced under the condition that the playing progress record is accurate.
EXAMPLE III
Fig. 3 is a flowchart of a multimedia playing progress recording method according to a third embodiment of the present invention, where the multimedia playing progress recording method according to the present embodiment is further detailed based on the foregoing technical solution, and the multimedia playing progress recording method according to the present embodiment specifically includes:
step 310, if a multimedia playing operation is obtained, determining a playing segment of the multimedia which is already played;
step 320, determining the playing key points covered by the playing segment as the playing key points already played according to the starting and ending positions of the playing segment;
the playing key points contained between the start and stop positions of the playing segments are determined as the playing key points covered by the playing segments, and the playing segments are considered to cover the playing key points under the condition that the playing key points are just at the start and stop positions of the playing segments.
Step 330, modifying the current value of the element in the progress record array corresponding to the played playing key point according to a preset value modification mode;
and the elements contained in the progress record array correspond to the playing key points one by one and are initialized to preset initial values when the progress record array is generated. Setting a progress record array, wherein the number of elements in the progress record array is the same as the number of playing key points, all elements in the sequence from beginning to end correspond to the playing key points in the sequence from beginning to end one to one, and the numerical values of the elements in the progress record array can reflect whether the corresponding playing key points are played and how many times the playing key points are played. The elements in the progress record array are initially preset initial values, for example, the preset initial values are 0. When the playing key point is played, the element numerical value in the corresponding progress record array is modified, and the preset numerical value modification mode can add or subtract a fixed value to the current numerical value of the element. For example, if the initial value is set to 0, and a certain playing key point is played once, 1 is added to the corresponding element, and the corresponding element is played again, or 1 may be added.
Step 340, determining the playing progress of the multimedia according to the elements of the non-preset initial numerical value in the progress record array and the total number of the elements of the progress record array.
The elements with the non-preset initial numerical values indicate that the corresponding playing key points are played, and then the elements with the non-preset initial numerical values and the total number of the elements can determine which playing key points have been played, and can determine the playing key points which have been played for several times, so as to determine the playing progress of the multimedia.
Optionally, the determining the playing progress of the multimedia according to the element, which is not the preset initial value, in the progress record array and the progress record array includes:
calculating the ratio of the number of elements which are not preset initial values to the total number of the elements to serve as the playing progress of the multimedia; or the like, or, alternatively,
and taking the variable quantity of the elements with the non-preset initial numerical values relative to the preset initial numerical values as the weight of the elements with the non-preset initial numerical values, and calculating the weighted ratio of the number of the elements with the non-preset initial numerical values and the total number of the elements to be used as the playing progress of the multimedia.
Illustratively, for one video, for example, 8 minutes of video.
1. According to the technical scheme, 96 playing key points are cut out by selecting one playing key point every 5 seconds, and then [0,0 \8230, 0] progress record arrays consisting of 96 0 are formed. These 96 play key points correspond to time axes of 5 seconds, 10 seconds, and 15 seconds. In addition, each number in the array, initially 0, indicates that the key point has not yet been recorded for play.
2. When a user opens a video playing page, the front-end page first obtains video information, which includes a progress record array corresponding to the video and playing key point segmentation granularity information of the progress record array, for example, a current video segments a playing key point in 5 seconds.
3. When a user starts playing a video, the front-end page monitors a playing progress event of the video (a player provides the event, which may be triggered 4 times per second, and different players are slightly different), if the current playing time reaches the playing key point of 5 seconds, the first zero in the progress record array is set to 1, if the playing time reaches the playing key list of 10 seconds, the second zero in the array is set to 1, and so on, if the user plays for 1 minute continuously, the progress record array changes to the arrays of the first 12 1, and the remaining arrays are 0: [1,1,1' \ 8230, 1,0,0,0 \8230and0,0 ]. For the array, the video playing progress can be calculated by simply dividing the number of the inner 1 by the total element number of the array, that is, 12/96=12.5%.
3. If the user pauses during the playing process, the video playing progress event does not exist, and the recording progress cannot be triggered naturally.
4. If the user drags the progress bar, the progress bar is not played in the dragging process, and a video playing progress event cannot be triggered. And after the drag and drop are finished, continuing to play, and recording the playing key points in the array because the middle video segment is not played. For example, a user normally plays for 1 minute first, then drags to a 3-minute position, and then continues to play for 1 minute, then the first 12 key points are triggered, 12 1 s are recorded, the next 12 key points are not played, the array is also recorded as 0, from the 25 th key point (125-second position) to the 36 th key time point (180 seconds), the array is recorded as 1, that is, the progress record array is: <xnotran> [1,1 … 1,1,0,0,0 … 0,0,1,1,1 … 1,1,0,0,0 … 0,0,0] 12 1, 12 0, 12 1, 0. </xnotran>
Thus, the calculation progress is as follows: 24/96=25%. It can be seen that dragging does not affect the recording progress, and completely conforms to the fact.
5. In addition, if the user repeatedly plays a certain section of the video, the progress recording array can also correctly record the progress. For example: if the user watches the first minute, drags the progress bar to the beginning, and watches the first minute once again, the front 12 key time points are all triggered twice, and the array records as [2,2 \8230; 2,0 \8230; 0], where there are 12 front 2, and the rest are all 0. From this array we clearly record that the user looked at 2 times the previous minute. At this time, the viewing progress is calculated, and if the duration of the repeated viewing is considered as not effective viewing, the number of the non-0 digits 12 is divided by the total number of the digits 96, that is, 12/96=12.5%. If we consider the length of the repeat viewing to also be in progress, 2+ \8230 ++ 2 (12/2)/96 =25% can be recorded.
6. The above progress recording is realized by updating the progress recording array mainly depending on the front-end page, and the array is also stored in the browser cache. The group is submitted to the back end of the server and stored, so that the video playing progress is not lost and is stored persistently. According to the performance of a back-end server, the simultaneous online playing amount of a platform user and the like, the frequency of submitting the back-end records is that the front-end records are submitted to the back-end records twice and once.
According to the technical scheme, the playing key points of playing are recorded by setting the progress recording array, so that the multimedia playing progress is calculated conveniently, the problem of inaccurate playing progress statistics when the progress bar is dragged is solved, the multimedia playing segments played repeatedly for many times can be reflected, and the condition that the user plays multimedia can be reflected more accurately.
Example four
Fig. 4 is a schematic structural diagram of a multimedia playing progress recording device according to a fourth embodiment of the present invention, where the multimedia playing progress recording device according to the present embodiment specifically includes:
a playing segment determining module 410, configured to determine a playing segment that has been played by the multimedia if the multimedia playing operation is obtained;
a playing point determining module 420, configured to determine and record a playing key point that has been played according to the playing segment and at least one playing key point preset in the multimedia;
the playing progress determining module 430 is configured to determine a playing progress of the multimedia according to the playing key points already played in the multimedia and all the playing key points.
According to the technical scheme of the embodiment, the played playing key point is determined through the played multimedia playing segment and the preset playing key point in the multimedia, the playing progress of the multimedia is further determined according to the played playing key point, the problem that the playing progress recording process is complex to process when the multimedia playing is stopped by counting the playing time length regularly is solved, and the effect of conveniently recording the progress of the multimedia playing of a user under the condition that the playing progress recording is accurate is achieved.
Optionally, the multimedia playing progress recording apparatus further includes:
and the playing key point setting module is used for setting at least one playing key point in the multimedia according to the multimedia time length and the playing key point setting conditions before the playing key point which is played is determined and recorded according to the playing segment and at least one playing key point preset in the multimedia.
Optionally, the playing key point setting module includes:
the multimedia time length attribution unit is used for comparing the multimedia time length with the boundaries of at least two preset time length intervals and determining the preset time length interval to which the multimedia time length belongs;
and the playing key point setting unit is used for setting at least one playing key point in the multimedia according to a playing key point setting mode corresponding to the preset time interval to which the multimedia time belongs.
Optionally, the play key point setting unit is specifically configured to:
if the multimedia time length is less than or equal to a first preset time length, setting a play key point at a multimedia preset play position;
if the multimedia time length is longer than the first preset time length and is less than or equal to a second preset time length, setting one playing key point every other first preset interval time from the starting playing time of the multimedia;
if the multimedia time length is longer than the second preset time length and is less than or equal to a third preset time length, setting one play key point every second preset interval time from the starting play time of the multimedia;
if the multimedia time length is longer than the third preset time length, setting one play key point every third preset interval time from the starting play time of the multimedia;
the first preset time length, the second preset time length and the third preset time length are increased in sequence; the first preset interval, the second preset interval and the third preset interval are sequentially increased.
Optionally, the play point determining module includes:
a playing point determining unit, configured to determine, according to the start-stop position of the playing segment, the playing key point covered by the playing segment as the playing key point that has already been played;
the playing point recording unit is used for modifying the current numerical value of an element corresponding to the played playing key point in the progress recording array according to a preset numerical value modification mode; and the elements contained in the progress record array correspond to the playing key points one by one and are initialized to preset initial values when the progress record array is generated.
Optionally, the playing progress determining module includes:
and the playing progress determining unit is used for determining the playing progress of the multimedia according to the elements of the non-preset initial numerical value in the progress record array and the total number of the elements of the progress record array.
Optionally, the play progress determining unit is specifically configured to:
calculating the ratio of the number of elements which are not preset initial values to the total number of the elements to be used as the playing progress of the multimedia; or the like, or a combination thereof,
and taking the variable quantity of the elements with the non-preset initial numerical values relative to the preset initial numerical values as the weight of the elements with the non-preset initial numerical values, and calculating the weighted ratio of the number of the elements with the non-preset initial numerical values and the total number of the elements to be used as the playing progress of the multimedia.
The multimedia playing progress recording device provided by the embodiment of the invention can execute the multimedia playing progress recording method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a multimedia playing progress recording apparatus according to a fifth embodiment of the present invention, as shown in fig. 5, the multimedia playing progress recording apparatus includes a processor 510, a memory 520, an input device 530 and an output device 540; the number of the processors 510 in the multimedia playing progress recording device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the multimedia playback progress recording apparatus may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The memory 520, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the multimedia play progress recording method in the embodiment of the present invention (for example, the play segment determining module 410, the play point determining module 420, and the play progress determining module 430 in the multimedia play progress recording apparatus). The processor 510 executes various functional applications and data processing of the multimedia play progress recording apparatus by executing software programs, instructions and modules stored in the memory 520, that is, implements the above-described multimedia play progress recording method.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 520 may further include a memory remotely disposed from the processor 510, and the remote memories may be connected to a multimedia playback progress recording apparatus through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the multimedia play progress recording apparatus. The output device 540 may include a display device such as a display screen.
Example six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for recording a multimedia playing progress, where the method includes:
if the multimedia playing operation is acquired, determining a playing segment played by the multimedia;
determining and recording the played playing key points according to the playing segments and at least one playing key point preset in the multimedia;
and determining the playing progress of the multimedia according to the played key points and all the played key points in the multimedia.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the multimedia playing progress recording method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the multimedia playing progress recording device, the units and modules included in the embodiment are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A multimedia playing progress recording method is characterized by comprising the following steps:
if the multimedia playing operation is obtained, determining a playing segment of the multimedia which is played;
determining and recording the played playing key points according to the playing segments and at least one playing key point preset in the multimedia;
determining the playing progress of the multimedia according to the playing key points which are already played in the multimedia and all the playing key points;
the determining and recording the played playing key point according to the playing segment and at least one preset playing key point in the multimedia includes:
determining the playing key points covered by the playing segments as the playing key points which are already played according to the starting and ending positions of the playing segments;
modifying the current numerical value of the element in the progress record array corresponding to the played playing key point according to a preset numerical value modification mode; the elements contained in the progress record array correspond to the playing key points one by one, and are initialized to preset initial values when the progress record array is generated;
correspondingly, the determining the playing progress of the multimedia according to the playing key points already played in the multimedia and all the playing key points comprises:
calculating the ratio of the number of elements which are not preset initial values to the total number of the elements to serve as the playing progress of the multimedia; or the like, or a combination thereof,
and taking the variable quantity of the elements with the non-preset initial numerical values relative to the preset initial numerical values as the weight of the elements with the non-preset initial numerical values, and calculating the weighted ratio of the number of the elements with the non-preset initial numerical values and the total number of the elements to be used as the playing progress of the multimedia.
2. The method according to claim 1, further comprising, before said determining and recording the playing key points that have been played according to at least one playing key point preset in the playing segment and multimedia, the steps of:
and setting at least one play key point in the multimedia according to the multimedia time length and the play key point setting condition.
3. The method according to claim 2, wherein said setting at least one of said play key points in the multimedia according to the multimedia duration and play key point setting conditions comprises:
comparing the multimedia time length with the boundaries of at least two preset time length intervals, and determining the preset time length interval to which the multimedia time length belongs;
and setting at least one play key point in the multimedia according to a play key point setting mode corresponding to the preset duration interval to which the multimedia duration belongs.
4. The method according to claim 3, wherein the setting of at least one play key point in the multimedia according to the play key point setting mode corresponding to the preset duration interval to which the multimedia duration belongs comprises:
if the multimedia time length is less than or equal to a first preset time length, setting a play key point at a multimedia preset play position;
if the multimedia time length is longer than the first preset time length and is less than or equal to a second preset time length, setting one playing key point every other first preset interval time from the starting playing time of the multimedia;
if the multimedia time length is longer than the second preset time length and is less than or equal to a third preset time length, setting one play key point every second preset interval time from the starting play time of the multimedia;
if the multimedia time length is longer than the third preset time length, setting one play key point every third preset interval time from the starting play time of the multimedia;
the first preset time length, the second preset time length and the third preset time length are sequentially increased; the first preset interval, the second preset interval and the third preset interval are sequentially increased.
5. A multimedia play progress recording apparatus, comprising:
the playing segment determining module is used for determining a playing segment which is played by the multimedia if the multimedia playing operation is obtained;
a playing point determining module, configured to determine and record the playing key points that have been played according to the playing segment and at least one playing key point preset in the multimedia;
the playing progress determining module is used for determining the playing progress of the multimedia according to the playing key points which are already played in the multimedia and all the playing key points;
wherein, the play point determining module includes:
a playing point determining unit, configured to determine, according to the start-stop position of the playing segment, the playing key point covered by the playing segment as the playing key point that has already been played;
the playing point recording unit is used for modifying the current numerical value of an element corresponding to the played playing key point in the progress recording array according to a preset numerical value modification mode; the elements contained in the progress record array correspond to the playing key points one by one, and are initialized to preset initial values when the progress record array is generated;
correspondingly, the play progress determining module is specifically configured to:
calculating the ratio of the number of elements which are not preset initial values to the total number of the elements to serve as the playing progress of the multimedia; or the like, or, alternatively,
and taking the variable quantity of the elements with the non-preset initial numerical values relative to the preset initial numerical values as the weight of the elements with the non-preset initial numerical values, and calculating the weighted ratio of the number of the elements with the non-preset initial numerical values and the total number of the elements to be used as the playing progress of the multimedia.
6. The apparatus of claim 5, further comprising:
and the playing key point setting module is used for setting at least one playing key point in the multimedia according to the multimedia time length and the playing key point setting conditions before the playing key point which is played is determined and recorded according to the playing segment and at least one playing key point preset in the multimedia.
7. The apparatus of claim 6, wherein the playing key point setting module comprises:
the multimedia time attribution unit is used for comparing the multimedia time with the boundaries of at least two preset time intervals and determining the preset time interval to which the multimedia time belongs;
and the playing key point setting unit is used for setting at least one playing key point in the multimedia according to a playing key point setting mode corresponding to the preset time interval to which the multimedia time belongs.
8. The apparatus according to claim 7, wherein the playing key point setting unit is specifically configured to:
if the multimedia time length is less than or equal to a first preset time length, setting a playing key point at a multimedia preset playing position;
if the multimedia time length is longer than the first preset time length and is less than or equal to a second preset time length, setting one playing key point every other first preset interval time from the starting playing time of the multimedia;
if the multimedia time length is longer than the second preset time length and is less than or equal to a third preset time length, setting one play key point every second preset interval time from the starting play time of the multimedia;
if the multimedia time length is longer than the third preset time length, setting one play key point every third preset interval time from the starting play time of the multimedia;
the first preset time length, the second preset time length and the third preset time length are sequentially increased; the first preset interval, the second preset interval and the third preset interval are sequentially increased.
9. A multimedia play progress recording apparatus, characterized by comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the multimedia playback progress recording method of any of claims 1-4.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the multimedia play progress recording method according to any one of claims 1 to 4.
CN202110466235.XA 2021-04-28 2021-04-28 Multimedia playing progress recording method, device, equipment and storage medium Active CN113194352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110466235.XA CN113194352B (en) 2021-04-28 2021-04-28 Multimedia playing progress recording method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110466235.XA CN113194352B (en) 2021-04-28 2021-04-28 Multimedia playing progress recording method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113194352A CN113194352A (en) 2021-07-30
CN113194352B true CN113194352B (en) 2023-04-07

Family

ID=76979774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110466235.XA Active CN113194352B (en) 2021-04-28 2021-04-28 Multimedia playing progress recording method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113194352B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430487A (en) * 2015-11-30 2016-03-23 小米科技有限责任公司 Multimedia data playing method, device and system
CN105654974A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 Multimedia playing device and multimedia playing method
CN105868088A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Progress bar display method and device
CN111338741A (en) * 2020-03-27 2020-06-26 北京达佳互联信息技术有限公司 Task progress display method and device and storage medium
CN111434109A (en) * 2017-11-28 2020-07-17 韩国电子通信研究院 Image encoding/decoding method and apparatus, and recording medium storing bit stream
CN112104912A (en) * 2020-11-20 2020-12-18 深圳市房多多网络科技有限公司 Method, device and equipment for detecting video watching completion degree and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727949B (en) * 2009-10-31 2011-12-07 华为技术有限公司 Device, method and system for positioning playing video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430487A (en) * 2015-11-30 2016-03-23 小米科技有限责任公司 Multimedia data playing method, device and system
CN105654974A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 Multimedia playing device and multimedia playing method
CN105868088A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Progress bar display method and device
CN111434109A (en) * 2017-11-28 2020-07-17 韩国电子通信研究院 Image encoding/decoding method and apparatus, and recording medium storing bit stream
CN111338741A (en) * 2020-03-27 2020-06-26 北京达佳互联信息技术有限公司 Task progress display method and device and storage medium
CN112104912A (en) * 2020-11-20 2020-12-18 深圳市房多多网络科技有限公司 Method, device and equipment for detecting video watching completion degree and readable storage medium

Also Published As

Publication number Publication date
CN113194352A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN108966012B (en) Video playing rate determining method and device and electronic equipment
CN110149540A (en) Recommendation process method, apparatus, terminal and the readable medium of multimedia resource
CN104077339B (en) The methods, devices and systems that the user preference degree of multi-medium data obtains
CN108401193A (en) A kind of video broadcasting method, device and electronic equipment
CN109729433B (en) Video playing evaluation method and device
CN110941738B (en) Recommendation method and device, electronic equipment and computer-readable storage medium
WO2016065972A1 (en) Method, device, and server for producing video frame set
CN109996122B (en) Video recommendation method and device, server and storage medium
CN111683292B (en) Video playing method and device
CN107770571A (en) A kind of direct broadcasting room recommends method, apparatus and storage medium
CN107801100A (en) A kind of video location player method and device
CN108874324B (en) Access request processing method, device, equipment and readable storage medium
CN109428910B (en) Data processing method, device and system
CN106911927B (en) Method and device for evaluating experience quality of network video user and DPI equipment
CN104967690B (en) A kind of information-pushing method and device
JP2023521199A (en) Video stream playback control method, device and storage medium
CN113194352B (en) Multimedia playing progress recording method, device, equipment and storage medium
CN109218766B (en) Method for summoning bean vermicelli, live broadcast platform server and anchor terminal
CN113596606A (en) Control method and device for counting real playing time of video
CN104967905B (en) A kind of video playing control method and device
US10165245B2 (en) Pre-fetching video content
CN116600156A (en) Video content recommendation method, device, computer equipment and storage medium
CN103442269B (en) A kind of method and device for pushing programme information
CN111526385B (en) Video processing method and device, electronic equipment and storage medium
CN109151572A (en) A kind of playback 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
GR01 Patent grant
GR01 Patent grant