Human-computer interaction method and device, electronic equipment and storage medium

CN116844542BActive Publication Date: 2026-11-03SHENZHEN RENMA INTERACTIVE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310740159.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2026-11-03
Estimated Expiration
2043-06-20

AI Technical Summary

Technical Problem

Existing interactive products cause the interactive plot to jump too mechanically and lack relevance when users input content that is not related to the interactive plot, which reduces the user's sense of participation and interactivity.

Method used

By recognizing the user's voice input, the system identifies side-question interactions, guides the user to coordinate these interactions, ensures that the user's input is related to the jumps in the interaction nodes, matches the preset coordination content with the user's input, determines the target side-question interaction, and provides prompts upon completion so that the user can continue to coordinate.

Benefits of technology

It enhances the interactivity between interactive products and users, improves users' sense of participation and overall planning ability, enables users to fully plan the interactive plot, and improves the user's interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116844542B_ABST
    Figure CN116844542B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a human-computer interaction method and device, electronic equipment and a storage medium. The method comprises: determining whether an i th interaction node is a target interaction node, and if so, determining first overall content according to first voice information collected by a user terminal; determining whether the first overall content matches preset overall content at the i th interaction node; if not, determining second overall content according to the preset overall content and the first overall content, i.e. determining which overall content is missing; obtaining a target branch interactive scenario corresponding to the second overall content and the i th interaction node, entering a branch interaction node corresponding to the target branch interactive scenario, and determining third overall content according to second voice information collected by the user terminal; determining whether the third overall content matches the second overall content, i.e. determining whether the content that the user plans to organize again matches the missing overall content; and if so, entering an i+1 th interactive scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, specifically to a human-computer interaction method, device, electronic device, and storage medium. Background Technology

[0002] With the continuous development of the electronic device industry, people are paying more and more attention to the interaction with products when using electronic devices for entertainment, in order to enhance their sense of participation. However, in current interactive products, if the user inputs content that is not related to the current interactive plot, the interactive product will directly enter the next interactive plot. The user's input behavior and the jump of interactive plot are not related, which makes the jump of interactive plot too mechanical and is not conducive to enhancing the interactivity between interactive products and users and improving users' sense of participation. Summary of the Invention

[0003] This application provides a human-computer interaction method, device, electronic device, and storage medium. By recognizing the voice information input by the user, the system determines the side interaction plot to be entered, thereby enhancing the user's sense of participation. The system then guides the user to coordinate the side interaction plot, thereby improving the user's coordination ability.

[0004] In a first aspect, embodiments of this application provide a human-computer interaction method, the method comprising a human-computer interaction device, the human-computer interaction device being used to implement an interactive task, the interactive task including multiple interactive scenarios and multiple interactive nodes, wherein the multiple interactive scenarios and the multiple interactive nodes correspond one-to-one, and the multiple interactive scenarios and the multiple interactive nodes are arranged in chronological order; the method includes:

[0005] When at the i-th interaction node, determine whether to coordinate the interactive events preceding the i-th interaction node, where the i-th interaction node is any one of the plurality of interaction nodes;

[0006] If so, the first voice information collected by the user terminal is obtained from the user terminal, and the first voice information is the voice information of the user for overall planning;

[0007] Based on the first voice information, determine the first overall planning content;

[0008] Determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node;

[0009] If not, then based on the preset overall planning content and the first overall planning content, the second overall planning content is determined, and the second overall planning content is the overall planning content other than the first overall planning content in the preset overall planning content;

[0010] Obtain the target branch interaction plot corresponding to the second overall planning content and the i-th interaction node;

[0011] Enter the branch interaction node corresponding to the target branch interaction plot so that the user terminal can play the target branch interaction plot;

[0012] When it is determined that the user terminal has finished playing the target side story interactive plot, a first prompt message is sent to the user terminal, wherein the first prompt message is used to prompt the user to coordinate the target side story interactive plot;

[0013] The second voice information collected by the user terminal is obtained from the user terminal. The second voice information is the voice information of the user in coordinating the target side interaction plot.

[0014] Based on the second voice information, determine the third overall planning content;

[0015] Determine whether the third overall planning content matches the second overall planning content;

[0016] If so, proceed to the (i+1)th interactive scene.

[0017] Secondly, embodiments of this application provide a device for jumping between interactive nodes in an interactive task. The device for jumping between interactive nodes in the interactive product is used to implement the interactive task. The interactive task includes multiple interactive plots and multiple interactive nodes, wherein the multiple interactive plots and the multiple interactive nodes correspond one-to-one and are arranged in chronological order. The device for jumping between interactive nodes in the interactive task includes a transceiver unit and a processing unit.

[0018] The processing unit is configured to determine, when at the i-th interaction node, whether to coordinate the interactive events preceding the i-th interaction node, wherein the i-th interaction node is any one of the plurality of interaction nodes;

[0019] The transceiver unit is configured to, if so, obtain the first voice information collected by the user terminal from the user terminal, wherein the first voice information is the voice information used by the user for overall planning.

[0020] The processing unit is used to determine the first overall planning content based on the first voice information;

[0021] The processing unit is used to determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node;

[0022] The processing unit is configured to, if not, determine a second overall planning content based on the preset overall planning content and the first overall planning content, wherein the second overall planning content is the overall planning content other than the first overall planning content in the preset overall planning content;

[0023] The transceiver unit is used to obtain the second overall planning content and the target branch interaction plot corresponding to the i-th interaction node;

[0024] The processing unit is used to enter the branch interaction node corresponding to the target branch interaction plot, so that the user terminal can play the target branch interaction plot.

[0025] The transceiver unit is used to send a first prompt message to the user terminal when it is determined that the user terminal has finished playing the target side interactive plot. The first prompt message is used to prompt the user to coordinate the target side interactive plot.

[0026] The transceiver unit is used to obtain second voice information collected by the user terminal from the user terminal. The second voice information is the voice information of the user in coordinating the target side interaction plot.

[0027] The processing unit is used to determine the third overall planning content based on the second voice information;

[0028] The processing unit is used to determine whether the third overall planning content matches the second overall planning content;

[0029] The processing unit is configured to proceed to the (i+1)th interactive scene if the condition is met.

[0030] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, so that the electronic device performs the method as described in the first aspect.

[0031] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that causes a computer to perform the method as described in the first aspect.

[0032] Fifthly, embodiments of this application provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is operable to cause the computer to perform the method as described in the first aspect.

[0033] Implementing the embodiments of this application has the following beneficial effects:

[0034] As can be seen in this embodiment, when at the i-th interaction node, it is determined whether to coordinate the interactive plots before the i-th interaction node; if so, the first voice information collected by the user terminal is obtained from the user terminal; the first coordination content is determined based on the first voice information; it is determined whether the first coordination content matches the preset coordination content at the i-th interaction node; if not, the second coordination content is determined based on the preset coordination content and the first coordination content; the target branch interaction plot corresponding to the second coordination content and the i-th interaction node is obtained; and the branch interaction node corresponding to the target branch interaction plot is entered. Using the user-inputted first voice information (i.e., the coordination content) to find the coordination content missed by the user, and jumping to the target branch interaction plot corresponding to that coordination content, makes the determination of the branch interaction plot logical and makes the jump of the interaction node more natural, which is conducive to enhancing the interactivity of the interactive task and improving the user's sense of participation. Furthermore, when it is determined that the user has finished playing the target side interactive scene, a first prompt message is sent to the user, which prompts the user to coordinate the target side interactive scene; second voice information collected by the user is obtained from the user, which is the user's voice information in which the user coordinates the target side interactive scene; based on the second voice information, a third coordination content is determined; it is determined whether the third coordination content matches the second coordination content; if so, the process proceeds to the (i+1)th interactive scene. Only when the user's third coordination content matches the second coordination content will the process proceed to the next interactive scene. This method helps the user to fully coordinate the interactive scene, improving the user's coordination ability during the interactive task. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 A schematic diagram of a human-computer interaction system provided in an embodiment of this application;

[0037] Figure 2 A flowchart illustrating a human-computer interaction method provided in an embodiment of this application;

[0038] Figure 3 A schematic diagram of a voice input interface provided in an embodiment of this application;

[0039] Figure 4 This application provides a schematic diagram of an inquiry interface;

[0040] Figure 5 A functional unit block diagram of a human-computer interaction device provided in an embodiment of this application;

[0041] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0042] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0043] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0044] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0045] It should be noted that the interactive tasks in this application have various forms of expression and are applicable to various scenarios, including but not limited to interactive games and interactive stories. When applied to interactive games, the interactive plot is expressed as the game plot, and the interactive nodes are expressed as game nodes; when applied to interactive stories, the interactive plot is expressed as the story plot, and the interactive nodes are expressed as story nodes.

[0046] To facilitate understanding of the technical solution of this application, the relevant technologies and definitions involved in this application will first be explained and described.

[0047] First, it should be noted that the interactive task in this application may also be referred to as an interactive product, interactive work, interactive project, etc. For the sake of consistency, this application will refer to it as an interactive task. In practical applications, the interactive task has various forms of expression and is applicable to various scenarios, including but not limited to interactive games, interactive stories, interactive scripts, interactive novels, etc. For ease of distinction, when the interactive task is an interactive story, interactive novel, or interactive script, the interactive plot involved in this application can be called a story plot, the interactive node can be called a plot node, the side interactive plot can be called a side story plot, and the side interactive node can be called a side plot node; when the interactive task is an interactive game, the interactive plot can be called a game scene or game plot, the interactive node can be called a game node, the side interactive plot can be called a side game scene or side game plot, and the side interactive node can be called a side game node. This application mainly uses an interactive story as an example to illustrate the coordination process of the interactive task, but it does not limit the type of interactive task. The coordination process of other types of interactive tasks is similar and will not be described further.

[0048] It should be noted that when the interactive task is an interactive story, the multiple storylines within that task can constitute multiple main storylines. That is, each main storyline includes one or more of the multiple interactive storylines. Any two main storylines may or may not be related; this application does not impose any restrictions on this. Furthermore, each storyline corresponds to a plot node. Each plot node also corresponds to multiple side storylines, which may or may not be related; this application does not impose any restrictions on this. Each side storyline corresponds to a side plot node. It should be noted that the multiple interactive nodes in this application can be divided into two types: one type requires the user to summarize previous interactive storylines, and the other type introduces the interactive storylines.

[0049] For example, the interactive task has 5 interactive scenarios, or 5 interactive nodes. The first interactive node corresponds to the scenario of determining the venue for the anniversary gala; the second interactive node corresponds to the scenario of determining the program content for the anniversary gala; the third interactive node corresponds to the scenario of determining the proposed invitees for the anniversary gala; the fourth interactive node corresponds to the scenario of the gala menu; and the fifth interactive node corresponds to the scenario of requesting the user to describe to A what should be included in planning the anniversary gala. Therefore, the function of the fifth node is to require the user to coordinate the interactive scenarios of the first four nodes. After the interactive scenario corresponding to the fifth node has finished playing, the user coordinates the first four interactive scenarios. Thus, the fifth interactive node requires the user to coordinate the interactive scenarios, while the first four interactive nodes are for introducing the interactive scenarios.

[0050] For ease of description, this application refers to the interactive node that requires the user to coordinate the interactive plot among multiple interactive nodes as the target interactive node.

[0051] It should be noted that when the target interaction node requires the user to coordinate the previous interaction events, it can be to coordinate all interaction events before the target interaction node, or it can be to summarize some tasks before the target interaction node. This application does not limit this.

[0052] Furthermore, for any target interaction node, all content that needs to be coordinated at that target interaction node is pre-configured. For ease of description, this application refers to all content that needs to be coordinated at the target interaction node as preset coordination content. Continuing with the above example, for the fifth interaction node, the preset coordination content that can be configured at the fifth interaction node includes: "Party Venue," "Program Content," "Invited Personnel," and "Party Menu." Considering the necessity of coordinating each item in the preset coordination content for any target interaction node, this application can divide all content that needs to be coordinated at any target interaction node into two parts: one part is called necessary content, which is content that the user must coordinate during coordination; the fourth coordination content in this application is necessary content. The other part is called secondary content, which is content that the user does not necessarily need to coordinate during coordination; the sixth coordination content in this application is necessary content. The determination of the necessity of coordinating each item in the preset coordination content will be explained later, and will not be described in detail here.

[0053] It should be noted that each target interaction node has multiple corresponding side interaction plots and multiple side interaction nodes, with a one-to-one correspondence between the side interaction plots and the multiple side interaction nodes. Specifically, the multiple side interaction plots and multiple side interaction nodes at each target interaction node are pre-configured based on the necessary content in the preset overall content for each target interaction node. That is, only the necessary content in the preset overall content has corresponding side interaction plots, and secondary content in the preset overall content does not have corresponding side interaction plots.

[0054] Stop words are words that are automatically filtered out before or after natural language data processing in information retrieval to save storage space and improve search efficiency.

[0055] See Figure 1 , Figure 1 This is a schematic diagram illustrating a human-computer interaction method provided in an embodiment of this application. Figure 1 As shown, the human-computer interaction system includes a user terminal 100 and a server 200. The interactive task includes multiple interactive scenarios and multiple interactive nodes, such as... Figure 1The diagram shows interactive plot 1, interactive plot 2, ..., interactive plot n, and interactive node 1, interactive node 2, ..., interactive node n. Each of the multiple interactive plots and interactive nodes corresponds one-to-one and is arranged in chronological order.

[0056] like Figure 1 As shown, users can perform interactive tasks on the user terminal 100. The server 200, when at the i-th interaction node, determines whether to coordinate interactive events preceding the i-th interaction node, where the i-th interaction node is any one of multiple interaction nodes. If yes, it obtains first voice information collected by the user terminal 100, which is the user's voice information for coordination; it determines the first coordination content based on the first voice information; it determines whether the first coordination content matches the preset coordination content at the i-th interaction node; if not, it determines the i-th interaction node's coordination content based on the preset coordination content and the first coordination content. The second coordination content is the coordination content other than the first coordination content in the preset coordination content; the second coordination content and the target branch interaction plot corresponding to the i-th interaction node are obtained; the branch interaction node corresponding to the target branch interaction plot is entered so that the user terminal 100 can play the target branch interaction plot; the second voice information collected by the user terminal 100 is obtained from the user terminal 100, the second voice information is the voice information of the user coordinating the target branch interaction plot; the third coordination content is determined according to the second voice information; it is determined whether the third coordination content matches the second coordination content; if so, the (i+1)-th interaction plot is entered.

[0057] It should be noted that the aforementioned user terminal 100 may include smartphones (such as Android phones, iOS phones, Windows Phones, etc.), tablet computers, PDAs, laptops, mobile internet devices (MIDs), or wearable devices. The aforementioned user terminal 100 is merely an example, not an exhaustive list, and includes, but is not limited to, the aforementioned user terminal 100. In practical applications, the aforementioned user terminal 100 may also include: intelligent vehicle terminals, computer equipment, etc. The aforementioned server 200 may be a cloud computing server, a Content Delivery Network (CDN) server, a Network Time Protocol (NTP) server, a Domain Name System (DNS) server, and other various types of servers. The server 200 can be understood as the human-computer interaction device mentioned in this application.

[0058] As can be seen, in this embodiment, by determining the second coordination content based on the user's input of the first coordination content and the preset coordination content, and then determining the target branch interaction plot based on the second coordination content, and entering the branch interaction node corresponding to the target branch interaction plot, the user's input behavior and the jump of the interaction node are linked, enhancing the interactivity between the interactive product and the user and increasing the user's sense of participation. Furthermore, only when the user's third coordination content matches the second coordination content will the next interaction plot be entered. This method can help the user to fully coordinate the interaction plot, enabling the user to improve their coordination ability while using the interactive product.

[0059] See Figure 2 , Figure 2 This is a flowchart illustrating a human-computer interaction method provided in an embodiment of this application. The method is applied to... Figure 1 The human-computer interaction system shown is described. The method includes, but is not limited to, the following steps:

[0060] 201: When at the i-th interaction node, the server determines whether to coordinate the interaction events before the i-th interaction node, where the i-th interaction node is any one of multiple interaction nodes.

[0061] For example, when at the i-th interaction node, that is, when the server determines that the user has finished playing the interactive plot corresponding to the i-th interaction node, it determines whether to coordinate the interactive plots before the i-th interaction node, i.e., whether the i-th interaction node is a target interaction node. The interactive plots before the i-th interaction node can be one or more interactive plots. Specifically, when configuring the interaction task to the server, it pre-configures which interaction nodes in the task require user coordination of interactive plots, i.e., pre-configures which interaction nodes are target interaction nodes, and records and caches the identifiers (e.g., sequence numbers) of the target interaction nodes. When at the i-th interaction node, the server can determine whether the i-th interaction node is a target interaction node based on its identifier (e.g., sequence number), and thus determine whether to coordinate the interactive plots before the i-th interaction node.

[0062] 202: If so, the server obtains the first voice information collected by the user from the user terminal. The first voice information is the voice information used by the user for overall planning.

[0063] If so, the i-th interaction node is determined to be the target interaction node. This target interaction node has user operations and server response operations. User operations include user input of voice information, text information, or touch information, etc., and server response operations include outputting machine-generated responses. For example, when the server determines the i-th interaction node to be the target interaction node, it can directly send an instruction to the user terminal, instructing the user terminal to collect voice information. Optionally, after receiving the instruction, the user terminal directly activates the microphone to collect voice information, obtains the first voice information, and after a preset time, if no user voice is detected, sends the first voice information to the server. Optionally, the user terminal displays an information collection prompt on the display interface, and only activates the microphone to collect voice information through user operation. For example, as shown... Figure 3 As shown, when the user receives the prompt message, a voice input interface will be displayed, along with virtual function buttons, such as... Figure 3 The virtual function button "Start" is shown. When a user touches the virtual function button, the microphone is activated to collect voice information and obtain the first voice information. When a user touches the virtual function button "End", the voice information collection ends and the collected first voice information is sent to the server.

[0064] 203: The server determines the first overall planning content based on the first voice information.

[0065] Based on the user's initial voice input, the system determines the initial overall plan content and converts it into initial text information. This initial text information may be a complete sentence or one or more initial keywords. When the initial text information is one or more initial keywords, these keywords are used as the initial overall plan content.

[0066] When the first text information is a complete sentence, the second keyword in the first text information is obtained. Specifically, the first text information is decoded to obtain first text data, and the first text data is segmented. In this embodiment, a statistical segmentation algorithm is selected to segment the first text data. Based on a statistical segmentation model established by pre-learning a large amount of corpus, the first text data is segmented to obtain multiple words, wherein the multiple words contain each word in the first text data. The multiple words are then processed to obtain the second keyword. Specifically, the method of processing the multiple words to obtain the second keyword can be to compare each of the multiple words with preset stop words, remove the stop words from the multiple words, and use the words other than the stop words as the second keyword of the first text information, and use the second keyword of the first speech information as the first overall content.

[0067] 204: The server determines whether the first overall planning content matches the preset overall planning content at the i-th interaction node.

[0068] For example, each interactive node that requires user coordination, i.e., the target interactive node, has preset coordination content. The preset coordination content is determined based on the main content expressed in the interactive plot. The preset coordination content consists of multiple first preset keywords. For example, if the interactive plot before the i-th interactive node describes how the user needs to coordinate and plan a school anniversary gala, and describes how to determine the gala venue, program content, stage design, number of invitees, and gala menu, then the preset coordination content at the i-th interactive node includes: gala venue, program content, stage design, number of invitees, and gala menu.

[0069] Further, to determine whether the first overall planning content matches the preset overall planning content, in this embodiment of the application, a method for determining whether the first overall planning content matches the preset overall planning content is provided as follows: Each keyword (including the first keyword and the second keyword) in the first overall planning content is sorted according to the generation order, and each keyword is compared with each first preset keyword to determine multiple third matching degrees. Taking the determination of the matching degree of the j-th keyword in the first overall planning content as an example, the aforementioned method is explained. The j-th keyword is the keyword with the j-th order in the first overall planning content. The j-th keyword is compared with each first preset keyword to obtain multiple fourth matching degrees. Specifically, a first feature vector is obtained by encoding the j-th keyword, and multiple second feature vectors are obtained by encoding each first preset keyword. Multiple first similarities between the first feature vector and each second feature vector are determined, and these multiple first similarities are used as multiple second matching degrees. The maximum value among the multiple second matching degrees is determined, and the first preset keyword corresponding to the maximum value is used as the target first preset keyword. The target first preset keyword is the first preset keyword corresponding to the j-th keyword, and this maximum value is determined as the third matching degree between the j-th keyword and the target first preset keyword.

