CN112825559B - Interactive video playing method and device and interactive video generating method - Google Patents
Interactive video playing method and device and interactive video generating method Download PDFInfo
- Publication number
- CN112825559B CN112825559B CN201911144542.5A CN201911144542A CN112825559B CN 112825559 B CN112825559 B CN 112825559B CN 201911144542 A CN201911144542 A CN 201911144542A CN 112825559 B CN112825559 B CN 112825559B
- Authority
- CN
- China
- Prior art keywords
- video
- attribute value
- interactive
- preset
- variable name
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 287
- 238000000034 method Methods 0.000 title claims abstract description 86
- 230000006399 behavior Effects 0.000 claims abstract description 118
- 230000009191 jumping Effects 0.000 claims description 42
- 230000003993 interaction Effects 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 13
- 238000012360 testing method Methods 0.000 description 13
- 230000001960 triggered effect Effects 0.000 description 11
- 210000001015 abdomen Anatomy 0.000 description 8
- 230000008859 change Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000002829 reductive effect Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007935 neutral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The interactive video playing method updates the attribute value of a preset variable name according to user behavior, and can switch from a currently played video clip to a set pointed skipping video clip when the attribute value meets a plot skipping condition. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, and the requirement of the plot of the complex interactive video can be met.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an interactive video playing method and device and an interactive video generating method.
Background
The interactive video is a new video type, and viewers can continuously interact in the film watching process, intervene in the environment of a drama and determine the trend of the whole drama.
In the traditional interactive video, the trend of the scenarios depends on the selection of the viewer when watching the interactive video, and the trends of the scenarios corresponding to different selections are different. Because the determining factor of the trend of the plot is single, the plot of the manufactured interactive video is simple, the information amount is small, and the interactive video cannot meet the requirement of the video content of a complex story line.
Disclosure of Invention
Therefore, the interactive video playing method and device and the interactive video generating method are provided, and the amount of interactive video information can be increased.
An interactive video playing method, the method comprising:
acquiring user behaviors aiming at an interactive video which is being played;
updating the attribute value of a preset variable name according to the user behavior;
when the attribute values of the preset variable names meet scenario skipping conditions, acquiring a first skipping video segment pointed by a currently played video segment;
controlling switching from a currently playing video clip to the first skipped video clip.
An interactive video generation method, the method comprising:
acquiring a video clip for generating an interactive video;
acquiring a variable name set configured for an interactive video;
acquiring related variable names selected from the variable name set for user behaviors in a behavior trigger configuration page and attribute value updating rules of the related variable names;
acquiring plot skipping conditions configured for the video segments on the configuration page of the video segments and skipping videos to which plot skipping is directed when the plot skipping conditions are met; (ii) a
And acquiring a video generation instruction, and generating an interactive video according to the video segments and configuration information, wherein the configuration information comprises the selected related variable names, attribute value updating rules of the related variable names, scenario jump conditions and jump videos pointed by scenario jump.
An interactive video playback device, comprising:
the behavior acquisition module is used for acquiring user behaviors aiming at the interactive video which is played;
the updating module is used for updating the attribute value of the preset variable name according to the user behavior;
the skip acquisition module is used for acquiring a first skip video segment pointed by a currently played video segment when the attribute value of each preset variable name meets a plot skip condition;
and the skip control module is used for controlling the switching from the currently played video clip to the first skip video clip.
A computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, causes the processor to perform the steps of the method as described in the embodiments above.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method as described in the various embodiments above.
According to the interactive video playing method, the attribute value of the preset variable name is updated according to the user behavior, and when the attribute value meets the plot skipping condition, the currently played video segment can be switched to the first skipping video segment pointed by the setting. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, the requirements of the plot of the complex interactive video can be met, and the interactive video with rich information content is obtained.
According to the interactive video generation method, the variable name and the initial attribute value thereof are configured, the variable name and the attribute value updating rule thereof related to the user behavior are configured, and the variable name and the attribute value threshold value thereof required by the scenario jump condition are configured, so that a viewer can update the attribute value of the preset variable name according to the user behavior when watching, and when the attribute value meets the scenario jump condition, the currently played video clip is switched to the jump video clip pointed by the setting. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, the requirements of the plot of the complex interactive video can be met, and the interactive video with rich information content is obtained.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario for implementing an interactive video playback method;
FIG. 2 is a flowchart illustrating an interactive video playing method according to an embodiment;
FIG. 3 is a diagram of an interactive video interaction interface, under an embodiment;
FIG. 4 is a diagram of a variable parameter setting interface in one embodiment;
FIG. 5 is a diagram of an interactive control settings interface in one embodiment;
FIG. 6 is a schematic diagram of a numerical conditional branch setup interface in one embodiment;
FIG. 7 is a diagram illustrating video segment switching for interactive video in one embodiment;
FIG. 8 is a diagram illustrating a video clip switching process for interactive video according to another embodiment;
FIG. 9 is a diagram illustrating video segment switching for interactive video in another embodiment;
FIG. 10 is a diagram illustrating a process for displaying a result of updating a value of an interactive video according to an embodiment;
FIGS. 11-12 are style diagrams of numeric control bars;
FIG. 13 is a diagram illustrating an interactive video generation method, according to an embodiment;
FIG. 14 is a schematic diagram of an interactive video test configuration interface in one embodiment;
FIG. 15 is a system architecture diagram of an interactive video implementation system in one embodiment;
FIG. 16 is a block diagram of an interactive video playback device in accordance with one embodiment;
FIG. 17 is a block diagram showing the structure of an interactive video generating apparatus according to an embodiment;
FIG. 18 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is an application environment diagram of an interactive video playing method according to an embodiment. As shown in FIG. 1, the application environment includes an authoring terminal 102, a viewing terminal 104, and a server 106. The authoring terminal 102 and the viewing terminal 104 are both connected to the server 106 via a network. The author creates an interactive video through the authoring terminal 102 and uploads it to the server 106. The viewing terminal 104 downloads the interactive video viewing from the server 106. The authoring terminal 102 and the viewing terminal 104 may be at least one of a plurality of types of terminal devices, such as a mobile phone, a tablet computer, a desktop computer, a notebook computer, and the like. The authoring terminal 102 and the viewing terminal 104 may be the same terminal device (i.e., one terminal device may be used as both the authoring terminal and the viewing terminal), or may be different terminal devices. When the terminal equipment logs in the interactive video production platform to create the interactive video, the terminal equipment can be used as an creation terminal. When the interactive video is watched through the terminal equipment, the terminal equipment can be used as a watching terminal. The server 106 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
As shown in fig. 2, an interactive video playing method, which can be executed by the viewing terminal 104, includes the following steps:
s202, user behaviors aiming at the interactive video which is playing are obtained.
The interactive video is a new expression form of the traditional film and television, can be a variety of art, TV plays, movies, cartoons and the like, and can also be a small video and a short video, and aims to enhance the substitution feeling of viewers through various interactive forms and interactive expression methods. The viewer can continuously interact in the film watching process, intervene in the environment of the drama and determine the trend of the whole drama. A common interaction form of the interactive video is shown in fig. 3, and in the playing process of the video, interaction options are displayed at an interaction point, which are option a and option B. When the viewer selects different options, the video content will move to different scenarios.
The user behavior refers to all behaviors of the same user ID (identifier) when the user watches the interactive video at the current moment from the moment when the user clicks and watches the interactive video to the moment when the user is playing, and includes not only an operation behavior on the interactive component, such as a behavior of selecting a certain interactive option, but also a behavior generated by non-operation, such as watching duration data. The user behavior is embodied by the behavior data recorded by the viewing terminal.
And S204, updating the attribute value of the preset variable name according to the user behavior.
The preset variable name is a name which is set by an interactive video creator according to video content and used for representing different states, characteristics or attributes, and can reflect scenes of the interactive video content. An interactive video may have a plurality of predefined variable names for distinguishing between different states, characteristics or attributes. For example, one interactive video content relates to a battle game, and the preset variable names set by the interactive video creator include a goodness value, a life value, an abdomen blackness value, a friendliness value, and a memorial value. When an interactive video creator creates an interactive video, a page is configured by using variables of the interactive video, as shown in fig. 4, a plurality of variable names are set according to the content of the interactive video, and an initial attribute value is set for each variable name.
The attribute value is a numerical value of each preset variable name, and represents the strength of each preset variable name. If the value of the life value is high, the life is strong. A high value of goodness indicates a high degree of goodness. And each preset variable name is provided with an initial attribute value, and the attribute value of each preset variable name changes according to the user behavior in the process of watching the interactive video by the user. For example, the initial life value is 100, and some user behaviors may cause the life value to increase and some user behaviors may cause the life value to decrease according to the user behaviors of the user watching the interactive video. The relationship among the user behavior, the preset variable name and the attribute value updating rule is set by the interactive video creator when the interactive video is created. When the user row is obtained, according to the preset variable name corresponding to the user row, obtaining an attribute value updating basis corresponding to the preset variable name, and updating the attribute value of the preset variable name according to an attribute value updating rule.
Taking the user behavior as the operation behavior for the interaction option as an example, when the interactive video creator sets the interaction component, for two interaction options of one interaction point, option a and option B, in addition to setting the traditional option skip scenario, the attribute value transformation of the preset variable name can also be set. As shown in fig. 5, for option a, a scenario jump is set to jump to the fifth video segment, and for option B, a scenario jump is set to jump to the seventh video segment. Meanwhile, for option A, five degrees of friendliness and six degrees of life are set. According to the setting, when the watching terminal plays the interactive video, if the watcher selects the option A, except for jumping to the fifth video segment, the rules are updated according to the attribute values, five is subtracted from the friendliness of the preset variable name, and six is added to the life value. For option B, the abdomen black value plus three is set and the hedonic value is multiplied by 9. According to the setting, when the watching terminal plays the interactive video, if the watching terminal selects the option B, the rule is updated according to the attribute value except for jumping to the seventh video segment, the black abdomen value of the preset variable name is added with three, and the good feeling value is multiplied by 9. It should be understood that the attribute value update rule is not limited to addition, subtraction, multiplication and division, and the author may set the calculation mode of the combination as needed, such as variable a = variable B +5.
It is understood that the user behaviors in this embodiment include not only the user behaviors for operating the interactive option control as shown in fig. 5, but also the operation behaviors for operating other interactive controls, such as a character selection control and a slide control, and further include other static user behaviors, such as the viewing duration of the user. It is understood that for each interactive control, a property value update rule can be set on the property value update settings page. For example, a character selection control can be configured to increase the friendliness value and decrease the life value data when the user selects the character.
S206, when the attribute value of each preset variable name meets the plot skipping condition, acquiring a first skipping video segment pointed by the currently played video segment.
Specifically, when an interactive video creator creates an interactive video, a condition judgment scenario jump is added to a story line in addition to the scenario jump realized by an original option branch. The specific condition is the preset variable name and the numerical value of the attribute value. For example, a jump condition may be set for the first video segment, and when the goodness is greater than 9999 and the leadership is greater than 100, a jump is made from the first video segment to the fifth video segment.
For a video clip, as shown in fig. 5, in addition to the logic for implementing scenario jumping by setting different interaction options, the animation video creator may also set jumping logic for implementing scenario jumping according to the attribute value of the preset variable name during creation. As shown in fig. 6, the author may set a plurality of jump conditions for jumping from the video segment to other video segments, and each jump condition may point to the same video segment or may point to a different video segment. For the branch setting that a plurality of jumping conditions point to the same video segment, the constraint of the plurality of jumping conditions can be set, if any jumping condition is met, plot jumping is realized, or plot jumping is realized only if all the conditions are met. Specifically, the required preset variable name is pulled from the global preset variable name configured for the interactive video, and a jump threshold is set for each preset variable name.
As shown in fig. 6, for one video segment, when condition 1 is set, the goodness is greater than 9999 and the leadership is greater than 100, a jump is made from the video segment to a fifth video segment. Meanwhile, the number of conditions can be increased according to needs, and the establishment constraints of a plurality of jump conditions are set.
When a viewer watches an interactive video, if the attribute value of the preset variable name reaches the jump threshold set by the creator, the first jump video clip pointed by the set currently played video clip is acquired according to the jump condition.
And S208, controlling to switch from the currently played video clip to the first jumping video clip.
Specifically, after the first skipped video segment is obtained, the video content of the first skipped video segment is loaded, and the viewing terminal 104 controls the video playing interface to switch from the played current video segment to the first skipped video segment. The first jumping video clip can be a hidden plot or a video clip in the branch trend of another plot story.
In this embodiment, in the interactive video creation process, attribute value recording capability is set for the relevant elements of the user behavior, and by setting an attribute value update rule, when the user triggers these elements, the attribute values of the relevant variable names are changed.
While a change in the attribute value of the related variable name will cause the scenario to jump. And when the attribute value of the related variable name meets the plot skipping condition, switching from the currently played video segment to the pointed first skipping video segment. The hidden plot may be triggered and the branch trend of the story may be adjusted by skipping and switching the video clips once. For example, a storyline has a plurality of branches, and when a storyline jumps to a branch, the attribute value of the corresponding variable name needs to satisfy certain conditions, such as the watching time exceeds 100 minutes. And when this condition is satisfied, the user can unlock the branch. Therefore, by utilizing the video interaction method, the branch trend of the story can be adjusted by realizing video skip switching.
According to the interactive video playing method, the attribute value of the preset variable name is updated according to the user behavior, and when the attribute value meets the plot skipping condition, the currently played video clip can be switched to the first skipping video clip pointed by the setting. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, the requirement of the plot of a complex interactive video can be met, and the interactive video with rich information content is obtained.
And triggering the plot jump when the attribute value of the preset variable name meets the plot jump condition. When the skip video segment is obtained, the video playing content is switched to the skip video segment from the video segment currently playing. In one embodiment, as shown in fig. 7, a video playing interface 701 is playing a first video segment, displays a picture of the first video segment, and when an attribute value of a preset variable name satisfies a scenario jump condition, for example, a life value is less than 10, or a watching duration satisfies 100 minutes, acquires a seventh video segment pointed by the first video segment corresponding to the scenario jump condition, and the video playing interface 701 switches to a picture content of the seventh video segment.
In another embodiment, to avoid video switching being too abrupt, there may be a transition in the video switching process. And triggering the plot jump when the attribute value of the preset variable name meets the plot jump condition. When the skip video clip is obtained, simultaneously displaying two video playing windows on a video measure interface, respectively playing a currently played video clip and the skip video clip, simultaneously moving the two video playing windows leftwards simultaneously, playing a window moving picture of the currently played video clip in the moving process, gradually increasing the playing window of the skip video clip, and occupying full-screen video playing content after preset time to switch from the currently played video clip to the skip video clip. The preset time is short, the confusion caused by the simultaneous playing of a plurality of videos is avoided, and meanwhile, the switched video sound is turned off in order to reduce the influence of the previous video.
Specifically, as shown in fig. 8, the current time displays a first video clip screen on the video playback interface 801 of the screen playback window 800. When the attribute value of the preset variable name meets a plot skipping condition, if the life value is less than 10, or the watching duration meets 100 minutes, acquiring a seventh video segment pointed by a first video segment corresponding to the plot skipping condition for the plot skipping, and simultaneously displaying two video playing widgets 801 and 802 on the video playing window 800, wherein the video playing widget 801 displays a first video segment picture, and the video playing widget 802 displays a seventh video segment picture. The time length for simultaneously displaying the two video playing widgets can be set to be 2 seconds, in the process, the video widget 801 playing the first video clip picture moves leftwards and gradually moves out of the video playing window, the video widget 802 playing the seventh video clip picture moves leftwards and gradually enlarges, and finally when the set time is up, the video widget 802 playing the seventh video clip picture completely occupies the playing window.
In another embodiment, to avoid the video switch being too abrupt, controlling the switch from the currently playing video segment to the skipped video segment includes: and displaying a preset switching prompt corresponding to the plot skipping condition on the currently played video segment, and loading and playing the skipping video segment after preset time.
The preset switching prompt is a preset switching prompt to attract the psychological attention of a viewer, make switching psychological preparation and reduce the abrupt feeling of switching from one video clip to another video clip. Specifically, as shown in fig. 9, before the switching, a text prompt may also be displayed on the currently played video picture 901, for example, if the life value is not enough, a text prompt content "life value is not enough, i.e., about to go offline" may be displayed to prompt the user about to switch the video. The text prompt display time length can be set to 1 second, and after the time is up, the seventh video clip playing picture is switched to.
In another embodiment, obtaining user behavior for an interactive video being played includes: when the interactive video which is being played is played to the target node, the interactive control is displayed on the video playing interface, and the triggering operation behavior of the interactive control is received.
Specifically, the interactive video is characterized in that a viewer interacts with the video and influences the trend of the plot based on the interaction result. In order to insert interaction with a viewer in a video, an action video creator is provided with interaction controls for the viewer to operate at some nodes, such as key behaviors or selection behaviors of a major role influencing a plot during creation. The target node is typically the end point of a certain video segment.
When the interactive video being played is played to the target node, as shown in fig. 2, the interactive control is displayed on the video playing interface, and the triggering operation of the viewer on the interactive control is received. The interactive control in this embodiment is not limited to the interactive option control shown in fig. 2, but also includes other controls of the interactive video, such as a character selection control, a sliding control, and the like. If only when the creator creates the interactive video, the associated variable name and attribute value change rule are set for the control, and when the trigger operation of the interactive control is detected, the attribute value of the variable name is updated.
And for the situation that the plot jumps caused by the attribute value change, the plot is the result of multiple interactive operations, and the feedback is the feedback of the result of the multiple interactive operations. For example, after multiple interactive operations, as shown in the setting rule of fig. 6, if the accumulated goodness is greater than 9999 and the lead car is greater than 100 as a result of the multiple interactive operations, the current video clip is skipped to the fifth video clip.
In the interactive video playing method of the embodiment, the value change rule is set for the interactive control, and after the triggering operation of the interactive control is received, the attribute values of the corresponding variable names are updated, so that plot switching can be realized based on the accumulation of multiple interactive operations.
In another embodiment, the interactive control includes an interactive option control, and the interactive video playing method further includes: determining the interaction option selected by the trigger operation behavior of the interaction option control; acquiring a second jumping video clip pointed by the interaction option; and controlling to switch from the currently played video clip to the second jumping video clip for playing.
The step is that the plot story jump is realized according to the interactive option. The scenario jump is realized by adding condition judgment based on the attribute value besides the original option branch. The first jumping video segment refers to a video segment pointed to when the attribute value meets the jumping condition, and the second jumping video segment refers to a video segment jumped according to the interactive option, and is a result of two jumping modes. In actual setting, the creator can set according to the need of the scenario. For example, for an interactive option control of a video clip, a jump target video with the same jump condition as one of the jump conditions is set, and a different jump target video can also be set. E.g. when the attribute value satisfies the jump condition, jumping to the hidden video segment. For one interactive option, a video clip pointing to another branch of the storyline.
Specifically, as shown in fig. 5, an attribute value of a variable name corresponding to the option is preset, and when a viewer watches an interactive video according to a setting rule, different options are operated and selected to generate different scenario changes, and the scenario of a story goes to different branches. If the viewer selects option A, then the friendliness decreases and the life value increases. In an actual application scene, the interaction control is operated once, if the interaction control is an interaction option control for determining the trend of the scenario branch, the scenario jumps to a corresponding video clip after the interaction control is triggered and operated at the next time. If the viewer selects option a, a jump is made to the fifth video segment, as indicated by the setup rules of fig. 5. Meanwhile, the operation of the interactive control is a one-time user behavior, and according to the attribute value used by the user for updating the preset variable name, the corresponding numerical value is reduced particularly in friendliness, and the corresponding numerical value is increased in life value.
In another embodiment, the interactive video playing method further includes: and displaying the updating result of the attribute value of the preset variable name.
Specifically, the attribute value update result of the preset variable name is displayed, and after the attribute value of the preset variable name is updated according to the user behavior, that is, after the attribute value of the corresponding variable name is changed, the attribute value of each preset variable name may be detected to satisfy the scenario jump condition. The two cases produce different display effects.
Specifically, if the attribute value update result of the preset variable name is displayed after the attribute value of the preset variable name is updated according to the user behavior, the attribute value update result is displayed at the fixed position of the interactive video playing window every time the attribute value is updated. That is, after each user behavior triggering the attribute value update occurs, the corresponding preset variable name and the updated attribute value are displayed at the fixed position of the interactive video playing window. The user behavior for triggering attribute value update may be a triggering operation behavior to the interactive control. As shown in fig. 10, when the interactive video is played to the target node, an interactive option control is popped up for the viewer to select, and after the viewer selects option B, the calculation comment value is increased according to the preset variable name and attribute value update rule corresponding to the interactive option, and then the attribute value update result is displayed on the upper left corner 1001 of the video playing interface, and the effect is as shown in fig. 10. The display style of the attribute value update result can be preset by a creator when the creator creates an interactive video.
In another embodiment, the scenario jump condition may be further exhibited when it is detected that the attribute value of the preset variable name satisfies the scenario jump condition. Since the scenario jump realized according to the attribute value is the accumulation of the viewer on the user behavior of the interactive video, the attribute value update result is displayed only when the accumulated user behavior meets the scenario jump condition. By the arrangement, at the key node where the plot jumps, the viewer can know the accumulated condition of the attribute values of the names of the preset variables of the interactive video at the current moment through the attribute value updating result.
Specifically, for the presentation of attribute value prompts, in order to meet the requirements of different theme type works of the creator, customized attribute value presentation prompt styles are added for editing, the creator can select a default prompt style on an editor and can also set the content and expression style of the prompt style in a customized manner.
Specifically, displaying the attribute value update result of the preset variable name includes: acquiring a display style of a preset variable name; and displaying the attribute value updating result in a preset display style.
A preset display style is a character expression, namely, an attribute value updating result is expressed in a character form. The display style of the attribute value update shown in fig. 10 is to display the attribute value update result in text.
Specifically, the displaying the attribute value updating result in the preset display style includes: and acquiring preset character expression contents corresponding to the preset variable names, adjusting the preset character expression contents according to the attribute value updating result, acquiring character display contents related to the attribute value updating result, and displaying the character display contents.
Taking a preset variable name as a comment value as an example, when the comment value is increased according to the user's execution when the user watches the interactive video, or after detecting that the attribute value of the comment value meets the plot skipping condition, displaying the result of updating the comment value, and the preset characters express the content, such as ' bad ', the comment is increased and decreased ', and the comment is increased or decreased '. According to the attribute value updating result, the character expression content is adjusted based on the fact that the attribute value is increased or decreased, and then the character display content can be determined to be ' bad ', the recital is increased ', or ' the recital is increased '.
In another embodiment, the preset display style is a value bar control, and the displaying of the attribute value update result by the preset display style includes: and displaying an attribute value updating result of the preset variable name in a preset numerical value strip control form, wherein the attribute value updating result comprises the preset variable name and an updated attribute value.
Specifically, when an interactive video is created, according to the existing variable setting of the work, the creator can select the displayed numerical value strip control, set the playing method of the work, and customize the display modes of different numerical value control strips arranged in the chapter story line. Specifically, the author may customize the UI style, the segment value setting, the name, and other details of the value bar, which specifically includes but is not limited to:
such as the one-way type numerical bar shown in fig. 11. The one-way numerical bar is suitable for displaying variable quantity value changes without correlation, such as the goodness, the task progress, the blood volume and the like, and the creator sets the initial values, the maximum values, the UI style, the animation effect and other detail settings of each numerical bar.
Such as the 2-segment numerical bar shown in fig. 12. The 2-segment numerical bar is suitable for two opposite variables, and more suitable for more complicated figures or task works, such as common benevolence values, blackening degrees and the like, through the left and right dynamic change of the two opposite variables on the same numerical bar.
3 segmenting the numerical bar. The 3-segment numerical value is equivalent to adding a balance area (namely a neutral position) on the original 2-segment, and the numerical value in the neutral range is likely to lead the final role ending to a plurality of bad endings. The common diseases are postero-uterine survival and the like.
In another embodiment, the interactive video playing method further comprises: and when the attribute value of the preset variable name meets the interactive control display condition, triggering and displaying the corresponding interactive control.
Specifically, the interactive control is triggered and displayed only when the attribute value meets a certain condition by setting a condition for triggering and displaying the interactive control. For example, a treasure box interactive control is set with a trigger condition that the cumulative viewing time reaches 100 minutes, that is, when the cumulative viewing time reaches 100 minutes, the corresponding interactive control is triggered and displayed. The traditional display condition setting to interactive controlling part is comparatively single, generally according to video clip's time setting, through showing the setting trigger condition to interactive controlling part in this application, increases and judges the display condition who increases interactive controlling part according to the attribute, can enrich interactive video's content, increases the convenience that interactive controlling part set up, improves interactive video's interest.
In another embodiment, the interactive video playing method further includes: and according to the triggering operation behavior, acquiring a preset variable name, a current attribute value and an attribute value updating rule corresponding to the interactive control, and updating the attribute value of the preset variable name according to the current attribute value and the attribute value updating rule.
Specifically, when creating an interactive video, the author may set up a related preset variable name and an attribute value update rule for an interactive control related to a user behavior. The method comprises the steps that a viewer watches an interactive video and operates an interactive control, when the interactive control is detected to be triggered, the corresponding preset variable name ID and attribute value updating rule are searched according to the interactive control ID, the current attribute value of the current preset variable name is obtained, the value specified by the corresponding updating rule is increased or decreased by taking the current attribute value as a basic value, and an attribute value updating result is obtained.
Specifically, as shown in fig. 5, for two options of the interactive option control, in addition to setting scenario jumps of different options, preset variable names and attribute value update rules related to each option are also set. If the names of the preset variables related to the option A are the friendliness and the life value, and if the attribute value updating rule is the trigger option A, the friendliness is reduced by 5, and the life value is plus 6. If the names of the preset variables related to the option B are the abdomen black value and the goodness value, when the attribute value updating rule is that the option B is triggered, the abdomen black value is +3, and the goodness value is multiplied by 9. After the setting is completed, the corresponding relation of the interactive option control, the preset variable name and the attribute value updating rule is established. According to the setting, when the watching terminal plays the interactive video, if the watcher selects the option A, except for jumping to the fifth video segment, the rules are updated according to the attribute values, five is subtracted from the friendliness of the preset variable name, and six is added to the life value. If the viewer selects the option B, the rule is updated according to the attribute value, three is added to the preset variable name abdomen black value, and the good feeling value is multiplied by 9, except for jumping to the seventh video segment.
As shown in fig. 13, an interactive video generating method, which can be executed by an authoring terminal 102, includes the following steps:
s1302, a video clip for generating an interactive video is obtained.
Specifically, the author logs in the interactive video authoring platform through the authoring terminal 102 and uploads a plurality of video clips for generating the interactive video.
S1304, a variable name set of the interactive video configuration is obtained.
Specifically, as shown in fig. 4, after the creator creates the terminal 102 to upload the video clip, a variable name set is configured for the interactive video. The variable name set refers to the available variable names in the interactive video. In an interactive video, more than 20 variables can be created at the most. On the variable name setting page, the author can freely create the required variable, set the variable name and the initial attribute value, and all the configured variable names form the variable name set of the interactive control. And a deleting control is also arranged on each set variable name on the variable configuration page, so that the author can conveniently and directly delete the unneeded variable names.
S1306, acquiring related variable names selected from the variable name set for the user behavior in the behavior trigger configuration page and attribute value updating rules of the related variable names.
Specifically, for the user behavior of the viewer in the interactive video, a configuration variable name is selected from a variable name set for the user behavior in a behavior trigger configuration page, and an attribute value update rule is set for each selected variable name. The attribute value updating rule is a calculation formula for updating the attribute values of the related variable names when the set user behavior is triggered when the user viewer watches the interactive video.
The user behavior refers to all behaviors of the same user ID (identifier) when the user watches the interactive video at the current moment from the moment when the user clicks and watches the interactive video to the moment when the user is playing, and includes not only an operation behavior on the interactive component, such as a behavior of selecting an interactive option, but also a behavior generated by non-operation, such as watching duration data. The user behavior is embodied by the behavior data recorded by the viewing terminal.
Taking a trigger configuration page of an operation behavior of an interactive component as an example, as shown in fig. 5, a viewer selects different options, selects a variable name corresponding to the option from a variable name set, and an attribute value update rule of the variable name, and generates a corresponding change in an attribute value when the user behavior is triggered according to a set attribute value update rule. For option a, a jump to the second video segment is set, and for option B, a jump to the fifth video segment is set. Meanwhile, for option A, an attribute value updating rule is set to reduce friendliness by five and increase a life value by six. According to the setting, when watching, if the viewer selects the option A, the friendliness degree of the preset variable name is reduced by five and the life value is increased by six except for jumping to the second video clip. For option B, the attribute value update rule is set, the abdomen black value is increased by three, and the hedonic value is multiplied by 9. According to the setting, when the viewer selects the option B, the abdomen black value of the preset variable name is added with three except for jumping to the fifth video segment, and the good feeling value is multiplied by 9.
S1308, obtaining a scenario jump condition configured for the video segment on the configuration page of the video segment and a jump video to which the scenario jump is directed when the scenario jump condition is reached.
Specifically, for a video clip, through the configuration page, a scenario jump condition and a jump video to which scenario jump is directed can be configured for the video clip. The scenario jump condition includes a variable name for determining whether the scenario jump condition is reached and an attribute value threshold of the variable name. Wherein the variable name of the scenario jump condition is also selected from the set of variable names.
And the scenario jump is that when the user reaches the set scenario jump condition, the user jumps from the video being played to the pointed target video, the target video and the set jump video. The scenario jump condition comprises a variable name and an attribute value threshold value thereof. And when the attribute value of the variable name specified by the plot skipping condition meets the attribute value threshold value when the interactive video is watched, performing plot skipping. As shown in fig. 6, on the configuration page of the video segments, the plot jump condition is set to be greater than 9999 and the leadership is greater than 100, and when this condition is satisfied, the target video segment pointed to for jumping is the fifth video segment, and jumps from the currently viewed video to the fifth video segment.
S1310, obtaining a video generation instruction, and generating an interactive video according to the video segments and configuration information, wherein the configuration information comprises selected related variable names, attribute value updating rules of the related variable names, scenario jump conditions and jump videos pointed by scenario jumps.
After finishing all the configurations, the creator clicks the generation instruction through the creation terminal 102 to generate the interactive video according to the video clip and the configuration information.
According to the interactive video generation method, the variable name and the initial attribute value thereof are configured, the variable name and the attribute value updating rule thereof related to the user behavior are configured, and the variable name and the attribute value threshold value thereof required by the scenario jump condition are configured, so that a viewer can update the attribute value of the preset variable name according to the user behavior when watching, and when the attribute value meets the scenario jump condition, the currently played video clip is switched to the jump video clip pointed by the setting. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, and the requirement of complex interactive video plots can be met.
In another embodiment, obtaining the related variable names selected from the variable name set for the user behavior by the behavior trigger configuration page, and the attribute value update rule of the related variable names includes: acquiring a selected interactive control to be configured; acquiring a variable name and attribute value updating rule corresponding to an interactive control selected from a variable name set of a behavior trigger configuration page of the interactive control; and establishing a corresponding relation among the interactive control, the variable name and the attribute value updating rule.
Specifically, the interactive video is characterized in that a viewer interacts with the video and influences the trend of the plot based on the interaction result. In order to insert interaction with a viewer in a video, an author of the video is provided with interaction controls for the viewer to operate at some nodes, such as key behaviors or selection behaviors of a main role influencing a plot during creation. The target node is typically the end point of a certain video segment.
Specifically, the author selects an interactive control to be configured, enters a behavior trigger configuration page of the interactive control, sets a variable name and an attribute value updating rule corresponding to the interactive control, and establishes a corresponding relation among the interactive control, the variable name and the attribute value updating rule according to the configuration. As shown in fig. 5, the attribute value of the variable name corresponding to the option is preset, and when the viewer watches the interactive video according to the setting rule, different options are selected by operation to generate different plot changes, and the plot of the story goes to different branches. If the viewer selects option A, then the friendliness decreases and the life value increases.
The interactive controls in this embodiment are not limited to the interactive option controls shown in fig. 2, but also include other controls for interactive video, such as character selection controls, sliding controls, and the like. If only when the creator creates the interactive video, the associated variable name and attribute value change rule are set for the control, and when the trigger operation of the interactive control is detected, the attribute value of the variable name is updated.
In another embodiment, acquiring a scenario jump condition configured for a video segment on a configuration page of the video segment and a jump video to which scenario jump is directed when the scenario jump condition is reached includes: acquiring a selected video clip to be configured; acquiring plot skipping conditions configured for the video segments on a configuration page of the video segments and skipping videos to which the plot skipping is directed; the plot skipping condition comprises a variable name and an attribute value threshold value thereof; and establishing a corresponding relation among the video clips, the variable names, the attribute value thresholds and the jumping videos.
Specifically, after the creator selects a video segment to be configured, as shown in fig. 6, the creator enters a configuration page of the video segment, sets scenario jump conditions including a variable name and an attribute value threshold, and a target jump video to which a jump is directed, and establishes a corresponding relationship between the video segment, the variable name, the attribute value threshold, and the jump video according to the configuration. As shown in fig. 6, the author may set a plurality of jump conditions for jumping from the video segment to other video segments, and each jump condition may point to the same video segment or may point to a different video segment. For the branch setting that a plurality of jumping conditions point to the same video segment, the constraint of the plurality of jumping conditions can be set, if any jumping condition is met, plot jumping is realized, or plot jumping is realized only if all the conditions are met. Specifically, a required preset variable name is pulled from global preset variable names configured for the interactive video, and a jump threshold is set for each preset variable name.
In another embodiment, the interactive video generation method further includes: and acquiring a display style of the configured attribute value updating result, and updating the attribute value according to the attribute value updating rule to obtain an attribute value updating result.
Specifically, the presentation style refers to a presentation manner of the attribute value update result. Specifically, the attribute value update result may be set after updating the attribute values of the preset variable names according to the user behavior, that is, after the attribute values of the corresponding variable names are changed, and also after it is detected that the attribute values of the preset variable names satisfy the scenario jump condition.
In another embodiment, the scenario jump condition may be further exhibited when it is detected that the attribute value of the preset variable name satisfies the scenario jump condition.
Specifically, for the presentation of attribute value prompts, in order to meet the requirements of creators for different theme type works, custom attribute value presentation prompt styles are added for editing, creators can select default prompt styles on an editor, and the content and expression styles of the prompt styles can also be set in a custom manner. The display style of the attribute value update shown in fig. 10 is to display the attribute value update result in text.
In another embodiment, the presentation style of the configuration attribute value update result is a numerical bar control.
Specifically, when the interactive video is created, according to the existing variable setting of the works, the creator can select the displayed numerical control bar, set the playing method of the works and customize the display modes of different numerical control bars arranged in the chapter story line. In numerical control, an author can customize details such as UI styles, segment numerical settings, names, and the like of numerical bars, which specifically includes but is not limited to: a one-way type value bar as shown in fig. 11, a 2-segment value bar and a 3-segment value bar as shown in fig. 12.
In another embodiment, the interactive video generation method further includes: receiving test parameters, wherein the test parameters comprise a test variable name, a test attribute value and a current attribute value; and executing the test according to the test parameters to obtain a test result.
Specifically, as shown in fig. 14, the test window allows the author to check the test verification of the existing value in the product preview in real time through the value test window, and to conveniently test whether the value branch in the product is correctly triggered and skipped by setting the customized test experience value.
In one embodiment, a system architecture of the interactive video playing method is shown in fig. 15.
Specifically, the viewing terminal is installed with an application program (APP) or a browser, etc., and can play videos, and viewers watch interactive videos through the viewing terminal. When an interactive video is watched, the watching terminal finishes reporting to the server after any user behavior is triggered when receiving user behaviors, such as interactive selection, sliding of the interactive video, stay time of the interactive video, visual angle switching and the like, and the server performs unified processing on collected reported data, stores the data of the reported behaviors, event behavior id and values in a database of the server for use as basic data calculated by an attribute value updating rule formula, performs re-statistics according to attribute value updating set by a creator and generates attribute values after updating. And the server synchronizes the corresponding scenario branch information to the watching terminal according to the decision information returned by the updated attribute value so as to decide the jump trend of the numerical branch condition.
According to the interactive video playing method, a user-defined variable logic is added in an interactive work, a creator can add variable capacity to various types of interactive components (options, interactive bubbles and user-defined interactive controls), the creator can process the change of attribute values and timely experience patterns of a user side when various types of interactive components are triggered in details, and interactive video game is enabled. Meanwhile, a new branch jumping capability is defined, namely the branch plot jumping capability of the story line is judged through a conditional expression of an attribute value, and more diversified playing methods and displays are given to the interactive video story line.
An interactive video playback device, as shown in fig. 16, may be disposed in a viewing terminal, which may be the viewing terminal 104 shown in fig. 1, and includes:
a behavior obtaining module 1601 is configured to obtain a user behavior for the interactive video being played.
An updating module 1602, configured to update the attribute value of the preset variable name according to the user behavior.
A skip acquiring module 1603, configured to acquire a first skip video segment pointed by a currently played video segment when an attribute value of each preset variable name satisfies a scenario skip condition;
a skip control module 1604 for controlling switching from the currently played video segment to the first skip video segment.
In another embodiment, the behavior acquisition module is configured to display an interactive control on a video playing interface when an interactive video being played is played to a target node, and receive a trigger operation behavior for the interactive control.
In another embodiment, the updating module is configured to obtain a preset variable name, a current attribute value, and an attribute value updating rule corresponding to the interactive control according to the triggering operation, and update an attribute value of the preset variable name according to the current attribute value and the attribute value updating rule.
In another embodiment, the interactive controls include interactive option controls. The jump control module is used for determining the interaction option selected by the triggering operation of the interaction option control; acquiring a second jumping video clip pointed by the interaction option; and controlling to switch from the currently played video clip to the second jumping video clip for playing.
In another embodiment, the interactive video playing device further includes a display module, configured to display the attribute value update result of the preset variable name in the form of a preset numerical bar control.
In another embodiment, the display module is configured to obtain a preset display style of a preset variable name, and display the attribute value update result in the preset display style.
In another embodiment, the preset presentation style is a value bar control; and the display module is used for displaying the attribute value updating result of the preset variable name in the form of a preset numerical value strip control, and the attribute value updating result comprises the preset variable name and the updated attribute value.
In another embodiment, the preset presentation style is a text expression; displaying the attribute value updating result in a preset display style, comprising: acquiring preset character expression content corresponding to a preset variable name; adjusting the preset character expression content according to the attribute value updating result to obtain character display content related to the attribute value updating result; and displaying the text display content.
In another embodiment, the interactive video playing device further includes an interactive control module, configured to trigger display of a corresponding interactive control when the attribute value of the preset variable name satisfies the interactive control display condition.
In another embodiment, the skip control module is configured to display a preset switch prompt corresponding to a scenario skip condition on a currently played video segment, and load and play the first skipped video segment after a preset time.
The interactive video playing device updates the attribute value of the preset variable name according to the user behavior, and can switch the currently played video clip to the jump video clip pointed by the setting when the attribute value meets the plot jump condition. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, the requirements of the plot of the complex interactive video can be met, and the interactive video with rich information content is obtained.
An interactive video generating apparatus, as shown in fig. 17, may be provided in an authoring terminal, which may be an authoring terminal 102 as shown in fig. 1, comprising:
the video clip obtaining module 1701 is configured to obtain a video clip used for generating an interactive video.
A variable configuration module 1702, configured to obtain a set of variable names configured for the interactive video.
A behavior configuration module 1703, configured to obtain a related variable name selected from the variable name set for the user behavior in the behavior trigger configuration page, and an attribute value update rule of the related variable name.
A skip configuration module 1704, configured to obtain scenario skip conditions configured for the video segments on the configuration page of the video segments and a skip video to which the scenario skip is directed when the scenario skip conditions are met.
The video generating module 1705 is configured to obtain a video generating instruction, and generate an interactive video according to the video segment and configuration information, where the configuration information includes a selected related variable name, an attribute value update rule of the related variable name, a scenario skip condition, and a skip video pointed when the scenario skips.
In another embodiment, the system further includes a display configuration module, configured to obtain a display style of the configured attribute value update result, and update the attribute value according to the attribute value update rule to obtain the attribute value update result.
The interactive video generation device configures the variable name and the attribute value threshold required by the scenario jump condition by configuring the variable name and the initial attribute value thereof, the variable name related to the user behavior and the attribute value update rule thereof, so that a viewer can update the attribute value of the preset variable name according to the user behavior when watching, and switch from the currently played video clip to the jump video clip pointed by the setting when the attribute value meets the scenario jump condition. The plot jump control is judged according to the attribute values, the attribute values are updated according to the user behaviors, and the attribute values of the preset variable names are influenced by the user behaviors of the interactive video through the viewer, so that the decision factors of the plot trend of the interactive video can be set to be the attribute values of different preset variable names, the decision factors of the plot trend are diversified, the requirements of the plot of the complex interactive video can be met, and the interactive video with rich information content is obtained.
FIG. 18 is a block diagram of a computer device in one embodiment. Referring to fig. 18, the computer device may be the authoring terminal 102 or the viewing terminal 104 of fig. 1. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device may store an operating system and a computer program. The computer program, when executed, causes the processor to perform an interactive video playback method or an interactive video generation method. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole computer device. The internal memory may store a computer program, which when executed by the processor, causes the processor to perform an interactive video playing method or an interactive video generating method. The network interface of the computer device is used for network communication.
Those skilled in the art will appreciate that the architecture shown in fig. 18 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the interactive video playing apparatus or the interactive video generating apparatus provided in the present application may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 18, and a nonvolatile storage medium of the computer device may store various program modules constituting the shooting processing apparatus or the data transmitting apparatus. Such as the behavior acquisition module, the update module, and the jump acquisition module shown in fig. 16. The computer program composed of the program modules is used for causing the computer device to execute the steps in the interactive video playing method or the interactive video generating method of the embodiments of the present application described in the present specification.
For example, the computer device may obtain the user behavior for the interactive video being played through a behavior obtaining module in the interactive video playing apparatus shown in fig. 16. The computer device can update the attribute value of the preset variable name according to the user behavior through the updating module. The computer equipment can acquire a first skipping video segment pointed by the currently played video segment through the skipping acquisition module when the attribute value of each preset variable name meets the plot skipping condition. The computer device can control the switching from the currently played video clip to the first jumping video clip through the jumping control module.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the interactive video playing method or the interactive video generating method described above. Here, the steps of the interactive video playing method or the interactive video generating method may be steps in the interactive video playing method or the interactive video generating method of each of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the interactive video playing method or the interactive video generating method. Here, the steps of the interactive video playing method or the interactive video generating method may be steps of the interactive video playing method or the interactive video generating method of each of the embodiments.
It should be noted that "first" and "second" in the embodiments of the present application are used only for distinction, and are not used for limitation in terms of size, order, dependency, and the like.
It should be understood that, although the steps in the embodiments of the present application are not necessarily performed in the order indicated by the step numbers. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (20)
1. An interactive video playing method, the method comprising:
acquiring user behaviors aiming at an interactive video which is being played;
updating the attribute value of a preset variable name according to the user behavior;
when the attribute value of each preset variable name meets a plot skipping condition, acquiring a first skipping video clip pointed by a currently played video clip;
displaying a preset switching prompt corresponding to the plot skipping condition on a currently played video clip to perform switching prompt;
displaying a window for playing the first jumping video segment, and playing the first jumping video segment;
and closing the sound output of the currently played video clip, controlling the playing window of the currently played video clip to move leftwards and gradually move out of the video playing interface, and simultaneously controlling the window playing the first skip video clip to move leftwards and the window to gradually become larger until the window completely occupies the video playing interface.
2. The method of claim 1, wherein obtaining user behavior for the interactive video being played comprises:
when the interactive video which is being played is played to a target node, displaying an interactive control on a video playing interface;
and receiving the triggering operation behavior of the interactive control.
3. The method of claim 2, further comprising:
acquiring a preset variable name, a current attribute value and an attribute value updating rule corresponding to the interactive control according to the trigger operation behavior;
and updating the attribute value of the preset variable name according to the current attribute value and the attribute value updating rule.
4. The method of claim 2, wherein the interactive control comprises an interactive options control, the method further comprising:
determining an interaction option selected by a triggering operation behavior of the interaction option control;
acquiring a second jumping video clip pointed by the interaction option;
controlling switching from a currently playing video clip to the second skipped video clip.
5. The method of claim 1, further comprising: and displaying the attribute value updating result of the preset variable name.
6. The method according to claim 5, wherein presenting the result of updating the attribute value of the default variable name comprises:
acquiring a preset display style of the preset variable name;
and displaying the attribute value updating result in the preset display style.
7. The method according to claim 6, wherein the preset presentation style is a numerical bar control;
the displaying the attribute value updating result in the preset display style comprises:
and displaying an attribute value updating result of the preset variable name in a preset numerical value strip control mode, wherein the attribute value updating result comprises the preset variable name and an updated attribute value.
8. The method of claim 6, wherein the predetermined presentation style is a textual expression;
the displaying the attribute value updating result in the preset display style comprises:
acquiring preset character expression content corresponding to the preset variable name;
adjusting the preset character expression content according to the attribute value updating result to obtain character display content related to the attribute value updating result;
and displaying the text display content.
9. The method of claim 1, further comprising: and when the attribute value of the preset variable name meets the interactive control display condition, triggering and displaying the corresponding interactive control.
10. An interactive video playback device, comprising:
the behavior acquisition module is used for acquiring user behaviors aiming at the interactive video which is played;
the updating module is used for updating the attribute value of the preset variable name according to the user behavior;
the skip acquisition module is used for acquiring a first skip video segment pointed by a currently played video segment when the attribute value of each preset variable name meets a plot skip condition;
the skipping control module is used for displaying a preset switching prompt corresponding to the plot skipping condition on the currently played video clip so as to prompt switching; displaying a window for playing the first jumped video clip; and closing the sound output of the currently played video clip, controlling the playing window of the currently played video clip to move leftwards and gradually move out of the video playing interface, and simultaneously controlling the window playing the first skip video clip to move leftwards and the window to gradually become larger until the window completely occupies the video playing interface.
11. The apparatus according to claim 10, wherein the behavior obtaining module is configured to display an interactive control on a video playing interface when the interactive video being played is played to the target node; and receiving a triggering operation behavior of the interactive control.
12. The apparatus according to claim 11, wherein the update module is configured to obtain, according to the trigger operation behavior, a preset variable name, a current attribute value, and an attribute value update rule corresponding to the interactive control; and updating the attribute value of the preset variable name according to the current attribute value and the attribute value updating rule.
13. The apparatus of claim 11, wherein the interactive control comprises an interactive options control; the skip control module is used for determining the interaction option selected by the trigger operation behavior of the interaction option control; acquiring a second jumping video clip pointed by the interaction option; controlling switching from a currently playing video segment to the second skipped video segment.
14. The apparatus according to claim 10, further comprising a presentation module configured to present an attribute value update result of the preset variable name.
15. The apparatus according to claim 14, wherein the presentation module is configured to obtain a preset presentation style of the preset variable name; and displaying the attribute value updating result in the preset display style.
16. The apparatus of claim 15, wherein the preset presentation style is a numerical bar control; the display module is used for displaying the attribute value updating result of the preset variable name in a preset numerical value strip control mode, and the attribute value updating result comprises the preset variable name and an updated attribute value.
17. The apparatus according to claim 15, wherein the predetermined presentation style is a textual expression; the display module is used for acquiring preset character expression contents corresponding to the preset variable names; adjusting the preset character expression content according to the attribute value updating result to obtain character display content related to the attribute value updating result; and displaying the text display content.
18. The apparatus of claim 10, further comprising an interactive control module configured to trigger display of a corresponding interactive control when the attribute value of the default variable name satisfies the interactive control display condition.
19. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 9.
20. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911144542.5A CN112825559B (en) | 2019-11-20 | 2019-11-20 | Interactive video playing method and device and interactive video generating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911144542.5A CN112825559B (en) | 2019-11-20 | 2019-11-20 | Interactive video playing method and device and interactive video generating method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112825559A CN112825559A (en) | 2021-05-21 |
CN112825559B true CN112825559B (en) | 2022-11-08 |
Family
ID=75906344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911144542.5A Active CN112825559B (en) | 2019-11-20 | 2019-11-20 | Interactive video playing method and device and interactive video generating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112825559B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113343027B (en) * | 2021-06-03 | 2024-08-20 | 北京有竹居网络技术有限公司 | Interactive video editing and interactive video displaying method and device |
CN113923525A (en) * | 2021-10-08 | 2022-01-11 | 智令互动(深圳)科技有限公司 | Interactive video editor and track implementation method based on non-linear editing mode |
CN113784213A (en) * | 2021-10-08 | 2021-12-10 | 智令互动(深圳)科技有限公司 | Interactive control implementation method of interactive video editor based on non-linear editing mode |
CN114422843B (en) * | 2022-03-10 | 2024-03-26 | 北京达佳互联信息技术有限公司 | video color egg playing method and device, electronic equipment and medium |
CN118512770B (en) * | 2024-05-06 | 2024-12-20 | 广州三七极耀网络科技有限公司 | Game plot generation method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016187829A1 (en) * | 2015-05-27 | 2016-12-01 | 裴峤 | Interactive mobile advertisement delivery system based on user personalization and return mechanism |
CN106803993A (en) * | 2017-03-01 | 2017-06-06 | 腾讯科技(深圳)有限公司 | It is a kind of to realize the method and device that video branching selection is played |
WO2017113712A1 (en) * | 2015-12-29 | 2017-07-06 | 乐视控股(北京)有限公司 | Method and device for video switching |
EP3211883A1 (en) * | 2005-03-02 | 2017-08-30 | Rovi Guides, Inc. | Playlists and bookmarks in an interactive media guidance application system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9432629B2 (en) * | 2008-08-18 | 2016-08-30 | Brigham Young University | Interactive viewing of sports video |
AU2011202182B1 (en) * | 2011-05-11 | 2011-10-13 | Frequency Ip Holdings, Llc | Creation and presentation of selective digital content feeds |
-
2019
- 2019-11-20 CN CN201911144542.5A patent/CN112825559B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3211883A1 (en) * | 2005-03-02 | 2017-08-30 | Rovi Guides, Inc. | Playlists and bookmarks in an interactive media guidance application system |
WO2016187829A1 (en) * | 2015-05-27 | 2016-12-01 | 裴峤 | Interactive mobile advertisement delivery system based on user personalization and return mechanism |
WO2017113712A1 (en) * | 2015-12-29 | 2017-07-06 | 乐视控股(北京)有限公司 | Method and device for video switching |
CN106803993A (en) * | 2017-03-01 | 2017-06-06 | 腾讯科技(深圳)有限公司 | It is a kind of to realize the method and device that video branching selection is played |
Non-Patent Citations (1)
Title |
---|
"过关的关键点,隐形守护者怎么看任务好感度";姚峰;《豌豆荚》;20190613;第2-8段、图2-7 * |
Also Published As
Publication number | Publication date |
---|---|
CN112825559A (en) | 2021-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112825559B (en) | Interactive video playing method and device and interactive video generating method | |
US11882345B2 (en) | Customized generation of highlights show with narrative component | |
CN110062271B (en) | Scene switching method, device, terminal and storage medium | |
US8443285B2 (en) | Visual presentation composition | |
US8577210B2 (en) | Image editing apparatus, image editing method and program | |
US9374411B1 (en) | Content recommendations using deep data | |
CN108650555B (en) | Video interface display method, interactive information generation method, player and server | |
US11438510B2 (en) | System and method for editing video contents automatically technical field | |
US20110258545A1 (en) | Service for Sharing User Created Comments that Overlay and are Synchronized with Video | |
US11140462B2 (en) | Method, apparatus, and device for generating an essence video and storage medium | |
CN112860148B (en) | Medal icon editing method, device, equipment and computer readable storage medium | |
CN112957730B (en) | Plot interaction method and device and electronic equipment | |
CN112153307A (en) | Method and device for adding lyrics in short video, electronic equipment and storage medium | |
CN116457067A (en) | Rendering and editing recent content in a window during execution of a content application | |
US9148640B2 (en) | Image editing apparatus and thumbnail generating method | |
CN117138346A (en) | Game editing method, game control device and electronic equipment | |
CN111857857B (en) | Interface display method, device and equipment | |
US20170155943A1 (en) | Method and electronic device for customizing and playing personalized programme | |
HK40043891B (en) | Interactive video playing method and device, and interactive video generating method | |
HK40043891A (en) | Interactive video playing method and device, and interactive video generating method | |
WO2025020777A9 (en) | Game action generation method and apparatus, storage medium, and electronic device | |
CN112995770A (en) | Video playing method and device, storage medium and computer equipment | |
CN115237314B (en) | Information recommendation method and device and electronic equipment | |
CN118695015A (en) | Method, device, electronic device and storage medium for processing recommended information | |
CN115562767A (en) | Page display method, device and equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40043891 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |