Output method and electronic device

By controlling the virtual avatar to perform actions in multiple ways, the problem of insufficient flexibility and diversity in virtual human control in existing technologies has been solved, resulting in a better user experience and service reliability.

CN116301322BActive Publication Date: 2026-11-20LENOVO (BEIJING) LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202211735859.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-31
Publication Date
2026-11-20
Estimated Expiration
2042-12-31

AI Technical Summary

Technical Problem

In existing technologies, virtual human control mainly relies on motion sensors worn by workers, which lacks flexibility and versatility and cannot meet the needs of different application scenarios.

Method used

The virtual avatar can be controlled to perform actions in multiple ways, including by combining image acquisition, sensor parameter acquisition, and data processing based on operator action data and response result data.

Benefits of technology

It enhances the control flexibility and diversity of virtual avatars, improves the user experience, and ensures the reliability and continuity of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116301322B_ABST
    Figure CN116301322B_ABST
Patent Text Reader

Abstract

The application discloses an output method and an electronic device. The method comprises: controlling a virtual image to perform an action in a first mode; and controlling the virtual image to perform the action in a second mode, wherein the second mode is different from the first mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to an output method and electronic device. Background Technology

[0002] With the development of technology, the application of virtual humans is becoming increasingly widespread. However, currently, control of virtual humans can only rely on data collected by motion sensors worn by workers. Summary of the Invention

[0003] This application provides an output method and an electronic device, as follows:

[0004] An output method, the method comprising:

[0005] Following the first method, control the output virtual avatar to perform actions;

[0006] According to the second method, the virtual image output is controlled to perform actions, wherein the second method is different from the first method.

[0007] Preferably, in the above method, the first method is one of the following, and the second method is another of the following:

[0008] The virtual avatar is controlled to perform actions based at least on first control data; the first control data includes action data that matches the operator's actions.

[0009] The virtual avatar is controlled to perform actions based at least on the second control data; the second control data includes action data that matches the response results, wherein the response results are obtained in response to the input and output.

[0010] In the above method, preferably, the motion data in the first control data is obtained in the following way:

[0011] Receive the transmitted data packet; the data packet contains audio data and motion data corresponding to the same target time period;

[0012] The data packet is processed to obtain audio data and motion data in the data packet. The motion data in the data packet is used as the first control data to control the virtual image to perform actions. The audio data in the data packet is used to control the sound signal corresponding to the virtual image.

[0013] The above method, preferably, according to the second method, controls the output virtual image to perform actions, including:

[0014] If the switching conditions are met, the virtual image output by the control system will perform an action in accordance with the second method.

[0015] In the above method, preferably, the switching conditions include at least one of the following:

[0016] In the first method, the degree of matching between the action data of the virtual image performing the action for control output and the operator's action satisfies the first control condition;

[0017] In the first method, the motion data used to control the output of the virtual image's execution of actions contains motion parameters of key points that do not meet the motion constraints corresponding to the parts to which the key points belong.

[0018] The duration of the output of the virtual image is greater than or equal to a preset duration threshold;

[0019] In the second method, the action data of the virtual image performing the action for controlling the output is received;

[0020] The interactive actions performed by the virtual avatar after being output satisfy the interactive control conditions;

[0021] A switching instruction is received, the switching instruction being generated based on a user's switching operation on the electronic device;

[0022] No response was obtained for matching the action data in the first method, which is used to control the virtual image to perform actions in the first method.

[0023] Preferably, before controlling the output virtual image to perform an action according to the second method, the method further includes:

[0024] Based on the first control data and the second control data, third control data is obtained; the first control data is the data used in the first method to control the virtual image to perform actions, and the second control data is the data used in the second method to control the virtual image to perform actions.

[0025] Based on the third control data, the virtual avatar is controlled to perform actions.

[0026] The above method, preferably, also includes:

[0027] Record the interaction information during the process of controlling the virtual image in the first manner;

[0028] The interactive information can be obtained at least when the virtual avatar is controlled in the second manner.

[0029] The above method, preferably, includes:

[0030] If the first condition is met, the virtual image output by the control system will perform the action according to the first method.

[0031] If the second condition is met, the virtual image output by the control system will perform an action in accordance with the second method.

[0032] The first condition includes at least one of the following:

[0033] In the first method, the degree of matching between the action data of the virtual image performing the action for control output and the operator's action satisfies the second control condition;

[0034] In the first method, the motion data used to control the output of the virtual image to perform actions includes motion parameters of key points that satisfy the motion constraints corresponding to the parts to which the key points belong.

[0035] The duration for which the virtual image is output is less than or equal to a preset duration threshold.

[0036] In the first method, the action data used to control the output of the virtual image performing the action is received;

[0037] The interactive actions performed by the virtual avatar after being output satisfy the interactive control conditions;

[0038] Upon receiving a first instruction, the first instruction being generated based on a first operation by the user of the electronic device;

[0039] No response was obtained for matching the action data in the second method, which is used to control the virtual image to perform actions in the second method;

[0040] The second condition includes at least one of the following:

[0041] In the first method, the degree of matching between the action data of the virtual image performing the action and the operator's action does not meet the second control condition;

[0042] In the first method, the motion data used to control the output of the virtual image's execution of actions contains motion parameters of key points that do not meet the motion constraints corresponding to the parts to which the key points belong.

[0043] The duration for which the virtual avatar is output is greater than the duration threshold.

[0044] In the first method, the action data used to control the output of the virtual image performing the action was not received;

[0045] The interactive actions performed by the virtual avatar after being output do not meet the interactive control conditions.

[0046] A second instruction is received, which is generated based on a second operation by the user of the electronic device;

[0047] No response was obtained for matching the action data in the first method, which is used to control the virtual image to perform actions in the first method.

[0048] Preferably, in the above method, the first mode is the mode of controlling the first sub-object in the virtual image to perform an action;

[0049] The second method is the way in which the second sub-object in the virtual image of the control output performs an action; the first sub-object is different from the second sub-object.

[0050] The above method, preferably, also includes:

[0051] Output the first sub-object and the second sub-object in the virtual image;

[0052] In this process, the first sub-object being output is controlled to perform an action according to the first method.

[0053] According to the second method, the second sub-object of the control output performs an action.

[0054] Preferably, the first method described above is a method of controlling the first sub-object to perform an action based at least on the first control data.

[0055] The second method is a method of controlling the second sub-object to perform actions based at least on the second control data;

[0056] Wherein, the first control data includes one of the following, and the second control data includes another of the following:

[0057] Action data that matches the operator's movements or audio data that matches the operator's audio.

[0058] Match the action data of the response results.

[0059] Preferably, in the above method, the first approach is to control the first sub-object to perform an action according to the first control parameter;

[0060] The second method is to control the second sub-object to perform actions according to the second control parameters; the first control parameters are different from the second control parameters.

[0061] The control parameters include at least one of control frame rate and control precision.

[0062] An electronic device, comprising:

[0063] Output device, used to output virtual avatars;

