CN110769284A - Video highlight caching method and related device - Google Patents

Video highlight caching method and related device Download PDF

Info

Publication number
CN110769284A
CN110769284A CN201911137460.8A CN201911137460A CN110769284A CN 110769284 A CN110769284 A CN 110769284A CN 201911137460 A CN201911137460 A CN 201911137460A CN 110769284 A CN110769284 A CN 110769284A
Authority
CN
China
Prior art keywords
video
highlight
caching
request
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911137460.8A
Other languages
Chinese (zh)
Inventor
李玉龙
曹小栋
庄达斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Xunlei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xunlei Network Technology Co Ltd filed Critical Shenzhen Xunlei Network Technology Co Ltd
Priority to CN201911137460.8A priority Critical patent/CN110769284A/en
Publication of CN110769284A publication Critical patent/CN110769284A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention discloses a video highlight caching method. The invention also discloses a video highlight cache user side and a video highlight cache server. The method and the device have the advantage of meeting the requirement of reducing the blockage when the user selects to watch the video highlight content of the video when watching the video with the heat curve through the network. The scheme of the invention is mainly as follows: the method comprises the steps that a user side receives a playing instruction of a video with a heat curve, then sends the video and a downloading request of the heat curve to a server of the video, the user side can play the cached video in the process of caching the video, if the caching speed is higher than the playing speed, the user side generates a video highlight caching request based on the downloaded heat curve, sends the video highlight caching request to the server, and caches the video highlight sent by the server.

Description

