CN113315996B - Method and device for controlling video playing and electronic equipment - Google Patents

Method and device for controlling video playing and electronic equipment Download PDF

Info

Publication number
CN113315996B
CN113315996B CN202110533121.2A CN202110533121A CN113315996B CN 113315996 B CN113315996 B CN 113315996B CN 202110533121 A CN202110533121 A CN 202110533121A CN 113315996 B CN113315996 B CN 113315996B
Authority
CN
China
Prior art keywords
video
target video
segment
target
video segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110533121.2A
Other languages
Chinese (zh)
Other versions
CN113315996A (en
Inventor
刘仁鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amusement Starcraft Beijing Technology Co ltd
Original Assignee
Amusement Starcraft Beijing 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 Amusement Starcraft Beijing Technology Co ltd filed Critical Amusement Starcraft Beijing Technology Co ltd
Priority to CN202110533121.2A priority Critical patent/CN113315996B/en
Publication of CN113315996A publication Critical patent/CN113315996A/en
Application granted granted Critical
Publication of CN113315996B publication Critical patent/CN113315996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • 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/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The disclosure relates to a method and a device for controlling video playing and electronic equipment. The method comprises the following steps: receiving a data acquisition request corresponding to a target video sent by a client; responding to the data acquisition request, and acquiring the starting time and the ending time of each video segment corresponding to the target video in the target video; issuing a complete target video to the client, wherein each video segment corresponds to a starting time and an ending time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.

Description

Method and device for controlling video playing and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a method and device for controlling video playing, and an electronic device.
Background
With the continuous development of internet technology, people know more and more channels of external information through the internet. The video website has visual and auditory multi-sense experience, so that the video website becomes an internet channel commonly used by people.
When the existing video website plays videos, the users usually start playing from the initial moment of the videos, the users need to manually pull the progress bar of the videos to skip uninteresting contents, the pulling progress bar cannot accurately find the video contents of the users, and the progress bar needs to be repeatedly adjusted.
Therefore, there is a problem in that operation efficiency is low for a user who views video.
Disclosure of Invention
The disclosure provides a method, a device and an electronic device for controlling video playing, so as to at least solve the above technical problems. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a method for controlling video playback, including:
receiving a data acquisition request sent by a client; the client displays a play option of each video segment corresponding to a target video on a video control area of a play interface corresponding to the target video, and generates the data acquisition request when any play option is triggered, wherein the data acquisition request comprises a start time and an end time of the triggered play option corresponding to the target video;
responding to the data acquisition request, and acquiring a target video segment from the starting moment to the ending moment in the target video;
Issuing the target video segment to the client; and enabling the client to play the target video segment in a video playing area of the playing interface.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; each video segment obtained by segmenting the target video comprises:
dividing the target video into a plurality of video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
the target video is divided into video segments based on an audio recognition algorithm or an image recognition algorithm.
Optionally, the dividing the target video into a plurality of video segments based on an audio recognition algorithm or an image recognition algorithm includes:
according to an audio recognition algorithm, taking the background music switching moment in the target video as a dividing point, and dividing the target video into a plurality of video segments; or alternatively, the process may be performed,
and dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the dividing the target video into a plurality of video segments according to a segmentation strategy provided by a producer of the target video includes:
Acquiring a segmentation strategy uploaded by a producer of the target video; the segmentation strategy comprises a starting time and an ending time of each video segment in the target video;
and dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, a corresponding thumbnail is displayed in the play option corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment; wherein the descriptive information includes an introduction to the content in the video segment.
According to a second aspect of an embodiment of the present disclosure, there is provided a method of controlling video playback, including:
receiving a data acquisition request corresponding to a target video sent by a client;
responding to the data acquisition request, and acquiring the starting time and the ending time of each video segment corresponding to the target video in the target video;
issuing a complete target video to the client, wherein each video segment corresponds to a starting time and an ending time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; each video segment obtained by segmenting the target video comprises:
dividing the target video into a plurality of video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
the target video is divided into video segments based on an audio recognition algorithm or an image recognition algorithm.
Optionally, the dividing the target video into a plurality of video segments based on an audio recognition algorithm or an image recognition algorithm includes:
according to an audio recognition algorithm, taking the background music switching moment in the target video as a dividing point, and dividing the target video into a plurality of video segments; or alternatively, the process may be performed,
and dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the dividing the target video into a plurality of video segments according to a segmentation strategy provided by a producer of the target video includes:
acquiring a segmentation strategy uploaded by a producer of the target video, wherein the segmentation strategy comprises a starting time and an ending time of each video segment in the target video;
And dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, the method further comprises:
acquiring a thumbnail corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment;
issuing a thumbnail corresponding to each video segment to the client; and enabling the client to display corresponding thumbnails in the play options corresponding to each video segment.
Optionally, the method further comprises:
acquiring description information corresponding to each video segment; wherein the descriptive information includes an introduction to content in the video segment;
the description information corresponding to each video segment is issued to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
According to a third aspect of the embodiments of the present disclosure, there is provided a method of controlling video playback, including:
displaying a playing option of each video segment corresponding to the target video on a video control area of a playing interface corresponding to the target video;
And when any play option is triggered, playing the target video segment corresponding to the triggered play option in the video play area of the play interface.
Optionally, after any play option is triggered, the method further includes:
sending a data acquisition request; the data acquisition request is used for acquiring a target video segment corresponding to the triggered play option in the target video.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the method further comprises:
monitoring interactive operation in a video playing area of the playing interface;
when the interactive operation is monitored, an interactive request is sent; the interaction request is used for acquiring the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
According to a fourth aspect of embodiments of the present disclosure, there is provided a method of controlling video playback, including:
sending a data acquisition request corresponding to a target video; the data acquisition request is used for acquiring a complete target video, and each video segment corresponding to the target video corresponds to the starting moment in the target video;
and displaying the play options of each video segment in the video control area of the play interface corresponding to the target video, and jumping to the start of playing at the start time of the target video when any play option is triggered.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the method further comprises:
Monitoring interactive operation in a video playing area of the playing interface;
when the interactive operation is monitored, an interactive request is sent; the interaction request is used for obtaining the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
According to a fifth aspect of embodiments of the present disclosure, there is provided an apparatus for controlling video playback, including:
a receiving unit configured to perform receiving a data acquisition request sent by a client; the client displays a play option of each video segment corresponding to a target video on a video control area of a play interface corresponding to the target video, and generates the data acquisition request when any play option is triggered, wherein the data acquisition request comprises a start time and an end time of the triggered play option corresponding to the target video;
a response unit configured to perform acquisition of a target video segment from the start time to the end time in the target video in response to the data acquisition request;
A playing unit configured to perform issuing of the target video segment to the client; and enabling the client to play the target video segment in a video playing area of the playing interface.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; and is pre-segmented by the following subunits:
a first segmentation subunit configured to perform segmentation of the target video into video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
a second segmentation subunit configured to perform an audio recognition algorithm or an image recognition algorithm based on dividing the target video into video segments.
Optionally, the second segmentation subunit is specifically configured to execute the method for dividing the target video into a plurality of video segments by taking the background music switching time in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the first segmentation subunit is specifically configured to execute a segmentation strategy uploaded by a producer acquiring the target video, where the segmentation strategy includes a start time and an end time of each video segment in the target video; and dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, a corresponding thumbnail is displayed in the play option corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment; wherein the descriptive information includes an introduction to the content in the video segment.
According to a sixth aspect of embodiments of the present disclosure, there is provided an apparatus for controlling video playback, including:
a receiving unit configured to execute a data acquisition request corresponding to a target video sent by a receiving client;
a response unit configured to perform acquisition of a start time and an end time of each video segment corresponding to the target video in response to the data acquisition request;
the playing unit is configured to execute the steps of issuing a complete target video to the client, and each video segment corresponds to a starting time and an ending time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; and is pre-segmented by the following subunits:
a first segmentation subunit configured to perform segmentation of the target video into video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
a second segmentation subunit configured to perform an audio recognition algorithm or an image recognition algorithm based on dividing the target video into video segments.
Optionally, the second segmentation subunit is specifically configured to execute the method for dividing the target video into a plurality of video segments by taking the background music switching time in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the first segmentation subunit is specifically configured to execute a segmentation strategy uploaded by a producer acquiring the target video, where the segmentation strategy includes a start time and an end time of each video segment in the target video; and dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, the apparatus further includes:
an acquisition subunit configured to perform acquisition of a thumbnail corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment;
a transmitting subunit configured to transmit, to the client, a thumbnail corresponding to each video segment; and enabling the client to display corresponding thumbnails in the play options corresponding to each video segment.
Optionally, the apparatus further includes:
an acquisition subunit configured to perform acquisition of description information corresponding to each video segment; wherein the descriptive information includes an introduction to content in the video segment;
the issuing subunit is configured to perform issuing of the description information corresponding to each video segment to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
According to a seventh aspect of embodiments of the present disclosure, there is provided an apparatus for controlling video playback, including:
a display unit configured to perform display of a play option of each video segment corresponding to a target video on a video control area of a play interface corresponding to the target video;
And the playing unit is configured to execute playing of the target video segment corresponding to the triggered playing option in the video playing area of the playing interface when any playing option is triggered.
Optionally, the playing unit is configured to send a data acquisition request when any playing option is triggered; the data acquisition request is used for acquiring a target video segment corresponding to the triggered play option in the target video.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the apparatus further includes:
a monitoring subunit configured to perform an interaction operation in a video playing area monitored by the playing interface;
an updating subunit configured to perform sending an interaction request when the interaction operation is monitored; the interaction request is used for acquiring the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
According to an eighth aspect of an embodiment of the present disclosure, there is provided an apparatus for controlling video playback, including:
a transmitting unit configured to perform transmission of a data acquisition request corresponding to a target video; the data acquisition request is used for acquiring a complete target video, and each video segment corresponding to the target video corresponds to the starting moment in the target video;
and the playing unit is configured to display the playing options of each video segment in the video control area of the playing interface corresponding to the target video, and jump to the corresponding beginning of playing at the starting time of the target video when any playing option is triggered.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the apparatus further includes:
a monitoring subunit configured to perform an interaction operation in a video playing area monitored by the playing interface;
an updating subunit configured to perform sending an interaction request when the interaction operation is monitored; the interaction request is used for obtaining the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
According to a ninth aspect of an embodiment of the present disclosure, an electronic device for controlling video playback includes:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of controlling video playback of any one of the preceding claims.
According to a tenth aspect of embodiments of the present disclosure, a computer readable storage medium, when instructions in the computer readable storage medium are executed by a processor of an electronic device controlling video playback, enables the electronic device controlling video playback to perform the method of controlling video playback of any one of the preceding claims.
According to an eleventh aspect of embodiments of the present disclosure, a computer program product comprising a computer program or instructions which, when executed by a processor, implement a method of controlling video playback as in any of the preceding claims.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the server side supports a segmented playing function of the target video, so that the client side can display playing options of each video segment corresponding to the target video in a video control area of a playing interface. Thus, a user watching the video can automatically play the corresponding video segment by triggering the play option corresponding to any video segment of interest. Therefore, the user can flexibly control the video playing content, and can jump to the interested video segment at any time, so that the user can accurately control the video content.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flowchart illustrating a method of controlling video playback with a server as a main body according to an exemplary embodiment.
Fig. 2 is a schematic flow diagram illustrating the production of video segments according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of controlling video playback with a client as a body, according to an exemplary embodiment.
Fig. 4 is a schematic diagram of a video playback interface shown in accordance with an exemplary embodiment.
Fig. 5 is a flowchart illustrating a method of controlling video playback with a server as a main body according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of controlling video playback with a client as a body, according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for controlling video playback according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus for controlling video playback according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an apparatus for controlling video playback according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating an apparatus for controlling video playback according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart illustrating a method of controlling video playback, which may be applied to a server, according to an exemplary embodiment, including the steps of:
step 110, receiving a data acquisition request corresponding to a target video sent by a client;
step 120, in response to the data acquisition request, acquiring a start time and an end time of each video segment corresponding to the target video;
step 130, issuing a complete target video to the client, wherein each video segment corresponds to a start time and an end time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.
Where the client may refer to a client device on hardware, such as a desktop computer, laptop computer, tablet computer, smart phone, handheld computer, personal digital assistant ("PDA"), or any other wired or wireless processor driven device.
The client may refer to an application client on software, for example providing a video APP.
The client may be a soft and hard combined client, such as a smart phone with a video APP installed, or a smart phone with a video website opened by a browser.
The server may refer to a server, a server cluster, or a cloud platform constructed by the server cluster that provides a video playing service. For example, a video server corresponding to a video APP or video website, a video server cluster, or a video cloud platform built from a video server cluster.
The target video may refer to any video that a user triggers browsing.
In step 120, the server needs each video segment corresponding to the target video. For the server, each video segment obtained by segmenting the target video in advance needs to be stored.
The following describes in detail the process of each video segment obtained by segmenting the target video in advance, with reference to the flowchart of the video segment production shown in fig. 2.
Step 10: uploading the complete video.
The producer of the video uploads a complete video to the server.
Step 12: it is determined whether the video needs to be segmented.
After receiving the uploaded complete video, the server judges whether the video needs to be segmented or not.
In one embodiment, if the video is annotated by the video producer with an identification representing a segment, then step 14 is continued;
if the video is marked with the mark for marking the segment by the video producer, the process of producing the video segment is finished according to the common video processing.
Step 14: it is determined whether the video requires automatic segmentation.
After determining that the video needs to be segmented, the server further needs to determine whether the video adopts automatic segmentation or not.
In one embodiment, if the video is annotated by the manufacturer with an identification representing an automatic segment, step 15 is performed;
if the video is not annotated by the manufacturer with an identification representing an automatic segmentation, step 16 is performed.
Step 15: the video is automatically segmented to obtain a number of video segments.
The server side automatically segments the video, and can segment the video according to the switching of background music or background images in the video as a segmentation point.
Specifically, the foregoing several video segments previously generated from the target video are generated by:
the target video is automatically divided into video segments based on an audio recognition algorithm or an image recognition algorithm.
The audio frequency recognition algorithm adopts the following steps: according to an audio recognition algorithm, the background music switching time in the target video is taken as a dividing point, and the target video is divided into a plurality of video segments.
The image recognition algorithm adopts the following steps: and dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
By the method, automatic video segmentation can be realized, so that the production speed of segmented videos is increased.
In another embodiment, reference may also be made to special frames in the video set by the video producer; the server may traverse the video and divide the target video into a plurality of video segments with the time of the special frame as a dividing point.
It should be noted that, since there are multiple automatic segmentation methods at the server, when the manufacturer uploads the video, the manufacturer may also designate to select one of the methods to automatically segment the video.
After a number of video segments are obtained, the subsequent step 18 is continued.
Step 16: the start and end moments of the video segment are specified.
After determining that the video is not automatically segmented, the server may manually segment the video by a producer of the video.
Specifically, the server may issue a video segmentation notification to a client corresponding to the producer, so that the client displays an operation interface for segmenting the video, the producer fills in a start time and an end time of each video segment corresponding to the target video in the operation interface, and returns the filled content as a segmentation policy to the server.
Accordingly, after obtaining the segmentation strategy uploaded by the producer of the video, the server may divide the target video into a plurality of video segments according to the segmentation strategy including a start time and an end time of each video segment corresponding to the target video.
It is worth mentioning that the case of crossing between different video segments is allowed, and that the duration of all segments is also allowed to add up to more or less than the duration of the complete video. Giving the video producer sufficient flexibility. However, the start time and end time of any two video segments are not allowed to be exactly the same.
Wherein the video segments have a cross, it may be meant that the start time or the end time of a certain video segment may be located between the start time and the end time of another video segment. I.e. there are cases where part of the video content is repeated for both video segments.
When there is a repetition of a portion of the video content, then there is a possibility that the duration of all segments will add up to exceed the duration of the complete video.
When a portion of the video content is not segmented into any video segments, then there is a possibility that the duration of all segments adds up to less than the duration of the complete video. I.e. the case where all video segments do not completely cover the complete video.
For example, a complete video may take 0-10 seconds, with a producer segmentation strategy of: 0-3 seconds 1 segment, 5-10 seconds 1 segment, a total of 2 video segments, wherein 3-5 seconds of video content is not segmented into any video segment, and therefore the duration of the 2 video segments is less than the full video duration.
After a number of video segments are obtained, the subsequent step 18 is continued.
By the method, manual video segmentation can be realized, and the video segmentation result is more in line with the expectations of the producer because the starting time and the ending time corresponding to each video segmentation are set by the producer. It can be seen that this way of manual video segmentation is more accurate.
Step 18: and acquiring the description information of the video segment.
The server acquires the description information of each video segment. Wherein the descriptive information includes an introduction to the content in the video segment.
In an embodiment, for the video segments generated in step 15, the server may add default description information for each video segment. For example, according to the sequence description information of the video segments, the following steps are sequentially performed: part1, part2, part3 …, in addition to the default description information, also support user editing modifications.
In one embodiment, for the video segment generated in step 16, there are two cases:
firstly, if the previous video is automatically segmented by the server, the server can send a notice to the client corresponding to the producer, so that the client fills in the description information of each video segment in the corresponding operation interface; the description information is then uploaded to the server. Wherein a maximum length of, for example, 100 characters may be limited for descriptive information.
Accordingly, after the server side obtains the description information uploaded by the producer of the video, the server side can obtain the description information of each video.
Second, if the previous video was manually segmented by the producer, the descriptive information for each video segment may be filled in by the producer in the operating interface for producing the video segment. The filled description information is uploaded to a server as part of a segmentation strategy. Wherein a maximum length of, for example, 100 characters may be limited for descriptive information.
Accordingly, after the server acquires the segmentation strategy uploaded by the producer of the video, the server can segment the video and acquire the description information of each segment of video.
If the producer does not fill in the description information, the server adds default description information for the video segment as before for step 15.
By setting description information for the video segments, a user watching the video can be enabled to know the content of each video segment more quickly, and the user can select more quickly.
Step 20: and judging whether the video segmentation needs automatic frame extraction or not.
After obtaining a plurality of video segments, the server side can set a thumbnail for each video segment.
To better show the video content in each video segment, frames may be extracted from the video segment, with the extracted 1-frame image being the thumbnail.
In one embodiment, if the video is tagged with an identification representing automatic frame extraction, then step 21 is performed;
if the video is not tagged by the manufacturer with an identification representing an auto-frame, step 22 is performed.
Step 21: a frame is extracted from the video segment as a thumbnail.
After the server determines the automatic frame extraction, the server may extract a frame of picture from each video segment as a thumbnail of the corresponding video segment.
Step 22: and uploading the thumbnail of the video segment.
After determining that the frame is not automatically drawn, the server may manually upload the thumbnail of each video segment by the producer of the video.
In an embodiment, if the previous video is automatically segmented by the server, the server may send a notification to the corresponding client of the producer to send a notification to the client, so that the client adds a thumbnail of each video segment in the presentation of the corresponding operation interface, and then upload the thumbnail to the server.
In another embodiment, if the previous video was manually segmented by the producer, a thumbnail of each video segment may be added by the producer in the operating interface of the producer video segment. The added thumbnail will be uploaded to the server as part of the segmentation strategy.
Accordingly, the server may take the thumbnail uploaded by the producer of the video as the thumbnail of the video segment.
If the producer does not add a thumbnail, then a frame is pulled from the video segment as a thumbnail by the server as in step 21.
And after the server acquires the description information and the thumbnail of each video segment, ending the process of making the video segment.
It should be noted that, fig. 2 shows a flow of acquiring description information first and then acquiring a thumbnail, which is only one example. In practical applications, the thumbnail may be acquired before the description information is acquired, or may be acquired synchronously. The method can be flexibly set according to actual requirements in specific implementation. This is not particularly limited in this specification.
In addition, if the thumbnail and description information of the video segment do not need to be acquired, the flow shown in fig. 2 may end after steps 15 and 16 are performed.
After understanding how the video segments are made, each of the steps 110 through 130 is described in detail below.
Step 110, receiving a data acquisition request corresponding to a target video sent by a client after the target video is triggered.
In general, a user may log in an existing user account on a client for watching videos or browse thumbnails of respective videos in a guest identity manner, trigger a playing interface corresponding to a target video by clicking on a thumbnail of the target video, and send a data acquisition request corresponding to the target video to a server.
Accordingly, the server side can receive a data acquisition request corresponding to the target video, which is sent by the client side.
In step 120, in response to the data acquisition request, a start time and an end time of each video segment corresponding to the target video are acquired.
The server stores the video segments corresponding to the pre-segmented videos and the starting time and the ending time of each video segment in the corresponding video.
When the server responds to the data acquisition request, the server can query a plurality of video segments corresponding to the target video stored on the server to acquire all video segments corresponding to the target video, and the starting time and the ending time of each video segment.
Step 130, issuing a complete target video to the client, wherein each video segment corresponds to a start time and an end time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.
After the server acquires the starting time and the ending time of each video segment corresponding to the target video, the data and the complete target video can be sent to the client.
Correspondingly, after receiving the data issued by the server, the client displays the playing options of each video segment in the playing interface corresponding to the target video, and automatically jumps to the starting moment of the corresponding video segment to start playing when the user triggers the playing options.
In an embodiment, corresponding to the thumbnail and/or the description information of each video segment set in fig. 2, the server may further send the thumbnail corresponding to each video segment to the client; the client side displays corresponding thumbnail images in the play options corresponding to each video segment respectively; and/or the number of the groups of groups,
the description information corresponding to each video segment is issued to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
By respectively displaying the corresponding thumbnail and/or description information in the play options, the user can be helped to quickly know the content of each video segment, and the user can conveniently select the video segment of interest.
In an embodiment, the client is further provided with a function of user interaction with the video, for example, the user may praise the video or send a comment information bullet screen for the video. Correspondingly, the client may also display the corresponding bullet screen number and the praise number for each video segment in the video control area.
When a server acquires a praise or a bullet screen triggered by a user, determining a target video segment corresponding to the trigger moment of the praise or the bullet screen;
And adding 1 to the praise number or the bullet screen number corresponding to the target video segment, and updating the praise number or the bullet screen number corresponding to the target video segment displayed on the client.
The more praise or bullet screen number is generally, the more the corresponding video content is more wonderful, and the embodiment can help a user to quickly locate popular video segments by separately counting praise or bullet screen number for each video segment, so that video viewing experience is improved.
The playing interface corresponding to the target video, the playing option of each video segment and the detail of playing at the starting moment of automatically jumping to the corresponding video segment when the user triggers the playing option are presented in the following embodiments taking the client as an execution subject.
In summary, through the above embodiment, the server supports the segment playing function of the target video, so that the client may display the playing option of each video segment corresponding to the target video in the playing interface. Thus, a user watching the video can automatically play the corresponding video segment by triggering the play option corresponding to any video segment of interest. Therefore, the user can flexibly control the video playing content, and can jump to the interested video segment at any time, so that the user can accurately control the video content.
It should be noted that in this embodiment, the client first caches the complete target video from the server, and then jumps to the start time of the corresponding video segment in the locally cached complete video for playing based on the triggered playing option of the user. That is, after the user triggers the play option, the client does not need to interact with the server to obtain the corresponding video segment. The embodiment can be applied to an offline playing scene, and after the client side caches the completed target video in advance, the video playing content can be accurately controlled under the condition of no network.
Embodiments corresponding to the foregoing embodiment of fig. 1 are also provided below as applied to a client. A flowchart of a method for controlling video playing, as shown in an exemplary embodiment of fig. 3, is applied to a client, and includes the following steps:
step 210, sending a data acquisition request corresponding to the target video; the data acquisition request is used for acquiring a complete target video, and each video segment corresponding to the target video corresponds to the starting moment in the target video;
step 220, displaying the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumping to start playing at the start time of the target video when any play option is triggered.
The embodiment corresponds to the embodiment shown in fig. 1 and applied to the server, and the relevant content is the same as or similar to that in the embodiment of fig. 1, and specific details of the steps performed by the server will be described briefly, and details of the steps performed by the client will not be described here again with reference to the embodiment of fig. 1.
The user can log in an existing user account on a client for watching the videos or browse the thumbnail of each video in a guest identity mode, trigger to enter a playing interface corresponding to a target video by clicking the thumbnail of the target video, and send a data acquisition request corresponding to the target video to a server.
The server acquires the starting time and the ending time of each video segment corresponding to the target video according to the related example in the embodiment of fig. 1; and issuing target videos of the website to the client, wherein each video segment corresponds to a starting time and an ending time in the target videos.
The following describes the content displayed by the client and the playing content of the target video actively controlled by the user in conjunction with the schematic diagram of the video playing interface shown in fig. 4.
As shown in fig. 4, after triggering browsing the target video, the client may enter the playing interface 30 corresponding to the target video. The playing interface 30 at least includes an existing video playing module 31 and a video control module 32 provided in the present specification. Wherein the video playing module 31 is configured to play a video segment (a "video window" in the figure) triggered by a user. The video control module 32 displays a play option 321 corresponding to each video segment returned by the server.
In fig. 4, there are 4 different play options 321 (only 1 of which is identified in the figure). When the user triggers the optional play option 321, the client can load the complete target video in the video play module 31, and automatically start playing the video from the start time of the video segment corresponding to the triggered play option 321.
For example, when the user clicks on the play option of "thumbnail 4", the corresponding video segment may be automatically played in the video playing module 31, i.e., the video is played from 18 seconds of the complete video.
In an embodiment, the server may further send the thumbnail corresponding to each video segment to the client and/or send the description information corresponding to each video segment to the client, where the thumbnail and/or the description information corresponds to each video segment set in fig. 2.
Accordingly, the client as shown in FIG. 4 may present the corresponding thumbnail 322 and/or description information 333, respectively, in the play options corresponding to each video segment.
By respectively displaying the corresponding thumbnail and/or description information in the play options, the user can be helped to quickly know the content of each video segment, and the user can conveniently select the video segment of interest.
In an embodiment, the client is further provided with a function of user interaction with the video, for example, the user may praise the video or send a comment information bullet screen for the video. Correspondingly, the client may also display the corresponding bullet screen number and the praise number for each video segment in the video control area.
Specifically, the client may monitor the interactive operation in the video playing area of the playing interface;
when the interactive operation triggered by the user is monitored, an interactive request is sent to the server; wherein the interactive request comprises a trigger time of the interactive operation;
and receiving the latest interaction times of each video segment returned by the server, and updating the corresponding interaction times of each video segment displayed on the video control area.
Generally, the more the interaction times are, the more the corresponding video content is highlighted, and the embodiment can help a user to quickly locate popular video segments by counting the interaction times for each video segment independently, so that video watching experience is improved. Wherein the interactive operation includes at least one of praise, comment, barrage, attention.
Through the embodiment, the server side supports the segmented playing function of the target video, so that the client side can display the playing option of each video segment corresponding to the target video in the playing interface. Thus, a user watching the video can automatically play the corresponding video segment by triggering the play option corresponding to any video segment of interest. Therefore, the user can flexibly control the video playing content, and can jump to the interested video segment at any time, so that the user can accurately control the video content.
Fig. 5 is a flowchart illustrating a method of controlling video playback, which may be applied to a server, according to an exemplary embodiment, including the steps of:
step 310, receiving a data acquisition request sent by a client; the client displays a play option of each video segment corresponding to a target video on a video control area of a play interface corresponding to the target video, and generates the data acquisition request when any play option is triggered, wherein the data acquisition request comprises a start time and an end time of the triggered play option corresponding to the target video;
step 320, in response to the data acquisition request, acquiring a target video segment from the start time to the end time in the target video;
Step 330, issuing the target video segment to the client; and enabling the client to play the target video segment in a video playing area of the playing interface.
This embodiment is similar to the previously described embodiment of fig. 1, and the same technical features may be referred to the embodiment of fig. 1.
In this embodiment, the server also needs to store each video segment obtained by segmenting the target video in advance. The manufacturing process is the same as that of the embodiment shown in fig. 2, and will not be described here again.
This embodiment is different from the foregoing embodiment of fig. 1 in that this embodiment is applied to a video real-time playing scene, and the server side does not issue a complete target video, but issues a playing option of each video segment corresponding to the target video.
In this way, when the client enters the playing interface corresponding to the target video, the playing options of each video segment corresponding to the target video can be displayed on the video control area of the playing interface. Because the client side does not cache the target video locally at this time, after the user triggers the play option of a certain video segment, the client side is required to acquire the corresponding video segment from the server side in real time.
Therefore, any video segment can be played without waiting for the target video to finish caching, and the flow of the video segment triggered by the user is only consumed for each play, but the flow of the video segment not triggered by the user is not consumed, so that the problem of flow waste can be solved relative to the complete video caching.
In an embodiment, corresponding to the thumbnail and/or the description information of each video segment set in fig. 2, the server may further send the thumbnail corresponding to each video segment to the client; the client side displays corresponding thumbnail images in the play options corresponding to each video segment respectively; and/or the number of the groups of groups,
the description information corresponding to each video segment is issued to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
By respectively displaying the corresponding thumbnail and/or description information in the play options, the user can be helped to quickly know the content of each video segment, and the user can conveniently select the video segment of interest.
In an embodiment, the client is further provided with a function of user interaction with the video, for example, the user may praise the video or send a comment information bullet screen for the video. Correspondingly, the client may also display the corresponding bullet screen number and the praise number for each video segment in the video control area.
When a server acquires a praise or a bullet screen triggered by a user, determining a target video segment corresponding to the trigger moment of the praise or the bullet screen;
and adding 1 to the praise number or the bullet screen number corresponding to the target video segment, and updating the praise number or the bullet screen number corresponding to the target video segment displayed on the client.
The more praise or bullet screen number is generally, the more the corresponding video content is more wonderful, and the embodiment can help a user to quickly locate popular video segments by separately counting praise or bullet screen number for each video segment, so that video viewing experience is improved.
In summary, through this embodiment, the server supports a segment playing function for the target video, so that the client may display, in the playing interface, a playing option of each video segment corresponding to the target video. Thus, a user watching the video can automatically play the corresponding video segment by triggering the play option corresponding to any video segment of interest. Therefore, the user can flexibly control the video playing content, and can jump to the interested video segment at any time, so that the user can accurately control the video content.
An embodiment applied to the client corresponding to the aforementioned embodiment of fig. 5 is also provided below. A flowchart of a method for controlling video playing, as shown in an exemplary embodiment of fig. 6, is applied to a client, and includes the following steps:
Step 410, displaying a play option of each video segment corresponding to the target video on a video control area of a play interface corresponding to the target video;
step 420, when any play option is triggered, playing the target video segment corresponding to the triggered play option in the video play area of the play interface.
This embodiment is similar to the previously described fig. 3 embodiment, and the same technical features may be referred to the fig. 3 embodiment. In addition, this embodiment corresponds to the embodiment applied to the server shown in fig. 5, and the relevant content is the same as or similar to that in the embodiment of fig. 5, and specific details of the steps performed by the server will be described briefly, and details of the steps performed by the client will be described in detail below with reference to the embodiment of fig. 5.
The user can log in an existing user account on a client for watching the video or browse the thumbnail of each video in a guest identity mode, trigger a playing interface corresponding to the target video by clicking the thumbnail of the target video, and display playing options of each video segment on a video control area of the playing interface based on the starting time and the ending time of each video segment corresponding to the target video provided by the server. The play options are respectively associated with a start time and an end time of the corresponding video segment.
When the user triggers any play option, the client can send a data acquisition request to the server; the data acquisition request comprises a starting time and an ending time associated with the triggered playing options, and the starting time and the ending time are used for acquiring target video segments corresponding to the triggered playing options in the target video.
The server acquires a target video segment from the starting time to the ending time in the target video according to a related example in the embodiment of fig. 5; and issuing the target video segment to the client. Correspondingly, the client can play the target video segment in the video playing area of the playing interface.
In an embodiment, the server may further send the thumbnail corresponding to each video segment to the client and/or send the description information corresponding to each video segment to the client, where the thumbnail and/or the description information corresponds to each video segment set in fig. 2.
And the client receives the thumbnail corresponding to each video segment and/or the description information corresponding to each video segment, which are issued by the server. And as shown in fig. 4, the client presents the corresponding thumbnail 322 and/or description information 333 in the corresponding play option for each video segment, respectively.
By respectively displaying the corresponding thumbnail and/or description information in the play options, the user can be helped to quickly know the content of each video segment, and the user can conveniently select the video segment of interest.
In an embodiment, the client is further provided with a function of user interaction with the video, for example, the user may praise the video or send a comment information bullet screen for the video. Correspondingly, the client may also display the corresponding bullet screen number and the praise number for each video segment in the video control area.
Specifically, the client may monitor the interactive operation in the video playing area of the playing interface;
when the interactive operation triggered by the user is monitored, an interactive request is sent to the server; wherein the interactive request comprises a trigger time of the interactive operation;
and receiving the latest interaction times of each video segment returned by the server, and updating the corresponding interaction times of each video segment displayed on the video control area.
Generally, the more the interaction times are, the more the corresponding video content is highlighted, and the embodiment can help a user to quickly locate popular video segments by counting the interaction times for each video segment independently, so that video watching experience is improved. Wherein the interactive operation includes at least one of praise, comment, barrage, attention.
Through the embodiment, the server side supports the segmented playing function of the target video, so that the client side can display the playing option of each video segment corresponding to the target video in the playing interface. Thus, a user watching the video can automatically play the corresponding video segment by triggering the play option corresponding to any video segment of interest. Therefore, the user can flexibly control the video playing content, and can jump to the interested video segment at any time, so that the user can accurately control the video content.
In addition, because the embodiment is applied to a video real-time playing scene, when the client enters a playing interface corresponding to a target video, the playing option of each video segment corresponding to the target video can be displayed on the video control area of the playing interface, any video segment can be played without waiting for the target video to be cached, and the flow of the video segment triggered by a user is only consumed for each playing, but the flow of the video segment not triggered by the user is not consumed, so that the problem of flow waste can be solved compared with the process of caching complete video.
Corresponding to the foregoing embodiments of the method for controlling video playback shown in fig. 1 and 3, the present disclosure also provides embodiments of the apparatus for controlling video playback shown in fig. 7 and 8. The embodiment of the device can be implemented by software, or can be implemented by hardware or a combination of hardware and software.
Fig. 7 is a block diagram of an apparatus for controlling video playback corresponding to fig. 1. Referring to fig. 7, the apparatus includes a receiving unit 510, a responding unit 520, and a playing unit 530.
Wherein, the receiving unit 510 is configured to execute a data acquisition request corresponding to the target video sent by the receiving client;
a response unit 520 configured to perform acquiring a start time and an end time of each video segment corresponding to the target video in response to the data acquisition request;
a playing unit 530 configured to perform issuing of a complete target video to the client, and each video segment corresponds to a start time and an end time in the target video; and the client displays the play option of each video segment in the video control area of the play interface corresponding to the target video, and jumps to the start of playing at the start time of the target video when any play option is triggered.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; and is pre-segmented by the following subunits:
A first segmentation subunit configured to perform segmentation of the target video into video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
a second segmentation subunit configured to perform an audio recognition algorithm or an image recognition algorithm based on automatically dividing the target video into video segments.
Optionally, the second segmentation subunit is specifically configured to execute the method for dividing the target video into a plurality of video segments by taking the background music switching time in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the first segmentation subunit is specifically configured to execute a segmentation strategy uploaded by a producer acquiring the target video, where the segmentation strategy includes a start time and an end time of each video segment in the target video; and dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, the apparatus further includes:
An acquisition subunit configured to perform acquisition of a thumbnail corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment;
a transmitting subunit configured to transmit, to the client, a thumbnail corresponding to each video segment; and enabling the client to display corresponding thumbnails in the play options corresponding to each video segment.
Optionally, the apparatus further includes:
an acquisition subunit configured to perform acquisition of description information corresponding to each video segment; wherein the descriptive information includes an introduction to content in the video segment;
the issuing subunit is configured to perform issuing of the description information corresponding to each video segment to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
Fig. 8 is a block diagram of an apparatus for controlling video playback corresponding to fig. 3. Referring to fig. 8, the apparatus includes a transmitting unit 610, a receiving unit 620, and a playing unit 630.
A transmitting unit 610 configured to perform transmission of a data acquisition request corresponding to a target video; the data acquisition request is used for acquiring a complete target video, and each video segment corresponding to the target video corresponds to the starting moment in the target video;
And a playing unit 620 configured to display the playing options of each video segment in the video control area of the playing interface corresponding to the target video, and jump to start playing at the starting time of the target video when any playing option is triggered.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the apparatus further includes:
a monitoring subunit configured to perform an interaction operation in a video playing area monitored by the playing interface;
an updating subunit configured to perform sending an interaction request when the interaction operation is monitored; the interaction request is used for obtaining the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
Corresponding to the foregoing embodiments of the method for controlling video playing shown in fig. 5 and 6, the present disclosure also provides embodiments of the apparatus for controlling video playing shown in fig. 9 and 10. The embodiment of the device can be implemented by software, or can be implemented by hardware or a combination of hardware and software.
Fig. 9 is a block diagram of an apparatus for controlling video playback corresponding to fig. 5. Referring to fig. 9, the apparatus includes a receiving unit 710, a responding unit 720, and a playing unit 730.
Wherein, the receiving unit 710 is configured to perform receiving a data acquisition request sent by a client; the client displays a play option of each video segment corresponding to the target video on a video control area of a play interface corresponding to the target video, and generates the data acquisition request when any play option is triggered, wherein the data acquisition request comprises a start time and an end time of the triggered play option corresponding to the target video;
a response unit 720 configured to perform acquisition of a target video segment from the start time to the end time in the target video in response to the data acquisition request;
A playing unit 730 configured to perform issuing of the target video segment to the client; and enabling the client to play the target video segment in a video playing area of the playing interface.
Optionally, the method is applied to a server, and each video segment obtained by segmenting the target video in advance is stored in the server; and is pre-segmented by the following subunits:
a first segmentation subunit configured to perform segmentation of the target video into video segments according to a segmentation strategy provided by a producer of the target video; or alternatively, the process may be performed,
a second segmentation subunit configured to perform an audio recognition algorithm or an image recognition algorithm based on automatically dividing the target video into video segments.
Optionally, the second segmentation subunit is specifically configured to execute the method for dividing the target video into a plurality of video segments by taking the background music switching time in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm.
Optionally, the first segmentation subunit is specifically configured to execute a segmentation strategy uploaded by a producer acquiring the target video, where the segmentation strategy includes a start time and an end time of each video segment in the target video; and dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment in the target video.
Optionally, a corresponding thumbnail is displayed in the play option corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment; wherein the descriptive information includes an introduction to the content in the video segment.
Fig. 10 is a block diagram of an apparatus for controlling video playback corresponding to fig. 6. Referring to fig. 10, the apparatus includes a transmitting unit 810, a receiving unit 820, and a playing unit 830.
A display unit 810 configured to perform displaying a play option of each video segment corresponding to a target video on a video control area of a play interface corresponding to the target video;
a play unit 820 configured to perform, when any play option is triggered,
and playing the target video segment corresponding to the triggered playing option in the video playing area of the playing interface.
Optionally, the playing unit 820 is configured to send a data acquisition request when any playing option is triggered; the data acquisition request is used for acquiring a target video segment corresponding to the triggered play option in the target video.
Optionally, a corresponding thumbnail is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
Optionally, the corresponding descriptive information is displayed in the play options corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
Optionally, the apparatus further includes:
a monitoring subunit configured to perform an interaction operation in a video playing area monitored by the playing interface;
an updating subunit configured to perform sending an interaction request when the interaction operation is monitored; the interaction request is used for obtaining the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
Optionally, the interactive operation includes at least one of praise, comment, barrage, and attention.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In an exemplary embodiment, there is also provided an electronic device for controlling video playback, including a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to perform the above-described method.
In an exemplary embodiment, a computer readable storage medium is also provided, e.g., a memory, comprising instructions executable by a processor of an apparatus to perform the above method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program/instruction which, when executed by a processor, performs the above-mentioned method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. The method for controlling video playing is characterized by being applied to a server, wherein each video segment obtained by segmenting a target video in advance is stored in the server, and each video segment corresponds to a starting time and an ending time; the method comprises the following steps:
receiving a data acquisition request corresponding to a target video sent by a client;
responding to the data acquisition request, and acquiring the starting time and the ending time of each video segment corresponding to the target video in the target video;
issuing a complete target video to the client, wherein each video segment corresponds to a starting time and an ending time in the target video; the client displays the playing options of each video segment in a video control area of a playing interface corresponding to the target video, wherein the playing options are associated with the starting time and the ending time of the corresponding video segment, and jump to start playing at the starting time of the target video when any playing option is triggered;
Each video segment obtained by segmenting the target video comprises:
receiving an uploaded target video, and if the target video is marked with an identification representing segmentation by a video producer, further judging whether the target video needs automatic segmentation or not;
if the target video is marked with an identifier for representing automatic segmentation by a video producer, dividing the target video into a plurality of video segments by taking the background music switching moment in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm;
if the target video is not marked by a video producer with an identification representing automatic segmentation, a video segmentation notification is issued to the video producer; so that the video producer fills out a segmentation strategy comprising a start time and an end time of each video segment in the target video;
after the segmentation strategy uploaded by the video producer is obtained, dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment included by the segmentation strategy.
2. The method according to claim 1, wherein the method further comprises:
acquiring a thumbnail corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment;
issuing a thumbnail corresponding to each video segment to the client; and enabling the client to display corresponding thumbnails in the play options corresponding to each video segment.
3. The method according to claim 1, wherein the method further comprises:
acquiring description information corresponding to each video segment; wherein the descriptive information includes an introduction to content in the video segment;
the description information corresponding to each video segment is issued to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
4. A method of controlling video playback, comprising:
sending a data acquisition request corresponding to the target video to a server;
receiving a complete target video issued by the server in response to the data acquisition request, and starting time and ending time of each video segment corresponding to the target video in the target video;
Displaying a play option of each video segment in a video control area of a play interface corresponding to the target video, wherein the play option is associated with a start time and an end time of the corresponding video segment, and jumping to start playing at the start time of the target video when any play option is triggered;
the video segmentation is formed by segmenting the target video by the server, and the segmentation process comprises the following steps: the server receives the uploaded target video, and if the target video is marked with an identification representing segmentation by a video producer, further judges whether the target video needs automatic segmentation or not; if the target video is marked with an identifier for representing automatic segmentation by a video producer, dividing the target video into a plurality of video segments by taking the background music switching moment in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm; if the target video is not marked by a video producer with an identification representing automatic segmentation, a video segmentation notification is issued to the video producer; so that the video producer fills out a segmentation strategy comprising a start time and an end time of each video segment in the target video; after the segmentation strategy uploaded by the video producer is obtained, dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment included by the segmentation strategy.
5. The method of claim 4, wherein each video segment displayed on the video control area has a corresponding thumbnail presented in a corresponding play option; wherein the thumbnail includes video frame images extracted from the corresponding video segment.
6. The method of claim 4, wherein the corresponding descriptive information is presented in a play option corresponding to each video segment displayed on the video control area; wherein the descriptive information includes an introduction to the content in the video segment.
7. The method according to claim 4, wherein the method further comprises:
monitoring interactive operation in a video playing area of the playing interface;
when the interactive operation is monitored, an interactive request is sent; the interaction request is used for obtaining the latest interaction times of each video segment and updating the corresponding interaction times of each video segment displayed on the video control area.
8. The method of claim 7, wherein the interactive operation comprises at least one of praise, comment, barrage, attention.
9. The device for controlling video playing is characterized by being applied to a server, wherein each video segment obtained by segmenting a target video in advance is stored in the server, and each video segment corresponds to a starting moment and an ending moment; the device comprises:
A receiving unit configured to execute a data acquisition request corresponding to a target video sent by a receiving client;
a response unit configured to perform acquisition of a start time and an end time of each video segment corresponding to the target video in response to the data acquisition request;
the playing unit is configured to execute the steps of issuing a complete target video to the client, and each video segment corresponds to a starting time and an ending time in the target video; the client displays the playing options of each video segment in a video control area of a playing interface corresponding to the target video, wherein the playing options are associated with the starting time and the ending time of the corresponding video segment, and jump to start playing at the starting time of the target video when any playing option is triggered;
the server side pre-segments the target video through a segmentation unit, wherein the segmentation unit is configured to receive the uploaded target video, and further judges whether the target video needs automatic segmentation or not if the target video is marked with an identification representing segmentation by a video producer; if the target video is marked with an identifier for representing automatic segmentation by a video producer, dividing the target video into a plurality of video segments by taking the background music switching moment in the target video as a segmentation point according to an audio recognition algorithm; or dividing the target video into a plurality of video segments by taking the background picture switching time in the target video as a dividing point according to an image recognition algorithm; if the target video is not marked by a video producer with an identification representing automatic segmentation, a video segmentation notification is issued to the video producer; so that the video producer fills out a segmentation strategy comprising a start time and an end time of each video segment in the target video; after the segmentation strategy uploaded by the video producer is obtained, dividing the target video into a plurality of video segments according to the starting time and the ending time of each video segment included by the segmentation strategy.
10. The apparatus of claim 9, wherein the apparatus further comprises:
an acquisition subunit configured to perform acquisition of a thumbnail corresponding to each video segment; wherein the thumbnail includes video frame images extracted from the corresponding video segment;
a transmitting subunit configured to transmit, to the client, a thumbnail corresponding to each video segment; and enabling the client to display corresponding thumbnails in the play options corresponding to each video segment.
11. The apparatus of claim 9, wherein the apparatus further comprises:
an acquisition subunit configured to perform acquisition of description information corresponding to each video segment; wherein the descriptive information includes an introduction to content in the video segment;
the issuing subunit is configured to perform issuing of the description information corresponding to each video segment to the client; and the client side displays the corresponding description information in the play options corresponding to each video segment.
12. An electronic device for controlling video playback, comprising:
a processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the method of controlling video playback as claimed in any one of claims 1-3 and/or 4-8.
13. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device controlling video playback, enable the electronic device controlling video playback to perform the method of controlling video playback according to any one of claims 1-3 and/or 4-8.
CN202110533121.2A 2021-05-17 2021-05-17 Method and device for controlling video playing and electronic equipment Active CN113315996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110533121.2A CN113315996B (en) 2021-05-17 2021-05-17 Method and device for controlling video playing and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110533121.2A CN113315996B (en) 2021-05-17 2021-05-17 Method and device for controlling video playing and electronic equipment

Publications (2)

Publication Number Publication Date
CN113315996A CN113315996A (en) 2021-08-27
CN113315996B true CN113315996B (en) 2023-08-18

Family

ID=77373424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110533121.2A Active CN113315996B (en) 2021-05-17 2021-05-17 Method and device for controlling video playing and electronic equipment

Country Status (1)

Country Link
CN (1) CN113315996B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965792A (en) * 2021-09-15 2022-01-21 北京搜狗科技发展有限公司 Video display method and device, electronic equipment and readable storage medium
CN116939269A (en) * 2022-03-30 2023-10-24 北京字跳网络技术有限公司 Display control method, device, electronic equipment, storage medium and program product
CN114915850B (en) * 2022-04-22 2023-09-12 网易(杭州)网络有限公司 Video playing control method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
CN102572523A (en) * 2010-12-30 2012-07-11 新奥特(北京)视频技术有限公司 Method and system for downloading video by dotting on line
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN104202657A (en) * 2014-08-29 2014-12-10 北京奇虎科技有限公司 Multi-video selective playing method and device for video group with same theme
CN111031395A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170154651A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method for presenting video segments and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345852A (en) * 2008-05-13 2009-01-14 深圳市迅雷网络技术有限公司 Method and system for choosing and playing on-line video fragment
CN102572523A (en) * 2010-12-30 2012-07-11 新奥特(北京)视频技术有限公司 Method and system for downloading video by dotting on line
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN104202657A (en) * 2014-08-29 2014-12-10 北京奇虎科技有限公司 Multi-video selective playing method and device for video group with same theme
CN111031395A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN113315996A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN113315996B (en) Method and device for controlling video playing and electronic equipment
US11438637B2 (en) Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
US11303970B2 (en) Systems and methods for internet video delivery
JP5499331B2 (en) Streaming media trick play
US8737820B2 (en) Systems and methods for recording content within digital video
US20220103904A1 (en) Bullet screen delivery method for live broadcast playback and live video bullet screen playback method
US11153658B2 (en) Image display method and generating method, device, storage medium and electronic device
CN109891896A (en) Anchor for live stream
US20170344240A1 (en) Method for associating media files with additional content
KR101604250B1 (en) Method of Providing Service for Recommending Game Video
US20140013200A1 (en) Video comment feed with prioritization
US9646649B2 (en) Medical image data information exchange system
US20170168697A1 (en) Systems and methods for playing videos
CN110475140B (en) Bullet screen data processing method and device, computer readable storage medium and computer equipment
CN111857517B (en) Video information processing method and device, electronic equipment and storage medium
CN109829064B (en) Media resource sharing and playing method and device, storage medium and electronic device
CN112131346B (en) Comment aggregation method and device, storage medium and electronic equipment
CN112153307A (en) Method and device for adding lyrics in short video, electronic equipment and storage medium
CN104244101A (en) Method and device for commenting multimedia content
CN108632644B (en) Preview display method and device
CN115190357A (en) Video abstract generation method and device
CN114363710A (en) Live broadcast watching method and device based on time shifting acceleration
CN113891136A (en) Video playing method and device, electronic equipment and storage medium
CN112463998A (en) Album resource processing method, apparatus, electronic device and storage medium
JP2021077131A (en) Composition advice system, composition advice method, user terminal, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant