Interaction method and device for video

By displaying role interaction prompts during video playback and allowing users to select target roles to perform interactive tasks, the problem of insufficient personalized interaction experience in the existing technology is solved, and a video interactive experience with a high sense of participation and substitution is achieved.

CN119653190AInactive Publication Date: 2025-03-18BEIJING YOUKU TECH CO LTD

Patent Information

Application Number
CN202411813361.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing video interaction methods cannot meet users' personalized interactive experience needs, resulting in low user participation and substitution and poor interaction effect.

Method used

By displaying character interaction prompts during video playback, users are allowed to select target roles and perform target interaction tasks related to the video. Task roles talk to users in a way that matches the character character and task plot background in the video.

Benefits of technology

It provides a personalized and immersive video interactive experience, enhances users' sense of participation and substitution, and enhances the entertainment and diversity of video interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653190A_ABST
    Figure CN119653190A_ABST
Patent Text Reader

Abstract

The invention relates to an interaction method and device for videos. The method comprises: in response to a trigger operation for a target interaction task of a target role in a video, displaying a task dialogue interface corresponding to the target interaction task, the task dialogue interface having an input box for inputting a user message; in response to a user message input through the input box, displaying the user message in the task dialogue interface, and displaying a role message which is sent by a task role of the target interaction task and aims at the user message, the task role being a role different from the target role in the video, and the target interaction task being a role different from the target role; the role message accords with role setting of the task role in the video and a task plot background corresponding to the target interaction task. And personalized and immersive video interaction experience is provided for the user, so that the participation sense and substitution sense of the user are enhanced, and the entertainment and diversity of video interaction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of video interaction, and in particular to a method and device for video interaction. Background Art

[0002] In the related art, users can watch their favorite videos with the help of different video playback platforms, and users can interact with the videos by commenting on them, posting comments, etc. However, these interactive methods cannot meet the personalized interactive experience requirements of users, and the users' sense of participation and involvement is low, and the interactive effect is poor, making how to improve the interaction between users and the videos they watch a technical problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the present disclosure proposes a video interaction method and device.

[0004] According to one aspect of the present disclosure, a method for interacting with a video is provided, the method comprising:

[0005] In response to a triggering operation of a target interactive task for a target character in a video, a task dialogue interface corresponding to the target interactive task is displayed, wherein the task dialogue interface has an input box for inputting a user message;

[0006] In response to a user message input through the input box, the user message is displayed in the task dialogue interface, as well as a role message sent by the task role of the target interactive task in response to the user message, wherein the task role is a role in the video that is different from the target role, and the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

[0007] In a possible implementation, the task dialogue interface further includes at least one of the following: an existing user message, an existing role message corresponding to the existing user message, an interactive task prompt, the impact of the user message on the completion progress of the target interactive task, the task completion progress, the role information of the target role, and the role information of the task role.

[0008] The interactive task prompt is used to remind the user of the task completion suggestion of conducting a dialogue between the target character and the task character in the context of the task plot corresponding to the target interactive task.

[0009] In a possible implementation, the method further includes:

[0010] When it is determined that the interaction with the target interactive task meets the reward condition, displaying the corresponding interactive reward;

[0011] In response to a triggering operation for the interactive reward, executing a corresponding associated task;

[0012] Among them, the reward conditions include at least one of the following: the completion progress of the target interactive task reaches a preset proportion, the content of the user message corresponds to the reward keyword, the target interactive task has ended and is the last interactive task, the target interactive task has ended and the remaining interactive tasks in the target character task where the target interactive task is located have all ended.

[0013] In a possible implementation, the method further includes:

[0014] When it is determined that the execution of the target interactive task meets the termination condition, displaying a next task prompt that matches the task completion progress of the target interactive task, wherein the next task prompt is used to remind the user of the next interactive task that needs to be completed after the target interactive task;

[0015] In response to the triggering operation for the next task prompt, the next interactive task is taken as a new target interactive task and a task dialogue interface corresponding to the new target interactive task is displayed.

[0016] In a possible implementation, the method further includes:

[0017] During the playing of the video, a role interaction prompt is displayed, wherein the role interaction prompt is used to remind the user to participate in the role task;

[0018] In response to a triggering operation for the role interaction prompt, a role selection prompt for multiple playable roles in the video is displayed, wherein the role selection prompt is used to remind the user to select a target role to be played from the multiple playable roles.

[0019] In a possible implementation, the method further includes:

[0020] In response to the role selection operation, displaying a task selection prompt corresponding to the target role selected from the multiple playable roles, the task selection prompt is used to remind the user to select a target role task from at least one role task of the target role and to select a target interactive task from at least one interactive task of the target role task, each of the interactive tasks having a corresponding task role;

[0021] In response to the task selection operation, the selected target role task and target interaction task are highlighted.

[0022] In a possible implementation, the method further includes:

[0023] In the process of displaying the task dialogue interface, displaying the task selection prompt in response to a trigger operation on the target interactive task and / or displaying the role selection prompt in response to a trigger operation on a target role;

[0024] In response to a task reselection operation and / or a role reselection operation, the currently displayed task dialogue interface is replaced with a task dialogue interface corresponding to the selected new target interactive task.

[0025] In a possible implementation, the method further includes:

[0026] In response to a free dialogue operation for the target character, displaying a free dialogue interface corresponding to the target character, the free dialogue interface having an interface background corresponding to the target character and an input box for inputting a message;

[0027] In response to detecting a free input message input through the input box, displaying the free input message in the free dialogue interface, and displaying a target character message sent by the target character in response to the free input message;

[0028] The target character message is consistent with the character setting of the target character in the video.

[0029] According to another aspect of the present disclosure, there is provided an interactive device for a video, the device comprising:

[0030] A task dialogue interface display module, for responding to a trigger operation of a target interactive task for a target character in a video, and displaying a task dialogue interface corresponding to the target interactive task, wherein the task dialogue interface has an input box for inputting a user message;

[0031] The first message display module is used to respond to the user message input through the input box, display the user message in the task dialogue interface, and display the role message sent by the task role of the target interactive task in response to the user message, wherein the task role is a role in the video that is different from the target role, and the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

[0032] In a possible implementation, the task dialogue interface further includes at least one of the following: an existing user message, an existing role message corresponding to the existing user message, an interactive task prompt, the impact of the user message on the completion progress of the target interactive task, the task completion progress, the role information of the target role, and the role information of the task role.