[0064] A processing device is configured to control the output virtual avatar to perform an action in a first manner; and to control the output virtual avatar to perform an action in a second manner, wherein the second manner is different from the first manner. Attached Figure Description

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

[0066] Figure 1 A flowchart of an output method provided in Embodiment 1 of this application;

[0067] Figure 2 This application provides an example diagram of how virtual humans are output to users on mobile phones.

[0068] Figure 3 and Figure 4 These are example diagrams illustrating how this application applies to the control of virtual humans via mobile phones;

[0069] Figure 5 This is an example diagram illustrating the switching control of virtual avatars in the embodiments of this application;

[0070] Figure 6 Another flowchart of an output method provided in Embodiment 1 of this application;

[0071] Figure 7 This is a schematic diagram of the structure of an output module provided in Embodiment 2 of this application;

[0072] Figure 8 and Figure 9 These are schematic diagrams of another output module provided in Embodiment 2 of this application;

[0073] Figure 10 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of this application;

[0074] Figure 11 This is a flowchart illustrating the processing steps applicable to intelligent customer service scenarios in this application;

[0075] Figure 12 This is a control flowchart of the virtual human controlled by the operator in this application. Detailed Implementation

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

[0077] refer to Figure 1 The diagram shown is a flowchart illustrating the implementation of an output method according to Embodiment 1 of this application. This method can be applied to electronic devices capable of outputting virtual avatars, such as computers or servers with output devices. The output device can be a display screen or projector, or other devices capable of outputting virtual avatars. The technical solution in this embodiment is mainly used to improve the user experience of virtual avatars.

[0078] Specifically, the method in this embodiment may include the following steps:

[0079] Step 101: Control the output virtual image to perform actions according to the first method.

[0080] In this context, a virtual avatar can be understood as a virtual representation of the operator, such as a three-dimensional virtual character. Figure 2 As shown, a three-dimensional virtual avatar of the operator is rendered on the electronic device so that the user of the electronic device can view the three-dimensional virtual avatar.

[0081] Specifically, in this embodiment, a virtual image is output through an output device and the virtual image is controlled to perform actions, so that the virtual image can provide corresponding services to the user of the electronic device by performing actions.

[0082] Step 102: Control the output virtual image to perform actions according to the second method.

[0083] The first method differs from the second method. In other words, this embodiment controls the virtual character to perform actions in different ways, thereby achieving flexible control of the virtual character.

[0084] As can be seen from the above technical solutions, in the output method provided in Embodiment 1 of this application, the output virtual image is controlled to perform actions in multiple ways. Unlike existing technologies that can only use data collected by motion sensors to control the output of the virtual image, this embodiment can use multiple different methods to control the output virtual image to perform corresponding actions, thereby achieving flexible control of the virtual image. By improving the flexibility of control, the virtual image can provide better services to users, thus improving the user experience of the virtual image.

[0085] Meanwhile, this embodiment uses a variety of different methods to control the virtual image's actions, thereby enabling the virtual image to achieve diverse control responses to meet the needs of the virtual image in different application scenarios.

[0086] In one implementation, the first method is one of the following, and the second method is another of the following:

[0087] Based at least on the first control data, the virtual avatar of the control output performs actions, and the first control data includes action data that matches the operator's actions;

[0088] At least according to the second control data, the virtual image of the control output performs actions, the second control data including action data that matches the response results, and the response results are obtained in response to the input and output.

[0089] For example, the first method involves controlling the output virtual avatar to perform actions based at least on the first control data, and the second method involves controlling the output virtual avatar to perform actions based at least on the second control data; similarly, the first method involves controlling the output virtual avatar to perform actions based at least on the second control data, and the second method involves controlling the output virtual avatar to perform actions based at least on the first control data. In other words, in this embodiment, the virtual avatar is controlled to perform actions based on different action data.

[0090] The operator is the user on the associated device connected to the electronic device. The motion data in the first control data is motion data obtained through motion capture of the operator. The motion data in the first control data can be motion data transmitted from the associated device to the electronic device. For example, such as... Figure 3 As shown in the figure, taking a mobile phone as an example of an electronic device and a desktop computer user as an operator, in this embodiment, the motion capture of the desktop computer user is performed and the obtained motion data matching the desktop computer user's motion is transmitted to the mobile phone. For example, the desktop computer user shakes his head left and right, and then the virtual character output on the mobile phone is controlled to perform the "head shaking" action according to the motion data matching the desktop computer user's motion.

[0091] Specifically, the motion data in the first control data can be obtained by capturing images of the operator and recognizing the operator's movements in the captured images to obtain motion data matching the operator's movements. For example, in this embodiment, a high-definition camera can be set up to capture high-definition images of the operator, and then the operator's movements in the captured images can be recognized to obtain motion data matching the operator's movements; as another example, in this embodiment, cameras of different resolutions can be set up for different body parts of the operator to capture sub-images for different body parts, and then motion recognition can be performed on these sub-images to obtain motion data matching the operator's movements.

[0092] Alternatively, the motion data in the first control data can be obtained by collecting and analyzing the sensor parameters collected by the wearable device worn by the operator to obtain motion data that matches the operator's actions.

[0093] Alternatively, the motion data in the first control data can be combined with image acquisition and sensor parameter acquisition to obtain motion data matching the operator's actions. For example, in this embodiment, a high-definition camera is used to acquire images of the operator's face, and a low-definition camera is used to acquire images of the operator's limbs and torso. Sensor parameters are also acquired from wearable devices worn on the operator's fingers. Based on this, the acquired sub-images and sensor parameters are processed to obtain motion data matching the operator's actions.

[0094] Input and output can be understood as the input and output data generated by the user's operation of the electronic device, such as user-inputted voice or text. In this embodiment, the input and output data can be processed through data processing to obtain a response result for the input and output data, and then the corresponding action data can be obtained according to the response result. The action data in the second control data can be the action data generated by the electronic device according to the response result.

[0095] It should be noted that in this embodiment, the input and output data can be processed on the electronic device to obtain a response result and obtain the corresponding action data according to the response result; or, in this embodiment, the user's input and output data can be transmitted from the electronic device to other devices such as a cloud server, the cloud server can process the input and output data to obtain a response result and obtain the corresponding action data according to the response result, and then transmit the action data to the electronic device.

[0096] For example, such as Figure 4 As shown, a mobile phone user makes a voice input on the phone, such as "Is this operation correct?". After the phone collects the user's voice through a microphone and other devices, it obtains the corresponding response result, such as "Incorrect". Then, it obtains the corresponding action data according to the response result, such as "shaking head". Based on this, the phone controls the virtual character output on the phone to perform the "shaking head" action according to the action data matched by the response result.

[0097] For example, in this embodiment, a pre-trained motion processing model can be used. The response result is input into the motion processing model so that the motion processing model outputs motion data that matches the response result. For example, if an "incorrect" response result is input into the motion processing model, the motion processing model outputs corresponding "head shaking" motion data.