[0070] Specifically, following the aforementioned method, the target first preset keyword and multiple third matching degrees corresponding to each keyword in the first overall planning content are determined. If there is a first preset keyword that does not have a corresponding keyword, then the first overall planning content is determined to be mismatched with the preset overall planning content. If each first preset keyword has a corresponding keyword, the average of the multiple third matching degrees is determined. It is then determined whether this average value is greater than a first preset threshold. If it is, then the first overall planning content matches the preset overall planning content; otherwise, the first overall planning content does not match the preset overall planning content.

[0071] 205: If not, the server determines the second coordination content based on the preset coordination content and the first coordination content. The second coordination content is the coordination content other than the first coordination content in the preset coordination content.

[0072] For example, referring to the method provided in step 204 for determining the target first preset keyword corresponding to the j-th keyword in the first overall planning content, the target first preset keyword corresponding to each keyword in the first overall planning content is determined, the third matching degree between each keyword and the corresponding target first preset keyword is determined, and the second preset keyword is determined based on multiple third matching degrees. The second preset keyword is the target preset keyword corresponding to the matching degree among multiple third matching degrees that is less than the third preset threshold. If the matching degree among the third matching degrees is less than the third preset threshold, it indicates that there is a difference between the keyword and its corresponding target first preset keyword. If there is a first preset keyword that does not have a corresponding keyword, then the first preset keyword and the second preset keyword constitute the second overall planning content. If all preset keywords have corresponding keywords, then the second preset keywords constitute the second overall planning content. It should be noted that the second overall planning content represents the overall planning content that the user missed during the overall planning process.

[0073] 206: The server obtains the second overall content and the target branch interaction plot corresponding to the i-th interaction node.

[0074] If there is only one second set of coordinated content, then the first necessity for coordinating the second set of coordinated content is determined. If the first necessity is greater than or equal to a first preset threshold, then the second set of coordinated content and the branch interaction plot corresponding to the i-th interaction node are taken as the target branch interaction plot. The second set of coordinated content with a necessity greater than or equal to the first preset threshold is content that the user must coordinate during coordination, i.e., necessary content; the second set of coordinated content with a necessity less than the first preset threshold is content that the user does not necessarily coordinate during coordination, i.e., secondary content. The first necessity for coordinating the second set of coordinated content is determined based on the matching degree between the second set of coordinated content and its corresponding interaction plot. The interaction plot corresponding to the second set of coordinated content refers to an interaction plot containing the second set of coordinated content. Specifically, the interaction plots before the i-th interaction node are converted into multiple second text messages. The target interaction plot is determined based on the multiple second text messages and the second set of coordinated content. The existence of second text messages containing the second set of coordinated content is queried among the multiple second text messages. If it exists, the second text message is the target second text message, and the interaction plot corresponding to the target second text message is the target interaction plot. The target interaction plot is the interaction plot corresponding to the second set of coordinated content.

[0075] The matching degree between the second coordination content and the target interactive plot is determined. Specifically, the target second text information is decoded to obtain second text data, and word segmentation is performed on the second text data. In this embodiment, referring to the method for determining the second keyword in the first text information provided in step 203, multiple third keywords of the second text information are determined. Each third keyword is represented by a word vector, and a third feature vector is determined based on the word vector of each third keyword. The word vectors of each third keyword are accumulated to obtain an average word vector, which is used to represent the third feature vector, where the third feature vector is the vector representation of the target interactive plot. The second coordination content is encoded to obtain a fourth feature vector, and the second similarity between the third feature vector and the fourth feature vector is determined. The second similarity is used as the matching degree between the second coordination content and the target interactive plot. The matching degree between the second coordination content and the target interactive plot is used as the necessity of coordinating the second coordination content. If the first necessity is greater than or equal to the first preset threshold, the branch interactive plot corresponding to the second coordination content and the i-th interactive node is taken as the target branch interactive plot.

[0076] If there are multiple second-level coordination contents, a second necessity degree for coordinating each second-level coordination contents is determined. In this embodiment, the method for determining the necessity degree for coordinating a second-level coordination contents based on the matching degree between the second-level coordination contents and their corresponding interactive plots is referred to above to determine the second necessity degree for coordinating each second-level coordination contents. Multiple fourth-level coordination contents are determined based on the second necessity degree of each second-level coordination contents. These multiple fourth-level coordination contents are second-level coordination contents whose second necessity degree is greater than or equal to a first preset threshold. These multiple fourth-level coordination contents are contents that the user must coordinate during the overall planning process, i.e., necessary contents. In one possible embodiment, a target branch interactive plot is determined based on the multiple fourth-level coordination contents. First, the importance of each fourth-level coordination contents is determined, and the branch interactive plot corresponding to the target fourth-level coordination contents is taken as the target branch interactive plot. The target fourth-level coordination contents are the fourth-level coordination contents with the highest importance among the multiple fourth-level coordination contents. Further, the importance of each fourth-level coordination contents is determined first, and the interactive plot corresponding to each fourth-level coordination contents is determined. Specifically, the method for determining the interactive plot corresponding to the second-level coordination contents provided in step 206 is used to determine the interactive plot corresponding to each fourth-level coordination contents. The playback time of each fourth-coordination content in its corresponding interactive plot is determined. Multiple fourth-coordination contents are sorted in chronological order of playback time. The importance of each fourth-coordination content is determined based on a pre-established first mapping relationship between the playback order and the pre-defined importance of the content. Different playback times of the pre-defined content correspond to different importance levels, and this importance level represents the relationship between the playback order and the importance of the content. A first matching degree between each fourth-coordination content and its corresponding interactive plot is determined. Specifically, the first matching degree is determined by referring to the method described above for determining the matching degree between the second-coordination content and the target interactive plot. The degree of importance of each fourth-coordination content is determined based on its corresponding importance and the first matching degree. Specifically, the importance of each fourth-coordination content is obtained by weighting its corresponding importance and the first matching degree.

[0077] The fourth overall planning content with the highest importance among multiple fourth overall planning contents is determined as the target fourth overall planning content, and the branch interaction plot corresponding to the target fourth overall planning content and the i-th interaction node is taken as the target branch interaction plot.

[0078] As can be seen, in this embodiment of the application, by determining the importance of multiple fourth-level coordination contents, the fourth-level coordination contents with the highest importance are identified as the target fourth-level coordination contents, and the user is given priority to enter the side interaction plot corresponding to the target coordination contents. This jump method is beneficial for users to prioritize the coordination of important coordination contents, improve coordination efficiency, and enhance the user's coordination ability.

[0079] 207: The server enters the side interaction node corresponding to the target side interaction plot so that the user can play the target side interaction plot.

[0080] In this context, the side interaction node corresponding to the target side interaction plot can be understood as the side interaction node corresponding to the jump value target side interaction plot.

[0081] In one possible embodiment, before entering the side interaction node corresponding to the target side interaction plot, the i-th interaction node is archived so that the i-th interaction node can be returned to after the target side interaction plot is played.

[0082] It should be noted that when there are multiple second-level coordination contents, the target sideline interactive plots are determined in descending order of importance according to the multiple fourth-level coordination contents determined in step 206, until all the target sideline plots corresponding to the multiple fourth-level coordination contents have been played.

