CN111327966A - Video double-speed playing method, system and storage medium - Google Patents
Video double-speed playing method, system and storage medium Download PDFInfo
- Publication number
- CN111327966A CN111327966A CN202010235678.3A CN202010235678A CN111327966A CN 111327966 A CN111327966 A CN 111327966A CN 202010235678 A CN202010235678 A CN 202010235678A CN 111327966 A CN111327966 A CN 111327966A
- Authority
- CN
- China
- Prior art keywords
- speed
- video
- user terminal
- playing
- double
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4662—Learning process for intelligent management, e.g. learning user preferences for recommending movies characterized by learning algorithms
- H04N21/4665—Learning process for intelligent management, e.g. learning user preferences for recommending movies characterized by learning algorithms involving classification methods, e.g. Decision trees
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video double-speed playing method, a system and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a server generates a speed index file corresponding to a video according to a preset recommendation algorithm, and when a user terminal plays the video, the speed index file is pushed to the user terminal; the user terminal judges whether a speed doubling playing instruction triggered by a user is received; and when the user terminal receives the speed-doubling playing instruction, the user terminal performs video speed-doubling playing according to a speed-doubling playing scheme corresponding to the speed-doubling index file. The method and the device can push the speed-doubling index file of the video to the user terminal, when the user selects speed-doubling playing, the user terminal can automatically realize speed-doubling playing of the video according to the speed-doubling playing scheme corresponding to the speed-doubling index file, and the user does not need to repeatedly and manually adjust the speed-doubling value in the playing process, so that the complicated operation of the user in the video watching process is reduced, and the watching experience of the user is improved.
Description
Technical Field
The present invention relates to the field of video playing, and in particular, to a method, a system, and a storage medium for playing video at multiple speeds.
Background
Currently, when a user watches each large video website, a double-speed playing function is usually used. Under the double-speed playing line, a user can quickly watch the video or the film without losing the video plot.
In the existing large video websites, most of the large video websites can only provide a double-speed playing function with the highest speed of 2 times, and in the process of video double-speed playing, a user needs to adjust the double-speed parameters continuously in a manual control mode according to the video plot, so that the operation is very complicated and complicated, and the user easily misses a video clip which is interested by the user and needs to be watched at a normal playing speed due to the fact that the double-speed value of the double-speed playing is not appropriate.
Disclosure of Invention
The invention mainly aims to provide a video speed doubling playing method, a video speed doubling playing system and a storage medium, and aims to solve the problem that manual speed doubling adjustment by a user is complicated and complicated.
In order to achieve the above object, the present invention provides a video double-speed playing method, which comprises the following steps:
the method comprises the steps that a server generates a speed index file corresponding to a video according to a preset recommendation algorithm, and when a user terminal plays the video, the speed index file is pushed to the user terminal;
the user terminal judges whether a speed doubling playing instruction triggered by a user is received;
and when the user terminal receives the speed-doubling playing instruction, the user terminal performs video speed-doubling playing according to a speed-doubling playing scheme corresponding to the speed-doubling index file.
Optionally, the step of acquiring, by the server according to a preset recommendation algorithm, a multiple speed index file corresponding to the video includes:
the server collects the double-speed playing behavior of a historical user terminal and generates a corresponding double-speed playing record, wherein the double-speed playing record comprises user terminal characteristic information, video identification information, the starting time and the ending time of double-speed playing and a double-speed value;
the server generates a double-speed playing control sequence when the historical user terminal plays the video according to the double-speed playing record;
and the server generates a double-speed index file corresponding to the video according to a preset recommendation algorithm and the double-speed playing control sequence.
Optionally, the preset recommendation algorithm is a collaborative filtering algorithm, and the step of generating, by the server, a multiple speed index file corresponding to the video according to the preset recommendation algorithm and the multiple speed play control sequence includes:
the server respectively acquires the characteristic information of the user terminal and the characteristic information of the historical user terminal, wherein the characteristic information at least comprises user portrait information and historical viewing information;
the server calculates the characteristic information of the user terminal and the characteristic information of the historical user terminal according to a collaborative filtering algorithm so as to obtain the similarity between the historical user terminal and the user terminal;
and the server determines similar user terminals from the historical user terminals according to the similarity, and generates a double-speed index file according to a double-speed playing control sequence when the similar user terminals play the video.
Optionally, the step of determining, by the server, a similar user terminal from the historical user terminals according to the similarity, and generating a double-speed index file according to a double-speed playing control sequence when the similar user terminal plays the video further includes:
the server takes a plurality of historical user terminals with the similarity higher than a preset threshold value as similar user terminals;
and the server generates a plurality of speed index files which are sequenced according to the similarity from the speed playing control sequences corresponding to the similar user terminals.
Optionally, the step of obtaining, by the server according to a preset recommendation algorithm, a multiple speed index file corresponding to the video, and pushing the multiple speed index file to the user terminal further includes:
the server acquires a plurality of speed index files according to a collaborative filtering algorithm, and sorts the speed index files according to similarity to generate a speed index list;
the server pushes the speed index list to the user terminal;
the user terminal judges whether a selection instruction triggered after a user checks the speed index list is received;
and when the user terminal receives the selection instruction, the user terminal determines the speed index file selected by the user from the speed index list according to the selection instruction.
Optionally, after the step of determining whether a selection instruction triggered after the user views the multiple speed index list is received by the user terminal, the method further includes:
and when the user terminal does not receive the selection instruction, the user terminal plays the video according to the original speed of the video.
Optionally, after the step of sorting the multiple speed index files according to the corresponding similarities and generating the speed index list by the server, the method further includes:
the server acquires an artificial speed doubling control sequence generated by triggering a historical user terminal to manually edit;
and the server generates an artificial speed doubling index file according to the artificial speed doubling control sequence and adds the artificial speed doubling index file into the speed doubling index list of the corresponding video.
Optionally, after the step of determining whether a multiple speed play instruction triggered by the user is received by the user terminal, the method further includes:
and when the user terminal does not receive the speed doubling playing instruction, the user terminal plays the video according to the original playing speed of the video.
In addition, in order to achieve the above object, the present invention further provides a video double-speed playing system, which includes a server and a user terminal, wherein the server includes a memory, a processor, and a video double-speed playing program stored in the memory and operable on the processor, and wherein: the video double-speed playing program realizes the steps of the video double-speed playing method when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a video double-speed playback program, which when executed by a processor, implements the steps of the video double-speed playback method as described above.
According to the video speed doubling playing method, the video speed doubling playing system and the storage medium provided by the embodiment of the invention, the server can push the speed doubling index file corresponding to the video to the user according to the video of the user terminal, the user can trigger the corresponding speed doubling playing instruction to the user terminal after receiving the speed doubling index file, and the user terminal can play the video file at a speed doubling speed according to the speed doubling playing scheme corresponding to the speed doubling index file after receiving the speed doubling playing instruction, so that the user can realize automatic speed doubling playing in the process of watching the video, the user does not need to repeatedly and manually adjust the speed doubling value in the playing process, the complicated operation of the user in the process of watching the video is reduced, and the watching experience of the user is improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a video double-speed playing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video double-speed playing method according to a second embodiment of the present invention;
fig. 3 is a detailed flowchart of step S13 in the third embodiment of the video double-speed playing method according to the present invention;
fig. 4 is a detailed flowchart of step S13 in the fourth embodiment of the method for playing video at double speed according to the present invention;
fig. 5 is a detailed flowchart of step S10 in the fifth embodiment of the method for playing video at double speed according to the present invention;
fig. 6 is a flowchart illustrating a detailed process of step S10 in the sixth embodiment of the method for playing a video at double speed according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The terminal in the embodiment of the invention can be a video speed-multiplying playing system, and the video speed-multiplying playing system comprises a server arranged at the cloud end and a user terminal for playing videos by a user.
The specific embodiment of the present invention applied to the video multiple speed playing system is basically the same as the following embodiments of the video multiple speed playing method, and is not described herein again.
Referring to fig. 1, fig. 1 is a schematic flow chart of a video double-speed playing method according to a first embodiment of the present invention, wherein the video double-speed playing method includes the following steps:
step S10, the server generates a speed index file corresponding to the video according to a preset recommendation algorithm, and pushes the speed index file to the user terminal when the user terminal plays the video;
the video speed-doubling playing method in the embodiment can be applied to a video speed-doubling playing system, and the video speed-doubling playing system comprises a server arranged at the cloud end and a user terminal for video playing. The user terminal may include an indoor television, a PC, a smart phone, a tablet computer, and other smart devices having a display function. The user can realize the double-speed playing of the video through the corresponding double-speed playing related instruction in the user terminal. The following description will be made with a television as a user terminal. The television and the server in this embodiment can perform communication and data transmission with each other.
The server can obtain the speed index file corresponding to the video according to a preset recommendation algorithm, and when a user uses a user terminal such as a television to play the video, the server can push the generated speed index file to the user terminal. The multiple speed index file corresponds to a multiple speed playing scheme of the video. For example, the double-speed playing scheme in the double-speed index file may be: 2 times speed playing is adopted in the first 2 minutes of the video, 1.5 times speed playing is adopted in the positive 110 minutes of the video, and 2 times speed playing is adopted in the tail 8 minutes of the video.
It can be understood that a plurality of different multiple speed index files may correspond to the same video, and multiple speed playing schemes of the video corresponding to each multiple speed index file may be different from each other. It should be noted that each multiple-speed index file includes a complete multiple-speed playing scheme, which can implement complete multiple-speed playing for the corresponding video.
Step S20, the user terminal judges whether a speed-doubling playing instruction triggered by a user is received;
after the speed index file is pushed to the user terminal of the user, the user terminal can judge whether a selection instruction triggered by the user after checking the speed index list is received. It is understood that the manner of triggering the selection instruction may be that the user confirms the selection through a key of the remote control device, or may select the selection through voice input, touch control, or the like.
Step S30, when the user terminal receives the speed-doubling playing instruction, the user terminal performs speed-doubling playing of the video according to the speed-doubling playing scheme corresponding to the speed-doubling index file.
After the user terminal receives a selection instruction triggered by the user, the user terminal can play the video watched by the user at the double speed according to the double speed playing scheme corresponding to the double speed index file, so that the user can enjoy the video played at the double speed on the user terminal.
In this embodiment, the server may push a speed-doubling index file corresponding to a video to a user according to the video of the user terminal, the user may trigger a corresponding speed-doubling play instruction to the user terminal after receiving the speed-doubling index file at the user terminal, and the user terminal may play the video file at a speed-doubling speed according to a speed-doubling play scheme corresponding to the speed-doubling index file after receiving the speed-doubling play instruction, so that the user can realize automatic speed-doubling play in the process of watching the video, and does not need to repeatedly manually adjust a speed-doubling value in the play process, thereby reducing cumbersome operations of the user in the process of watching the video, and improving the watching experience of the user.
Further, referring to fig. 2, fig. 2 is a schematic flowchart of a second embodiment of the video double-speed playing method of the present invention, based on the embodiment shown in fig. 1, in step S10, the server generates a double-speed index file corresponding to a video according to a preset recommendation algorithm, and when the user terminal plays the video, the step of pushing the double-speed index file to the user terminal includes:
step S11, the server collects the speed-doubling play behavior of the historical user terminal and generates the corresponding speed-doubling play record, wherein the speed-doubling play record comprises the characteristic information of the user terminal, the video identification information, the start time and the end time of the speed-doubling play and the speed-doubling value;
step S12, the server generates a double speed playing control sequence when the history user terminal plays the video according to the double speed playing record;
step S13, the server generates a multiple speed index file corresponding to the video according to a preset recommendation algorithm and the multiple speed playing control sequence;
and step S14, when the video is played by the user terminal, pushing the speed index file to the user terminal.
In this embodiment, the double-speed index file pushed by the server to the user terminal is generated according to the double-speed playing behavior of other historical users when watching the video in the past. The history user terminal indicates a user terminal in which other users than the current user perform video playback while watching the same video in the past. When a historical user watches a video through a historical user terminal and triggers a speed-doubling playing behavior, the server can acquire the speed-doubling playing behavior and generate a speed-doubling playing record corresponding to the video. The double-speed playing record may include feature information of a user terminal used by a user, video identification information for identifying a video, start time and end time of a double-speed playing behavior, and a double-speed value. The characteristic information of the user terminal can be video information of videos watched by the user in history, and can also be device parameters of the user terminal such as screen size, resolution, refresh rate, network bandwidth and the like. It can be understood that when the refresh rate and the screen size of the user terminal are large, the multi-speed playing with higher magnification can be realized without affecting the viewing experience of the user, but when the refresh rate is low, the too high multi-speed value may cause the video picture to be blocked, which affects the viewing experience of the user. The video identification information includes parameters such as video name, video type, duration, producer or director information, and actor information. The multiple speed value in the playing information includes a multiple speed value (default to 1) before the multiple speed playing and a multiple speed value in the multiple speed process. The network bandwidth is also an important physical parameter for limiting the user to realize the double-speed playing. It should be noted that, when a user watches the same video for multiple times, the double-speed playing behavior in each watching process corresponds to one double-speed playing record.
After all the multiple-speed playing records of the videos watched by the historical users are obtained, the multiple-speed playing control sequence corresponding to each historical user when the video is completely played by the corresponding historical user terminal can be generated according to the multiple-speed playing records. Each multiple speed playing control sequence comprises different time periods of a video in the sequential playing process and corresponding multiple speed values. For example, the double-speed play control sequence may be in the form of:
|uid|vid|start_timestamp|end_timestamp|R|;
wherein uid is a user identification code, vid is a video identification code, start _ timestamp and end _ timestamp are a start timestamp and an end timestamp of a video segment, and R is a multiple speed value in the segment. For example, in a double-speed playback control sequence of a video of 120 minutes duration: 1.1 times speed playing is carried out in the 1 st to 3 rd minutes, 1.2 times speed playing is carried out in the 3 rd to 55 th minutes, 0.8 times speed playing is carried out in the 55 th to 60 th minutes, 0.6 times speed playing is carried out in the 60 th to 118 th minutes, and 2 times speed playing is carried out from the 118 th minute to the end. The corresponding multiple speed play control sequence is:
|uid|vid|00:00|03:00|1.1|;|uid|vid|03:00|55:00|1.2|;
|uid|vid|55:00|60:00|0.8|;|uid|vid|60:00|118:00|0.6|;
|uid|vid|118:00|120:00|2|。
after acquiring the multiple speed playing control sequence of each historical user when watching the video, the server can generate a corresponding multiple speed index file according to each multiple speed playing control sequence. After the server obtains the multiple speed index files corresponding to all the historical users, part of users similar to the current user can be determined from other historical users according to a preset recommendation algorithm and the characteristic information of the user needing to play the multiple speed at the current time. And pushing the speed-doubling index file corresponding to the part of similar users to the user terminal as the speed-doubling index file recommended to the current user. According to a recommendation algorithm preset in the server, a part of users similar to the viewing preference of the current user can be determined from other historical users according to the characteristic information of the current user, and the double-speed playing control sequence of the part of users when watching the video is recommended to the current user, so that the user terminal can automatically play the video at double speed, and the double-speed playing scheme can also accord with the viewing preference of the current user.
It can be understood that the multiple speed index file is different from the multiple speed play control sequence in that a user identification code for determining a user may not be included in the multiple speed index file. That is, the multiple speed index file may be in the form of: | vid | start _ timestamp | end _ timestamp | R |.
Further, referring to fig. 3, fig. 3 is a schematic diagram of a detailed flow of step S13 in a third embodiment of the video double-speed playing method of the present invention, based on the embodiment shown in fig. 2, where the preset recommendation algorithm is a collaborative filtering algorithm, and the step S13 is that the step of the server generating the double-speed index file corresponding to the video according to the preset recommendation algorithm and the double-speed playing control sequence includes:
step S131, the server respectively obtains the characteristic information of the user terminal and the characteristic information of the historical user terminal, wherein the characteristic information at least comprises user portrait information and historical watching information;
step S132, the server calculates the characteristic information of the user terminal and the characteristic information of the historical user terminal according to a collaborative filtering algorithm to obtain the similarity between the historical user terminal and the user terminal;
step S133, the server determines a similar user terminal from the historical user terminals according to the similarity, and generates a double-speed index file according to a double-speed playing control sequence when the similar user terminal plays the video.
In this embodiment, the recommendation algorithm preset in the server may be a collaborative filtering algorithm, and when a user intends to watch a certain video, users with preferences similar to those of the current user can be filtered out from other historical users who have watched the video through the collaborative filtering algorithm, and the double-speed playing scheme adopted by the users with preferences similar to those of the current user when watching the video in the past is recommended to the current user. In the collaborative filtering algorithm, the server may respectively obtain the feature information of the user terminal of the current user and the feature information of the historical user terminal corresponding to the historical user. The feature information may include at least user portrait information and user historical viewing information. The historical viewing information includes, but is not limited to, the type, duration, director, actor information, etc. of the video that the user has historically viewed, and the multiple speed play control sequence employed when viewing the video.
After the feature information of the current user and the historical user is obtained, the similarity between the historical user terminal and the current user terminal, namely the similarity between the corresponding other historical users and the current user, can be calculated according to the feature information, and the historical users similar to the preference of the current user can be filtered from all the historical users according to the similarity between each historical user and the current user. The server can take the historical user terminals corresponding to the historical users with similar preference to the current user as similar user terminals, and generate corresponding speed-doubling index files according to speed-doubling playing control sequences obtained when the similar user terminals play the video in the front and recommend the speed-doubling index files to the user terminal of the current user. And determining users which are similar to the viewing preference of the current user from other historical users as recommended users through a collaborative filtering algorithm. When a current user watches a certain video, the speed index files corresponding to the speed playing records of the recommended users can be determined from the recommended users who have watched the video, and the speed index files are pushed to the user terminal of the current user. Because the watching preference of the recommended user is similar to that of the current user, the double-speed playing scheme adopted by the recommended user when watching the video is more suitable for being used as an automatic double-speed playing scheme when the current user watches the video, so that the double-speed index file pushed to the user terminal not only can realize the automatic double-speed playing of the video, but also can accord with the watching habit and preference of the user.
It should be noted that the time period of the server collecting the double-speed playing behavior of the historical user terminal and the time period of the similarity between the current user and other historical users determined according to the collaborative filtering algorithm can be adjusted in real time. It can be understood that the accuracy of the calculation result can be improved by measures of reducing the acquisition time period, increasing the number of the acquisition users, shortening the similarity calculation period and the like, so that the accuracy of the collaborative filtering algorithm is improved.
Further, referring to fig. 4, fig. 4 is a schematic detailed flowchart of a step S13 in a fourth embodiment of the video double-speed playing method of the present invention, based on the embodiment shown in fig. 3, in step S133, the step of determining, by the server, a similar user terminal from the historical user terminals according to the similarity, and generating a double-speed index file according to a double-speed playing control sequence when the similar user terminal plays the video includes:
step S1331, the server takes a plurality of historical user terminals with the similarity higher than a preset threshold value as similar user terminals;
step S1332, the server generates multiple speed index files sorted according to the similarity from multiple speed playing control sequences corresponding to the similar user terminals.
In this embodiment, after calculating the similarity of each historical user terminal with respect to the user terminal of the current user according to the collaborative filtering algorithm, the server uses one or more historical user terminals with the similarity higher than a preset threshold as the similar user terminals according to a preset threshold. It can be understood that the double-speed playing scheme of these similar user terminals when watching the video is more in line with the watching preference of the current user. When a plurality of similar user terminals are provided, the server needs to correspondingly push a plurality of speed index files to the user terminals. Therefore, the server can also generate corresponding speed-doubling index files for the speed-doubling play control sequences of the plurality of similar user terminals, and sequence the corresponding speed-doubling index files according to the similarity between the similar user terminals and the user terminal of the current user, so that the sequenced speed-doubling index files are pushed to the user terminal, and the user can conveniently check the speed-doubling index files according to the similarity.
Further, referring to fig. 5, fig. 5 is a schematic diagram of a detailed flow of step S10 in a fifth embodiment of the video double-speed playing method of the present invention, based on the embodiment shown in fig. 1, in step S10, the server generates a double-speed index file corresponding to a video according to a preset recommendation algorithm, and when the user terminal plays the video, the step of pushing the double-speed index file to the user terminal includes:
step S15, the server obtains multiple speed index files according to the collaborative filtering algorithm, and sorts the multiple speed index files according to the similarity to generate a speed index list;
step S16, the server pushes the speed index list to the user terminal;
step S17, the user terminal judges whether a selection instruction triggered by the user after viewing the speed index list is received;
step S18, when the user terminal receives the selection instruction, the user terminal determines the speed index file selected by the user from the speed index list according to the selection instruction.
In this embodiment, the server may obtain, according to a collaborative filtering algorithm, multiple speed index files corresponding to historical user terminals of other users who are similar to the current user when the video is viewed, and sort the multiple speed index files according to the similarity to generate a speed index list. After the server pushes the speed-doubling index list to the user terminal, the user terminal can display the speed-doubling index list to the user and judge whether a selection instruction triggered after the user checks the speed-doubling index list is received. When the user terminal receives a selection instruction triggered by a user, the user terminal can determine a corresponding speed index file from the speed index list as the speed index file selected by the user, and perform video speed-doubling playing according to a speed playing scheme corresponding to the speed index file.
In order to avoid that the speed index list entries are too many to be selected by the user, the upper limit of the number of speed index list entries may be set in advance. When the number of the multiple speed index files obtained according to the collaborative filtering algorithm exceeds the upper limit, the multiple speed index files can be sorted in a descending order according to the similarity, and the multiple speed index files with the number not exceeding the upper limit are selected according to the sorting order to be combined to generate a multiple speed index list. Wherein the number of the double-speed index files in the double-speed index list can be preset by a user.
Further, with reference to fig. 6, in step S17, after the step of determining whether the user terminal receives a selection instruction triggered by the user after viewing the multiple speed index list, the method further includes:
step S19, when the user terminal does not receive the selection instruction, the user terminal plays the video according to the original speed of the video.
In this embodiment, after the server pushes the multiple speed index list to the user, the user does not trigger a selection instruction within a preset time to select from the multiple speed index list, and then the original playing speed of the video is maintained to play the video. That is, when the user does not trigger the selection instruction, the double-speed playing of the video is not performed.
In another embodiment, if the user does not trigger the selection instruction to select from the multiple speed index list within the preset time, the user terminal may further determine a multiple speed index file with the highest similarity from the multiple speed index list, and perform video multiple speed playing according to a multiple speed playing scheme corresponding to the multiple speed index file, so that automatic multiple speed playing can be implemented when the user does not select, and the user does not need to perform operation designation.
Further, referring to fig. 6, fig. 6 is a schematic diagram of a detailed flow of step S10 in a sixth embodiment of the video multiple-speed playing method of the present invention, where in step S15, after the step of obtaining, by the server, multiple-speed index files according to a collaborative filtering algorithm, and sorting the multiple-speed index files according to similarity to generate a multiple-speed index list, the method further includes:
step S40, the server acquires an artificial speed doubling control sequence generated by triggering the manual editing of the historical user terminal by the historical user;
and step S50, the server generates an artificial speed-doubling index file according to the artificial speed-doubling control sequence and adds the artificial speed-doubling index file into the speed-doubling index list of the corresponding video.
In this embodiment, after watching a video, a history user may manually edit the video by triggering the history user terminal, for example, the history user may manually set different speed doubling values corresponding to multiple stages in the video, and form a complete manual speed doubling control sequence. And the server generates an artificial speed doubling index file corresponding to the video obtained by manual editing of the user according to the complete artificial speed doubling control sequence, and adds the artificial speed doubling index file into a speed doubling index list of the video. When the current user watches the video, the speed index list containing the manual speed index file can be pushed to the user for selection.
Further, in an eighth embodiment of the video double-speed playing method according to the present invention, based on the embodiment shown in fig. 1, after the step S20, the step of determining whether a double-speed playing instruction triggered by a user is received by the user terminal, the method further includes:
step S70, when the user terminal does not receive the double speed playing instruction, the user terminal plays the video according to the original playing speed of the video.
In this embodiment, when the user uses the user terminal to play the video, the user terminal may determine whether to perform the double-speed playing according to whether a double-speed playing instruction triggered by the user is received. When the double-speed playing instruction is not received, the user does not need to play the video at the double speed, and the video can be normally played according to the original playing speed of the video. By judging whether the user triggers the speed-doubling playing instruction or not, the switching between normal playing and speed-doubling playing can be flexibly carried out, and the watching experience of the user is improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a video double-speed playing program is stored, where the computer-readable storage medium includes several instructions for enabling a server and a user terminal to execute the video double-speed playing method according to the embodiments of the present invention.
It is to be understood that throughout the description of the present specification, reference to the term "one embodiment", "another embodiment", "other embodiments", or "first through nth embodiments", etc., is intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A video double-speed playing method is characterized by comprising the following steps:
the method comprises the steps that a server generates a speed index file corresponding to a video according to a preset recommendation algorithm, and when a user terminal plays the video, the speed index file is pushed to the user terminal;
the user terminal judges whether a speed doubling playing instruction triggered by a user is received;
and when the user terminal receives the speed-doubling playing instruction, the user terminal performs video speed-doubling playing according to a speed-doubling playing scheme corresponding to the speed-doubling index file.
2. The video double-speed playing method according to claim 1, wherein the step of the server obtaining the double-speed index file corresponding to the video according to a preset recommendation algorithm comprises:
the server collects the double-speed playing behavior of a historical user terminal and generates a corresponding double-speed playing record, wherein the double-speed playing record comprises user terminal characteristic information, video identification information, the starting time and the ending time of double-speed playing and a double-speed value;
the server generates a double-speed playing control sequence when the historical user terminal plays the video according to the double-speed playing record;
and the server generates a double-speed index file corresponding to the video according to a preset recommendation algorithm and the double-speed playing control sequence.
3. The video multiple-speed playing method according to claim 2, wherein the preset recommendation algorithm is a collaborative filtering algorithm, and the step of the server generating the multiple-speed index file corresponding to the video according to the preset recommendation algorithm and the multiple-speed playing control sequence includes:
the server respectively acquires the characteristic information of the user terminal and the characteristic information of the historical user terminal, wherein the characteristic information at least comprises user portrait information and historical viewing information;
the server calculates the characteristic information of the user terminal and the characteristic information of the historical user terminal according to a collaborative filtering algorithm so as to obtain the similarity between the historical user terminal and the user terminal;
and the server determines similar user terminals from the historical user terminals according to the similarity, and generates a double-speed index file according to a double-speed playing control sequence when the similar user terminals play the video.
4. The video multiple-speed playing method according to claim 3, wherein the step of the server determining a similar user terminal from the historical user terminals according to the similarity, and generating a multiple-speed index file according to a multiple-speed playing control sequence when the similar user terminal plays the video, further comprises:
the server takes a plurality of historical user terminals with the similarity higher than a preset threshold value as similar user terminals;
and the server generates a plurality of speed index files which are sequenced according to the similarity from the speed playing control sequences corresponding to the similar user terminals.
5. The video double-speed playing method according to claim 4, wherein the step of the server obtaining a double-speed index file corresponding to the video according to a preset recommendation algorithm and pushing the double-speed index file to the user terminal further comprises:
the server acquires a plurality of speed index files according to a collaborative filtering algorithm, and sorts the speed index files according to similarity to generate a speed index list;
the server pushes the speed index list to the user terminal;
the user terminal judges whether a selection instruction triggered after a user checks the speed index list is received;
and when the user terminal receives the selection instruction, the user terminal determines the speed index file selected by the user from the speed index list according to the selection instruction.
6. The video double-speed playing method according to claim 5, wherein after the step of determining whether the user terminal receives a selection instruction triggered by the user viewing the double-speed index list, the method further comprises:
and when the user terminal does not receive the selection instruction, the user terminal plays the video according to the original speed of the video.
7. The video multiple-speed playing method according to claim 5, wherein after the step of the server sorting the multiple-speed index files according to the corresponding similarity to generate the multiple-speed index list, the method further comprises:
the server acquires an artificial speed doubling control sequence generated by triggering a historical user terminal to manually edit;
and the server generates an artificial speed doubling index file according to the artificial speed doubling control sequence and adds the artificial speed doubling index file into the speed doubling index list of the corresponding video.
8. The video double-speed playing method according to claim 1, wherein after the step of determining whether a double-speed playing instruction triggered by a user is received by the user terminal, the method further comprises:
and when the user terminal does not receive the speed doubling playing instruction, the user terminal plays the video according to the original playing speed of the video.
9. A video multiple-speed playing system, comprising a server and a user terminal, wherein the server comprises a memory, a processor and a video multiple-speed playing program stored in the memory and running on the processor, and wherein: the video multiple-speed playback program when executed by the processor implements the steps of the video multiple-speed playback method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a video multiple-speed playback program stored thereon, which when executed by a processor implements the steps of the video multiple-speed playback method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010235678.3A CN111327966B (en) | 2020-03-27 | 2020-03-27 | Video double-speed playing method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010235678.3A CN111327966B (en) | 2020-03-27 | 2020-03-27 | Video double-speed playing method, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111327966A true CN111327966A (en) | 2020-06-23 |
CN111327966B CN111327966B (en) | 2022-03-08 |
Family
ID=71171717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010235678.3A Active CN111327966B (en) | 2020-03-27 | 2020-03-27 | Video double-speed playing method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111327966B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565909A (en) * | 2020-11-30 | 2021-03-26 | 维沃移动通信有限公司 | Video playing method and device, electronic equipment and readable storage medium |
CN112801044A (en) * | 2021-03-11 | 2021-05-14 | 重庆紫光华山智安科技有限公司 | Video image processing method and device, video client and analysis platform |
CN113099294A (en) * | 2021-03-29 | 2021-07-09 | Oppo(重庆)智能科技有限公司 | Play control method and device, electronic equipment and readable storage medium |
CN113596520A (en) * | 2021-02-08 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Video playing control method and device and electronic equipment |
CN113613083A (en) * | 2021-08-19 | 2021-11-05 | 乐视新生代(北京)文化传媒有限公司 | Video playing method, device, equipment and computer readable storage medium |
CN115190363A (en) * | 2021-04-02 | 2022-10-14 | 花瓣云科技有限公司 | Video playing method, device and storage medium |
US12088908B2 (en) | 2021-05-31 | 2024-09-10 | Honor Device Co., Ltd. | Video processing method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104869430A (en) * | 2015-05-18 | 2015-08-26 | 北京中熙正保远程教育技术有限公司 | Video speed multiplication playing method and apparatus |
US20150378589A1 (en) * | 2014-06-27 | 2015-12-31 | International Business Machines Corporation | Utilizing key points in a progress bar to browse through content |
CN107888948A (en) * | 2017-11-07 | 2018-04-06 | 北京小米移动软件有限公司 | Determine method and device, the electronic equipment of video file broadcasting speed |
CN108235123A (en) * | 2016-12-15 | 2018-06-29 | 优视科技有限公司 | Video broadcasting method and device |
CN110278450A (en) * | 2018-03-16 | 2019-09-24 | 优酷网络技术(北京)有限公司 | Multimedia content playback method and device |
-
2020
- 2020-03-27 CN CN202010235678.3A patent/CN111327966B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150378589A1 (en) * | 2014-06-27 | 2015-12-31 | International Business Machines Corporation | Utilizing key points in a progress bar to browse through content |
CN104869430A (en) * | 2015-05-18 | 2015-08-26 | 北京中熙正保远程教育技术有限公司 | Video speed multiplication playing method and apparatus |
CN108235123A (en) * | 2016-12-15 | 2018-06-29 | 优视科技有限公司 | Video broadcasting method and device |
CN107888948A (en) * | 2017-11-07 | 2018-04-06 | 北京小米移动软件有限公司 | Determine method and device, the electronic equipment of video file broadcasting speed |
CN110278450A (en) * | 2018-03-16 | 2019-09-24 | 优酷网络技术(北京)有限公司 | Multimedia content playback method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565909A (en) * | 2020-11-30 | 2021-03-26 | 维沃移动通信有限公司 | Video playing method and device, electronic equipment and readable storage medium |
CN113596520A (en) * | 2021-02-08 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Video playing control method and device and electronic equipment |
CN113596520B (en) * | 2021-02-08 | 2024-06-21 | 腾讯科技(深圳)有限公司 | Video playing control method and device and electronic equipment |
CN112801044A (en) * | 2021-03-11 | 2021-05-14 | 重庆紫光华山智安科技有限公司 | Video image processing method and device, video client and analysis platform |
CN113099294A (en) * | 2021-03-29 | 2021-07-09 | Oppo(重庆)智能科技有限公司 | Play control method and device, electronic equipment and readable storage medium |
CN115190363A (en) * | 2021-04-02 | 2022-10-14 | 花瓣云科技有限公司 | Video playing method, device and storage medium |
CN115190363B (en) * | 2021-04-02 | 2024-05-17 | 花瓣云科技有限公司 | Video playing method, device and storage medium |
US12088908B2 (en) | 2021-05-31 | 2024-09-10 | Honor Device Co., Ltd. | Video processing method and electronic device |
CN113613083A (en) * | 2021-08-19 | 2021-11-05 | 乐视新生代(北京)文化传媒有限公司 | Video playing method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111327966B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111327966B (en) | Video double-speed playing method, system and storage medium | |
JP4768209B2 (en) | Television program recommendation system with automatic identification function for changes in viewer's selection | |
US8631437B2 (en) | Automatically generated TV favorites list | |
US7818764B2 (en) | System and method for monitoring blocked content | |
CN102263999B (en) | Face-recognition-based method and system for automatically classifying television programs | |
EP1182584A2 (en) | Method and apparatus for video skimming | |
CN106454431B (en) | TV programme suggesting method and system | |
JP3488092B2 (en) | Broadcast receiving apparatus and receiving program selection method | |
CN111327965A (en) | Video slicing speed-multiplying playing method, system and storage medium | |
CN111327967B (en) | Intelligent video speed-multiplying playing method, system and storage medium | |
JP2002218363A (en) | Method, system and program for automatically recording broadcast and recording medium | |
CN109462765B (en) | Method and device for issuing and displaying recommended page | |
US20050171924A1 (en) | System for recommending program information in accordance with user preferences | |
KR20110027708A (en) | Method and apparatus for presenting a summary of a content item | |
CN104581224B (en) | Switch the method, apparatus and terminal of broadcasting content | |
EP3242231A1 (en) | Biased recommender system | |
CN106534984A (en) | TV program pushing method and device | |
US20150347579A1 (en) | Media file marking method and apparatus | |
CN108882024B (en) | Video playing method and device and electronic equipment | |
CN108134948B (en) | Television program recommendation method, device and system and readable storage medium | |
JP6401412B1 (en) | Information processing apparatus, information processing method, and program | |
CN106791996B (en) | Collection of drama playing method and device | |
WO2004084105A1 (en) | Selecting program items depending on a period of time in which the program items are to be stored | |
JP2003046458A (en) | Program preference calculation device, program preference calculation method, program and medium | |
CN108924655B (en) | Video client navigation generation 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 | ||
CB02 | Change of applicant information |
Address after: Room 2306, east block, Skyworth semiconductor design building, 18 Gaoxin South 4th Road, Gaoxin community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518108 Applicant after: Shenzhen Kukai Network Technology Co.,Ltd. Address before: 518108 Room 601, block C, Skyworth building, 008 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province Applicant before: Shenzhen Coocaa Network Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |