Digital human dialogue processing method and device and program product

By detecting the priority and interference of conversation objects and adjusting the conversation behavior of digital people, it solves the problem of being unable to handle multi-person conversations in the existing technology and achieves a more realistic conversation experience.

CN118568216APending Publication Date: 2024-08-30MIGU CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410586166.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technology cannot handle multiple simultaneous conversations between digital people or between digital people and real people, resulting in conversation simulation being unable to provide a more realistic experience.

Method used

By detecting the dialogue information of multiple dialogue objects, determine the dialogue priority list, and adjust the digital human dialogue behavior according to the dialogue priority and interference, such as pausing or resuming the dialogue process, switching to high-priority dialogue objects, sending waiting reminders, etc.

Benefits of technology

It effectively handles simultaneous conversations between multiple people, provides users with a more realistic conversation experience, and improves the realism of digital human conversation simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568216A
    Figure CN118568216A
Patent Text Reader

Abstract

The invention discloses a digital human dialogue processing method and device and a program product, and the method comprises the steps: obtaining the dialogue information of each current dialogue object when detecting that a plurality of dialogue objects initiate dialogue requests to a digital human at the same time; determining a current dialogue priority list according to the dialogue information; wherein the dialogue priority list comprises the dialogue priority of each current dialogue object; in the dialogue process of the digital person and any dialogue object, the dialogue behavior of the digital person is adjusted according to the dialogue priority and the dialogue interference condition of the dialogue object in the current dialogue process; or, according to the current dialogue priority list and the dialogue state of the digital person, the dialogue behavior of the digital person is adjusted. According to the invention, the condition of simultaneous conversation of multiple persons can be effectively processed, and relatively real conversation experience is provided for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a digital human dialogue processing method, device and computer program product. Background Art

[0002] With the continuous development of artificial intelligence technology, digital humans are increasingly used in various interactive scenarios, such as virtual meetings, virtual speeches and other multi-digital human scenarios, as well as virtual tour guides, virtual commentators and other single-digital human scenarios. In the simulation of dialogue between digital humans or between digital humans and real people, the existing technology usually first determines the position of the current interlocutor who is having a dialogue with the digital human, and adjusts the digital human to face the current interlocutor. However, the existing technology has the problem of only being able to simulate one dialogue at a time, and thus cannot handle the situation where multiple people are having a dialogue at the same time, resulting in the inability of the digital human dialogue simulation to provide users with a more realistic dialogue experience. Summary of the invention

[0003] The present invention provides a digital human dialogue processing method, device and program product to solve the technical problem that the prior art cannot handle the situation of multiple people talking at the same time in the dialogue simulation between digital humans or between digital humans and real people.

[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention provides a digital human dialogue processing method, comprising:

[0005] When it is detected that several dialogue partners simultaneously initiate dialogue requests to the digital human, the dialogue information of each current dialogue partner is obtained;

[0006] Determine a current conversation priority list according to the conversation information; wherein the conversation priority list includes the conversation priority of each current conversation object;

[0007] During the conversation between the digital person and any dialogue partner, the conversation behavior of the digital person is adjusted according to the conversation priority and conversation interference of the dialogue partner in the current conversation process; or, the conversation behavior of the digital person is adjusted according to the current conversation priority list and the conversation status of the digital person.

[0008] As a preferred solution, during the conversation between the digital human and any dialogue partner, the method adjusts the conversation behavior of the digital human according to the dialogue priority and dialogue interference of the dialogue partner in the current conversation process, specifically including:

[0009] When a conversation interference object initiating a conversation request to the digital human is detected during the conversation between the digital human and any conversation object, it is determined that the conversation interference situation exists, and conversation interference information of the conversation interference object is obtained;

[0010] Determining the conversation priority of the current conversation interference object according to the conversation interference information;

[0011] The conversation behavior of the digital person is adjusted according to the conversation priority of the conversation partner and the conversation priority of the conversation interference partner in the current conversation process.

[0012] As a preferred solution, the dialogue behavior of the digital person is adjusted according to the dialogue priority of the dialogue object and the dialogue priority of the dialogue interference object in the current dialogue process, specifically including:

[0013] When the dialogue priority of the dialogue interfering object is higher than the dialogue priority of the dialogue object in the current dialogue process, obtaining the preset position information of the dialogue interfering object, and controlling the digital human to stop the current dialogue process;

[0014] According to the preset position information of the conversation interfering object, the direction of the digital human is adjusted, and the digital human is controlled to start a conversation with the conversation interfering object;

[0015] When the dialogue priority of the dialogue interfering object is not higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human is controlled to maintain the current dialogue process, and a waiting reminder message is sent to the dialogue interfering object.

[0016] As a preferred embodiment, the method further comprises:

[0017] When the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, the dialogue content of the current dialogue process and the dialogue behavior of the digital human are saved;

[0018] When it is detected that the conversation process between the digital human and the conversation interference object ends, the digital human is controlled to resume the conversation with the conversation object in the previous conversation process based on the saved conversation content and conversation behavior of the previous conversation process.

[0019] As a preferred solution, the method adjusts the conversation behavior of the digital person according to the current conversation priority list and the conversation status of the digital person during the conversation between the digital person and any conversation partner, specifically including:

[0020] When it is detected that the conversation state of the digital person is a conversation end state, the conversation priority of any one of the conversation objects is removed from the current conversation priority list, and based on the highest conversation priority in the current conversation priority list, the conversation object to be processed is determined;

[0021] Obtain the preset position information of the current dialogue object to be processed;

[0022] According to the preset position information of the current dialogue object to be processed, the direction of the digital human is adjusted, and the digital human is controlled to start a dialogue with the current dialogue object to be processed.

[0023] As a preferred solution, the conversation information includes volume, conversation triggering content and conversation waiting time; and determining the current conversation priority list according to the conversation information specifically includes:

[0024] Based on the conversation information and a preset weight value list, respectively obtain the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation object; wherein the weight value list stores weight values ​​corresponding to different volume intervals, weight values ​​corresponding to different conversation trigger contents and weight values ​​corresponding to different conversation waiting time intervals;

[0025] Determine the conversation priority of each current conversation partner based on the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation partner;

[0026] Sort the conversation priorities of the current conversation objects and generate a current conversation priority list.

[0027] As a preferred solution, the method specifically determines whether it is detected that several dialogue objects simultaneously initiate dialogue requests to the digital human through the following steps:

[0028] When the current dialogue scene is a virtual dialogue scene including a plurality of virtual dialogue objects, based on the preset position information of each virtual dialogue object, the dialogue voice of each virtual dialogue object is identified to obtain the dialogue text of each virtual dialogue object;

[0029] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0030] As a preferred solution, the method further specifically determines whether it is detected that several dialogue objects simultaneously initiate dialogue requests to the digital human through the following steps:

[0031] When the current dialogue scene is a non-virtual dialogue scene, a virtual three-dimensional scene corresponding to the current dialogue scene is constructed based on the depth camera;

[0032] Acquire a plurality of dialogue voices in the non-virtual dialogue scene, and determine the position information of each dialogue voice;

[0033] Using an image recognition algorithm to identify a plurality of speaking objects in the non-virtual dialogue scene, and respectively binding the identified speaking objects with a plurality of dialogue voices and their respective position information to obtain a speaking object recognition result;

[0034] Determining a plurality of virtual dialogue objects in the virtual three-dimensional scene according to the speaker recognition result;

[0035] Recognizing a number of the conversation voices to obtain the conversation texts of each virtual conversation partner;

[0036] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0037] A second aspect of an embodiment of the present invention provides a digital human dialogue processing device, comprising:

[0038] A dialogue information acquisition module is used to acquire the dialogue information of each current dialogue object when it is detected that several dialogue objects initiate dialogue requests to the digital human at the same time;

[0039] A dialogue priority determination module, used to determine a current dialogue priority list according to the dialogue information; wherein the dialogue priority list includes the dialogue priority of each current dialogue object;

[0040] The dialogue processing module is used to adjust the dialogue behavior of the digital person according to the dialogue priority and dialogue interference of the dialogue object in the current dialogue process during the dialogue between the digital person and any dialogue object; or to adjust the dialogue behavior of the digital person according to the current dialogue priority list and the dialogue status of the digital person.

[0041] A third aspect of an embodiment of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the digital human dialogue processing method described in any one of the first aspects.

[0042] Compared with the prior art, the beneficial effect of the embodiments of the present invention is that, during the conversation between the digital human and any dialogue partner, the conversation behavior of the digital human can be adjusted according to the conversation priority and conversation interference of the dialogue partner in the current conversation process, or the conversation behavior of the digital human can be adjusted according to the current conversation priority list and the conversation status of the digital human, thereby effectively handling the situation of multiple people talking at the same time and providing users with a more realistic conversation experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is a flow chart of a method for processing digital human dialogue in an embodiment of the present invention;

[0044] Figure 2 It is a flowchart of a preferred embodiment of the dialogue behavior adjustment provided by the present invention;

[0045] Figure 3 is a flow chart of adjusting the conversation behavior of a digital person based on the conversation priority of a conversation interference object in an embodiment of the present invention;

[0046] Figure 4 is a flow chart of another preferred embodiment of the dialogue behavior adjustment provided by the present invention;

[0047] Figure 5 is a flow chart of another preferred embodiment of the dialogue behavior adjustment provided by the present invention;

[0048] Figure 6 is a schematic diagram of a process for generating a conversation priority list in an embodiment of the present invention;

[0049] Figure 7 It is a structural diagram of a digital human dialogue processing device in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] See also Figure 1 , Figure 1 The first aspect of the embodiment of the present invention provides a digital human dialogue processing method, comprising the following steps S1 to S3:

[0052] Step S1, when it is detected that several dialogue partners simultaneously initiate dialogue requests to the digital human, the dialogue information of each current dialogue partner is obtained;

[0053] Step S2, determining a current conversation priority list according to the conversation information; wherein the conversation priority list includes the conversation priority of each current conversation partner;