[0083] 208: When it is determined that the user has finished playing the target side story interactive plot, the server sends the first prompt message to the user. The first prompt message is used to prompt the user to make overall arrangements for the target side story interactive plot.

[0084] It should be noted that if there are multiple second-coordinated content items, before sending the first prompt message to the user, the second matching degree between the fifth-coordinated content item and the target branch interaction plot is determined. Specifically, referring to the method provided in step 206 for determining the matching degree between the second-coordinated content item and its corresponding interaction plot, the second matching degree between the fifth-coordinated content item and the target branch interaction plot is determined. The fifth-coordinated content item is any one of the multiple second-coordinated content items except for the target fourth-coordinated content item. If the second matching degree is greater than or equal to the second preset threshold, the first prompt message is also used to prompt the user to coordinate the interaction plot corresponding to the fifth-coordinated content item. If the second matching degree is greater than or equal to the second preset threshold, it indicates that the fifth-coordinated content item has a high matching degree with the target branch interaction plot, prompting the user to coordinate the interaction plot corresponding to the fifth-coordinated content item while coordinating the target branch interaction plot item.

[0085] As can be seen, in this embodiment of the application, before sending the first prompt information to the user terminal to prompt the user to coordinate the target side interaction plot, the matching degree between the fifth coordination content and the target side interaction plot is also determined. If the matching degree between the fifth coordination content and the target side interaction plot is high, the interaction plot corresponding to the fifth coordination content is coordinated while prompting the user to coordinate the target side interaction plot. This is conducive to improving coordination efficiency and helps the user to accurately coordinate the coordination content included in the target interaction plot.

[0086] 209: The server obtains the second voice information collected by the user from the user terminal. The second voice information is the voice information of the user to coordinate the target side interaction plot.

[0087] 210: The server determines the third overall planning content based on the second voice information.

[0088] Specifically, referring to the method provided in step 203 for determining the first overall planning content based on the first voice information, the third overall planning content is determined, which will not be elaborated here.

[0089] 211: The server determines whether the content of the third overall planning matches the content of the second overall planning.

[0090] Specifically, it is determined whether the third overall planning content matches the second overall planning content. The third overall planning content is encoded to obtain the fifth feature vector, and the second overall planning content is encoded to obtain the fourth feature vector. The third similarity between the fifth feature vector and the fourth feature vector is determined. This third similarity is used as the fifth matching degree between the third overall planning content and the second overall planning content. If the fifth matching degree is greater than the first preset threshold, then the third overall planning content matches the second overall planning content.

[0091] It should be noted that if there are multiple second-level coordination contents, the process will continue until multiple third-level coordination contents contain multiple second-level coordination contents, at which point the (i+1)th interactive plot will begin.

[0092] 212: If so, the server will enter the (i+1)th interactive event.

[0093] In one possible embodiment, when it is determined that the user has finished playing multiple interactive episodes, the user's rating is determined. For example, the number of sixth-level coordinated content items among multiple second-level coordinated content items at the i-th interactive node is obtained, wherein the sixth-level coordinated content item is a second-level coordinated content item whose second necessity is less than a first preset threshold. It should be noted that second-level coordinated content items with a necessity less than the first preset threshold are secondary content, that is, the sixth-level coordinated content item is secondary content. When it is determined that the user has finished playing multiple interactive episodes, the number of sixth-level coordinated content items at each interactive node in the multiple interactive episodes is determined according to the method for determining the number of sixth-level coordinated content items at the i-th interactive node. The total number of sixth-level coordinated content items is obtained by summing the numbers of sixth-level coordinated content items at each interactive node in the multiple interactive episodes. The user's historical playback records are obtained, and the number of historical interactive tasks played by the user is determined based on the historical playback records. The user's rating is determined based on the total number of sixth-level coordinated content items.

[0094] It should be noted that this embodiment provides two methods for determining the score. If the number of historical interactive tasks is less than a third preset threshold, the user's score is determined based on the total number of the sixth coordinated content. Specifically, a second mapping relationship is pre-established between the total number of minor content omitted by the user during coordination and the score. The first score corresponding to the total number of the sixth coordinated content is determined based on the second mapping relationship, and the first score is determined as the user's score.

[0095] If the number of historical interactive products is greater than or equal to a third preset threshold, obtain the number of fourth coordinated contents among the multiple second coordinated contents at the i-th interaction node. Based on the number of fourth coordinated contents at the i-th interaction node, determine the number of fourth coordinated contents at each interaction node in the multiple interactive scenarios. Based on the number of sixth coordinated contents at each interaction node in the multiple interactive scenarios and the number of fourth coordinated contents at each interaction node in the multiple interactive scenarios, determine the user's rating. Specifically, refer to the aforementioned method for determining the total number of sixth coordinated contents to determine the total number of fourth coordinated contents. A third mapping relationship between the total number of necessary contents missed by the user during coordination and the rating is pre-established. Based on the third mapping relationship, determine the second rating corresponding to the total number of fourth coordinated contents. Weight the first rating and the second rating to determine the user's rating.

[0096] As can be seen, this application embodiment provides two different scoring methods. If the number of historical interactive tasks is less than the third preset threshold, the user's score is determined based on the total number of sixth-level coordinated content. If the number of historical interactive tasks is less than the third preset threshold, it indicates that the user has played fewer interactive tasks and lacks familiarity with them. Therefore, the score only needs to be determined based on the total number of sixth-level coordinated content, i.e., the number of omitted secondary content. If the number of historical interactive tasks is greater than or equal to the third preset threshold, it indicates that the user has played more interactive tasks and has a high degree of familiarity with the interactive format. The user's score is determined based on the total number of sixth-level coordinated content and the total number of fourth-level coordinated content. The total number of fourth-level coordinated content represents the total number of necessary content omitted by the user during coordination. If the number of historical interactive tasks is greater than or equal to the third preset threshold, the scoring information is determined based on the total number of necessary and secondary content omitted by the user. Determining different scoring methods based on the number of different historical interactive tasks played by the user is beneficial to improving the user's enthusiasm for interactive tasks.

[0097] In one possible embodiment, see [reference] Figure 4 , Figure 4This is a diagram of an inquiry interface provided in an embodiment of this application. The interface displays the user's rating and the question "Return to the i-th interaction node for re-organization?". The interface has two virtual function buttons. When the user receives a third touch operation for "Yes", the server obtains and parses the third touch operation from the user, then proceeds to the i-th interaction node. When the user receives a fourth touch operation for "No", the server obtains and parses the fourth touch operation from the user, ending the interaction task.

[0098] It should be noted that when asking the user whether to return to the i-th interaction node for reorganization, the interaction node can be any target interaction node. This application embodiment does not limit this. For ease of description, this application embodiment uses the i-th interaction node as an example for illustration.