Video highlight caching method and related device
Technical Field
The present invention relates to the field of video data processing, and in particular, to a video highlight caching method and related apparatus.
Background
With the pace of social life increasing, the user watches videos with a phenomenon of fast consumption, and the user wants to have a fast browsing demand on the highlight content of the videos in a short time, so as to determine whether to continue watching the videos.
In the prior art, in order to quickly locate the highlight of different videos in a video, the highlight of the video is composed of content segments of part of the videos of the video, a calculation method for a heat curve of the video is provided in the patent application published in china with the application number of CN201810943002.2, the heat curve of the content segments of different videos can be obtained according to the calculation method for the heat curve provided by the document, the peak part of the heat curve represents the highlight of the video, the heat curve can collect different operations of different users on different content segments of the video by depending on a media player (such as a thunderbolt video) of a user side, and preset weighted calculation is performed on the operations to obtain heat values of different content segments of the video, and then the heat values of the content segments of the video are integrated into the heat curve of the video.
When a user views a video with a heat curve through a network, the heat curve is displayed on a progress bar of the video. Through the combination of the heat curve and the video progress bar, the user can clearly know the position of the video highlight content of the video on the progress bar, but in the prior art, the video is played in sequence and only the video clip a period of time behind the current viewed video position point is cached, so that if the user wants to view the video highlight content of the video, a double-speed playing mode is needed in the process of viewing the video, or the progress bar is dragged manually to jump to the position of the peak part of the heat curve of the video for playing, when the jumping position exceeds the cached video clip behind the current viewed video position point, because the video highlight content clip corresponding to the position of the peak part of the heat curve of the video is not cached completely, the situation of video card can occur, and the situation that the user cannot view the video with the heat curve through the network can be met, the need to view the video highlights of the video without stuttering.
Disclosure of Invention
The invention mainly aims to provide a video highlight caching method and a related device, aiming at relieving the problem that when a user watches a video with a heat curve through a network, the video highlight of the video is blocked.
In order to achieve the above object, a first aspect of the present invention provides a video highlight caching method, including:
a user side receives a playing instruction of a video, the video is provided with a corresponding heat curve, and the peak part of the heat curve reflects the highlight data range of the video highlight content of the video;
the user side sends a video caching request and a downloading request of the heat curve to the video server;
the user side caches the video sent by the server according to the caching request and downloads the heat curve sent by the server according to the downloading request;
in the process that the user side caches the video, the user side plays the cached video;
if the caching speed of the video is higher than the playing speed of the video, the user side generates a video highlight caching request based on the downloaded heat curve, sends the video highlight caching request to the server, and caches the video highlight sent by the server according to the video highlight caching request.
Optionally, the generating, by the user side, a video highlight caching request based on the downloaded heat curve includes:
the user side determines a highlight data range reflecting video highlight content in the heat curve;
the user side determines a target data range which is not contained in the cached data range of the video in the highlight data range;
and the user side generates a video highlight cache request, wherein the video highlight cache request comprises the target data range.
Optionally, the sending, by the user side, the video highlight caching request to the server includes:
when the video highlight cache requests are multiple, the user side sends the video highlight cache requests to the server according to a specific sequence, and the specific sequence is a sequence of playing the video highlight corresponding to each video highlight cache request on the video.
Optionally, after the client caches the video highlight sent by the server according to the video highlight caching request, the method further includes:
the user side determines video highlight content corresponding to the highlight data range in the video according to the highlight data range;
the user side generates a video highlight collection of the video highlight of the video;
and the user side plays the video highlight collection.
Optionally, the determining, by the user side, video highlight content corresponding to the highlight data range in the video according to the highlight data range includes:
the user side intercepts video highlight content corresponding to the highlight data range from the video according to the highlight data range; or the like, or, alternatively,
and the user side marks video highlight content corresponding to the highlight data range in the video according to the highlight data range.
In order to achieve the above object, a second aspect of the present invention provides a video highlight caching method, including:
the method comprises the steps that a server receives a cache request for a video and a download request for a heat curve of the video, wherein the cache request for the video and the download request are sent by a user side, and the peak part of the heat curve reflects the highlight data range of the video highlight content of the video;
the server determines the video according to the cache request and determines the heat curve according to the download request of the heat curve;
the server sends the video and the heat curve to the user side;
in the process that the server sends the video to the user side, the server receives a video highlight cache request generated by the user side based on the downloaded heat curve;
the server determines video highlight content in the video according to the video highlight content caching request;
and the server sends the video highlight content to the user side.
Optionally, the receiving, by the server, a video highlight caching request generated by the user side based on the downloaded heat curve includes:
the server receives a video highlight cache request generated by the user side based on the downloaded heat curve, wherein the video highlight cache request comprises a target data range which is determined to be not included in a video data range cached by the user side in the highlight data range, and the highlight data range is a data range which is determined to reflect video highlight by the user side in the heat curve.
Optionally, the receiving, by the server, the highlight caching request sent by the user side includes:
when a plurality of video highlight cache requests are available, the server receives the video highlight cache requests sent by the user side according to a specific sequence, wherein the specific sequence is a sequence of playing video highlights corresponding to the video highlight cache requests on the video;
optionally, before the server receives a request for caching the video and a request for downloading the heat curve of the video sent by the user side, the method further includes:
the server acquires heat characteristic data of each content segment forming the video, wherein the heat characteristic data comprises heat marks with preset kinds of numbers and the number corresponding to each heat mark;
the server performs weighted calculation on the number of the corresponding types of heat marks by using weights which are preset for each type of heat marks to obtain a heat value of each content segment;
and the server draws a heat curve of the video according to the heat value of each content segment.
To achieve the above object, a third aspect of the present invention provides a video highlight caching client, including:
the first receiving unit is used for receiving a playing instruction of a video, the video is provided with a corresponding heat curve, and the peak part of the heat curve reflects the highlight data range of the video highlight content of the video;
the first sending unit is used for sending a caching request of the video and a downloading request of the heat curve to a server of the video;
the first cache unit is used for caching the video sent by the server according to the cache request and downloading the heat curve sent by the server according to the download request;
the first playing unit is used for playing the cached video in the process of caching the video at the user side;
the first generation unit is used for generating a video highlight cache request based on the downloaded heat curve if the cache speed of the video is greater than the playing speed of the video;
a second sending unit, configured to send the video highlight caching request to the server;
and the second cache unit is used for caching the video highlight sent by the server according to the video highlight cache request.
Optionally, the first generating unit is specifically configured to generate a video highlight cache request based on the downloaded heat curve;
determining a highlight data range reflecting video highlight content in the heat curve;
determining, in the highlight data range, a target data range that is not included in the cached data range for the video;
generating a video highlight cache request, the video highlight cache request comprising the target data range.
Optionally, when sending the video highlight caching request to the server, the second sending unit is specifically configured to:
and when the video highlight cache requests are multiple, sending the video highlight cache requests to the server according to a specific sequence, wherein the specific sequence is a sequence of playing video highlights corresponding to the video highlight cache requests on the video.
Optionally, the video highlight caching user side further includes:
the first determining unit is used for determining video highlight content corresponding to the highlight data range in the video according to the highlight data range;
a second generating unit configured to generate a video highlight collection of video highlights of the video;
and the second playing unit is used for playing the video highlight collection.
Optionally, the first determining unit is specifically configured to determine, in the video according to the highlight data range, video highlight content corresponding to the highlight data range;
intercepting video highlight content corresponding to the highlight data range in the video according to the highlight data range; or the like, or, alternatively,
and marking the video highlight content corresponding to the highlight data range in the video according to the highlight data range.
To achieve the above object, a fourth aspect of the present invention provides another video highlight caching server, including:
the second receiving unit is used for receiving a caching request for a video and a downloading request for a heat curve of the video, wherein the peak part of the heat curve reflects the video highlight content of the video;
a second determining unit, configured to determine the video according to the cache request and determine the heat curve according to the download request;
a third sending unit, configured to send the video according to the cache request of the video and send the heat curve according to the download request of the heat curve of the video;
a third receiving unit, configured to receive a video highlight cache request generated based on the downloaded heat curve in a process of sending the video;
a third determining unit, configured to determine video highlight content in the video according to the video highlight content caching request;
a fourth transmitting unit for transmitting the video highlight.
Optionally, when the third receiving unit receives a video highlight caching request generated by the user side based on the downloaded heat curve, the third receiving unit is specifically configured to:
receiving a video highlight cache request generated by a user side based on the downloaded heat curve, wherein the video highlight cache request comprises a target data range which is determined not to be included in a video data range cached by the user side in the highlight data range, and the highlight data range is a data range which is determined by the user side to reflect video highlight in the heat curve.
Optionally, when the third receiving unit receives a video highlight caching request generated by the user side based on the downloaded heat curve, the third receiving unit is specifically configured to:
when a plurality of video highlight cache requests are available, receiving the cache requests of the video highlight sent according to a specific sequence, wherein the specific sequence is a sequence of playing video highlights corresponding to the video highlight cache requests on the video;
optionally, the video highlight caching server further includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring heat characteristic data of each content segment forming the video, and the heat characteristic data comprises heat marks with preset kinds and the number corresponding to each heat mark;
the calculating unit is used for carrying out weighted calculation on the number of the corresponding types of the heat marks by utilizing weights which are respectively set for each type of the heat marks in advance to obtain the heat value of each content segment;
and the drawing unit is used for drawing a heat curve of the video according to the heat value of each content segment.
In order to achieve the above object, a fifth aspect of the present invention provides another video highlight caching client, including a memory and a processor, where the memory stores a program executable on the processor, and the program, when executed by the processor, implements any one of the video highlight caching methods of the first aspect.
In order to achieve the above object, a sixth aspect of the present invention provides another video highlight caching server, which includes a memory and a processor, wherein the memory stores a program executable on the processor, and the program implements any one of the video highlight caching methods of the second aspect when executed by the processor.
To achieve the above object, a seventh aspect of the present invention provides a computer-readable storage medium having a program stored thereon, where the program is executable by one or more processors to implement the video highlight caching method according to any one of the first and second aspects.
To achieve the above object, an eighth aspect of the present invention provides a computer program product comprising computer instructions which, when run on a computer, enable the computer to perform the video highlight caching method according to any one of the first and second aspects.
The invention can realize the following beneficial effects:
according to the embodiment of the invention, the heat curve of the video and the cache of the video are combined, so that the video cache of the peak part of the heat curve of the video can be realized when the cache speed of the user is higher than the play speed, and the problem that the wonderful content of the video watched by the user is blocked when the user watches the video with the heat curve through a network is solved.
Drawings
FIG. 1 is a network framework diagram of a video highlight caching method and related apparatus according to the present invention;
FIG. 2 is a flow chart illustrating a video highlight caching method according to the present invention;
FIG. 3 is another flow chart of the video highlight caching method according to the present invention;
FIG. 4 is another flow chart of the video highlight caching method according to the present invention;
FIG. 5 is a functional block diagram of a video highlight caching client according to the present invention;
FIG. 6 is a functional block diagram of a video highlight cache server according to the present invention;
FIG. 7 is a schematic diagram of another functional module of the video highlight caching client according to the present invention;
FIG. 8 is a schematic diagram of another functional block of the video highlight cache server according to the present invention;
FIG. 9 is a schematic diagram of another functional module of the video highlight caching client according to the present invention;
fig. 10 is a schematic diagram of another functional module of the video highlight cache server 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
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a video highlight caching method and a related device, which are used for relieving the problem that the video highlight of a user watching a video with a heat curve is blocked when the user watches the video through a network.
Referring to fig. 1, fig. 1 is a network framework diagram of a video highlight caching method and a related apparatus according to the present invention.
Server 101, computer user terminal 102, mobile device user terminal 103, and access network device 104.
The server 101 is connected to the computer user terminal 102, and the server 101 is connected to the mobile device user terminal 103 through the access network device 104. In the embodiment of the present invention, only one computer user terminal 102 is taken as an example for illustration, and in practical applications, more computer user terminals may be connected to the server; similarly, only one mobile device client 103 is taken as an example for description, in practical applications, more mobile device clients may be connected to the server through the access network device 104, or both a computer client and a mobile device client may exist.
The connection between the computer user side and the server and the connection between the access network device and the server are generally through a wired network, and may also be through a wireless network, such as a cellular wireless network, or a WiFi network, or other types of wireless networks. The mobile device user end and the access network device are generally connected through a wireless network or a wired network, and if the connection is a wired network, the connection form of the wired network is an optical fiber.
The user side in the present invention refers to a media player, such as a thunderbolt video, which may be a media player installed on a computer or a media player installed on a mobile device, and is not limited herein.
Referring to fig. 2, fig. 2 is a flow chart illustrating a video highlight caching method according to the present invention.
201. The method comprises the steps that a user side receives a playing instruction of a video, the video is provided with a corresponding heat curve, and the peak part of the heat curve reflects the highlight data range of the highlight content of the video;
when the video of the user terminal has the heat curve, the user terminal can receive the playing instruction aiming at the video with the heat curve, and the peak part of the heat curve reflects the video wonderful content of the video.
202. A user side sends a video caching request and a downloading request of a heat curve to a video server;
after receiving the video playing instruction in step 201, the user end sends a video caching request and a video downloading request of the heat curve to the server storing the video, where caching and downloading refer to requesting the server to transmit the corresponding resource to the device of the user end.
203. The client caches the video sent by the server according to the caching request, and downloads the heat curve sent by the server according to the downloading request;
after the user sends the video caching request and the video heat curve downloading request to the server storing the video in step 202, the user receives the video and the heat curve sent by the video server.
204. In the process of caching the video at the user side, the user side plays the cached video;
in the process of caching the video at the user side in step 203, because the video played at the user side usually occupies a large storage space, and is affected by the network transmission speed between the user side and the server, a certain time is required for the server to transmit the video to the user side completely, and before the user side completes all the contents of the video, the process of caching the video at the user side can be called as a process of caching the video at the user side.
205. If the caching speed of the video is higher than the playing speed of the video, the user side generates a video highlight caching request based on the downloaded heat curve;
in step 204, during the process of playing the cached video while the user end caches the video, the user end monitors the caching speed of the video and the playing speed of the video, and if the user end determines that the caching speed is greater than the playing speed of the video, it is proved that the network transmission environment of the user end is good, the normal playing requirement of the user end on the video can be met, and a certain network transmission margin is provided.
206. A user side sends a video highlight cache request to a server;
after the video highlight cache request is generated in step 205, the video highlight cache request may be sent to the server for the video.
207. The user side caches the video highlight sent by the server according to the video highlight caching request;
after the video highlight request sent by the user terminal to the server in step 206, the video highlight sent by the server according to the video highlight caching request is received, and the user terminal can cache the video highlight.
According to the invention, the heat curve of the video and the cache of the video are combined, so that the video cache of the peak part of the heat curve of the video is realized when the cache speed is higher than the play speed by a user side, and the problem that the wonderful content of the video is blocked when the user watches the video with the heat curve through a network is solved.
Referring to fig. 3, fig. 3 is another flow chart of the video highlight caching method according to the present invention.
301. The method comprises the steps that a server receives a cache request for a video and a download request for a heat curve of the video, wherein the cache request for the video and the download request for the heat curve of the video are sent by a user side, and the peak part of the heat curve reflects the wonderful content of the video;
when a video with a heat curve exists in a server of the video, the server receives a caching request for the video and a downloading request for the heat curve of the video.
302. The server determines the video according to the cache request and determines the heat curve according to the download request of the heat curve;
after the server receives the video caching request and the video downloading request, the server may determine the video and the video heat curve according to the video caching request and the video downloading request.
303. The server sends the video and the heat curve to the user side;
after the server determines the heat curve of the video and the video in step 302, the heat curve of the video and the video can be sent to the user side, because the storage space occupied by the video is often large, the transmission of the video from the server to the user side is generally a segmented transmission, that is, the complete video is segmented into one segment for transmission, the storage space occupied by the heat curve of the video is generally small, and the storage space occupied by the heat curve is often small.
304. In the process that the server sends the video to the user side, the server receives a video highlight cache request generated by the user side based on the downloaded heat curve;
in the process of sending the video to the user terminal by the server in step 303, the server may receive a video highlight cache request generated by the heat curve downloaded by the user terminal.
305. The server determines video highlight content in the video according to the video highlight content caching request;
after the server receives the video highlight cache request in step 304, the video highlight of the video can be determined in the server according to the video highlight cache request;
306. the server sends the video highlight to the user side.
After the server determines the video highlights content in step 305, the server may send the video to the user side along with the video highlights content of the video.
The server of the invention can send the video to the user terminal and also can respond to the video highlight request to send the video highlight, thereby alleviating the problem that the video highlight of the video is blocked when the user watches the video with the heat curve at the user terminal through the network.
Referring to fig. 4, the following describes the video highlight caching method in detail, and fig. 4 is another flow chart of the video highlight caching method according to the present invention.
401. The server acquires heat characteristic data of each content segment forming the video;
in order to draw a heat curve for a certain video, the server refers to the method disclosed in chinese patent application No. CN201810943002.2, and needs to acquire heat characteristic data of each content segment constituting the video. The heat characteristic data is composed of heat marks and the number corresponding to each heat mark, in order to obtain the heat characteristic data, a video can be divided into a plurality of content segments according to a certain time length (for example, 30 seconds), a server can collect operations of different users on each content segment when watching the video based on an internet media player (for example, thunder video), and different operations are used as different heat marks, for example, the content segment with the most playing times is used as a most playing mark, the content segment actively expressing likes is used as a like mark, the content segment initiating comments is used as a comment mark, the content segment of a published barrage is used as a barrage mark, the content segment produced to be a short time frequency is used as a short video mark, and the like. And the server collects different heat marks of different content segments of the video and the corresponding quantity of each heat mark based on the Internet big data and stores the heat marks. The server obtains the heat characteristic data of each content segment constituting the video, generally, the server obtains the heat characteristic data of each content segment constituting the video which is currently stored and updated by the server.
402. The server calculates the heat curve characteristic data in a weighting mode to obtain a heat value;
for the heat characteristic data of each content segment of the video acquired in step 401, the server performs weighted calculation on the number of the corresponding type of heat markers by using the weights preset for each type of heat markers, so as to obtain the heat value of each content segment.
403. The server draws a heat curve;
for the heat value of each content segment of the video obtained in step 402, a heat curve of the video can be obtained by drawing according to the method disclosed in chinese published application No. CN 201810943002.2.
404. A user side receives a video playing instruction;
the step is similar to step 201 in fig. 2, and is not described here again.
405. A user side sends a video caching request and a video hot curve downloading request to a server;
the step is similar to step 202 in fig. 2, and is not described here again.
406. The server determines a video and a heat curve;
the step is similar to step 302 in fig. 3, and is not described here again.
407. The server sends videos and the heat curves of the videos to the user side;
the execution of this step is similar to the execution of step 303 in fig. 3, and is not described here again.
408. The user side caches the video sent by the server and downloads the heat curve of the video;
the step is performed similarly to step 203 in fig. 3, and is not described herein again.
409. The method comprises the steps that a user side plays a cached video in the process of caching the video;
the step is similar to step 204 in FIG. 2, and is not described here again.
410. The user end judges whether the video caching speed is greater than the playing speed, if the caching speed is greater than the playing speed, step 411 is executed, and if the caching speed is less than or equal to the playing speed, step 408 is executed;
in the process of playing the cached video while caching the video at the user end in step 409, the user end may monitor the video caching speed and the video playing speed, and determine whether the video caching speed is greater than the video playing speed. It should be noted that, in this step, the user side may monitor the buffering speed and the playing speed of the video all the time, or may monitor the video once at a certain time interval, and the specific time interval is not limited herein.
411. The method comprises the steps that a user side determines a highlight data range of video highlight content;
in step 410, the user end determines that the buffering speed is greater than the playing speed, and in step 408, in case that the user end has downloaded the heat curve of the video, the user end determines the highlight data range corresponding to the video highlight through the peak portion of the heat curve.
412. The user side determines a target data range in the wonderful data range;
in step 411, the user end removes the data range corresponding to the cached part of the video highlight from the highlight data range determined by the user end, and determines the target data range corresponding to the uncached highlight range.
413. A user side generates a video highlight cache request;
after obtaining the target data range in step 412, the user terminal may generate a video highlight cache request containing the target data range.
It should be noted that, in practical applications, the highlight caching request generated by the user side in this step may be multiple, the generation of the highlight caching requests may be generated according to video segments corresponding to multiple video highlights, or may be a method of dividing one video highlight segment into multiple sub-segments according to a certain rule (for example, a fixed time duration or a fixed number of frames, etc.), and generating one highlight caching request from each sub-segment, or generating multiple video highlight caching requests from video highlights, which is not limited herein.
414. A user side sends a video highlight request to a server;
the step is similar to the step 207 in fig. 2, and is not described here again.
It should be noted that, in practical applications, when there are a plurality of video highlight caching requests, the user may send the video highlight caching requests to the server according to a specific sequence, where the specific sequence is a sequence in which video highlights corresponding to each video highlight caching request are played on a video, so that the user can search and send highlight video contents conveniently.
415. The server determines video highlight content;
the execution of this step is similar to the execution of step 305 in fig. 3, and is not described here again.
416. The server sends video highlight content to the user side;
the step is performed similarly to step 306 in fig. 3, and is not described herein again.
417. Caching video wonderful content at a user side;
this step is performed similarly to step 208 in FIG. 2, and is not described here again.
418. The user side determines video highlight content corresponding to the highlight data range;
after the user end finishes caching the video highlight in step 417, which is equivalent to activating the playing function of the video highlight of the user end, the user end determines the video highlight from the cached video data (i.e., the video data cached in step 408 and the video highlight data cached in step 417) according to the video highlight data range corresponding to the peak portion of the heat curve, and the user end can intercept the video highlight from the cached video data alone or mark the video highlight from the cached video data.
419. The user side generates a video highlight collection of the video highlight;
after determining the video highlights in step 418, the user terminal may generate a video highlight highlights for the determined video highlights.
420. And the user side plays the video highlight collection.
After the user end generates the highlight collection in step 419, the user end can actively or under a certain condition trigger to play the highlight collection.
In the invention, the server can send the video to the user terminal and simultaneously respond to the video highlight request to send the video highlight, under the condition that the video caching speed of the user terminal is redundant, the video and the video highlight can be cached simultaneously, the problem that the user watches the video highlight of the video when watching the video with the heat curve at the user terminal through the network is relieved, after the user terminal caches the highlight video content, the user terminal can also independently play the video content, namely, the user can know the highlight content part of the video under the condition that the user watches the video highlight content without being jammed.
Referring to fig. 5, fig. 5 is a functional block diagram of a video highlight caching client according to the present invention.
A first receiving unit 501, configured to receive a playing instruction of a video, where the video has a corresponding heat curve, and a peak portion of the heat curve reflects a highlight data range of a video highlight content of the video;
a first sending unit 502, configured to send a cache request of the video and a download request of the heat curve to a server of the video;
a first caching unit 503, configured to cache the video sent by the server according to the caching request, and download the heat curve sent by the server according to the downloading request;
a first playing unit 504, configured to play the cached video in a process of caching the video at the user side;
a first generating unit 505, configured to generate a video highlight caching request based on the downloaded heat curve if the caching speed is greater than the playing speed;
a second sending unit 506, configured to send the video highlight caching request to the server;
a second cache unit 507, configured to cache the video highlight sent by the server according to the video highlight caching request.
In this embodiment, the operations performed by the video highlight caching client are similar to those in the embodiment of fig. 2, and are not described herein again.
According to the invention, the heat curve of the video and the cache of the video are combined, so that the video cache of the peak part of the heat curve of the video is realized when the cache speed is higher than the play speed by a user side, and the problem that the wonderful content of the video is blocked when the user watches the video with the heat curve through a network is solved.
Referring to fig. 6, fig. 6 is a schematic diagram of another functional module of the video highlight caching server according to the present invention.
A second receiving unit 601, configured to receive a cache request for a video and a download request for a heat curve of the video, where a peak portion of the heat curve reflects video highlight content of the video;
a second determining unit 602, configured to determine the video according to the cache request and determine the heat curve according to the download request;
a third sending unit 603, configured to send the video according to the cache request of the video and send the heat curve according to the download request of the heat curve of the video;
a third receiving unit 604, configured to receive a video highlight caching request generated based on the downloaded heat curve during the process of sending the video;
a third determining unit 605, configured to determine the video highlight in the video according to the video highlight caching request;
a fourth sending unit 606, configured to send the video highlight.
In this embodiment, the operations performed by the video highlight cache server are similar to those in the foregoing embodiment of fig. 3, and are not described again here.
The server of the invention can send the video to the user terminal and also can respond to the video highlight request to send the video highlight, thereby alleviating the problem that the video highlight of the video is blocked when the user watches the video with the heat curve at the user terminal through the network.
Referring to fig. 7, fig. 7 is a schematic diagram of another functional module of the video highlight caching client according to the present invention.
A first receiving unit 701, configured to receive a playing instruction of a video, where the video has a corresponding heat curve, and a peak portion of the heat curve reflects video highlight content of the video;
a first sending unit 702, configured to send a cache request of the video and a download request of the heat curve to a server of the video;
a first caching unit 703, configured to cache the video sent by the server according to the caching request, and download the heat curve sent by the server according to the downloading request;
a first playing unit 704, configured to play the cached video in a process of caching the video at the user side;
a determining unit 705, configured to determine whether a buffering speed of the video is greater than a playing speed of the video;
a first generating unit 706, configured to generate a video highlight caching request based on the downloaded heat curve if the caching speed is greater than the playing speed;
a second sending unit 707, configured to send the video highlight caching request to the server;
a second caching unit 708, configured to cache the video highlight sent by the server according to the video highlight caching request.
Optionally, the first generating unit 706 is specifically configured to generate a video highlight caching request based on the downloaded heat curve;
determining a highlight data range reflecting video highlight content in the heat curve;
determining, in the highlight data range, a target data range that is not included in the cached data range for the video;
generating a video highlight cache request, the video highlight cache request comprising the target data range.
Optionally, when sending the video highlight caching request to the server, the second sending unit 707 is specifically configured to:
and when the video highlight cache requests are multiple, sending the video highlight cache requests to the server according to a specific sequence, wherein the specific sequence is a sequence of playing video highlights corresponding to the video highlight cache requests on the video.
Optionally, the video highlight caching user side further includes:
a first determining unit 709, configured to determine, in the video according to the highlight data range, video highlight content corresponding to the highlight data range;
a second generating unit 710 for generating a video highlight collection of the video highlight of the video;
and a second playing unit 711 for playing the video highlight collection.
Optionally, the first determining unit 709 is specifically configured to determine, in the video according to the highlight data range, video highlight content corresponding to the highlight data range;
intercepting video highlight content corresponding to the highlight data range in the video according to the highlight data range;
or marking the video highlight corresponding to the highlight data range in the video according to the highlight data range.
In this embodiment, the operations performed by the video highlight caching client are similar to the steps performed by the client in fig. 4, and are not described herein again.
According to the invention, the heat curve of the video and the cache of the video are combined, so that the video cache of the peak part of the heat curve of the video is realized when the cache speed is higher than the play speed by a user side, and the problem that the wonderful content of the video is blocked when the user watches the video with the heat curve through a network is solved.
Referring to fig. 8, fig. 8 is a schematic diagram of another functional module of the video highlight cache server according to the present invention
A second receiving unit 801, configured to receive a cache request for a video and a download request for a heat curve of the video, where a peak portion of the heat curve reflects video highlight content of the video;
a second determining unit 802, configured to determine the video according to the caching request and determine the heat curve according to the downloading request;
a third sending unit 803, configured to send the video according to the cache request of the video and send the heat curve according to the download request of the heat curve of the video;
a third receiving unit 804, configured to receive a video highlight cache request generated based on the downloaded heat curve in the process of sending the video;
a third determining unit 805, configured to determine video highlight in the video according to the video highlight caching request;
a fourth sending unit 806, configured to send the video highlight.
Optionally, when the third receiving unit 804 receives a video highlight caching request generated by the user end based on the downloaded heat curve, the third receiving unit is specifically configured to:
receiving a video highlight cache request generated by a user side based on the downloaded heat curve, wherein the video highlight cache request comprises a target data range which is determined not to be included in a video data range cached by the user side in the highlight data range, and the highlight data range is a data range which is determined by the user side to reflect video highlight in the heat curve.
Optionally, when the third receiving unit 804 receives a video highlight caching request generated by the user end based on the downloaded heat curve, the third receiving unit is specifically configured to:
when a plurality of video highlight cache requests are available, receiving the cache requests of the video highlight sent according to a specific sequence, wherein the specific sequence is a sequence of playing video highlights corresponding to the video highlight cache requests on the video;
optionally, the video highlight caching server further includes:
an obtaining unit 807 configured to obtain heat feature data of each content segment constituting the video, where the heat feature data includes a preset number of types of heat labels and a number corresponding to each type of the heat labels;
a calculating unit 808, configured to perform weighted calculation on the number of the corresponding types of heat labels by using weights respectively set for each type of heat label in advance, so as to obtain a heat value of each content segment;
the drawing unit 809 is configured to draw a heat curve of the video according to the heat value of each content segment.
In this embodiment, the operations performed by the video highlight cache server are similar to the steps performed by the server in fig. 4, and are not described herein again.
According to the invention, by combining the popularity curve of the video and the cache of the video, the server can respond to the request of the video highlight content to send the video highlight content while sending the video to the user side, so that the problem that the video highlight content watching the video is unsmooth when the user watches the video with the popularity curve at the user side through the network is solved.
Referring to fig. 9, fig. 9 is a schematic diagram of another functional module of the video highlight caching client according to the present invention.
The video highlight caching client 900 may include one or more Central Processing Units (CPUs) 901 and a memory 905, wherein the memory 905 stores one or more applications or data. Memory 905 may be volatile storage or persistent storage, among others. The program stored in the memory 905 may include one or more modules, each of which may include a series of instruction operations in a user side for caching video highlights. Further, the central processor 901 may be configured to communicate with the memory 905, and execute a series of instruction operations in the memory 905 on the video highlight cache user terminal 900. The video highlight cache client 900 may also include one or more power supplies 902, one or more wired or wireless network interfaces 903, one or more input-output interfaces 904, and/or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. The central processing unit 901 can execute the operations executed by the user terminal in the embodiments shown in fig. 2 or fig. 4, and details thereof are not described herein.
Referring to fig. 10, fig. 10 is a schematic diagram of another functional module of the video highlight caching server according to the present invention.
The video highlight cache server 1000 may include one or more Central Processing Units (CPUs) 1001 and a memory 1005, where the memory 1005 stores one or more applications or data. The memory 1005 may be volatile memory or persistent storage, among others. The program stored in the memory 1005 may include one or more modules, each of which may include a series of instruction operations in a video highlight cache server. Still further, the central processor 1001 may be configured to communicate with the memory 1005 to execute a series of instruction operations in the memory 1005 on the video highlight cache server 1000. The video highlight cache Server 1000 may also include one or more power supplies 1002, one or more wired or wireless network interfaces 1003, one or more input-output interfaces 1004, and/or one or more operating systems, such as Windows Server, Mac OSX, Unix, Linux, FreeBSD, etc. The central processing unit 1001 may execute the operations executed by the server in the embodiments shown in fig. 3 or fig. 4, and details thereof are not described herein.
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 (14)