[0054] Step S3, during the conversation between the digital person and any dialogue partner, the conversation behavior of the digital person is adjusted according to the conversation priority and conversation interference of the dialogue partner in the current conversation process; or, the conversation behavior of the digital person is adjusted according to the current conversation priority list and the conversation status of the digital person.

[0055] Specifically, considering that in a real conversation environment, people's choice of conversation partners and their behavior during the conversation process are usually affected by the conversation partner's conversation information, in order to improve the realism of the digital human conversation simulation, when the present embodiment detects that several conversation partners simultaneously initiate conversation requests to the digital human, the conversation information of each current conversation partner is first obtained, and then the current conversation priority list is determined. It is worth noting that the conversation priority list includes the conversation priority of each current conversation partner, thereby providing a basis for the selection of the current conversation partner. In one embodiment, assuming that two conversation partners are currently detected to initiate conversation requests to the digital human at the same time, in a real conversation environment, it is impossible to have conversations with multiple conversation partners at the same time, so it is necessary to select the conversation partner based on the conversation information of the two current conversation partners, for example, the conversation partner corresponding to the highest conversation priority in the current conversation priority list is used as the current conversation partner to be processed.

[0056] Furthermore, during the conversation between the digital human and any of the dialogue partners, the digital human may be disturbed or even interrupted by other dialogue partners. In order to provide users with a more realistic conversation experience, the digital human should provide corresponding feedback on the conversation interference according to the current conversation scenario. Specifically, this embodiment adjusts the conversation behavior of the digital human according to the conversation priority and conversation interference of the dialogue partner in the current conversation process; or, according to the current conversation priority list and the conversation status of the digital human, adjusts the conversation behavior of the digital human, so that when the conversation interference occurs during the conversation process, the digital human can provide corresponding behavioral feedback to avoid being stiff and rigid, which makes the conversation experience less realistic. In the case of multiple people talking at the same time, the conversation process with each dialogue partner can be processed in sequence based on the current conversation status to provide users with a more realistic conversation experience.

[0057] See also Figure 2 , Figure 2 The flowchart of a preferred embodiment of the dialogue behavior adjustment provided by the present invention is as follows. As a preferred solution, during the dialogue between the digital human and any dialogue object, the method adjusts the dialogue behavior of the digital human according to the dialogue priority and dialogue interference of the dialogue object in the current dialogue process, specifically including the following steps S31 to S33:

[0058] Step S31, when a conversation interference object initiating a conversation request to the digital human is detected during the conversation between the digital human and any conversation object, it is determined that the conversation interference situation exists, and conversation interference information of the conversation interference object is obtained;

[0059] Step S32, determining the conversation priority of the current conversation interference object according to the conversation interference information;

[0060] Step S33, adjusting the conversation behavior of the digital person according to the conversation priority of the conversation partner and the conversation priority of the conversation interference partner in the current conversation process.

[0061] Specifically, during the conversation between the digital human and any dialogue object, if any dialogue object initiates a conversation request, such as sending "hello", "hi", "listen to me", "excuse me", "sorry", "interrupt" or directly calling the digital human's name, it is considered to interfere with the current conversation process. Therefore, the dialogue object at this time is regarded as a conversation interference object. In order to enable the digital human to make corresponding behavioral feedback for the conversation interference situation at this time, this embodiment first obtains the conversation interference information of the conversation interference object, and determines the conversation priority of the current conversation interference object, so as to provide a basis for whether to suspend the current conversation process. For example, if the conversation priority of the current conversation interference object is higher than the conversation priority of the dialogue object in the current conversation process, it means that the conversation process of the current conversation interference object should be processed first, and the digital human should suspend the current conversation process and start the conversation process with the current conversation interference object; if the conversation priority of the current conversation interference object is not higher than the conversation priority of the dialogue object in the current conversation process, the digital human should maintain the current conversation process, so as to more realistically simulate the actual conversation scene and provide a more realistic conversation experience.

[0062] The embodiment of the present invention can identify conversation interference situations during the digital human conversation process, and adjust the digital human's conversation behavior based on the conversation priority of the conversation interference object, so that the digital human can make corresponding behavioral feedback according to the conversation interference situation, which significantly improves the realism of the conversation simulation.

[0063] See also Figure 3 , Figure 3 The flowchart of adjusting the dialogue behavior of the digital person based on the dialogue priority of the dialogue interference object in the embodiment of the present invention is as follows. As a preferred solution, the dialogue behavior of the digital person is adjusted according to the dialogue priority of the dialogue object in the current dialogue process and the dialogue priority of the dialogue interference object, which specifically includes the following steps S331 to S333:

[0064] Step S331, when the dialogue priority of the dialogue interfering object is higher than the dialogue priority of the dialogue object in the current dialogue process, obtaining the preset position information of the dialogue interfering object, and controlling the digital human to stop the current dialogue process;

[0065] Step S332, adjusting the orientation of the digital human according to the preset orientation information of the conversation interfering object, and controlling the digital human to start a conversation with the conversation interfering object;

[0066] Step S333, when the dialogue priority of the dialogue interference object is not higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human is controlled to maintain the current dialogue process, and a waiting reminder message is sent to the dialogue interference object.

