Processing method, device, equipment and medium based on video playback record
By obtaining and processing the playback record information of interactive videos, generating and uploading interactive playback record reporting data, the problem that users cannot replay and select from any point of interactive videos is solved, improving user experience and saving storage space.
Patent Information
- Application Number
- CN202310171678.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2043-02-15
AI Technical Summary
The existing way of displaying interactive videos through video playback cannot meet the user's needs for replaying and selection from a certain interactive point, resulting in poor user experience.
Provide a processing method based on video playback record, including obtaining playback record information of interactive video, determining whether it meets preset conditions, determining the type of video reporting, generating interactive playback record reporting data, and uploading it to the target server to realize the function of user replaying and selecting from any point of interactive video.
Meets the user's need to replay and select from an interactive point of interactive video, improves the user experience, and saves local device storage space through the server storage of playback records.
Smart Images

Figure CN116156224B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video technology, and in particular to a processing method, device, equipment and medium based on video playback records. Background Art
[0002] Interactive videos are composed of several video clips and interactive points. When the video is played to an interactive point, the interactive components will be displayed for the user to choose, and the corresponding video clip will be played according to the user's choice, so as to drive the change and development of the video content through interaction. Specifically, ordinary videos are composed of only one complete video, so the playback record displayed to the user usually only contains information such as the schematic diagram, name, introduction and the last playback time of the video. A complete interactive video is composed of a large number of different video clips. Each interaction in the interactive video clip will serve as a turning point to change the direction of the storyline. With the interaction in the interactive video as the bifurcation point and the video clip as the line, the entire interactive video can form a storyline network, and each user's traversal path is different.
[0003] The existing method of displaying interactive videos through video playback records can only display interactive videos in the same way as ordinary video playback records. Every time a user plays an interactive video from the playback record, he can only go back to the last interactive video segment played or clear the playback record to restart the interactive video. He cannot choose to interact again from a certain interactive plot. For example, a complete interactive video may include interactive video segments a, interactive video segments b, interactive video segments c, and interactive video segments d, and the playback order may be abcd. If the user last played to the first minute of interactive video segment d, when the user plays the interactive video through the interactive video playback record, he can only continue to play the interactive video from the first minute of interactive video segment d, or clear the interactive video playback record and start playing the interactive video again from interactive video segment a. He cannot choose to continue playing the interactive video from interactive video segment b or interactive video segment c. It can be seen that the existing method of displaying interactive videos through video playback records cannot meet the user's playback needs, resulting in poor user experience. Summary of the invention
[0004] The present application provides a processing method, device, equipment and medium based on video playback records, which can meet the user's needs for replaying and selecting from a certain interactive point in an interactive video, solve the problem that the existing way of displaying interactive videos through video playback records cannot meet user needs, and improve the user experience.
[0005] In a first aspect, the present application provides a processing method based on video playback records, comprising:
[0006] After the interactive video starts playing, obtaining the playback record information corresponding to the interactive video;
[0007] If the playback record information meets the preset playback record condition, determining the video reporting type corresponding to the playback record information, and determining the target reporting information according to the video reporting type;
[0008] Determining interactive playback record reporting data of the interactive video based on the target reporting information;
[0009] The interactive play record reporting data is uploaded to the target server.
[0010] Optionally, the playback record information includes playback record time information recorded during the playback of the interactive video, and after acquiring the playback record information corresponding to the interactive video, the method further includes:
[0011] Determine the video playback duration of the interactive video based on the playback record time information, where the video playback duration includes the playback record time point of the interactive video;
[0012] When the video playback time reaches the playback time threshold of the interactive video, determining that the playback record information meets the preset playback record condition;
[0013] When the video playback duration does not reach the playback duration threshold, it is determined whether the playback record information meets a preset playback record condition according to the playback record time point.
[0014] Optionally, judging whether the playback record information meets a preset playback record condition according to the playback record time point includes:
[0015] Determine whether the playback record time point is a preset interaction reporting time point, where the interaction reporting time point is a time point corresponding to N seconds before the interactive selection of the interactive video;
[0016] If the playback record time point is the interaction reporting time point, determining that the playback record information meets the preset playback record condition;
[0017] If the playback record time point is not the interaction reporting time point, then when the playback record time information includes the interactive video playback end time, it is determined that the playback record information meets the preset playback record condition.
[0018] Optionally, determining the video reporting type corresponding to the playback record information, and determining target reporting information according to the video reporting type includes:
[0019] When the playback record time point is the interaction reporting time point, determining the interaction reporting type corresponding to the interaction reporting time point as the video reporting type;
[0020] Determine the interactive video segment information and the interactive point information to be reported for the interactive reporting type, wherein the interactive video segment information includes the video identifier, the playback record time point and the interactive reporting type of the interactive video, and the interactive point information includes the video parameter information of the interactive video;
[0021] The target reporting information is generated based on the interactive video segment information and the interactive point information.
[0022] Optionally, determining the video reporting type corresponding to the playback record information, and determining target reporting information according to the video reporting type includes:
[0023] When the playback record time point is not the interaction reporting time point, the default video reporting type is determined to be the video reporting type, and the default video reporting type is the video reporting type reported by the interactive video during the video playback process;
[0024] For the default reporting type of the video, obtain interactive video segment information, where the interactive video segment information includes a video identifier of the interactive video and a current playback time point of the interactive video;
[0025] The target reporting information is generated based on the default reporting type of the video in combination with the video identifier of the interactive video and the current playback time point of the interactive video.
[0026] Optionally, after the interactive video starts playing, the method further includes:
[0027] Receive an interactive playback record triggering operation corresponding to the interactive video;
[0028] 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 to acquire the interactive play record reporting data;
[0029] receiving the interactive play record reporting data returned by the target server, and extracting play record data from the interactive play record reporting data;
[0030] Based on the playback record data, the node playback record page corresponding to the interactive video is displayed.
[0031] Optionally, displaying a node playback record page corresponding to the interactive video based on the playback record data includes:
[0032] When the play record data is empty data, node drawing is performed based on the preset start node information and the default start node information corresponding to the interactive video to obtain the node play record page;
[0033] When the playback record data is not the empty data, determining the node information to be played based on the historical node information recorded in the playback record data, and performing node drawing based on the historical node information and the node information to be played to obtain the node playback record page;
[0034] Among them, the node playback record page includes at least one playback node, the start node information is used to determine the first video segment played first in the interactive video, the default start node information is used to determine the second video segment played after the first video segment, the historical node information is used to determine the third video segment currently played of the interactive video, and the upcoming playback node information is used to determine the fourth video segment played after the third video segment.
[0035] Optionally, after displaying the node playback record page corresponding to the interactive video, the process further includes:
[0036] Receiving a node selection operation submitted by a user on the node playback record page;
[0037] Determine a target playback node based on the node selection operation;
[0038] According to the node type corresponding to the target playback node, the node playback record data corresponding to the target playback node is obtained, wherein the node type includes the type before the interaction starts, the type during the playback process, and the type of the node to be started;
[0039] The video is played according to the node playback record data.
[0040] Optionally, obtaining the node playback record data corresponding to the target playback node according to the node type corresponding to the target playback node includes:
[0041] Based on the playback record data, determining the video reporting type corresponding to the target playback node;
[0042] If the video reporting type corresponding to the target playback node is an interactive reporting type, determining that the node type is a video interactive node type;
[0043] Based on the video interaction node type, extracting the node play record data from the play record data, the video interaction node type includes a user interaction node type and a video play node type;
[0044] If the video reporting type is a default video reporting type, and the node information corresponding to the target playback node is start node information or historical node information, determining that the node type is a video start node type;
[0045] Closing the node play record page for the video start node type, and determining the default play information of the interactive video as the node play record data, wherein the default play information includes the default play video segment and default play time point of the interactive video;
[0046] If the video reporting type is the default video reporting type, and the node information corresponding to the target playback node is the node information to be played, the node type is determined to be the node type to be opened, and the node playback record page is directly closed based on the node type to be opened.
[0047] In a second aspect, the present application provides a processing device based on video playback records, comprising:
[0048] A playback record time determination module is used to obtain playback record information corresponding to the interactive video after the interactive video starts playing;
[0049] A target reporting information determination module, configured to determine the video reporting type corresponding to the playback record information when the playback record information meets the preset playback record condition, and determine the target reporting information according to the video reporting type;
[0050] The interactive play record reporting data determination module is used to determine the interactive play record reporting data of the interactive video based on the target reporting information.
[0051] In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0052] Memory, used to store computer programs;
[0053] The processor is used to implement the steps of the processing method based on video playback records as described in any embodiment of the first aspect when executing the program stored in the memory.
[0054] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the processing method based on video playback records as described in any embodiment of the first aspect are implemented.
[0055] In summary, the embodiment of the present application obtains the playback record information corresponding to the interactive video after the interactive video starts playing, so as to determine the video reporting type corresponding to the playback record information when the playback record information meets the preset playback record conditions, and determine the target reporting information according to the video reporting type, and determine the interactive playback record reporting data of the interactive video based on the target reporting information, and upload the interactive playback record data to the target server, thereby meeting the user's needs for replaying and selecting from a certain interactive point in the interactive video, solving the problem that the existing method of displaying interactive videos through video playback records cannot meet user needs, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] Figure 1 A flowchart of a processing method based on video playback records provided in an embodiment of the present application;
[0059] Figure 2 This is a schematic flow chart of a processing method based on video playback records provided by an optional embodiment of the present application;
[0060] Figure 3 This is a schematic flow chart of a processing method based on video playback records provided by an optional embodiment of the present application;
[0061] Figure 4 It is a node drawing display schematic diagram provided in an embodiment of the present application;
[0062] Figure 5 A structural block diagram of a processing device based on video playback records provided in an embodiment of the present application;
[0063] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0065] To facilitate the understanding of the embodiments of the present application, further explanation will be given below in conjunction with the drawings and specific embodiments. The embodiments do not constitute a limitation on the embodiments of the present application.
[0066] Figure 1 The following is a flow chart of a processing method based on video playback records provided in an embodiment of the present application. Figure 1 As shown, the processing method based on video playback record provided in the embodiment of the present application may specifically include the following steps:
[0067] Step 110, after the interactive video starts playing, obtaining the playing record information corresponding to the interactive video.
[0068] Specifically, after the interactive video starts playing, the embodiment of the present application can obtain the playback record information corresponding to the interactive video, so as to determine whether it is necessary to determine the reporting type of the video segment corresponding to the interactive video based on the playback record information. Among them, the playback record information may refer to the video playback record, and specifically may include various information recorded during the video playback process, such as playback record time information, etc., and the present embodiment does not impose specific restrictions on this. It should be noted that the playback record time information may refer to the time information recorded during the playback of the interactive video, such as the playback record time information may be the current playback time recorded during the video playback process, so that the playback progress of the currently playing interactive video can be determined later through the playback record time information. The interactive video may include one or more video segments, and the video segments may include interactive video segments with interactive nodes and ordinary video segments without interactive nodes, and the embodiment of the present application does not impose restrictions on this.
[0069] In this embodiment, the user can play the interactive video through a video player, such as the user can play one or more video clips in the interactive video through an interactive video player. After the interactive video starts playing, it can be played based on the video clips contained in the interactive video, and during the interactive video playback, the video player can obtain the current playback time and other information of the interactive video in real time as the playback record information, and then determine whether it is necessary to determine the reporting type of the interactive video by judging whether the playback record information meets the preset playback record condition, so that the video reporting type corresponding to the interactive video can be determined when the playback record information meets the preset playback record condition, that is, execute step 120.
[0070] In a specific implementation, a complete interactive video may be composed of interactive video clips with interactive nodes, or may be composed of interactive video clips with interactive nodes and ordinary video clips without interactive nodes, and the present application embodiment does not limit this. In addition to including the playback progress of the current interactive video, the playback record information may also include the video clip type of the interactive video, so that the playback record information can be used to determine whether the currently played video clip is an interactive video clip with interactive nodes or an ordinary video clip without interactive nodes, so that when the playback record information meets the preset playback record conditions, the video reporting type corresponding to the playback record information can be determined according to the video clip type.
[0071] For example, a complete interactive video may include interactive video segment A, interactive video segment B, interactive video segment C, and interactive video segment D. Interactive video segment A and interactive video segment C may be interactive video segments with interactive nodes, and interactive video segment B and interactive video segment D may be ordinary video segments without interactive nodes. This example does not impose any restrictions on this. When a user plays interactive video segment A in an interactive video through a video player, the video player may record the playback time of the currently playing interactive video segment A as the playback record time. For example, when interactive video segment A is played to 10 minutes and 30 seconds, 10 minutes and 30 seconds may be recorded as the playback record time of the interactive video. This example does not impose any restrictions on this. Of course, when the interactive video is played to interactive video segment B, interactive video segment C, or interactive video segment D, the video player may also record the corresponding playback time as the playback record time. This example does not impose any restrictions on this.
[0072] Step 120: If the playback record information meets the preset playback record condition, determine the video reporting type corresponding to the playback record information, and determine the target reporting information according to the video reporting type.
[0073] 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 reporting information may include a video identifier of the interactive video, the playback time of the interactive video clip at the reporting time, and the reporting type, etc., which is not limited in this embodiment of the present application; wherein, the video identifier of the interactive video can be used to identify the interactive video, such as the video identifier includes a video identity document (ID), which may be the video name or number of the interactive video, which is not limited in this embodiment of the present application.
[0074] Specifically, after obtaining the playback record information corresponding to the interactive video, the embodiment of the present application can determine whether it is necessary to determine the target reporting information according to the video segment reporting type by judging whether the playback record information meets the preset playback record conditions, so that when the playback record information meets the preset playback record conditions, the type of the currently recorded video segment can be determined through the playback record information, so as to determine the video segment reporting type corresponding to the playback record information according to the video segment, and the target reporting information can be determined according to the video reporting type. For example, in the case where the video segment reporting type is the default reporting type of the video, the target reporting information can include the video identifier of the interactive video, the playback time of the interactive video segment reporting moment, and the reporting type; and in the case where the video reporting type is the interactive reporting type, the target reporting information can include the title, schematic diagram, and introduction information of the interactive point in addition to the video identifier of the interactive video, the playback time of the interactive video segment reporting moment, and the reporting type, and the embodiment of the present application does not limit this.
[0075] In a specific implementation, the embodiment of the present application can pre-set the playback record condition, so that when the playback record information obtained later meets the playback record condition, the target reporting information can be automatically determined according to the video segment reporting type corresponding to the currently playing video segment, so that the interactive playback record reporting data of the currently playing video can be generated according to the target reporting information. For example, the reporting record condition of the interactive video can be set by presetting the playback record time point, and the reporting record condition can be used as the preset playback record condition, so that when the playback record information corresponding to the interactive video meets the preset playback record condition, the video reporting type corresponding to the playback record information is determined, and then the target reporting information can be determined according to the video reporting type.
[0076] As an example, for an interactive video with an interactive node, as in the above example, when the interactive video includes an interactive video segment A or an interactive video segment C, an interactive reporting time point can be preset for the interactive video with an interactive node, and the interactive reporting time point can be the first N seconds of the user's interaction with the interactive video, such as N can be 5, and this example does not limit this. After obtaining the playback record information, the playback record time point of the current record can be determined based on the playback record information, and it can be determined whether the playback record time point is an interactive reporting time point, so that when the playback record time point is an interactive reporting time point, it is determined that the playback record information meets the preset playback record condition; when the playback record time point is not an interactive reporting time point, it is determined that the playback record information does not meet the preset playback record condition. For example, for interactive video segment A, its interaction start time can be 14 minutes. If the preset interactive reporting time point is the first 5 seconds of the interaction, the video player can determine that the playback record information meets the preset playback record condition when the playback record time of interactive video segment A is 13 minutes and 55 seconds. In addition, for ordinary video clips without interactive nodes and interactive video clips with interactive nodes, they can all be reported when the playback is completed. For example, in combination with the above example, when the playback time of interactive video clip B is 3 minutes, the video player can determine that the playback of interactive video clip B is completed when it determines that the playback record time of interactive video clip B is 3 minutes and 00 seconds, and can determine that the playback record information corresponding to the interactive video clip B meets the playback record conditions, so as to determine the video identifier of the interactive video, the playback time of the interactive video clip B at the reporting moment, and the reporting type as the target reporting information according to the video reporting type corresponding to the interactive video clip B.
[0077] It should be noted that the playback record time point in this embodiment may refer to the playback record time point recorded after the video starts playing, such as the playback record time point recorded during the video playback process. For example, when the playback time of the interactive video is 1 second, 1 second may be recorded as the playback record time point of the interactive video.
[0078] In actual processing, the embodiment of the present application can determine the type of the video clip currently played by the interactive video through the playback record information, that is, determine the video clip reporting type. For example, when the video clip played by the interactive video is an interactive video clip with an interactive node, and the playback record time point corresponding to the playback record information of the interactive video is an interactive reporting time point, the video reporting type can be determined to be an interactive reporting type; when the video clip played by the interactive video is an ordinary video clip without an interactive node, or when the playback time of the current interactive video has not reached the interactive reporting time point, but the video playback time needs to be reported (such as the playback of the interactive video has not reached the interactive reporting time point, but the video playback progress needs to be reported, or the user terminates the playback of the interactive video, etc.), the video reporting type is determined to be a video playback type. Then, the target reporting information can be determined based on the interactive video type. For example, for interactive video segment A, when the video reporting type is the default video reporting type, its target reporting information may include the interactive video id, the playback time of the interactive video reporting time, and the reporting type; and when the video segment reporting type is the interactive reporting type, its target reporting information processing may include the interactive video id, the playback time of the interactive video reporting time, and the reporting type, and may also include the title of the interactive point, the schematic diagram of the interactive video, and the brief introduction information of the interactive video, etc. This example does not impose any restrictions on this.
[0079] Step 130: Determine the interactive play record reporting data of the interactive video based on the target reporting information.
[0080] Specifically, the interactive record reporting data may include the playback record data of the interactive video, which is not limited in the embodiments of the present application. Specifically, after determining the target reporting information, the embodiment may generate the playback record data of the interactive video based on the target reporting information as the interactive playback record reporting data, and then the interactive playback record reporting data may be reported to the server, that is, the interactive playback record reporting data is uploaded to the target server, thereby saving the storage space of the local terminal.
[0081] Step 140: Upload the interactive play record reporting data to the target server.
[0082] In a specific implementation, after this embodiment determines the interactive playback record reporting data, the server associated with the local terminal or video player can be used as the target server, and then the information to be uploaded can be sent to the target server. The uploaded information can include the interactive playback record reporting data, so that the interactive playback record reporting data can be stored in the server, and the video playback records of the interactive video can be stored by the server, thereby saving local device storage space.
[0083] In actual processing, the video player can also store the interactive playback record reporting data in the local device, so that when the video playback record of the interactive video is needed in the future, the interactive playback record reporting data can be quickly obtained as the video playback record of the interactive video.
[0084] For example, when a video player uploads interactive playback record reporting data to a server, when a user needs to reselect an interactive node through an interactive playback record page, the video player can download the interactive playback record reporting data from the server as a video playback record of the interactive video; when a video player stores the interactive playback record reporting data to a local device, the interactive playback record reporting data can be directly obtained from the local device as a video playback record of the interactive video, so that the video player can draw a linear playback record based on the playback record data to obtain a node playback record page, and the user can select the interactive node corresponding to the interactive video to be played according to the node playback record page required. Then the video player determines the interactive video to be played according to the node that can be selected by the user, so that the user can freely select the interactive video to be played without restriction, and realizes the display of playback records in units of historical interactions, solving the problem that the existing method of displaying interactive videos through video playback records cannot meet the user's playback needs, that is, it can meet the user's needs for replaying interactive video playback and interactive selection from a certain historical interaction point, improve user experience, and achieve the effect of dynamically drawing linear playback records according to different user selection records, adapt to the requirements of large-scale production, and save labor costs.
[0085] It can be seen that the embodiment of the present application obtains the playback record information corresponding to the interactive video after the interactive video starts playing, and when the playback record information meets the preset playback record conditions, determines the video reporting type corresponding to the playback record information, so as to determine the target reporting information according to the video reporting type, so as to determine the interactive playback record reporting data of the interactive video based on the target reporting information, and upload the interactive playback record reporting data to the target server, so that the video playback record can be displayed based on the interactive playback record reporting data later, so that the user can freely choose the interactive video to be played without restriction, and realizes the display of playback records in units of historical interactions, thereby meeting the user's needs for replaying and selecting from a certain interactive point of the interactive video, solving the problem that the existing method of displaying interactive videos through video playback records cannot meet the user's playback needs, and improving the user experience.
[0086] Reference Figure 2 , shows a schematic flow chart of the steps of a processing method based on video playback records provided by an optional embodiment of the present application. The processing method based on video playback records may specifically include the following steps:
[0087] Step 210: After the interactive video starts playing, the playing record information corresponding to the interactive video is obtained.
[0088] Step 220: Determine the video playback duration of the interactive video based on the playback record time information.
[0089] The playback record information includes playback record time information recorded during the interactive video playback process, and the video playback duration includes the playback record time point of the interactive video.
[0090] In this embodiment, the playback record time information recorded during the interactive video playback process can be extracted from the interactive video playback record information, and the current interactive video playback time can be determined through the playback record time information to serve as the video playback time. This embodiment of the present application does not limit this. In order to determine whether the interactive video has been played by judging whether the video playback time reaches the video playback time threshold, it can be determined whether the interactive video has been played.
[0091] Step 230, when the video playback time reaches the playback time threshold of the interactive video, it is determined that the playback record information meets the preset playback record condition.
[0092] Specifically, the playback time threshold of the interactive video can be the maximum playback time of the interactive video, that is, the total playback time of the interactive video. For example, if the maximum playback time of the interactive video is 5 minutes, the playback time threshold of the interactive video can be 5 minutes. The embodiment of the present application does not limit this.
[0093] Specifically, the embodiment of the present application can determine that when the video playback time reaches the playback time threshold of the interactive video, when the interactive video segment of the current interactive video has been played, the playback time of the interactive video segment has reached the maximum playback time of the interactive video segment, that is, it is determined that the video playback time reaches the playback time threshold of the interactive video. Then, it can be determined that the playback record information meets the preset playback record condition.
[0094] For example, taking interactive video segment A with a total playback time of 15 minutes as an example, the playback time threshold of interactive video segment A is 15 minutes. During the playback of interactive video segment A, the player can record the playback time of interactive video segment A in real time to obtain playback record information, and then extract the video playback time from the playback record information. For example, if interactive video segment A is currently played to 14 minutes, the video playback time of interactive video segment A is 14 minutes. Since the total playback time of interactive video segment A is 15 minutes, it can be determined that the video playback time of interactive video segment A does not reach the playback time threshold. If the video playback time of interactive video segment A is 15 minutes, it can be determined that the video playback time of interactive video segment A reaches the playback time threshold.
[0095] Step 240, when the video playback duration does not reach the playback duration threshold, judging whether the playback record information meets the preset playback record condition according to the playback record time point.
[0096] Specifically, the embodiment of the present application can extract the playback record time point from the video playback time when the video playback time does not reach the playback time threshold, and then determine whether the playback record information meets the preset playback record conditions based on the playback record time point.
[0097] Specifically, in the embodiment, it can be determined whether the playback record information meets the preset playback record conditions. For example, for an interactive video clip with an interactive node, the first N seconds of the interaction in the interactive video clip can be used as the interaction reporting time point, and then it can be determined whether the playback record time point is the interaction reporting time point. If the playback record time point is determined to be the interaction reporting time point, it can be determined that the playback record information meets the preset playback record conditions; for ordinary video clips or interactive video clips, the player can obtain the playback time point of the video when it detects that the user exits the video playback, and add it to the playback record information as the interactive video playback end time, so that it can be determined that the playback record information contains the interactive video playback end time, and thus it can be determined that the playback record information meets the playback record conditions.
[0098] For example, taking interactive video segment A with a total playback time of 15 minutes as an example, combined with the above example, if the video playback time of interactive video segment A is 14 minutes, the playback record time point corresponding to the video playback time of the interactive video segment A is 14 minutes and 00 seconds, and this example does not impose any restrictions on this. When the interaction start time of the interactive video segment A currently played by the player is 14 minutes and 55 seconds, the preset interaction reporting time can be 5 seconds before the start of the interaction, that is, the interaction reporting time point of the interactive video segment A can be 14 minutes and 50 seconds. When the player detects that the playback record time point of the interactive video segment A is 14 minutes and 50 seconds, it can be determined that the playback record time point is the interaction reporting time point, and it can be determined that the playback record information meets the preset playback record conditions; for example, for interactive video segment A or ordinary video segment B, the playback time point of the interactive video segment A currently played by the player is 13 minutes and 00 seconds. If the user exits the playback of interactive video segment A, the playback time point of 13 minutes and 00 seconds can be used as the interactive video playback end time and added to the playback record information, so that it can be determined that the playback record information contains the interactive video playback end time, thereby determining that the playback record information meets the playback record conditions, and the same is true for ordinary video segment B.
[0099] Optionally, judging whether the playback record information meets a preset playback record condition based on the playback record time point may specifically include the following sub-steps:
[0100] Sub-step 2401, determining whether the playback record time point is a preset interaction reporting time point.
[0101] The interaction reporting time point is the time point corresponding to the first N seconds of the interactive selection of the interactive video.
[0102] In this embodiment, after determining the play record time point, the preset interactive reporting time point can be obtained. Then, it can be determined whether the play record time point is the interactive reporting time point, so that when the play record time point is the interactive reporting time point, it can be determined that the play record information meets the preset play record condition.
[0103] As an example, combined with the above example, for interactive video segments A and C with interactive nodes, interactive reporting time points can be preset for interactive video segments A and C, and the interactive reporting time point can be N seconds before the start of the interaction, where N can be selected according to actual usage requirements, such as N can be 5, and this example does not limit this. Specifically, in the case where the interactive video being played is an interactive video segment with interactive nodes, the video playback duration can be extracted from the playback record information of the interactive video segment, and the playback record time point can be determined based on the video playback duration, and then it can be determined whether the playback record time point is the interactive reporting time point corresponding to the interactive video segment.
[0104] Sub-step 2402: If the play record time point is the interaction reporting time point, it is determined that the play record information meets the preset play record condition.
[0105] The interaction reporting time point is the time point corresponding to the first N seconds of the interactive selection of the interactive video.
[0106] Specifically, the embodiment of the present application can determine that the playback record information meets the preset playback record condition when the playback record time point is the interaction reporting time point.
[0107] For example, the total duration of the currently played interactive video segment A is 5 minutes, and the time for starting interactive selection may be 5 minutes and 00 seconds, then the interactive reporting time point may be set to 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 playback record time point of the interactive video segment A is 4 minutes and 55 seconds, the playback record time point may be determined to be the preset interactive reporting time point corresponding to the interactive video segment A.
[0108] In a specific implementation, in addition to the preset interaction reporting time point, the embodiment of the present application can also preset a video reporting time point, which can be used to report the playback progress of the interactive video during the interactive video playback process. For example, for an interactive video with an interactive node or an interactive video without an interactive node, during its playback, when the time point corresponding to the playback duration is the preset video reporting time point, it can be determined that the playback record information meets the preset playback record condition; when the time point corresponding to the playback duration is not the preset video reporting time point, it is determined that the playback record information does not meet the preset playback record condition.
[0109] Sub-step 2403, if the playback record time point is not the interaction reporting time point, then when the playback record time information includes the interactive video playback end time, it is determined that the playback record information meets the preset playback record condition.
[0110] Specifically, if the playback record time point is not the interactive reporting time point, it can be determined whether the playback record information includes the interactive video playback end time, and when the playback record information includes the interactive video playback end time, it can be determined that the playback record information meets the preset playback record conditions; when the playback record information does not include the interactive video playback end time, it is determined that the playback record information does not meet the preset playback record conditions.
[0111] In a specific implementation, the video player can detect in real time during the interactive video playback whether the user closes the interactive player to end the interactive video playback. When it is detected that the user closes the interactive player, the playback record information may include the interactive video playback end time; when it is detected that the user does not close the interactive player, the playback record information may not include the interactive video playback end time. When the time point corresponding to the video playback duration is not the interactive reporting time point, and the playback record information includes the interactive video playback end time, it is determined that the playback record information meets the preset playback record conditions.
[0112] Step 250: If the playback record information meets the preset playback record condition, determine the video reporting type corresponding to the playback record information, and determine the target reporting information according to the video reporting type.
[0113] Optionally, the embodiment of the present application determines the video reporting type corresponding to the playback record information, and determines the target reporting information according to the video reporting type, which may specifically include the following sub-steps:
[0114] Sub-step 2501, when the playback record time point is the interaction reporting time point, determining the interaction reporting type corresponding to the interaction reporting time point as the video reporting type.
[0115] Specifically, in this embodiment, when the playback record time point of the interactive video is the interaction reporting time point, it can be determined that the current interactive video is an interactive video with an interactive node, and the playback record time point of the current interactive video reaches the interaction reporting time. At this time, the interaction reporting type corresponding to the interaction reporting time point can be determined as the video reporting type.
[0116] For example, for interactive video segment A, if the playback record time point of interactive video segment A is determined to be the interactive reporting time point, the interactive reporting type can be used as the video reporting type, so that when the player reports the video playback record, it can record the reporting type as the interactive reporting type in the video playback record, so that when performing a linear drawing of the node playback record page, the player can use the interactive reporting type in the video playback record to determine that the video segment corresponding to the node is an interactive video segment.
[0117] Sub-step 2502, for the interaction reporting type, determining the interaction video segment information and the interaction point information to be reported.
[0118] The interactive video segment information includes the video identifier, the playback record time point and the interactive reporting type of the interactive video, and the interactive point information includes the video parameter information of the interactive video.
[0119] Specifically, the interactive video clip information may include the video ID of the interactive video clip, the play time of the interactive video clip reporting time, and the reporting type of the interactive video clip (i.e., the interactive reporting type), etc., which are not limited in the embodiments of the present application; the interactive point information to be reported may include the video parameter information of the interactive video, such as the video parameter information may include the title, schematic diagram, and introduction information of the interactive point, etc., which are not limited in the embodiments of the present application. Specifically, when the video reporting type is the 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, i.e., sub-step 2503 is executed.
[0120] Sub-step 2503: generating the target reporting information based on the interactive video segment information and the interactive point information.
[0121] Specifically, the embodiments of the present application can generate target reporting information based on interactive video clip information and interactive point information, so that the interactive playback record reporting data of the interactive video can be determined based on the target reporting information, thereby realizing the display of playback records in units of historical interactions.
[0122] Sub-step 2504, when the playback record time point is not the interaction reporting time point, the default video reporting type is determined as the video reporting type.
[0123] The default reporting type of the video is the video reporting type reported by the interactive video during the video playback process.
[0124] In a specific implementation, for interactive video clips, if the playback record time point corresponding to the video playback record reported by the player is not N seconds before the start of the interaction, the default reporting type can be used as the video reporting type, which is used for the video playback record reported when the playback record time point is N seconds before the start of the interaction; for ordinary video clips, since ordinary video clips do not have interactive nodes, there is no need to determine whether the playback record time point of the ordinary video clip is N seconds before the start of the interaction. Therefore, for the video playback records of ordinary video clips, the default reporting type can be directly used as the video reporting type, which can be used to distinguish between ordinary video clips and interactive video clips, and for interactive video clips, when the user subsequently selects interactive video playback through the node playback page, it can be used to distinguish whether it is necessary to jump to N seconds before the start of the interaction of the interactive video clip selected by the user.
[0125] In actual processing, in this embodiment, when the playback record time point of the interactive video is the video reporting time point, the video default reporting type can be determined as the video reporting type, or, when the interactive video is played completely, the video default reporting type can be determined as the video reporting type, or, during the interactive video playback process, when the user closes the interactive player to end the interactive video playback, the video default reporting type can also be determined as the video reporting type. This embodiment does not limit this.
[0126] As an example, for ordinary video clips, the video reporting type corresponding to the video playback records reported during the playback process can be the video default reporting type; for interactive video clips, during the playback of the interactive video clips, if the interactive video clip is completed or the user exits the interactive video clip playback, the video playback record can be reported. At this time, the video reporting type corresponding to the video playback record can be the video default reporting type.
[0127] Sub-step 2505, for the default reporting type of the video, obtaining interactive video segment information, the interactive video segment information including the video identifier of the interactive video and the current playback time point of the interactive video.
[0128] Specifically, the current playback time point of the interactive video can be the playback time of the interactive video segment reporting moment, that is, the video segment reporting time 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 interactive video segment reporting playback time can be obtained as the interactive video segment information, and the target reporting information can be generated based on the interactive segment information.
[0129] In a specific implementation, this embodiment can generate target reporting information based on the default reporting type of the video, in combination with the video identifier of the interactive video and the reporting time of the video segment of the interactive video, and then can use the target reporting information to determine the interactive playback record reporting data of the interactive video, that is, use the target reporting information to generate the video playback record. Since the video playback record contains the video identifier and the reporting time of the video segment of the interactive video, when the linear drawing node playback record page is drawn, the video identifier contained in the video playback record can be used to find the corresponding interactive video and display it in the node playback record page. When the user selects the interactive video segment to be played through the node playback record page, the player can determine the interactive video to be played according to the node selected by the user, and can jump to the reporting time of the video segment of the interactive video to achieve the selection and continued playback of the interactive video.
[0130] Sub-step 2506, based on the default reporting type of the video, combined with the video identifier of the interactive video and the current playback time point of the interactive video, generates the target reporting information.
[0131] Specifically, the embodiments of the present application can generate target reporting information based on the default reporting type of the video, combined with the video identifier of the interactive video and the reported playback time of the interactive video clip, so that the interactive playback record reporting data of the interactive video can be determined based on the target reporting information, and then the interactive playback record reporting data can be used to perform linear drawing of the node playback record page, thereby realizing the display of playback records in units of historical interactions.
[0132] Step 260: Determine the interactive play record reporting data of the interactive video based on the target reporting information.
[0133] Step 270: Upload the interactive play record reporting data to the target server.
[0134] In actual processing, after determining the target reporting information, the target reporting information can be used to generate a video playback record as interactive playback record reporting data. The video player can report the video playback record to the target server (such as a background server) to store the video playback record through the target server. Specifically, after the target server receives the video playback record, it can store these video playback records. When the video player receives the user's video playback record display operation, it can send a data acquisition request to the target server to obtain all video playback records of the interactive video. After the target server receives the data acquisition request, it can send all video playback records of the interactive video to the video player. The video player can linearly draw a node playback record page based on all video playback records of the interactive video, and display it to the user, so as to realize the display of the linear playback record corresponding to the interactive video to the user, so that the user can select the interactive video to be played through the linear playback record for playback, which can meet the user's needs to replay the interactive video and interactive selection from a certain historical interactive point, improve the user experience, and achieve the effect of dynamically drawing the linear playback record according to the selection records of different users, adapt to the requirements of large-scale production, and save labor costs.
[0135] Furthermore, by storing the playback record data of the interactive video through the background server, local space can be saved and the operating efficiency of the device can be improved.
[0136] In summary, after the interactive video starts playing, the embodiment of the present application determines the video playback duration of the interactive video based on the playback record time information recorded during the playback of the interactive video contained in the playback record information by obtaining the playback record information corresponding to the interactive video. When the video playback duration reaches the playback duration threshold of the interactive video, it is determined that the playback record information meets the preset playback record condition. When the video playback duration does not reach the playback duration threshold, it is determined whether the playback record information meets the preset playback record condition based on the playback record time point contained in the video playback duration. When the playback record information meets the preset playback record condition, the video reporting type corresponding to the playback record information is determined, and the video reporting type is determined based on the video reporting type. The target reporting information is used to determine the interactive playback record reporting data of the interactive video based on the target reporting information, and the interactive playback record reporting data is uploaded to the target server, so that the node playback record page can be linearly drawn based on the interactive playback record reporting data later, and displayed to the user, so that the user can freely select the interactive video to be played through the node playback record page without restriction, thereby realizing the display of playback records in units of historical interactions, meeting the user's needs for replaying and selecting from a certain interactive point in the interactive video, thereby solving the problem in the prior art that users cannot replay the interactive video from a certain interactive plot through the video playback record for interactive selection, and improving the user experience.
[0137] Reference Figure 3 , shows a schematic flow chart of a processing method based on video playback records provided by an optional embodiment of the present application. The processing method based on video playback records may specifically include the following steps:
[0138] Step 310: After the interactive video starts playing, the playing record information corresponding to the interactive video is obtained.
[0139] Step 320: If the playback record information meets the preset playback record condition, determine the video reporting type corresponding to the playback record information, and determine the target reporting information according to the video reporting type.
[0140] Step 330: Determine the interactive play record reporting data of the interactive video based on the target reporting information.
[0141] In a specific implementation, the interactive play record reporting data may include video play records, so that an operation can be triggered based on the interactive play record, the video play record can be extracted from the interactive play record reporting data, and then the video play record can be used to linearly draw the node play record page.
[0142] As an example, a video player can store video playback records, such as a video player can store video playback records through a data list (DataList) as interactive playback record reporting data, and extract video playback records from the interactive playback record reporting data when needed, such as extracting video playback records from DataList. The video player can also upload the video playback records to the background server, and store the video playback records through the background server. After the background server obtains the video playback records, it can generate a DataList based on all the video playback records of the interactive video to obtain the interactive playback record reporting data. The background server can store all the video playback records of the interactive video through the DataList, and can also sort the video playback records in the DataList in the order of receipt. When the video player needs to use the video playback records, the sorted DataList can be sent to the video player, so that the video player can obtain the video playback records of the interactive video. This example does not limit this.
[0143] Step 340: Upload the interactive play record reporting data to the target server.
[0144] Step 350: Receive an interactive play record trigger operation corresponding to the interactive video.
[0145] Specifically, in the embodiments of the present application, an interactive playback record trigger operation corresponding to an interactive video can be received. For example, during the interactive video playback process, or on a historical playback page that records the interactive video playback record, when the user needs to replay the interactive video from a certain historical interaction point or select an interaction, the interactive playback record display function can be used to display the interactive playback record. For example, the user can generate an interactive playback record trigger operation by clicking an interactive playback record trigger button, and this example does not limit this. The video player can receive the user's interactive playback record trigger operation for the interactive video, and subsequently, based on the interactive playback record trigger operation, the video playback record of the interactive video in the interactive playback record reporting data can be used as playback record data.
[0146] Step 360: Based on the interactive play record triggering operation, video play record acquisition information is sent to the target server, where the video play record acquisition information is used to acquire the interactive play record reporting data.
[0147] Specifically, the play record data may include a video play record of an interactive video, which is not limited in the present embodiment of the application. The present embodiment may trigger an operation based on an interactive play record, and send video play record acquisition information to a target server. After receiving the video play record acquisition information, the target server may search for a play record corresponding to the corresponding video play record acquisition information from the stored data based on the video play record acquisition information, and obtain the interactive play record reporting data.
[0148] Step 370: Receive the interactive play record reporting data returned by the target server, and extract play record data from the interactive play record reporting data.
[0149] Specifically, this embodiment can receive interactive playback record reporting data returned by the target server, and can extract playback record data from the interactive playback record reporting data, so that the playback record data can be used to generate a linear playback record page corresponding to the interactive video, that is, execute step 370.
[0150] Step 380: Display the node playback record page corresponding to the interactive video based on the playback record data.
[0151] This embodiment can generate a linear playback record page corresponding to the interactive video based on the playback record data as a node playback record page. For example, the playback record data can be used to determine the video playback order of each interactive video segment and ordinary video segment in the interactive video. By linear drawing, the interactive video segments and ordinary video segments are used as nodes, and the node playback record page is linearly drawn according to the video playback order. Subsequently, the node playback record page corresponding to the interactive video can be displayed to the user. The embodiment of the present application does not limit the drawing method of the node playback record page.
[0152] In actual processing, the user may click the interactive playback record trigger button as soon as the interactive video starts to play, generating an interactive playback record trigger operation. At this time, the playback record data may contain empty data. For example, the DataList obtained by the player from the background server may be empty, or the DataList obtained by the player from the local storage may be empty, which means that the user has no video playback record. In order to improve the user experience, the start node and the node to be played can be preset for the interactive video. When the playback record information is empty, the start node and the node to be played can be linearly connected to obtain a linearly drawn node playback record page and displayed to the user.
[0153] In an optional embodiment, the embodiment of the present application displays a node playback record page corresponding to the interactive video based on the playback record data, which may specifically include: when the playback record data is empty data, node drawing is performed based on preset start node information and default start node information corresponding to the interactive video to obtain the node playback record page; when the playback record data is not empty data, node information to be played is determined based on historical node information recorded in the playback record data, and node drawing is performed based on the historical node information and the node information to be played to obtain the node playback record page; wherein, the node playback record page includes at least one playback node, the start node information is used to determine the first video segment played first in the interactive video, the default start node information is used to determine the second video segment played after the first video segment, the historical node information is used to determine the third video segment currently played of the interactive video, and the node information to be played is used to determine the fourth video segment played after the third video segment.
[0154] Specifically, the preset start node information may include the default playback video and the default playback time corresponding to the default playback video, such as the default playback video may be the first video clip played in the interactive video, and the first video clip may be the main video, which is not limited in the embodiment of the present application; the default playback time corresponding to the default playback video may be preset, such as the 0th second of the main video, which is not limited in the embodiment of the present application. The default start node information may include the next playback video clip, which may be the video clip played after the default playback video in the interactive video, such as when the default playback video is the main video, the next playback video clip may be the video clip played after the main video, which is not limited in the embodiment of the present application. The historical node information may include the video clip and the video clip playback time corresponding to the video playback record, which is not limited in the embodiment of the present application. The about-to-play node information may include the next playback video clip, which is not limited in the embodiment of the present application. Through the about-to-play node and the default start node, the user can be effectively reminded that there is a next video clip after the current video clip is played, so as to avoid the user thinking that there is no subsequent video after the current video clip is played, and directly exit the player, thereby improving the user experience.
[0155] For example, an interactive video includes video clip A, video clip B and video clip C, and the playback order is video clip A-video clip B-video clip C. If the playback record data is empty data, then when linearly drawing the node playback record page, video clip A can be used as the starting node information of the node playback record page, and video clip B played after video clip A can be used as the default starting node information for node drawing to obtain the node playback record page; if the playback record data is not empty data, such as the user has finished playing video clip A and is playing video clip B, then when linearly drawing the node playback record page, video clip A and video clip B can be used as historical node information, such as video clip A can be used as the starting node, video clip B can be used as the intermediate node, and video clip C can be used as the node to be played for linear drawing to obtain the node playback record page. The embodiment of the present application does not impose any restrictions on this.
[0156] In a specific implementation, if the playback record data is empty data, when drawing the node playback record page, an empty page can be preset, and a node with the title of "Start" can be drawn in the empty page as the start node, corresponding to the main video, and a node with the title of "To Be Played" can be drawn as the node to be played, corresponding to the video to be played. At this time, if the playback record data is empty data, the two titles can be connected with a line to obtain a node playback record page. If the playback record data is not empty data, the video clip played after the main video and before the video to be played can be used as the intermediate node, and the video name can be used as the title corresponding to the intermediate node. The titles are connected with lines in the playback order to obtain a node playback record page.
[0157] Furthermore, when the player draws the node playback record page, it can determine whether the video clip corresponding to the node is an interactive video clip or an ordinary video clip based on the video playback record corresponding to each node. For example, for a video clip whose video reporting type in the video playback record is an interactive reporting type, it can be directly determined that the video clip is an interactive video clip; for a video clip whose video reporting type in the video playback record is a video default reporting type, it can obtain the information of the video from the server based on the video identifier, etc., to determine whether the video clip is an interactive video clip or an ordinary video clip. For interactive video clips and ordinary video clips, they can be distinguished by different marks in the node playback record page to improve the user experience. This embodiment does not limit the marks.
[0158] For example, refer to Figure 3 If the obtained DataList is not empty, it means that the user already has a playback record. You can first draw a node with the title "Start" in the interface as the start node. Then you can extract the playback record data with the video reporting type of the interactive reporting type from the DataList in sequence, and draw the nodes in sequence. For example, you can draw linear nodes for the interactive videos corresponding to the playback record data in sequence. When drawing, you can use the interactive point introduction in the playback record data as the title, such as interactive a introduction, interactive c introduction, interactive q introduction, etc. Then you can draw linear nodes for the playback record data that is the last one in the DataList and whose video reporting type is the default video reporting type as the current playback record, indicating the current position. Then you can draw a node with the title "To Be Played" as the node to be played, and you can connect all the above nodes with lines to get a node playback record page.
[0159] Furthermore, the embodiment of the present application can display the node playback record page to the user after obtaining the node playback record page. The user can click on any node through the node playback record page, or the user can click on the node corresponding to the interactive video that needs to be replayed or interactively selected in the node playback record page when the interactive video or interactive selection needs to be replayed from a certain historical interactive point. The node selected by the user can be received, and the interactive video corresponding to the node selected by the user can be determined, and then the interactive video can be played.
[0160] In an optional embodiment, after the embodiment of the present application displays the node playback record page corresponding to the interactive video, it may further specifically include: receiving a node selection operation submitted by a user on the node playback record page; determining a target playback node based on the node selection operation; obtaining node playback record data corresponding to the target playback node based on a node type corresponding to the target playback node, wherein the node type includes a type before the interaction starts, a type during playback, and a type of node that is about to start; and playing the video based on the node playback record data.
[0161] Specifically, this embodiment determines the target playback node based on the user's node selection operation, and then determines the node type corresponding to the target playback node, such as whether the target playback node is a video interaction node type, a video start node type, or an about-to-start node type. Then, according to the node type, the node playback record data corresponding to the target playback node can be obtained, such as the playback record data corresponding to the target playback node can be extracted from the DataList as the node playback record data. The node playback record data can include the video ID of the interactive video clip and the playback time of the interactive video clip reporting moment, so that the target interactive video can be determined by the video ID of the interactive video clip, and the replay time can be determined by the playback time of the interactive video clip reporting moment, so as to achieve the replay of the interactive video and interactive selection according to the interactive point selected by the user, improve the user experience, and solve the problem in the prior art that when the user plays the interactive video through the video playback record, it is impossible to re-start the interactive selection from a certain interactive plot.
[0162] In an optional embodiment, the embodiment of the present application obtains the node playback record data corresponding to the target playback node based on the node type corresponding to the target playback node, which may specifically include: determining the video reporting type corresponding to the target playback node based on the playback record data; if the video reporting type corresponding to the target playback node is an interactive reporting type, determining that the node type is a video interactive node type; based on the video interactive node type, extracting the node playback record data from the playback record data, the video interactive node type includes a user interactive node type and a video playback node type; if the video reporting type is a video default reporting type, and the If the node information corresponding to the target playback node is the start node information or the historical node information, the node type is determined to be the video start node type; the node playback record page is closed for the video start node type, and the default playback information of the interactive video is determined as the node playback record data, and the default playback information includes the default playback video segment and the default playback time point of the interactive video; if the video reporting type is the video default reporting type, and the node information corresponding to the target playback node is the node information to be played, the node type is determined to be the node type to be opened, and the node playback record page is directly closed based on the node type to be opened.
[0163] In a specific implementation, this embodiment can determine the video reporting type corresponding to the target playback node based on the playback record data. For example, it can determine whether the target playback node selected by the user is an interactive reporting type or a video default reporting type based on the playback record data. The node type can then be determined based on the video reporting type in combination with the target playback node. Specifically, when the video reporting type corresponding to the target playback node is the video default reporting type, the node type can be determined to be a video start node type; when the video reporting type is the video default reporting type, and the node information corresponding to the target playback node is the start node information or the historical node information, the node type can be determined to be a video start node type; when the video reporting type is the video default reporting type, and the node information corresponding to the target playback node is the node information to be played soon, the node type can be determined to be a node type to be started soon.
[0164] For example, the player can determine the video clip selected by the user based on the node selection operation, and then obtain the corresponding playback record data of the video clip. If the video clip has corresponding playback record data, the video reporting type of the playback record data can be determined. When the video reporting type of the playback record data is an interactive reporting type, the node type can be determined to be a user interactive node type, and then the video clip can be determined to be an interactive video clip. According to the playback record data of the interactive video clip, jump to the first N seconds of the interactive video clip starting to interact, so that the user can freely select the interactive video clip to play; when the video reporting type of the playback record data is a video default reporting type, the node type can be determined to be a video playback node type, and then the playback record data of the video clip can be used to jump to the time when the user last played the video clip to continue playing the video. If there is no playback record data in the video clip selected by the user and it is a start node, the node type can be determined to be a video start node type. If the node selected by the user is a node that is about to be opened, the node playback record page can be directly closed to continue playing the currently playing video clip.
[0165] In summary, after the interactive video starts playing, the embodiment of the present application obtains the playback record information corresponding to the interactive video, so as to determine the video reporting type corresponding to the playback record information when the playback record information meets the preset playback record conditions, and determines the target reporting information according to the video reporting type, and determines the interactive playback record reporting data of the interactive video based on the target reporting information, and uploads the interactive playback record reporting data to the target server. When receiving the interactive playback record trigger operation corresponding to the interactive video, based on the interactive playback record trigger operation, the video playback record acquisition information is sent to the target server, so that the interactive playback record reporting data returned by the target server can be received, and the playback record data is extracted from the interactive playback record reporting data, and the node playback record page corresponding to the interactive video is displayed according to the playback record data, so as to realize the display of playback records in units of historical interactions, meet the user's needs for replaying and selecting from a certain interactive point of the interactive video, thereby solving the problem in the prior art that users cannot replay the interactive video from a certain interactive plot through the video playback record for interactive selection, and improve the user experience.
[0166] It should be noted that, for the purpose of simple description, the method embodiments are expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited to the described order of actions, because according to the embodiments of the present application, certain steps may be performed in other orders or simultaneously.
[0167] like Figure 5 As shown, the embodiment of the present application further provides a processing device 500 based on video playback records, including:
[0168] The play record information determination module 510 is used to obtain the play record information corresponding to the interactive video after the interactive video starts playing;
[0169] The target reporting information determination module 520 is used to determine the video reporting type corresponding to the playback record information when the playback record information meets the preset playback record condition, and determine the target reporting information according to the video reporting type;
[0170] An interactive play record reporting data determining module 530, configured to determine the interactive play record reporting data of the interactive video based on the target reporting information;
[0171] The upload module 540 is used to upload the interactive play record reporting data to the target server.
[0172] Optionally, the play record information includes play record time information recorded during the interactive video play process, and the processing device 500 based on the video play record further includes:
[0173] A video play duration determination module, used to determine the video play duration of the interactive video based on the play record time information, wherein the video play duration includes the play record time point of the interactive video;
[0174] A first judgment module is used to determine whether the playback record information meets a preset playback record condition when the playback time of the video reaches a playback time threshold of the interactive video;
[0175] The second judgment module is used to judge whether the playback record information meets the preset playback record condition according to the playback record time point when the video playback time does not reach the playback time threshold.
[0176] Optionally, the second judgment module includes:
[0177] A first judgment submodule is used to judge whether the playback record time point is a preset interaction reporting time point, and the interaction reporting time point is a time point corresponding to the first N seconds of the interactive selection of the interactive video;
[0178] A second judgment submodule, configured to determine that the playback record information meets a preset playback record condition when the playback record time point is the interaction reporting time point;
[0179] The third judgment submodule is used to determine whether the playback record information meets the preset playback record condition when the playback record time point is not the interaction reporting time point and when the playback record time information includes the interactive video playback end time.
[0180] Optionally, the target reporting information determination module 520 includes:
[0181] An interaction reporting type determination submodule, configured to determine the interaction reporting type corresponding to the interaction reporting time point as the video reporting type when the playback recording time point is the interaction reporting time point;
[0182] The interactive video segment information and interactive point information to be reported determination submodule is used to determine the interactive video segment information and the interactive point information to be reported according to the interactive reporting type, wherein the interactive video segment information includes the video identifier of the interactive video, the playback record time point and the interactive reporting type, and the interactive point information includes the video parameter information of the interactive video;
[0183] The first target reporting information generating submodule is used to generate the target reporting information based on the interaction reporting type, in combination with the interactive video segment information and the interactive point information.
[0184] Optionally, the target reporting information determination module includes:
[0185] A video default reporting type determination submodule, used to determine the video default reporting type as the video reporting type when the playback record time point is not the interactive reporting time point, and the video default reporting type is the video reporting type reported by the interactive video during the video playback process;
[0186] An interactive video segment information determination submodule, for obtaining interactive video segment information according to the default reporting type of the video, wherein the interactive video segment information includes a video identifier of the interactive video and a current playback time point of the interactive video;
[0187] The second target reporting information generating submodule is used to generate the target reporting information based on the default reporting type of the video, in combination with the video identifier of the interactive video and the current playback time point of the interactive video.
[0188] Optionally, the processing device 500 based on video playback records further includes:
[0189] An interactive play record trigger operation receiving module, used to receive an interactive play record trigger operation corresponding to the interactive video;
[0190] A video play record acquisition information sending module, used to send video play record acquisition information to the target server based on the interactive play record trigger operation, wherein the video play record acquisition information is used to obtain the interactive play record reporting data;
[0191] A play record data determination module, configured to receive the interactive play record reporting data returned by the target server, and extract play record data from the interactive play record reporting data;
[0192] The node playback record page display module is used to display the node playback record page corresponding to the interactive video based on the playback record data.
[0193] Optionally, the node playback record page display module includes:
[0194] A first node play record page determination submodule, configured to, when the play record data is empty data, perform node drawing based on preset start node information and default start node information corresponding to the interactive video to obtain the node play record page;
[0195] The second node playback record page determination submodule determines, when the playback record data is not the empty data, the node information to be played is determined based on the historical node information recorded in the playback record data, and the node is drawn based on the historical node information and the node information to be played to obtain the node playback record page; wherein, the node playback record page includes at least one playback node, the start node information is used to determine the first video segment played first in the interactive video, the default start node information is used to determine the second video segment played after the first video segment, the historical node information is used to determine the third video segment currently played of the interactive video, and the node information to be played is used to determine the fourth video segment played after the third video segment.
[0196] Optionally, the processing device 500 based on video playback records further includes:
[0197] A node selection operation receiving module, used to receive a node selection operation submitted by a user on the node playback record page;
[0198] A target playback node determination module, used to determine a target playback node based on the node selection operation;
[0199] A node play record data acquisition module is used to acquire the 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 includes the type before the interaction starts, the type during the play process, and the type of the node to be started;
[0200] The video playing module is used to play the video according to the node playing record data.
[0201] Optionally, the node playback record data acquisition module includes:
[0202] A video reporting type determination submodule, used to determine the video reporting type corresponding to the target playback node based on the playback record data;
[0203] A video interaction node type determination submodule, used to determine that the node type is a video interaction node type when the video reporting type corresponding to the target playback node is an interactive reporting type;
[0204] A node play record data determination submodule, used to extract the node play record data from the play record data based on the video interaction node type, wherein the video interaction node type includes a user interaction node type and a video play node type;
[0205] A video start node type determination submodule, used to determine that the node type is a video start node type when the video reporting type is a video default reporting type and the node information corresponding to the target playback node is start node information or historical node information;
[0206] The node playback record page closing submodule is used to close the node playback record page for the video start node type, and determine the default playback information of the interactive video as the node playback record data, and the default playback information includes the default playback video segment and the default playback time point of the interactive video; when the video reporting type is the video default reporting type, and the node information corresponding to the target playback node is the node information to be played, the node type is determined to be the node type to be opened, and the node playback record page is directly closed based on the node type to be opened.
[0207] It should be noted that the processing device based on video playback records provided in the embodiment of the present application can execute the processing method based on video playback 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 playback records.
[0208] In a specific implementation, the above-mentioned processing device based on video playback records can be integrated into a device, so that the device can determine the video reporting type corresponding to the playback record information after the interactive video starts playing, and determine the target reporting information according to the video reporting type, so as to determine the interactive playback record reporting data of the interactive video based on the target reporting information, and as an electronic device, realize the interactive video from a certain interactive plot through the video playback record playback. The electronic device can be composed of two or more physical entities, or it can be composed of one physical entity, such as the electronic device can be a personal computer (PC), a computer, a server, etc., and the embodiment of the present application does not make specific restrictions on this.
[0209] like Figure 6As shown, 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, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114; the memory 113 is used to store computer programs; the processor 111 is used to implement the steps of the processing method based on video playback records provided by any of the aforementioned method embodiments when executing the program stored in the memory 113. Exemplarily, the steps of the processing method based on video playback records may include the following steps: after the interactive video starts playing, obtaining the playback record information corresponding to the interactive video; if the playback record information meets the preset playback record condition, determining the video reporting type corresponding to the playback record information, and determining the target reporting information according to the video reporting type; based on the target reporting information, determining the interactive playback record reporting data of the interactive video; uploading the interactive playback record reporting data to the target server.
[0210] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the processing method based on video playback records provided in any of the aforementioned method embodiments are implemented.
[0211] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0212] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A processing method based on video playback records, characterized in that: include: After the interactive video starts playing, obtaining the playback record information corresponding to the interactive video; If the playback record information meets the preset playback record condition, determining the video reporting type corresponding to the playback record information, and determining the target reporting information according to the video reporting type; Determining interactive playback record reporting data of the interactive video based on the target reporting information; Uploading the interactive play record reporting data to the target server; Receive an interactive playback 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 to acquire the interactive play record reporting data; receiving the interactive play record reporting data returned by the target server, and extracting play record data from the interactive play record reporting data; Based on the playback record data, display the node playback record page corresponding to the interactive video; The step of displaying the node playback record page corresponding to the interactive video based on the playback record data includes: When the play record data is empty data, node drawing is performed based on the preset start node information and the default start node information corresponding to the interactive video to obtain the node play record page; When the playback record data is not the empty data, determining the node information to be played based on the historical node information recorded in the playback record data, and performing node drawing based on the historical node information and the node information to be played to obtain the node playback record page; Among them, the node playback record page includes at least one playback node, the start node information is used to determine the first video segment played first in the interactive video, the default start node information is used to determine the second video segment played after the first video segment, the historical node information is used to determine the third video segment currently played of the interactive video, and the upcoming playback node information is used to determine the fourth video segment played after the third video segment.
2. The method according to claim 1, characterized in that The play record information includes the play record time information recorded during the interactive video play process. After acquiring the play record information corresponding to the interactive video, the method further includes: Determine the video playback duration of the interactive video based on the playback record time information, where the video playback duration includes the playback record time point of the interactive video; When the video playback time reaches the playback time threshold of the interactive video, determining that the playback record information meets the preset playback record condition; When the video playback duration does not reach the playback duration threshold, it is determined whether the playback record information meets a preset playback record condition according to the playback record time point.
3. The method according to claim 2, characterized in that The step of judging whether the playback record information meets a preset playback record condition according to the playback record time point includes: Determine whether the playback record time point is a preset interaction reporting time point, where the interaction reporting time point is a time point corresponding to N seconds before the interactive selection of the interactive video; If the playback record time point is the interaction reporting time point, determining that the playback record information meets the preset playback record condition; If the playback record time point is not the interaction reporting time point, then when the playback record time information includes the interactive video playback end time, it is determined that the playback record information meets the preset playback record condition.
4. The method according to claim 3, characterized in that The determining the video reporting type corresponding to the playback record information, and determining the target reporting information according to the video reporting type, includes: When the playback record time point is the interaction reporting time point, determining the interaction reporting type corresponding to the interaction reporting time point as the video reporting type; Determine the interactive video segment information and the interactive point information to be reported for the interactive reporting type, wherein the interactive video segment information includes the video identifier, the playback record time point and the interactive reporting type of the interactive video, and the interactive point information includes the video parameter information of the interactive video; The target reporting information is generated based on the interactive video segment information and the interactive point information.
5. The method according to claim 3, characterized in that: The determining the video reporting type corresponding to the playback record information, and determining the target reporting information according to the video reporting type, includes: When the playback record time point is not the interaction reporting time point, the default video reporting type is determined to be the video reporting type, and the default video reporting type is the video reporting type reported by the interactive video during the video playback process; For the default reporting type of the video, obtain interactive video segment information, where the interactive video segment information includes a video identifier of the interactive video and a current playback time point of the interactive video; The target reporting information is generated based on the default reporting type of the video in combination with the video identifier of the interactive video and the current playback time point of the interactive video.
6. The method according to claim 1, characterized in that After displaying the node playback record page corresponding to the interactive video, it also includes: Receiving a node selection operation submitted by a user on the node playback record page; Determine a target playback node based on the node selection operation; According to the node type corresponding to the target playback node, the node playback record data corresponding to the target playback node is obtained, wherein the node type includes the type before the interaction starts, the type during the playback process, and the type of the node to be started; The video is played according to the node playback record data.
7. The method according to claim 6, characterized in that According to the node type corresponding to the target playback node, obtaining the node playback record data corresponding to the target playback node includes: Based on the playback record data, determining the video reporting type corresponding to the target playback node; If the video reporting type corresponding to the target playback node is an interactive reporting type, determining that the node type is a video interactive node type; Based on the video interaction node type, extracting the node play record data from the play record data, the video interaction node type includes a user interaction node type and a video play node type; If the video reporting type is a default video reporting type, and the node information corresponding to the target playback node is start node information or historical node information, determining that the node type is a video start node type; Closing the node play record page for the video start node type, and determining the default play information of the interactive video as the node play record data, wherein the default play information includes the default play video segment and default play time point of the interactive video; If the video reporting type is the default video reporting type, and the node information corresponding to the target playback node is the node information to be played, the node type is determined to be the node type to be opened, and the node playback record page is directly closed based on the node type to be opened.
8. A processing device based on video playback records, characterized in that: include: A playback record information determination module, used to obtain playback record information corresponding to the interactive video after the interactive video starts playing; A target reporting information determination module, configured to determine the video reporting type corresponding to the playback record information when the playback record information meets the preset playback record condition, and determine the target reporting information according to the video reporting type; An interactive play record reporting data determination module, used to determine the interactive play record reporting data of the interactive video based on the target reporting information; An uploading module, used for uploading the interactive play record reporting data to a target server; An interactive play record trigger operation receiving module, used to receive an interactive play record trigger operation corresponding to the interactive video; A video play record acquisition information sending module, used to send video play record acquisition information to the target server based on the interactive play record trigger operation, wherein the video play record acquisition information is used to obtain the interactive play record reporting data; A play record data determination module, configured to receive the interactive play record reporting data returned by the target server, and extract play record data from the interactive play record reporting data; The node playback record page display module is used to display the node playback record page corresponding to the interactive video according to the playback record data. The node playback record page display module includes: A first node play record page determination submodule, configured to, when the play record data is empty data, perform node drawing based on preset start node information and default start node information corresponding to the interactive video to obtain the node play record page; The second node playback record page determination submodule determines, when the playback record data is not the empty data, the node information to be played is determined based on the historical node information recorded in the playback record data, and the node is drawn based on the historical node information and the node information to be played to obtain the node playback record page; wherein, the node playback record page includes at least one playback node, the start node information is used to determine the first video segment played first in the interactive video, the default start node information is used to determine the second video segment played after the first video segment, the historical node information is used to determine the third video segment currently played of the interactive video, and the node information to be played is used to determine the fourth video segment played after the third video segment.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the processing method based on video playback records described in any one of claims 1-7 when executing the program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the processing method based on video playback records as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Information display method and device, storage medium and electronic device
CN111225292A
Interactive video playing recovery method and device, electronic equipment and storage medium
CN111726694A
Story line data processing method and device, electronic equipment and storage medium
CN115002552A