[0099] After determining the user's rating, the server outputs a query asking the user whether to return to the i-th interaction node to re-organize. If the user confirms returning, the number of jumps at the i-th interaction node is determined. Based on the number of jumps at the i-th interaction node, it determines whether to output a second prompt message and the content of the second prompt message. The second prompt message is used to prompt the user to organize the sixth coordination content. If the number of jumps at the i-th interaction node is greater than a fourth preset threshold, a prompt message is output to the user, prompting the user to organize the sixth coordination content. The sixth coordination quantity is the second coordination content among the multiple second coordination content at the i-th interaction node whose second necessity is less than the first preset threshold. It should be noted that if the number of jumps at the i-th interaction node is greater than the fourth preset threshold, it means that the user initially missed a lot of necessary content, i.e., the fourth coordination content. Since the user needs to enter the side story multiple times, the user cannot know which secondary content, i.e., the sixth coordination content, has been missed. Therefore, a prompt message is output before the user enters the i-th interaction node, prompting the user to organize the sixth coordination content.

[0100] As can be seen in this embodiment, after determining the scoring information, a query is output, asking the user whether to return to the i-th interaction node to re-organize. Based on the number of jumps at the i-th interaction node, it is determined whether to output the second prompt information. This method helps users review the sixth coordination content, i.e., the minor content in the omitted coordination content, and helps improve the user's coordination ability.

[0101] See Figure 5 , Figure 5 This is a functional unit block diagram of a human-computer interaction device provided in an embodiment of this application. The human-computer interaction device 500 includes: a transceiver unit 501 and a processing unit 502, wherein:

[0102] The processing unit 502 is used to determine whether to coordinate the interactive plots located before the i-th interactive node when it is at the i-th interactive node, wherein the i-th interactive node is any one of the plurality of interactive nodes;

[0103] The transceiver unit 501 is used to obtain, if so, the first voice information collected by the user terminal from the user terminal, wherein the first voice information is the voice information of the user for overall planning.

[0104] The processing unit 502 is used to determine the first overall planning content based on the first voice information;

[0105] The processing unit 502 is used to determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node;

[0106] The processing unit 502 is configured to, if not, determine a second overall planning content based on the preset overall planning content and the first overall planning content, wherein the second overall planning content is the overall planning content other than the first overall planning content in the preset overall planning content;

[0107] The transceiver unit 501 is used to obtain the second overall planning content and the target branch interaction plot corresponding to the i-th interaction node;

[0108] The processing unit 502 is used to enter the branch interaction node corresponding to the target branch interaction plot, so that the user terminal can play the target branch interaction plot.

[0109] The transceiver unit 501 is used to send a first prompt message to the user terminal when it is determined that the user terminal has finished playing the target side interactive plot. The first prompt message is used to prompt the user to coordinate the target side interactive plot.

[0110] The transceiver unit 501 is used to obtain second voice information collected by the user terminal from the user terminal. The second voice information is the voice information of the user in coordinating the target side interaction plot.

[0111] The processing unit 502 is used to determine the third overall planning content based on the second voice information;

[0112] The processing unit 502 is used to determine whether the third overall planning content matches the second overall planning content;

[0113] The processing unit 502 is used to proceed to the (i+1)th interactive scene if the condition is met.

[0114] In one embodiment of this application, the transceiver unit 501 is specifically used for: obtaining the target branch interaction plot corresponding to the second overall planning content and the i-th interaction node;

[0115] If the number of the second coordinated content is one, then the first necessity degree for coordinating the second coordinated content is determined. If the first necessity degree is greater than or equal to the first preset threshold, then the branch interaction plot corresponding to the second coordinated content and the i-th interaction node is taken as the target branch interaction plot.

[0116] If there are multiple second-level coordination contents, then a second necessity degree is determined for each second-level coordination contents; based on the second necessity degree of each second-level coordination contents, multiple fourth-level coordination contents are determined, wherein the multiple fourth-level coordination contents are the second-level coordination contents among the multiple second-level coordination contents whose second necessity degree is greater than or equal to a first preset threshold;

[0117] The target branch interaction plot is determined based on the multiple fourth overall planning contents.

[0118] In one embodiment of this application, in determining the target branch interaction plot based on multiple fourth overall planning contents, the processing unit 502 is specifically used for:

[0119] Determine the importance of each of the fourth coordination items;

[0120] The target fourth overall planning content and the branch interaction plot corresponding to the i-th interaction node are taken as the target branch interaction plot, wherein the target fourth overall planning content is the fourth overall planning content with the highest importance among the multiple fourth overall planning contents.

[0121] In one embodiment of this application, in determining the importance of each fourth overall planning content, processing unit 502 is specifically used for:

[0122] Determine the interactive scenarios corresponding to each of the fourth coordination contents;

[0123] Determine the playback time for each fourth-level coordination content within its corresponding interactive segment;

[0124] Determine the first degree of match between each fourth coordination content and its corresponding interactive plot;

[0125] The importance of each fourth set of content is determined based on the playback time and the first matching degree.

[0126] In one embodiment of this application, if the number of the second coordinated items is multiple, before sending the first prompt information to the user terminal, the processing unit 502 is further configured to:

[0127] Determine the second matching degree between the fifth overall planning content and the target branch interaction plot, wherein the fifth overall planning content is any one of the multiple second overall planning contents other than the target fourth overall planning content;

[0128] If the second matching degree is greater than or equal to the second preset threshold, the first prompt information is also used to prompt the user to coordinate the interactive plots corresponding to the fifth coordination content.

[0129] In one embodiment of this application, the processing unit 502 is further configured to:

[0130] Obtain the number of sixth coordination contents among the multiple second coordination contents at the i-th interaction node, wherein the sixth coordination contents are the second coordination contents among the multiple second coordination contents whose second necessity is less than the first preset threshold;

[0131] When it is determined that the user terminal has finished playing the multiple interactive plots, the number of sixth overall planning content at each interactive node in the multiple interactive plots is determined according to the number of sixth overall planning content at the i-th interactive node;

[0132] The user's rating is determined based on the number of sixth-level coordination contents at each interactive node in the multiple interactive scenarios.

[0133] In one embodiment of this application, before determining the user's rating based on the number of sixth coordination contents at each interactive node in the plurality of interactive scenarios, the processing unit 502 is further configured to:

[0134] Obtain the historical playback records of the user terminal, and determine the number of historical interactive tasks played by the user terminal based on the historical playback records;

[0135] The step of determining the user's rating based on the quantity of the sixth overall content at each interactive node in the multiple interactive scenarios includes:

[0136] If the number of historical interactive tasks is less than the third preset threshold, the user's score is determined based on the number of sixth overall content items at each interactive node in the multiple interactive scenarios.

[0137] If the number of historical interactive tasks is greater than or equal to a third preset threshold, obtain the number of fourth coordinated contents among the multiple second coordinated contents at the i-th interactive node, determine the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios based on the number of fourth coordinated contents at the i-th interactive node, and determine the user's rating based on the number of sixth coordinated contents at each interactive node in the multiple interactive scenarios and the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios.

[0138] Other functions of the transceiver unit 501 and the processing unit 502 can be referred to the specific implementation of the above method embodiments, and will not be described again.

