CN116156224A - Processing method, device, equipment and medium based on video playing record - Google Patents

Processing method, device, equipment and medium based on video playing record Download PDF

Info

Publication number
CN116156224A
CN116156224A CN202310171678.5A CN202310171678A CN116156224A CN 116156224 A CN116156224 A CN 116156224A CN 202310171678 A CN202310171678 A CN 202310171678A CN 116156224 A CN116156224 A CN 116156224A
Authority
CN
China
Prior art keywords
video
interactive
playing
node
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310171678.5A
Other languages
Chinese (zh)
Inventor
刘晓丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202310171678.5A priority Critical patent/CN116156224A/en
Publication of CN116156224A publication Critical patent/CN116156224A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application relates to a processing method, a device, equipment and a medium based on video play records, and relates to the technical field of videos, wherein the method comprises the following steps: after playing the interactive video, obtaining playing record information corresponding to the interactive video, determining a video reporting type corresponding to the playing record information when the playing record information accords with preset playing record conditions, determining target reporting information according to the video reporting type, determining interactive playing record reporting data of the interactive video based on the target reporting information, and uploading the interactive playing record reporting data to a target server, thereby meeting the requirement of a user for replaying and selecting from a certain interaction point of the interactive video, solving the problem that the existing mode for displaying the interactive video through the video playing record cannot meet the playing requirement of the user, and improving user experience.

Description