1. A method for caching video highlights, the method comprising:
a user side receives a playing instruction of a video, the video is provided with a corresponding heat curve, and the peak part of the heat curve reflects the highlight data range of the video highlight content of the video;
the user side sends a video caching request and a downloading request of the heat curve to the video server;
the user side caches the video sent by the server according to the caching request and downloads the heat curve sent by the server according to the downloading request;
in the process that the user side caches the video, the user side plays the cached video;
if the caching speed of the video is higher than the playing speed of the video, the user side generates a video highlight caching request based on the downloaded heat curve, sends the video highlight caching request to the server, and caches the video highlight sent by the server according to the video highlight caching request.
2. The video highlight caching method of claim 1, wherein said generating, by said user side, a video highlight caching request based on said downloaded heat curve comprises:
the user side determines a highlight data range reflecting video highlight content in the heat curve;
the user side determines a target data range which is not contained in the cached data range of the video in the highlight data range;
and the user side generates a video highlight cache request, wherein the video highlight cache request comprises the target data range.
3. The video highlight caching method of claim 2, wherein said sending said video highlight caching request from said client to said server comprises:
when the video highlight cache requests are multiple, the user side sends the video highlight cache requests to the server according to a specific sequence, and the specific sequence is a sequence of playing the video highlight corresponding to each video highlight cache request on the video.
4. The video highlight caching method according to any one of claims 1 to 3, wherein after said client side caches said video highlight sent by said server according to said video highlight caching request, said method further comprises:
the user side determines video highlight content corresponding to the highlight data range in the video according to the highlight data range;
the user side generates a video highlight collection of the video highlight of the video;
and the user side plays the video highlight collection.
5. The method for caching video highlights according to claim 4, wherein the determining, by the user side, the video highlights corresponding to the highlight data range in the video according to the highlight data range comprises:
the user side intercepts video highlight content corresponding to the highlight data range from the video according to the highlight data range; or the like, or, alternatively,
and the user side marks video highlight content corresponding to the highlight data range in the video according to the highlight data range.
6. A method for caching video highlights, the method comprising:
the method comprises the steps that a server receives a cache request for a video and a download request for a heat curve of the video, wherein the cache request for the video and the download request are sent by a user side, and the peak part of the heat curve reflects the highlight range of video highlight content of the video;
the server determines the video according to the cache request and determines the heat curve according to the download request of the heat curve;
the server sends the video and the heat curve to the user side;
in the process that the server sends the video to the user side, the server receives a video highlight cache request generated by the user side based on the downloaded heat curve;
the server determines video highlight content in the video according to the video highlight content caching request;
and the server sends the video highlight content to the user side.
7. The video highlight caching method of claim 6, wherein said server receiving a video highlight caching request generated by a client based on said downloaded heat curve comprises:
the server receives a video highlight cache request generated by the user side based on the downloaded heat curve, wherein the video highlight cache request comprises a target data range which is determined to be not included in a video data range cached by the user side in the highlight data range, and the highlight data range is a data range which is determined to reflect video highlight by the user side in the heat curve.
8. The video highlight caching method according to claim 7, wherein said receiving, by said server, said highlight caching request sent by said user terminal comprises:
when the video highlight cache requests are multiple, the server receives the cache requests of the video highlight sent by the user side according to a specific sequence, wherein the specific sequence is a sequence of playing the video highlight corresponding to each video highlight cache request on the video.
9. The method for caching video highlights according to any of the claims 6 to 8, wherein before the server receives the request for caching the video sent by the user side and the request for downloading the heat curve of the video, the method further comprises:
the server acquires heat characteristic data of each content segment forming the video, wherein the heat characteristic data comprises heat marks with preset kinds of numbers and the number corresponding to each heat mark;
the server performs weighted calculation on the number of the corresponding types of heat marks by using weights which are preset for each type of heat marks to obtain a heat value of each content segment;
and the server draws a heat curve of the video according to the heat value of each content segment.
10. A video highlight caching client, comprising:
the first receiving unit is used for receiving a playing instruction of a video, the video is provided with a corresponding heat curve, and the peak part of the heat curve reflects the video highlight content of the video;
the first sending unit is used for sending a caching request of the video and a downloading request of the heat curve to a server of the video;
the first cache unit is used for caching the video sent by the server according to the cache request and downloading the heat curve sent by the server according to the download request;
the first playing unit is used for playing the cached video in the process of caching the video at the user side;
the judging unit is used for judging whether the caching speed of the video is greater than the playing speed of the video or not;
a first generating unit, configured to generate a video highlight cache request based on the downloaded heat curve if the cache speed is greater than the play speed;
a second sending unit, configured to send the video highlight caching request to the server;
and the second cache unit is used for caching the video highlight sent by the server according to the video highlight cache request.
11. A video highlight caching server, comprising:
the second receiving unit is used for receiving a caching request for a video and a downloading request for a heat curve of the video, wherein the peak part of the heat curve reflects the video highlight content of the video;
a second determining unit, configured to determine the video according to the cache request and determine the heat curve according to the download request;
a third sending unit, configured to send the video according to the cache request of the video and send the heat curve according to the download request of the heat curve of the video;
a third receiving unit, configured to receive a video highlight cache request generated based on the downloaded heat curve in a process of sending the video;
a third determining unit, configured to determine video highlight content in the video according to the video highlight content caching request;
a fourth transmitting unit for transmitting the video highlight.
12. A user terminal for caching video highlights, characterized in that said user terminal comprises a memory and a processor, said memory having stored thereon the method according to any of the claims 1 to 5, executable on said processor.
13. A video highlight caching server, characterized in that it comprises a memory and a processor, said memory having stored thereon a method according to any one of claims 6 to 9 executable on said processor.
14. A computer-readable storage medium, having a program stored thereon, the program being executable by one or more processors to implement the method of any one of claims 1 to 9.
CN201911137460.8A 2019-11-19 2019-11-19 Video highlight caching method and related device Pending CN110769284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911137460.8A CN110769284A (en) 2019-11-19 2019-11-19 Video highlight caching method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911137460.8A CN110769284A (en) 2019-11-19 2019-11-19 Video highlight caching method and related device