[0033] The interactive task prompt is used to remind the user of the task completion suggestion of conducting a dialogue between the target character and the task character in the context of the task plot corresponding to the target interactive task.

[0034] In a possible implementation manner, the device further includes:

[0035] A reward display module, used to display the corresponding interaction reward when it is determined that the interaction with the target interaction task meets the reward condition;

[0036] An execution module, configured to execute a corresponding associated task in response to a triggering operation for the interactive reward;

[0037] Among them, the reward conditions include at least one of the following: the completion progress of the target interactive task reaches a preset proportion, the content of the user message corresponds to the reward keyword, the target interactive task has ended and is the last interactive task, the target interactive task has ended and the remaining interactive tasks in the target character task where the target interactive task is located have all ended.

[0038] In a possible implementation manner, the device further includes:

[0039] A next task prompt display module is used to display a next task prompt that matches the task completion progress of the target interactive task when it is determined that the execution of the target interactive task meets the end condition, and the next task prompt is used to remind the user of the next interactive task that needs to be completed after the target interactive task.

[0040] A new task dialogue interface display module is used to respond to the trigger operation for the next task prompt, take the next interactive task as a new target interactive task and display the task dialogue interface corresponding to the new target interactive task.

[0041] In a possible implementation manner, the device further includes:

[0042] A role interaction prompt display module, used to display role interaction prompts during the playback of the video, wherein the role interaction prompts are used to remind users to participate in role tasks;

[0043] The role selection prompt display module is used to display a role selection prompt for multiple playable roles in the video in response to a trigger operation for the role interaction prompt, and the role selection prompt is used to remind the user to select a target role to be played from the multiple playable roles.

[0044] In a possible implementation manner, the device further includes:

[0045] A task selection prompt display module, for displaying a task selection prompt corresponding to a target role selected from the multiple playable roles in response to a role selection operation, wherein the task selection prompt is used to remind the user to select a target role task from at least one role task of the target role and to select a target interactive task from at least one interactive task of the target role task, wherein each interactive task has a corresponding task role;

[0046] The highlighting module is used to highlight the selected target role task and target interactive task in response to the task selection operation.

[0047] In a possible implementation manner, the device further includes:

[0048] A selection prompt display module, used for displaying the task selection prompt in response to a trigger operation on the target interactive task and / or displaying the role selection prompt in response to a trigger operation on a target role during displaying the task dialogue interface;

[0049] The interface replacement module is used to replace the currently displayed task dialogue interface with the task dialogue interface corresponding to the selected new target interactive task in response to the task reselection operation and / or the role reselection operation.

[0050] In a possible implementation manner, the device further includes:

[0051] A free dialogue interface display module, for displaying a free dialogue interface corresponding to the target character in response to a free dialogue operation on the target character, wherein the free dialogue interface has an interface background corresponding to the target character and an input box for inputting a message;

[0052] A second message display module is used for displaying the free input message in the free dialogue interface in response to detecting the free input message input through the input box, and displaying the target role message sent by the target role in response to the free input message;

[0053] The target character message is consistent with the character setting of the target character in the video.

[0054] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0055] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.

[0056] According to another aspect of the present disclosure, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0057] The interactive method and device for videos provided by the embodiments of the present disclosure enable users to perform target interactive tasks related to the video through human-computer dialogue with task characters. The task characters dialogue with users in a manner consistent with the character settings in the video and the task plot background corresponding to the target interactive tasks, providing users with a personalized and immersive video interactive experience, thereby enhancing users' sense of participation and involvement, and improving the entertainment and diversity of video interaction.

[0058] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0060] Figure 1 A schematic diagram showing a role interaction prompt in a video interaction method according to an embodiment of the present disclosure.

[0061] Figure 2 , Figure 3 A schematic diagram showing role tasks in a video interaction method according to an embodiment of the present disclosure.

[0062] Figure 4 A flow chart of an interactive method for a video according to an embodiment of the present disclosure is shown.

[0063] Figure 5 , Figure 6 A schematic diagram showing a task dialogue interface in a video interaction method according to an embodiment of the present disclosure.

[0064] Figure 7 A schematic diagram showing a free dialogue interface in a video interaction method according to an embodiment of the present disclosure.

[0065] Figure 8 A schematic diagram showing an interactive reward in an interactive method for a video according to an embodiment of the present disclosure.

[0066] Fig. 9 It is a block diagram of a device 800 for video interaction according to an exemplary embodiment. DETAILED DESCRIPTION

[0067] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0068] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0069] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0070] To solve the above technical problems, the embodiments of the present disclosure provide an interactive method and device for videos, allowing users to perform target interactive tasks related to the video through human-computer dialogue with task characters. The task characters dialogue with users in a manner consistent with the character settings in the video and the task plot background corresponding to the target interactive tasks, providing users with a personalized and immersive video interactive experience, thereby enhancing users' sense of participation and involvement, and improving the entertainment and diversity of video interaction.

[0071] To explain the interactive method for video provided by the embodiment of the present disclosure in detail, the following is combined with Figure 1-Figure 8 The implementation of the method is described in detail. The method can be applied to electronic devices capable of playing videos. The method can be implemented through a client, web page, etc. corresponding to a video playing platform capable of playing videos.

[0072] like Figure 1 As shown, the method includes: displaying a role interaction prompt during the playing of the video; and displaying a role selection prompt for multiple playable roles in the video in response to a triggering operation on the role interaction prompt.

[0073] In this embodiment, the video may be a movie, a TV series, a short play, a cartoon, or any other video of any length and type, and the present disclosure does not impose any limitation on this.

[0074] In this embodiment, the role interaction prompt is used to remind the user to participate in the role task. In some embodiments, the role interaction prompt can be displayed in the current video display screen, such as in the upper left corner of the screen, such as in the upper right ... Figure 1In the lower right position shown, the role interaction prompt can also be displayed in the area where the corresponding character is located in the screen. In some embodiments, the role interaction prompt can also be displayed in the video details page, the video discussion area and other interfaces related to the playback and recommendation of the video, and the role tasks for the video can also be directly recommended to the user in the form of a game, which is not limited by the present disclosure. In this way, the stickiness between the user and the video can be enhanced, the user's activity can be improved, and the user's retention rate can be improved through role interaction based on the Dialog Control Language (DCL). For popular videos, the role interaction mode can also be set specifically to improve traffic guidance and improve the user's viewing experience.