[0067] Specifically, since the dialogue priority of the dialogue object in the current dialogue process is the highest dialogue priority in the dialogue priority list, when the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, it indicates that the current highest dialogue priority is changed to the dialogue priority of the dialogue interference object. At this time, the preset position information of the dialogue interference object is obtained, and the digital human is controlled to stop the current dialogue process. Furthermore, in a real dialogue environment, when people have a dialogue with the dialogue object, they usually face the dialogue object. Therefore, in order to improve the realism of the digital human dialogue simulation, this embodiment adjusts the direction of the digital human according to the preset position information of the dialogue interference object, so that the digital human turns to the dialogue interference object to be processed, and controls the digital human to start a dialogue with the dialogue interference object.

[0068] In one embodiment, the digital human may be in a sitting state or a standing state, or may be a half-body image. This embodiment does not specifically limit the image characteristics of the digital human, and the current orientation information of the digital human is a known value. When obtaining the preset orientation information of the dialogue interference object, the direction and angle to be rotated can be further confirmed, so as to control the digital human to rotate in the direction to be rotated to face the dialogue interference object through a step-by-step interpolation method. It is worth noting that the step-by-step interpolation method can control the rotation speed of the digital human, so as to more realistically simulate the process of dialogue switching, rather than abruptly facing the dialogue interference object.

[0069] In addition, when the conversation priority of the conversation interfering object is not higher than the conversation priority of the conversation object in the current conversation process, it indicates that the conversation priority of the current conversation interfering object is not the highest conversation priority or is not the only highest conversation priority. The digital human is controlled to maintain the current conversation process and send a waiting reminder message to the conversation interfering object, such as "wait a moment", "please wait a moment", etc.

[0070] In the embodiment of the present invention, when the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human can be controlled to stop the current dialogue process and turn to the dialogue interference object to start a dialogue with the dialogue interference object. When the dialogue priority of the dialogue interference object is not higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human can be controlled to maintain the current dialogue process and send a waiting reminder message to the dialogue interference object, thereby enabling the digital human to make corresponding behavioral feedback according to the dialogue interference situation and improving the realism of the behavioral feedback.

[0071] See also Figure 4 , Figure 4 1 is a flow chart of another preferred embodiment of the dialogue behavior adjustment provided by the present invention. As a preferred solution, the method further includes the following steps S34 to S35:

[0072] Step S34, when the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, the dialogue content of the current dialogue process and the dialogue behavior of the digital human are saved;

[0073] Step S35, when it is detected that the conversation process between the digital human and the conversation interference object ends, the digital human is controlled to resume the conversation with the conversation object in the previous conversation process based on the saved conversation content and conversation behavior of the previous conversation process.

[0074] Specifically, considering that in a real conversation environment, if people resume the conversation after the current conversation is interrupted, they should continue with the conversation content before the interruption. Therefore, in order to ensure the authenticity of the digital human conversation simulation, this embodiment saves the conversation content of the current conversation process and the digital human's conversation behavior when the conversation priority of the conversation interference object is higher than the conversation priority of the conversation object in the current conversation process. Exemplarily, the conversation behavior includes orientation, posture, etc. Furthermore, when it is detected that the conversation process between the digital human and the conversation interference object has ended, in order to make the conversation simulation appear real and natural, the digital human is controlled to resume the conversation with the conversation object in the previous conversation process based on the saved conversation content and conversation behavior of the previous conversation process. For example, assuming that in the previous conversation process, the digital human was in a standing state and facing the conversation object, the digital human is controlled to first resume the standing state, and then rotate to face the conversation object in a step-by-step interpolation manner, or the digital human is controlled to first rotate to face the conversation object in a step-by-step interpolation manner, and then resume the standing state. Further, assuming that the conversation content before the previous conversation process was stopped was today's weather conditions, the digital human is controlled to actively mention today's weather conditions when resuming the previous conversation process, such as "Sorry, let's continue. Today's weather is sunny, with a maximum temperature of 32 degrees Celsius."

[0075] When the current dialogue process is stopped due to dialogue interference, the embodiment of the present invention can save the current dialogue content and the dialogue behavior of the digital human, and after processing the dialogue process with the dialogue interference object, restore the dialogue with the dialogue object in the previous dialogue process based on the saved dialogue content and the dialogue behavior of the digital human, thereby further improving the realism of the digital human dialogue simulation.

[0076] See also Figure 5 , Figure 5This is a flow chart of another preferred embodiment of the dialogue behavior adjustment provided by the present invention. As a preferred solution, during the dialogue between the digital human and any dialogue object, the method adjusts the dialogue behavior of the digital human according to the current dialogue priority list and the dialogue state of the digital human, specifically including the following steps S36 to S38:

[0077] Step S36, when it is detected that the conversation state of the digital human is the conversation end state, the conversation priority of any one of the conversation objects is removed from the current conversation priority list, and based on the highest conversation priority in the current conversation priority list, the current conversation object to be processed is determined;

[0078] Step S37, obtaining the preset position information of the current dialogue object to be processed;