Processing method, device, equipment and medium based on video playing record
Technical Field
The present disclosure relates to the field of video technologies, and in particular, to a processing method, apparatus, device, and medium based on video playing record.
Background
The interactive video is composed of a plurality of video clips and interactive points, when the video is played to the interactive points, the interactive components are displayed for the user to select, and the corresponding video clips are played according to the selection of the user so as to drive the change and development of the video content through interaction. Specifically, the normal video is composed of only one complete video, so that the play record presented to the user usually contains only information such as schematic drawing, name, introduction, and last play time of the video. A complete interactive video is composed of a large number of different video segments, each interaction occurring in the interactive video segments is used as a turning point to change the trend of the story line, the interaction in the interactive video is taken as a bifurcation point, the video segments are taken as lines, the whole interactive video can form a story line network, and the traversed path of each user is different.
The existing method for displaying the interactive video through the video playing record can only display the interactive video in a playing record displaying mode of a common video, a user can only return to the interactive video segment played last time or empty the playing record to restart playing the interactive video every time the interactive video is played from the playing record, and the interactive selection cannot be performed again from a certain interactive scenario, for example, the complete interactive video may comprise the interactive video segment a, the interactive video segment b, the interactive video segment c and the interactive video segment d, the playing sequence of the interactive video segment b, the interactive video segment c and the interactive video segment d may be a-b-c-d in sequence, if the user plays the interactive video segment d last time for the first minute, the user can only continue playing the interactive video from the first minute of the interactive video segment d through the interactive video playing record, or empty the interactive video playing record, restart playing the interactive video from the interactive video segment a, and can not select to continue playing the interactive video from the interactive video segment b or the interactive video segment c. Therefore, the existing mode of displaying the interactive video through video playing records cannot meet the playing requirements of users, so that the user experience is poor.
Disclosure of Invention
The application provides a processing method, device, equipment and medium based on video play records, which can meet the requirement of a user for replaying and selecting from a certain interaction point of an interactive video, solve the problem that the existing mode for displaying the interactive video through the video play records cannot meet the requirement of the user, and improve the user experience.
In a first aspect, the present application provides a method for processing a video play record, including:
after playing an interactive video, acquiring playing record information corresponding to the interactive video;
if the play record information accords with a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type;
determining interactive play record report data of the interactive video based on the target report information;
and uploading the interactive play record reporting data to a target server.
Optionally, the playing record information includes playing record time information recorded in the playing process of the interactive video, and after the playing record information corresponding to the interactive video is obtained, the method further includes:
Determining video playing time length of the interactive video based on the playing recording time information, wherein the video playing time length comprises playing recording time points of the interactive video;
when the video playing time length reaches a playing time length threshold value of the interactive video, determining that the playing record information accords with a preset playing record condition;
and when the video playing time length does not reach the playing time length threshold value, judging whether the playing record information accords with a preset playing record condition according to the playing record time point.
Optionally, the determining, according to the play recording time point, whether the play recording information meets a preset play recording condition includes:
judging whether the play record time point is a preset interactive reporting time point or not, wherein the interactive reporting time point is a time point corresponding to the first N seconds of interactive selection of the interactive video;
if the playing record time point is the interactive reporting time point, determining that the playing record information accords with a preset playing record condition;
if the playing record time point is not the interactive reporting time point, when the playing record time information comprises the interactive video playing end time, determining that the playing record information accords with the preset playing record condition.
Optionally, the determining the video reporting type corresponding to the playing record information and determining the target reporting information according to the video reporting type includes:
when the play record time point is the interactive reporting time point, determining an interactive reporting type corresponding to the interactive reporting time point as the video reporting type;
determining interactive video clip information and interactive point information to be reported according to the interactive reporting type, wherein the interactive video clip information comprises a video identifier of the interactive video, a playing recording time point and the interactive reporting type, and the interactive point information comprises video parameter information of the interactive video;
and generating the target report information based on the interactive video clip information and the interactive point information.
Optionally, the determining the video reporting type corresponding to the playing record information and determining the target reporting information according to the video reporting type includes:
when the play record time point is not the interactive reporting time point, determining a video default reporting type as the video reporting type, wherein the video default reporting type is the video reporting type of the interactive video reported in the video playing process;
Aiming at the video default reporting type, acquiring interactive video clip information, wherein the interactive video clip information comprises a video identifier of the interactive video and a current playing time point of the interactive video;
and generating the target report information by combining the video identification of the interactive video and the current playing time point of the interactive video based on the video default report type.
Optionally, after the playing of the interactive video, the method further includes:
receiving an interactive play record triggering operation corresponding to the interactive video;
based on the interactive play record triggering operation, sending video play record acquisition information to the target server, wherein the video play record acquisition information is used for acquiring the interactive play record reporting data;
receiving the interactive play record report data returned by the target server, and extracting play record data from the interactive play record report data;
and displaying the node playing record page corresponding to the interactive video according to the playing record data.
Optionally, displaying the node play record page corresponding to the interactive video according to the play record data includes:
When the play record data is null data, carrying out node drawing based on preset starting node information and default play starting node information corresponding to the interactive video to obtain the node play record page;
when the play record data is not the blank data, determining node information to be played based on historical node information recorded in the play record data, and carrying out node drawing based on the historical node information and the node information to be played to obtain the node play record page;
the node playing record page comprises at least one playing node, the starting node information is used for determining a first video segment played first in the interactive video, the default playing node information is used for determining a second video segment played after the first video segment, the history node information is used for determining a third video segment played currently in the interactive video, and the upcoming playing node information is used for determining a fourth video segment played after the third video segment.
Optionally, after displaying the node play record page corresponding to the interactive video, the method further includes:
Receiving node selection operation submitted by a user on the node play record page;
determining a target playing node based on the node selection operation;
according to the node type corresponding to the target playing node, acquiring node playing record data corresponding to the target playing node, wherein the node type comprises a type before interaction starts, a type in the playing process and a node type to be started;
and playing the video according to the node playing record data.
Optionally, according to the node type corresponding to the target playing node, obtaining the node playing record data corresponding to the target playing node includes:
determining a video reporting type corresponding to the target playing node based on the playing record data;
if the video reporting type corresponding to the target playing node is an interactive reporting type, determining that the node type is a video interactive node type;
extracting the node play record data from the play record data based on the video interaction node type, wherein the video interaction node type comprises a user interaction node type and a video play node type;
if the video reporting type is a video default reporting type and the node information corresponding to the target playing node is start node information or history node information, determining that the node type is a video start node type;
Closing the node playing record page aiming at the video starting node type, and determining default playing information of the interactive video as the node playing record data, wherein the default playing information comprises default playing video fragments and default playing time points of the interactive video;
if the video reporting type is a video default reporting type and the node information corresponding to the target playing node is to-be-played node information, determining that the node type is to-be-opened node type, and directly closing the node playing record page based on the to-be-opened node type.
In a second aspect, the present application provides a processing apparatus based on video play recording, including:
the playing and recording time determining module is used for acquiring playing and recording information corresponding to the interactive video after the interactive video is played;
the target report information determining module is used for determining a video report type corresponding to the play record information when the play record information accords with a preset play record condition, and determining target report information according to the video report type;
and the interactive play record report data determining module is used for determining the interactive play record report data of the interactive video based on the target report information.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the video play record-based processing method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the video play record based processing method according to any one of the embodiments of the first aspect.
In summary, after playing an interactive video, the embodiment of the application acquires playing record information corresponding to the interactive video, so as to determine the video reporting type corresponding to the playing record information when the playing record information accords with preset playing record conditions, determine target reporting information according to the video reporting type, determine interactive playing record reporting data of the interactive video based on the target reporting information, and upload the interactive playing record data to a target server, thereby meeting the requirement of a user for replaying and selecting a certain interactive point of the interactive video, solving the problem that the conventional mode for displaying the interactive video through the video playing record cannot meet the requirement of the user, and improving user experience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flow chart of a processing method based on video playing record according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a processing method based on video playback recording according to an alternative embodiment of the present application;
FIG. 3 is a flowchart illustrating a processing method based on video playing records according to an alternative embodiment of the present application;
fig. 4 is a schematic drawing and showing a node according to an embodiment of the present application;
fig. 5 is a block diagram of a processing device based on video playing record according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
For the purpose of facilitating an understanding of the embodiments of the present application, reference will now be made to the drawings and specific examples, which are not intended to limit the embodiments of the present application.
Fig. 1 is a flow chart of a processing method based on video playing record according to an embodiment of the present application. As shown in fig. 1, the processing method based on video playing record provided in the embodiment of the present application may specifically include the following steps:
step 110, after playing the interactive video, obtaining playing record information corresponding to the interactive video.
Specifically, after playing an interactive video, the embodiment of the present application may acquire playing record information corresponding to the interactive video, so as to determine whether to determine a video clip reporting type corresponding to the interactive video according to the playing record information. The play record information may refer to a video play record, and may specifically include various information recorded during the video play process, for example, may include play record time information, which is not limited in this embodiment. It should be noted that the play recording time information may refer to time information recorded during the playing process of the interactive video, for example, the play recording time information may be the current playing time recorded during the playing process of the video, so that the playing progress of the currently played interactive video can be determined by the play recording time information. The interactive video may include one or more video clips, which may include an interactive video clip with an interactive node and a normal video clip without an interactive node, which is not limited in this embodiment of the present application.
In this embodiment, the user may play the interactive video through the video player, for example, the user may play one or more video clips in the interactive video through the interactive video player. After playing the interactive video, the interactive video may be played based on the video clip contained in the interactive video, and in the playing process of the interactive video, the current playing time and other information of the interactive video may be obtained in real time by the video player to be used as playing record information, and then whether the reporting type of the interactive target video needs to be determined may be determined by judging whether the playing record information meets the preset playing record condition, so that the video reporting type corresponding to the interactive video may be determined subsequently when the playing record information meets the preset playing record condition, that is, step 120 is executed.
In a specific implementation, the complete interactive video may be composed of an interactive video segment with an interactive node, or may be composed of an interactive video segment with an interactive node and a common video segment without an interactive node. The playing record information can contain the playing progress of the current interactive video and the video clip type of the interactive video, so that whether the currently played video clip is an interactive video clip with an interactive node or a common video clip without an interactive node can be determined through the playing record information, and the video reporting type corresponding to the playing record information can be determined according to the video clip type when the playing record information accords with the preset playing record condition.
For example, a complete interactive video may include an interactive video segment a, an interactive video segment B, an interactive video segment C, and an interactive video segment D, where the interactive video segment a and the interactive video segment C may be interactive video segments with interactive nodes, and the interactive video segment B and the interactive video segment D may be normal video segments without interactive nodes, which is not limited in this example. When a user plays an interactive video clip a in the interactive video through the video player, the video player may record the playing time of the currently played interactive video clip a as the playing recording time, for example, playing the interactive video clip a to 10 minutes 30 seconds, and the like, and may record 10 minutes 30 seconds as the playing recording time of the interactive video, which is not limited in this example. Of course, when the interactive video is played to the interactive video clip B, the interactive video clip C or the interactive video clip D, the video player may record the corresponding playing time as the playing recording time, which is not limited in this example.
And 120, if the play record information accords with a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type.
In this embodiment, the video reporting type may include an interactive reporting type and a video default reporting type, which is not limited in this embodiment of the present application; the target report information may include a video identifier of the interactive video, a play time of the report time of the interactive video segment, a report type, and the like, which is not limited in the embodiment of the present application; the video identifier of the interactive video may be used to identify the interactive video, for example, the video identifier includes a video identification number (Identity Document, ID), which may be a video name or number of the interactive video, which is not limited in this embodiment of the present application.
Specifically, after the playing record information corresponding to the interactive video is obtained, whether the playing record information accords with the preset playing record condition or not can be determined to determine whether the target reporting information is required to be determined according to the video clip reporting type, so that when the playing record information accords with the preset playing record condition, the currently recorded video clip type can be determined according to the playing record information, the video clip reporting type corresponding to the playing record information can be determined according to the video clip Lexu, and the target reporting information can be determined according to the video reporting type. For example, in the case that the video clip reporting type is the default video reporting type, the target reporting information may include a video identifier of the interactive video, a playing time of the interactive video clip reporting time, and the reporting type; in the case that the video reporting type is the interactive reporting type, the target reporting information may include, in addition to the video identifier of the interactive video, the playing time of the reporting time of the interactive video clip, and the reporting type, a title, a schematic diagram, profile information, etc. of the interactive point, which is not limited in this embodiment of the present application.
In a specific implementation, the embodiment of the application may preset the playing record condition, so that the target report information is automatically determined according to the video clip report type corresponding to the current playing video clip when the acquired playing record information accords with the playing record condition, so that the interactive playing record report data of the current playing video can be generated according to the target report information. For example, the report recording condition of the interactive video may be set by presetting a play recording time point, and the report recording condition may be used as a preset play recording condition, so as to determine a video report type corresponding to the play recording information when the play recording information corresponding to the interactive video meets the preset play recording condition, and further determine the target report information according to the video report type.
As an example, for an interactive video with an interactive node, if the interactive video includes an interactive video segment a or an interactive video segment C, as in the above example, an interactive report time point may be preset for the interactive video with the interactive node, where the interactive report time point may be N seconds before a user interacts with the interactive video, for example, N may be 5. After the play record information is acquired, determining a play record time point of the current record based on the play record information, and judging whether the play record time point is an interactive reporting time point or not so as to determine that the play record information accords with preset play record conditions when the play record time point is the interactive reporting time point; and when the playing and recording time point is not the interactive reporting time point, determining that the playing and recording information does not accord with the preset playing and recording condition. For example, for the interactive video segment a, the interaction start time may be 14 minutes, and if the preset interaction reporting time point is the first 5 seconds of the interaction, the video player may determine that the play record information meets the preset play record condition when the play record time of the interactive video segment a is 13 minutes and 55 seconds. In addition, for the common video clips without the interactive node and the interactive video clips with the interactive node, the video clips can be reported when the playing is completed, for example, when the playing time of the interactive video clip B is 3 minutes, the video player can determine that the playing of the interactive video clip B is completed when the playing recording time of the interactive video clip B is 3 minutes 00 seconds, and can determine that the playing recording information corresponding to the interactive video clip B meets the playing recording condition, so that the video identifier of the interactive video, the playing time of the interactive video clip B and the reporting type are determined as target reporting information according to the video reporting type corresponding to the interactive video clip B.
It should be noted that, the play recording time point in this embodiment may refer to a play recording time point recorded after the video is played, for example, may be a play recording time point recorded during the video playing process, and for example, when the playing duration of the interactive video is 1 second, 1 second may be recorded as the play recording time point of the interactive video.
In actual processing, the embodiment of the application can determine the type of the video clip currently played by the interactive video through playing the record information, namely, determine the reporting type of the video clip. For example, in the case that a video clip played by an interactive video is an interactive video clip having an interactive node, and a play record time point corresponding to play record information of the interactive video is an interactive report time point, it may be determined that a video report type is an interactive report type; under the condition that the video segment played by the interactive video is a common video segment without an interactive node, or under the condition that the playing time of the current interactive video does not reach the interactive reporting time point but the video playing time reporting is needed (for example, the playing of the interactive video does not reach the interactive reporting time point but the video playing progress is needed to be reported, or the user terminates the playing of the interactive video, etc.), the video reporting type is determined to be the video playing type. The target report information may then be determined based on the interactive video type. For example, for the interactive video clip a, in the case where the video reporting type is the video default reporting type, the target reporting information may include an interactive video id, a playing time of the interactive video reporting time, and a reporting type; in the case that the video clip reporting type is an interactive reporting type, the target reporting information processing may include an interactive video id, a playing time of the interactive video reporting time, a reporting type, a title of an interactive point, a schematic diagram of the interactive video, profile information of the interactive video, and the like, which is not limited in this example.
And 130, determining the interactive play record report data of the interactive video based on the target report information.
Specifically, the interactive recording report data may include playing record data of the interactive video, which is not limited in this embodiment of the present application. Specifically, after the target report information is determined, the embodiment can generate the playing record data of the interactive video based on the target report information to serve as the interactive playing record report data, and then can report the interactive playing record report data to the server, namely, the interactive playing record report data is uploaded to the target server, so that the storage space of the local terminal can be saved.
And 140, uploading the interactive play record reporting data to a target server.
In a specific implementation, after determining the interactive play record report data, the embodiment may use a server associated with the local terminal or the video player as a target server, and then may send information to be uploaded to the target server, where the uploaded information may include the interactive play record report data, so that the interactive play record report data may be stored in the server, and the video play record of the interactive video is stored by the server, thereby achieving the purpose of saving the storage space of the local device.
In actual processing, the video player can store the interactive play record report data into the local device, so that when the video play record of the interactive video is needed to be used later, the interactive play record report data can be quickly obtained to be used as the video play record of the interactive video.
For example, in the case that the video player uploads the interactive play record report data to the server, when the user needs to reselect the interactive node through the interactive play record page, the video player may download the interactive play record report data from the server to serve as the video play record of the interactive video; under the condition that the video player stores the interactive play record report data to the local equipment, the interactive play record report data can be directly obtained from the local equipment as the video play record of the interactive video, so that the video player can draw the linear play record based on the play record data to obtain a node play record page, a user can select an interactive node corresponding to the interactive video to be played in the node play record page according to the requirement, then the video player can determine the interactive video to be played according to the node which can be selected by the user, the user can freely select the interactive video to be played without limitation, the display of the play record by taking the historical interaction as a unit is realized, the problem that the existing mode of displaying the interactive video by the video play record cannot meet the user play requirement is solved, the requirements of playing the interactive video and interactive selection again from a certain historical interaction point by the user can be met, the user experience is improved, the effect of dynamically drawing the linear play record according to the selection record of different users can be achieved, the requirement of large-scale production is met, and the labor cost is saved.
Therefore, in the embodiment of the application, after playing the interactive video, the playing record information corresponding to the interactive video is obtained, and when the playing record information accords with the preset playing record condition, the video reporting type corresponding to the playing record information is determined, so that the target reporting information is determined according to the video reporting type, the interactive playing record reporting data of the interactive video can be determined based on the target reporting information, and the interactive playing record reporting data is uploaded to the target server, so that the video playing record display can be carried out based on the interactive playing record reporting data, the user can freely select the interactive video to be played without limitation, the display of the playing record by taking the history interaction as a unit is realized, the requirement that the user can replay and select from a certain interaction point of the interactive video is met, the problem that the existing mode of displaying the interactive video through the video playing record cannot meet the playing requirement of the user is solved, and the user experience is improved.
Referring to fig. 2, a schematic flow chart of steps of a processing method based on video playing record according to an alternative embodiment of the present application is shown. The processing method based on the video play record specifically comprises the following steps:
Step 210, after playing the interactive video, obtaining playing record information corresponding to the interactive video.
Step 220, determining the video playing duration of the interactive video based on the playing recording time information.
The playing record information comprises playing record time information recorded in the playing process of the interactive video, and the video playing duration comprises the playing record time point of the interactive video.
In this embodiment, play recording time information recorded in the playing process of the interactive video may be extracted from play recording information of the interactive video, and a current played duration of the interactive video is determined according to the play recording time information to serve as a video playing duration. And then, whether the interactive video is played is determined by judging whether the video playing time reaches the video playing time threshold value.
Step 230, determining that the play record information meets a preset play record condition when the video play duration reaches a play duration threshold of the interactive video.
Specifically, the playing time duration threshold of the interactive video may be the maximum playing time duration of the interactive video, that is, the total playing time duration of the interactive video, for example, in the case that the maximum playing time duration of the interactive video is 5 minutes, the playing time duration threshold of the interactive video may be 5 minutes, which is not limited in the embodiment of the present application.
Specifically, when the video playing time length reaches the playing time length threshold of the interactive video, the embodiment of the application can determine that the playing time length of the interactive video segment reaches the maximum playing time length of the interactive video segment when the interactive video segment of the current interactive video is already played, namely, determine that the video playing time length reaches the playing time length threshold of the interactive video. The play-out record information may then be determined to conform to a preset play-out record condition.
For example, taking an interactive video segment a with a total playing duration of 15 minutes as an example, the playing duration threshold of the interactive video segment a is 15 minutes, in the process of playing the interactive video segment a, the player can record the playing time of the interactive video segment a in real time to obtain playing record information, and then can extract the video playing duration from the playing record information, if the interactive video segment a is currently played for 14 minutes, the video playing duration of the interactive video segment a is 14 minutes, because the total playing duration of the interactive video segment a is 15 minutes, it can be determined that the video playing duration of the interactive video segment a does not reach the playing duration threshold, and if the video playing duration of the interactive video segment a is 15 minutes, it can be determined that the video playing duration of the interactive video segment a reaches the playing duration threshold.
And step 240, when the video playing time does not reach the playing time threshold, judging whether the playing record information accords with a preset playing record condition according to the playing record time point.
Specifically, when the video playing duration does not reach the playing duration threshold, the embodiment of the application may extract a playing record time point from the video playing duration, and then may determine whether the playing record information meets a preset playing record condition according to the playing record time point.
Specifically, in the embodiment, whether the play record information accords with a preset play record condition can be judged, for example, for an interactive video clip with an interactive node, the first N seconds of the interaction of the interactive video clip can be taken as an interaction reporting time point, then whether the play record time point is the interaction reporting time point can be judged, and if the play record time point is determined to be the interaction reporting time point, the play record information can be determined to accord with the preset play record condition; for a common video clip or an interactive video clip, when the player detects that the user exits from video playing, the player can acquire the playing time point of the video and add the playing time point as the playing end time of the interactive video to the playing record information, namely, the playing record information can be determined to contain the playing end time of the interactive video, so that the playing record information can be determined to accord with the playing record condition.
For example, taking the interactive video segment a with the total playing duration of 15 minutes as an example, and combining the above examples, if the video playing duration of the interactive video segment a is 14 minutes, the playing record time point corresponding to the video playing duration of the interactive video segment a is 14 minutes and 00 seconds, which is not limited in this example. When the interaction starting time of the interactive video clip A currently played by the player is 14 minutes and 55 seconds, the preset interaction reporting time can be 5 seconds before the interaction starts, namely, the interaction reporting time point of the interactive video clip A can be 14 minutes and 50 seconds, and when the player detects that the playing record time point of the interactive video clip A is 14 minutes and 50 seconds, the playing record time point can be determined to be the interaction reporting time point, and the playing record information can be determined to accord with preset playing record conditions; for another example, for the interactive video clip a or the common video clip B, the playing time point of the interactive video clip a currently played by the player is 13 minutes 00 seconds, if the user exits from playing the interactive video clip a, the playing time point is 13 minutes 00 seconds as the playing end time of the interactive video, and the interactive video clip B is added to the playing record information, so that the playing record information can be determined to include the playing end time of the interactive video, and the playing record information can be determined to conform to the playing record condition, and the common video clip B is the same.
Optionally, the determining whether the play record information meets the preset play record condition according to the play record time point may specifically include the following substeps:
sub-step 2401, determining whether the play record time point is a preset interactive reporting time point.
The interactive reporting time point is a time point corresponding to the first N seconds of interactive selection of the interactive video.
In this embodiment, after determining the play recording time point, a preset interactive reporting time point may be obtained. And then judging whether the play record time point is an interactive reporting time point or not, so that when the play record time point is the interactive reporting time point, the play record information can be determined to accord with the preset play record condition.
As an example, in combination with the above example, for the interactive video segment a and the interactive video segment C having the interactive node, an interactive reporting time point may be preset for the interactive video segment a and the interactive video segment C, where N may be selected according to actual use requirements, for example, N may be 5, which is not limited in this example. Specifically, when the played interactive video is an interactive video clip with an interactive node, a video playing time length can be extracted from playing record information of the interactive video clip, a playing record time point is determined according to the video playing time length, and then whether the playing record time point is an interactive reporting time point corresponding to the interactive video clip can be judged.
Sub-step 2402, if the play record time point is the interactive reporting time point, determining that the play record information meets a preset play record condition.
The interactive reporting time point is a time point corresponding to the first N seconds of interactive selection of the interactive video.
Specifically, when the playing and recording time point is the interactive reporting time point, the embodiment of the application can determine that the playing and recording information accords with the preset playing and recording condition.
For example, the total duration of the video of the currently played interactive video clip a is 5 minutes, and the time for starting the interactive selection may be 5 minutes and 00 seconds, and then the interactive reporting time point may be set to be 5 seconds before the start of the interaction, that is, the interactive reporting time point may be 4 minutes and 55 seconds. When the obtained playing and recording time point of the interactive video clip A is 4 minutes and 55 seconds, the playing and recording time point can be determined to be the corresponding preset interactive reporting time point of the interactive video clip A.
In a specific implementation, in addition to the preset interactive reporting time point, the embodiment of the application may also preset a video reporting time point, where the video reporting time point may be used to report the playing progress of the interactive video in the interactive video playing process. If the interactive video with the interactive node or the interactive video without the interactive node is played, when the time point corresponding to the playing time length is the preset video reporting time point, determining that the playing record information accords with the preset playing record condition; and when the time point corresponding to the playing time length is not the preset video reporting time point, determining that the playing record information does not accord with the preset playing record condition.
Sub-step 2403, if the play record time point is not the interactive reporting time point, determining that the play record information meets a preset play record condition when the play record time information includes an interactive video play end time.
Specifically, if the play recording time point is not the interactive reporting time point, whether the play recording information contains the interactive video play end time can be judged, and when the play recording information contains the interactive video play end time, the play recording information is determined to be in accordance with the preset play recording condition; and when the playing record information does not contain the interactive video playing end time, determining that the playing record information does not accord with the preset playing record condition.
In a specific implementation, the video player can detect whether the user closes the interactive player to end the interactive video playing in real time in the interactive video playing process. When the user is detected to close the interactive player, the playing record information can comprise the playing ending time of the interactive video; when the user is detected not to close the interactive player, the playing record information can not contain the playing ending time of the interactive video. And when the time point corresponding to the video playing time length is not the interactive reporting time point and the playing record information comprises the interactive video playing end time, determining that the playing record information accords with the preset playing record condition.
Step 250, if the play record information meets a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type.
Optionally, the determining the video reporting type corresponding to the playing record information and determining the target reporting information according to the video reporting type may specifically include the following substeps:
in the sub-step 2501, when the play record time point is the interactive reporting time point, determining the interactive reporting type corresponding to the interactive reporting time point as the video reporting type.
Specifically, in this embodiment, when the play recording time point of the interactive video is the interactive reporting time point, it may be determined that the current interactive video is the interactive video with the interactive node, and the play recording time point of the current interactive video reaches the interactive reporting time, and at this time, the interactive reporting type corresponding to the interactive reporting time point may be determined as the video reporting type.
For example, for the interactive video segment a, if the play record time point of the interactive video segment a is determined to be the interactive report time point, the interactive report type may be used as the video report type, so that when the player performs video play record report, the record report type in the video play record may be the interactive report type, so that when the linearly drawn node plays a record page, the player may determine that the video segment corresponding to the node is the interactive video segment by using the interactive report type in the video play record.
In step 2502, for the interactive report type, the interactive video clip information and the interactive point information to be reported are determined.
The interactive video clip information comprises a video identifier of the interactive video, a playing and recording time point and the interactive report type, and the interactive point information comprises video parameter information of the interactive video.
Specifically, the interactive video clip information may include a video ID of the interactive video clip, a playing time of the interactive video clip at a reporting time, a reporting type of the interactive video clip (i.e., an interactive reporting type), etc., which is not limited in the embodiment of the present application; the interaction point information to be reported may include video parameter information of the interaction video, for example, the video parameter information may include title, schematic diagram, profile information of the interaction point, etc., which is not limited in this embodiment. Specifically, when the video reporting type is an interactive reporting type, the interactive video clip information and the interactive point information to be reported may be determined for the interactive reporting type, so that the target reporting information may be generated based on the interactive video clip information and the interactive point information subsequently, that is, sub-step 2503 is executed.
Sub-step 2503, generating the target report information based on the interactive video clip information and the interactive point information.
Specifically, the embodiment of the application can generate the target report information based on the interactive video clip information and the interactive point information, so that the interactive play record report data of the interactive video can be determined based on the target report information later, and the play record display is realized by taking the historical interaction as a unit.
In a sub-step 2504, when the play record time point is not the interactive reporting time point, determining a video default reporting type as the video reporting type.
The video default reporting type is a video reporting type of the interactive video reported in the video playing process.
In a specific implementation, for an interactive video clip, if a play record time point corresponding to a video play record reported by a player is not N seconds before the start of the interaction, a default report type may be used as a video report type for a video play record reported N seconds before the start of the interaction at the play record time point; for the common video clips, since the common video clips have no interaction node, that is, it is not necessary to determine whether the playing record time point of the common video clips is N seconds before the interaction starts, for the video playing record of the common video clips, the default report type can be directly used as the video report type, and can be used for distinguishing the common video clips and the interaction video clips, and for the interaction video clips, when the subsequent user selects the interaction video playing through the node playing page, the subsequent user can be used for distinguishing whether to jump to the interaction video clips selected by the user is N seconds before the interaction starts.
In actual processing, in this embodiment, when the playing and recording time point of the interactive video is a video reporting time point, the default video reporting type may be determined as a video reporting type, or when the playing of the interactive video is completed, the default video reporting type may be determined as the video reporting type, or, in the process of playing the interactive video, when the user closes the interactive player to end playing the interactive video, the default video reporting type may also be determined as the video reporting type, which is not limited in this embodiment.
As an example, for a common video clip, the video reporting type corresponding to the video play record reported in the playing process may be the default reporting type of the video; for the interactive video clip, in the playing process of the interactive video clip, if the playing of the interactive video clip is finished, or when the user exits from playing of the interactive video clip, the video playing record can be reported, and at the moment, the video reporting type corresponding to the video playing record can be the default reporting type of the video.
In step 2505, for the default report type of the video, the interactive video clip information is obtained, where the interactive video clip information includes the video identifier of the interactive video and the current playing time point of the interactive video.
Specifically, the current playing time point of the interactive video may be playing time of the interactive video clip, that is, playing time of the video clip of the interactive video, which is not limited in the embodiment of the present application. Specifically, when the video reporting type is the default video reporting type, the video identifier of the interactive video and the reporting playing time of the interactive video clip can be obtained to be used as the interactive video clip information, and then the target reporting information can be generated according to the interactive clip information.
In a specific implementation, the embodiment can generate target report information based on the default report type of the video and in combination with the video identifier of the interactive video and the report time of the video segment of the interactive video, and further determine the report data of the interactive play record of the interactive video by using the target report information, that is, generate the video play record by using the target report information. Because the video playing record contains the video identification of the interactive video and the video clip reporting time, when the node playing record page is drawn linearly, the corresponding interactive video can be found by utilizing the video identification contained in the video playing record, and the video is displayed in the node playing record page.
In step 2506, the target report information is generated based on the default report type of the video, in combination with the video identifier of the interactive video and the current playing time point of the interactive video.
Specifically, the embodiment of the application can generate the target report information based on the default report type of the video and combining the video identification of the interactive video and the report play time of the interactive video segment, so that the interactive play record report data of the interactive video can be determined based on the target report information later, and further, the linear drawing of the node play record page is performed by utilizing the interactive play record report data, so that the display of the play record by taking the historical interaction as a unit is realized.
Step 260, determining the interactive play record report data of the interactive video based on the target report information.
Step 270, uploading the interactive play record report data to a target server.
In the actual processing, after the target report information is determined, the target report information can be used to generate a video play record as the report data of the interactive play record, and the video player can report the video play record to the target server (such as a background server) so as to store the video play record through the target server. Specifically, the target server receives the video play records and may store the video play records. After receiving the video play record display operation of the user, the video player can send a data acquisition request to the target server so as to acquire all video play records of the interactive video. After receiving the data acquisition request, the target server can send all video play records of the interactive video to the video player. The video player can linearly draw node play record pages according to all video play records of the interactive video and display the node play record pages to a user, so that the user can select the interactive video to be played through the linear play record to play, the requirements of the user on replaying the interactive video and interactive selection from a certain historical interaction point can be met, the user experience is improved, the effect of dynamically drawing the linear play record according to the selection records of different users can be achieved, the requirement of mass production is met, and the labor cost is saved.
Furthermore, the background server is used for storing playing and recording data of the interactive video, so that the local space can be saved, and the running efficiency of the equipment can be improved.
In summary, after playing an interactive video, the embodiment of the application determines the video playing time of the interactive video based on playing record time information recorded in the playing process of the interactive video contained in the playing record information by acquiring the playing record information corresponding to the interactive video, when the video playing time reaches the playing time threshold of the interactive video, determines that the playing record information accords with preset playing record conditions, when the video playing time does not reach the playing time threshold, judges whether the playing record information accords with the preset playing record conditions according to the playing record time point contained in the video playing time, determines the video reporting type corresponding to the playing record information when the playing record information accords with the preset playing record conditions, determines target reporting information according to the video reporting type, further determines the interactive playing record reporting data of the interactive video based on the target reporting information, and uploads the interactive playing record reporting data to a target server, so that the interactive video can be played on the basis of the linear node playing record page of the interactive playing data, and displayed to a user, and the user can freely select the interactive video to be played through the node playing record page without limitation, thereby realizing that the interactive video can not be selected from the interactive history record point to the interactive history, and the interactive video can not be selected again by the user, and the current requirements can not be met.
Referring to fig. 3, a schematic flow chart of steps of a processing method based on video playing record according to an alternative embodiment of the present application is shown. The processing method based on the video play record specifically comprises the following steps of
Step 310, after playing the interactive video, obtaining playing record information corresponding to the interactive video.
Step 320, if the play record information meets a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type.
And 330, determining the interactive play record report data of the interactive video based on the target report information.
In a specific implementation, the interactive play record report data may include a video play record, so that the video play record may be extracted from the interactive play record report data based on the interactive play record triggering operation, and further, the node play record page may be linearly drawn by using the video play record.
As an example, the video player may store video play records, such as the video player may store video play records via a data list (DataList) to report data as interactive play records, and extract video play records from the interactive play record report data, such as from the DataList, if desired. The video player can upload the video playing record to the background server, the video playing record is stored by the background server, and after the background server obtains the video playing record, the video player can generate a DataList based on all the video playing records of the interactive video to obtain the reporting data of the interactive playing record. The background server may store all video play records of the interactive video through a DataList, and may also sequentially sort the video play records in the DataList according to a receiving order, and when the video player needs to use the video play records, the sorted DataList may be sent to the video player, so that the video player may obtain the video play records of the interactive video, which is not limited in this example.
And step 340, uploading the interactive play record reporting data to a target server.
And 350, receiving an interactive play record triggering operation corresponding to the interactive video.
Specifically, in the embodiment of the present application, an interactive play record triggering operation corresponding to an interactive video may be received. For example, in the process of playing the interactive video, or in the history playing page recorded with the interactive video playing record, when the user needs to replay the interactive video from a certain history interaction point or select interaction, the user can display the interactive playing record through the interactive playing record display function, for example, the user can generate the interactive playing record triggering operation by clicking the interactive playing record triggering button, which is not limited in this example. The video player can receive the interactive play record triggering operation of the user for the interactive video, and can report the video play record of the interactive video in the data from the interactive play record based on the interactive play record triggering operation subsequently to be used as play record data.
Step 360, based on the interactive play record triggering operation, sending video play record obtaining information to the target server, where the video play record obtaining information is used to obtain the interactive play record reporting data.
Specifically, the play record data may include a video play record of the interactive video, which is not limited in this embodiment of the present application. According to the method and the device, based on the interactive play record triggering operation, video play record acquisition information can be sent to the target server, and after the target server receives the video play record acquisition information, play records corresponding to the corresponding video play record acquisition information can be searched from stored data based on the video play record acquisition information, so that interactive play record reporting data can be obtained.
And 370, receiving the interactive play record report data returned by the target server, and extracting play record data from the interactive play record report data.
Specifically, the embodiment may receive the interactive play record report data returned by the target server, and extract the play record data from the interactive play record report data, so that the play record data may be used to generate a linear play record page corresponding to the interactive video, that is, step 370 is executed.
And step 380, displaying the node play record page corresponding to the interactive video according to the play record data.
According to the embodiment, the linear playing record page corresponding to the interactive video can be generated according to the playing record data to serve as the node playing record page, if the playing record data can be utilized to determine the video playing sequence of each interactive video segment and common video segment in the interactive video, the node playing record page is linearly drawn according to the video playing sequence by taking the interactive video segment and the common video segment as nodes in a linear drawing mode, and then the node playing record page corresponding to the interactive video can be displayed to a user.
In actual processing, the situation that the user clicks the interactive play record trigger button immediately after starting playing the interactive video, and generates the interactive play record trigger operation may occur, and at this time, the play record data may have empty data. If the DataList acquired by the player from the background server may be empty, or if the DataList acquired by the player from the local storage may be empty, at this time, it indicates that the user has no video playing record yet, in order to improve the user experience, a start node and an upcoming playing node may be preset for the interactive video, so that when the playing record information is empty, the start node and the upcoming playing node are linearly connected, and a linearly drawn node playing record page is obtained and displayed to the user.
In an optional embodiment, according to the play record data, the displaying the node play record page corresponding to the interactive video may specifically include: when the play record data is null data, carrying out node drawing based on preset starting node information and default play starting node information corresponding to the interactive video to obtain the node play record page; when the play record data is not the blank data, determining node information to be played based on historical node information recorded in the play record data, and carrying out node drawing based on the historical node information and the node information to be played to obtain the node play record page; the node playing record page comprises at least one playing node, the starting node information is used for determining a first video segment played first in the interactive video, the default playing node information is used for determining a second video segment played after the first video segment, the history node information is used for determining a third video segment played currently in the interactive video, and the upcoming playing node information is used for determining a fourth video segment played after the third video segment.
Specifically, the preset starting node information may include a default playing video and a default playing time corresponding to the default playing video, for example, the default playing video may be a first video clip played in the interactive video, and the first video clip may be a main video, which is not limited in the embodiment of the present application; the default playing time corresponding to the default playing video may be preset, for example, may be the 0 th second of the main video, which is not limited in the embodiment of the present application. The default play node information may include a next play video clip, where the next play video may be a video clip played after the default play video in the interactive video, for example, when the default play video is a main video, the next play video clip may be a video clip played after the main video, which is not limited in this embodiment of the present application. The history node information may include a video clip corresponding to the video play record and a video clip play time, which is not limited in the embodiment of the present application. The upcoming playback node information may include a next playback video clip, which is not limited in this embodiment of the present application. By the about-to-play node and the default play node, the user can be effectively reminded that the next video clip is still available after the current video clip is completely played, the situation that the user considers that the current video clip is completely played and has no subsequent video to directly exit the player is avoided, and user experience is improved.
For example, the interactive video includes a video segment a, a video segment B, and a video segment C, where the playing order is a video segment a-video segment B-video segment C in sequence, and if the playing record data is null data, when the node playing record page is linearly drawn, the video segment a may be used as starting node information of the node playing record page, and the video segment B played after the video segment a is used as default playing node information to perform node drawing, so as to obtain the node playing record page; if the playing record data is not null data, if the user has already played the video segment a and is playing the video segment B, when the node playing record page is linearly drawn, the video segment a and the video segment B can be used as history node information, if the video segment a can be used as a starting node, the video segment B can be used as an intermediate node, and the video segment C can be used as an upcoming playing node to linearly draw, so as to obtain the node playing record page.
In a specific implementation, if the play record data is null data, when the node play record page is drawn, a null page may be preset, a node with a title of starting may be drawn in the null page, as a starting node, corresponding to the main video, and a node with a title of about to play may be drawn, as an about to play node, corresponding to the about to play video, where, if the play record data is null data, the two titles may be connected by a line, to obtain the node play record page. If the play record data is not null data, the video clip played after the main video and played immediately before the video is played can be used as an intermediate node, the video name is used as a title corresponding to the intermediate node, and the titles are connected in a line according to the play order, so that the node play record page is obtained.
Further, when the player draws the node play record page, the player can judge whether the video clip corresponding to each node is an interactive video clip or a common video clip according to the video play record corresponding to each node, for example, if the video report type of the video play record is an interactive report type video clip, the player can directly determine that the video clip is an interactive video clip; for the video clip with the video reporting type of the video playing record being the video default reporting type, the information of the video can be obtained from the server according to the video identifier and the like so as to judge whether the video clip is an interactive video clip or a common video clip. For the interactive video clips and the common video clips, different marks can be used for distinguishing in the node playing recording page, so that the user experience is improved, and the marks are not limited in the embodiment.
For example, referring to fig. 3, if the obtained DataList is not empty, which indicates that the user has a play record, a node with a title of start may be first drawn in the interface as a start node. And then sequentially extracting the play record data with the video reporting type being the interactive reporting type from the DataList according to the sequence, and sequentially carrying out node drawing, for example, linear node drawing can be carried out on the interactive video corresponding to the play record data according to the sequence, and the interactive point brief introduction in the play record data can be used as a title, for example, an interactive a brief introduction, an interactive c brief introduction, an interactive q brief introduction and the like during drawing. And then, the playing record data with the last sequence in the DataList and the video reporting type being the video default reporting type can be subjected to linear node drawing to serve as the current playing record and be expressed as the current position. And then a node with a title to be played can be drawn as the node to be played, and all the nodes can be connected by lines to obtain the node play record page.
Further, after the node play record page is obtained, the embodiment of the application can display the node play record page to the user. The user can click any node through the node play record page, or when the user needs to replay the interactive video or the interactive selection from a certain history interaction point, click the node corresponding to the interactive video needing to replay or the interactive selection in the node play record page. The node selected by the user can be received, the interactive video corresponding to the node selected by the user can be determined, and then the interactive video can be played.
In an optional embodiment, after displaying the node play record page corresponding to the interactive video, the method may specifically further include: receiving node selection operation submitted by a user on the node play record page; determining a target playing node based on the node selection operation; according to the node type corresponding to the target playing node, acquiring node playing record data corresponding to the target playing node, wherein the node type comprises a type before interaction starts, a type in the playing process and a node type to be started; and playing the video according to the node playing record data.
Specifically, according to the node selection operation of the user, the embodiment determines the target playing node, and then may determine the node type corresponding to the target playing node, for example, may determine that the target playing node is a video interaction node type, a video start node type or an about-to-start node type. And then, according to the node type, node playing record data corresponding to the target playing node can be obtained, for example, the playing record data corresponding to the target playing node can be extracted from the DataList to be used as node playing record data, and the node playing record data can comprise the video ID of the interactive video clip and the playing time of the interactive video clip at the reporting moment, so that the target interactive video can be determined through the video ID of the interactive video clip, the playing time of the interactive video clip at the reporting moment can be determined, the playing time can be determined, the interactive video and the interactive selection can be replayed according to the interactive point selected by the user, the user experience is improved, and the problem that the interactive selection cannot be carried out again from a certain interactive plot when the user plays the interactive video through the video playing record in the prior art is solved.
In an optional embodiment, according to the node type corresponding to the target playing node, the method for obtaining the node playing record data corresponding to the target playing node may specifically include: determining a video reporting type corresponding to the target playing node based on the playing record data; if the video reporting type corresponding to the target playing node is an interactive reporting type, determining that the node type is a video interactive node type; extracting the node play record data from the play record data based on the video interaction node type, wherein the video interaction node type comprises a user interaction node type and a video play node type; if the video reporting type is a video default reporting type and the node information corresponding to the target playing node is start node information or history node information, determining that the node type is a video start node type; closing the node playing record page aiming at the video starting node type, and determining default playing information of the interactive video as the node playing record data, wherein the default playing information comprises default playing video fragments and default playing time points of the interactive video; if the video reporting type is a video default reporting type and the node information corresponding to the target playing node is to-be-played node information, determining that the node type is to-be-opened node type, and directly closing the node playing record page based on the to-be-opened node type.
In a specific implementation, the embodiment can determine, according to the play record data, a video reporting type corresponding to the target play node, for example, whether the target play node selected by the user is an interactive reporting type or a video default reporting type according to the play record data. And then, the node type can be determined according to the video reporting type and the target playing node. Specifically, when the video reporting type corresponding to the target playing node is the video default reporting type, the node type can be determined to be the video starting node type; when the video reporting type is a video default reporting type and the node information corresponding to the target playing node is the starting node information or the history node information, the node type can be determined to be the video starting node type; when the video reporting type is a video default reporting type and the node information corresponding to the target playing node is the node information to be played, the node type can be determined to be the node type to be started.
For example, the player may determine, based on the node selection operation, that the video clip selected by the user is a user interaction node type, and then determine that the video clip is an interaction video clip, and jump to the first N seconds of the interaction video clip to start interaction according to the play recording data of the interaction video clip, so that the user may freely select the interaction video clip to play if the video clip has the corresponding play recording data; when the video reporting type of the playing record data is the default reporting type of the video, the node type can be determined to be the video playing node type, and then the playing record data of the video clip can be used for jumping to the time when the user plays the video clip last time, so that the video can be continuously played. If the video clip selected by the user does not have play record data and is the start node, the node type can be determined to be the video start node type. If the node selected by the user is the node to be started, the node playing record page can be directly closed, and the video clip currently being played can be continuously played.
In summary, after playing an interactive video, the embodiment of the application determines the video reporting type corresponding to the playing record information by acquiring the playing record information corresponding to the interactive video when the playing record information accords with the preset playing record condition, determines the target reporting information according to the video reporting type, determines the interactive playing record reporting data of the interactive video based on the target reporting information, and uploads the interactive playing record reporting data to the target server, when receiving the interactive playing record triggering operation corresponding to the interactive video, sends the video playing record acquiring information to the target server based on the interactive playing record triggering operation, thereby being capable of receiving the interactive playing record reporting data returned by the target server, extracting the playing record data from the interactive playing record reporting data, displaying the node playing record page corresponding to the interactive video according to the playing record data, thereby realizing the display of the playing record by taking the history interaction as a unit, meeting the requirement that a user can not replay and select the interactive video from a certain interaction point, and further solving the problem that the user can not replay the interactive video from a certain interaction point through the video playing record to select the interactive scenario in the prior art, and improving the user experience.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the embodiments.
As shown in fig. 5, an embodiment of the present application further provides a processing apparatus 500 based on video playing record, including:
the play record information determining module 510 is configured to obtain play record information corresponding to an interactive video after the interactive video is played;
the target report information determining module 520 is configured to determine a video report type corresponding to the play record information when the play record information meets a preset play record condition, and determine target report information according to the video report type;
an interactive play record report data determining module 530, configured to determine interactive play record report data of the interactive video based on the target report information;
and the uploading module 540 is configured to upload the interactive play record reporting data to the target server.
Optionally, the play record information includes play record time information recorded in the interactive video playing process, and the processing device 500 based on video play record further includes:
The video playing time length determining module is used for determining the video playing time length of the interactive video based on the playing recording time information, wherein the video playing time length comprises the playing recording time point of the interactive video;
the first judging module is used for determining that the playing record information accords with preset playing record conditions when the video playing time reaches a playing time threshold of the interactive video;
and the second judging module is used for judging whether the play record information accords with a preset play record condition according to the play record time point when the video play time does not reach the play time threshold.
Optionally, the second judging module includes:
the first judging sub-module is used for judging whether the play recording time point is a preset interactive reporting time point or not, wherein the interactive reporting time point is a time point corresponding to the first N seconds of interactive selection of the interactive video;
the second judging sub-module is used for determining that the play record information accords with a preset play record condition when the play record time point is the interactive reporting time point;
and the third judging sub-module is used for determining that the play record information accords with preset play record conditions when the play record time point is not the interactive reporting time point and the play record time information contains the interactive video play end time.
Optionally, the target report information determining module 520 includes:
the interactive reporting type determining submodule is used for determining the interactive reporting type corresponding to the interactive reporting time point as the video reporting type when the playing record time point is the interactive reporting time point;
the interactive video clip information and the interactive point information to be reported are determined by aiming at the interactive reporting type, wherein the interactive video clip information comprises a video identifier of the interactive video, a playing recording time point and the interactive reporting type, and the interactive point information comprises video parameter information of the interactive video;
and the first target report information generation sub-module is used for generating the target report information by combining the interactive video clip information and the interactive point information based on the interactive report type.
Optionally, the target report information determining module includes:
the video default reporting type determining submodule is used for determining the video default reporting type as the video reporting type when the playing record time point is not the interactive reporting time point, wherein the video default reporting type is the video reporting type reported by the interactive video in the video playing process;
The interactive video clip information determining submodule is used for obtaining interactive video clip information aiming at the default reporting type of the video, wherein the interactive video clip information comprises a video identifier of the interactive video and a current playing time point of the interactive video;
and the second target report information generation sub-module is used for generating the target report information based on the video default report type and combining the video identification of the interactive video and the current playing time point of the interactive video.
Optionally, the processing device 500 based on video playing record further includes:
the interactive play record triggering operation receiving module is used for receiving the interactive play record triggering operation corresponding to the interactive video;
the video play record acquisition information sending module is used for sending video play record acquisition information to the target server based on the interactive play record triggering operation, wherein the video play record acquisition information is used for acquiring the interactive play record reporting data;
the play record data determining module is used for receiving the interactive play record reporting data returned by the target server and extracting play record data from the interactive play record reporting data;
And the node play record page display module is used for displaying the node play record page corresponding to the interactive video according to the play record data.
Optionally, the node playing record page display module includes:
the first node play record page determining submodule is used for carrying out node drawing based on preset starting node information and default play starting node information corresponding to the interactive video when the play record data are null data to obtain the node play record page;
the second node play record page determining submodule determines node information to be played based on historical node information recorded in the play record data when the play record data is not the null data, and performs node drawing based on the historical node information and the node information to be played to obtain the node play record page; the node playing record page comprises at least one playing node, the starting node information is used for determining a first video segment played first in the interactive video, the default playing node information is used for determining a second video segment played after the first video segment, the history node information is used for determining a third video segment played currently in the interactive video, and the upcoming playing node information is used for determining a fourth video segment played after the third video segment.
Optionally, the processing device 500 based on video playing record further includes:
the node selection operation receiving module is used for receiving node selection operation submitted by a user on the node play record page;
the target playing node determining module is used for determining a target playing node based on the node selecting operation;
the node play record data acquisition module is used for acquiring node play record data corresponding to the target play node according to the node type corresponding to the target play node, wherein the node type comprises a type before interaction starts, a type in the play process and a node type to be started;
and the video playing module is used for playing the video according to the node playing record data.
Optionally, the node play record data acquisition module includes:
the video reporting type determining submodule is used for determining the video reporting type corresponding to the target playing node based on the playing record data;
the video interaction node type determining submodule is used for determining that the node type is a video interaction node type when the video reporting type corresponding to the target playing node is an interaction reporting type;
The node play record data determining submodule is used for extracting the node play record data from the play record data based on the video interaction node type, wherein the video interaction node type comprises a user interaction node type and a video play node type;
the video start node type determining submodule is used for determining that the node type is a video start node type when the video report type is a video default report type and the node information corresponding to the target play node is start node information or history node information;
the node playing record page closing sub-module is used for closing the node playing record page aiming at the video starting node type, determining default playing information of the interactive video as the node playing record data, wherein the default playing information comprises default playing video fragments and default playing time points of the interactive video; when the video reporting type is a video default reporting type and the node information corresponding to the target playing node is to-be-played node information, determining that the node type is to-be-opened node type, and directly closing the node playing record page based on the to-be-opened node type.
It should be noted that, the processing device based on video play records provided in the embodiments of the present application may execute the processing method based on video play records provided in any embodiment of the present application, and has the corresponding functions and beneficial effects of executing the processing method based on video play records.
In a specific implementation, the processing device based on the video playing record can be integrated in a device, so that the device can determine the video reporting type corresponding to the playing record information after playing the interactive video, and determine the target reporting information according to the video reporting type, so as to determine the interactive playing record reporting data of the interactive video based on the target reporting information, and the interactive video playing record playing device is used as an electronic device, and the interactive video playing from a certain interactive scenario is realized through the video playing record playing. The electronic device may be formed by two or more physical entities or may be formed by one physical entity, for example, the electronic device may be a personal computer (Personal Computer, PC), a computer, a server, or the like, which is not particularly limited in the embodiment of the present application.
As shown in fig. 6, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 perform communication with each other through the communication bus 114; a memory 113 for storing a computer program; the processor 111 is configured to implement the steps of the processing method based on video play record provided in any one of the foregoing method embodiments when executing the program stored in the memory 113. Illustratively, the steps of the video play record based processing method may include the steps of: after playing an interactive video, acquiring playing record information corresponding to the interactive video; if the play record information accords with a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type; determining interactive play record report data of the interactive video based on the target report information; and uploading the interactive play record reporting data to a target server.
The present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the video play record based processing method provided in any one of the method embodiments described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A method for processing a video play record, comprising:
after playing an interactive video, acquiring playing record information corresponding to the interactive video;
if the play record information accords with a preset play record condition, determining a video reporting type corresponding to the play record information, and determining target reporting information according to the video reporting type;
determining interactive play record report data of the interactive video based on the target report information;
and uploading the interactive play record reporting data to a target server.
2. The method according to claim 1, wherein the play record information includes play record time information recorded during the playing of the interactive video, and further comprising, after the obtaining of the play record information corresponding to the interactive video:
Determining video playing time length of the interactive video based on the playing recording time information, wherein the video playing time length comprises playing recording time points of the interactive video;
when the video playing time length reaches a playing time length threshold value of the interactive video, determining that the playing record information accords with a preset playing record condition;
and when the video playing time length does not reach the playing time length threshold value, judging whether the playing record information accords with a preset playing record condition according to the playing record time point.
3. The method according to claim 2, wherein the determining whether the play-out record information meets a preset play-out record condition according to the play-out record time point includes:
judging whether the play record time point is a preset interactive reporting time point or not, wherein the interactive reporting time point is a time point corresponding to the first N seconds of interactive selection of the interactive video;
if the playing record time point is the interactive reporting time point, determining that the playing record information accords with a preset playing record condition;
if the playing record time point is not the interactive reporting time point, when the playing record time information comprises the interactive video playing end time, determining that the playing record information accords with the preset playing record condition.
4. The method of claim 3, wherein the determining the video reporting type corresponding to the play record information and determining the target reporting information according to the video reporting type includes:
when the play record time point is the interactive reporting time point, determining an interactive reporting type corresponding to the interactive reporting time point as the video reporting type;
determining interactive video clip information and interactive point information to be reported according to the interactive reporting type, wherein the interactive video clip information comprises a video identifier of the interactive video, a playing recording time point and the interactive reporting type, and the interactive point information comprises video parameter information of the interactive video;
and generating the target report information based on the interactive video clip information and the interactive point information.
5. The method of claim 3, wherein the determining the video reporting type corresponding to the play record information and determining the target reporting information according to the video reporting type includes:
when the play record time point is not the interactive reporting time point, determining a video default reporting type as the video reporting type, wherein the video default reporting type is the video reporting type of the interactive video reported in the video playing process;
Aiming at the video default reporting type, acquiring interactive video clip information, wherein the interactive video clip information comprises a video identifier of the interactive video and a current playing time point of the interactive video;
and generating the target report information by combining the video identification of the interactive video and the current playing time point of the interactive video based on the video default report type.
6. The method of any of claims 1 to 5, further comprising, after the interactive video is played:
receiving an interactive play record triggering operation corresponding to the interactive video;
based on the interactive play record triggering operation, sending video play record acquisition information to the target server, wherein the video play record acquisition information is used for acquiring the interactive play record reporting data;
receiving the interactive play record report data returned by the target server, and extracting play record data from the interactive play record report data;
and displaying the node playing record page corresponding to the interactive video according to the playing record data.
7. The method of claim 6, wherein displaying the node play record page corresponding to the interactive video according to the play record data comprises:
When the play record data is null data, carrying out node drawing based on preset starting node information and default play starting node information corresponding to the interactive video to obtain the node play record page;
when the play record data is not the blank data, determining node information to be played based on historical node information recorded in the play record data, and carrying out node drawing based on the historical node information and the node information to be played to obtain the node play record page;
the node playing record page comprises at least one playing node, the starting node information is used for determining a first video segment played first in the interactive video, the default playing node information is used for determining a second video segment played after the first video segment, the history node information is used for determining a third video segment played currently in the interactive video, and the upcoming playing node information is used for determining a fourth video segment played after the third video segment.
8. The method of claim 6, wherein after the displaying the node corresponding to the interactive video plays the recording page, further comprising:
Receiving node selection operation submitted by a user on the node play record page;
determining a target playing node based on the node selection operation;
according to the node type corresponding to the target playing node, acquiring node playing record data corresponding to the target playing node, wherein the node type comprises a type before interaction starts, a type in the playing process and a node type to be started;
and playing the video according to the node playing record data.
9. The method of claim 8, wherein obtaining the node play record data corresponding to the target play node according to the node type corresponding to the target play node, comprises:
determining a video reporting type corresponding to the target playing node based on the playing record data;
if the video reporting type corresponding to the target playing node is an interactive reporting type, determining that the node type is a video interactive node type;
extracting the node play record data from the play record data based on the video interaction node type, wherein the video interaction node type comprises a user interaction node type and a video play node type;
If the video reporting type is a video default reporting type and the node information corresponding to the target playing node is start node information or history node information, determining that the node type is a video start node type;
closing the node playing record page aiming at the video starting node type, and determining default playing information of the interactive video as the node playing record data, wherein the default playing information comprises default playing video fragments and default playing time points of the interactive video;
if the video reporting type is a video default reporting type and the node information corresponding to the target playing node is to-be-played node information, determining that the node type is to-be-opened node type, and directly closing the node playing record page based on the to-be-opened node type.
10. A video play record-based processing device, comprising:
the playing record information determining module is used for acquiring playing record information corresponding to the interactive video after the interactive video is played;
the target report information determining module is used for determining a video report type corresponding to the play record information when the play record information accords with a preset play record condition, and determining target report information according to the video report type;
The interactive play record report data determining module is used for determining interactive play record report data of the interactive video based on the target report information;
and the uploading module is used for uploading the interactive play record reporting data to a target server.
11. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the video play record based processing method according to any one of claims 1 to 9 when executing a program stored on a memory.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the video play record based processing method as claimed in any one of claims 1-9.
CN202310171678.5A 2023-02-15 2023-02-15 Processing method, device, equipment and medium based on video playing record Pending CN116156224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310171678.5A CN116156224A (en) 2023-02-15 2023-02-15 Processing method, device, equipment and medium based on video playing record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310171678.5A CN116156224A (en) 2023-02-15 2023-02-15 Processing method, device, equipment and medium based on video playing record

