Interaction method, device, equipment and medium
By displaying the target storyline and selecting an interactive page, users can quickly rewind to the desired plot point, solving the problem of low rewind efficiency in existing technologies and improving the interactive effect of video playback.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-18
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, the efficiency of video playback and interaction is low and the interactive effect is poor, making it difficult for users to quickly and accurately return to the desired plot point.
An interactive method is provided that displays a target storyline diagram, including multiple story nodes, which users can select and enter to enter the corresponding interactive page, thereby interacting with the target story text. The storyline diagram is used for overall visualization and supports quick retracing to a specific story node.
It improves the efficiency and accuracy of backtracking, allowing users to quickly get an overview of the entire story structure and quickly backtrack to the desired plot point through the target storyline, thus enhancing the interactive experience.
Smart Images

Figure CN121750952A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to an interactive method, apparatus, device, and medium. Background Technology
[0002] With the development of video technology, users can participate in the plot through interactive operations during video playback. In related technologies, after the video reaches the end of the story, users can repeatedly watch or interact to rewind to a specific chapter and start over. However, the rewinding efficiency is low, and it may not reach the desired point, resulting in a poor interactive experience. Summary of the Invention
[0003] To address the aforementioned technical problems, this disclosure provides an interactive method, apparatus, device, and medium.
[0004] This disclosure provides an interactive method, the method comprising: Display a target storyline diagram of the target story text, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; In response to the selection operation of a first story node among the plurality of story nodes, a first interactive page of the first story node is displayed to enable interaction with the target story text starting from the first story node.
[0005] This disclosure also provides an interactive device, the device comprising: The storyline module is used to display the target storyline diagram, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; The selection module is configured to, in response to a selection operation of a second story node among the plurality of story nodes in the target storyline, display a second interactive page of the second story node to enable interaction with the target story text starting from the second story node.
[0006] This disclosure also provides an electronic device, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the executable instructions to implement the interactive method provided in this disclosure.
[0007] This disclosure also provides a computer-readable storage medium storing a computer program for performing the interactive methods provided in this disclosure.
[0008] Compared with the prior art, the technical solution provided in this disclosure has the following advantages: The interactive solution provided in this disclosure displays a target storyline diagram of the target story text, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; in response to the selection operation of a first story node among the multiple story nodes, a first interactive page of the first story node is displayed, so as to start the interaction of the target story text from the first story node. Using the above technical solution, after displaying the target storyline diagram including multiple story nodes, the user selects a story node in the target storyline diagram to display the corresponding interactive page, and starts the interaction of the target story text from the selected story node. By visualizing the story as a whole through the target storyline diagram, the user can quickly overview the story nodes of the entire story, and the target storyline diagram supports the user to quickly trace back to a certain story node, improving the efficiency and accuracy of tracing back, thereby effectively improving the interactive effect of the story. Attached Figure Description
[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0010] Figure 1 A flowchart illustrating an interactive method provided in an embodiment of this disclosure; Figure 2 A schematic diagram of an interactive page provided in an embodiment of this disclosure; Figure 3 A schematic diagram of a story details page provided in an embodiment of this disclosure; Figure 4 A schematic diagram of a storyline page provided in an embodiment of this disclosure; Figure 5 A flowchart illustrating another interactive method provided in an embodiment of this disclosure; Figure 6 A schematic diagram of another interactive page provided for an embodiment of this disclosure; Figure 7 A schematic diagram illustrating yet another interactive page provided in an embodiment of this disclosure; Figure 8 A schematic diagram of yet another interactive page provided in an embodiment of this disclosure; Figure 9 A schematic diagram of another interactive page provided as an embodiment of this disclosure; Figure 10 This is a schematic diagram of the structure of an interactive device provided in an embodiment of the present disclosure; Figure 11This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0011] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0012] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0013] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0014] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0015] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0016] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0017] To address the issue of low backtracking efficiency during interactive video playback in related technologies, this disclosure provides an interactive method, which will be described below with reference to specific embodiments.
[0018] Figure 1 This is a flowchart illustrating an interactive method provided in an embodiment of the present disclosure. The method can be executed by an interactive device, which can be implemented using software and / or hardware, and is generally integrated into an electronic device. Figure 1 As shown, the method includes: Step 101: Display the target storyline diagram of the target story text, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text.
[0019] The interactive method of this disclosure is applied to applications that support video playback, such as short video applications, live streaming applications, etc., and is not specifically limited thereto.
[0020] The story text can be a narrative text centered on the activities of characters, unfolding a complete narrative structure through a series of logically connected and causally related plots, conveying a specific theme, emotion, or idea. In this embodiment, the target story text can be a descriptive text of any theme or type of story created by any author that is currently triggered; for example, the target story text can be a martial arts story. The target storyline diagram can be the latest storyline diagram corresponding to the target story text at the current moment. The storyline diagram varies at different times based on different user interaction operations, that is, the storyline diagram updates in real time following user operations. The storyline diagram can be a diagram that visualizes the storyline of the target story text. The storyline can be the development path or plot trajectory of a story text, clarifying the direction of the plot or story from beginning to end. Like an invisible line, it connects the various scenes, character actions, and plot twists in the story. The storyline diagram clearly presents the complex plot structure in a graphical way, helping users better understand the overall picture and internal logic of the story.
[0021] Story nodes can be anchor points in the target story text that represent a stage of the story or plot. They can be anchor points for plot progression, dividing the story into narrative stages such as beginning, development, climax, and ending, and propelling the storyline from one stage to the next, ensuring a tight narrative rhythm and logical coherence. For example, a chapter, a paragraph, or multiple paragraphs can be identified as a story node, depending on the actual situation. The target story text can include multiple story nodes. In the target storyline diagram of this disclosure, multiple story nodes can be connected according to the plot direction to form one or more story branches. Different story branches correspond to different endings. Story branches can be multiple parallel, intertwined, or forked sub-storylines derived from the main storyline. Each branch has independent plot logic, conflict, and core objective and is related to the main storyline.
[0022] Specifically, when the interactive device detects a user's storyline display operation, it can display the target storyline diagram of the target story text on the storyline page. The storyline display operation can be an interactive operation that displays the storyline diagram of the target story text. For example, the storyline display operation can be a trigger operation on the story control in the interactive page or a trigger operation on the storyline control after the story details page.
[0023] In some embodiments, displaying a target storyline graph of the target story text may include: displaying the target storyline graph on a storyline page in response to a triggering operation of a story control in a second interactive page of a second story node in the target story text; or, displaying the target storyline graph on a storyline page in response to a triggering operation of a storyline control in a story details page of the target story text.
[0024] The second story node can be the currently interacting story node among multiple story nodes in the target story text. The second interaction page can be the interaction page corresponding to the second story node, where interaction revolves around the story content of the second story node. The second interaction page can include video or dialogue content corresponding to the second story node, and interaction can be achieved through video playback or a dialogue flow model. The story control can be a functional control that quickly displays the storyline diagram, and the story control can display the corresponding story node, such as displaying the second story node in the story control of the second interaction page. The story details page can be a page that displays detailed information such as the introduction, author, and characters of the target story text, allowing users to gain an initial understanding of the target story text. The storyline control can be a functional control that quickly displays the target storyline diagram, and this storyline control can include information such as the number of all endings or all story branches included in the target story text, and the number of endings in which the user has participated in the interaction.
[0025] When the interactive device detects a user's trigger operation on a story control in the second interactive page of the second story node in the target story text, it can determine that a storyline display operation has been detected, display the storyline page, and show the target storyline diagram on that page. Alternatively, when it receives a user's trigger operation on the story name of the target story text in the second interactive page, it can first display a story details page including multiple details of the target story text. If a user's trigger operation on a storyline control is detected on the story details page, it can determine that a storyline display operation has been detected, display the storyline page, and show the target storyline diagram on that page. By triggering the display of the storyline diagram in two ways—either on an interactive page of a story node or on a story details page—the device can offer more diverse triggering methods. Users can display the storyline diagram as needed on different pages, improving display efficiency and preparing for subsequent actions.
[0026] For example, Figure 2 A schematic diagram of an interactive page provided in an embodiment of this disclosure, such as... Figure 2 As shown in the figure, interactive page 200 is displayed. This interactive page 200 includes a second video of a second story node with the target story text named "ABCDEF". The second story node in the figure can be an example of a middle story node. See also... Figure 2The interactive page 200 in the image includes the story title 201 (target story text) and a story control 202. When the user triggers the story title 201, it can be displayed. Figure 3 The story details page 300; can be displayed after the user triggers an action on the story control 202. Figure 4 The storyline page 400.
[0027] For example, Figure 3 This is a schematic diagram of a story details page provided in an embodiment of the present disclosure, such as... Figure 3 As shown in the figure, an exemplary story details page 300 is displayed. This story details page 300 may include the story title, author, synopsis, and participating characters of the target story text, and may also include a storyline control 301, which can be displayed when the user triggers the storyline control 301. Figure 4 The storyline page 400. Additionally, the storyline control 301 can include storyline hints and the number of endings included in the storyline diagram of the target story text, as well as the number of endings the user has already interacted with, providing the user with brief information about the storyline.
[0028] For example, Figure 4 This is a schematic diagram of a storyline page provided in an embodiment of the present disclosure, such as... Figure 4 As shown in the figure, an exemplary storyline page 400 is displayed. This storyline page 400 displays a target storyline diagram, which includes multiple story nodes. Each story node is displayed in card form, and the card includes a plot image representing the main information of the story node and a description. In the figure, story node 401 is the first story node in the target storyline diagram. Story nodes 402 and 403 are two of the next story nodes that the user will reach after interacting with the interactive page corresponding to story node 401. They are the starting points of two story branches, respectively. Story node 404 is the ending node of the story branch to which story node 402 belongs. The card shape of the ending node is different from the card shapes of other story nodes to distinguish it. Through this target storyline diagram, users can quickly understand the complete structure of the target story text and the story node they are currently in. For example, in the figure, the current location is story node 404, which is... Figure 2 The interactive page displays the video corresponding to story node 404.
[0029] For example, Figure 5 A flowchart illustrating another interactive method provided in this disclosure embodiment, such as... Figure 5 As shown, in one possible implementation, displaying the target storyline diagram on the storyline page may include the following steps: Step 501: Obtain the initial storyline diagram of the target story text and the interaction data between the current user and the target story text.
[0030] The initial storyline can be a storyline generated solely based on the plot development of the target story text. This initial storyline includes multiple story nodes that are yet to be unlocked. These ununlocked story nodes are those that the user has not yet entered their interaction page to interact with, meaning they are story nodes the user has not yet participated in or experienced. This initial storyline is unrelated to the current user's actions; different users correspond to the same initial storyline. The initial storyline includes multiple plot branches obtained by connecting multiple story nodes according to the plot direction. The interaction data between the current user and the target story text can be a record of story nodes that have already begun interacting with the user during the interaction process. In this embodiment, this interaction data includes at least one unlocked story node. An unlocked story node is one of the multiple story nodes in the target story text that the user has triggered to enter its interaction page and begin interacting, meaning the user has begun experiencing and interacting with the story node. Unlocked story nodes become unlocked story nodes after the user begins experiencing them, indicating that the user can freely access or operate them. The number of unlocked story nodes can be one or more, determined specifically according to the actual situation.
[0031] When the interactive device displays the target storyline diagram on the storyline page, it can first obtain the initial storyline diagram of the target story text, which can be generated in advance, and obtain the interaction data between the current user and the target story text for later use.
[0032] Step 502: Generate the target storyline diagram based on the interaction data and the initial storyline diagram, and display the target storyline diagram on the storyline page.
[0033] The target storyline graph can be the latest storyline graph at the current moment. Multiple story nodes in the target storyline graph can include both unlockable and unlocked story nodes. Unlocked story nodes represent all story nodes prior to the current moment, and the unlocked story nodes may differ at different times. The storyline page can be a page displaying a real-time storyline graph of the story text.
[0034] Interactive devices can update the initial storyline map based on the unlocked story nodes in the interactive data to generate a target storyline map. Alternatively, since the target storyline map updates in real time following the user's actions, the latest target storyline map can be retrieved directly from the local storage space, and the user can jump to the storyline page to display the target storyline map.
[0035] In some embodiments, generating a target storyline based on interaction data and an initial storyline includes: updating the display style of a first unlocked story node belonging to the current story branch among at least one unlocked story node on the initial storyline from a first style to a second style of the story node to be unlocked, and updating the display style of a second unlocked story node not belonging to the current story branch among at least one unlocked story node from a first style to a third style, thereby obtaining a target storyline, wherein the current story branch is the story branch in which the second story node interacted before the target storyline was displayed among multiple story branches.
[0036] The first unlocked story node can be an unlocked story node included in the current story branch of at least one unlocked story node. The second unlocked story node can be an unlocked story node not included in the current story branch of at least one unlocked story node. The current story branch can be the story branch where the previously interacted second story node is located in the target storyline diagram, that is, the story branch that includes the aforementioned second story node. For example... Figure 4 The second story node is story node 404, and the rightmost story branch containing story node 404 is the current story branch. The first style can be the display style of the story node to be unlocked in the initial storyline graph; the second style can be the display style of the first unlocked story node among the unlocked story nodes; and the third style can be the display style of the second unlocked story node among the unlocked story nodes. These three display styles are different for differentiation. Optionally, the first style displays a background image including the information to be unlocked, the second style highlights a plot image, and the third style does not highlight a plot image. The background image can be, for example, a solid color filled image, and the specific color can be calculated and determined based on the background color of the theme image of the target story text, making the color of the story node to be unlocked more suitable for the story. Highlighting the plot image can be done by setting opacity or high definition to highlight the plot image of the corresponding story node, allowing users to quickly browse it. Not highlighting the plot image can be done by setting semi-transparent or low definition to display the plot image of the corresponding story node. By setting different display methods for story nodes in different states in the target storyline graph, users can quickly understand the participation status of story nodes, improving information acquisition efficiency.
[0037] When generating the target storyline, the interactive device can update the display style of unlocked story nodes based on the initial storyline and interactive data. Specifically, for the first unlocked story node in the current story branch, its display style can be updated from the initial first style to a second style, so that the first story node is displayed in the second style during the presentation. For the second unlocked story node not in the current story branch, its display style can be updated from the initial first style to a third style, so that the second story node is displayed in the third style during the presentation. The initial storyline after updating the display styles of the unlocked story nodes is determined as the target storyline. By updating the display styles of some unlocked story nodes in the initial storyline to generate the target storyline, and with the update of the display style being related to whether or not the node is in the current story branch, the display style of the story nodes fully reflects the user's level of participation or interaction. The latest display style is generated or retrieved in real time when the user triggers the display of the target storyline, ensuring the accuracy of the storyline.
[0038] For example, see Figure 4 In the target storyline diagram on storyline page 400, since the second story node is story node 404, the rightmost story branch where story node 404 is located is the current story branch. Story nodes 401, 402, and 404 are all unlocked story nodes belonging to the current story branch, i.e., the first unlocked story node, and are displayed in the second style, with the plot image highlighted in the image. Story node 403 is an unlocked story node not belonging to the current story branch, i.e., the second unlocked story node, and is displayed in the third style, with the plot image displayed in grayscale in the image as an example. The display style for story nodes to be unlocked is the first style, as shown in the gray background image displaying the information to be unlocked in the image. Figure 4 As can be seen, the target storyline includes 5 story branches. The leftmost and rightmost story branches have already unlocked their endings, while the three middle story branches have not yet unlocked their endings. The diagram is for illustrative purposes only and is not a limitation.
[0039] The above solution can generate the target storyline in real time based on the user's interaction data with the target story text and the initial storyline of the target story text. The target storyline is continuously updated as the user interacts or participates in the target story text, so that the storyline of the same story viewed by different users is different according to their level of participation. This not only allows users to quickly understand the complete structure of the story, but also to know which story nodes they have participated in and the story node they are currently in, resulting in a better display effect and preparing for subsequent plot replays.
[0040] Step 102: In response to the selection operation of the first story node among multiple story nodes, display the first interactive page of the first story node to start the interaction of the target story text from the first story node.
[0041] The first story node can be a story node that the user selects to interact with in the storyline. The first story node can be any one of the non-ending nodes among at least one unlocked story node; that is, the first story node can be a story node that the user has already interacted with and wants to interact with again. Non-ending nodes can include story nodes other than ending nodes from multiple story nodes. An ending node can be the endpoint of a story branch in the story structure of the target story text. In this embodiment, the target story text can include multiple endings, therefore, there can be multiple ending nodes. When a story node to be unlocked is switched to an unlocked story node, the user can freely enter and re-experience it. The selection operation can be a gesture control operation such as clicking or long-pressing a story node. The first story node can be different from the second story node mentioned above. The first interaction page can be the interaction page corresponding to the first story node, where interaction is performed around the story content of the first story node. The first interaction page can include video or dialogue content corresponding to the first story node, and interaction is performed through video playback or a dialogue flow method of a dialogue model.
[0042] Specifically, after the interactive device displays the target storyline diagram on the storyline page, when it receives a user's selection operation on a story node in the target storyline diagram, if the story node is an unlocked story node, it can designate that story node as the first story node and display a prompt message to restart from that first story node. When the user's confirmation operation is detected, the display of the first interactive page for that first story node can be switched. The user can then interact again on the first interactive page and restart the interaction with the target story text from the first story node. For example, see [link to example]. Figure 4 Story node 401 or story node 403 can be used as the first story node; if the story node is an unlockable story node, a message indicating that it is not yet unlocked can be displayed, letting users know that the current story node cannot be accessed. By selecting the target storyline, the story node to be backtracked can be quickly determined, effectively improving the efficiency and accuracy of backtracking node determination.
[0043] The interactive scheme provided in this disclosure displays a target storyline diagram of the target story text, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; in response to the selection operation of a first story node among the multiple story nodes, a first interactive page of the first story node is displayed, so that interaction with the target story text can begin from the first story node. Using the above technical solution, after displaying the target storyline diagram including multiple story nodes, the user selects a story node in the target storyline diagram to display the corresponding interactive page, and begins interaction with the target story text from the selected story node. By visualizing the story as a whole through the target storyline diagram, the user can quickly overview the story nodes of the entire story, and the target storyline diagram also supports the user to quickly trace back to a specific story node, improving tracing efficiency and accuracy, thereby effectively enhancing the interactive effect of the story.
[0044] In some embodiments, the interaction method may further include: in response to the end of interaction of a first story node in a first interactive page, displaying an interactive control corresponding to the first story node on the first interactive page; in response to a triggering operation on the interactive control, obtaining interactive content and determining a third story node following the first story node based on the interactive content; displaying a third interactive page corresponding to the third story node, and determining the third story node in the target storyline as an unlocked story node and updating its display style.
[0045] The first interactive page includes video or dialogue content corresponding to the first story node. The end of the interaction for the first story node includes the end of video playback or the display of a closing statement in the dialogue content. The closing statement can be set according to the story content of the first story node, and different story nodes can have different closing statements. Interactive controls can be functional controls that allow users to participate in the story direction or plot development of the target story text. In this embodiment, interactive controls can include multiple option controls and input controls. Option controls can be functional controls that set a specific option for the current story node that affects the subsequent plot development. Different option controls correspond to different options; for example, one option control indicates agreement, and another indicates disagreement. The specific number of option controls is set according to the actual situation. Input controls can be functional controls that support user input operations such as text input and voice input. Interactive content can be content determined through interactive controls. In this embodiment, interactive content can include option content or input content. The third story node can be a story node following the first story node determined based on the interaction content. The third story node is one of multiple story nodes in the target storyline graph or a new story node generated based on the first story node and the interaction content. Each option in the interaction content is associated with a story node as the next story node. Input content in the interaction content can be matched to a story node through a model as the next story node or a new story node can be generated as the next story node. The third interactive page can be the interactive page corresponding to the third story node, where interaction takes place around the story content of the third story node.
[0046] After step 102 above, when the interaction of the first story node in the first interactive page is detected to have ended, the interactive device can display the interactive control of the first story node on the interactive page. When the current user triggers the interactive control, the corresponding interactive content can be obtained. If the interactive content is an option, the story node associated with that option can be obtained as the third story node. If the interactive content is input, the third story node can be determined through matching or generation. Then, the third interactive page corresponding to the third story node can be switched to display, and the second story node can be identified as an unlocked story node, updating the display style of the second story node in the target storyline from the first style to the second style. After the user completes the interaction of a story node, they can perform interactive operations through the interactive control to determine the next story node, realizing the control of the subsequent plot direction through interactive operations. When the interaction of the next story node begins, it can be identified as an unlocked story node, updating the corresponding display style in the storyline, realizing that the storyline updates in real time with the user's interactive operations.
[0047] For example, Figure 6 A schematic diagram of another interactive page provided in an embodiment of this disclosure, such as... Figure 6The image shows an interactive page 600, which can be displayed after the interaction of the first story node in the first interactive page ends. The interactive page 600 displays interaction instructions and interactive controls. The interaction instructions are used to indicate the content targeted by the current interaction operation. The interactive controls include three option controls and one input control. The arrow in the image indicates that the current user has triggered an operation on the option control 601. The option content corresponding to the option control 601 can be used as the interaction content to determine the next story node, and then switch to display the video of the next story node.
[0048] Optionally, the interactive content corresponding to the first story node is displayed on the line connecting the first and third story nodes in the target storyline diagram. See, for example... Figure 4 When the first story node is story node 401 and the third story node is story node 402, the "help a friend" interactive content is displayed on the line connecting story nodes 401 and 402. By displaying the interactive content of each interactive operation on the line connecting each interactive story node to the next story node in the storyline graph, users can quickly grasp the specific content of their interactions and understand how these interactions affect the various story branches, thus improving information acquisition efficiency.
[0049] In some embodiments, the interaction method may further include: in response to a first story node being an ending node and the interaction of the first story node ending, displaying ending information and a retry control on a first interaction page; in response to a triggering operation of the retry control, displaying multiple story cards for multiple unlocked story nodes; in response to a selection operation of a target story card among the multiple story cards, displaying a target interaction page for the target story card, displaying the interaction control for the target story node corresponding to the target story card on the target interaction page, and highlighting the interactive controls among the interactive controls; in response to a triggering operation of an uninterrupted control among the interactive controls, obtaining new interactive content for the target story node, and determining the next story node after the target story node based on the new interactive content, so as to start the interaction of the target story text from the next story node.
[0050] An ending node can be the endpoint of a story branch in the story structure of the target story text. In this embodiment, there can be multiple ending nodes, each corresponding to an ending type. Ending types can include plot deviation endings, positive endings, and failure endings. A plot deviation ending can be an ending caused by the user's input of content unrelated to the target story text during interactive operations. A positive ending can be an ending type in the target story text where the main goal is achieved, the conflict is resolved, and the overall emotional tone is positive and optimistic. A failure ending can be an ending type in the target story text where the protagonist fails to achieve the core goal, the main conflict ends tragically or unresolved, and the overall emotional tone is negative, heavy, or reflective. Ending information can be information representing the ending type of the ending node. For example, ending information such as "Grand Finale" indicates that the ending type is a positive ending. A retry control can be a functional control that guides the user to re-explore other story directions or plot directions based on the current ending node.
[0051] Story cards are cards designed to guide users to re-interact with unlocked story nodes. Each story card corresponds to an unlocked story node and can display a screenshot of the interaction ending and interactive controls, allowing users to quickly understand the interaction they have performed. A target story card can be the story card corresponding to the user's selected action among multiple story cards. The target story node is the story node corresponding to the target story card, indicating that the current user wants to use this story node as the starting point for re-exploring the target story text. Interacted controls are those triggered by the user's last interaction, while uninteracted controls are those that have not been triggered by the user. New interactive content is the interactive content obtained by re-interacting with the interactive controls of the currently selected story node, and it differs from the previous interactive content.
[0052] After step 102 above, when the first story node is the ending node and the interaction of the first story node is detected to have ended, the interactive device can display the ending information and a retry control on the first interactive page. When a trigger operation on the retry control is detected, multiple story cards for the unlocked story nodes for the current user can be displayed on the first interactive page. The user can quickly learn about the unlocked story nodes through the story cards. Then, when a user selects one of the story cards, that story card can be used as the target story card. The target interactive page and corresponding interactive controls for the target story node corresponding to the target story card are switched and displayed. The interactive controls that have been interacted with are highlighted, and the user can re-interact on the target story node to rewind. When a user triggers an operation on an uninteracted control to obtain new interactive content, the next story node of the target story node is determined based on the new interactive content. The interactive page of the next story node is switched and displayed, and the interaction with the target story text is restarted. In the above solution, by setting up retry controls and displaying story cards, users can see unlocked story nodes and historical interaction content more quickly. Furthermore, by selecting a story card, the interaction controls after the interaction has ended can be quickly displayed for re-interaction, effectively improving the efficiency of re-exploring the story and ensuring the accuracy of backtracking node selection.
[0053] For example, Figure 7 This is a schematic diagram of another interactive page provided in an embodiment of the present disclosure, such as... Figure 7 As shown in the figure, an exemplary interactive page 700 for the ending node is displayed. This interactive page 700 displays the ending information "The Finale" and a retry control 701. When the user triggers the retry control 701, the following can be displayed: Figure 8 The interactive page 800. For example, Figure 8 This is a schematic diagram of yet another interactive page provided in an embodiment of the present disclosure, such as... Figure 8 As shown in the figure, an interactive page 800 is displayed. This interactive page 800 can include multiple story cards. The arrow in the figure indicates that the current user has selected story card 801. Story card 801 is the target story card, and the corresponding story node is the target story node, which is also the starting point for re-exploration. This interactive page 800 also includes a confirmation control 802. When the user selects a story card and then triggers the confirmation control 802, it will display... Figure 9 The interactive page 900. For example, Figure 9 Another schematic diagram of an interactive page provided as an embodiment of this disclosure, such as... Figure 9 As shown in the figure, Figure 8Story card 801 corresponds to the interactive control of the story node. Among the interactive controls, control 901 is the already interacted control, highlighted in the image with a bold border and the "Your Choice" prompt. The arrow in the image indicates that the user has triggered an action on control 902. The interactive content corresponding to control 902 is new interactive content. Based on this new interactive content, the next story node can be confirmed and the interactive page for the next story node can be switched. This is understandable. Figures 7-9 The diagram is for illustrative purposes only and is not intended to be limiting.
[0054] Optionally, when the first story node is the ending node, the target story node can also be selected by displaying the target storyline diagram in steps 101-102 above, thereby achieving backtracking.
[0055] This solution uses a storyline diagram to visually represent the entire story structure and the complete story exploration space, allowing users to quickly grasp the overall plot development. It also lets users know the location of the story node they are currently exploring and, by triggering actions, quickly rewind to a previously explored story node to start over, thus exploring more of the plot more efficiently.
[0056] Figure 10 This is a schematic diagram of the structure of an interactive device provided in an embodiment of this disclosure. The device can be implemented by software and / or hardware and is generally integrated into an electronic device. Figure 10 As shown, the device includes: Storyline module 1001 is used to display a target storyline diagram, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; Selection module 1002 is configured to, in response to a selection operation of a second story node among the plurality of story nodes in the target storyline, display a second interactive page of the second story node to enable interaction with the target story text starting from the second story node.
[0057] Optionally, storyline module 1001 is specifically used for: In response to a triggering operation of a story control in a second interactive page of a second story node in the target story text, a target storyline diagram is displayed on the storyline page; Alternatively, in response to a triggering operation on the storyline control in the story details page of the target story text, the target storyline diagram is displayed on the storyline page.
[0058] Optionally, storyline module 1001 includes: The first unit is used to obtain the initial storyline diagram of the target story text and the current user's interaction data with the target story text; The second unit is used to generate a target storyline based on the interaction data and the initial storyline, and to display the target storyline on the storyline page.
[0059] Optionally, the interactive data includes at least one unlocked story node, the initial storyline includes multiple story branches obtained by connecting the multiple story nodes according to the plot direction, and the second unit is used for: The display style of the first unlocked story node belonging to the current story branch among the at least one unlocked story nodes on the initial storyline is updated from the first style of the story node to be unlocked to the second style, and the display style of the second unlocked story node not belonging to the current story branch among the at least one unlocked story nodes is updated from the first style to the third style, to obtain the target storyline, wherein the current story branch is the story branch where the second story node that was interacted with before the target storyline was displayed is located among the multiple story branches.
[0060] Optionally, the first style is to display a background image including information to be unlocked, the second style is to highlight a story image, and the third style is to display a story image without highlighting.
[0061] Optionally, the first story node is any one of the non-ending nodes among the at least one unlocked story nodes.
[0062] Optionally, the device further includes an update module, which is specifically used for: In response to the end of the interaction of the first story node in the first interactive page, the interactive control corresponding to the first story node is displayed on the first interactive page; In response to a trigger operation on the interactive control, the interactive content is obtained, and the third story node following the first story node is determined based on the interactive content; Display the third interactive page corresponding to the third story node, and identify the third story node in the target storyline as an unlocked story node and update its display style.
[0063] Optionally, the interactive content corresponding to the first story node is displayed on the line connecting the first story node and the third story node in the target storyline diagram.
[0064] Optionally, the first interactive page includes video or dialogue content corresponding to the first story node, and the end of the interaction of the first story node includes the end of video playback or the display of closing words in the dialogue content.
[0065] Optionally, the third story node is one of multiple story nodes in the target storyline graph or a new story node generated based on the first story node and the interactive content.
[0066] Optionally, the device further includes an ending module, which is specifically used for: In response to the first story node being an ending node and the interaction with the first story node ending, the ending information and a retry control are displayed on the first interaction page; In response to the triggering operation of the retry control, multiple story cards for multiple unlocked story nodes are displayed; In response to the selection operation of a target story card among the plurality of story cards, the target interactive page of the target story card is displayed, and the interactive controls of the target story node corresponding to the target story card are displayed on the target interactive page, and the interactive controls are highlighted. In response to a trigger operation on an uninteractive control in the interactive controls, new interactive content of the target story node is obtained, and the next story node after the target story node is determined based on the new interactive content, so that the interaction of the target story text can begin from the next story node.
[0067] The interactive device provided in this disclosure can execute the interactive method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
[0068] This disclosure also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the interactive method provided in any embodiment of this disclosure, and has corresponding functional modules and beneficial effects for executing the method.
[0069] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.
[0070] The following is a detailed reference. Figure 11 The diagram illustrates a structural schematic suitable for implementing the electronic device 1100 in the embodiments of this disclosure. The electronic device 1100 in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable media players (PMPs), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 11The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0071] like Figure 11 As shown, the electronic device 1100 may include a processing unit 1101 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1102 or a program loaded from storage device 1108 into random access memory (RAM) 1103. The RAM 1103 also stores various programs and data required for the operation of the electronic device 1100. The processing unit 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0072] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1107 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1108 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1109. Communication device 1109 allows electronic device 1100 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 11 An electronic device 1100 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0073] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1109, or installed from storage device 1108, or installed from ROM 1102. When the computer program is executed by processing device 1101, it performs the functions defined in the interactive methods of embodiments of this disclosure.
[0074] It should be noted that the computer-readable medium described above in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an electrically erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, radio frequency (RF), etc., or any suitable combination thereof.
[0075] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as Hypertext Transfer Protocol (HTTP), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0076] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0077] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: display a target storyline diagram of the target story text, wherein the target storyline diagram includes multiple story nodes corresponding to the target story text; and, in response to a selection operation of a first story node among the multiple story nodes, display a first interactive page of the first story node to enable interaction with the target story text starting from the first story node.
[0078] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including local area networks (LANs) or wide area networks (WANs), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0080] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0081] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field-Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.
[0082] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, flash memory, optical fiber, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0083] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0084] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0085] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0086] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An interactive method, characterized by, The method comprises the following steps: displaying a target story line graph of a target story text, wherein the target story line graph comprises a plurality of story nodes corresponding to the target story text; in response to a selection operation on a first story node in the plurality of story nodes, displaying a first interaction page of the first story node to start interaction of the target story text from the first story node.
2. The method of claim 1, wherein, The target story line graph of the target story text comprises: in response to a trigger operation on a story control in a second interaction page of a second story node in the target story text, displaying a target story line graph on a story line page; or, in response to a trigger operation on a story line control in a story detail page of the target story text, displaying a target story line graph on a story line page.
3. The method of claim 2, wherein, The target story line graph displayed on the story line page comprises: obtaining an initial story line graph of the target story text and interaction data of a current user with the target story text; generating a target story line graph according to the interaction data and the initial story line graph, and displaying the target story line graph on the story line page.
4. The method of claim 3, wherein the interaction data comprises at least one unlocked story node, the initial story line graph comprises a plurality of plot branches obtained by connecting the plurality of story nodes in a plot direction, and generating a target story line graph according to the interaction data and the initial story line graph comprises: updating a display style of a first unlocked story node belonging to a current story branch in the at least one unlocked story node in the initial story line graph from a first style of a to-be-unlocked story node to a second style, and updating a display style of a second unlocked story node not belonging to the current story branch in the at least one unlocked story node from the first style to a third style to obtain the target story line graph, wherein the current story branch is a story branch in which a second story node interacted with before the target story line graph is displayed in the plurality of story branches.
5. The method of claim 4, wherein, The first style is to display a background image comprising to-be-unlocked information, the second style is to highlight a plot image, and the third style is to non-highlight a plot image.
6. The method of claim 4, wherein, The first story node is any one of non-destination nodes in the at least one unlocked story node.
7. The method of claim 1, wherein, The method further comprises: in response to the end of interaction of the first story node in the first interaction page, displaying an interaction control corresponding to the first story node in the first interaction page; in response to a trigger operation on the interaction control, obtaining interaction content and determining a third story node after the first story node according to the interaction content; displaying a third interaction page corresponding to the third story node, and updating a display style of the third story node in the target story line graph to an unlocked story node.
8. The method of claim 7, wherein, The target story line graph displays the interaction content corresponding to the first story node on a connection line between the first story node and the third story node.
9. The method of claim 7, wherein, The first interaction page includes video or dialogue content corresponding to the first story node, and the end of interaction of the first story node includes the end of video playing or the end of dialogue content display.
10. The method of claim 7, wherein, The third story node is one of a plurality of story nodes in the target story line graph or a new story node generated according to the first story node and the interaction content.
11. The method of claim 1, wherein, The method further includes: in response to the first story node being an ending node and the end of interaction of the first story node, displaying ending information and a retry control on the first interaction page; in response to a triggering operation on the retry control, displaying a plurality of story cards of a plurality of unlocked story nodes; in response to a selection operation on a target story card in the plurality of story cards, displaying a target interaction page of the target story card, displaying an interaction control of a target story node corresponding to the target story card on the target interaction page, and highlighting an interacted control in the interaction control; in response to a triggering operation on a non-interacted control in the interaction control, obtaining new interaction content of the target story node, determining a next story node after the target story node based on the new interaction content, and starting interaction of the target story text from the next story node.
12. An interactive device, characterized by including: a story line module configured to display a target story line graph, wherein the target story line graph includes a plurality of story nodes corresponding to a target story text; a selection module configured to, in response to a selection operation on a second story node in the plurality of story nodes of the target story line graph, display a second interaction page of the second story node to start interaction of the target story text from the second story node.
13. An electronic device, comprising: The electronic device includes: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the interaction method of any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for executing the interaction method of any one of claims 1-11.