[0079] Step S38, adjusting the orientation of the digital human according to the preset orientation information of the current dialogue object to be processed, and controlling the digital human to start a dialogue with the current dialogue object to be processed.

[0080] Specifically, when it is detected that the conversation state of the digital person is the conversation ending state, and the number of the dialogue objects to be processed in the current conversation priority list is greater than 1, it means that there are still other dialogue objects waiting for conversation. Therefore, this embodiment first removes the conversation priority of the dialogue object in the current conversation process that has ended from the current conversation priority list, indicating that the dialogue object has been processed. Then, based on the highest conversation priority in the current conversation priority list, the current dialogue object to be processed is determined, and its preset orientation information is obtained. Furthermore, in order to ensure that the conversation simulation has a high sense of reality, the direction of the digital person is adjusted according to the preset orientation information. In one embodiment, in order to make the change of the direction of the digital person appear more real and natural, this embodiment adjusts the direction of the digital person in a stepwise interpolation manner. After the adjustment is completed, the digital person is controlled to start a conversation with the current dialogue object to be processed.

[0081] In one embodiment, when the digital human is controlled to start a conversation with any dialogue object, the digital human is also controlled to send a wake-up message to the dialogue object currently to be processed, such as "Hello", "Hi", "How can I help you", "Do you want to talk to me", etc. If the conversation waiting time of the dialogue object currently to be processed is greater than the preset waiting time threshold, the wake-up message can also be adjusted, such as "Sorry, I have kept you waiting for a long time, may I ask what I can do for you", "Sorry for the long wait, may I help you", etc. This embodiment will not be described in detail here. By controlling the digital human to send a wake-up message to the dialogue object currently to be processed, the opening of the dialogue process can be made more natural, thereby improving the user's dialogue experience.

[0082] See also Figure 6 , Figure 6 The flowchart of the conversation priority list generation in the embodiment of the present invention is as follows. As a preferred solution, the conversation information includes volume, conversation trigger content and conversation waiting time; the current conversation priority list is determined according to the conversation information, specifically including the following steps S21 to S23:

[0083] Step S21, based on the conversation information and a preset weight value list, respectively obtain the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation object; wherein the weight value list stores weight values ​​corresponding to different volume intervals, weight values ​​corresponding to different conversation trigger contents and weight values ​​corresponding to different conversation waiting time intervals;

[0084] Step S22, determining the conversation priority of each current conversation partner according to the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation partner;

[0085] Step S23, sorting the conversation priorities of the current conversation partners to generate a current conversation priority list.

[0086] Specifically, this embodiment uses volume, conversation triggering content and conversation waiting time as factors affecting the digital human's conversation behavior. It is worth noting that in a real conversation environment, people will autonomously respond to the direction of the sound and make behavioral feedback; as for the volume, the louder the sound, the more likely it is to attract people's attention; as for the conversation triggering content, some special content expressing attention, requests, etc., will often immediately affect the behavioral performance of the conversation. Therefore, this embodiment obtains the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each conversation object based on the conversation information of each conversation object and the preset weight value list. It is worth noting that for the conversation object with a louder volume, it should attract more attention, so the corresponding weight value is also higher; for different conversation trigger contents, such as "hello", "hi", "hello", "excuse me" or directly calling the name of the digital person, the corresponding weight values ​​are also different. For example, in a real conversation environment, the attention attracted by calling the name directly must be higher than the attention attracted by saying "hi", and accordingly, the weight value corresponding to the conversation trigger content of "calling the name directly" should also be greater than the weight value corresponding to the conversation trigger content of "hi"; for the conversation object with a longer conversation waiting time, in order to ensure its conversation experience, the corresponding conversation waiting time weight value should also be larger, so as to ensure that it is responded to earlier as the conversation waiting time increases. In one embodiment, the conversation priority of each current conversation object is determined by the following expression: W=V+N+T, wherein W represents the conversation priority, V represents the volume weight value, N represents the conversation trigger content weight value, and T represents the conversation waiting time weight value.

[0087] As a preferred solution, the method specifically determines whether it is detected that several dialogue objects simultaneously initiate dialogue requests to the digital human through the following steps:

[0088] When the current dialogue scene is a virtual dialogue scene including a plurality of virtual dialogue objects, based on the preset position information of each virtual dialogue object, the dialogue voice of each virtual dialogue object is identified to obtain the dialogue text of each virtual dialogue object;

[0089] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0090] It is worth noting that when the current dialogue scene is a virtual dialogue scene including several virtual dialogue objects, it indicates that the current scene is a virtual dialogue scene of a full digital person, such as a virtual studio, a virtual meeting, and the like, and the position information of each virtual object in the virtual dialogue scene is a value pre-stored by the management system. Based on the preset position information, the dialogue voice of each virtual dialogue object is obtained and identified, and the corresponding dialogue text is obtained. It should be noted that not all dialogue voices belong to initiating a dialogue request to a digital person, such as talking to oneself, or talking to other objects, etc. Therefore, this embodiment needs to detect whether there is a preset dialogue trigger content in each dialogue text, which can not only accurately identify the dialogue object to be processed, but also use the dialogue trigger content for the priority sorting of subsequent dialogue objects. When it is detected that there is a preset dialogue trigger content in several dialogue texts, it is determined that several dialogue objects are currently detected to initiate a dialogue request to the digital person at the same time.