[0075] In this embodiment, the playable characters can be the protagonist and supporting characters in the video, and the playable characters can be selected from the protagonist and supporting characters according to the character characteristics of the popularity, role, and attention of different characters. Among them, since the character characteristics of the characters in different videos are different, the playable characters of the video can be set and selected according to different videos to meet the user's interactive needs for different videos.

[0076] In this embodiment, the role interaction prompt can be as follows: Figure 1 As shown, prompt text and other information are displayed to achieve a reminder effect. In some embodiments, the role interaction prompt may display one or more role names, role avatars, and other descriptive information for the playable roles. In this way, the role interaction prompt can not only remind the user that they can participate in the role task, but also remind the user which playable roles are in the role task, further attracting the user to participate in the interaction. The role interaction prompt displayed in the currently displayed video screen may include one or more to remind the user to participate in the role interaction from multiple angles. For example, for the video currently being watched by the user, assuming that the video includes 10 playable roles, and the screen currently playing the video includes the following 10 playable roles: Figure 1 The roles 1 and 2 shown in the figure can be Figure 1 As shown, the character interaction prompt is displayed directly at a preset position on the screen, or the character interaction prompt is displayed above the heads of character 1 and character 2 in the screen.

[0077] In some embodiments, the role selection prompt can be directly displayed above the currently playing video screen in the form of a pop-up window; or the currently displayed interface can be directly switched to the role selection interface, and the role selection prompt can be displayed in the role selection interface, and the candidate playable roles can be displayed, and the present disclosure does not limit this. In some embodiments, when the role mission is directly recommended to the user in the form of a game, the role selection prompt can be displayed to the user first after the user opens the game.

[0078] In some embodiments, the role selection prompt is used to remind the user to select the target role to be played from multiple playable roles. The role selection prompt may include description information of each of the playable roles. Among them, the description information of each playable role is used to describe or introduce the role information, role experience, and other information corresponding to the role in the video. The role information may include the role name, job title, name given by the user watching the video, and other names of the playable role in the video, and the present disclosure is not limited to this. In this way, the user can understand each playable role based on the description information in the role selection prompt, and then accurately select the favorite playable role as the target role. In some embodiments, the role selection prompt may also include introduction information of each role task of each of the playable roles, and each of the role tasks includes at least one interactive task. The role task may be the overall task or the final task to be completed by the role, and the interactive task may be the various intermediate tasks to be experienced to complete the role task, that is, the role task can be finally completed by completing at least one interactive task. For example, if the target role XX is selected, XX may correspond to the role task of "XX ascends the throne", which may include a series of interactive tasks such as "gaining AA's trust", "defeating BB", "forming an alliance with CC" ... XX may also correspond to the role task of "XX has mastered martial arts", which may include a series of interactive tasks such as "asking AA about BB's whereabouts" and "asking BB for advice". The progress of the interactive task can be promoted through interactions such as dialogues between the target role and the task role, and the goal of the interactive task can be finally achieved, thereby successfully completing the interactive task. The role tasks and interactive tasks can be pre-set, and can all be related to the plot of the video, the character's personality, the relationship between the characters, etc. The introduction information of the role task may include the name of the role task, the number and difficulty of the interactive tasks included, etc., which are used to describe the role task, and the present disclosure does not limit this. In this way, the user can understand what each role task is based on the introduction information of the role tasks of each playable role in the role selection prompt, and then the role tasks of different playable roles can also be used as a basis for selecting the target role, and the favorite playable role can be selected as the target role.