Publications (1)

Publication Number Publication Date
CN116156224A true CN116156224A (en) 2023-05-23

Family

ID=86354189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310171678.5A Pending CN116156224A (en) 2023-02-15 2023-02-15 Processing method, device, equipment and medium based on video playing record

Country Status (1)

Country Link
CN (1) CN116156224A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111654730A (en) * 2020-06-05 2020-09-11 腾讯科技(深圳)有限公司 Video playing method, data processing method, related device and medium
CN111726694A (en) * 2020-06-30 2020-09-29 北京奇艺世纪科技有限公司 Interactive video recovery playing method and device, electronic equipment and storage medium
CN115002552A (en) * 2022-06-30 2022-09-02 北京爱奇艺科技有限公司 Story line data processing method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111654730A (en) * 2020-06-05 2020-09-11 腾讯科技(深圳)有限公司 Video playing method, data processing method, related device and medium
CN111726694A (en) * 2020-06-30 2020-09-29 北京奇艺世纪科技有限公司 Interactive video recovery playing method and device, electronic equipment and storage medium
CN115002552A (en) * 2022-06-30 2022-09-02 北京爱奇艺科技有限公司 Story line data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109168037B (en) Video playing method and device
CN104185039B (en) The method and apparatus that audio-visual synchronization plays
CN105144741A (en) Video data provision
CN112019920B (en) Video recommendation method, device and system and computer equipment
US20100088726A1 (en) Automatic one-click bookmarks and bookmark headings for user-generated videos
CN110913241B (en) Video retrieval method and device, electronic equipment and storage medium
CN106331869B (en) Video-based picture re-editing method and device
US10491968B2 (en) Time-based video metadata system
CN112507163B (en) Duration prediction model training method, recommendation method, device, equipment and medium
CN111444415B (en) Barrage processing method, server, client, electronic equipment and storage medium
CN106911940B (en) Learning video playing control method based on big data and video server
CN111327966A (en) Video double-speed playing method, system and storage medium
CN108153882A (en) A kind of data processing method and device
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN110177306A (en) Video broadcasting method, device, mobile terminal and medium based on mobile terminal
CN113630630A (en) Method, device and equipment for processing dubbing information of video commentary
CN110881131A (en) Classification method of live review videos and related device thereof
CN105898426A (en) Multimedia content processing method and device and server
JP4333808B2 (en) Video search method and apparatus
CN111031117B (en) Multimedia file downloading method and related device
CN116156224A (en) Processing method, device, equipment and medium based on video playing record
US8971686B2 (en) Method and apparatus for managing digital contents and method and apparatus for executing digital contents according to playback positions
CN112650467B (en) Voice playing method and related device
JP2013531854A (en) Content search service system and content search service method
CN112770176A (en) Video frame determination method and device, electronic equipment and computer readable medium

Legal Events

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