[0091] As a preferred solution, the method further specifically determines whether it is detected that several dialogue objects simultaneously initiate dialogue requests to the digital human through the following steps:

[0092] When the current dialogue scene is a non-virtual dialogue scene, a virtual three-dimensional scene corresponding to the current dialogue scene is constructed based on the depth camera;

[0093] Acquire a plurality of dialogue voices in the non-virtual dialogue scene, and determine the position information of each dialogue voice;

[0094] Using an image recognition algorithm to identify a plurality of speaking objects in the non-virtual dialogue scene, and respectively binding the identified speaking objects with a plurality of dialogue voices and their respective position information to obtain a speaking object recognition result;

[0095] Determining a plurality of virtual dialogue objects in the virtual three-dimensional scene according to the speaker recognition result;

[0096] Recognizing a number of the conversation voices to obtain the conversation texts of each virtual conversation partner;

[0097] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0098] It is worth noting that when the current dialogue scene is a non-virtual dialogue scene, it indicates that there are real people involved in the current dialogue scene, such as dialogue scenes such as virtual shopping guides and virtual tour guides. Considering that the orientation of the relevant dialogue objects is difficult to directly calculate or obtain, this embodiment first constructs a virtual three-dimensional scene corresponding to the current dialogue scene based on a depth camera. Specifically, the current non-virtual dialogue scene is scanned by a depth camera to generate depth information for each point, and then the surface mesh is reconstructed to complete the restoration of the virtual three-dimensional scene. Furthermore, several dialogue voices in the non-virtual dialogue scene are obtained to analyze the orientation information of each dialogue voice. For example, each dialogue voice is obtained through a pre-set multi-directional microphone and the orientation information of each is analyzed. Further, an image recognition algorithm is used to identify several speaking objects in a non-virtual dialogue scene. For example, several training images with speaking objects are used to train the image recognition model, and the trained image recognition algorithm is used to identify several speaking objects in a non-virtual dialogue scene. In order to clearly identify each virtual dialogue object in a virtual three-dimensional scene, it is necessary to bind the identified several speaking objects with the obtained several dialogue voices and their respective position information, so that based on the bound position information, each virtual dialogue object in the virtual three-dimensional scene can be confirmed, and based on the bound dialogue voices, the dialogue information of each virtual dialogue object can be confirmed. Further, the several dialogue voices are recognized to obtain the dialogue texts of each virtual dialogue object. Considering that not all dialogue voices belong to initiating a dialogue request to a digital human, when it is detected that there is a preset dialogue trigger content in several dialogue texts, such as "hello", "hi", "hello", "excuse me" or directly calling the name of the digital human, it is determined that several dialogue objects are currently detected to initiate a dialogue request to the digital human at the same time.

[0099] The embodiment of the present invention converts a non-virtual dialogue scene into a virtual dialogue scene based on a construction method of a virtual three-dimensional scene, thereby improving the applicability of the digital human dialogue processing process in the digital-real interaction situation.

[0100] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of a digital human dialogue processing device in an embodiment of the present invention. A second aspect of an embodiment of the present invention provides a digital human dialogue processing device, comprising:

[0101] The dialogue information acquisition module 701 is used to acquire the dialogue information of each dialogue object when it is detected that several dialogue objects initiate dialogue requests to the digital human at the same time;

[0102] A conversation priority determination module 702, configured to determine a current conversation priority list according to the conversation information; wherein the conversation priority list includes the conversation priority of each current conversation object;

[0103] The dialogue processing module 703 is used to adjust the dialogue behavior of the digital person according to the dialogue priority and dialogue interference of the dialogue object in the current dialogue process during the dialogue between the digital person and any dialogue object; or to adjust the dialogue behavior of the digital person according to the current dialogue priority list and the dialogue status of the digital person.

[0104] As a preferred solution, the dialogue processing module 703 is used to adjust the dialogue behavior of the digital human according to the dialogue priority and dialogue interference of the dialogue object in the current dialogue process during the dialogue between the digital human and any dialogue object, specifically including:

[0105] When a conversation interference object initiating a conversation request to the digital human is detected during the conversation between the digital human and any conversation object, it is determined that the conversation interference situation exists, and conversation interference information of the conversation interference object is obtained;

[0106] Determining the conversation priority of the current conversation interference object according to the conversation interference information;

[0107] The conversation behavior of the digital person is adjusted according to the conversation priority of the conversation partner and the conversation priority of the conversation interference partner in the current conversation process.

[0108] As a preferred solution, the dialogue processing module 703 is used to adjust the dialogue behavior of the digital human according to the dialogue priority of the dialogue object and the dialogue priority of the dialogue interference object in the current dialogue process, specifically including:

[0109] When the dialogue priority of the dialogue interfering object is higher than the dialogue priority of the dialogue object in the current dialogue process, obtaining the preset position information of the dialogue interfering object, and controlling the digital human to stop the current dialogue process;