[0098] For example, in this embodiment, an action list can be pre-configured, containing multiple sets of action data, each set of action data corresponding to one or more response results. Based on this, in this embodiment, matching action data is searched in the action list according to the response results corresponding to the input and output. For example, the action data corresponding to the response result "incorrect" is searched in the action list, thereby obtaining the "shaking head" action data that matches "incorrect".

[0099] Based on the above scheme, the motion data in the first control data can be obtained in the following ways:

[0100] First, receive the transmitted data packets; the data packets contain audio data and motion data corresponding to the same target time period;

[0101] Next, the data packets are processed to obtain the audio and motion data within them. The motion data in the data packets serves as the primary control data, used to control the virtual avatar to perform actions, while the audio data in the data packets is used to control the corresponding sound signals of the virtual avatar.

[0102] For example, in this embodiment, the sound signal in the audio data can be directly output as the sound signal of the virtual character; or, the sound signal extracted from the audio data can be converted, such as by converting it according to specific timbre, sound quality and other parameters, and then the converted sound signal can be output as the sound signal corresponding to the virtual character.

[0103] In addition, the audio data in the data packet can also be used to control the virtual avatar to perform actions. For example, the audio data can be used to control the lips of the virtual avatar to perform corresponding opening and closing actions.

[0104] Specifically, a data packet is obtained by the associated device of the electronic device processing audio and motion data within a target time period. For example, the associated device divides the audio and motion data into data blocks according to timestamps, and then packages the audio and motion data blocks corresponding to the same timestamp into a data packet. After that, the associated device transmits the data packet to the electronic device in the order between the timestamps, so that the electronic device can receive the data packet.

[0105] In this embodiment, when the electronic device processes the data packet, it can first decode the data packet to obtain the data block, and then splice the data block according to the timestamp to obtain the audio data and motion data within the target time period.

[0106] As can be seen, the data packets received in this embodiment multiplex motion data and audio data. By transmitting smaller data packets, the data transmission latency between the electronic device and associated devices is reduced, thereby improving data transmission efficiency. Furthermore, by decoding the motion data in the data packets, the performance of virtual avatar control based on the decoded motion data can be improved in this embodiment.

[0107] In one implementation, step 102, when the virtual image controlled by the second method performs an action, specifically involves:

[0108] Monitor whether the switching conditions are met. If the switching conditions are met, control the output virtual image to perform actions according to the second method.

[0109] In other words, in this embodiment, on the electronic device, the virtual image output is first controlled to perform actions according to the first method. While maintaining the output of the virtual image, the switching conditions are continuously monitored to see if they are met. Then, when the switching conditions are met, the action is switched from being controlled to perform actions according to the first method to being controlled to perform actions according to the second method. Thus, by judging the switching conditions, the control method for the virtual image's actions is switched.

[0110] Furthermore, in this embodiment, if the recovery condition is met, the system can switch back to the virtual avatar controlled and output according to the first method to perform actions. Here, the recovery condition is the condition corresponding to the switching condition.

[0111] As can be seen, this embodiment enables the virtual image to be controlled in different ways in time by configuring the switching conditions, without the need for manual switching, thereby reducing the complexity of operation. During this process, the virtual image continuously performs actions to provide corresponding services, thereby ensuring uninterrupted service and improving the reliability of the virtual image in providing services.

[0112] Specifically, the switching conditions may include at least one of the following:

[0113] First condition: The degree of matching between the action data of the virtual image used to control the output and the operator's actions in the first method satisfies the first control condition;

[0114] Second: The motion data of the virtual image used to control the output in the first method does not meet the motion constraint conditions of the key points in the corresponding parts of the key points.

[0115] The third item: The duration of the virtual image being output is greater than or equal to the preset duration threshold;

[0116] Fourth item: The action data of the virtual image performing the action used to control the output in the second method is received.

[0117] Fifth: The interactive actions performed by the virtual avatar after it is output meet the interaction control conditions. The interaction control conditions may include: the number of interactive actions between the virtual avatar and the user of the electronic device after it is output is greater than or equal to a threshold number, or the interactive actions performed by the virtual avatar after it is output are preset action types.

[0118] Item 6: Received a switching instruction, which is generated based on the user's switching operation on the electronic device.

[0119] Item 7: No response result was obtained for matching action data in the first method. Action data is used to control the virtual avatar to perform actions.

[0120] In the first aspect, the first control condition can be: the parameter value representing the degree of matching is less than or equal to a parameter threshold. The parameter value representing the degree of matching can be a data confidence parameter included in the action data, and the parameter threshold is a preset confidence threshold. That is, in this embodiment, if the data confidence of the action data is low in the first method, the system switches from the first method to the second method to control the virtual avatar to perform the action.

[0121] In the second aspect, the motion data consists of motion sub-data corresponding to multiple parts of the virtual avatar. Each part corresponding to a motion sub-data has corresponding motion constraints. The motion constraints include the offset limit of each key point on that part in any displacement direction. The motion parameters of the key points satisfy the motion constraints corresponding to the part to which the key point belongs, including: the offset of the key point in the current displacement direction is less than or equal to the offset threshold. That is to say, in this embodiment, if the displacement of each key point in the motion data is within the offset threshold range in the first method, the virtual avatar is controlled to perform the action according to the first method. Once it is found that the offset of any key point in the current displacement direction exceeds the offset threshold, it indicates that the motion constraints are not satisfied. At this time, the system switches from the first method to the second method to control the virtual avatar to perform the action.

[0122] In the third item, the duration of the virtual image being output is recorded from the moment the virtual image is output by the output device. That is to say, in this embodiment, from the moment the virtual image is output by the output device, the virtual image is controlled to perform actions according to the first method. When the duration of the virtual image being output reaches the duration threshold, the control method switches from the first method to the second method to control the virtual image to perform actions.

[0123] In the fourth item, before the action data in the second method is received by the electronic device, the virtual image is controlled to perform actions according to the first method. When the action data in the second method is received by the electronic device, the control of the virtual image to perform actions is switched from the first method to the second method.

[0124] In the fifth item, starting from the moment the virtual avatar is output, the virtual avatar is controlled to perform actions according to the first method. When the number of interactions between the virtual avatar and the user of the electronic device is greater than or equal to a threshold, the control method switches from the first method to the second method. Alternatively, starting from the moment the virtual avatar is output, the virtual avatar is controlled to perform actions according to the first method. When the virtual avatar performs an action of a preset action type, the control method switches from the first method to the second method.

[0125] The sixth item: From the moment the virtual avatar is output, control the virtual avatar to perform actions according to the first method until a switching command is received from the user of the electronic device to switch to the second method to control the virtual avatar to perform actions.

[0126] The seventh item: Starting from the moment the virtual avatar is output, control the virtual avatar to perform actions according to the action data in the first method. If no response result is obtained from the first method to match the action data, then switch from the first method to the second method to control the virtual avatar to perform actions.

