An interactive system and method based on artificial intelligence
By receiving user voice data in real time for indoor positioning and device selection, combined with language recognition and emotional analysis of facial and voice data, it solves the problem of difficult to understand emotional states in artificial intelligence interaction and achieves a comprehensive understanding of user needs.
Patent Information
- Application Number
- CN202410865530.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-01
AI Technical Summary
It is difficult for existing artificial intelligence interactive systems to accurately capture and understand users' emotional states, resulting in a one-sided understanding of user needs and an inability to fully understand the user's true needs.
By obtaining the user's interaction monitoring permission, the user's voice data is received in real time for indoor positioning, target shooting equipment and voice equipment are selected, facial shooting and voice collection are performed, facial and voice data are integrated for language recognition and emotion analysis, and interactive response information is generated.
It achieves accurate capture and understanding of the user's emotional state during artificial intelligence interaction, ensuring a complete understanding of the user's true needs.
Smart Images

Figure CN118409728B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence technology, and in particular relates to an interactive system and method based on artificial intelligence. Background Art
[0002] Artificial intelligence interaction is the process of information exchange between artificial intelligence systems and users, understanding user needs, and making corresponding feedback. It aims to imitate or surpass the natural communication methods between humans, enabling machines to perceive, understand, learn and respond to user intentions, and achieve more intelligent interaction with users.
[0003] In the existing technology, the interaction between artificial intelligence and users only relies on the user's voice recognition to understand the user's needs and then provide corresponding feedback. It is difficult to accurately capture and understand the user's emotional state, which easily leads to a one-sided understanding of user needs, and therefore it is impossible to fully understand the user's real needs. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide an interactive system and method based on artificial intelligence, aiming to solve the problems raised in the background technology.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] An interactive method based on artificial intelligence, the method specifically comprising the following steps:
[0007] Obtain the user's interactive monitoring authority, receive multiple user voice data in real time through multiple voice interaction devices, perform indoor positioning based on the multiple user voice data, and determine the user's real-time location;
[0008] Interactively recognize the multiple user voice data, and when there is a voice interaction request, select a target shooting device and a target voice device according to the real-time location of the user;
[0009] Using the target shooting device, shooting the user's face to obtain face shooting data;
[0010] Through the target voice device, the user's voice is collected to obtain interactive voice data;
[0011] Combining the facial shooting data and the interactive voice data, performing language recognition and emotion analysis, and obtaining interactive request information and current interactive emotion;
[0012] Generate interactive response information based on the interactive request information and the current interactive emotion, and perform a response interaction with the user through the target voice device.
[0013] As a further limitation of the technical solution of the embodiment of the present invention, the obtaining of the user's interaction monitoring authority, receiving multiple user voice data in real time through multiple voice interaction devices, performing indoor positioning according to the multiple user voice data, and determining the user's real-time location specifically includes the following steps:
[0014] Apply for monitoring permissions, and after the application is approved, obtain the user's interactive monitoring permissions;
[0015] Receive multiple user voice data in real time through multiple voice interaction devices;
[0016] Calculating the voice signal power of the plurality of user voice data;
[0017] Determining a plurality of voice receiving distances according to the plurality of voice signal powers;
[0018] The user is positioned indoors based on the multiple voice receiving distances to determine the user's real-time location.
[0019] As a further limitation of the technical solution of the embodiment of the present invention, the interactive recognition of the plurality of user voice data, when there is a voice interaction request, selecting a target shooting device and a target voice device according to the real-time location of the user specifically comprises the following steps:
[0020] Recognize the plurality of user voice data to obtain user voice information in real time;
[0021] According to the preset interaction instructions, interactively identify the plurality of user voice information to determine whether there is a voice interaction request;
[0022] When there is a voice interaction request, compare the multiple voice receiving distances and select the closest receiving distance;
[0023] Selecting a corresponding target voice device from the plurality of voice interaction devices according to the closest receiving distance;
[0024] A target shooting device is selected according to the real-time location of the user.
[0025] As a further limitation of the technical solution of the embodiment of the present invention, the step of photographing the user's face by the target photographing device and obtaining the facial photographing data specifically includes the following steps:
[0026] Generate interactive shooting instructions;
[0027] Sending the interactive shooting instruction to the target shooting device;
[0028] After receiving the interactive shooting instruction, the target shooting device shoots the face of the user to obtain facial shooting data.
[0029] As a further limitation of the technical solution of the embodiment of the present invention, the step of collecting the user's voice through the target voice device to obtain the interactive voice data specifically includes the following steps:
[0030] Generate special collection instructions;
[0031] Sending the special collection instruction to the target voice device;
[0032] After receiving the special collection instruction, the target voice device collects the user's voice and obtains interactive voice data.
[0033] As a further limitation of the technical solution of the embodiment of the present invention, the step of integrating the facial shooting data and the interactive voice data, performing language recognition and emotion analysis, and obtaining the interactive request information and the current interactive emotion specifically includes the following steps:
[0034] Performing feature recognition on the facial capture data to obtain multiple facial emotion features;
[0035] Performing natural language processing on the interactive voice data to generate interactive voice information;
[0036] Performing feature recognition on the interactive voice information to obtain multiple language emotion features;
[0037] Performing emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the user's current interaction emotion;
[0038] Based on the current interaction emotion, the interaction voice information is processed to generate interaction request information.
[0039] As a further limitation of the technical solution of the embodiment of the present invention, generating interactive response information according to the interactive request information and the current interactive emotion, and performing a response interaction with the user through the target voice device specifically includes the following steps:
[0040] Generate interaction response information according to the interaction request information and the current interaction emotion;
[0041] Sending the interactive response information to the target voice device;
[0042] The target voice device is used to interact with the user using the interactive response information.
[0043] An interactive system based on artificial intelligence, the system comprises a real-time voice receiving unit, an interactive device selection unit, a facial shooting processing unit, a voice collection processing unit, a language recognition emotion analysis unit and a response interaction processing unit, wherein:
[0044] A real-time voice receiving unit is used to obtain the user's interactive monitoring authority, receive multiple user voice data in real time through multiple voice interaction devices, perform indoor positioning based on the multiple user voice data, and determine the user's real-time location;
[0045] An interactive device selection unit, configured to interactively identify the plurality of user voice data, and select a target shooting device and a target voice device according to the real-time location of the user when there is a voice interaction request;
[0046] A facial shooting processing unit, used to shoot the user's face through the target shooting device to obtain facial shooting data;
[0047] A voice collection and processing unit, used to collect the user's voice through the target voice device to obtain interactive voice data;
[0048] A language recognition and emotion analysis unit, used to integrate the facial shooting data and the interactive voice data, perform language recognition and emotion analysis, and obtain interactive request information and current interactive emotion;
[0049] The response interaction processing unit is used to generate interaction response information according to the interaction request information and the current interaction emotion, and to perform response interaction with the user through the target voice device.
[0050] As a further limitation of the technical solution of the embodiment of the present invention, the real-time voice receiving unit specifically includes:
[0051] The permission application module is used to apply for monitoring permissions and obtain the user's interactive monitoring permissions after the application is approved;
[0052] A voice real-time receiving module is used to receive multiple user voice data in real time through multiple voice interaction devices;
[0053] A power calculation module, used for calculating the voice signal power of a plurality of user voice data;
[0054] A distance analysis module, used for determining a plurality of voice receiving distances according to a plurality of voice signal powers;
[0055] The indoor positioning module is used to perform indoor positioning of the user according to the multiple voice receiving distances to determine the user's real-time position.
[0056] As a further limitation of the technical solution of the embodiment of the present invention, the language recognition sentiment analysis unit specifically includes:
[0057] A facial feature recognition module, used to perform feature recognition on the facial shooting data to obtain multiple facial emotion features;
[0058] A natural language processing module, used to perform natural language processing on the interactive voice data to generate interactive voice information;
[0059] An information feature recognition module, used to perform feature recognition on the interactive voice information to obtain multiple language emotion features;
[0060] An emotion analysis module is used to perform emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user;
[0061] The information processing module is used to process the interactive voice information based on the current interactive emotion and generate interactive request information.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] The embodiment of the present invention performs indoor positioning by receiving multiple user voice data in real time; selects a target shooting device and a target voice device; integrates facial shooting data and interactive voice data, performs language recognition and emotion analysis, obtains interactive request information and current interactive emotion; generates interactive response information, and interacts with the user in response. It is capable of performing indoor positioning, selecting a target shooting device and a target voice device, shooting the user's face through the target shooting device, collecting the user's voice through the target voice device, integrating facial shooting data and interactive voice data, performing language recognition and emotion analysis, and generating interactive response information for response interaction, thereby accurately capturing and understanding the user's emotional state during artificial intelligence interaction, and promoting a full understanding of the user's real needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0065] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0066] Figure 2 The flowchart of real-time reception of voice data in the method provided by the embodiment of the present invention is shown.
[0067] Figure 3 A flow chart of interactive recognition of voice data in the method provided by an embodiment of the present invention is shown.
[0068] Figure 4 A flow chart of acquiring facial capture data in the method provided by an embodiment of the present invention is shown.
[0069] Figure 5A flow chart of obtaining interactive voice data in the method provided in an embodiment of the present invention is shown.
[0070] Figure 6 A flow chart of language recognition and sentiment analysis in the method provided by an embodiment of the present invention is shown.
[0071] Figure 7 A flow chart of responding and interacting with a user in the method provided by an embodiment of the present invention is shown.
[0072] Figure 8 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0073] Fig. 9 The structure block diagram of the real-time speech receiving unit in the system provided by the embodiment of the present invention is shown.
[0074] Fig.10 A structural block diagram of a language recognition sentiment analysis unit in a system provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0076] It is understandable that in the existing technology, the interaction between artificial intelligence and users usually only relies on the user's voice recognition to understand the user's needs and then provide corresponding feedback. It is difficult to accurately capture and understand the user's emotional state, which can easily lead to a one-sided understanding of user needs, and therefore it is impossible to fully understand the user's real needs.
[0077] To solve the above problems, the embodiment of the present invention obtains the user's interactive monitoring authority, receives multiple user voice data in real time through multiple voice interaction devices, performs indoor positioning based on multiple user voice data, and determines the user's real-time location; performs interactive recognition on multiple user voice data, and when there is a voice interaction request, selects a target shooting device and a target voice device according to the user's real-time location; shoots the user's face through the target shooting device to obtain facial shooting data; collects the user's voice through the target voice device to obtain interactive voice data; comprehensively analyzes the facial shooting data and interactive voice data, performs language recognition and emotion analysis, obtains interactive request information and current interactive emotion; generates interactive response information based on the interactive request information and current interactive emotion, and interacts with the user through the target voice device. It is capable of performing indoor positioning, selecting a target shooting device and a target voice device, shooting the user's face through the target shooting device, collecting the user's voice through the target voice device, comprehensively analyzing the facial shooting data and interactive voice data, performing language recognition and emotion analysis, generating interactive response information for response interaction, thereby accurately capturing and understanding the user's emotional state during artificial intelligence interaction, and promoting a complete understanding of the user's real needs.
[0078] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0079] Specifically, an interactive method based on artificial intelligence, the method specifically comprises the following steps:
[0080] Step S101, obtaining the user's interaction monitoring authority, receiving multiple user voice data in real time through multiple voice interaction devices, performing indoor positioning based on the multiple user voice data, and determining the user's real-time location.
[0081] In an embodiment of the present invention, an application for monitoring authority is made. If the user agrees to the application for monitoring authority, the user's interactive monitoring authority is obtained. Then, under the condition of having interactive monitoring authority, multiple user voice data can be received in real time through multiple voice interaction devices, and the voice signal power of the multiple user voice data can be calculated. According to the multiple voice signal powers, the voice reception distances between the multiple voice interaction devices and the user can be determined, and according to the indoor spatial positions of the multiple voice interaction devices, combined with the multiple voice reception distances, the user can be positioned indoors to determine the user's real-time position.
[0082] Specifically, Figure 2 The flowchart of real-time reception of voice data in the method provided by the embodiment of the present invention is shown.
[0083] Among them, in the preferred implementation manner provided by the present invention, the acquisition of the user's interactive monitoring authority, receiving multiple user voice data in real time through multiple voice interaction devices, performing indoor positioning according to the multiple user voice data, and determining the user's real-time location specifically includes the following steps:
[0084] Step S1011, apply for monitoring authority, and after the application is approved, obtain the user's interactive monitoring authority;
[0085] Step S1012, receiving multiple user voice data in real time through multiple voice interaction devices;
[0086] Step S1013, calculating the voice signal power of the plurality of user voice data;
[0087] In step S1013, the calculation function expression of the speech signal power is:
[0088] ,
[0089] in, Indicates the power of speech signal; Represents the time domain representation of the speech signal, that is, at time The signal value of represents the length of the observation time window, The first The amplitude of the frequency component, represents the total number of frequency components considered; represents the first adjustment coefficient, which is used to balance the contribution of the time domain and the frequency domain and the influence of the signal autocorrelation; represents a decay factor, which is used to control the time decay speed of the autocorrelation term; Respectively represent the adjacent first time point and second time point.
[0090] Step S1014, determining a plurality of voice receiving distances according to the plurality of voice signal powers;
[0091] In step S1014, multiple voice receiving distances are determined according to the multiple voice signal powers, and the corresponding function expression is:
[0092] ,
[0093] in, Indicates the voice receiving distance. Indicates the voice receiving distance The received speech signal power is represents the speech signal power measured at the reference distance, represents a calibration constant, represents the center frequency of the speech signal, It represents the speed at which sound travels in air.
[0094] Step S1015: positioning the user indoors based on the multiple voice reception distances to determine the user's real-time location.
[0095] Furthermore, the artificial intelligence-based interaction method further comprises the following steps:
[0096] Step S102, interactively identifying the plurality of user voice data, and when there is a voice interaction request, selecting a target shooting device and a target voice device according to the real-time location of the user.
[0097] In an embodiment of the present invention, based on natural language processing technology, multiple user voice data are recognized, and multiple corresponding user voice information is obtained in real time. Then, according to preset interaction instructions, the multiple user voice information is interactively recognized to determine whether there is a voice interaction request. Specifically: when there is no interaction instruction in the multiple user voice information, it is determined that there is no voice interaction request; when there is an interaction instruction in the multiple user voice information, it is determined that there is a voice interaction request. At this time, multiple voice receiving distances are compared, and the nearest receiving distance is selected. Then, according to the nearest receiving distance, the corresponding target voice device is selected from the multiple voice interaction devices, and according to the real-time position of the user, a target shooting device that can shoot the user's face is selected.
[0098] Specifically, Figure 3 A flow chart of interactive recognition of voice data in the method provided by an embodiment of the present invention is shown.
[0099] Among them, in the preferred embodiment provided by the present invention, the interactive recognition of the plurality of user voice data, when there is a voice interaction request, selecting the target shooting device and the target voice device according to the real-time location of the user specifically includes the following steps:
[0100] Step S1021, recognizing the plurality of user voice data to obtain user voice information in real time;
[0101] Step S1022, interactively identifying the plurality of user voice information according to the preset interactive instruction, and determining whether there is a voice interactive request;
[0102] Step S1023, when there is a voice interaction request, compare the multiple voice receiving distances and select the closest receiving distance;
[0103] Step S1024, selecting a corresponding target voice device from the plurality of voice interaction devices according to the closest receiving distance;
[0104] Step S1025: selecting a target shooting device according to the real-time location of the user.
[0105] Furthermore, the artificial intelligence-based interaction method further comprises the following steps:
[0106] Step S103: photograph the user's face through the target photographing device to obtain facial photographing data.
[0107] In an embodiment of the present invention, an interactive shooting instruction is generated and then sent to a target shooting device. After receiving the interactive shooting instruction, the target shooting device shoots the user's face, collects the user's facial shooting data and transmits it back, thereby obtaining the facial shooting data transmitted back by the target shooting device.
[0108] Specifically, Figure 4 A flow chart of acquiring facial capture data in the method provided by an embodiment of the present invention is shown.
[0109] Among them, in the preferred embodiment provided by the present invention, the facial shooting of the user by the target shooting device and obtaining facial shooting data specifically include the following steps:
[0110] Step S1031, generating an interactive shooting instruction;
[0111] Step S1032, sending the interactive shooting instruction to the target shooting device;
[0112] Step S1033: After receiving the interactive shooting instruction, the target shooting device shoots the face of the user to obtain facial shooting data.
[0113] Furthermore, the artificial intelligence-based interaction method further comprises the following steps:
[0114] Step S104: collect the user's voice through the target voice device to obtain interactive voice data.
[0115] In an embodiment of the present invention, a special collection instruction is generated and then sent to a target voice device. After receiving the special collection instruction, the target voice device collects the user's voice, collects the user's interactive voice data and transmits feedback, thereby obtaining the interactive voice data transmitted by the target voice device as feedback.
[0116] Specifically, Figure 5 A flow chart of obtaining interactive voice data in the method provided in an embodiment of the present invention is shown.
[0117] Among them, in the preferred implementation manner provided by the present invention, the method of collecting the user's voice through the target voice device to obtain the interactive voice data specifically includes the following steps:
[0118] Step S1041, generating a special collection instruction;
[0119] Step S1042, sending the special collection instruction to the target voice device;
[0120] Step S1043: After receiving the special collection instruction, the target voice device collects the user's voice to obtain interactive voice data.
[0121] Furthermore, the artificial intelligence-based interaction method further comprises the following steps:
[0122] Step S105, combining the facial capture data and the interactive voice data, performing language recognition and emotion analysis, and obtaining interactive request information and current interactive emotion.
[0123] In an embodiment of the present invention, feature recognition is performed on facial capture data to obtain multiple facial emotion features of the user, and natural language processing is performed on interactive voice data to generate interactive voice information, and then feature recognition is performed on the interactive voice information to obtain multiple language emotion features, and then the multiple facial emotion features and the multiple language emotion features are subjected to comprehensive emotion analysis to determine the user's current interactive emotion, and then based on the current interactive emotion, emotion additional processing is performed on the interactive voice information to annotate the user's emotions, and irrelevant information is eliminated to generate interactive request information.
[0124] Specifically, Figure 6 A flow chart of language recognition and sentiment analysis in the method provided by an embodiment of the present invention is shown.
[0125] Among them, in the preferred embodiment provided by the present invention, the said integrating the said facial shooting data and the said interactive voice data, performing language recognition and emotion analysis, and obtaining the interactive request information and the current interactive emotion specifically comprises the following steps:
[0126] Step S1051, performing feature recognition on the facial capture data to obtain a plurality of facial emotion features;
[0127] Step S1052, performing natural language processing on the interactive voice data to generate interactive voice information;
[0128] Step S1053, performing feature recognition on the interactive voice information to obtain multiple language emotion features;
[0129] Step S1054, performing emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user;
[0130] In step S1054, the step of performing emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user includes the following sub-steps:
[0131] Step S1054a, obtaining a feature value of each facial emotion feature, and determining the total number of facial emotion features;
[0132] Step S1054b, obtaining a feature value of each language emotion feature, and determining the total number of language emotion features;
[0133] Step S1054c, calculate the user's current interactive emotion value based on the feature value of each facial emotion feature and the feature value of each language emotion feature.
[0134] Among them, the function expression for calculating the user's current interactive emotion value is:
[0135] ,
[0136] in, Indicates the user's current interactive sentiment value, represents the weighted coefficient of facial emotion features, The weighted coefficient representing the language emotion feature, Indicates The eigenvalues of facial emotion features, Indicates The feature value of the language emotion feature, Represents the total number of facial emotion features, The total number of language emotion features; represents a cross-term coefficient that captures the interaction between facial and verbal emotional features; represents the second adjustment coefficient, which is used to control the sensitivity of sentiment analysis; Represents the third adjustment coefficient, which is used to control the nonlinearity of sentiment analysis.
[0137] As a supplementary note, The part is a cross term that takes into account the interaction between facial and language emotion features, that is, the combination of certain facial and language features may enhance or weaken the overall emotion. The ,part is a non-linear adjustment term that further adjusts the sentiment value by comparing the relative strength of facial and ,language emotional features.
[0138] Step S1055: Based on the current interaction emotion, the interaction voice information is processed to generate interaction request information.
[0139] In step S1055, the generated interaction request information is quantified by a strength value of the interaction request information. The function expression of the strength value of the interaction request information is:
[0140] ,
[0141] ,
[0142] in, Indicates the strength value of the interactive request information. Indicates a device for receiving interactive voice messages. and current interaction emotion As a function of input, Indicates the total number of words or phrases in the interactive voice information. Represents an emotion related to the current interaction The relevant weight function, Indicates the first A numerical representation of a word or phrase. represents a normalized factor related to the current interaction sentiment; Represents a sign function, the return value is -1, 1 or 0; Represents a dynamic adjustment parameter used to control the influence of sentiment on weight.
[0143] As a supplementary note, for the weight function , reflects the regulation of emotion on word importance. For example, in an angry emotional state, some words may become more important, while in a happy emotional state, they may be less important. For the dynamic regulation parameter ,when (neutral sentiment), the weight is 1. (positive sentiment), the weight will increase, and the degree of increase depends on The value and When (negative sentiment), the weight will decrease, and the degree of reduction also depends on The value and size.
[0144] Furthermore, the artificial intelligence-based interaction method further comprises the following steps:
[0145] Step S106, generating interactive response information according to the interactive request information and the current interactive emotion, and performing a response interaction with the user through the target voice device.
[0146] In an embodiment of the present invention, interaction response planning is performed based on the interaction request information and the current interaction emotion, interaction response information is generated, and then the interaction response information is sent to the target voice device. After receiving the interaction response information, the target voice device interacts with the user in response using the interaction response information.
[0147] Specifically, Figure 7 A flow chart of responding and interacting with a user in the method provided by an embodiment of the present invention is shown.
[0148] Among them, in the preferred implementation manner provided by the present invention, generating interactive response information according to the interactive request information and the current interactive emotion, and performing a response interaction with the user through the target voice device specifically includes the following steps:
[0149] Step S1061, generating interaction response information according to the interaction request information and the current interaction emotion;
[0150] Step S1062, sending the interactive response information to the target voice device;
[0151] Step S1063: interact with the user through the target voice device using the interactive response information.
[0152] Furthermore, Figure 8 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0153] Among them, in another preferred embodiment provided by the present invention, an interactive system based on artificial intelligence includes:
[0154] The real-time voice receiving unit 101 is used to obtain the user's interaction monitoring authority, receive multiple user voice data in real time through multiple voice interaction devices, perform indoor positioning based on the multiple user voice data, and determine the user's real-time location.
[0155] In an embodiment of the present invention, the real-time voice receiving unit 101 applies for monitoring authority, and obtains the user's interactive monitoring authority when the user agrees to the application for monitoring authority. Then, under the condition of having interactive monitoring authority, the real-time voice receiving unit 101 can receive multiple user voice data in real time through multiple voice interaction devices, and then calculate the voice signal power of the multiple user voice data. According to the multiple voice signal powers, the voice receiving distances between the multiple voice interaction devices and the user can be determined, and according to the indoor spatial positions of the multiple voice interaction devices, combined with the multiple voice receiving distances, the user can be positioned indoors to determine the user's real-time position.
[0156] Specifically, Fig. 9The structure block diagram of the real-time speech receiving unit 101 in the system provided by the embodiment of the present invention is shown.
[0157] Among them, in the preferred implementation manner provided by the present invention, the real-time voice receiving unit 101 specifically includes:
[0158] The permission application module 1011 is used to apply for monitoring permission and obtain the user's interactive monitoring permission after the application is approved;
[0159] The real-time voice receiving module 1012 is used to receive multiple user voice data in real time through multiple voice interaction devices;
[0160] A power calculation module 1013, used for calculating the voice signal power of the plurality of user voice data;
[0161] A distance analysis module 1014 is used to determine a plurality of voice receiving distances according to the plurality of voice signal powers;
[0162] The indoor positioning module 1015 is used to perform indoor positioning of the user according to the multiple voice reception distances to determine the user's real-time location.
[0163] Furthermore, the artificial intelligence-based interactive system also includes:
[0164] The interactive device selection unit 102 is used to interactively identify the multiple user voice data and select a target shooting device and a target voice device according to the real-time location of the user when there is a voice interaction request.
[0165] In an embodiment of the present invention, the interactive device selection unit 102 recognizes multiple user voice data based on natural language processing technology, obtains multiple corresponding user voice information in real time, and then interactively recognizes the multiple user voice information according to preset interactive instructions to determine whether there is a voice interaction request. Specifically: when there is no interactive instruction in the multiple user voice information, it is determined that there is no voice interaction request; when there is an interactive instruction in the multiple user voice information, it is determined that there is a voice interaction request. At this time, multiple voice receiving distances are compared, and the nearest receiving distance is selected. Then, based on the nearest receiving distance, the corresponding target voice device is selected from the multiple voice interaction devices, and based on the real-time position of the user, a target shooting device that can shoot the user's face is selected.
[0166] The face shooting processing unit 103 is used to shoot the face of the user through the target shooting device to obtain face shooting data.
[0167] In an embodiment of the present invention, the facial shooting processing unit 103 generates an interactive shooting instruction and then sends the interactive shooting instruction to the target shooting device. After receiving the interactive shooting instruction, the target shooting device shoots the face of the user, collects the facial shooting data of the user and transmits it in feedback, thereby obtaining the facial shooting data transmitted in feedback by the target shooting device.
[0168] The voice collection and processing unit 104 is used to collect the user's voice through the target voice device to obtain interactive voice data.
[0169] In an embodiment of the present invention, the voice collection processing unit 104 generates a special collection instruction and then sends the special collection instruction to the target voice device. After receiving the special collection instruction, the target voice device collects the user's voice, collects the user's interactive voice data and transmits feedback, thereby obtaining the interactive voice data transmitted by the target voice device as feedback.
[0170] The language recognition and emotion analysis unit 105 is used to integrate the facial shooting data and the interactive voice data, perform language recognition and emotion analysis, and obtain interactive request information and current interactive emotion.
[0171] In an embodiment of the present invention, the language recognition and emotion analysis unit 105 obtains multiple facial emotion features of the user by performing feature recognition on the facial shooting data, and performs natural language processing on the interactive voice data to generate interactive voice information, and then performs feature recognition on the interactive voice information to obtain multiple language emotion features, and then performs comprehensive emotion analysis on the multiple facial emotion features and the multiple language emotion features to determine the user's current interactive emotion, and then based on the current interactive emotion, performs emotion additional processing on the interactive voice information, labels the user's emotions, and eliminates irrelevant information to generate interactive request information.
[0172] Specifically, Fig.10 The structure block diagram of the language recognition sentiment analysis unit 105 in the system provided by the embodiment of the present invention is shown.
[0173] Among them, in the preferred embodiment provided by the present invention, the language recognition sentiment analysis unit 105 specifically includes:
[0174] A facial feature recognition module 1051 is used to perform feature recognition on the facial capture data to obtain a plurality of facial emotion features;
[0175] A natural language processing module 1052, used to perform natural language processing on the interactive voice data to generate interactive voice information;
[0176] The information feature recognition module 1053 is used to perform feature recognition on the interactive voice information to obtain multiple language emotion features;
[0177] The emotion analysis module 1054 is used to perform emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user;
[0178] The information processing module 1055 is used to process the interactive voice information based on the current interactive emotion and generate interactive request information.
[0179] Furthermore, the artificial intelligence-based interactive system also includes:
[0180] The response interaction processing unit 106 is used to generate interaction response information according to the interaction request information and the current interaction emotion, and perform response interaction with the user through the target voice device.
[0181] In an embodiment of the present invention, the response interaction processing unit 106 performs interaction response planning based on the interaction request information and the current interaction emotion, generates interaction response information, and then sends the interaction response information to the target voice device. After receiving the interaction response information, the target voice device interacts with the user using the interaction response information.
[0182] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0183] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0184] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0185] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0186] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An interactive method based on artificial intelligence, characterized in that: The method specifically comprises the following steps: Obtain the user's interactive monitoring authority, receive multiple user voice data in real time through multiple voice interaction devices, perform indoor positioning based on the multiple user voice data, and determine the user's real-time location; Interactively recognize the multiple user voice data, and when there is a voice interaction request, select a target shooting device and a target voice device according to the real-time location of the user; Using the target shooting device, shooting the user's face to obtain face shooting data; Through the target voice device, the user's voice is collected to obtain interactive voice data; Combining the facial shooting data and the interactive voice data, performing language recognition and emotion analysis, and obtaining interactive request information and current interactive emotion; Generate interactive response information according to the interactive request information and the current interactive emotion, and perform a response interaction with the user through the target voice device; The method of obtaining the user's interaction monitoring authority, receiving multiple user voice data in real time through multiple voice interaction devices, performing indoor positioning according to the multiple user voice data, and determining the user's real-time location specifically includes the following steps: Apply for monitoring permissions, and after the application is approved, obtain the user's interactive monitoring permissions; Receive multiple user voice data in real time through multiple voice interaction devices; Calculating the voice signal power of the plurality of user voice data; Determining a plurality of voice receiving distances according to the plurality of voice signal powers; Performing indoor positioning of the user according to the plurality of voice receiving distances to determine the user's real-time location; In the step of calculating the voice signal power of the plurality of user voice data, the calculation function expression of the voice signal power is: , in, Indicates the power of speech signal; Represents the time domain representation of the speech signal, that is, at time The signal value of represents the length of the observation time window, The first The amplitude of the frequency component, represents the total number of frequency components considered; and represents the first adjustment coefficient, which is used to balance the contribution of the time domain and the frequency domain and the influence of the signal autocorrelation; represents a decay factor, which is used to control the time decay speed of the autocorrelation term; and Respectively represent the adjacent first time point and second time point; In the step of determining a plurality of voice receiving distances according to the plurality of voice signal powers, a plurality of voice receiving distances are determined according to the plurality of voice signal powers, and the corresponding function expression is: , in, Indicates the voice receiving distance. Indicates the voice receiving distance The received speech signal power is represents the speech signal power measured at the reference distance, represents a calibration constant, represents the center frequency of the speech signal, Represents the speed of sound in air.
2. The artificial intelligence-based interaction method according to claim 1, characterized in that: The interactive recognition of the plurality of user voice data, when there is a voice interaction request, selecting a target shooting device and a target voice device according to the real-time location of the user specifically comprises the following steps: Recognize the plurality of user voice data to obtain user voice information in real time; According to the preset interaction instructions, interactively identify the plurality of user voice information to determine whether there is a voice interaction request; When there is a voice interaction request, compare the multiple voice receiving distances and select the closest receiving distance; Selecting a corresponding target voice device from the plurality of voice interaction devices according to the closest receiving distance; A target shooting device is selected according to the real-time location of the user.
3. The artificial intelligence-based interaction method according to claim 2, characterized in that: The step of photographing the user's face by the target photographing device and obtaining the facial photographing data specifically comprises the following steps: Generate interactive shooting instructions; Sending the interactive shooting instruction to the target shooting device; After receiving the interactive shooting instruction, the target shooting device shoots the face of the user to obtain facial shooting data.
4. The artificial intelligence-based interaction method according to claim 3, characterized in that: The method of collecting the user's voice through the target voice device to obtain interactive voice data specifically includes the following steps: Generate special collection instructions; Sending the special collection instruction to the target voice device; After receiving the special collection instruction, the target voice device collects the user's voice and obtains interactive voice data.
5. The artificial intelligence-based interaction method according to claim 4, characterized in that: The step of integrating the facial shooting data and the interactive voice data, performing language recognition and emotion analysis, and obtaining the interactive request information and the current interactive emotion specifically comprises the following steps: Performing feature recognition on the facial capture data to obtain multiple facial emotion features; Performing natural language processing on the interactive voice data to generate interactive voice information; Performing feature recognition on the interactive voice information to obtain multiple language emotion features; Performing emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the user's current interaction emotion; Based on the current interaction emotion, the interaction voice information is processed to generate interaction request information.
6. The artificial intelligence-based interaction method according to claim 5, characterized in that: The step of performing emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user comprises the following sub-steps: Obtaining a feature value for each facial emotion feature and determining the total number of facial emotion features; Obtaining a feature value of each language emotion feature and determining the total number of language emotion features; The current interactive emotion value of the user is calculated based on the characteristic value of each facial emotion feature and the characteristic value of each language emotion feature; Among them, the function expression for calculating the user's current interactive emotion value is: , in, Indicates the user's current interactive sentiment value, Represents the weighted coefficient of facial emotion features, Represents the weighted coefficient of language emotion characteristics, Indicates The eigenvalues of facial emotion features, Indicates The feature value of the language emotion feature, Represents the total number of facial emotion features, The total number of language emotion features; represents a cross-term coefficient that captures the interaction between facial and verbal emotional features; represents the second adjustment coefficient, which is used to control the sensitivity of sentiment analysis; Represents the third adjustment coefficient, which is used to control the nonlinearity of sentiment analysis.
7. The artificial intelligence-based interaction method according to claim 6, characterized in that: The generated interaction request information is quantified by a strength value of the interaction request information; The function expression of the strength value of the interactive request information is: , , in, Indicates the strength value of the interactive request information. Indicates a device for receiving interactive voice messages. and current interaction emotion As a function of input, Indicates the total number of words or phrases in the interactive voice information. Indicates an emotion related to the current interaction The relevant weight function, Indicates the interactive voice message A numerical representation of a word or phrase. represents a normalized factor related to the current interaction sentiment; Represents a sign function, the return value is -1, 1 or 0; Represents a dynamic adjustment parameter used to control the influence of sentiment on weight.
8. The artificial intelligence-based interaction method according to claim 7, characterized in that: The generating of interactive response information according to the interactive request information and the current interactive emotion, and performing a response interaction with the user through the target voice device specifically comprises the following steps: Generate interaction response information according to the interaction request information and the current interaction emotion; Sending the interactive response information to the target voice device; The target voice device is used to interact with the user using the interactive response information.
9. An interactive system based on artificial intelligence, characterized in that: The artificial intelligence-based interaction method according to any one of claims 1 to 8 is applied, wherein the system comprises a real-time voice receiving unit, an interactive device selection unit, a facial shooting processing unit, a voice collection processing unit, a language recognition emotion analysis unit, and a response interaction processing unit, wherein: A real-time voice receiving unit is used to obtain the user's interactive monitoring authority, receive multiple user voice data in real time through multiple voice interaction devices, perform indoor positioning based on the multiple user voice data, and determine the user's real-time location; An interactive device selection unit, configured to interactively identify the plurality of user voice data, and select a target shooting device and a target voice device according to the real-time location of the user when there is a voice interaction request; A facial shooting processing unit, used to shoot the user's face through the target shooting device to obtain facial shooting data; A voice collection and processing unit, used to collect the user's voice through the target voice device to obtain interactive voice data; A language recognition and emotion analysis unit, used to integrate the facial shooting data and the interactive voice data, perform language recognition and emotion analysis, and obtain interactive request information and current interactive emotion; A response interaction processing unit, configured to generate interaction response information according to the interaction request information and the current interaction emotion, and perform response interaction with the user through the target voice device; The real-time voice receiving unit specifically includes: The permission application module is used to apply for monitoring permissions and obtain the user's interactive monitoring permissions after the application is approved; A voice real-time receiving module is used to receive multiple user voice data in real time through multiple voice interaction devices; A power calculation module, used for calculating the voice signal power of the plurality of user voice data; A distance analysis module, used for determining a plurality of voice receiving distances according to a plurality of voice signal powers; An indoor positioning module, used to perform indoor positioning of the user according to the plurality of voice receiving distances to determine the user's real-time position; The language recognition sentiment analysis unit specifically includes: A facial feature recognition module, used to perform feature recognition on the facial shooting data to obtain multiple facial emotion features; A natural language processing module, used to perform natural language processing on the interactive voice data to generate interactive voice information; An information feature recognition module, used to perform feature recognition on the interactive voice information to obtain multiple language emotion features; An emotion analysis module is used to perform emotion analysis by integrating the plurality of facial emotion features and the plurality of language emotion features to determine the current interaction emotion of the user; The information processing module is used to process the interactive voice information based on the current interactive emotion and generate interactive request information.
Citation Information
Cited By
Interaction system and method based on artificial intelligence
CN120526764A
Emotion interaction elderly care accompanying system based on artificial intelligence
CN121083699A