[0110] According to the preset position information of the conversation interfering object, the direction of the digital human is adjusted, and the digital human is controlled to start a conversation with the conversation interfering object;

[0111] When the dialogue priority of the dialogue interfering object is not higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human is controlled to maintain the current dialogue process, and a waiting reminder message is sent to the dialogue interfering object.

[0112] As a preferred solution, the dialogue processing module 703 is further used for:

[0113] When the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, the dialogue content of the current dialogue process and the dialogue behavior of the digital human are saved;

[0114] When it is detected that the conversation process between the digital human and the conversation interference object ends, the digital human is controlled to resume the conversation with the conversation object in the previous conversation process based on the saved conversation content and conversation behavior of the previous conversation process.

[0115] As a preferred solution, the dialogue processing module 703 is used to adjust the dialogue behavior of the digital person according to the current dialogue priority list and the dialogue state of the digital person during the dialogue between the digital person and any dialogue object, specifically including:

[0116] When it is detected that the conversation state of the digital person is a conversation end state, the conversation priority of any one of the conversation objects is removed from the current conversation priority list, and based on the highest conversation priority in the current conversation priority list, the conversation object to be processed is determined;

[0117] Obtain the preset position information of the current dialogue object to be processed;

[0118] According to the preset position information of the current dialogue object to be processed, the direction of the digital human is adjusted, and the digital human is controlled to start a dialogue with the current dialogue object to be processed.

[0119] As a preferred solution, the conversation information includes volume, conversation triggering content and conversation waiting time; the conversation priority determination module 702 is used to determine the current conversation priority list according to the conversation information, specifically including:

[0120] Based on the conversation information and a preset weight value list, respectively obtain the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation object; wherein the weight value list stores weight values ​​corresponding to different volume intervals, weight values ​​corresponding to different conversation trigger contents and weight values ​​corresponding to different conversation waiting time intervals;

[0121] Determine the conversation priority of each current conversation partner based on the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation partner;

[0122] Sort the conversation priorities of the current conversation objects and generate a current conversation priority list.

[0123] As a preferred solution, the dialogue information acquisition module 701 is further used for:

[0124] When the current dialogue scene is a virtual dialogue scene including a plurality of virtual dialogue objects, based on the preset position information of each virtual dialogue object, the dialogue voice of each virtual dialogue object is identified to obtain the dialogue text of each virtual dialogue object;

[0125] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0126] As a preferred solution, the dialogue information acquisition module 701 is further used for:

[0127] When the current dialogue scene is a non-virtual dialogue scene, a virtual three-dimensional scene corresponding to the current dialogue scene is constructed based on the depth camera;

[0128] Acquire a plurality of dialogue voices in the non-virtual dialogue scene, and determine the position information of each dialogue voice;

[0129] Using an image recognition algorithm to identify a plurality of speaking objects in the non-virtual dialogue scene, and respectively binding the identified speaking objects with a plurality of dialogue voices and their respective position information to obtain a speaking object recognition result;

[0130] Determining a plurality of virtual dialogue objects in the virtual three-dimensional scene according to the speaker recognition result;

[0131] Recognizing a number of the conversation voices to obtain the conversation texts of each virtual conversation partner;

[0132] When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

[0133] A digital human dialogue processing device provided by an embodiment of the present invention can adjust the digital human's dialogue behavior according to the dialogue priority and dialogue interference situation of the dialogue object in the current dialogue process, or adjust the digital human's dialogue behavior according to the current dialogue priority list and the dialogue status of the digital human, during the dialogue process between the digital human and any dialogue object. It can effectively handle the situation of multiple people talking at the same time and provide users with a more realistic dialogue experience.

[0134] A third aspect of an embodiment of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the digital human dialogue processing method described in any embodiment of the first aspect.

[0135] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the terminal device.

[0136] The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the terminal device may include more or fewer components, or a combination of certain components, or different components, for example, the terminal device may also include an input / output device, a network access device, a bus, etc.

[0137] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0138] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0139] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0140] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A digital human dialogue processing method, It is characterized in that include: When it is detected that several dialogue partners simultaneously initiate dialogue requests to the digital human, the dialogue information of each current dialogue partner is obtained; Determine a current conversation priority list according to the conversation information; wherein the conversation priority list includes the conversation priority of each current conversation object; During the conversation between the digital person and any dialogue partner, the conversation behavior of the digital person is adjusted according to the conversation priority and conversation interference of the dialogue partner in the current conversation process; or, the conversation behavior of the digital person is adjusted according to the current conversation priority list and the conversation status of the digital person.

2. The digital human dialogue processing method according to claim 1, It is characterized in that The method adjusts the conversation behavior of the digital person according to the conversation priority and conversation interference of the conversation object in the current conversation process during the conversation between the digital person and any conversation object, specifically including: When a conversation interference object initiating a conversation request to the digital human is detected during the conversation between the digital human and any conversation object, it is determined that the conversation interference situation exists, and conversation interference information of the conversation interference object is obtained; Determining the conversation priority of the current conversation interference object according to the conversation interference information; The conversation behavior of the digital person is adjusted according to the conversation priority of the conversation partner and the conversation priority of the conversation interference partner in the current conversation process.