[0079] At least one role task can be set for each playable role, and there are associations between the interactive tasks in each role task. The interactive tasks in the same role task are carried out around the same playable role, and there is a preset connection relationship between the interactive tasks to indicate the execution order of the interactive tasks. The connection relationship between two interactive tasks in a role task may include a direct causal relationship (that is, the execution of the previous interactive task can be completed before the next interactive task can be executed, such as Figure 2The relationship between interactive task 1.1 and interactive task 2.1 in the role task 1 shown in the figure), parallel and unconnected relationship (that is, the two interactive tasks can be completed in parallel, and whether one interactive task is completed does not affect the user's execution of another interactive task, such as Figure 2 The user may first execute the interactive task 1.1, or pause the interactive task 1.1 and continue to execute the interactive task 1.2 without completing the interactive task 1.1, etc. The present disclosure does not impose any restrictions on this.

[0080] In some embodiments, the interactive tasks included in the role tasks of each playable character include some or all of the original plot interactive tasks corresponding to the plot development of the video, so that users can interact from the perspective of the characters they play in the process of completing these original plot interactive tasks, and complete the interactive tasks through interactive processes in the form of dialogue, thereby enhancing the user's sense of participation and role-playing in the video, and improving the diversity and entertainment of the interaction.

[0081] In some embodiments, the interactive tasks included in the role tasks of each playable character may also include special interactive tasks that are inconsistent with the plot development of the video. These special interactive tasks may not exist in the original plot development of the video or may be contrary to the original plot development of the video. For example, characters in film and television dramas often have tragic endings or open endings due to plot requirements. Some users hope that these characters can have happy endings. At this time, special interactive tasks representing happy endings can be added to the interactive tasks of the playable character corresponding to the character to satisfy the user's regrets in watching the video, so that the user can bring a happy ending to his or her favorite character, enhance the user's sense of participation in the video and role-playing, and improve the diversity and entertainment of the interaction.

[0082] The role tasks generated for the playable characters may include at least one plot direction, and the plot branches corresponding to different plot directions may be composed of multiple interactive tasks, so that different users can perform interactive tasks according to their own preferences and get their expected role endings. Figure 2 The following are the three endings corresponding to the plot branches where the interactive tasks 4.1, 4.2 and 5 exist in role task 1, as shown in Figure 3 Shown are the three endings for Role Task 3 corresponding to the plot branches where interactive tasks 6.1, 6.2 and 5 are located.

[0083] In a possible implementation, the method may also include: in response to a role selection operation, displaying a task selection prompt corresponding to a target role selected from the multiple playable roles, the task selection prompt being used to remind the user to select a target role task from at least one role task of the target role and a target interactive task from at least one interactive task of the target role task, each interactive task having a corresponding task role, the task role being a role different from the target role in the video; in response to a task selection operation, highlighting the selected target role task and the target interactive task. Then, in response to an operation such as clicking on the target interactive task, it can be determined that a trigger operation on the target task has been detected, and the trigger operation can be executed. Figure 4 Step S101 shown.

[0084] In this implementation, the role selection operation can be an operation such as clicking or checking any playable role in the role selection prompt, or it can be an operation such as voice input of a user selecting a role detected during the display of the role selection prompt, and the present disclosure does not limit this.

[0085] In some embodiments, the task selection prompt may include introduction information of each role task in at least one role task of the target role and introduction information of each interactive task in at least one interactive task included in each role task. The introduction information of the interactive task may include the name of the interactive task, the targeted task role, the task overview of the interactive task to be completed, etc., which is not limited in the present disclosure. Among them, the interactive tasks to be selected that can be selected for the user to execute can be highlighted in the task selection prompt. Among them, the interactive tasks to be selected may include the interactive tasks that have been executed, the next interactive task corresponding to the interactive task that has been executed and ended due to meeting the end condition, the interactive task that has not been executed in the first interactive task executed (that is, the interactive task that ranks first in the execution order of all interactive tasks of the role task (such as Figure 2The interactive tasks 1.1 and 1.2 in the role task 1 shown are ranked first in the role task 1 and are at least one of the interactive tasks that have not been executed. The termination conditions may include at least one of the following: the task completion progress is successfully completed (that is, the task completion progress is 100%), the task completion progress is unsuccessfully completed (that is, the task completion progress is less than 100%) and the duration of task execution reaches the termination threshold, the task completion progress is unsuccessfully completed and the total number of user messages sent by the user who executes the task reaches the number threshold, and the task completion progress is unsuccessfully completed and the number of user message rounds sent by the user who executes the task reaches the round threshold. Among them, the round of user messages can be the number of times a user continuously inputs user messages in different time periods. The above-mentioned termination threshold, number threshold and round threshold can be set according to actual needs, and the present disclosure does not limit this. In this way, while displaying the introduction information of each interactive task, the interactive tasks to be selected can be highlighted to facilitate user selection.

[0086] In some embodiments, the task selection prompt may include the introduction information of each role task in at least one role task of the target role and the introduction information of each interactive task to be selected in at least one interactive task included in each role task. In this way, only the introduction information of the interactive tasks to be selected can be displayed, and the interactive tasks that are currently unexecutable in the role tasks can be hidden, thereby enhancing the mystery of the interaction, giving the user a sense of novelty, and prompting the user to continuously explore the interactive tasks in the role tasks.

[0087] like Figure 4 As shown, the method may further include step S101-step S102.

[0088] In step S101, in response to a trigger operation for a target interactive task of a target character in a video, the following is displayed: Figure 5 The task dialogue interface corresponding to the target interactive task shown has an input box for inputting user messages.

[0089] The task plot background can be generated according to the plot corresponding to the target interactive task in the video and other plots associated with the plot. The task role has different responses to user messages under different task plot backgrounds. In different interactive tasks, due to the limitations of the task plot background, the task role will reply to the user message according to the role setting in the video and the task plot background.

[0090] In this embodiment, the target interactive task may be the interactive task currently triggered by the user. If the user starts to execute the interactive tasks of the target role task for the first time, the interactive task to be selected is one or more interactive tasks that are first executed in the target role task. The target interactive task described in step S101 may be one of the interactive tasks to be selected that is selected by the user. For example, if the target role task is Figure 2 If the target role task is the role task 1 shown in the figure, and the user starts to perform role task 1 for the first time, the target interactive task can be the interactive task selected by the user from interactive task 1.1 and interactive task 1.2. Figure 3 If the target interactive task is role task 2 as shown, and the user starts to perform role task 2 for the first time, the target interactive task can be interactive task 1.

[0091] In this embodiment, if the user is not executing each interactive task in the target role task for the first time, the interactive tasks to be selected may include interactive tasks that have been executed, the next interactive task corresponding to the interactive task that has been executed and ended due to meeting the end condition (wherein, which is the specific next interactive task, which may be related to the completion progress at the end), and the interactive tasks that have not been executed in the first interactive task. The target interactive task described in step S101 may be the interactive task selected by the user in the interactive tasks to be selected. For example, assuming that the user has currently executed Figure 2 The interactive tasks 1.1, 2.2, and 2.3 shown in the figure have been completed due to the "task completion progress is successfully completed" in the end condition, and the interactive task 2.2 has not yet been completed. The target interactive task can be one of the interactive tasks 1.1, 2.2, 2.3, the next interactive task 3.3 of the interactive task 2.3 (because the completion progress of 2.3 is greater than 90% at the end), and the interactive task 1.2 (the interactive task that has not been executed in the first interactive task) selected by the user. Assuming that the user has currently executed Figure 2 If the interactive task 1.1 shown in the figure has not yet been completed, the target interactive task can be one of the interactive tasks 1.1 and 1.2 selected by the user. Figure 3 If the interactive task 1 is shown and the interactive task 1 has not yet ended, the target interactive task can be the interactive task 1.

[0092] Among them, the task dialogue interface may also have an interface background corresponding to the target interactive task. The interface background in the task dialogue interface can be generated according to the task role, the task plot background corresponding to the target interactive task, the target role, etc. For example, it can be a still of the task role, a promotional poster of the task role, etc., and the present disclosure does not impose any restrictions on this.

[0093] In some embodiments, the task dialogue interface may further include at least one of the following: an existing user message (i.e., a message sent by a user, such as Figure 6 The user messages 1, 2, and 3 shown in the figure), the existing role messages corresponding to the existing user messages (i.e., the messages sent by the task role, such as Figure 5 The role message shown is 1. Figure 6 The role messages 1 and 2 shown in the figure are as follows: Figure 5 The interactive task prompts shown, the impact of the user message on the completion progress of the target interactive task (such as Figure 6 The "Queen Mother Satisfaction +10" displayed below the character message 2 in reply to the user message 3 shown in the figure), the task completion progress (used to indicate the degree of completion, or the distance to successful completion, such as Figure 5 , Figure 6 “Completion progress” shown), role information of the target role, and role information of the task role.

[0094] In some embodiments, the interactive task prompt is used to remind the user to perform a task completion suggestion of a dialogue between the target role and the task role in the context of the task plot corresponding to the target interactive task. Among them, the interactive task prompt can use text, pictures, etc. to explain what the target role played by the user in the interactive task needs to do, what material and spiritual input the task role needs to get from the target role, the current psychological and physiological state of the task role, the final psychological and physiological state of the task role after the interactive task is completed, the current psychological and physiological state of the target role, etc. In this way, based on the interactive task prompt, the user can better play the target role, and can smoothly communicate with the task role in a way that conforms to the role setting of the target role, meet the needs of the task role, and then complete the target interactive task.

[0095] In step S102, Figure 6 As shown, in response to a user message input through the input box, the user message is displayed in the task dialogue interface, as well as a role message issued by the task role of the target interactive task in response to the user message. In the task dialogue interface, the user can dialogue with the task role of the target interactive task by playing the target role, and complete the pre-defined tasks of the target interactive task through dialogue.

[0096] Among them, the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task. Among them, the role setting may include the basic attributes of the role in the video (identity, gender, age, etc.), character personality, role type (such as positive character, negative character), etc., and the task plot background may include the storyline and character relationships related to the target interactive task in the video. For example, for the target interactive task of "XX ascends the throne", the task plot background may be the storyline in the video related to the background, process, and ending of "XX ascends the throne", as well as the characters and character relationships involved. The role message is consistent with the role setting and the task plot background corresponding to the target interactive task, which allows users to experience the immersive feeling of having a conversation with the task role based on the storyline and character setting of the video, as well as the interactive feeling of promoting the execution of the target interactive task.

[0097] In some embodiments, the role message is generated by the role task model corresponding to the task role in reply to the user message, and the role task model of the task role can reply to the user message according to the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

[0098] In some embodiments, the task role may also use the corresponding role task model to first send a role message to the user before the user inputs the user message. In this case, the role message may be a message that the role task personality model corresponding to the task role can send to the target role played by the user according to the corresponding video role personality in the task plot background corresponding to the target interactive task. For example, the task role may first send a role message such as "You are here". Among them, the role task model corresponding to the task role is selected from multiple role task models corresponding to the existing task role according to the role personality of the task role and the task plot background of the target interactive task.

[0099] In a possible implementation, the method may further include: in response to a free dialogue operation on the target character, displaying a Figure 7 The free dialogue interface shown in the figure has an interface background corresponding to the target character and an input box for inputting messages; in response to detecting a free input message input through the input box, the free input message is displayed in the free dialogue interface, and a target character message sent by the target character in response to the free input message is displayed. The target character message conforms to the character setting of the target character in the video.

[0100] In some embodiments, the target character message may be generated by the corresponding character personality model replying to the free input message, and the character personality model of the target character can reply to the free input message according to the character personality of the target character in the video. In this way, the user can also directly communicate with the favorite target character at any time, further improving the interactive experience.

[0101] In some embodiments, the task selection prompt may also display a free dialogue control, and the free dialogue control may also be displayed in the task dialogue interface (such as Figure 5 If a trigger operation for any free dialogue control is detected, it can be determined that a free dialogue operation is detected.

[0102] In some embodiments, Figure 7 As shown, the method may also include: displaying a role task selection control for each role task of the target role in the free dialogue interface, and different role task selection controls correspond to a role task of the target role. In this way, the user can trigger the role task selection control as needed during the free dialogue with the target character. If a trigger operation for the role task selection control is detected, the role task corresponding to the control can be determined as the target role task, and an interactive selection prompt for the target role task can be further displayed to the user, and the user is reminded to select a target interactive task from at least one interactive task of the target role task through the interactive selection prompt. And the above step S101 is performed when it is determined that the user selects the target interactive task.

[0103] In some embodiments, the method may further include: displaying an interactive task selection control for a target character task of the target character in the free dialogue interface, and different interactive task selection controls correspond to an interactive task of the target character task. In this way, the user can trigger the interactive task selection control as needed during the free dialogue with the target character to select and execute the interactive task. If a trigger operation for the interactive task selection control is detected, the interactive task corresponding to the control can be determined as the target interactive task, and the above step S101 is executed.

[0104] In this embodiment, since the target role and the task role are both roles that appear in the video, and the two are different. It is possible to train and generate a role model corresponding to each role in advance based on the role settings of each role (target role, task role) in the video, and then use the role model to realize dialogue and response with the user. Among them, the lines of the character in different plots in the video, the description information of the character, etc. can be used as training data to train the initial model generated based on artificial intelligence (AI) technology to obtain a role model that can conduct dialogues according to the role settings. Among them, the generation of the initial model can use natural language processing (Natural Language Processing, NLP), dialogue management (Dialog Management, DM), speech recognition (Automatic Speech Recognition, ASR), speech synthesis (Text-to-Speech, TTS), machine learning (Machine Learning, ML) and other technologies, and the present disclosure does not limit this. In this way, the user can communicate with the target character in the video. Figure 7 In the free dialogue interface shown, during the dialogue, the user can feel like they are talking to the character in the video, which deepens the user's sense of participation and involvement. Moreover, the user can choose the character they like as the target character, which can meet the interaction preferences of different users for different characters. For example, in the training process of the character personality model, the free input message samples input during the free dialogue between the user and the target character can be used as the model input, and the description of the target character can be used as auxiliary information. The target character message of the target character is generated through the model, and the loss is calculated based on the generated target character message and the preset reference message, auxiliary information, etc., and the parameters of the initial model are trained to obtain the character personality model.

[0105] In some embodiments, for different interactive tasks, the task role needs to be able to reply to messages based on the task plot background in addition to being able to reply to messages based on the corresponding role persona. Therefore, it is also necessary to further train the role persona model based on the preset sample data for different task plot backgrounds, and form multiple role task models that further correspond to different task plot backgrounds on the basis of the role persona. Then, in the process of the user performing different target interactive tasks, a matching role task model is selected based on the task role and task plot background corresponding to the target interactive task, and the role task model is used to reply to the message input by the user. Each role task model can output a role message that conforms to the task plot background of the interactive task, the scene of the interactive task, the role persona, and the relationship between the roles for the user message, so as to form a dialogue with the user, and can also give the completion progress of the interactive task according to the user message. For example, in the training of the role task model, the user message sample of the target role can be used as the model input, the description of the target role and the task role, the description of the task plot background corresponding to the target interactive task, etc. can be used as auxiliary information, the role message of the task role is generated by the model, and the loss is calculated based on the generated role message and the preset reference role message, auxiliary information, etc., and the parameters of the model are trained.

[0106] In some embodiments, in the training of the role-task model, in addition to further model training based on the character personality model to obtain the role-task model, it can also be directly based on the initial model, with the user message sample of the target role as the model input, and the description of the target role and the task role, the description of the task plot background corresponding to the target interactive task, etc. as auxiliary information, and the role message of the task role is generated through the model, and the loss is calculated based on the generated role message, the preset reference role message, the auxiliary information, etc., and the parameters of the initial model are trained to obtain the role-task model.

[0107] In this embodiment, after receiving the user message input by the user, the role task model can be used to perform the following operations: first, the user message is identified and analyzed to obtain the user's input information, and then the input information is further used as input to output the role message replied by the task role, and then the text, audio, picture, and emoticon package corresponding to the role message are generated for display.

[0108] In some embodiments, during the process of model training to obtain the role task model, the sample data may also include reference progress impacts corresponding to different user messages. In addition to the role message, the output of the model also includes the predicted progress impact for the user message, and then the model parameters are trained by combining the role message output by the model and the predicted progress impact corresponding to the user message, the preset reference role message and the reference progress impact, auxiliary information, etc. to calculate the loss. In order to make the role task model also have the ability to output the score corresponding to the user message, the role task model can also perform the following operations: after analyzing the user message, the progress impact of the user message is predicted based on the task plot background and the corresponding role setting, and then the task completion progress displayed to the user is updated based on the predicted progress impact, and the impact of the user message on the completion progress of the target interactive task is updated.

[0109] In this way, through the pre-trained character personality model and character task model, real-time feedback can be provided to the user's input, innovatively creating a new and highly immersive entertainment experience, fully meeting the user's personalized needs for content, plot and interaction methods.

[0110] In this embodiment, the message input by the user through the input box (including the user message and the free input message described below) and the message sent by the character to the user (including the character message and the target character message described below) can be any form of message such as text, voice, picture, emoticon, video, etc., and the present disclosure does not limit this. Among them, the text message sent by the character to the user can be accompanied by a message audio corresponding to the message, and the sound of the message audio can be consistent with the voice of the character in the video, so that the user can deepen the sense of substitution and participation.

[0111] In a possible implementation, the method may further include: in the process of displaying the task dialogue interface, in response to a trigger operation for the target interactive task, displaying the task selection prompt; in response to a task reselection operation, replacing the currently displayed task dialogue interface with a task dialogue interface corresponding to the selected new target interactive task. Among them, the user can select a new target role task from the role tasks of the current target role and select a new target interactive task from multiple interactive tasks of the new target role task through the task reselection operation. Alternatively, the user can select a new target interactive task from multiple interactive tasks of the current target role task through the task reselection operation.

[0112] In a possible implementation, the method may further include: in the process of displaying the task dialogue interface, in response to a trigger operation for a target role, displaying the role selection prompt; in response to a role reselection operation, replacing the currently displayed task dialogue interface with a task dialogue interface corresponding to the selected new target interactive task. The user may reselect a new target role from multiple playable roles through the role reselection operation, and then select a target role task from multiple role tasks of the new target role, and then select a new target interactive task from multiple interactive tasks of the new target role task.

[0113] In this way, users can replace the target role to be played, all target role tasks to be performed, and the target interactive tasks to be performed according to their needs, thereby meeting the user's diverse interactive needs.

[0114] In a possible implementation, the method may further include: in the case where it is determined that the interaction with the target interactive task meets the reward condition, displaying the corresponding Figure 8 The interactive reward shown; in response to the triggering operation for the interactive reward, the corresponding associated task is executed. The reward conditions may include at least one of the following: the completion progress of the target interactive task reaches a preset proportion, the content of the user message corresponds to the reward keyword, the target interactive task has been completed and is the last interactive task (that is, there is no other interactive task to be executed after the target interactive task, for example, the target interactive task is Figure 2 The interactive tasks 4.1, 4.2 or 5 shown in the figure), the target interactive task has ended and the remaining interactive tasks in the target role task where the target interactive task is located have all ended. Among them, the preset ratio can be 100%, 50%, etc., and the present disclosure does not limit this. The reward keywords can be set according to the role setting of the task role and the task plot background of the current target interactive task. The reward keywords can be words, sentences, etc. When the user message contains the reward keywords, the user can be issued an interactive reward. For example, if a task role likes a certain ancient poem, this ancient poem can be set as a reward keyword. When the user message includes this ancient poem, the corresponding interactive reward can be issued to the user. The associated tasks may include at least one of the following: sharing, dialogue background setting, decoration, and saving.

[0115] In this embodiment, the interaction reward may be a reward corresponding to the target role and / or the task role. Figure 8 The role cards, points, and other rewards shown are related to the target role and / or task role, so that the user has a greater sense of accomplishment and participation after receiving the rewards.

[0116] The role card can be a card with a photo of the role, a virtual image of the role, etc. Different role cards can be graded according to their rarity. The rarity of the role card issued to meet the reward condition is proportional to the importance of the reward condition met. The higher the importance of the reward condition met, the rarer the role card issued. The importance of the reward condition met can be set in advance as needed, and the present disclosure does not limit this. For example, assuming that the reward condition includes that the completion progress of the target interactive task reaches a preset ratio, the content of the user message corresponds to the reward keyword, the target interactive task has ended and is the last interactive task, the target interactive task has ended and the remaining interactive tasks in the target role task where the target interactive task is located have all ended, then the importance of these reward conditions from high to low can be: the target interactive task has ended and the remaining interactive tasks in the target role task where the target interactive task is located have all ended, the target interactive task has ended and is the last interactive task, the content of the user message corresponds to the reward keyword, and the completion progress of the target interactive task reaches a preset ratio, and the present disclosure does not limit this.

[0117] The number of points can also be proportional to the importance of the reward conditions met. Points can be exchanged by users for virtual or real items, for example, points can be exchanged for peripherals of the target character, autographed posters, etc. Points can also be exchanged for the progress of a certain interactive task. For example, if the current task completion progress of a certain target interactive task is 99%, the user can use points exchange to push the task completion progress of the target interactive task to 100% and directly complete the target task.

[0118] In this implementation, after receiving the interactive reward, the user can select the associated task to be performed for the interactive reward. For example, assuming that the interactive reward is a character card, the character card can be shared to a social platform, set as the interface background of the free dialogue interface and / or the task dialogue interface, set as the avatar decoration of the user's login account, or saved, etc. according to the user's selection operation.

[0119] In a possible implementation, the method may further include: when it is determined that the completion progress of the target interactive task meets the termination condition, Figure 6 The task completion prompt is shown to enable the user to confirm that he or she has completed the target interactive task.

[0120] In a possible implementation, the method may further include: when it is determined that the execution of the target interactive task satisfies the termination condition, displaying a next task prompt that matches the task completion progress of the target interactive task, wherein the next task prompt is used to remind the user of the next interactive task that needs to be completed after the target interactive task; in response to a trigger operation on the next task prompt, taking the next interactive task as a new target interactive task and displaying the task dialogue interface corresponding to the new target interactive task.

[0121] In this implementation, when it is determined that the execution of the target interactive task satisfies the termination condition, if it is also determined that the reward condition is satisfied, then Figure 8 As shown, while displaying the interactive reward, the next task prompt "Next Challenge the Emperor" is displayed to the user, so that the user can directly issue a trigger operation for the next task prompt after receiving the interactive reward and enter the execution of the next interactive task.

[0122] In this embodiment, the termination condition of each interactive task may include at least one of: the task completion progress is successfully completed, the task completion progress is unsuccessfully completed and the duration of task execution reaches the termination threshold, the task completion progress is unsuccessfully completed and the total number of user messages sent by the task executing user reaches the number threshold, and the task completion progress is unsuccessfully completed and the number of user message rounds sent by the task executing user reaches the round threshold. Among them, the number of user message rounds can be the number of times the user continuously inputs user messages in different time periods.

[0123] Among them, Figure 2 , Figure 3 As shown, each role task may include multiple interactive tasks. When the execution of each interactive task satisfies the termination condition, the corresponding task completion progress is different, resulting in a different next interactive task corresponding to the interactive task. The next interactive task corresponding to the different task completion progress of each interactive task can be set according to actual needs, and the present disclosure does not limit this. For example, assuming that the current target interactive task is Figure 2 If the interactive task 2.1 is successfully completed (i.e. the task completion progress is 100%), then the next interactive task after the interactive task is completed is interactive task 3.1. Figure 2In the interactive task 2.1 shown, the interactive task 2.1 has reached the end condition, and the task completion progress is 19%, then the next interactive task after the interactive task ends is interactive task 3.2. Under the premise that the interactive task has met the end condition, when the user's progress in completing interactive task 2.1 is less than 20%, a prompt to enter the next interactive task 3.2 can be displayed, and the user can choose not to continue to complete interactive task 2.1, and directly trigger the next interactive task 3.2. If the user does not trigger the next interactive task 3.2, the interactive task 2.1 can also be continued. After the user completes the interactive task 2.1 The progress exceeds 90%, a prompt to enter the next interactive task 3.1 is displayed, and the user can directly trigger the interactive task 3.1, or the interactive task 3.1 can be automatically triggered after the progress reaches 100%. In this way, it is possible to control the user to execute interactive tasks with different plot branches according to different message inputs of the user, giving the user a diverse interactive experience.

[0124] In some embodiments, the method may further include: providing feedback and predicting behavior of the user based on the user message input by the user, determining the user's personalized needs, and then generating personalized tasks for the user that meet their personalized needs, and recommending the personalized tasks to the user as new interactive tasks (e.g. Figure 2 , Figure 3 In this way, real-time interactive task recommendation can be achieved, increasing the user's stickiness to perform interactive tasks and improving the user's personalized interactive experience.

[0125] In a possible implementation, the method may further include: when it is determined that the task completion progress of the target interactive task meets the termination condition, if there is no other interactive task to be performed after the target interactive task (that is, the target interactive task is the last interactive task), a first termination prompt may be displayed to allow the user to determine that he has currently completed the last interactive task. The first termination prompt may also include a corresponding interactive reward. For example, assuming that the current target interactive task is Figure 2 For the interactive task 4.1 shown, if it is determined that the execution of the interactive task 4.1 meets the termination condition, a task termination prompt may be displayed to the user.

[0126] In a possible implementation, the method may further include: when it is determined that the task completion progress of the target interactive task meets the termination condition, if the remaining interactive tasks in the target role task where the target interactive task is located have all been completed, a second termination prompt may be displayed to allow the user to determine that he has currently completed all interactive tasks in the target role task. The second termination prompt may also include a corresponding interactive reward.

[0127] The present disclosure also provides an interactive device for a video, the device comprising:

[0128] A task dialogue interface display module, for responding to a trigger operation of a target interactive task for a target character in a video, and displaying a task dialogue interface corresponding to the target interactive task, wherein the task dialogue interface has an input box for inputting a user message;

[0129] The first message display module is used to respond to the user message input through the input box, display the user message in the task dialogue interface, and display the role message sent by the task role of the target interactive task in response to the user message, wherein the task role is a role in the video that is different from the target role, and the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

[0130] In a possible implementation, the task dialogue interface further includes at least one of the following: an existing user message, an existing role message corresponding to the existing user message, an interactive task prompt, the impact of the user message on the completion progress of the target interactive task, the task completion progress, the role information of the target role, and the role information of the task role.

[0131] The interactive task prompt is used to remind the user of the task completion suggestion of conducting a dialogue between the target character and the task character in the context of the task plot corresponding to the target interactive task.

[0132] In a possible implementation manner, the device further includes:

[0133] A reward display module, used to display the corresponding interaction reward when it is determined that the interaction with the target interaction task meets the reward condition;

[0134] An execution module, configured to execute a corresponding associated task in response to a triggering operation for the interactive reward;

[0135] Among them, the reward conditions include at least one of the following: the completion progress of the target interactive task reaches a preset proportion, the content of the user message corresponds to the reward keyword, the target interactive task has ended and is the last interactive task, the target interactive task has ended and the remaining interactive tasks in the target character task where the target interactive task is located have all ended.

[0136] In a possible implementation manner, the device further includes:

[0137] A next task prompt display module is used to display a next task prompt that matches the task completion progress of the target interactive task when it is determined that the execution of the target interactive task meets the end condition, and the next task prompt is used to remind the user of the next interactive task that needs to be completed after the target interactive task;

[0138] A new task dialogue interface display module is used to respond to the trigger operation for the next task prompt, take the next interactive task as a new target interactive task and display the task dialogue interface corresponding to the new target interactive task.

[0139] In a possible implementation manner, the device further includes:

[0140] A role interaction prompt display module, used to display role interaction prompts during the playback of the video, wherein the role interaction prompts are used to remind users to participate in role tasks;

[0141] The role selection prompt display module is used to display a role selection prompt for multiple playable roles in the video in response to a trigger operation for the role interaction prompt, and the role selection prompt is used to remind the user to select a target role to be played from the multiple playable roles.

[0142] In a possible implementation manner, the device further includes:

[0143] A task selection prompt display module, for displaying a task selection prompt corresponding to a target role selected from the multiple playable roles in response to a role selection operation, wherein the task selection prompt is used to remind the user to select a target role task from at least one role task of the target role and to select a target interactive task from at least one interactive task of the target role task, wherein each interactive task has a corresponding task role;

[0144] The highlighting module is used to highlight the selected target role task and target interactive task in response to the task selection operation.

[0145] In a possible implementation manner, the device further includes:

[0146] A selection prompt display module, used for displaying the task selection prompt in response to a trigger operation on the target interactive task and / or displaying the role selection prompt in response to a trigger operation on a target role during displaying the task dialogue interface;

[0147] The interface replacement module is used to replace the currently displayed task dialogue interface with the task dialogue interface corresponding to the selected new target interactive task in response to the task reselection operation and / or the role reselection operation.

[0148] In a possible implementation manner, the device further includes:

[0149] A free dialogue interface display module, for displaying a free dialogue interface corresponding to the target character in response to a free dialogue operation on the target character, wherein the free dialogue interface has an interface background corresponding to the target character and an input box for inputting a message;

[0150] A second message display module is used for displaying the free input message in the free dialogue interface in response to detecting the free input message input through the input box, and displaying the target role message sent by the target role in response to the free input message;

[0151] The target character message is consistent with the character setting of the target character in the video.

[0152] It should be noted that although the above embodiments are used as examples to introduce the interactive method and device for videos, those skilled in the art will appreciate that the present disclosure should not be limited thereto. In fact, users can flexibly set each step and module according to personal preferences and / or actual application scenarios, as long as they comply with the technical solution of the present disclosure.

[0153] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0154] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0155] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0156] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0157] Fig. 98 is a block diagram of an apparatus 800 for video interaction according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0158] Reference Fig. 9 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 (I / O interface), a sensor component 814 , and a communication component 816 .

