Virtual digital human interaction method, system, device and computer program product
By pre-synthesizing and storing virtual digital human videos and their logos, the problem of high concurrency of the virtual digital human system in a one-to-one scenario is solved, and efficient resource use and interactive response are achieved.
Patent Information
- Application Number
- CN202111259647.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The existing virtual digital human system is difficult to support high concurrency in one-to-one consultation and service scenarios, resulting in excessive consumption of computing resources and bandwidth and inability to effectively expand.
By pre-synthesizing the virtual digital human video and storing the association between the corresponding identification of the video and the answer identification, after receiving the user interaction request, the target video identification is found and sent to the client to achieve interaction, avoiding real-time video production and data acquisition, and optimizing resources. use.
It supports one-to-one large concurrency virtual digital human interaction in high concurrency scenarios, shortens the time for the client to obtain virtual digital human video, saves bandwidth resources, and solves the problem that the existing system cannot support one-to-one large concurrency. problem.
Smart Images

Figure CN113992929B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of virtual digital human technology, and in particular to a virtual digital human interaction method, system, device and computer program product. Background Art
[0002] With the rapid development of new technologies such as artificial intelligence and virtual reality, virtual digital human technology has also been greatly improved, and has gradually deepened from the digitization of appearance to the interaction of behavior and the intelligence of thought. Digital humans represented by virtual anchors and virtual employees have successfully entered the public eye and are active in many fields such as film and television, games, media, culture and tourism, and finance. Virtual digital humans refer to those who have recorded a real-life video and trained the model of image, sound, and action based on computer vision and speech synthesis technologies. After that, they can freely input any text in the background to generate a short video of a "real person" explaining.
[0003] However, the existing virtual digital human systems in the industry are all designed based on the idea of live broadcast. Such systems are only suitable for one-to-many scenarios. In one-to-one consulting and service scenarios, the existing virtual digital human systems consume a lot of computing resources and bandwidth, and are difficult to expand to service-type scenarios. Summary of the invention
[0004] The main purpose of the present invention is to propose a virtual digital human interaction method, system, device and computer program product, aiming to solve the technical problem that the existing virtual digital human system cannot support one-to-large concurrency during use.
[0005] To achieve the above object, the present invention provides a virtual digital human interaction method, the virtual digital human interaction method comprising:
[0006] Receiving a digital human interaction request sent by a client, and determining interaction request information according to the digital human interaction request;
[0007] Acquire a target answer identifier corresponding to the interaction request information, and search for a target video identifier associated with the target answer identifier from a preset association relationship set;
[0008] The target video identifier is sent to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and perform interactive display, wherein the target digital human video is a pre-made virtual digital human video.
[0009] Optionally, before the step of receiving the digital human interaction request sent by the client, the method further includes:
[0010] Obtaining a full answer library for interactive response from a designated robot engine, wherein the full answer library includes a plurality of interactive response information, wherein each interactive response information corresponds to an answer identifier;
[0011] Generate a corresponding digital human video for each interactive response information in the full answer library, and obtain a video identifier corresponding to each digital human video;
[0012] An association relationship between the video identifier and the answer identifier is established to obtain the association relationship set.
[0013] Optionally, the step of obtaining a video identifier corresponding to each digital human video includes:
[0014] Upload the full amount of the digital human video to the cloud server;
[0015] The uniform resource locator URL of each digital human video on the cloud server is obtained as the video identifier.
[0016] Optionally, the step of acquiring a target answer identifier corresponding to the interaction request information, and searching for a target video identifier associated with the target answer identifier from a preset association relationship set includes:
[0017] A target answer identifier corresponding to the interaction request information is found from the preset question-answer pair, and a target URL associated with the target answer identifier is found from the association relationship set as the target video identifier.
[0018] Optionally, there are multiple target video identifiers and clients, and the step of sending the target video identifier to the client so that the client can obtain the corresponding target digital human video based on the target video identifier and interact with the client includes:
[0019] Each of the target video identifiers is distributed to the corresponding clients, so that the corresponding clients can obtain the corresponding target digital human video based on the respective target video identifiers, and play and display the target digital human video on the front end.
[0020] Optionally, the step of distributing each target video identifier to the corresponding client so that the corresponding client can obtain the corresponding target digital human video based on the target video identifier, and playing and displaying the target digital human video on the front end includes:
[0021] Based on the specified communication protocol, each target digital human video is distributed to the corresponding client, so that the corresponding client can accelerate the acquisition of the target digital human video corresponding to the respective target video identifier from the cloud server based on the content distribution network, and play and display the target digital human video on the front end.
[0022] Optionally, the step of receiving a digital human interaction request sent by a client and determining interaction request information according to the digital human interaction request includes:
[0023] Receiving a digital human interaction request including a user voice data stream sent by a client;
[0024] Perform voice recognition on the user voice data stream to obtain voice text information as the interaction request information.
[0025] In addition, to achieve the above-mentioned purpose, the present invention also provides a virtual digital human interaction system, the virtual digital human interaction system comprising:
[0026] An interaction request determination module, configured to receive a digital human interaction request sent by a client, and determine interaction request information according to the digital human interaction request;
[0027] A video identification search module, used to obtain a target answer identification corresponding to the interaction request information, and to search for a target video identification associated with the target answer identification from a preset association relationship set;
[0028] The target video display module is used to send the target video identifier to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and perform interactive display, wherein the target digital human video is a pre-made virtual digital human video.
[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a virtual digital human interaction device, which includes: a memory, a processor, and a virtual digital human interaction program stored in the memory and executable on the processor, and when the virtual digital human interaction program is executed by the processor, the steps of the virtual digital human interaction method as described above are implemented.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a virtual digital human interaction program is stored, and when the virtual digital human interaction program is executed by a processor, the steps of the virtual digital human interaction method as described above are implemented.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, including a computer program, which implements the steps of the virtual digital human interaction method as described above when executed by a processor.
[0032] The present invention synthesizes a virtual digital human video that can meet the user's interactive needs in advance, and pre-stores the association relationship between the video corresponding identifier and the answer corresponding identifier. Then, when receiving the user's interactive instruction, the user's needs (i.e., the above-mentioned interactive request information) are clarified through the instruction, and the identifier corresponding to the answer that can meet the user's needs (i.e., the above-mentioned target answer identifier) is determined. Finally, according to the pre-stored association relationship, the target video identifier associated with the target answer identifier can be found, and the target video identifier is sent to the client. The client can obtain the actual target digital human video according to the target video identifier and display it, thereby achieving the effect of virtual digital human interacting with the user and responding to the user's needs. The above process avoids the system from producing digital human videos after the user issues an instruction, and at the same time, the system does not need to obtain the real target video data, thereby greatly shortening the time required for the client to obtain the virtual digital human video, and the system does not need to occupy additional bandwidth resources. Even in a high-concurrency scenario, the conventional bandwidth used based on the ordinary background server can also support simple operations such as batch identifier search and distribution, thereby realizing one-to-one large-concurrency virtual digital human interactive operations, solving the technical problem that the existing virtual digital human system cannot support one-to-one large-concurrency during use. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;
[0034] Figure 2 It is a flowchart of the first embodiment of the virtual digital human interaction method of the present invention;
[0035] Figure 3 This is a schematic diagram of a pre-sequence flow of a specific embodiment of the second embodiment of the virtual digital human interaction method of the present invention;
[0036] Figure 4 It is a schematic diagram of the overall flow of a specific embodiment of the third embodiment of the virtual digital human interaction method of the present invention;
[0037] Figure 5 It is a schematic diagram of the functional modules of the virtual digital human interaction system of the present invention.
[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0040] With the rapid development of new technologies such as artificial intelligence and virtual reality, virtual digital human technology has also been greatly improved, and has gradually deepened from the digitization of appearance to the interaction of behavior and the intelligence of thought. Digital humans represented by virtual anchors and virtual employees have successfully entered the public eye and are active in many fields such as film and television, games, media, culture and tourism, and finance. Virtual digital humans refer to those who have recorded a real-life video and trained the model of image, sound, and action based on computer vision and speech synthesis technologies. After that, they can freely input any text in the background to generate a short video of a "real person" explaining.
[0041] However, the existing virtual digital human systems in the industry are all designed based on the idea of live broadcast. Such systems are only suitable for one-to-many scenarios. In one-to-one consulting and service scenarios, the existing virtual digital human systems consume a lot of computing resources and bandwidth, and are difficult to expand to service-type scenarios.
[0042] In order to solve the above problems, the present invention provides a virtual digital human interaction method, that is, by pre-synthesizing a virtual digital human video that can meet the user's interaction needs, and pre-storing the association relationship between the video corresponding identifier and the answer corresponding identifier, then when receiving the user's interaction instruction, the user's needs (that is, the above-mentioned interaction request information) are clarified through the instruction, and then the identifier corresponding to the answer that can meet the user's needs (that is, the above-mentioned target answer identifier) is determined, and finally the target video identifier associated with the target answer identifier can be found according to the pre-stored association relationship, and the target video identifier is sent to the client, and the client can obtain the actual target digital human video according to the target video identifier and display it, thereby achieving the effect of virtual digital human interacting with the user and responding to user needs. The above process avoids the system from producing digital human videos after the user issues an instruction, and at the same time, the system does not need to obtain the real target video data, thus greatly shortening the time required for the client to obtain the virtual digital human video. The system does not need to occupy additional bandwidth resources. Even in high-concurrency scenarios, the regular bandwidth used by ordinary background servers can support simple operations such as batch identification search and distribution, thereby realizing one-to-large-concurrency virtual digital human interactive operations, solving the technical problem that the existing virtual digital human system cannot support one-to-large-concurrency during use.
[0043] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.
[0044] like Figure 1As shown, the virtual digital human interaction system may include: a processor 1001, such as a CPU, a user interface 1003, a network interface 1004, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0045] Those skilled in the art will understand that Figure 1 The device structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0046] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a virtual digital human interaction program.
[0047] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (programmer side) and communicate data with the client; and the processor 1001 can be used to call the virtual digital human interaction program stored in the memory 1005 and perform the operations in the following virtual digital human interaction method.
[0048] Based on the above hardware structure, an embodiment of the virtual digital human interaction method of the present invention is proposed.
[0049] Reference Figure 2 , Figure 2 The flowchart of the first embodiment of the virtual digital human interaction method of the present invention is shown in FIG. The virtual digital human interaction method comprises:
[0050] Step S10, receiving a digital human interaction request sent by a client, and determining interaction request information according to the digital human interaction request;
[0051] In this embodiment, the present invention is applied to a backend server. The client refers to a terminal on which a user sends a digital human interaction request to a backend server. A digital human interaction request refers to an instruction from a user to interact with a virtual digital human, which is usually an inquiry or a request for help from a user to a server in a consulting or service scenario. The backend server can process multiple digital human interaction requests at the same time. The interaction request information refers to the specific inquiry or instruction content issued by the user, which is usually expressed in text form.
[0052] Specifically, in the service consultation scenario, the user logs in to the digital human interaction platform on the client and inputs inquiry information in voice or text form. The client regards it as a digital human interaction request and sends it to the backend server. When the backend server receives the digital human interaction request, it parses the instruction to obtain the content that the user actually wants to consult, that is, the above-mentioned interaction request information. For inquiry information in text form, the backend server can directly regard it as interaction request information, or it can perform text cleaning and other processing on it, and use the processed text information as interaction request information; for inquiry information in voice form, the backend server can first convert it from voice to text, and use the converted text information as interaction request information.
[0053] Step S20, obtaining a target answer identifier corresponding to the interaction request information, and searching for a target video identifier associated with the target answer identifier from a preset association relationship set;
[0054] In this embodiment, the target answer identifier refers to the identifier corresponding to the answer information for responding to the interactive request information that can be obtained by the background server. The target video identifier refers to the video identifier associated with the target answer identifier. The association relationship set refers to the set of association relationships between each answer identifier and the corresponding video identifier. It should be noted that the correspondence between the answer identifier and the video identifier can be one-to-one, one-to-many, or many-to-many.
[0055] Specifically, when the backend server processes multiple interactive request messages at the same time, the backend server searches for multiple answer statements that can respond to the current interactive request messages, and further obtains the identifier corresponding to each answer statement as the target answer identifier; or directly searches for the identifiers corresponding to the corresponding multiple answer statements according to each interactive request message as the target answer identifier. Since the backend server pre-stores a set of association relationships between answer identifiers and video identifiers, the backend server can search for the corresponding multiple target video identifiers from the set according to the current multiple target answer identifiers.
[0056] Step S30, sending the target video identifier to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and perform interactive display, wherein the target digital human video is a pre-made virtual digital human video.
[0057] In this embodiment, the target digital human video refers to a virtual digital human video corresponding to the target video identifier, in which the virtual digital human can express the answer content for responding to the interactive request information, and the virtual digital human video is produced before the user issues an instruction. The correspondence between the video identifier and the virtual digital human video is usually one-to-one.
[0058] Specifically, after obtaining the target video identifier, the backend server feeds back the target video identifier to the client, that is, after the client sends a digital human interaction request to the backend server, the feedback information obtained is not the actual video data stream of the virtual digital human video, but the target video identifier. After obtaining the target video identifier fed back by the backend server, the client obtains the actual target digital human video according to the target video identifier, and then plays the video on the front end to show the virtual digital human to the user, achieving the effect of interaction.
[0059] The present embodiment provides a virtual digital human interaction method, which pre-synthesizes a virtual digital human video that can meet the user's interaction needs, and pre-stores the association relationship between the video corresponding identifier and the answer corresponding identifier. Then, when receiving the user's interaction instruction, the user's needs (that is, the above-mentioned interaction request information) are clarified through the instruction, and then the identifier corresponding to the answer that can meet the user's needs (that is, the above-mentioned target answer identifier) is determined. Finally, according to the pre-stored association relationship, the target video identifier associated with the target answer identifier can be found, and the target video identifier is sent to the client. The client can obtain the actual target digital human video according to the target video identifier and display it, thereby achieving the effect of virtual digital human interacting with the user and responding to the user's needs. The above process avoids the system from producing digital human videos after the user issues an instruction, and at the same time, the system does not need to obtain the real target video data, thus greatly shortening the time required for the client to obtain the virtual digital human video. The system does not need to occupy additional bandwidth resources. Even in high-concurrency scenarios, the regular bandwidth used by ordinary background servers can support simple operations such as batch identification search and distribution, thereby realizing one-to-large-concurrency virtual digital human interactive operations, solving the technical problem that the existing virtual digital human system cannot support one-to-large-concurrency during use.
[0060] Furthermore, based on the above Figure 2The first embodiment shown in the figure proposes a second embodiment of the virtual digital human interaction method of the present invention. In this embodiment, before step S10, it also includes:
[0061] Step S01, obtaining a full answer library for interactive response from a designated robot engine, wherein the full answer library includes a plurality of interactive response information, wherein each interactive response information corresponds to an answer identifier;
[0062] Step S02, generating a corresponding digital human video for each interactive response information in the full answer library, and obtaining a video identifier corresponding to each digital human video;
[0063] Step S03: establishing an association relationship between the video identifier and the answer identifier to obtain the association relationship set.
[0064] In this embodiment, the designated robot engine refers to a question-and-answer engine, which is used to conduct intelligent question-and-answer with users. The full answer library refers to all answer information under the application that can be obtained from the robot engine. The answer identifier, namely the answer ID, refers to the answer identifier corresponding to each answer information in the full answer library.
[0065] Specifically, the background server has prepared the virtual digital human video in advance before step S10. The server first obtains the full answer library under the application from the specified robot engine, and the full answer library at least covers the answer information corresponding to the common questions that the user may consult or ask. The server produces corresponding virtual digital human videos for these answer information respectively, and the specific production method can refer to the conventional method of producing virtual digital human videos. The video identifier can be a character identifier assigned by the server to the virtual digital human video, or it can be the identification information obtained from the cloud server after the server uploads the video to the cloud server. The server associates the video identifier and the answer ID corresponding to each virtual digital human video, and puts the obtained association relationships into the same set to obtain the above-mentioned association relationship set.
[0066] Furthermore, the step of obtaining the video identifier corresponding to each digital human video includes:
[0067] Step A1, uploading the full amount of the digital human video to the cloud server;
[0068] Step A2, obtaining the uniform resource locator URL of each digital human video on the cloud server side as the video identifier.
[0069] In this embodiment, in order to speed up the process of the client obtaining the digital human video and reduce the bandwidth pressure of the server, the background server pre-produces the corresponding virtual digital human video and then uploads the video to the cloud for storage. After storing the virtual digital human video, the cloud server returns the URL corresponding to each video to the background server. After obtaining the URL of each virtual digital human video, the background server uses it as the video identifier of the video. That is, only the video identifier of the virtual digital human video is stored in the background server, not the video data itself.
[0070] As a specific embodiment, the pre-processing process of the background server is as follows: Figure 3 shown.
[0071] In the first step, the backend server obtains the full answer library under the application from the robot engine;
[0072] In the second step, the backend server produces corresponding virtual digital human videos for the answer information in the answer library;
[0073] In the third step, the backend server pushes the completed virtual human videos to the cloud server one by one to obtain the corresponding URL;
[0074] In the fourth step, the backend server saves the one-to-one correspondence between the answer ID and the URL into the local database.
[0075] Further, step S20 includes:
[0076] Step S21, searching for a target answer identifier corresponding to the interaction request information from the preset question-answer pair, and searching for a target URL associated with the target answer identifier from the association relationship set as the target video identifier.
[0077] In this embodiment, the target answer identifier is also the target answer ID, which refers to the ID corresponding to the answer information that can be used to respond to the interactive request information. The preset question-answer pair can be a pairing between a question statement and an answer statement, or a pairing between a question statement and an answer ID.
[0078] Specifically, the backend server uses the interactive request information as a question statement, retrieves the corresponding answer ID from the preset question and answer pair, and uses it as the target answer ID. The backend service then uses the target answer ID as an index to find the corresponding target URL as the target video identifier from the association relationship set between the answer ID and the video URL.
[0079] This embodiment is further designed to target the characteristics of service scenarios while being compatible with the capabilities of existing virtual digital humans, including pre-synthesis and storage of digital human videos, and retrieval of digital human videos through text answers, with a focus on solving the problem that digital humans cannot support one-to-one large concurrency during use. The method of this patent can easily support thousands of concurrent users and can be expanded horizontally.
[0080] Further, based on the above second embodiment, a third embodiment of the virtual digital human interaction method of the present invention is proposed. In this embodiment, there are multiple target video identifiers and clients, and step S30 includes:
[0081] Step S31, distributing each of the target video identifiers to the corresponding clients, so that the corresponding clients can obtain the corresponding target digital human video based on their respective target video identifiers, and play and display the target digital human video on the front end.
[0082] In this embodiment, when the backend server processes a large number of concurrent one-to-one interactive requests, after finding the target video identifiers corresponding to different requests, it will send each target video identifier to the corresponding client, so that the client can obtain the corresponding target digital human video according to the given target video identifier. After obtaining the target digital human video, each client can play and display it on the front end to realize the interaction between the user and the virtual digital human.
[0083] Further, step S31 includes:
[0084] Step S311, based on the specified communication protocol, each of the target digital human videos is distributed to the corresponding clients, so that the corresponding clients can accelerate the acquisition of the target digital human videos corresponding to the respective target video identifiers from the cloud server based on the content distribution network, and play and display the target digital human videos on the front end.
[0085] In this embodiment, the backend server specifically sends each target video identifier to the corresponding client through the specified communication protocol of websocket. After receiving the target video identifier returned by the backend server, the client obtains the corresponding video stream from the content delivery network (CDN, Content Delivery Network) of the cloud server ECS that stores the virtual digital human video pre-uploaded by the backend server, and then the client can output the obtained video stream data for the user to watch.
[0086] Further, step S10 includes:
[0087] Step S11, receiving a digital human interaction request including a user voice data stream sent by a client;
[0088] Step S12: performing voice recognition on the user voice data stream to obtain voice text information as the interaction request information.
[0089] In this embodiment, the user inputs a piece of information in the form of voice on the client, and the client generates a digital human interaction request based on the voice information. After receiving the request sent by the client, the backend server uses automatic speech recognition technology (ASR, Automatic Speech Recognition) to recognize the voice information and obtain voice text information that can reflect the actual content of the voice information.
[0090] As another specific implementation, the client may first perform voice recognition on the user voice data stream, and then generate a digital human interaction request based on the recognized voice text information and send it to the backend server.
[0091] As a specific embodiment, the overall steps are as follows: Figure 4 shown.
[0092] In the first step, the client collects the user's voice input stream;
[0093] In the second step, the client inputs the user's voice stream into the ASR to recognize the voice text information;
[0094] In the third step, the client sends the voice text information to the backend server, and the backend server retrieves the target answer ID corresponding to the voice text information;
[0095] Step 4: The backend server obtains the URL of the pre-generated digital human video corresponding to the target answer ID through the target answer ID;
[0096] Step 5: The backend server sends the URL to the client via websocket;
[0097] Step 6: The client obtains the corresponding video stream from the ECS CDN for display.
[0098] This embodiment can easily support 1,000 concurrent connections in a single node; it can only require the same bandwidth as ordinary background services, saving a lot of server bandwidth resources; at the same time, it can increase the time for the client to obtain the virtual digital human video, greatly improving the user experience.
[0099] like Figure 5 As shown, the present invention also provides a virtual digital human interaction system, the virtual digital human interaction system comprising:
[0100] An interaction request determination module 10, configured to receive a digital human interaction request sent by a client, and determine interaction request information according to the digital human interaction request;
[0101] The video identification search module 20 is used to obtain the target answer identification corresponding to the interaction request information, and to search for the target video identification associated with the target answer identification from a preset association relationship set;
[0102] The target video display module 30 is used to send the target video identifier to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and perform interactive display, wherein the target digital human video is a pre-made virtual digital human video.
[0103] Optionally, the virtual digital human interaction system further includes:
[0104] A full answer acquisition module, used to acquire a full answer library for interactive responses from a specified robot engine, wherein the full answer library includes a plurality of interactive response information, wherein each interactive response information corresponds to an answer identifier;
[0105] A video identification acquisition module, used to generate a corresponding digital human video for each interactive response information in the full answer library, and obtain a video identification corresponding to each digital human video;
[0106] The association relationship establishing module is used to establish an association relationship between the video identifier and the answer identifier to obtain the association relationship set.
[0107] Optionally, the video identification acquisition module includes:
[0108] A full video uploading unit, used for uploading the full digital human video to the cloud server;
[0109] The resource location acquisition unit is used to acquire the uniform resource locator URL of each digital human video on the cloud server side as the video identifier.
[0110] Optionally, the video identification search module 20 includes:
[0111] The video identifier search unit is used to search for a target answer identifier corresponding to the interaction request information from a preset question and answer pair, and to search for a target URL associated with the target answer identifier from the association relationship set as the target video identifier.
[0112] Optionally, there are multiple target video identifiers and clients, and the target video display module 30 includes:
[0113] The target video display unit is used to distribute each target video identifier to the corresponding client, so that the corresponding client can obtain the corresponding target digital human video based on the target video identifier, and play and display the target digital human video on the front end.
[0114] Optionally, the target video display unit is further used for:
[0115] Based on the specified communication protocol, each target digital human video is distributed to the corresponding client, so that the corresponding client can accelerate the acquisition of the target digital human video corresponding to the respective target video identifier from the cloud server based on the content distribution network, and play and display the target digital human video on the front end.
[0116] Optionally, the interaction request determination module 10 includes:
[0117] An interaction request receiving unit, used for receiving a digital human interaction request including a user voice data stream sent by a client;
[0118] The user voice recognition unit is used to perform voice recognition on the user voice data stream to obtain voice text information as the interaction request information.
[0119] The invention also provides a virtual digital human interaction device.
[0120] The virtual digital human interaction device includes a processor, a memory, and a virtual digital human interaction program stored in the memory and executable on the processor, wherein when the virtual digital human interaction program is executed by the processor, the steps of the virtual digital human interaction method described above are implemented.
[0121] Among them, the method implemented when the virtual digital human interaction program is executed can refer to the various embodiments of the virtual digital human interaction method of the present invention, and will not be repeated here.
[0122] The present invention also provides a computer-readable storage medium.
[0123] The computer-readable storage medium of the present invention stores a virtual digital human interaction program, and when the virtual digital human interaction program is executed by a processor, the steps of the virtual digital human interaction method described above are implemented.
[0124] Among them, the method implemented when the virtual digital human interaction program is executed can refer to the various embodiments of the virtual digital human interaction method of the present invention, and will not be repeated here.
[0125] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the virtual digital human interaction method as described above are implemented.
[0126] Among them, the method implemented when the computer program is executed can refer to the various embodiments of the virtual digital human interaction method of the present invention, and will not be repeated here.
[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0130] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A virtual digital human interaction method, characterized in that: The virtual digital human interaction method comprises: Receiving a digital human interaction request sent by a client, and determining interaction request information according to the digital human interaction request; Obtaining a target answer identifier corresponding to the interaction request information, and searching for a target video identifier associated with the target answer identifier from a preset association relationship set, wherein the target video identifier is a character identifier assigned by the server to the target digital human video, or the target video identifier is identifier information obtained from the cloud server after the server uploads the target digital human video to the cloud server; Sending the target video identifier to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and interactively display it, wherein the target digital human video is a pre-made virtual digital human video; Before the step of receiving the digital human interaction request sent by the client, the method further includes: Obtaining a full answer library for interactive responses from a designated robot engine, wherein the full answer library includes a plurality of interactive response information, wherein each interactive response information corresponds to an answer identifier, and the full answer library refers to the answer information under the application that can be obtained from the robot engine; Generate a corresponding digital human video for each interactive response information in the full answer library, and obtain a video identifier corresponding to each digital human video; Establishing an association relationship between the video identifier and the answer identifier to obtain the association relationship set; There are multiple target video identifiers and clients, and the step of sending the target video identifier to the client so that the client can obtain the corresponding target digital human video based on the target video identifier and interact with it includes: Distribute each of the target video identifiers to the corresponding clients, so that the corresponding clients can obtain the corresponding target digital human video based on the target video identifiers, and play and display the target digital human video on the front end; The step of distributing each target video identifier to the corresponding client so that the corresponding client can obtain the corresponding target digital human video based on the target video identifier, and playing and displaying the target digital human video on the front end includes: Based on the specified communication protocol, each target video identifier is distributed to the corresponding client, so that the corresponding client can accelerate the acquisition of the target digital human video corresponding to the respective target video identifier from the cloud server based on the content distribution network, and play and display the target digital human video on the front end.
2. The virtual digital human interaction method according to claim 1, characterized in that: The step of obtaining the video identifier corresponding to each digital human video comprises: Upload the full amount of the digital human video to the cloud server; The uniform resource locator URL of each digital human video on the cloud server is obtained as the video identifier.
3. The virtual digital human interaction method according to claim 2, characterized in that: The step of obtaining a target answer identifier corresponding to the interaction request information and searching for a target video identifier associated with the target answer identifier from a preset association relationship set includes: A target answer identifier corresponding to the interaction request information is found from the preset question-answer pair, and a target URL associated with the target answer identifier is found from the association relationship set as the target video identifier.
4. The virtual digital human interaction method according to any one of claims 1 to 3, characterized in that: The step of receiving a digital human interaction request sent by a client and determining interaction request information according to the digital human interaction request comprises: Receiving a digital human interaction request including a user voice data stream sent by a client; Perform voice recognition on the user voice data stream to obtain voice text information as the interaction request information.
5. A virtual digital human interaction system, characterized in that: The virtual digital human interaction system comprises: an interaction request determination module, which is used to receive a digital human interaction request sent by a client, and determine interaction request information according to the digital human interaction request; The interactive request determination module is further used to obtain a full answer library for interactive responses from a specified robot engine, wherein the full answer library contains multiple interactive response information, wherein each interactive response information corresponds to an answer identifier, and the full answer library refers to the answer information under the application that can be obtained from the robot engine; generate a corresponding digital human video for each interactive response information in the full answer library, and obtain a video identifier corresponding to each digital human video; establish an association relationship between the video identifier and the answer identifier to obtain the association relationship set; A video identification search module is used to obtain a target answer identification corresponding to the interactive request information, and to search for a target video identification associated with the target answer identification from a preset association relationship set, wherein the target video identification is a character identification assigned by the server to the target digital human video, or the target video identification is identification information obtained from the cloud server after the server uploads the target digital human video to the cloud server; A target video display module, used to send the target video identifier to the client, so that the client can obtain the corresponding target digital human video based on the target video identifier and perform interactive display, wherein the target digital human video is a pre-made virtual digital human video; There are multiple target video identifiers and clients, and the target video display module is further used to distribute each target video identifier to the corresponding client, so that the corresponding client can obtain the corresponding target digital human video based on the target video identifier, and play and display the target digital human video on the front end; The target video display module is also used to distribute each target video identifier to the corresponding client based on a specified communication protocol, so that the corresponding client can accelerate the acquisition of the target digital human video corresponding to the respective target video identifier from the cloud server based on the content distribution network, and play and display the target digital human video on the front end.
6. A virtual digital human interaction device, characterized in that: The virtual digital human interaction device comprises: a memory, a processor and a virtual digital human interaction program stored in the memory and executable on the processor. When the virtual digital human interaction program is executed by the processor, the steps of the virtual digital human interaction method as described in any one of claims 1 to 4 are implemented.
7. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the virtual digital human interaction method according to any one of claims 1 to 4 are implemented.
