Emotion control method, device, storage medium and electronic device for interactive device
By obtaining the interaction rate and learning evaluation value of the interactive object, determining the emotional value of the interactive device and matching the emotional expression method, the problem of poor teaching effect in the existing technology is solved, and the emotional interaction and teaching effect of the interactive device are improved.
Patent Information
- Application Number
- CN202111363190.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2041-11-17
AI Technical Summary
The existing interactive equipment has poor teaching effect during the teaching process, and the lecture function is a fixed mode and display method, and the lack of emotional interaction, which leads to the boring experience of students.
By obtaining the interaction rate and learning evaluation value of the interactive object, the target emotion value of the interactive device is determined, and the corresponding emotion expression method is matched in the preset emotion database, and the interactive device is controlled to perform emotion expression.
It improves the teaching effect of interactive devices, enhances emotional interaction in the teaching process, and improves students' interest in learning and understanding.
Smart Images

Figure CN114064988B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an emotion control method, device, storage medium and electronic device for an interactive device. Background Art
[0002] In the dual-teacher teaching model, interactive devices (such as robots) assist human teachers in explaining courses, which can help students and answer their various questions to a certain extent, allowing them to better understand the learning content and learn more and more thorough knowledge.
[0003] In the prior art, the lecture function of interactive devices is similar to that of a tape recorder, and is usually in a fixed mode and display method, which makes the lecture process boring and the teaching effect is poor. Summary of the Invention
[0004] The embodiments of the present invention provide an emotion control method, device, storage medium and electronic device for an interactive device, so as to improve the teaching effect of the interactive device.
[0005] In a first aspect, an embodiment of the present invention provides an emotion control method for an interactive device, comprising:
[0006] Acquiring performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value;
[0007] determining a target emotion value of the interactive device based on the performance information of the interactive object;
[0008] Determining an emotional expression corresponding to the target emotional value of the interactive device based on matching the target emotional value of the interactive device in a preset emotional library;
[0009] Controlling the interactive device to execute the emotional expression method.
[0010] In a second aspect, an embodiment of the present invention further provides an emotion control device for an interactive device, comprising:
[0011] An information acquisition module, configured to acquire performance information of an interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value;
[0012] a target emotion value determination module, configured to determine a target emotion value of an interactive device based on the performance information of the interactive object;
[0013] an expression mode determination module, configured to determine an emotional expression mode corresponding to the target emotional value of the interactive device based on matching the target emotional value of the interactive device in a preset emotional library;
[0014] The emotion control module is used to control the interactive device to execute the emotion expression method.
[0015] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising:
[0016] one or more processors;
[0017] a storage device for storing one or more programs,
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the emotion control method for an interactive device described in any one of the embodiments of the present invention.
[0019] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the emotion control method for an interactive device described in any one of the embodiments of the present invention.
[0020] The present invention obtains performance information of an interactive object, where the performance information includes at least one of an interaction rate and a learning evaluation value; determines a target emotion value for an interactive device based on the performance information of the interactive object; matches the target emotion value of the interactive device against a preset emotion library to determine an emotional expression corresponding to the target emotion value of the interactive device; and controls the interactive device to execute the emotional expression. The technical solution of the above invention enables the interactive device to determine an emotional expression based on one or more of the interaction rate and learning evaluation value, thereby achieving emotional changes in the interactive device and helping to improve the teaching effectiveness of the interactive device. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings introduced here only illustrate some of the embodiments to be described by the present invention, and are not exhaustive. A person skilled in the art can derive other drawings based on these drawings without inventive effort.
[0022] Figure 1 This is a flow chart of an emotion control method for an interactive device provided in the first embodiment of the present invention;
[0023] Figure 2 This is a flow chart of an emotion control method for an interactive device provided in the second embodiment of the present invention;
[0024] Figure 3 This is a flow chart of an emotion control method for an interactive device provided in a third embodiment of the present invention;
[0025] Figure 4is a schematic diagram of an emotion management system for an interactive device provided by a fourth embodiment of the present invention;
[0026] Figure 5 This is a schematic structural diagram of an emotion control device for an interactive device provided in a fifth embodiment of the present invention;
[0027] Figure 6 This is a structural diagram of an electronic device provided by Example 6 of the present invention. DETAILED DESCRIPTION
[0028] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention.
[0029] It should also be noted that, for ease of description, only the part relevant to the present invention, rather than all of the content, is shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processing or methods depicted as flow charts. Although flow charts describe various operations (or steps) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. When its operation is completed, the processing can be terminated, but can also have additional steps not included in the accompanying drawings. The processing can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0030] Example 1
[0031] Figure 1 This is a flowchart of a method for controlling emotions in an interactive device, provided in Example 1 of the present invention. This embodiment is applicable to situations where an interactive device automatically controls emotions during a teaching process. The method can be performed by an emotion control device for an interactive device, provided in an embodiment of the present invention. The device can be implemented using software and / or hardware and can be configured on an electronic computing device, such as a robot. Specifically, the method includes the following steps:
[0032] S110: Acquire performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value.
[0033] An interactive object can be an object that interacts with an interactive device, for example, a student, teacher, etc. An interactive device can be a computer hardware device that provides information input and output to a user, for example, a robot. In a teaching scenario, the interactive device can specifically be an offline teaching assistant robot. Performance information refers to the performance of the interactive object, and performance information includes at least one of an interaction rate and a learning evaluation value. The interaction rate can be used to evaluate the performance of teaching interaction. The interaction rate can be the interaction rate of one or more interactive objects. When the interaction rate is the interaction rate of multiple interactive objects, it can be used to evaluate the overall interaction of multiple interactive objects. For example, in a teaching scenario, the interactive object can be a student, and the interaction rate can be the overall interaction of a class including multiple students. The learning evaluation value can be used to evaluate the performance of teaching questions or answers. The learning evaluation value can be the learning evaluation value of one or more interactive objects. When the learning evaluation value is the learning evaluation value of multiple interactive objects, it can be used to evaluate the overall learning performance of multiple interactive objects, for example, the class average.
[0034] Specifically, the acquisition of performance information of interactive objects can be achieved through the following process: an information collection device of an interactive device collects the performance of the interactive object in real time and determines performance information based on the performance of the interactive object. The information collection device may include, but is not limited to, a voice collection device, a touch screen, etc. Performance information includes, but is not limited to, teaching interaction, teaching questioning, and teaching answering. During the information collection process, performance information can be generated in real time based on one or more of the teaching interaction, teaching questioning, and teaching answering.
[0035] S120: Determine a target emotion value of the interactive device based on the performance information of the interactive object.
[0036] Among them, the target emotion value can be the emotion value finally determined by the interactive device during the interaction process. The emotion value can be used to measure the current emotional state of the interactive device. For example, the emotion value can be set in the form of a percentage system, and the range of the emotion value is 1%-100%. In one embodiment of the present invention, the larger the emotion value, the higher the emotion, and the smaller the emotion value, the lower the emotion; in another embodiment of the present invention, the smaller the emotion value, the higher the emotion, and the larger the emotion value, the lower the emotion. This embodiment does not limit this.
[0037] Specifically, in one embodiment of the present invention, the performance information of the interactive object can be input into a preset emotion model to obtain a target emotion value, wherein the preset emotion model can be a pre-trained machine learning model; in another embodiment of the present invention, the performance information can be compared with preset conditions, and the target emotion value can be determined based on the comparison result, wherein the preset conditions can correspond one-to-one with the performance information, that is, each type of performance information corresponds to a preset condition, and the comparison results can include but are not limited to meeting the preset conditions and not meeting the preset conditions. Different comparison results correspond to different target emotion values. This method is simple and efficient and can effectively improve the speed of determining the target emotion value. The embodiment of the present invention is not limited to this.
[0038] S130: Determine an emotional expression method corresponding to the target emotional value of the interactive device based on a match between the target emotional value of the interactive device and a preset emotional library.
[0039] The preset emotion library includes a variety of emotional expressions. Emotional expressions refer to the way an interactive device displays emotions. These include, but are not limited to, tone, action, expression, and interface. Tone expressions for interactive devices can include declarative, interrogative, imperative, and exclamatory; action expressions include rotational and body movements; expression expressions include happy and sad expression animations; and interface expressions include various interface animations and background colors. Different animations represent different emotions. The interface can play teaching content.
[0040] It is understandable that different target emotion values can correspond to different emotional expressions. There are many different expression methods, including tone of voice, action expression, expression of expression, and interface expression. You can match the tone of voice, action expression, expression of expression, and interface expression to the target emotion value.
[0041] S140: Control the interactive device to execute the emotional expression method.
[0042] Among them, the interactive device can include multiple actuators, such as a robotic arm, a display screen, and a voice player, etc., which can control the actuators of the interactive device to execute emotional expressions.
[0043] Specifically, the robotic arm can perform action expressions, such as handshakes and waving; the voice player can perform voice expressions, such as voices with different tones and intonations; and the display screen can perform facial expressions and interface expressions. Optionally, the interactive device includes multiple display screens, any of which can perform facial expressions or interface expressions. Exemplarily, the interactive device can include two display screens, the display screen located above the interactive device is used to perform facial expressions, the display screen located above the interactive device can display animated expressions, the display screen located above the interactive device is used to perform interface expressions, and the display screen located above the interactive device can display teaching content.
[0044] An embodiment of the present invention provides an emotion control method for an interactive device. The method comprises obtaining performance information of an interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value; determining a target emotion value for the interactive device based on the performance information of the interactive object; matching the target emotion value of the interactive device with a preset emotion library to determine an emotion expression method corresponding to the target emotion value of the interactive device; and controlling the interactive device to execute the emotion expression method. The technical solution of the above invention enables the interactive device to determine an emotion expression method based on one or more of the interaction rate and learning evaluation value, thereby achieving emotion changes in the interactive device and helping to improve the teaching effectiveness of the interactive device.
[0045] Example 2
[0046] Figure 2 This is a flowchart diagram of an emotion control method for an interactive device provided in the second embodiment of the present invention. Based on the above embodiment, the "determining the target emotion value of the interactive device based on the performance information of the interactive object" is further refined. Its specific implementation method can be found in the detailed description of this technical solution. Among them, the technical terms that are the same as or corresponding to the above embodiment are not repeated here. Figure 2 As shown, the method of the embodiment of the present invention specifically includes the following steps:
[0047] S210: Acquire performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value.
[0048] S220: Determine a target emotion value of the interactive device based on the interaction rate and / or the learning evaluation value.
[0049] Specifically, in one embodiment of the present invention, the target emotional value of the interactive device can be determined based on the interaction rate; in one embodiment of the present invention, the target emotional value of the interactive device can be determined based on the learning evaluation value; in another embodiment of the present invention, the target emotional value of the interactive device is determined based on the interaction rate and the learning evaluation value, and the present invention does not limit this.
[0050] On the basis of the above embodiment, the target emotion value of the interactive device is determined based on the interaction rate, including: if the interaction rate is greater than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is increased to determine the target emotion value of the interactive device; or, if the interaction rate is less than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is reduced to determine the target emotion value of the interactive device.
[0051] Among them, the preset interaction threshold is a pre-set interaction threshold. The preset interaction threshold can be one or more. When there are multiple preset interaction thresholds, it indicates that the interactive device can make segmented judgments on the interaction rate, so that the steps of determining the target emotion value are more in line with the process of human emotion changes.
[0052] It is understood that the emotion value is a quantity that changes in real time with the interaction rate, the current emotion value is the emotion value at the current moment, and the target emotion value is the final result of the emotion value change within a preset time interval. In this embodiment of the present invention, by setting a preset interaction threshold to determine whether the emotion value increases or decreases, the method is simple and efficient, and can effectively simulate the changing process of human emotions.
[0053] On the basis of the above embodiment, the target emotion value of the interactive device is determined based on the learning evaluation value, including: if the learning evaluation value is greater than the preset evaluation threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset evaluation threshold is increased to determine the target emotion value of the interactive device; or, if the learning evaluation value is less than the preset evaluation threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset evaluation threshold is reduced to determine the target emotion value of the interactive device.
[0054] Among them, the preset evaluation threshold is a pre-set learning evaluation threshold. The preset evaluation threshold can be one or more. When there are multiple preset evaluation thresholds, it indicates that the interactive device can make segmented judgments on the learning evaluation value, so that the step of determining the target emotional value is more in line with the process of human emotional changes.
[0055] In the embodiment of the present invention, the increase or decrease of the emotion value is determined by setting a preset evaluation threshold. The method is simple and efficient and can effectively simulate the changing process of human emotions.
[0056] S230: Determine an emotional expression method corresponding to the target emotional value of the interactive device based on a match between the target emotional value of the interactive device and a preset emotional library.
[0057] S240: Control the interactive device to execute the emotional expression method.
[0058] An embodiment of the present invention provides an emotion control method for an interactive device. By comparing the interaction rate with a preset interaction threshold and the learning evaluation value with a preset evaluation threshold, the emotion value corresponding to the preset evaluation threshold is increased or decreased based on the current emotion value of the interactive device to obtain a target emotion value. The method is simple and efficient.
[0059] Example 3
[0060] Figure 3 A flowchart of an emotion control method for an interactive device provided in the third embodiment of the present invention, the embodiment of the present invention can be combined with the various optional schemes in the above embodiments. In the embodiment of the present invention, optionally, the target emotion value of the interactive device is matched in a preset emotion library to determine the emotion expression corresponding to the target emotion value of the interactive device, including: determining the preset emotion range corresponding to the target emotion value based on the target emotion value of the interactive device; matching the emotion level in the preset emotion library based on the preset emotion range, and determining the emotion expression corresponding to the target emotion value of the interactive device based on the emotion level.
[0061] like Figure 3 As shown, the method of the embodiment of the present invention specifically includes the following steps:
[0062] S310: Acquire performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value.
[0063] S320: Determine a target emotion value of the interactive device based on the performance information of the interactive object.
[0064] S330: Determine a preset emotion range corresponding to the target emotion value based on the target emotion value of the interactive device.
[0065] The preset emotion range is a preset emotional value range, which may be one or more. If the embodiment of the present invention includes multiple preset emotion ranges, the preset emotion range in which the target emotion value belongs can be determined according to the size of the target emotion value.
[0066] Exemplarily, the preset emotion range can be to divide the emotion value evenly according to a percentage system, for example, 1%-20% is a preset emotion range, 21%-40% is a preset emotion range, 41%-60% is a preset emotion range, 61%-80% is a preset emotion range, and 81%-100% is a preset emotion range. For example, if the target emotion value is 45%, the preset emotion range is 41%-60%.
[0067] S340: Match an emotion level in a preset emotion library based on the preset emotion range, and determine an emotion expression corresponding to the target emotion value of the interactive device based on the emotion level.
[0068] The emotion level can be a pre-set emotion level, and the emotion level of the interactive device can include but is not limited to excitement, happiness, normal, depression, and sadness. The emotion level corresponds to the preset emotion range. For example, the preset emotion range of 1%-20% corresponds to the emotion level of sadness, the preset emotion range of 21%-40% corresponds to the emotion level of depression; the preset emotion range of 41%-60% corresponds to the emotion level of normal; the preset emotion range of 61%-80% corresponds to the emotion level of happiness; and the preset emotion range of 81%-100% corresponds to the emotion level of excitement.
[0069] Specifically, the preset emotion library contains a mapping relationship between preset emotion ranges and matching emotion levels. This mapping relationship allows the preset emotion ranges to be matched to the emotion levels in the preset emotion library. It is understood that different emotion levels correspond to different emotional expressions, thereby enabling the interactive device to change its emotions and improve the teaching effectiveness of the interactive device.
[0070] On the basis of the above embodiment, before determining the emotional expression method corresponding to the target emotional value of the interactive device, the method also includes: if the target emotional value is in an increasing state, the difference between the target emotional value and the maximum value of the current preset emotional range is greater than the preset buffer threshold, and the emotional expression method is switched; or, if the target emotional value is in a decreasing state, the difference between the minimum value of the current preset emotional range and the target emotional value is greater than the preset buffer threshold, and the emotional expression method is switched.
[0071] In the embodiment of the present invention, by setting a preset buffer threshold, it is possible to avoid frequent switching of emotional expression modes near a preset range threshold, thereby improving the emotional stability of the switching device.
[0072] S350: Control the interactive device to execute the emotional expression method.
[0073] An embodiment of the present invention provides an emotion control method for an interactive device, which determines a preset emotion range corresponding to a target emotion value based on a target emotion value of the interactive device, matches an emotion level in a preset emotion library based on the preset emotion range, and determines an emotion expression method corresponding to the target emotion value of the interactive device based on the emotion level. The interactive device realizes automatic switching of emotions, thereby realizing changes in the emotions of the interactive device and improving the teaching effect of the interactive device.
[0074] Example 4
[0075] Figure 4 This is a schematic diagram of an emotion management system for an interactive device provided in the fourth embodiment of the present invention, which is a preferred specific embodiment of the above embodiments.
[0076] In teaching scenarios, the interactive device is a teaching assistant robot, which assists human teachers in explaining the course. The teaching assistant robot has an emotion management system. It displays a linear emotional hierarchy, including excitement, happiness, normal, depression, and sadness, determined by emotion values. These values increase or decrease based on student engagement and accuracy in class.
[0077] During class, based on students' performance, if students actively participate in interaction or answer questions correctly, the teaching assistant robot's emotional value will increase; if students have low participation in interaction or low accuracy in answering questions, the teaching assistant robot's emotional value will decrease.
[0078] The teaching assistant robot's emotions can be divided into five levels or grades: excited, happy, normal, depressed, and sad. For example, the emotion value ranges from 1% to 100%, with each level distributed in a different numerical range. When the emotion value switches to a different level, the robot's output is affected by the emotion and adopts different execution modes to reflect the different emotions. The execution group includes expression forms such as tone, action, expression, and interface, and the execution output method varies according to the emotion level.
[0079] Furthermore, to prevent the emotional system from frequently switching near critical values, a switching threshold is set to provide a buffer. For example, if the teaching assistant's emotional value is currently between 41% and 60%, which is the normal level, the threshold is 5%. If the emotional value is increasing, the system will only switch to the previous emotional level (happy) when the emotional value exceeds 65%. If the emotional value is decreasing, the system will only switch to the next emotional level (depressed) when the emotional value falls below 36%.
[0080] In an embodiment of the present invention, the emotion management system of the robot teaching assistant can increase the humanoid nature of the teaching assistant robot. The input in the actual interaction will change the emotion of the teaching assistant robot and affect the execution and performance of the teaching assistant robot.
[0081] Example 5
[0082] Figure 5 This is a schematic diagram of the structure of an emotion control device for an interactive device according to a fifth embodiment of the present invention. The emotion control device provided in this embodiment can be implemented using software and / or hardware and can be configured in a terminal and / or server to implement the emotion control method for an interactive device according to the embodiment of the present invention. The device specifically includes an information acquisition module 410, a target emotion value determination module 420, an expression method determination module 430, and an emotion control module 440.
[0083] Among them, the information acquisition module 410 is used to obtain the performance information of the interactive object, wherein the performance information includes at least one of the interaction rate and the learning evaluation value; the target emotion value determination module 420 is used to determine the target emotion value of the interactive device based on the performance information of the interactive object; the expression method determination module 430 is used to match the target emotion value of the interactive device in the preset emotion library based on the target emotion value of the interactive device, and determine the emotion expression method corresponding to the target emotion value of the interactive device; the emotion control module 440 is used to control the interactive device to execute the emotion expression method.
[0084] An embodiment of the present invention provides an emotion control device for an interactive device. The device obtains performance information of an interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value; determines a target emotion value for the interactive device based on the performance information of the interactive object; determines an emotional expression method corresponding to the target emotion value of the interactive device by matching the target emotion value of the interactive device with a preset emotion library; and controls the interactive device to execute the emotional expression method. The technical solution of the above invention enables the interactive device to determine an emotional expression method based on one or more of the interaction rate and learning evaluation value, thereby achieving emotional changes in the interactive device and helping to improve the teaching effectiveness of the interactive device.
[0085] Based on any optional technical solution in the embodiments of the present invention, optionally, the emotional expression corresponding to the target emotional value of the interactive device includes a tone expression, an action expression, an expression, and an interface expression.
[0086] Based on any optional technical solution in the embodiment of the present invention, optionally, the target emotion value determination module 420 includes:
[0087] An emotion value determination unit is configured to determine a target emotion value of the interactive device based on the interaction rate and / or the learning evaluation value.
[0088] Based on any optional technical solution in the embodiments of the present invention, optionally, the emotion value determination unit may also be configured to:
[0089] If the interaction rate is greater than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is increased to determine the target emotion value of the interactive device; or
[0090] If the interaction rate is less than the preset interaction threshold, the emotion value corresponding to the preset interaction threshold is reduced based on the current emotion value of the interaction device to determine the target emotion value of the interaction device.
[0091] Based on any optional technical solution in the embodiments of the present invention, optionally, the emotion value determination unit may also be configured to:
[0092] If the learning evaluation value is greater than the preset evaluation threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset evaluation threshold is added to determine the target emotion value of the interactive device; or
[0093] If the learning evaluation value is less than the preset evaluation threshold, the emotion value corresponding to the preset evaluation threshold is reduced based on the current emotion value of the interactive device to determine the target emotion value of the interactive device.
[0094] Based on any optional technical solution in the embodiment of the present invention, optionally, the expression mode determination module 430 includes:
[0095] an emotion range determining unit, configured to determine, based on a target emotion value of the interactive device, a preset emotion range corresponding to the target emotion value;
[0096] The emotion expression determination unit is configured to match an emotion level in a preset emotion library based on the preset emotion range, and determine an emotion expression corresponding to a target emotion value of the interactive device based on the emotion level.
[0097] Based on any optional technical solution in the embodiments of the present invention, optionally, the device may also be used for:
[0098] If the target emotion value is in an increasing state, and the difference between the target emotion value and the maximum value of the current preset emotion range is greater than a preset buffer threshold, the emotion expression mode is switched; or
[0099] If the target emotion value is in a decreasing state, and the difference between the minimum value of the current preset emotion range and the target emotion value is greater than a preset buffer threshold, the emotion expression mode is switched.
[0100] The emotion control apparatus for an interactive device provided in an embodiment of the present invention can execute the emotion control method for an interactive device provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0101] Example 6
[0102] Figure 6 This is a structural diagram of an electronic device provided in Example 6 of the present invention. Figure 6 A block diagram of an exemplary electronic device 12 suitable for implementing embodiments of the present invention is shown. Figure 6 The electronic device 12 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention.
[0103] like Figure 6As shown, electronic device 12 is implemented as a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0104] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0105] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0106] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 6 Not shown, often called a "hard drive"). Although Figure 6 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0107] A program / utility 36 having a set (at least one) of program modules 26 may be stored, for example, in system memory 28. Such program modules 26 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 26 generally perform the functions and / or methods of the embodiments described herein.
[0108] The electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and / or any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. Figure 6 As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0109] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing an emotion control method of an interactive device provided by an embodiment of the present invention.
[0110] Example 7
[0111] Embodiment 7 of the present invention further provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, the computer-executable instructions are used to perform an emotion control method for an interactive device. The method includes:
[0112] Acquiring performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value;
[0113] determining a target emotion value of the interactive device based on the performance information of the interactive object;
[0114] Determining an emotional expression corresponding to the target emotional value of the interactive device based on matching the target emotional value of the interactive device in a preset emotional library;
[0115] Controlling the interactive device to execute the emotional expression method.
[0116] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0117] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0118] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0119] The computer program code for performing the operations of the embodiments of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0120] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for controlling emotions of an interactive device, characterized in that: include: Acquiring performance information of the interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value, the interaction rate is used to evaluate the performance of the teaching interaction, and the learning evaluation value is used to evaluate the performance of the teaching question or answer; Determining a target emotion value of the interactive device based on the interaction rate and / or the learning evaluation value, wherein the target emotion value is set in a percentage format; Based on the target emotion value of the interactive device being matched in a preset emotion library, determining an emotion expression method corresponding to the target emotion value of the interactive device, where the emotion expression method corresponding to the target emotion value of the interactive device includes a tone expression method, an action expression method, an expression expression method, and an interface expression method; controlling the interactive device to execute the emotional expression mode; Determining a target emotion value of an interactive device based on the interaction rate includes: If the interaction rate is greater than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is increased to determine the target emotion value of the interactive device; or If the interaction rate is less than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is reduced to determine the target emotion value of the interactive device; The determining of a target emotion value of the interactive device based on the learning evaluation value includes: If the learning evaluation value is greater than the preset evaluation threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset evaluation threshold is added to determine the target emotion value of the interactive device; or If the learning evaluation value is less than the preset evaluation threshold, the emotion value corresponding to the preset evaluation threshold is reduced based on the current emotion value of the interactive device to determine the target emotion value of the interactive device.
2. The method according to claim 1, characterized in that The determining of an emotional expression corresponding to the target emotional value of the interactive device based on matching the target emotional value of the interactive device in a preset emotional library includes: determining a preset emotion range corresponding to the target emotion value based on the target emotion value of the interactive device; An emotion level is matched in a preset emotion library based on the preset emotion range, and an emotion expression corresponding to a target emotion value of the interactive device is determined based on the emotion level.
3. The method according to claim 2, characterized in that Before determining the emotional expression corresponding to the target emotional value of the interactive device, the method further includes: If the target emotion value is in an increasing state, and the difference between the target emotion value and the maximum value of the current preset emotion range is greater than a preset buffer threshold, the emotion expression mode is switched; or If the target emotion value is in a decreasing state, and the difference between the minimum value of the current preset emotion range and the target emotion value is greater than a preset buffer threshold, the emotion expression mode is switched.
4. An emotion control device for an interactive device, characterized in that: include: An information acquisition module, configured to acquire performance information of an interactive object, wherein the performance information includes at least one of an interaction rate and a learning evaluation value, wherein the interaction rate is used to evaluate the performance of the teaching interaction, and the learning evaluation value is used to evaluate the performance of the teaching question or answer; a target emotion value determination module, configured to determine a target emotion value of an interactive device based on the interaction rate and / or the learning evaluation value, wherein the target emotion value is set in a percentage format; An expression determination module is used to determine the emotional expression corresponding to the target emotional value of the interactive device based on the target emotional value of the interactive device in a preset emotional library, where the emotional expression corresponding to the target emotional value of the interactive device includes tone expression, action expression, expression expression and interface expression; An emotion control module, configured to control the interactive device to execute the emotion expression mode; The target emotion value determination module is further configured to: If the interaction rate is greater than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is increased to determine the target emotion value of the interactive device; or If the interaction rate is less than the preset interaction threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset interaction threshold is reduced to determine the target emotion value of the interactive device; The target emotion value determination module is further configured to: If the learning evaluation value is greater than the preset evaluation threshold, then based on the current emotion value of the interactive device, the emotion value corresponding to the preset evaluation threshold is added to determine the target emotion value of the interactive device; or If the learning evaluation value is less than the preset evaluation threshold, the emotion value corresponding to the preset evaluation threshold is reduced based on the current emotion value of the interactive device to determine the target emotion value of the interactive device.
5. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the emotion control method for an interactive device as described in any one of claims 1 to 3.
6. A storage medium containing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the emotion control method of the interactive device according to any one of claims 1 to 3.
Citation Information
Patent Citations
3D video interaction robot with emotion module and expression module
CN105345818A
Intelligent robot, and emotional interaction method and system thereof
CN107301168A