[0159] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0160] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0161] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0162] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0163] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0164] The input / output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0165] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0166] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0167] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0168] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by the processor 820 of the device 800 to perform the above method.

[0169] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0170] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0171] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0172] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0173] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0174] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0175] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0176] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0177] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. An interactive method for a video, characterized in that: The method comprises: In response to a triggering operation of a target interactive task for a target character in a video, a task dialogue interface corresponding to the target interactive task is displayed, wherein the task dialogue interface has an input box for inputting a user message; In response to a user message input through the input box, the user message is displayed in the task dialogue interface, as well as a role message sent by the task role of the target interactive task in response to the user message, wherein the task role is a role in the video that is different from the target role, and the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

2. The method according to claim 1, characterized in that The task dialogue interface also includes at least one of the following: an existing user message, an existing role message corresponding to the existing user message, an interactive task prompt, the impact of the user message on the completion progress of the target interactive task, the task completion progress, the role information of the target role, and the role information of the task role. The interactive task prompt is used to remind the user of the task completion suggestion of conducting a dialogue between the target character and the task character in the context of the task plot corresponding to the target interactive task.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: When it is determined that the interaction with the target interactive task meets the reward condition, displaying the corresponding interactive reward; In response to a triggering operation for the interactive reward, executing a corresponding associated task; Among them, the reward conditions include at least one of the following: the completion progress of the target interactive task reaches a preset proportion, the content of the user message corresponds to the reward keyword, the target interactive task has ended and is the last interactive task, the target interactive task has ended and the remaining interactive tasks in the target character task where the target interactive task is located have all ended.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: When it is determined that the execution of the target interactive task meets the termination condition, displaying a next task prompt that matches the task completion progress of the target interactive task, wherein the next task prompt is used to remind the user of the next interactive task that needs to be completed after the target interactive task; In response to the triggering operation for the next task prompt, the next interactive task is taken as a new target interactive task and a task dialogue interface corresponding to the new target interactive task is displayed.