[0127] In summary, after the virtual avatar is output, it is first controlled according to the first method to perform actions. When the switching conditions mentioned above are met, the system switches to controlling the virtual avatar according to the second method. Therefore, within the initial first time period after the virtual avatar is output, it performs actions according to the first method. After the switching conditions are met, i.e., within the second time period after the virtual avatar is output, it performs actions according to the second method, such as... Figure 5 As shown in the image.

[0128] Based on the above implementation schemes, in one possible implementation, the first control data includes motion data matching the operator's actions, and the second control data includes motion data matching the response results, where the response results are obtained from the response input and output. In another possible implementation, the first control data includes motion data matching the operator's actions, and the second control data includes prediction data based on the motion data in the first control data.

[0129] For example, with Figure 2Taking a virtual character output on a mobile phone as an example, firstly, after the virtual character is output, the system controls the virtual character to perform actions based on the action data matched by the user's input voice. Upon receiving action data from an associated device that matches the operator's actions, the system controls the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device. It also continuously monitors whether the data confidence level of the action data transmitted from the associated device meets the first control condition, i.e., whether the data quality of the action data is low. If the data confidence level of the action data meets the first control condition, then the system switches to controlling the virtual character to perform actions based on the action data matched by the user's input voice, and continues to monitor whether the data confidence level of the action data transmitted from the associated device meets the first control condition. If the reliability does not meet the control conditions (i.e., the data quality of the motion data is high), then the virtual character on the mobile phone is controlled to perform actions according to the motion data transmitted from the associated device. In addition, this embodiment continuously monitors whether the motion parameters of key points contained in the motion data transmitted from the associated device meet the corresponding motion constraints, such as excessive head twisting angle. If the motion parameters do not meet the motion constraints, then the control method of the virtual character is switched to the motion data matched with the response result corresponding to the user's input voice, until the motion parameters in the received motion data meet the motion constraints. Then, the control method of the virtual character on the mobile phone is switched back to the motion data transmitted from the associated device, and so on, continuously switching the control method of the virtual character to ensure that the virtual character can provide users with more comprehensive services.

[0130] For example, with Figure 2 Taking a virtual character output on a mobile phone as an example, firstly, after the virtual character is output, the action data matched according to the response result corresponding to the user's input voice is used to control the virtual character to perform actions, and the duration of the output of the virtual character is timed. When the time reaches the duration threshold, the action data transmitted from the associated device is used to control the virtual character on the mobile phone to perform actions, and the confidence level of the action data transmitted from the associated device is continuously monitored to see if it meets the first control condition. If the confidence level of the action data meets the control condition, then the control is switched to the action data matched according to the response result corresponding to the user's input voice, and so on.

[0131] For example, with Figure 2 Taking the virtual character output on the mobile phone as an example, firstly, after the virtual character is output, the action data matched according to the response result corresponding to the user's input voice is used to control the virtual character to perform actions. The number of interactions between the virtual character and the user and the actions performed by the virtual character are recorded. When the number of recorded interactions reaches 3 times or the virtual character performs the "Please wait for human assistance" prompt action, the action data transmitted from the associated device is used to control the virtual character on the mobile phone to perform actions.

[0132] For example, with Figure 2 Taking the virtual character output on the mobile phone as an example, firstly, after the virtual character is output, the action data matched according to the response result corresponding to the user's input voice is used to control the virtual character to perform actions. After receiving the switching instruction corresponding to the user's input voice "Find a human customer service", the system switches to controlling the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device.

[0133] For example, with Figure 2 Taking a virtual character output on a mobile phone as an example, firstly, after the virtual character is output, the action data matched with the response result corresponding to the user's input voice is used to control the virtual character to perform actions. After the user inputs voice, the input voice is collected. If the collected voice does not have a corresponding response result, that is, the corresponding action data cannot be matched with the response result, then the system switches to controlling the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device; or, if no user input voice is collected, and therefore no corresponding response result can be obtained, and thus no action data matching the response result can be obtained, then the system switches to controlling the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device; or, after collecting the input voice... After collection, if the response result corresponding to the collected speech does not meet the confidence condition, for example, if the classification probability corresponding to the speech output response result using a pre-trained natural language processing model is low, then the corresponding action data cannot be matched according to the response result. In this case, switch to controlling the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device. Alternatively, after collecting the input speech, if the action data matched to the response result corresponding to the collected speech does not meet the confidence condition, for example, if the classification probability corresponding to the action data output by the action processing model is low, then the action data can be considered unreliable. In this case, switch to controlling the virtual character on the mobile phone to perform actions according to the action data transmitted from the associated device.

[0134] Based on the above scheme, after controlling the virtual image to perform actions according to the first method in step 101 and before controlling the virtual image to perform actions according to the second method in step 102, this embodiment may further include the following steps, such as... Figure 6 As shown:

[0135] Step 103: Obtain the third control data based on the first control data and the second control data.

[0136] Wherein, the first control data is the data used in the first method to control the virtual image to perform actions, and the second control data is the data used in the second method to control the virtual image to perform actions.

[0137] For example, the first control data includes one of the following, and the second control data includes the other of the following:

[0138] The first item: Action data that matches the operator's actions or predicted action data that predicts the operator's actions based on the historical action data corresponding to the action data;

[0139] The second item: Matching the action data of the response result, which is obtained from the response input and output.

[0140] In one implementation, this embodiment can obtain interpolated frame data, i.e., third control data, based on the motion data in the first control data and the motion data in the second control data. The interpolated frame data contains motion data, and the motion parameters of each key point in the motion data of the interpolated frame data are between the motion parameters of the corresponding key point in the motion data of the first control data and the motion parameters of the corresponding key point in the motion data of the second control data.

[0141] Step 104: Based on the third control data, control the output virtual image to perform actions.

[0142] In other words, in this embodiment, before switching from the first method to the second method, the virtual image is first subjected to frame interpolation motion control based on the motion data in the first method combined with the motion data in the second method, and then the virtual image is subjected to motion control according to the motion data in the second method, so as to achieve smooth control of the virtual image.

[0143] For example, with Figure 2Taking a virtual character output on a mobile phone as an example, firstly, after the virtual character is output, the action data matched according to the response result of the user's input voice is used to control the virtual character to perform actions. When action data matching the operator's actions is received from the associated device, interpolated frame data is obtained based on the action data matched according to the response result of the user's input voice and the received action data. The virtual character on the mobile phone is then controlled to perform actions according to the interpolated frame data. After that, the virtual character on the mobile phone is controlled to perform actions according to the action data transmitted from the associated device, and the data confidence of the action data transmitted from the associated device is continuously monitored to see if it meets the first control condition. If the data confidence of the action data meets the first control condition, that is, the data confidence is less than or equal to the confidence threshold, the historical actions corresponding to the action data are first processed. The system predicts motion data (action data with a confidence level greater than a confidence threshold) to obtain predicted motion data. The virtual character is then controlled to perform actions based on this predicted motion data. If the motion parameters of key points in the predicted motion data do not meet the corresponding motion constraints, interpolated frame data is first obtained by matching the predicted motion data with the motion data matching the response results of the user's input voice. The virtual character on the phone is then controlled based on the interpolated frame data. Next, the system switches to controlling the virtual character based on the motion data matching the response results of the user's input voice, continuing until the confidence level of the received motion data exceeds a confidence threshold. Finally, the system switches back to controlling the virtual character on the phone based on the motion data transmitted from the associated device, and so on. This process makes the virtual character's actions smoother.