[0139] See Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 600 includes a transceiver 601, a processor 602, and a memory 603. These are connected via a bus 604. The memory 603 stores computer programs and data, and can transmit data stored in the memory 603 to the processor 602. This electronic device can be the aforementioned human-computer interaction device, the processor 602 can be the aforementioned processing unit 502, and the transceiver 601 can be the aforementioned transceiver unit 501.

[0140] Processor 602 is used to read the computer program in memory 603 and perform the following operations:

[0141] When at the i-th interaction node, determine whether to coordinate the interaction plots before the i-th interaction node, where the i-th interaction node is any one of multiple interaction nodes;

[0142] If the transceiver 601 is such, it obtains the first voice information collected by the user terminal from the user terminal. The first voice information is the voice information used by the user for overall planning.

[0143] Based on the first voice information, determine the first overall planning content;

[0144] Determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node;

[0145] If not, then the second coordination content is determined based on the preset coordination content and the first coordination content. The second coordination content is the coordination content other than the first coordination content in the preset coordination content.

[0146] Transceiver 601 acquires the second overall planning content and the target branch interaction plot corresponding to the i-th interaction node;

[0147] Enter the side interaction node corresponding to the target side interaction plot so that the user can play the target side interaction plot;

[0148] When transceiver 601 determines that the user has finished playing the target side interactive plot, it sends a first prompt message to the user, wherein the first prompt message is used to prompt the user to coordinate the target side interactive plot;

[0149] The transceiver 601 obtains the second voice information collected by the user terminal from the user terminal. The second voice information is the voice information of the user to coordinate the target side interaction plot.

[0150] Based on the second voice information, determine the third overall planning content;

[0151] Determine whether the content of the third overall planning matches the content of the second overall planning;

[0152] If so, proceed to the (i+1)th interactive scene.

[0153] In one embodiment of this application, in obtaining the target branch interaction plot corresponding to the second overall planning content and the i-th interaction node, the transceiver 601 is specifically used for:

[0154] If the number of the second coordinated content is one, then the first necessity degree for coordinating the second coordinated content is determined. If the first necessity degree is greater than or equal to the first preset threshold, then the branch interaction plot corresponding to the second coordinated content and the i-th interaction node is taken as the target branch interaction plot.

[0155] If there are multiple second-level coordination contents, then a second necessity degree is determined for each second-level coordination contents; based on the second necessity degree of each second-level coordination contents, multiple fourth-level coordination contents are determined, wherein the multiple fourth-level coordination contents are the second-level coordination contents among the multiple second-level coordination contents whose second necessity degree is greater than or equal to a first preset threshold;

[0156] The target branch interaction plot is determined based on the multiple fourth overall planning contents.

[0157] In one embodiment of this application, in determining the target branch interaction plot based on multiple fourth overall content, processor 602 is specifically used for:

[0158] Determine the importance of each of the fourth coordination items;

[0159] The target fourth overall planning content and the branch interaction plot corresponding to the i-th interaction node are taken as the target branch interaction plot, wherein the target fourth overall planning content is the fourth overall planning content with the highest importance among the multiple fourth overall planning contents.

[0160] In one embodiment of this application, in determining the importance of each fourth coordination item, processor 602 is specifically configured to:

[0161] Determine the interactive scenarios corresponding to each of the fourth coordination contents;

[0162] Determine the playback time for each fourth-level coordination content within its corresponding interactive segment;

[0163] Determine the first degree of match between each fourth coordination content and its corresponding interactive plot;

[0164] The importance of each fourth set of content is determined based on the playback time and the first matching degree.

[0165] In one embodiment of this application, if the number of the second coordinated items is multiple, before sending the first prompt information to the user terminal, the processor 602 is further configured to:

[0166] Determine the second matching degree between the fifth overall planning content and the target branch interaction plot, wherein the fifth overall planning content is any one of the multiple second overall planning contents other than the target fourth overall planning content;

[0167] If the second matching degree is greater than or equal to the second preset threshold, the first prompt information is also used to prompt the user to coordinate the interactive plots corresponding to the fifth coordination content.

[0168] In one embodiment of this application, the processor 602 is further configured to:

[0169] Obtain the number of sixth coordination contents among the multiple second coordination contents at the i-th interaction node, wherein the sixth coordination contents are the second coordination contents among the multiple second coordination contents whose second necessity is less than the first preset threshold;

[0170] When it is determined that the user terminal has finished playing the multiple interactive plots, the number of sixth overall planning content at each interactive node in the multiple interactive plots is determined according to the number of sixth overall planning content at the i-th interactive node;

[0171] The user's rating is determined based on the number of sixth-level coordination contents at each interactive node in the multiple interactive scenarios.

[0172] In one embodiment of this application, before determining the user's rating based on the number of sixth coordination contents at each interaction node in the plurality of interactive scenarios, the processor 602 is further configured to:

[0173] Obtain the historical playback records of the user terminal, and determine the number of historical interactive tasks played by the user terminal based on the historical playback records;

[0174] The step of determining the user's rating based on the quantity of the sixth overall content at each interactive node in the multiple interactive scenarios includes:

[0175] If the number of historical interactive tasks is less than the third preset threshold, the user's score is determined based on the number of sixth overall content items at each interactive node in the multiple interactive scenarios.

[0176] If the number of historical interactive tasks is greater than or equal to a third preset threshold, obtain the number of fourth coordinated contents among the multiple second coordinated contents at the i-th interactive node, determine the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios based on the number of fourth coordinated contents at the i-th interactive node, and determine the user's rating based on the number of sixth coordinated contents at each interactive node in the multiple interactive scenarios and the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios.

[0177] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement some or all of the steps of any of the human-computer interaction methods described in the above method embodiments.

[0178] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the human-computer interaction methods described in the above method embodiments.

[0179] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0180] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0181] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0182] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0183] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.