5. The method according to claim 1, characterized in that The method further comprises: During the playing of the video, a role interaction prompt is displayed, wherein the role interaction prompt is used to remind the user to participate in the role task; In response to a triggering operation for the role interaction prompt, a role selection prompt for multiple playable roles in the video is displayed, wherein the role selection prompt is used to remind the user to select a target role to be played from the multiple playable roles.

6. The method according to claim 5, characterized in that The method further comprises: In response to the role selection operation, displaying a task selection prompt corresponding to the target role selected from the multiple playable roles, the task selection prompt is used to remind the user to select a target role task from at least one role task of the target role and to select a target interactive task from at least one interactive task of the target role task, each of the interactive tasks having a corresponding task role; In response to the task selection operation, the selected target role task and target interaction task are highlighted.

7. The method according to claim 6, characterized in that The method further comprises: In the process of displaying the task dialogue interface, displaying the task selection prompt in response to a trigger operation on the target interactive task and / or displaying the role selection prompt in response to a trigger operation on a target role; In response to a task reselection operation and / or a role reselection operation, the currently displayed task dialogue interface is replaced with a task dialogue interface corresponding to the selected new target interactive task.

8. The method according to claim 1, characterized in that The method further comprises: In response to a free dialogue operation for the target character, displaying a free dialogue interface corresponding to the target character, the free dialogue interface having an interface background corresponding to the target character and an input box for inputting a message; In response to detecting a free input message input through the input box, displaying the free input message in the free dialogue interface, and displaying a target character message sent by the target character in response to the free input message; The target character message is consistent with the character setting of the target character in the video.