[0144] Based on the above implementation, in this embodiment, during the process of controlling the virtual image to perform actions according to the first method, the interaction information of the virtual image during the process of being controlled according to the first method is recorded. This interaction information is stored in a designated storage area in the electronic device so that it can be obtained when the virtual image is controlled according to the second method, and can be provided as reference information for controlling the virtual image in the second method.

[0145] The interactive information may include at least one of the following: text keywords, voice clips, and video clips, corresponding to the interaction between the virtual avatar and the user of the electronic device during the process of being controlled in the first manner.

[0146] Specifically, the interactive information can be recorded and then sent by the electronic device to the associated device to provide the operator of the associated device with reference information for performing corresponding actions;

[0147] Alternatively, the interactive information can be read from the storage area of ​​the electronic device by the associated device and output to the operator of the associated device as reference information for performing corresponding actions.

[0148] In one implementation, this embodiment allows selection of the virtual avatar to perform actions according to either the first or second method by setting conditions. Specifically:

[0149] If the first condition is met, the virtual image output by the control system will perform the action according to the first method.

[0150] If the second condition is met, the virtual avatar output by the control system will perform the action according to the second method.

[0151] As can be seen, in this embodiment, the configuration of the first and second conditions allows for flexible switching between controlling the virtual image in the first or second manner, thereby achieving flexible control over the virtual image.

[0152] The first condition includes at least one of the following:

[0153] The first condition is that the degree of matching between the action data of the virtual image used to control the output and the operator's action in the first method satisfies the second control condition; the second control condition is that the parameter value representing the degree of matching is greater than the parameter threshold.

[0154] Second item: The motion data of the virtual image used to control the output in the first method contains motion parameters of key points that satisfy the motion constraints of the parts to which the key points belong;

[0155] The third item: The duration of the virtual image being output is less than or equal to the preset duration threshold;

[0156] Fourth item: The motion data of the virtual avatar used to control the output in the first method is received;

[0157] Fifth: The interactive actions performed by the virtual avatar after it is output meet the interactive control conditions;

[0158] Item 6: Receive the first instruction, which is generated based on the user's first operation on the electronic device;

[0159] Item 7: No response result was obtained for the action data used in the second method to match the action data, which is used to control the virtual avatar to perform actions in the second method;

[0160] The second condition includes at least one of the following:

[0161] First condition: The degree of matching between the action data of the virtual image used to control the output and the operator's actions in the first method does not meet the second control condition.

[0162] Second: The motion data of the virtual image used to control the output in the first method does not meet the motion constraint conditions of the key points in the corresponding parts of the key points.

[0163] The third item: The duration of the virtual image being displayed exceeds the duration threshold;

[0164] Fourthly: In the first method, the motion data of the virtual avatar used to control the output was not received;

[0165] Fifth: The interactive actions performed by the virtual avatar after it is output do not meet the interactive control conditions;

[0166] Item 6: Receive a second instruction, which is generated based on a second operation by the user of the electronic device;

[0167] Item 7: No response result was obtained for the action data used in the first method to match the action data, which is used to control the virtual avatar to perform actions in the first method.

[0168] In summary, when at least one of the first conditions is met, the virtual image output by the control system performs an action according to the first method; when at least one of the second conditions is met, the virtual image output by the control system performs an action according to the second method.

[0169] In one implementation, in step 101, the first method is to control the first sub-object in the output virtual image to perform an action; while in step 102, the second method is to control the second sub-object in the output virtual image to perform an action, and the first sub-object and the second sub-object are different.

[0170] In other words, in this embodiment, the actions of corresponding sub-objects in the virtual image are controlled in different ways. For example, using... Figure 2 Taking the virtual character output on the mobile phone as an example, after the virtual character is output, the torso of the virtual character is controlled to perform corresponding actions according to the first method, and the face and fingers of the virtual character on the mobile phone are controlled to perform corresponding actions according to the second method.

[0171] As can be seen, in this embodiment, the virtual image can be controlled in space simultaneously by controlling the actions of different sub-objects within the virtual image in different ways, thereby achieving flexible control of the virtual image.

[0172] Specifically, in this embodiment, the first sub-object and the second sub-object in the virtual image are output simultaneously. Thus, the first sub-object is controlled to perform an action according to the first method, and the second sub-object is controlled to perform an action according to the second method.

[0173] Furthermore, the first method is to control the first sub-object to perform actions based at least on the first control data; the second method is to control the second sub-object to perform actions based at least on the second control data.

[0174] The first control data is different from the second control data.

[0175] Specifically, the first control data includes one of the following, and the second control data includes another of the following:

[0176] The first item: Action data that matches the operator's movements or audio data that matches the operator's audio;

[0177] The second item: Matching the action data of the response result, which is obtained from the response input and output.

[0178] In other words, in this embodiment, the actions of corresponding sub-objects in the virtual image are controlled according to different control data. For example, with Figure 2 Taking the virtual character output on a mobile phone as an example, after the virtual character is output, the face of the virtual character is controlled to perform corresponding actions according to the motion data obtained by image acquisition and processing of the operator, the fingers of the virtual character are controlled to perform corresponding actions according to the motion data collected by the wearable device worn on the operator's fingers, and the lips of the virtual character on the mobile phone are controlled to perform corresponding actions according to the motion data matched with the response result of the user's input voice.

[0179] Alternatively, the first method is to control the first sub-object to perform actions according to the first control parameter, and the second method is to control the second sub-object to perform actions according to the second control parameter.

[0180] The first control parameter is different from the second control parameter.

[0181] Specifically, the control parameters include at least one of control frame rate and control precision. For example, the first control parameter includes a first control frame rate and / or a first control precision, the second control parameter includes a second control frame rate and / or a second control precision, the first control frame rate and the second control frame rate are different, and the first control precision and the second control precision are different.

[0182] For example, with Figure 2 Taking a virtual character output on a mobile phone as an example, after the virtual character is output, the face of the virtual character is controlled to perform corresponding actions according to the motion data obtained with a higher first control frame rate and a higher first control precision, and the torso and limbs of the virtual character are controlled to perform corresponding actions according to a lower second control frame rate and a lower second control precision.

[0183] As can be seen, in this embodiment, the virtual image can be controlled to move different sub-objects in the virtual image simultaneously in different ways in space. The attention or influence of parts of the virtual image can be classified into levels. For parts with high attention or influence, a higher frame rate and higher precision are used to control the execution of actions, which can make the actions on these parts more accurate, smooth and sensitive. For parts with low attention or influence, a lower frame rate and lower precision are used to control the execution of actions. Since the frame rate and precision are both lower, the amount of action data required is lower, thereby reducing the amount of data processing.