3. The digital human dialogue processing method as claimed in claim 2, It is characterized in that The step of adjusting the conversation behavior of the digital person according to the conversation priority of the conversation object and the conversation priority of the conversation interference object in the current conversation process specifically includes: When the dialogue priority of the dialogue interfering object is higher than the dialogue priority of the dialogue object in the current dialogue process, obtaining the preset position information of the dialogue interfering object, and controlling the digital human to stop the current dialogue process; According to the preset position information of the conversation interfering object, the direction of the digital human is adjusted, and the digital human is controlled to start a conversation with the conversation interfering object; When the dialogue priority of the dialogue interfering object is not higher than the dialogue priority of the dialogue object in the current dialogue process, the digital human is controlled to maintain the current dialogue process, and a waiting reminder message is sent to the dialogue interfering object.

4. The digital human dialogue processing method as claimed in claim 3, It is characterized in that The method further comprises: When the dialogue priority of the dialogue interference object is higher than the dialogue priority of the dialogue object in the current dialogue process, the dialogue content of the current dialogue process and the dialogue behavior of the digital human are saved; When it is detected that the conversation process between the digital human and the conversation interference object ends, the digital human is controlled to resume the conversation with the conversation object in the previous conversation process based on the saved conversation content and conversation behavior of the previous conversation process.

5. The digital human dialogue processing method according to claim 1, It is characterized in that The method adjusts the conversation behavior of the digital person according to the current conversation priority list and the conversation state of the digital person during the conversation between the digital person and any conversation object, specifically including: When it is detected that the conversation state of the digital person is a conversation end state, the conversation priority of any one of the conversation objects is removed from the current conversation priority list, and based on the highest conversation priority in the current conversation priority list, the conversation object to be processed is determined; Obtain the preset position information of the current dialogue object to be processed; According to the preset position information of the current dialogue object to be processed, the direction of the digital human is adjusted, and the digital human is controlled to start a dialogue with the current dialogue object to be processed.

6. The digital human dialogue processing method according to claim 1, It is characterized in that The conversation information includes volume, conversation triggering content and conversation waiting time; Determining the current conversation priority list according to the conversation information specifically includes: Based on the conversation information and a preset weight value list, respectively obtain the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation object; wherein the weight value list stores weight values ​​corresponding to different volume intervals, weight values ​​corresponding to different conversation trigger contents and weight values ​​corresponding to different conversation waiting time intervals; Determine the conversation priority of each current conversation partner based on the volume weight value, conversation trigger content weight value and conversation waiting time weight value of each current conversation partner; Sort the conversation priorities of the current conversation objects and generate a current conversation priority list.

7. The digital human dialogue processing method according to claim 1, It is characterized in that The method specifically determines whether it is detected that several dialogue objects initiate dialogue requests to the digital human at the same time through the following steps: When the current dialogue scene is a virtual dialogue scene including a plurality of virtual dialogue objects, based on the preset position information of each virtual dialogue object, the dialogue voice of each virtual dialogue object is identified to obtain the dialogue text of each virtual dialogue object; When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

8. The digital human dialogue processing method according to claim 1, It is characterized in that The method also specifically determines whether it is detected that several dialogue objects initiate dialogue requests to the digital human at the same time through the following steps: When the current dialogue scene is a non-virtual dialogue scene, a virtual three-dimensional scene corresponding to the current dialogue scene is constructed based on the depth camera; Acquire a plurality of dialogue voices in the non-virtual dialogue scene, and determine the position information of each dialogue voice; Using an image recognition algorithm to identify a plurality of speaking objects in the non-virtual dialogue scene, and respectively binding the identified speaking objects with a plurality of dialogue voices and their respective position information to obtain a speaking object recognition result; Determining a plurality of virtual dialogue objects in the virtual three-dimensional scene according to the speaker recognition result; Recognizing a number of the conversation voices to obtain the conversation texts of each virtual conversation partner; When it is detected that there are preset dialogue trigger contents in a plurality of the dialogue texts, it is determined that a plurality of dialogue objects are currently detected to initiate dialogue requests to the digital human at the same time.

9. A digital human dialogue processing device, It is characterized in that include: A dialogue information acquisition module is used to acquire the dialogue information of each current dialogue object when it is detected that several dialogue objects initiate dialogue requests to the digital human at the same time; A dialogue priority determination module, used to determine a current dialogue priority list according to the dialogue information; wherein the dialogue priority list includes the dialogue priority of each current dialogue object; The dialogue processing module is used to adjust the dialogue behavior of the digital person according to the dialogue priority and dialogue interference of the dialogue object in the current dialogue process during the dialogue between the digital person and any dialogue object; or to adjust the dialogue behavior of the digital person according to the current dialogue priority list and the dialogue status of the digital person.

10. A computer program product, It is characterized in that It includes a computer program / instruction, which, when executed by a processor, implements the steps of the digital human dialogue processing method described in any one of claims 1 to 8.