[0184] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0185] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0186] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A human-computer interaction method, characterized in that, The method is applied to a human-computer interaction device, which is used to implement an interactive task. The interactive task includes multiple interactive scenarios and multiple interactive nodes, wherein the multiple interactive scenarios and multiple interactive nodes correspond one-to-one and are arranged in chronological order. When at the i-th interaction node, determine whether to coordinate the interactive plots located before the i-th interaction node, where the i-th interaction node is any one of the plurality of interaction nodes; If so, the first voice information collected by the user terminal is obtained from the user terminal, and the first voice information is the voice information of the user for overall planning; Based on the first voice information, determine the first overall planning content; Determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node; If not, then based on the preset overall planning content and the first overall planning content, the second overall planning content is determined, and the second overall planning content is the overall planning content other than the first overall planning content in the preset overall planning content; Obtaining the target branch interaction plot corresponding to the second overall content and the i-th interaction node includes: If the number of the second coordinated content is one, then the first necessity degree for coordinating the second coordinated content is determined. If the first necessity degree is greater than or equal to the first preset threshold, then the branch interaction plot corresponding to the second coordinated content and the i-th interaction node is taken as the target branch interaction plot. If there are multiple second-coordinated contents, then a second necessity degree is determined for each second-coordinated contents; multiple fourth-coordinated contents are determined based on the second necessity degree of each second-coordinated contents, wherein the multiple fourth-coordinated contents are the second-coordinated contents whose second necessity degree is greater than or equal to a first preset threshold; the interactive plot corresponding to each fourth-coordinated contents is determined; the playback time of each fourth-coordinated contents in the corresponding interactive plot is determined; the multiple fourth-coordinated contents are sorted in order of playback time from front to back to obtain the playback order of each fourth-coordinated contents; the importance of each fourth-coordinated contents is determined based on a first mapping relationship between the pre-established playback order and the importance of preset coordinated contents; the first matching degree between each fourth-coordinated contents and the corresponding interactive plot is determined; the importance of each fourth-coordinated contents is determined based on the importance of each fourth-coordinated contents and the first matching degree; the target fourth-coordinated contents and the branch interactive plot corresponding to the i-th interactive node are taken as the target branch interactive plot, wherein the target fourth-coordinated contents are the fourth-coordinated contents with the highest importance among the multiple fourth-coordinated contents; Enter the branch interaction node corresponding to the target branch interaction plot so that the user terminal can play the target branch interaction plot; When it is determined that the user terminal has finished playing the target side story interactive plot, a first prompt message is sent to the user terminal, wherein the first prompt message is used to prompt the user to coordinate the target side story interactive plot; The second voice information collected by the user terminal is obtained from the user terminal. The second voice information is the voice information of the user in coordinating the target side interaction plot. Based on the second voice information, determine the third overall planning content; Determine whether the third overall planning content matches the second overall planning content; If so, proceed to the (i+1)th interactive scene.

2. The method as described in claim 1, characterized in that, If the number of items in the second coordination is multiple, before sending the first prompt message to the user terminal, the method further includes: Determine the second matching degree between the fifth overall planning content and the target branch interaction plot, wherein the fifth overall planning content is any one of the multiple second overall planning contents other than the target fourth overall planning content; If the second matching degree is greater than or equal to the second preset threshold, the first prompt information is also used to prompt the user to coordinate the interactive plots corresponding to the fifth coordination content.

3. The method as described in claim 1 or 2, characterized in that, The method further includes: Obtain the number of sixth coordination contents among the multiple second coordination contents at the i-th interaction node, wherein the sixth coordination contents are the second coordination contents among the multiple second coordination contents whose second necessity is less than the first preset threshold; When it is determined that the user terminal has finished playing the multiple interactive plots, the number of sixth overall planning content at each interactive node in the multiple interactive plots is determined according to the number of sixth overall planning content at the i-th interactive node; The user's rating is determined based on the number of sixth-level coordination contents at each interactive node in the multiple interactive scenarios.

4. The method as described in claim 3, characterized in that, Before determining the user's rating based on the number of sixth-level coordination contents at each interactive node in the multiple interactive scenarios, the method further includes: Obtain the historical playback records of the user terminal, and determine the number of historical interactive tasks played by the user terminal based on the historical playback records; The step of determining the user's rating based on the quantity of the sixth overall content at each interactive node in the multiple interactive scenarios includes: If the number of historical interactive tasks is less than the third preset threshold, the user's score is determined based on the number of sixth overall content items at each interactive node in the multiple interactive scenarios. If the number of historical interactive tasks is greater than or equal to a third preset threshold, obtain the number of fourth coordinated contents among the multiple second coordinated contents at the i-th interactive node, determine the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios based on the number of fourth coordinated contents at the i-th interactive node, and determine the user's rating based on the number of sixth coordinated contents at each interactive node in the multiple interactive scenarios and the number of fourth coordinated contents at each interactive node in the multiple interactive scenarios.

5. A human-computer interaction device, characterized in that, The human-computer interaction device is used to implement interactive tasks; the interactive tasks include multiple interactive plots and multiple interactive nodes, wherein the multiple interactive plots and multiple interactive nodes correspond one-to-one, and the multiple interactive plots and multiple interactive nodes are arranged in chronological order; the jumping device of the interactive nodes in the interactive task includes a transceiver unit and a processing unit. The processing unit is configured to determine, when at the i-th interaction node, whether to coordinate the interactive events preceding the i-th interaction node, wherein the i-th interaction node is any one of the plurality of interaction nodes; The transceiver unit is configured to, if so, obtain the first voice information collected by the user terminal from the user terminal, wherein the first voice information is the voice information used by the user for overall planning. The processing unit is used to determine the first overall planning content based on the first voice information; The processing unit is used to determine whether the first overall planning content matches the preset overall planning content at the i-th interaction node; The processing unit is configured to, if not, determine a second overall planning content based on the preset overall planning content and the first overall planning content, wherein the second overall planning content is the overall planning content other than the first overall planning content in the preset overall planning content; The transceiver unit is used to obtain the target branch interaction plot corresponding to the second overall planning content and the i-th interaction node, including: If the number of the second coordinated content is one, then the first necessity degree for coordinating the second coordinated content is determined. If the first necessity degree is greater than or equal to the first preset threshold, then the branch interaction plot corresponding to the second coordinated content and the i-th interaction node is taken as the target branch interaction plot. If there are multiple second-coordinated contents, then a second necessity degree is determined for each second-coordinated contents; multiple fourth-coordinated contents are determined based on the second necessity degree of each second-coordinated contents, wherein the multiple fourth-coordinated contents are the second-coordinated contents whose second necessity degree is greater than or equal to a first preset threshold; the interactive plot corresponding to each fourth-coordinated contents is determined; the playback time of each fourth-coordinated contents in the corresponding interactive plot is determined; the multiple fourth-coordinated contents are sorted in order of playback time from front to back to obtain the playback order of each fourth-coordinated contents; the importance of each fourth-coordinated contents is determined based on a first mapping relationship between the pre-established playback order and the importance of preset coordinated contents; the first matching degree between each fourth-coordinated contents and the corresponding interactive plot is determined; the importance of each fourth-coordinated contents is determined based on the importance of each fourth-coordinated contents and the first matching degree; the target fourth-coordinated contents and the branch interactive plot corresponding to the i-th interactive node are taken as the target branch interactive plot, wherein the target fourth-coordinated contents are the fourth-coordinated contents with the highest importance among the multiple fourth-coordinated contents; The processing unit is used to enter the branch interaction node corresponding to the target branch interaction plot, so that the user terminal can play the target branch interaction plot. The transceiver unit is used to send a first prompt message to the user terminal when it is determined that the user terminal has finished playing the target side interactive plot. The first prompt message is used to prompt the user to coordinate the target side interactive plot. The transceiver unit is used to obtain second voice information collected by the user terminal from the user terminal. The second voice information is the voice information of the user in coordinating the target side interaction plot. The processing unit is used to determine the third overall planning content based on the second voice information; The processing unit is used to determine whether the third overall planning content matches the second overall planning content; The processing unit is configured to proceed to the (i+1)th interactive scene if the condition is met.

6. An electronic device, characterized in that, include: A processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-5.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method for processing heterogeneous plot nodes in voice interaction novel and related device

    CN115357704A