[0184] Furthermore, if the virtual avatar control for parts such as the face and upper limbs uses motion data matched to the operator, and the virtual avatar control for parts such as the torso uses motion data matched to the response results, without requiring any operator movement, then it is possible to ensure that the virtual avatar accurately provides services to the user without requiring the operator's entire body to participate in the service. This reduces the complexity of the operator's operation and lowers the operator's physical exertion.

[0185] refer to Figure 7 This is a schematic diagram of an output module provided in Embodiment 2 of this application. This module can be configured in an electronic device capable of outputting virtual avatars, such as a computer or server with an output device. The output device can be a display screen or projector, or other device capable of outputting virtual avatars. The technical solution in this embodiment is mainly used to improve the user experience of virtual avatars.

[0186] Specifically, the output module of this embodiment may include the following units:

[0187] The first control unit 701 is used to control the output virtual image to perform actions according to the first method;

[0188] The second control unit 702 is used to control the output virtual image to perform actions according to a second method, wherein the second method is different from the first method.

[0189] It should be noted that the output module in this embodiment may also include a data acquisition unit, which is used to acquire multimedia interaction data of the user of the electronic device. Multimedia interaction data refers to the data generated by the user interacting with the virtual avatar, such as the user's audio data and video data.

[0190] In addition, the output module in this embodiment may also include a communication unit, which is used to transmit multimedia interactive data to the associated device corresponding to the electronic device, so that the associated device can output multimedia interactive data so that the operator of the associated device can provide the user with corresponding services in a timely and accurate manner.

[0191] As can be seen from the above technical solutions, in the output module provided in Embodiment 2 of this application, the output virtual image is controlled to perform actions in multiple ways. Unlike the prior art, which can only use data collected by motion sensors to control the output of the virtual image, this embodiment can use multiple different methods to control the output virtual image to perform corresponding actions, thereby achieving flexible control of the virtual image. By improving the flexibility of control, the virtual image can provide better services to users, thus improving the user experience of the virtual image.

[0192] In one implementation, the first method is one of the following, and the second method is another of the following:

[0193] The virtual avatar is controlled to perform actions based at least on first control data; the first control data includes action data that matches the operator's actions.

[0194] The virtual avatar is controlled to perform actions based at least on the second control data; the second control data includes action data that matches the response results, wherein the response results are obtained in response to the input and output.

[0195] Specifically, the motion data in the first control data is obtained in the following way:

[0196] Receive the transmitted data packet; the data packet contains audio data and motion data corresponding to the same target time period;

[0197] The data packet is processed to obtain audio data and motion data in the data packet. The motion data in the data packet is used as the first control data to control the virtual image to perform actions. The audio data in the data packet is used to control the sound signal corresponding to the virtual image.

[0198] In one implementation, the second control unit 702 is specifically used to: control the output virtual image to perform an action according to the second method when the switching condition is met.

[0199] The switching conditions include at least one of the following:

[0200] In the first method, the degree of matching between the action data of the virtual image performing the action for control output and the operator's action satisfies the control conditions;

[0201] The motion data contains motion parameters of key points that satisfy the motion constraints corresponding to the parts to which the key points belong.

[0202] The duration of the output of the virtual image is greater than or equal to a preset duration threshold;

[0203] In the second method, the action data of the virtual image performing the action for controlling the output is received.

[0204] Furthermore, the module in this embodiment may also include the following units, such as... Figure 8 As shown:

[0205] The third control unit 703 is configured to obtain third control data based on first control data and second control data before the second control unit 702 controls the virtual image output to perform an action in accordance with the second method; the first control data is the data used in the first method to control the virtual image output to perform an action, and the second control data is the data used in the second method to control the virtual image output to perform an action; and the third control data is used to control the virtual image output to perform an action.

[0206] Preferably, the module in this embodiment may further include the following units, such as... Figure 9 As shown:

[0207] The interaction recording unit 704 is used to: record interaction information during the process of controlling the virtual image in a first manner; wherein the interaction information can be obtained at least before the virtual image is controlled in a second manner.

[0208] In one implementation, if the first condition is met, the first control unit 701 controls the output virtual image to perform an action according to the first method;

[0209] If the second condition is met, the second control unit 702 controls the output virtual image to perform an action according to the second method;

[0210] The first condition includes at least one of the following:

[0211] In the first method, the degree of matching between the action data of the virtual image performing the action for control output and the operator's action satisfies the control conditions;

[0212] The motion data contains motion parameters of key points that satisfy the motion constraints corresponding to the parts to which the key points belong.

[0213] The duration of the output of the virtual image is greater than or equal to a preset duration threshold;

[0214] The action data is received;

[0215] The second condition includes at least one of the following:

[0216] The degree of matching between the motion data and the operator's actions does not meet the control conditions;

[0217] The motion parameters of the key points contained in the motion data do not meet the motion constraints corresponding to the part to which the key points belong.

[0218] The duration for which the virtual image is output is less than the duration threshold;

[0219] The action data was not received.

[0220] In one implementation, the first method is a method of controlling the first sub-object in the virtual image to perform an action;

[0221] The second method is the way in which the second sub-object in the virtual image of the control output performs an action; the first sub-object is different from the second sub-object.

[0222] In one implementation, in this embodiment, the output device simultaneously outputs the first sub-object and the second sub-object in the virtual image; wherein, the first control unit 701 controls the output first sub-object to perform an action according to the first method; and the second control unit 702 controls the output second sub-object to perform an action according to the second method.

[0223] In one implementation, the first method is a method of controlling the first sub-object to perform an action based at least on the first control data;

[0224] The second method is a method of controlling the second sub-object to perform actions based at least on the second control data;

[0225] Wherein, the first control data includes one of the following, and the second control data includes another of the following:

[0226] Action data that matches the operator's movements or audio data that matches the operator's audio.

[0227] Match the action data of the response results.

[0228] In one implementation, the first method is to control the first sub-object to perform an action according to the first control parameter;

[0229] The second method is to control the second sub-object to perform actions according to the second control parameters; the first control parameters are different from the second control parameters.

[0230] The control parameters include at least one of control frame rate and control precision.

[0231] It should be noted that the specific implementation of each unit in this embodiment can be referred to the corresponding content above, and will not be described in detail here.

[0232] refer to Figure 10 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of this application. The electronic device may include the following structure:

[0233] Output device 1001 is used to output virtual images;

[0234] The processing device 1002 is used to control the output virtual image to perform an action in a first manner; and to control the output virtual image to perform an action in a second manner, wherein the second manner is different from the first manner.

[0235] The processing device 1002 can be implemented using a single processor or multiple processors.