9. An interactive device for video, characterized in that: The device comprises: A task dialogue interface display module, for responding to a trigger operation of a target interactive task for a target character in a video, and displaying a task dialogue interface corresponding to the target interactive task, wherein the task dialogue interface has an interface background corresponding to the target interactive task and an input box for inputting a user message; The first message display module is used to respond to the user message input through the input box, display the user message in the task dialogue interface, and display the role message sent by the task role of the target interactive task in response to the user message, wherein the task role is a role in the video that is different from the target role, and the role message is consistent with the role setting of the task role in the video and the task plot background corresponding to the target interactive task.

10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 8 when executing the instructions stored in the memory.

11. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.

12. A computer program product comprising computer readable code, or a non-volatile computer readable storage medium carrying computer readable code, characterized in that: When the computer readable code runs in a processor of an electronic device, the processor in the electronic device executes the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Game interaction method and device based on dialogue

    CN111744190A

  • Interactive video creation method, apparatus and device, and readable storage medium

    CN112261481A

  • Method for watching interactive video by multiple persons and playing system

    CN113438510A

  • Task guiding method and device in virtual scene, equipment, medium and program product

    CN114247141A

  • Role interaction method and device, electronic equipment and storage medium

    CN116072095A

Cited By

  • Display device and interaction method

    CN120856938A