An information processing method, apparatus and related device
By acquiring user responses through the terminal devices of the human-computer interaction system and outputting customized audio information based on the server response messages, the problem of user fatigue is solved, and the focus and user experience of interactive projects are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN RENMA INTERACTIVE TECH CO LTD
- Filing Date
- 2023-04-20
- Publication Date
- 2026-04-28
AI Technical Summary
In human-computer interaction systems, users are prone to fatigue after prolonged interaction, leading to decreased interest in interaction and negatively impacting the user experience.
The system obtains the user's actual response through the terminal device of the human-computer interaction system, and determines whether to output customized audio information based on the server's response message in order to attract the user's attention and improve concentration.
Effectively attract user attention, increase user focus in interactive projects, and enhance the interactive experience.
Smart Images

Figure CN116469386B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of general data processing technology in the Internet industry, and in particular to an information processing method, apparatus and related equipment. Background Technology
[0002] With the rapid development of science and technology, human-computer interaction systems have emerged. These systems consist of servers and terminal devices, allowing users to complete interactive projects. These projects include interactive novels, stories, and games. However, when the interactive content is monotonous or after prolonged use, users may experience fatigue, leading to decreased interest and a poorer user experience. Therefore, improving user focus during interactive projects has become a pressing technical challenge. Summary of the Invention
[0003] This application provides an information processing method in which the terminal device of the interactive system can obtain the response message sent by the terminal device and determine whether to output the target customized audio information at the target first plot node based on the response message, thereby effectively attracting the user's attention and improving the user's focus when performing interactive projects.
[0004] In a first aspect, embodiments of this application provide an information processing method applied to a terminal device of a human-computer interaction system. The human-computer interaction system further includes a server, which has preset interactive projects. The method includes: outputting target machine output content corresponding to a target first plot node in a target interactive scenario of the interactive project. The interactive novel includes an interactive script, which includes multiple interactive scenarios. Each interactive scenario includes multiple second plot nodes, each second plot node including machine output content and expected user response content. All second plot nodes in the interactive script include at least one first plot node. Each first plot node contains customized audio information matching the interactive scenario in which it is located. The customized audio information differs from the basic audio information contained in the content of the interactive scenario in which each first plot node is located. The basic audio information contained in the content of the interactive scenario corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters. The method also involves obtaining the actual user response content of the user to the target machine output content and sending the actual user response content to the server. If a first response message is received from the server regarding the actual user's response, then target-customized audio information matching the interactive plot where the target first plot node is located, and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node, are output. The first response message is sent by the server when it determines that the user is fatigued based on the actual user's response. If a second response message is received from the server regarding the actual user's response, then it is determined whether the user's continuous interaction time is greater than a preset interaction time. The second response message is sent by the server when it determines that the user is not fatigued based on the actual user's response. If the continuous interaction time is equal to or greater than the preset interaction time, then the target-customized audio information and the target basic audio information are output. If the continuous interaction time is less than the preset interaction time, then the target-customized audio information is not output, and the target basic audio information is output instead.
[0005] In this embodiment, the terminal device of the human-computer interaction system can obtain the actual user response to the target machine's output content and send it to the server. Then, the terminal device can receive a response message from the server regarding the actual user response. Further, the terminal device can determine, based on the response message, whether to output target-customized audio information at the target first plot node in the target interactive scenario of the interactive project. Using the above method, the terminal device of the interactive system can determine, based on the response message, to output target-customized audio information at the target first plot node, thereby effectively attracting the user's attention and improving the user's focus when engaging in interactive projects.
[0006] In conjunction with the first aspect, in one feasible implementation, user fatigue is determined by the server when it determines that the response duration corresponding to the actual user's response content is greater than a preset response duration. The response duration corresponding to the actual user's response content is determined by the time the actual user's response content is received and the time the target machine outputs the content. User fatigue is not determined by the server when it determines that the response duration corresponding to the actual user's response content is less than or equal to the preset response duration.
[0007] In conjunction with the first aspect, in one feasible implementation, user fatigue is determined by the server when it determines that the frequency of occurrence of the target word is greater than a preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, and when the server determines that the completeness of the response corresponding to the actual user response is less than or equal to a preset completeness, wherein the completeness of the response corresponding to the actual user response is used to indicate the degree of fit between the actual user response and the target machine output, and N is a positive integer greater than or equal to 1. User fatigue is not determined by the server when it determines that the frequency of occurrence of the target word is less than or equal to the preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, or when the server determines that the completeness of the response corresponding to the actual user response is greater than the preset completeness.
[0008] In conjunction with the first aspect, in one feasible implementation, user fatigue is determined by the server when it finds that the user's current tone level, determined by a preset tone recognition model and the actual user's response content, is lower than the historical tone level determined by the preset tone recognition model and the user's historical actual user response content to the first machine output content in the target interaction scenario. The tone level indicates the degree of positivity with which the user responds to the machine output content. The absence of user fatigue is generated by the server when it determines that the current tone level is equal to or higher than the historical tone level.
[0009] Secondly, this application provides an information processing method applied to a server of a human-computer interaction system, which further includes a terminal device for users to perform interactive projects. The method includes: receiving actual user response content sent by the terminal device, wherein the actual user response content is an interactive script for the interactive project, the interactive script including one or more interactive plots, each interactive plot including multiple interactive scenes, each interactive scene including multiple second plot nodes, each second plot node including machine output content and expected user response content, all second plot nodes in the interactive script including at least one first plot node, each first plot node containing customized audio information matching the interactive scene to which each first plot node is located, the customized audio information being different from the basic audio information contained in the content of the interactive scene corresponding to each first plot node, the basic audio information contained in the content of the interactive scene corresponding to each first plot node including narration audio information and / or dialogue information of non-user-played characters. The method also involves determining whether the user is fatigued based on the actual user response content. If it is determined that the user is fatigued, a first response message is generated and sent to the terminal device. The first response message is used by the terminal device to determine whether to output target customized audio data matching the interactive plot of the target first plot node and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node. If it is determined that the user is not fatigued, a second response message is generated and sent to the terminal device. The second response message is used by the terminal device to determine whether the user's continuous interaction time exceeds a preset interaction time.
[0010] In conjunction with the second aspect, in one feasible implementation, the method further includes: if it is determined that the interactive project includes multiple interactive storylines, then the last storyline node of each of the multiple interactive storylines is determined as a first storyline node. If it is determined that the interactive project includes one interactive storyline, then the content length of the interactive storyline is determined. A first reference interaction duration of the interactive storyline is determined based on the content length of the interactive storyline. The number of first storyline nodes corresponding to the interactive storyline is determined to be M based on the first reference interaction duration, where M is a positive integer greater than or equal to 1. A second reference interaction duration of each interactive plot in the multiple interactive plots included in the interactive storyline is obtained. M target interactive plots are determined from the multiple interactive plots based on the second reference interaction duration of each interactive plot, wherein the second reference interaction duration of the M target interactive plots is less than the second reference interaction duration of the interactive plots other than the M target interactive plots in the multiple interactive plots. The last storyline node of each target interactive plot in the M target interactive plots is determined as a first storyline node, and customized audio information matching the interactive plot to which each first storyline node is located is set for each of the M first storyline nodes.
[0011] In conjunction with the second aspect, in one feasible implementation, determining whether the user is fatigued based on the actual user response content includes: obtaining the reception time of the actual user response content; obtaining the output time of the target machine's output content; determining the response duration corresponding to the actual user response content based on the reception time of the actual user response content and the output time of the target machine's output content; determining whether the response duration is greater than a preset response duration; if the response duration is greater than the preset response duration, then the user is determined to be fatigued; if the response duration is less than or equal to the preset response duration, then the user is determined not to be fatigued.
[0012] In conjunction with the second aspect, in one feasible implementation, determining whether the user is fatigued based on the actual user response content includes: obtaining historical user response content corresponding to N machine output contents before the target first plot node, where N is a positive integer greater than or equal to 1; determining the occurrence frequency of the target word based on the actual user response content and the historical user response content; determining the response completeness corresponding to the actual user response content, where the response completeness indicates the degree of fit between the actual user response content and the target machine output content; if the occurrence frequency of the target word is determined to be greater than a preset frequency, and the response completeness is less than or equal to a preset response completeness, then the user is determined to be fatigued. If the occurrence frequency of the target word is determined to be less than or equal to the preset frequency, or the response completeness is greater than the preset response completeness, then the user is determined not to be fatigued.
[0013] In conjunction with the second aspect, in one feasible implementation, determining whether the user is fatigued based on the actual user response content includes: determining the user's current tone level based on the actual user response content using a preset tone recognition model, wherein the tone level indicates the degree of positivity of the user's response to the machine output content; obtaining the user's historical user response content to the first machine output content in the target interactive scenario; determining the user's historical tone level based on the historical user response content using the preset tone recognition model; determining whether the current tone level is lower than the historical tone level; if the current tone level is lower than the historical tone level, then the user is determined to be fatigued; if the current tone level is equal to or higher than the historical tone level, then the user is determined not to be fatigued.
[0014] Thirdly, embodiments of this application provide an information processing device, which is a terminal device of a human-computer interaction system. The human-computer interaction system further includes a server, which has preset interactive projects. The device includes: an output unit, used to output target machine output content corresponding to a target first plot node in a target interactive scenario of the interactive project, wherein the interactive project includes an interactive script, the interactive script includes multiple interactive scenarios, each interactive scenario includes multiple second plot nodes, each second plot node includes machine output content and expected user response content, all second plot nodes included in the interactive script include at least one first plot node, each of the at least one first plot node contains customized audio information matching the interactive scenario in which each first plot node is located, the customized audio information is different from the basic audio information contained in the content of the interactive scenario corresponding to each first plot node, the basic audio information contained in the content of the interactive scenario corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters. A processing unit is used to obtain the actual user response content of the user to the target machine output content and send the actual user response content to the server. The processing unit is configured to, upon receiving a first response message from the server regarding the actual user's response, output target-customized audio information matching the interactive plot where the target first plot node is located, and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node, wherein the first response message is sent by the server when it is determined that the user is fatigued based on the actual user's response. The processing unit is also configured to, upon receiving a second response message from the server regarding the actual user's response, determine whether the user's continuous interaction duration is greater than a preset interaction duration, wherein the second response message is sent by the server when it is determined that the user is not fatigued based on the actual user's response. Furthermore, the processing unit is configured to, if it is determined that the continuous interaction duration is equal to or greater than the preset interaction duration, output the target-customized audio information and the target basic audio information. Finally, the processing unit is configured to, if it is determined that the continuous interaction duration is less than the preset interaction duration, not output the target-customized audio information, but output the target basic audio information instead.
[0015] In conjunction with the third aspect, in one feasible implementation, user fatigue is determined by the server when it determines that the response duration corresponding to the actual user's response content is greater than a preset response duration. The response duration corresponding to the actual user's response content is determined by the time the actual user's response content is received and the time the target machine outputs the content. User fatigue is not determined by the server when it determines that the response duration corresponding to the actual user's response content is less than or equal to the preset response duration.
[0016] In conjunction with the third aspect, in one feasible implementation, user fatigue is determined by the server when it determines that the frequency of occurrence of the target word is greater than a preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, and when the server determines that the completeness of the response corresponding to the actual user response is less than or equal to a preset completeness. Here, the completeness of the response corresponding to the actual user response indicates the degree of fit between the actual user response and the target machine output, and N is a positive integer greater than or equal to 1. The absence of user fatigue is determined by the server when it determines that the frequency of occurrence of the target word is less than or equal to the preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, or when the server determines that the completeness of the response corresponding to the actual user response is greater than the preset completeness.
[0017] In conjunction with the third aspect, in one feasible implementation, user fatigue is determined by the server when it determines that the user's current tone level, determined by a preset tone recognition model and the actual user's response content, is lower than the historical tone level determined by the preset tone recognition model and the user's historical actual user response content to the first machine output content in the target interaction scenario. The tone level indicates the degree of positivity with which the user responds to the machine output content. The absence of user fatigue is generated by the server when it determines that the current tone level is equal to or higher than the historical tone level.
[0018] Fourthly, embodiments of this application provide an information processing apparatus, which is a server for a human-computer interaction system, the human-computer interaction system further including a terminal device. The apparatus includes: a receiving unit, configured to receive actual user response content sent by the terminal device, wherein the actual user response content is the user's response to the target machine output content corresponding to a target first plot node in a target interactive scenario of an interactive project; the interactive novel includes an interactive script, the interactive script includes one or more interactive plots, each interactive plot includes multiple interactive scenarios, each interactive scenario includes multiple second plot nodes, each second plot node includes machine output content and expected user response content, all second plot nodes included in the interactive script include at least one first plot node, each of the at least one first plot node contains customized audio information matching the interactive scenario in which each first plot node is located, the customized audio information and the basic audio information contained in the content of the interactive scenario corresponding to each first plot node include narration and / or dialogue information of non-user-played characters; and a processing unit, configured to determine whether the user is fatigued based on the actual user response content. The processing unit is configured to, if it is determined that the user is fatigued, generate a first response message and send the first response message to the terminal device, wherein the first response message is used by the terminal device to determine whether to output target customized audio data matching the interactive plot where the target first plot node is located, and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node. The processing unit is configured to, if it is determined that the user is not fatigued, generate a second response message and send the second response message to the terminal device, wherein the second response message is used by the terminal device to determine whether the user's continuous interaction time is greater than a preset interaction time.
[0019] In conjunction with the fourth aspect, in one feasible implementation, the apparatus further includes: a determining unit and an acquiring unit. The processing unit is configured to, if it is determined that the interactive project includes multiple interactive storylines, determine the last storyline node of each of the multiple interactive storylines as a first storyline node. The processing unit is configured to, if it is determined that the interactive project includes one interactive storyline, determine the content length of the interactive storyline. The determining unit is configured to determine a first reference interaction duration of the interactive storyline based on its content length. The determining unit is configured to determine the number of first storyline nodes corresponding to the interactive storyline as M based on the first reference interaction duration, where M is a positive integer greater than or equal to 1. The acquiring unit is configured to acquire the second reference interaction duration of each interactive plot among the multiple interactive scenes included in the interactive storyline. The determining unit is configured to determine M target interactive plots from the multiple interactive plots based on the second reference interaction duration of each interactive plot, wherein the second reference interaction duration of each of the M target interactive plots is less than the second reference interaction duration of all interactive plots other than the M target interactive plots. The processing unit is configured to determine the last plot node of each of the M target interactive plots as a first plot node, and to set customized audio information for each of the M first plot nodes that matches the interactive plot in which each first plot node is located.
[0020] In conjunction with the fourth aspect, in one feasible implementation, the acquisition unit is used to acquire the reception time of the actual user's response content. The acquisition unit is also used to acquire the output time of the target machine's output content. The determining unit is used to determine the response duration corresponding to the actual user's response content based on the reception time of the actual user's response content and the output time of the target machine's output content. The determining unit is used to determine whether the response duration is greater than a preset response duration. The processing unit is used to determine that the user is fatigued if the response duration is determined to be greater than the preset response duration. The processing unit is used to determine that the user is not fatigued if the response duration is determined to be less than or equal to the preset response duration.
[0021] In conjunction with the fourth aspect, in one feasible implementation, the acquisition unit is used to acquire historical user response content corresponding to N machine output contents before the target first plot node, where N is a positive integer greater than or equal to 1. The determining unit is used to determine the frequency of occurrence of the target word based on the actual user response content and the historical user response content. The determining unit is used to determine the response completeness corresponding to the actual user response content, where the response completeness indicates the degree of fit between the actual user response content and the target machine output content. The processing unit is used to determine that the user is fatigued if the frequency of occurrence of the target word is greater than a preset frequency, and the response completeness is less than or equal to a preset response completeness. The processing unit is used to determine that the user is not fatigued if the frequency of occurrence of the target word is less than or equal to the preset frequency, or the response completeness is greater than the preset response completeness.
[0022] In conjunction with the fourth aspect, in one feasible implementation, the processing unit is configured to determine the user's current tone level based on the actual user response content using a preset tone recognition model, wherein the tone level indicates the degree of positivity of the user's response to the machine output content. The acquisition unit is configured to acquire the user's historical user response content to the first machine output content in the target interactive scenario. The processing unit is configured to determine the user's historical tone level based on the historical user response content using the preset tone recognition model. The determining unit is configured to determine whether the current tone level is lower than the historical tone level. The processing unit is configured to determine that the user is fatigued if the current tone level is determined to be lower than the historical tone level. The processing unit is configured to determine that the user is not fatigued if the current tone level is determined to be equal to or higher than the historical tone level.
[0023] Fifthly, embodiments of this application provide a computer-readable storage medium for storing a computer program. When the computer program is run on a computer, it causes the computer to execute the information processing method provided by any possible implementation of the first aspect, thereby achieving the beneficial effects of the information processing method provided by the first or second aspect.
[0024] Sixthly, embodiments of this application provide an electronic device that may include a processor and a memory, which are interconnected. The memory stores a computer program, and the processor is configured to execute the computer program to implement the information processing method provided in the first aspect, thereby achieving the beneficial effects of the information processing method provided in the first or second aspect.
[0025] By implementing the embodiments of the present invention, the terminal device of the human-computer interaction system can obtain the actual user response to the target machine's output content and send it to the server. Then, the terminal device can receive a response message from the server regarding the actual user response. Further, the terminal device can determine, based on the response message, whether to output target-customized audio information at the target first plot node in the target interactive scenario of the interactive project. Through the above method, the terminal device of the interactive system can determine, based on the response message, to output target-customized audio information at the target first plot node, thereby effectively attracting the user's attention and improving the user's concentration when engaging in interactive projects. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram of the structure of a human-computer interaction system provided in an embodiment of this application;
[0028] Figure 2 This is a flowchart illustrating an information processing method provided in an embodiment of this application;
[0029] Figure 3 This is a schematic diagram of an interactive item selection interface provided in an embodiment of this application;
[0030] Figure 4 This is a schematic diagram of the dialogue content of an interactive project provided in an embodiment of this application;
[0031] Figure 5 This is another flowchart illustrating an information processing method provided in an embodiment of this application;
[0032] Figure 6 This is a schematic diagram of the structure of an information processing device provided in an embodiment of this application;
[0033] Figure 7This is a schematic diagram of the structure of an information processing device provided in an embodiment of this application;
[0034] Figure 8 This is another structural schematic diagram of an information processing device provided in an embodiment of this application;
[0035] Figure 9 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0036] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0037] The terms "first," "second," etc., in the specification, claims, and accompanying 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 is not limited to the steps listed, but may optionally include steps not listed, or may optionally include other steps inherent to these processes, methods, products, or apparatuses.
[0038] In this document, the term "embodiment" means that a particular feature, structure, 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.
[0039] With the rapid development of artificial intelligence technology, users can interact with projects via voice. However, when the interactive content is rather bland or after prolonged use, users may experience interaction fatigue, leading to decreased interest and a reduced user experience. Therefore, the technical problem this application aims to solve is: how to improve user focus when engaging in interactive projects.
[0040] Interactive projects can include interactive scripts, which can include one or more interactive plots. Each interactive plot can include multiple interactive scenes, and each interactive scene can include multiple second plot nodes. Each second plot node can include machine output content and at least one expected user response. Interactive projects can be interactive novels, interactive stories, and interactive games. In this application embodiment, no specific limitations are placed on the implementation form of interactive projects. Taking interactive novels as an example, an interactive novel refers to a novel or script generated by a server using software as a medium, where readers participate in the creation process, following different plot development paths. Interactive novels do not involve reading literary works in a linear manner; at the end of each chapter, several narrative branches appear, allowing users to participate in the selection process. The server can generate plots along different branches based on user selections or content input, allowing the novel's plot to continue developing.
[0041] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a human-computer interaction system provided in an embodiment of this application. Figure 1 As shown, the human-computer interaction system 10 includes a terminal device 11 and a server 12, which are communicatively connected. The server 12 of the human-computer interaction system 10 may include a knowledge base and a human-computer dialogue engine. The server 12 may have preset interactive items, which may include interactive scripts. The knowledge base is used to store the interactive scripts. The server 12 can call the human-computer dialogue engine to interact with the user according to the interactive script. The terminal device 11 can be used to display the interface of the interactive items and can also be used for real-time interaction with the user. After the user selects a target interactive item according to their needs, the server 12 of the human-computer interaction system 10 can send the target interactive item to the terminal device 11 and call the human-computer dialogue engine to output the interactive script through the terminal device 11 according to the interactive script of the target interactive item. When reaching a plot node in the interactive script, the terminal device 11 can receive the machine output content contained in that plot node sent by the server 12. Then, the terminal device 11 can obtain the user's response to the machine output content and send the user's response to the server 12. Furthermore, server 12 can determine the plot direction of the interactive project based on the user's response and output the corresponding interactive project content.
[0042] In this embodiment, the terminal device 11 can be a smart terminal such as a smartphone, tablet computer, laptop computer, wearable device, in-vehicle terminal, or smart home device that allows users to read interactive novels. This application describes the application using a smartphone as an example. The server 12 can be a single server, a server cluster consisting of several servers, or a cloud computing service center. This embodiment does not impose specific limitations on the implementation of the terminal device 11 and the server 12.
[0043] The following describes an information processing method provided by an embodiment of this application.
[0044] Please see Figure 2 , Figure 2 This is a flowchart illustrating an information processing method provided in an embodiment of this application. The method is applied to, for example... Figure 1 The human-computer interaction system 10 shown includes a terminal device 11 and a server 12, with the server 12 pre-configured with interactive items. In this embodiment, the interactive items may contain multiple first plot nodes, and the methods executed by the terminal device 11 and the server 12 for each first plot node are similar. Therefore, this embodiment uses a specific first plot node as an example for description. Figure 2 As shown, the method may specifically include the following steps:
[0045] S201, The terminal device outputs the target machine output content corresponding to the first plot node of the target interactive project.
[0046] In some feasible implementations, the terminal device 11 of the human-computer interaction system 10 can output the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project. It should be noted that the interactive script includes at least one first plot node among all the second plot nodes. Each of these at least one first plot node may contain customized audio information matching the interactive plot in which each first plot node is located. This customized audio information differs from the basic audio information contained in the content of the interactive plot corresponding to each first plot node. The basic audio information contained in the content of the interactive plot corresponding to each first plot node may include narration audio information and / or dialogue information from non-user-played characters.
[0047] It should be further clarified that customized audio information can be existing music related to the content of the interactive plot corresponding to the first plot node, or it can be music created specifically for the interactive plot corresponding to the first plot node. Furthermore, customized audio information can be music whose style matches the interactive plot corresponding to the first plot node. Basic audio information can include narration introducing characters, locations, or food mentioned in the interactive plot corresponding to the first plot node, or it can include dialogue audio from characters (i.e., characters not played by the user) within the interactive plot of the interactive novel.
[0048] Optional, please see Figure 3 , Figure 3 This is a schematic diagram of an interactive item selection interface provided in an embodiment of this application. Taking an interactive novel as an example, the terminal device 11 can provide multiple interactive novels of different types for the user to choose from on the display interface of the terminal device 11. For example... Figure 3 As shown, the interactive novel genre options can include recommendations, historical fiction, martial arts, romance, etc. The recommendation genre options interface can include interactive novel A, interactive novel B, and interactive novel C. It should be noted that the interactive novels included in the recommendation genre options can be a list of interactive novel recommendations of various genres automatically generated by server 12 based on the user's historical reading records.
[0049] Furthermore, server 12 can determine the target interactive novel based on the user's selection. Then, server 12 can invoke the human-computer dialogue engine to send the interactive plot of the target interactive novel and the machine output content corresponding to the plot nodes in the interactive plot to terminal device 11 according to the interactive script. Further, when server 12 reaches the first target plot node of the target interactive plot according to the interactive script, terminal device 11 can obtain the target machine output content corresponding to the first target plot node in the target interactive plot of the target interactive novel sent by server 12. Then, terminal device 11 can output the target machine output content.
[0050] S202, The terminal device obtains the actual user response content of the user to the content output by the target machine.
[0051] In some feasible implementations, after the terminal device 11 outputs the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive novel, the terminal device 11 can obtain the user's actual user response content to the target machine output content.
[0052] For example, please see Figure 4 , Figure 4 This is a schematic diagram of the dialogue content of an interactive project provided in an embodiment of this application. For example... Figure 4As shown, it is assumed that the target machine output content corresponding to the first target plot node in the target interactive plot of the interactive project is "Do you think A is better or B is better?". After the terminal device 11 outputs the target machine output content "Do you think A is better or B is better?" corresponding to the first target plot node in the target interactive plot of the interactive project, the terminal device 11 can obtain the user's actual user response to the target machine output content: "I think A is better."
[0053] S203, The terminal device sends the actual user response content to the server.
[0054] In some feasible implementations, terminal device 11 may send the actual user response to the target machine's output to server 12.
[0055] S204, the server receives the actual user response content sent by the terminal device and determines whether the user is fatigued based on the actual user response content.
[0056] In some feasible implementations, server 12 can receive the actual user response content sent by terminal device 11 to the target machine's output content, and can determine whether the user is fatigued based on the received actual user response content.
[0057] In one optional implementation, after the server 12 receives the actual user response content sent by the terminal device 11 to the target machine's output content, the server 12 can obtain the reception time of the actual user response content and the output time of the target machine's output content. Then, the server 12 can determine the response duration corresponding to the actual user response content based on the reception time of the actual user response content and the output time of the target machine's output content. Further, the server 12 can determine whether the response duration corresponding to the actual user response content is greater than a preset response duration. Then, if the server 12 determines that the response duration corresponding to the actual user response content is greater than the preset response duration, the server 12 can determine that the user is fatigued. Further, if the server 12 determines that the response duration corresponding to the actual user response content is less than or equal to the preset response duration, the server 12 can determine that the user is not fatigued.
[0058] For example, let's assume the actual user's reply was received at 10:30:10 (i.e., 10:30:10), and the target machine's output was at 10:30:30 (i.e., 10:30:30). Let's assume the preset reply duration is 15 seconds. Server 12 can obtain the actual user's reply received at 10:30:10 and the target machine's output at 10:30:30. Then, based on these two times, server 12 can determine the actual user's reply duration to be 20 seconds. Furthermore, if server 12 determines that the actual user's reply duration of 20 seconds is greater than the preset reply duration of 15 seconds, then server 12 can conclude that the user is fatigued.
[0059] For example, suppose the actual user's reply is received at 10:30:10, and the target machine's output is at 10:30:15. Assume the preset reply duration is 15 seconds. Server 12 can obtain the actual user's reply received at 10:30:10 and the target machine's output at 10:30:15. Then, server 12 can determine the reply duration corresponding to the actual user's reply as 5 seconds based on these two times. Furthermore, server 12 can determine that the actual user's reply duration of 5 seconds is less than the preset reply duration of 15 seconds, therefore server 12 can conclude that the user is not fatigued.
[0060] In another optional implementation, after server 12 receives the actual user response content sent by terminal device 11 to the target machine output content, server 12 can obtain the historical user response content corresponding to the N machine output contents before the target first plot node. Here, N is a positive integer greater than or equal to 1. Then, server 12 can determine the frequency of occurrence of the target word based on the actual user response content and the historical user response content. In this embodiment, the target word can be "um", "oh", "right", "okay", etc. Specifically, after obtaining the historical user response content corresponding to the N machine output contents before the target first plot node, server 12 can determine the number of historical user response contents containing the target word in the N machine output contents. Then, server 12 can determine the total number K of user response contents containing the target word in the actual user response content and the historical user response content, where K is a positive integer less than or equal to N. Further, server 12 can determine the frequency of occurrence of the target word as K / (N+1).
[0061] For example, assuming N is 4, and that the number of historical user replies containing the target word in the historical user replies corresponding to the output content of the four machines before the target first plot node is 2. Assuming the target word appears in the actual user replies. Server 12 obtains the historical user replies corresponding to the output content of the four machines before the target first plot node. Then, server 12 can determine that the total number of user replies containing the target word in both the actual and historical user replies is 3. Further, server 12 can determine that the frequency of the target word is 0.6 (i.e., 3 / 5) based on the actual and historical user replies.
[0062] Furthermore, server 12 can determine the completeness of the response corresponding to the actual user's response based on the target machine's output content and the actual user's response content. Here, the completeness of the response corresponding to the actual user's response content is used to indicate the degree of similarity between the actual user's response content and the target machine's output content. Optionally, server 12 can determine the number of identical characters contained in the target machine's output content and the actual user's response content based on the target machine's output content and the actual user's response content. Further, server 12 can determine the completeness of the response corresponding to the actual user's response content based on the number of identical characters and the number of characters contained in the target machine's output content.
[0063] For example, suppose the target machine outputs "Do you think A is better or B is better?", and the actual user replies "I think A is better." Server 12 can determine that the number of identical characters in the target machine output and the actual user reply is 4. Then, server 12 can determine that the target machine output contains 9 characters. Further, server 12 can determine that the completeness of the reply corresponding to the actual user reply is 44% (i.e., 4 / 9) based on the number of identical characters (4) and the number of characters in the target machine output (9).
[0064] Furthermore, if server 12 determines that the frequency of occurrence of the target word is greater than a preset frequency, and that the completeness of the actual user's response is less than or equal to a preset response completeness, then server 12 can determine that the user is fatigued. Then, if server 12 determines that the frequency of occurrence of the target word is less than or equal to a preset frequency, or that the completeness of the actual user's response is greater than a preset response completeness, then server 12 can determine that the user is not fatigued.
[0065] In another alternative implementation, after server 12 receives the actual user response content sent by terminal device 11 to the target machine output content, server 12 can determine the user's current tone level based on the actual user response content using a preset tone recognition model. It should be noted that the tone level indicates the degree of enthusiasm with which the user responds to the machine output content. Then, server 12 can obtain the user's historical user response content to the first machine output content in the target interactive scenario. Further, server 12 can determine the user's historical tone level based on the historical user response content using a preset tone recognition model. Then, server 12 can determine whether the current tone level is lower than the historical tone level. Further, if server 12 determines that the current tone level is lower than the historical tone level, server 12 can determine that the user is fatigued. If server 12 determines that the current tone level is equal to or higher than the historical tone level, server 12 can determine that the user is not fatigued.
[0066] In specific implementation, server 12 can input the actual user response into a preset tone recognition model. Furthermore, server 12 can obtain the user's current tone level output by the preset tone recognition model. It should be noted that a higher tone level output by the preset tone recognition model indicates a higher level of user engagement in responding to the machine's output. Conversely, a lower tone level indicates a lower level of user engagement in responding to the machine's output, suggesting user fatigue. Then, server 12 obtains the user's historical response to the first machine output in the target interaction scenario. Furthermore, server 12 can input the historical user response into the preset tone recognition model. Then, server 12 can obtain the historical tone level output by the preset tone recognition model. Furthermore, server 12 can determine whether the current tone level is lower than the historical tone level. If server 12 determines that the current tone level is lower than the historical tone level, then server 12 can determine that user fatigue has occurred. Furthermore, if server 12 determines that the current tone level is equal to or higher than the historical tone level, then server 12 can determine that the user is not fatigued.
[0067] S205, if the server determines that the user is fatigued, it generates the first response message.
[0068] In some feasible implementations, if server 12 determines that a user is fatigued based on the actual user's response, server 12 can generate a first response message. It should be noted that the first response message is used by the terminal device to determine whether to output target-customized audio data that matches the interactive plot of the target first plot node, as well as the target basic audio information contained in the content of the interactive plot corresponding to the target first plot node.
[0069] It should be further noted that the response message may include a first identifier indicating that the user is fatigued or a second identifier indicating that the user is not fatigued. In the embodiments of this application, the first identifier may be "fatigue present", "T" or "0", etc., and the second identifier may be "no fatigue present", "F", "1", etc. The embodiments of this application do not impose specific limitations on the implementation form of the identifier information.
[0070] S206, the server sends the first response message to the terminal device.
[0071] In some feasible implementations, after server 12 determines that the user is fatigued and generates a first response message, server 12 may send the aforementioned first response message to terminal device 11.
[0072] S207 If the server determines that the user is not fatigued, it generates a second response message.
[0073] In some feasible implementations, if the server 12 determines, based on the actual user's response, that the user is not fatigued, then the server 12 can generate a second response message. It should be noted that the second response message is used by the terminal device to determine whether the user's continuous interaction time exceeds a preset interaction time.
[0074] S208, the server sends a second response message to the terminal device.
[0075] In some feasible implementations, after the server 12 determines that the user is not fatigued and generates a second response message, the server 12 may send the aforementioned second response message to the terminal device 11.
[0076] S209, if the terminal device receives a first response message from the server for the actual user's reply content, it outputs the target customized audio information that matches the interactive plot where the target first plot node is located, as well as the target basic audio information contained in the content of the interactive plot corresponding to the target first plot node.
[0077] In some feasible implementations, if the terminal device 11 receives a first response message from the server 12 for the actual user's reply content, the terminal device 11 can output customized audio information that matches the interactive plot where the target first plot node is located (for ease of distinction, it will be referred to as target customized information below) and basic audio information contained in the content of the interactive plot corresponding to the target first plot node (for ease of distinction, it will be referred to as target basic audio information below).
[0078] In one optional implementation, terminal device 11 can receive a response message sent by server 12 in response to the actual user's reply. Further, terminal device 11 can parse the received response message to determine the identification information contained within it. Then, if terminal device 11 determines that the response message contains first identification information indicating user fatigue, terminal device 11 can determine that the received response message sent by server 12 is the first response message. Further, terminal device 11 can output target-customized audio information matching the interactive plot where the target first plot node is located, as well as target basic audio information contained in the content of the interactive plot corresponding to the target first plot node.
[0079] S210, if the terminal device receives a second response message from the server regarding the actual user's reply, it determines whether the user's continuous interaction duration is greater than the preset interaction duration.
[0080] In some feasible implementations, if the terminal device 11 receives a second response message from the server 12 regarding the actual user's reply content, the terminal device 11 can determine whether the user's continuous interaction duration is greater than the preset interaction duration.
[0081] In one optional implementation, terminal device 11 may receive a response message from server 12 corresponding to the actual user's reply. Further, terminal device 11 may parse the received response message to determine the identification information contained within it. Then, if terminal device determines that the response message contains second identification information indicating that the user is not fatigued, terminal device may determine that the received response message from server 12 is the second response message.
[0082] Furthermore, the terminal device 11 can determine whether the user's continuous interaction duration exceeds a preset interaction duration. Specifically, the terminal device 11 can obtain the start time of outputting the target interactive item and the end time of outputting the first target storyline node. Then, the terminal device 11 can determine the user's continuous interaction duration based on the start and end times. Furthermore, the terminal device 11 can determine whether the user's continuous interaction duration exceeds a preset interaction duration.
[0083] S211, if the terminal device determines that the continuous interaction duration is equal to or greater than the preset interaction duration, it outputs the target customized audio information and the target basic audio information.
[0084] In some feasible implementations, if the terminal device 11 determines that the user's continuous interaction time is equal to or greater than the preset interaction time, the terminal device 11 can output the target customized audio information and the target basic audio information.
[0085] For example, suppose the starting time of the target interactive item output by terminal device 11 is 10:30, and the ending time of the first plot node output by terminal device 11 is 10:55. Assume the preset interaction duration is 20 minutes. Terminal device 11 can obtain the starting time of the target interactive item output as 10:30 and the ending time of the first plot node output as 10:55. Then, terminal device 11 can determine that the user's continuous interaction duration is 25 minutes based on the starting time 10:30 and the ending time 10:55. Further, terminal device 11 can determine that the user's continuous interaction duration of 25 minutes is greater than the preset interaction duration of 20 minutes. Then, terminal device 11 can output the target customized audio information and the target basic audio information.
[0086] S212, if the terminal device determines that the continuous interaction time is less than the preset interaction time, it will not output the target customized audio information, but will output the target basic audio information.
[0087] In some feasible implementations, if the terminal device 11 determines that the user's continuous interaction time is less than the preset interaction time, the terminal device 11 will not output the target customized audio information, but the terminal device 11 can output the target basic audio information.
[0088] For example, suppose the starting time of the target interactive item output by terminal device 11 is 10:30, and the ending time of the first target story node output by terminal device 11 is 10:45. Assume the preset interaction duration is 20 minutes. Terminal device 11 can obtain the starting time of the target interactive item output as 10:30 and the ending time of the first target story node output as 10:45. Then, terminal device 11 can determine that the user's continuous interaction duration is 15 minutes based on the starting time 10:30 and the ending time 10:45. Further, terminal device 11 can determine that the user's continuous interaction duration of 15 minutes is less than the preset interaction duration of 20 minutes. Then, terminal device 11 does not output the target customized audio information, but can output the target basic audio information.
[0089] In this embodiment, the server 12 of the human-computer interaction system 10 can determine whether the user is fatigued based on the actual user response to the target machine's output content, and generate a response message to send to the terminal device 11. Furthermore, the terminal device 11 can determine whether to output target-customized audio information at the target first plot node based on the received response message. Using the above method, outputting target-customized audio information at the target plot node during the user's interactive activity can effectively attract the user's attention and increase the user's interest in interaction.
[0090] Please see Figure 5, Figure 5 This is another flowchart illustrating an information processing method provided in an embodiment of this application. For example... Figure 2 As shown, prior to step S201, the method may further include the following steps:
[0091] S213, If it is determined that the interactive project includes multiple interactive storylines, then the last storyline node of each interactive storyline is determined as the first storyline node.
[0092] In some feasible implementations, if the server 12 determines that the interactive project includes multiple interactive storylines, the server 12 can determine the last storyline node of each interactive storyline as the first storyline node.
[0093] S214, If it is determined that the interactive project includes an interactive storyline, then determine the length of the interactive storyline content.
[0094] In some feasible implementations, if server 12 determines that an interactive item includes an interactive storyline, then server 12 can determine the content length of the interactive storyline.
[0095] In one optional implementation, taking an interactive novel as an example, after determining that the interactive novel includes an interactive storyline, server 12 can obtain the entire text of the interactive storyline. Furthermore, server 12 can determine the word count of the entire text based on this text; that is, it can determine the length of the interactive storyline based on the entire text.
[0096] S215, determine the first reference interaction duration of the interactive storyline based on the length of the interactive storyline content.
[0097] In some feasible implementations, server 12 can determine the first reference interaction duration of the interactive storyline based on the length of the interactive storyline content.
[0098] S216, Based on the first reference interaction duration, determine the number of first plot nodes corresponding to the interactive plot as M.
[0099] In some feasible implementations, server 12 can determine the number of first plot nodes corresponding to the interactive plot as M based on the first reference interaction duration of the interactive plot. It should be noted that M is a positive integer greater than or equal to 1.
[0100] In one optional implementation, server 12 may preset a setting rule for first plot nodes, which may include the expected time interval for each first plot node in the interactive project. Further, server 12 may determine the number of first plot nodes corresponding to the interactive plot as M based on the preset setting rule for first plot nodes and the first reference interaction duration of the interactive plot.
[0101] For example, let's assume the preset rule for setting the first plot node is that the expected time interval between each first plot node in the interactive project is 10 minutes. Let's assume the first reference reading time for the interactive plot is 1 hour. Server 12 can determine the number of first plot nodes corresponding to the interactive plot as 6 based on the first reference interaction time of 1 hour and the expected time interval of 10 minutes between each first plot node in the interactive project.
[0102] S217, obtain the second reference reading time for each interactive plot among the multiple interactive scenes included in the interactive storyline.
[0103] In some feasible implementations, server 12 may obtain a second reference interaction duration for each interactive plot among the multiple interactive plots included in the interactive storyline.
[0104] In one optional implementation, taking an interactive novel as an example, server 12 can obtain the main text content corresponding to each interactive plot among multiple interactive scenes included in the interactive storyline. Then, server 12 can determine the word count of the main text content corresponding to each interactive plot based on the main text content corresponding to each interactive plot. Furthermore, server 12 can determine a second reference interaction duration for each interactive plot based on the word count of the main text content corresponding to each interactive plot.
[0105] S218, determine M target interactive scenarios from multiple interactive scenarios based on the second reference interaction duration of each interactive scenario.
[0106] In some feasible implementations, server 12 can determine M target interactive events from multiple interactive events based on the second reference interaction duration of each interactive event in the interactive project. It should be noted that the second reference interaction duration of the aforementioned M target interactive events is less than the second reference interaction duration of the other interactive events in the multiple interactive events besides the aforementioned M target interactive events.
[0107] In one optional implementation, taking an interactive novel as an example, server 12 can obtain the main text content corresponding to each interactive plot in the interactive novel. Then, server 12 can determine the word count of the main text content corresponding to each interactive plot based on the word count. Further, server 12 can determine the second reference interaction duration for each interactive plot based on the word count of the main text content. Then, server 12 can determine the M interactive plots with the shortest second reference interaction duration from the multiple interactive plots contained in the interactive novel; that is, the second reference interaction duration of these M interactive plots is less than the second reference interaction duration of all other interactive plots in the multiple interactive plots of the interactive novel except for these M interactive plots. Further, server 12 can determine these M interactive plots as M target interactive plots.
[0108] S219, determine the last plot node of each of the M target interactive plots as the first plot node, and set customized audio information for each of the M first plot nodes that matches the interactive plot in which each first plot node is located.
[0109] In some feasible implementations, the server 12 can determine the last plot node of each of the above M target interactive plots as the first plot node, and the server 12 can set customized audio information for each of the above M first plot nodes that matches the interactive plot in which each first plot node is located.
[0110] In specific implementation, after server 12 determines the last plot node of each of the M target interactive plots as the first plot node, server 12 can determine the customized audio information corresponding to each first plot node based on the interactive plot to which each first plot node belongs. Furthermore, server 12 can set customized audio information matching the interactive plot to which each first plot node belongs for each of the M first plot nodes.
[0111] S220, the server sends the machine output content corresponding to the first story node of the target and the target customized audio information to the terminal device.
[0112] In some feasible implementations, after the server 12 sets customized audio information matching the interactive plot of each of the M first plot nodes, the server 12 can send the machine output content corresponding to the target first plot node and the target customized audio information corresponding to the target first plot node to the terminal device 11.
[0113] In this embodiment, the server 12 of the human-computer interaction system 10 can determine M first plot nodes based on the content length of one or more interactive plots included in the interactive project, and set customized audio information for each of the M first plot nodes that matches the interactive plot in which each first plot node is located. Using this method, customized audio information can be set for the plot nodes in the interactive project, thereby enriching the content of the interactive project and increasing its appeal to users.
[0114] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an information processing device provided in an embodiment of this application. The device is a terminal equipment of a human-computer interaction system, which also includes a server with preset interactive items. For example... Figure 6 As shown, the information processing device may include an output unit 61 and a processing unit 62.
[0115] In specific implementation, output unit 61 is used to output the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project. The interactive project includes an interactive script, which includes multiple interactive plots. Each interactive plot includes multiple second plot nodes. Each second plot node includes machine output content and expected user response content. All second plot nodes in the interactive script include at least one first plot node. Each first plot node contains customized audio information matching the interactive plot in which it is located. The customized audio information differs from the basic audio information contained in the content of the interactive plot corresponding to each first plot node. The basic audio information contained in the content of the interactive plot corresponding to each first plot node includes narration audio information and / or dialogue information from non-user-played characters. Processing unit 62 is used to obtain the actual user response content to the target machine output content and send the actual user response content to the server. Processing unit 62 is configured to, upon receiving a first response message from the server regarding the actual user's response, output target-customized audio information matching the interactive plot where the target first plot node is located, and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node. The first response message is sent by the server when it determines that the user is fatigued based on the actual user's response. Processing unit 62 is also configured to, upon receiving a second response message from the server regarding the actual user's response, determine whether the user's continuous interaction time is greater than a preset interaction time. The second response message is sent by the server when it determines that the user is not fatigued based on the actual user's response. Processing unit 62 is configured to, if it determines that the continuous interaction time is equal to or greater than the preset interaction time, output target-customized audio information and target basic audio information. Processing unit 62 is configured to, if it determines that the continuous interaction time is less than the preset interaction time, not output target-customized audio information, but output target basic audio information instead.
[0116] In one optional implementation, user fatigue is determined by the server when it determines that the response duration corresponding to the actual user's reply is greater than a preset response duration. The response duration corresponding to the actual user's reply is determined by the time the actual user's reply is received and the time the target machine outputs the content. User fatigue is not determined by the server when it determines that the response duration corresponding to the actual user's reply is less than or equal to the preset response duration.
[0117] In one optional implementation, user fatigue is determined by the server when it determines that the frequency of occurrence of the target word is greater than a preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, and when the server determines that the completeness of the response corresponding to the actual user response is less than or equal to a preset completeness. Here, the completeness of the response indicates the degree of fit between the actual user response and the target machine output, and N is a positive integer greater than or equal to 1. User fatigue is not determined by the server when it determines that the frequency of occurrence of the target word is less than or equal to a preset frequency based on the historical actual user responses corresponding to the N machine outputs preceding the target first plot node, or when the server determines that the completeness of the response corresponding to the actual user response is greater than a preset completeness.
[0118] In one optional implementation, user fatigue is determined by the server when it finds that the user's current tone level, determined by a preset tone recognition model and actual user responses, is lower than the historical tone level, determined by the preset tone recognition model and the user's historical responses to the first machine output content in the target interactive scenario. The tone level indicates the degree of positivity with which the user responds to the machine output content. The absence of user fatigue is determined by the server when it determines that the current tone level is equal to or higher than the historical tone level.
[0119] Please see Figure 7 , Figure 7 This is a schematic diagram of an information processing device provided in an embodiment of this application. The device is a server for a human-computer interaction system, which also includes terminal devices for users to perform interactive tasks. Figure 7 As shown, the information processing device may include a receiving unit 71 and a processing unit 72.
[0120] In a specific implementation, the receiving unit 71 is used to receive the actual user response content sent by the terminal device. The actual user response content is the user's response to the target machine output content corresponding to the target first plot node in the target interactive scenario of the interactive project. The interactive project includes an interactive script, which includes one or more interactive plots. Each interactive plot includes multiple interactive scenes, and each interactive scene includes multiple second plot nodes. Each second plot node includes machine output content and expected user response content. All second plot nodes in the interactive script include at least one first plot node. Each first plot node contains customized audio information matching the interactive scene to which it belongs. The customized audio information and the basic audio information contained in the content of the interactive scene corresponding to each first plot node include narration and / or dialogue information from non-user-played characters. The processing unit 72 is used to determine whether the user is fatigued based on the actual user response content. Processing unit 72 is configured to generate a first response message and send it to a terminal device if it determines that the user is fatigued. The first response message is used by the terminal device to determine whether the output of customized audio data matching the interactive plot of the target first plot node and the target basic audio information contained in the content of the interactive plot corresponding to the target first plot node are also valid. Processing unit 72 is also configured to generate a second response message and send it to the terminal device if it determines that the user is not fatigued. The second response message is used by the terminal device to determine whether the user's continuous interaction time exceeds a preset interaction time.
[0121] In one alternative implementation, please refer to Figure 8 , Figure 8 This is another structural schematic diagram of an information processing device provided in an embodiment of this application. For example... Figure 8As shown, the information processing device may further include: a determining unit 73 and an acquiring unit 74. The processing unit 72 is configured to, if the interactive project includes multiple interactive storylines, determine the last storyline node of each interactive storyline as a first storyline node. The processing unit 72 is configured to, if the interactive project includes one interactive storyline, determine the content length of the interactive storyline. The determining unit 73 is configured to determine a first reference interaction duration for the interactive storyline based on its content length. The determining unit 73 is configured to determine the number of first storyline nodes corresponding to the interactive storyline as M based on the first reference interaction duration, where M is a positive integer greater than or equal to 1. The acquiring unit 74 is configured to acquire the second reference interaction duration of each interactive scene among the multiple interactive scenes included in the interactive storyline. The determining unit 73 is configured to determine M target interactive scenes from the multiple interactive scenes based on the second reference interaction duration of each interactive scene, where the second reference interaction duration of the M target interactive scenes is less than the second reference interaction duration of all interactive scenes other than the M target interactive scenes. Processing unit 72 is used to determine the last plot node of each of the M target interactive plots as the first plot node, and to set customized audio information for each of the M first plot nodes that matches the interactive plot in which each first plot node is located.
[0122] In one optional implementation, the acquisition unit 74 is used to acquire the reception time of the actual user's reply content. The acquisition unit 74 is also used to acquire the output time of the target machine's output content. The determination unit 73 is used to determine the reply duration corresponding to the actual user's reply content based on the reception time of the actual user's reply content and the output time of the target machine's output content. The determination unit 73 is also used to determine whether the reply duration is greater than a preset reply duration. The processing unit 72 is used to determine that the user is fatigued if the reply duration is determined to be greater than the preset reply duration. The processing unit 72 is also used to determine that the user is not fatigued if the reply duration is determined to be less than or equal to the preset reply duration.
[0123] In one optional implementation, the acquisition unit 74 is used to acquire historical user responses corresponding to N machine output contents preceding the target first plot node, where N is a positive integer greater than or equal to 1. The determination unit 73 is used to determine the frequency of occurrence of the target word based on the actual user responses and historical user responses. The determination unit 73 is also used to determine the response completeness corresponding to the actual user responses, where the response completeness indicates the degree of fit between the actual user responses and the target machine output content. The processing unit 72 is used to determine user fatigue if the frequency of occurrence of the target word is greater than a preset frequency, and the response completeness is less than or equal to a preset response completeness. Alternatively, the processing unit 72 is used to determine that the user is not fatigued if the frequency of occurrence of the target word is less than or equal to a preset frequency, or the response completeness is greater than a preset response completeness.
[0124] In one optional implementation, processing unit 72 is configured to determine the user's current tone level based on the actual user response content using a preset tone recognition model, wherein the tone level indicates the degree of positivity of the user's response to the machine output content. Acquisition unit 74 is configured to acquire historical user response content for the first machine output content in the target interactive scenario. Processing unit 72 is configured to determine the user's historical tone level based on the historical user response content using the preset tone recognition model. Determination unit 73 is configured to determine whether the current tone level is lower than the historical tone level. Processing unit 72 is configured to determine that the user is fatigued if the current tone level is determined to be lower than the historical tone level. Processing unit 72 is configured to determine that the user is not fatigued if the current tone level is determined to be equal to or higher than the historical tone level.
[0125] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a terminal device as described in the above embodiments, and can be used to implement the steps of the interactive novel information processing method executed by the terminal device as described in the above embodiments. The electronic device may include: a processor 91, a memory 92, and a bus system 93.
[0126] The memory 92 includes, but is not limited to, RAM, ROM, EPROM, or CD-ROM, and is used to store related instructions and data. The memory 92 stores executable modules or data structures, or subsets thereof, or extended sets thereof:
[0127] Operation instructions: This includes various operation instructions used to perform various operations.
[0128] Operating system: includes various system programs used to implement various basic business functions and handle hardware-based tasks.
[0129] Figure 9 Only one memory is shown in the image; of course, multiple memory can be configured as needed.
[0130] like Figure 9 As shown, the electronic device may further include an input / output device 94, which may be a communication module or a transceiver circuit. In the embodiments of this application, the input / output device 94 is used to perform the transmission and reception process of data or signaling such as response messages involved in the embodiments.
[0131] Processor 91 may be a controller, CPU, general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in connection with the embodiments of this application. Processor 91 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of DSP and microprocessor, etc.
[0132] In practical applications, the various components of an electronic device are coupled together through a bus system 93. This bus system 93 includes not only a data bus but may also include a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9 The various buses are all labeled as Bus System 93. For ease of representation, in... Figure 9 The image shown is only schematic.
[0133] Please continue reading Figure 9 The electronic device may also be the server 12 in the above embodiments, which can be used to implement the steps of the interactive novel information processing method executed by the server 12 as described in the above embodiments.
[0134] It should be noted that in practical applications, the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application.
[0135] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memory.
[0136] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the methods or steps executed by the terminal device in the above embodiments.
[0137] This application also provides a computer program product that, when executed by a computer, implements the methods or steps executed by the terminal device in the above embodiments.
[0138] It should be noted that, for the sake of simplicity, all embodiments of the interactive novel information processing method described above are presented 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 preferred embodiments, and the actions involved are not necessarily essential to this application.
[0139] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, the disclosure, and the appended claims, will understand and implement other variations of the disclosed embodiments in carrying out this application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. While different dependent claims may recite certain measures, this does not imply that these measures cannot be combined to produce a good effect.
[0140] Those skilled in the art will understand that all or part of the steps in the various method embodiments of any of the above-described interactive novel information processing methods can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0141] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of an interactive novel information processing method, apparatus, and related equipment of this application. The descriptions of the embodiments above are intended to help understand the methods and core ideas of this application. At the same time, for those skilled in the art, based on the ideas of the interactive novel information processing method, apparatus, and related equipment of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
[0142] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0143] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above description is only a specific embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of this application should be included within the scope of protection of this application.
Claims
1. An information processing method, characterized in that, A terminal device for use in a human-computer interaction system, the human-computer interaction system further including a server, the server having preset interactive items, the method comprising: Output the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project, wherein the interactive project includes an interactive script, and the interactive script includes at least one first plot node among all the second plot nodes, and each of the at least one first plot node contains customized audio information that matches the interactive plot in which each first plot node is located, the customized audio information is different from the basic audio information contained in the content of the interactive plot corresponding to each first plot node, the basic audio information contained in the content of the interactive plot corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters, the interactive script includes one or more interactive plots, each of the multiple interactive plots includes multiple interactive plots, and each of the multiple interactive plots includes multiple second plot nodes; Obtain the actual user response content to the content output by the user in response to the target machine, and send the actual user response content to the server; If a first response message is received from the server in response to the actual user's reply, then target customized audio information matching the interactive plot where the target first plot node is located and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node are output. The first response message is sent by the server when it is determined that the user is fatigued based on the actual user's reply. If a second response message is received from the server in response to the actual user's reply, it is determined whether the user's continuous interaction time is greater than a preset interaction time. The second response message is sent by the server when it is determined from the actual user's reply that the user is not fatigued. If it is determined that the continuous interaction duration is equal to or greater than the preset interaction duration, then the target customized audio information and the target basic audio information are output. If it is determined that the continuous interaction duration is less than the preset interaction duration, then the target customized audio information will not be output, and the target basic audio information will be output instead.
2. The method according to claim 1, characterized in that, The user fatigue is determined by the server when it determines that the response duration corresponding to the actual user's response content is greater than the preset response duration. The response duration corresponding to the actual user's response content is determined by the time the actual user's response content is received and the time the target machine outputs the content. The determination that the user is not fatigued is made by the server when the response time corresponding to the actual user's response is less than or equal to the preset response time.
3. The method according to claim 1, characterized in that, The user fatigue is determined by the server when it determines that the frequency of occurrence of the target word is greater than a preset frequency based on the actual user response content and the historical actual user response content corresponding to the N machine output content before the target first plot node, and when the server determines that the response completeness corresponding to the actual user response content is less than or equal to a preset response completeness, wherein the response completeness corresponding to the actual user response content is used to indicate the degree of fit between the actual user response content and the target machine output content, and N is a positive integer greater than or equal to 1; The determination that the user is not fatigued is made by the server based on the actual user response content and the historical actual user response content corresponding to the N machine output content before the target first plot node, determining that the frequency of the target word is less than or equal to the preset frequency, or by the server determining that the completeness of the response corresponding to the actual user response content is greater than the preset response completeness.
4. The method according to claim 1, characterized in that, The user fatigue is determined by the server when it determines that the user's current tone level, determined by a preset tone recognition model and the actual user's response content, is lower than the historical tone level determined by the preset tone recognition model and the user's historical actual user response content to the first machine output content in the target interaction scenario. The tone level is used to indicate the degree of positivity of the user's response to the machine output content. The statement that the user is not fatigued is generated by the server when it determines that the current tone level is equal to or higher than the historical tone level.
5. An information processing method, characterized in that, A server used in a human-computer interaction system, the human-computer interaction system further including terminal devices, the method comprising: The system receives actual user response content sent by the terminal device, wherein the actual user response content is the user's response to the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project. The interactive project includes an interactive script, and all second plot nodes included in the interactive script include at least one first plot node. Each first plot node contains customized audio information that matches the interactive plot in which each first plot node is located. The customized audio information is different from the basic audio information contained in the content of the interactive plot corresponding to each first plot node. The basic audio information contained in the content of the interactive plot corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters. The interactive script includes one or more interactive plots, each of the multiple interactive plots includes multiple interactive plots, and each of the multiple interactive plots includes multiple second plot nodes. Determine whether the user is fatigued based on the actual user responses; If it is determined that the user is fatigued, a first response message is generated and sent to the terminal device. The first response message is used by the terminal device to determine and output target customized audio data that matches the interactive plot where the target first plot node is located, as well as target basic audio information contained in the content of the interactive plot corresponding to the target first plot node. If it is determined that the user is not fatigued, a second response message is generated and sent to the terminal device. The second response message is used by the terminal device to determine whether the user's continuous interaction time is greater than a preset interaction time.
6. The method according to claim 5, characterized in that, The method further includes: If it is determined that the interactive project includes multiple interactive storylines, then the last storyline node of each of the multiple interactive storylines is determined as the first storyline node; If it is determined that the interactive project includes an interactive storyline, then the content length of the interactive storyline is determined; The first reference interaction duration of the interactive storyline is determined based on the content length of the interactive storyline. The number of first plot nodes corresponding to the interactive plot is determined to be M based on the first reference interaction duration, where M is a positive integer greater than or equal to 1; Obtain the second reference interaction duration for each interactive plot among the multiple interactive scenarios included in the interactive storyline; Based on the second reference interaction duration of each interactive plot, M target interactive plots are determined from the plurality of interactive plots, wherein the second reference interaction duration of each of the M target interactive plots is less than the second reference interaction duration of the interactive plots other than the M target interactive plots in the plurality of interactive plots; The last plot node of each of the M target interactive plots is determined as the first plot node, and customized audio information matching the interactive plot in which each of the M first plot nodes is located is set for each first plot node.
7. An information processing device, characterized in that, The device is a terminal equipment of a human-computer interaction system, the human-computer interaction system further includes a server, the server has preset interactive items, and the device includes: An output unit is used to output the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project. The interactive project includes an interactive script, and all second plot nodes in the interactive script include at least one first plot node. Each first plot node contains customized audio information that matches the interactive plot in which each first plot node is located. The customized audio information is different from the basic audio information contained in the content of the interactive plot corresponding to each first plot node. The basic audio information contained in the content of the interactive plot corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters. The interactive script includes one or more interactive plots, each of the multiple interactive plots includes multiple interactive plots, and each of the multiple interactive plots includes multiple second plot nodes. The processing unit is used to obtain the actual user response content of the user to the content output by the target machine, and send the actual user response content to the server; The processing unit is configured to, if it receives a first response message from the server for the actual user's reply content, output target customized audio information that matches the interactive plot where the target first plot node is located, and target basic audio information contained in the content of the interactive plot corresponding to the target first plot node, wherein the first response message is sent by the server when it is determined that the user is fatigued based on the actual user's reply content. The processing unit is configured to determine whether the user's continuous interaction time is greater than a preset interaction time if it receives a second response message from the server regarding the actual user's response content. The second response message is sent by the server when it determines that the user is not fatigued based on the actual user's response content. The processing unit is configured to output the target customized audio information and the target basic audio information if it is determined that the continuous interaction duration is equal to or greater than the preset interaction duration. The processing unit is configured to, if it is determined that the continuous interaction duration is less than the preset interaction duration, not output the target customized audio information, but output the target basic audio information.
8. An information processing device, characterized in that, The device is a server for a human-computer interaction system, the interaction system further includes terminal equipment, and the device includes: A receiving unit is configured to receive actual user response content sent by the terminal device, wherein the actual user response content is the user's response to the target machine output content corresponding to the target first plot node in the target interactive plot of the interactive project. The interactive project includes an interactive script, and all second plot nodes included in the interactive script include at least one first plot node. Each first plot node contains customized audio information that matches the interactive plot in which each first plot node is located. The customized audio information is different from the basic audio information contained in the content of the interactive plot corresponding to each first plot node. The basic audio information contained in the content of the interactive plot corresponding to each first plot node includes narration audio information and / or dialogue information of non-user-played characters. The interactive script includes one or more interactive plots, each of the multiple interactive plots includes multiple interactive plots, and each of the multiple interactive plots includes multiple second plot nodes. The processing unit is used to determine whether the user is fatigued based on the actual user response content; The processing unit is configured to generate a first response message and send the first response message to the terminal device if it is determined that the user is fatigued. The first response message is used by the terminal device to determine that it outputs target customized audio data that matches the interactive plot where the target first plot node is located, as well as target basic audio information contained in the content of the interactive plot corresponding to the target first plot node. The processing unit is configured to generate a second response message and send the second response message to the terminal device if it is determined that the user is not fatigued. The second response message is used by the terminal device to determine whether the user's continuous interaction time is greater than a preset interaction time.
9. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 4 or 5 to 6.
10. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method according to any one of claims 1 to 4 or 5 to 6.
Citation Information
Patent Citations
Method for providing interactive game
US20230338862A1