[0236] As can be seen from the above technical solutions, in an electronic device according to Embodiment 3 of this application, the output virtual image is controlled to perform actions in multiple ways. Unlike existing technologies that can only use data collected by motion sensors to control the output of the virtual image, this embodiment can use multiple different methods to control the output virtual image to perform corresponding actions, thereby achieving flexible control of the virtual image. By improving the flexibility of control, the virtual image can provide better services to users, thus improving the user experience of the virtual image.

[0237] It should be noted that the electronic device in this embodiment may also include a data acquisition device, which is used to collect multimedia interaction data of the user of the electronic device. Multimedia interaction data refers to the data generated by the user interacting with the virtual avatar, such as the user's audio data and video data.

[0238] In addition, the electronic device in this embodiment may also include a communication device for transmitting multimedia interactive data to the associated device corresponding to the electronic device, so that the associated device can output multimedia interactive data so that the operator of the associated device can provide the user with corresponding services in a timely and accurate manner.

[0239] Taking a virtual human-driven scenario as an example, the technical solution of this application is described in detail below:

[0240] Firstly, in real-time virtual human driving solutions, operators (real people) typically use wearable devices to perform real-time motion capture, and then apply the captured movements to the model human, i.e., the virtual human, thereby making the virtual human move.

[0241] As the main direction of motion capture, computer vision (CV) motion capture has the following major problems:

[0242] 1. The posture is empty when the operator is not in position, but a series of unexpected actions will occur when the operator enters the position. These actions are invalid data.

[0243] 2. When the operator makes some movements such as turning their head or briefly leaving, the camera cannot capture a complete image of the human body, resulting in data lag, jumps, or distorted movements;

[0244] 3. During remote motion capture and transmission, packet loss and delay in motion capture data can also cause the symptoms of problem 2.

[0245] 4. The operator is too far from the camera or is tilted too much, resulting in poor motion capture data quality.

[0246] To address the aforementioned issues, this application proposes a scheme for controlling the smooth output of a virtual human based on motion capture data, which can maintain the accuracy and fluency of the virtual human's motion output when motion capture data fluctuates or is lacking.

[0247] like Figure 11 As shown, on the operator's side, a microphone for collecting sound signals and an RGB camera for capturing images are provided. Wearable devices, including multiple sensors, are worn on the operator's fingers and other body parts to collect motion data from key points on the wearing areas. On the user's (client's) side, a display screen, microphone, and camera are provided. Based on this, the following processing flow is provided in this embodiment:

[0248] On the operator's side:

[0249] First, on the operator's side, the optimal position frame for image acquisition is output to remind the operator to move into the position frame. This can prompt the operator to sit in a suitable position if the operator's seat is too far to the side. Based on this, audio data is obtained on the operator's side. The audio data may include sound signals collected by the microphone or preset recordings (i.e., recording playback). An RGB camera on the operator's side captures images of the operator. The facial features algorithm is used to process the sub-image of the facial region to obtain motion parameters of multiple key points on the face to represent facial expressions. Sensors in a wearable device worn on the operator's fingers collect parameters from the sensors on the fingers. An RGB camera captures sub-images of the operator's body region. Based on this, the body and hand shape algorithm is used to process the sensor parameters and the sub-images of the body region (i.e., sensor or optical based) to obtain motion data of the body and fingers. Then, the facial expressions and the motion data of the body and fingers are mixed according to a preset frame rate time stamp, such as 60fps, to obtain the operator's motion data (i.e., Facial blend shape + body shape).

[0250] Subsequently, the audio and motion data are combined into a data packet stream (BS+audio packetstream) based on timestamps. This allows the motion data to be transmitted in real-time via a multiplexed audio data transmission channel. Here, BS (blendshape) refers to the operator's motion data obtained through blending, as described earlier.

[0251] Finally, the data packet stream is transmitted to the user-side device via a low-latency network channel. This low-latency network channel allows for the low-latency transmission of video data, mixed data such as packets containing motion data (BS / pose) and audio data, and other signals.

[0252] In addition, on the operator's side device, the operator's motion data can be used to control the motion of the virtual human output on the operator's side. That is to say, the operator's side device outputs the image captured by the RGB camera to the operator, and also renders the corresponding virtual human for the operator and controls the virtual human according to the obtained motion data. This is called Coarserender for preview, which realizes the rendering preview of the virtual human on the operator's side.

[0253] On the user's side:

[0254] First, after the user side receives the data packet stream transmitted from the operator side, the data packet stream is parsed to extract the audio data and motion data in the data packet, namely Demux body BS&audio.

[0255] Subsequently, on the user's side, a virtual human can be output through Hifi animator rendering using specific rendering tools, and the virtual human can be controlled to perform corresponding actions based on motion data. Thus, a high-fidelity Hifi rendering 3D virtual human can be output on the user's display screen.

[0256] Additionally, on the user side, if there are cases where the confidence level of action data in a data packet is low or does not meet the constraints, then this action data can be discarded, and the action data at the current moment can be predicted through historical data, i.e., Packet discard or combine and BS de-jitter.

[0257] In addition, the user side can capture video data from the user via a camera and transmit the video data to the operator side, where the operator can then output the user's video data—this is known as camera video capture. Thus, the user can view the operator's virtual puppet, whose movements are synchronized with the operator's (Actor's) movements. The operator can not only preview the virtual puppet but also view the user's video data, allowing them to promptly understand the user's situation and provide appropriate services.

[0258] refer to Figure 12 The flowchart shown illustrates the process of controlling the virtual human's movements on the user side:

[0259] 1. Play preset actions upon entry:

[0260] In the initial stage of the virtual human being output, due to the poor quality of motion capture data (i.e., motion data), preset animations can be played at this time, that is, the virtual human's motion control can be performed according to preset motion data or motion data matched according to the response results of user input and output.

[0261] When the motion capture data is stable (motion capture is normal), frame interpolation is first used to switch from preset animation to real-time data control of the virtual human. That is, the virtual human is controlled to perform corresponding actions according to the motion data matching the operator's actions.

[0262] 2. During the virtual human output process, if the motion data matching the operator's actions indicates that the operator is moving, leaving, turning their head, or going too far away, which does not meet the constraints, then frame interpolation is first used to switch from preset animation to real-time data control of the virtual human.

[0263] Specifically: When it is determined that the motion capture data quality is poor, does not meet the constraints, or has no data due to the above reasons, such as data lag, the preset animation can be replayed. That is, the virtual human's motion control can be performed according to the preset motion data or the motion data matched by the user's input and output response results. Alternatively, the operator's motion can be predicted based on historical motion capture data with better data quality to obtain the predicted lag motion data. The virtual human's motion control can be performed according to the predicted lag motion data. When the predicted lag motion data exceeds the frame rate threshold, that is, the lag time is too long, the prediction quality will decrease. At this time, a close pre-recorded animation can be found and frame interpolation can be used to transition to playing the preset animation.

[0264] 3. When remote-driven data is lost, the handling process is the same as in 2, using prediction and frame interpolation to control the virtual human's movements. Additionally, in 2 and 3, once the motion capture data quality is restored, the virtual human can continue to perform corresponding actions based on the motion data matching the operator's movements.