Publications (1)

Publication Number Publication Date
CN110769284A true CN110769284A (en) 2020-02-07

Family

ID=69338597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911137460.8A Pending CN110769284A (en) 2019-11-19 2019-11-19 Video highlight caching method and related device

Country Status (1)

Country Link
CN (1) CN110769284A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327958A (en) * 2020-02-28 2020-06-23 北京百度网讯科技有限公司 Video playing method and device, electronic equipment and storage medium
CN112261472A (en) * 2020-10-19 2021-01-22 上海博泰悦臻电子设备制造有限公司 Short video generation method and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011150648A1 (en) * 2010-12-24 2011-12-08 华为技术有限公司 Method and system for providing preview video, media server and playing terminal
CN102487456A (en) * 2009-11-30 2012-06-06 国际商业机器公司 Method for providing visit rate of online video and device thereof
US20130259442A1 (en) * 2012-04-02 2013-10-03 Jonathan BLOCH Systems and methods for loading more than one video content at a time
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN105191337A (en) * 2013-03-05 2015-12-23 英国电讯有限公司 Provision of video data
CN109040796A (en) * 2018-08-17 2018-12-18 深圳市迅雷网络技术有限公司 The calculation method of contents fragment temperature, the playback method of video content and device
CN110166817A (en) * 2019-06-24 2019-08-23 北京奇艺世纪科技有限公司 A kind of data cache method and relevant device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487456A (en) * 2009-11-30 2012-06-06 国际商业机器公司 Method for providing visit rate of online video and device thereof
WO2011150648A1 (en) * 2010-12-24 2011-12-08 华为技术有限公司 Method and system for providing preview video, media server and playing terminal
US20130259442A1 (en) * 2012-04-02 2013-10-03 Jonathan BLOCH Systems and methods for loading more than one video content at a time
CN105191337A (en) * 2013-03-05 2015-12-23 英国电讯有限公司 Provision of video data
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN109040796A (en) * 2018-08-17 2018-12-18 深圳市迅雷网络技术有限公司 The calculation method of contents fragment temperature, the playback method of video content and device
CN110166817A (en) * 2019-06-24 2019-08-23 北京奇艺世纪科技有限公司 A kind of data cache method and relevant device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327958A (en) * 2020-02-28 2020-06-23 北京百度网讯科技有限公司 Video playing method and device, electronic equipment and storage medium
CN111327958B (en) * 2020-02-28 2022-03-25 北京百度网讯科技有限公司 Video playing method and device, electronic equipment and storage medium
CN112261472A (en) * 2020-10-19 2021-01-22 上海博泰悦臻电子设备制造有限公司 Short video generation method and related equipment