[0265] 4. When playing preset animations, there may be unnatural situations, such as the mouth shape not matching the sound signal. In this case, the operator's voice signal can be used to control the changes in the virtual person's mouth shape.

[0266] It should be noted that the quality of the above motion capture data can be determined using the following methods:

[0267] 1. If the motion capture algorithm output has data confidence, then obtain the data confidence of the motion data of each part of the operator output by the motion capture algorithm, and perform a weighted sum of the data confidence. If the obtained data confidence value is lower than the confidence threshold, then the data is considered unreliable, that is, the data quality is poor.

[0268] 2. If the motion capture algorithm cannot output data confidence, then drive the virtual human according to the motion capture data and compare its actions with predefined constraints. If there are constraints that are not met, the data quality is considered poor.

[0269] 3. In cases of head tilting or other deviations, calculate the angle between the face orientation output by the motion capture algorithm and the camera orientation. If the angle exceeds the threshold, the head tilt is considered too large and does not meet the constraints, indicating poor data quality.

[0270] In summary, by adopting the technical solution of this application, it is possible to prevent poor motion capture data quality that could lead to distorted virtual human output when the operator initially enters the interactive scene. By controlling the virtual human's movements, smooth processing can be achieved to avoid large fluctuations in movement changes, thus enabling the virtual human to provide users with a more natural service.

[0271] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0272] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0273] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0274] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An output method, the method comprising: Following the first method, control the output virtual avatar to perform actions; When the switching condition is met, the virtual image output is controlled to perform an action according to the second method, wherein the second method is different from the first method; Wherein, the first method is one of the following, and the second method is another of the following: The virtual avatar is controlled to perform actions based at least on first control data; the first control data includes action data that matches the operator's actions. The virtual avatar is controlled to perform actions based at least on the second control data; the second control data includes action data that matches the response results, wherein the response results are obtained in response to the input and output.

2. The method according to claim 1, wherein the motion data in the first control data is obtained in the following manner: Receive the transmitted data packet; the data packet contains audio data and motion data corresponding to the same target time period; The data packet is processed to obtain audio data and motion data in the data packet. The motion data in the data packet is used as the first control data to control the virtual image to perform actions. The audio data in the data packet is used to control the sound signal corresponding to the virtual image.

3. The method according to claim 1, wherein the switching condition includes at least one of the following: In the first method, the degree of matching between the action data of the virtual image performing the action for control output and the operator's action satisfies the first control condition; In the first method, the motion data used to control the output of the virtual image's execution of actions contains motion parameters of key points that do not meet the motion constraints corresponding to the parts to which the key points belong. The duration of the output of the virtual image is greater than or equal to a preset duration threshold; In the second method, the action data of the virtual image performing the action for controlling the output is received; The interactive actions performed by the virtual avatar after being output satisfy the interactive control conditions; A switching instruction is received, which is generated based on the user's switching operation on the electronic device; No response was obtained for matching the action data in the first method, which is used to control the virtual image to perform actions in the first method.

4. The method according to claim 1, further comprising, before controlling the output virtual image to perform an action according to the second method: Based on the first control data and the second control data, the third control data is obtained; The first control data is the data used in the first method to control the virtual image to perform actions, and the second control data is the data used in the second method to control the virtual image to perform actions. Based on the third control data, the virtual avatar is controlled to perform actions.

5. The method according to claim 1, further comprising: Record the interaction information during the process of controlling the virtual image in the first manner; The interactive information can be obtained at least when the virtual avatar is controlled in the second manner.

6. The method according to claim 1, wherein: If the first condition is met, the virtual image output by the control system will perform the action according to the first method. If the second condition is met, the virtual image output by the control system will perform an action in accordance with the second method. The first condition includes at least one of the following: In the first method, the degree of matching between the action data of the virtual image performing the action and the operator's action satisfies the second control condition; In the first method, the action data used to control the output of the virtual image to perform actions includes action parameters of key points, which satisfy the action constraints corresponding to the parts to which the key points belong; The duration for which the virtual image is output is less than or equal to a preset duration threshold. In the first method, the action data used to control the output of the virtual image performing the action is received; The interactive actions performed by the virtual avatar after being output satisfy the interactive control conditions; Upon receiving a first instruction, the first instruction is generated based on a first operation by the user of the electronic device; No response was obtained for matching the action data in the second method, which is used to control the virtual image to perform actions in the second method; The second condition includes at least one of the following: In the first method, the degree of matching between the action data of the virtual image performing the action and the operator's action does not meet the second control condition; In the first method, the action data used to control the output of the virtual image to perform actions includes the action parameters of key points, which do not meet the action constraints corresponding to the parts to which the key points belong. The duration for which the virtual avatar is output is greater than the duration threshold. In the first method, the action data used to control the output of the virtual image performing the action was not received; The interactive actions performed by the virtual avatar after being output do not meet the interactive control conditions. A second instruction is received, which is generated based on a second operation by the user of the electronic device; No response was obtained for matching the action data in the first method, which is used to control the virtual image to perform actions in the first method.

7. The method according to claim 1, wherein the first mode is a mode in which the first sub-object in the virtual image being output is controlled to perform an action; The second method is the way in which the second sub-object in the virtual image of the control output performs an action; the first sub-object is different from the second sub-object.

8. The method according to claim 7, wherein the first mode is a mode in which the first sub-object is controlled to perform an action at least according to the first control data; The second method is a method of controlling the second sub-object to perform actions based at least on the second control data; in, The first control data includes one of the following, and the second control data includes another of the following: Action data that matches the operator's movements or audio data that matches the operator's audio. Match the action data of the response results.

9. The method according to claim 7, wherein the first mode is a mode in which the first sub-object is controlled to perform an action according to the first control parameter; The second method is to control the second sub-object to perform actions according to the second control parameters; the first control parameters are different from the second control parameters. in, The control parameters include at least one of control frame rate and control precision.

10. An electronic device, comprising: Output device, used to output virtual avatars; A processing device is configured to control the output virtual avatar to perform actions in accordance with a first method; When the switching condition is met, the virtual image output is controlled to perform an action according to the second method, wherein the second method is different from the first method; Wherein, the first method is one of the following, and the second method is another of the following: The virtual avatar is controlled to perform actions based at least on first control data; the first control data includes action data that matches the operator's actions. The virtual avatar is controlled to perform actions based at least on the second control data; the second control data includes action data that matches the response results, wherein the response results are obtained in response to the input and output.

Citation Information

Patent Citations

  • Virtual locomotion controller apparatus and methods

    US20110009241A1

  • Providing situational priority to player communications in a multi-player environment

    US20150005073A1

  • Computer-readable non-transitory storage medium having game program stored therein, game processing method, game system, and game apparatus

    US20180056183A1

  • Methods and Systems for Creating an Immersive Character Interaction Experience

    US20210287416A1

  • Application onboarding tutorial system

    US20220366810A1