Similar Documents

Publication Publication Date Title
CN110798716A (en) Video highlight playing method and related device
US11032388B2 (en) Methods for prerendering and methods for managing and configuring prerendering operations
KR101711456B1 (en) System and method for improving access to search results
US8825790B2 (en) Caching of fragmented streaming media
EP2724243B1 (en) Dynamic content caching
US20170346928A1 (en) Access to network content
US20160063577A1 (en) Handling of real-time advertisement with content prefetching
WO2013006332A1 (en) Improving access to network content
CN108881516B (en) Method and device for scheduling multi-CDN service system
US9210101B2 (en) Smart packaging for mobile applications
CN108256014B (en) Page display method and device
CN110769284A (en) Video highlight caching method and related device
CN109587521A (en) The determination method and device of video cardton
CN110855786B (en) Processing method and device for network data request and computer storage medium
RU2738447C1 (en) Video caching method and video caching device
US11182452B2 (en) Web acceleration via learning
JP6787846B2 (en) Suspected location estimation device and suspected location estimation method
EP3164985A1 (en) Server, client device and methods therein for handling cached content ressources
KR101535084B1 (en) Content delivery method and apparatus based on user access information
CN113038186A (en) Method and configuration for flexible speed limit by automatically analyzing video code rate in content distribution network
JP2005250787A (en) Contents providing system, contents providing server, user terminal, contents providing program, and contents acquisition program
CN117640760A (en) Method for responding to acquisition request, electronic device, electronic equipment and medium
JP2002189626A (en) Proxy server, and control method therefor

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication