Intelligent explanation method, robot, equipment and storage medium
By extracting the user's voice data for voice age characteristics and evaluating the age group, obtaining the age group to which the user belongs, and obtaining voice explanation packages for the corresponding age group from the preset explanation content library, the problem that existing explanation robots cannot provide personalized explanations, and realizing customized explanation services for users of different age groups is achieved, improving the user experience.
Patent Information
- Application Number
- CN202411844587.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing explanation robots cannot provide personalized explanations based on the needs of specific user groups (such as children, adolescents, elderly people, etc.), resulting in the inability to meet the special needs of users of different age groups.
By extracting the user's voice data for voice age characteristics and evaluating the age group, we obtain the age group to which the user belongs, and obtain the voice explanation package of the corresponding age group from the preset explanation content library to conduct customized voice explanations.
Customized explanation services for users of different age groups have been realized, which enhances the user experience effect and meets the special needs of users of different age groups.
Smart Images

Figure CN119905105A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence technology, and specifically relates to an intelligent explanation method, a robot, a device and a storage medium. Background Art
[0002] With the continuous development of artificial intelligence (AI) technology, AI technology has replaced manual services in more and more scenarios, such as ordering robots in restaurants, navigation robots in shopping malls, and explanation robots in tourist attractions, museums and other public education places.
[0003] Among them, the current interactive method of explanation robots is generally to formulate standardized program information. According to the user's questions or the user's choice of the content module that needs to be explained, the explanation robot provides indiscriminate labeled explanation services to the user group. It often lacks the ability to personalize the explanation content and methods for specific user groups (such as children, teenagers, the elderly, etc.), and cannot meet the special needs of users of different age groups. Summary of the invention
[0004] Based on the status quo of the existing explanation robots, the present invention provides an intelligent explanation method, a robot, a device and a storage medium to overcome at least one technical problem existing in the prior art.
[0005] To achieve the above object, the present invention provides an intelligent explanation method, comprising:
[0006] Perform voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature;
[0007] Performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs;
[0008] According to the age group of the user, a corresponding voice explanation package is obtained from a preset explanation content library, and voice explanation is performed based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0009] In order to solve the above problems, the present invention further provides an explanation robot, the explanation robot comprising:
[0010] A feature extraction module is used to extract the voice age feature of the user voice data collected during the voice interaction process to obtain the user's voice age feature;
[0011] An age group assessment module, used to perform age group assessment processing on the voice age feature to obtain the age group to which the user belongs;
[0012] The voice explanation module is used to obtain the corresponding voice explanation package from the preset explanation content library according to the age group of the user, and to perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0013] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0014] at least one processor; and,
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor so that the at least one processor can perform the steps in the intelligent explanation method as described above.
[0017] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. When the at least one instruction is executed by a processor in an electronic device, the above intelligent explanation method is implemented.
[0018] The intelligent explanation method, robot, device and storage medium provided by the present invention evaluate the user's age group by extracting voice age features from user voice data collected in the voice interaction process, and obtain a voice explanation package corresponding to the user's age group from a preset explanation content library according to the user's age group obtained after the evaluation. The explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different, that is, the voice explanation package corresponding to the user's age group is a customized explanation service for the user's age group. Therefore, customized explanation services can be implemented for user groups of different age groups, thereby enhancing the pertinence of voice interaction with users and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of a flow chart of an intelligent explanation method provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a system module of an explanation robot provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of the internal structure of an electronic device for implementing an intelligent explanation method provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the overall framework of an interactive system of an explanation robot provided in one embodiment of the present invention;
[0024] Figure 5 A schematic diagram of the voice interaction principle of an explanation robot provided in one embodiment of the present invention.
[0025] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0026] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0027] Based on the above-mentioned problems existing in the prior art, the present invention mainly provides an intelligent explanation method, robot and equipment and storage medium, whose main purpose is to solve the problem in the prior art that the explanation robot provides indiscriminate labeled explanation services to user groups, lacks the ability to personalize the explanation content and methods for specific user groups (such as children, teenagers, the elderly, etc.), and cannot meet the special needs of users of different age groups.
[0028] In public education venues such as tourist attractions and museums, the personalization and customization of explanation services are becoming increasingly important. However, although existing voice interaction robots can provide explanation services of standardized information, they often lack the ability to adjust the content and methods of explanations for specific user groups (such as children, teenagers, the elderly, etc.). Although existing accent recognition based on deep learning has achieved certain results in small languages or specific accents, it still has deficiencies in generalization and discriminability. Research involving broader and more delicate timbre recognition, especially the recognition of user age groups, is still a technical challenge that needs to be solved urgently. Based on this, the present invention proposes an intelligent explanation method, robot, device and storage medium.
[0029] Figure 1 A flow chart of an intelligent explanation method provided by an embodiment of the present invention. The method can be executed by a system, which can be implemented by software and / or hardware.
[0030] Figure 1 The intelligent explanation method is described in an overall way. Figure 1As shown, in this embodiment, the intelligent explanation method includes steps S110 to S130.
[0031] S110: Perform voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature.
[0032] Specifically, during the voice interaction between the user and the explanation robot, the user's voice data is collected, and the voice age feature is extracted from the user's voice data to determine the user's age group. The voice data collection method can be achieved by arranging one or more miniature microphones on the head or body of the explanation robot. This method is not unique, but it can effectively capture the user's voice signal. In order to reduce environmental noise interference, each miniature microphone is preferably equipped with a noise suppression function.
[0033] As an optional embodiment of the present invention, before performing voice age feature extraction processing on the user voice data collected in the voice interaction process to obtain the user's voice age feature, the method further includes:
[0034] Start the voice interaction mode according to the wake-up command issued by the user;
[0035] In voice interaction mode, voice interaction is performed with the user according to the preset interaction template.
[0036] Specifically, in order to reduce power consumption and increase battery life, the explanation robot is usually in standby mode when it does not need to work. Therefore, the explanation robot can be awakened by setting a wake-up command to enter the voice interaction mode with the user, wherein the wake-up command can be implemented by setting a wake-up word, or by setting a wake-up command start switch on the main body of the explanation robot. When setting the wake-up word, one or more keywords can be pre-set. When a certain set keyword is recognized, the explanation robot enters the voice interaction mode. In the voice interaction mode, the explanation robot performs voice interaction with the user according to the preset interaction template, and collects the user's voice data during the voice interaction process. The user voice data is stored in a preset voice database. In order to improve data security and privacy, the data in the voice database can be anonymized and encrypted to ensure that all collected user information is safely managed and the user is clearly indicated in the user privacy statement. Among them, the specific method of data anonymization and encrypted storage can adopt the anonymization and encrypted storage in the prior art, and the present invention does not make any special restrictions on this.
[0037] As an optional embodiment of the present invention, voice age feature extraction processing is performed on the user voice data collected during the voice interaction process to obtain the user's voice age feature, including:
[0038] Preprocessing the user voice data to convert the voice signal in the user voice data from the time domain to the frequency domain to obtain a voice amplitude spectrum;
[0039] The speech amplitude spectrum is converted into Mel-frequency cepstral coefficient feature parameters, and the Mel-frequency cepstral coefficient feature parameters are used as speech age features.
[0040] Specifically, the user voice data is preprocessed to improve the quality of the voice signal and ensure the accuracy of subsequent processing. Then, the voice amplitude spectrum obtained after preprocessing is converted into Mel-frequency cepstral coefficient feature parameters, and the Mel-frequency cepstral coefficient feature parameters are used as voice age features. Among them, when extracting age-related feature vectors from audio signals, the commonly used method is Mel-frequency cepstral coefficient (MFCC) feature parameters. MFCC is a voice feature quantity that simulates the auditory frequency of the human ear. It is often used in speaker recognition and also performs well in speaker age estimation.
[0041] As an optional embodiment of the present invention, preprocessing the user voice data so that the voice signal in the user voice data is converted from the time domain to the frequency domain to obtain the voice amplitude spectrum includes:
[0042] Frame the voice signal of the user voice data to obtain a time domain voice signal;
[0043] Perform Fourier transform on each frame of the time domain speech signal to obtain the speech amplitude spectrum.
[0044] Specifically, the voice signal s(n) in the user voice data is first divided into frames with a frame shift of 30ms and 50%, and the sampling frequency is 16kHz (the above "30ms", "50%" and "16kHz" are exemplary illustrations and can be set according to actual needs), and then each frame of the processed time domain signal x(n) is subjected to a fast Fourier transform to realize the conversion of the signal from the time domain to the frequency domain, and the amplitude spectrum |X(k)| is obtained for subsequent processing.
[0045] As an optional embodiment of the present invention, converting the speech amplitude spectrum into Mel-frequency cepstral coefficient feature parameters, and using the Mel-frequency cepstral coefficient feature parameters as speech age features, includes:
[0046] Perform spectrum conversion processing on the speech amplitude spectrum through a Mel frequency bandpass filter bank to obtain a Mel spectrum;
[0047] According to the Mel spectrum, the logarithmic energy of the Mel spectrum obtained by each Mel frequency bandpass filter is calculated;
[0048] All logarithmic energies are processed by discrete cosine transform to obtain Mel-frequency cepstral coefficient feature parameters, which are used as speech age features.
[0049] Specifically, the speech amplitude spectrum |X(k)| passes through the Mel frequency bandpass filter group to obtain the Mel spectrum s(m); then the logarithmic energy S(m) of the Mel spectrum s(m) obtained by each Mel frequency filter is calculated; finally, all S(m) are subjected to discrete cosine transform (DCT) to obtain the MFCC parameter c(i), that is, the Mel frequency cepstral coefficient feature parameter.
[0050] S120: Perform age group evaluation processing on the voice age feature to obtain the age group to which the user belongs. Specifically, the age group of the user can be evaluated based on the voice age feature to obtain the age group to which the user belongs, wherein the user age group can be pre-divided into children, teenagers, middle-aged, elderly, etc.
[0051] As an optional embodiment of the present invention, performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs includes:
[0052] Inputting the voice age feature into a preset voice age estimation model; wherein the preset voice age estimation model is provided with at least two probability prediction modules for different age groups;
[0053] The probability prediction modules of different age groups are used to calculate the probability of the corresponding age groups for the voice age features, and the probability of the voice age features being different age groups is obtained;
[0054] The age group corresponding to the maximum probability value is selected from the probabilities that the voice age feature is different age groups as the age assessment result of the voice age feature, and the age assessment result is used as the age group to which the user belongs.
[0055] Specifically, the preset voice age estimation model can use a Gaussian mixture model (GMM) as a basic model, which is obtained by training voice data pre-divided into age groups. GMM is currently the most popular text-independent speaker recognition model. In an embodiment of the present invention, GMM can be used to establish a model to preset three age groups of children, middle-aged and young people, and the elderly for voice age estimation. The commonly used model estimation method of GMM is maximum likelihood estimation, that is, the parameter to be estimated is regarded as a fixed unknown value, and the parameter value with the highest probability of occurrence of the sample is obtained as the estimated value of the estimated parameter. For example, taking the voice age feature to be estimated as input, the probability of the child age group can be obtained as 33%, the probability of the middle-aged and young age group is 44%, and the probability of the elderly age group is 88%, then the elderly age group is taken as the age group to which the user belongs.
[0056] S130. Obtain a corresponding voice explanation package from a preset explanation content library according to the age group of the user, and perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0057] Specifically, according to the age group of the user, the corresponding voice explanation package is obtained from the preset explanation content library, and the voice explanation is performed based on the voice explanation package. The explanation content, explanation speed and explanation tone of the voice explanation package corresponding to different age groups are different. For example, for children, their population characteristics are strong curiosity and fast absorption of knowledge, but limited understanding of professional knowledge. Therefore, it is necessary to adjust the explanation content to a simple and easy-to-understand mode and attach images and animations to stimulate children's thinking and independent learning ability. For young and middle-aged people, their population characteristics are high demand for in-depth exploration and learning of knowledge. Therefore, it is necessary to provide more in-depth and complex explanation content, such as relevant historical background knowledge and cultural relics interpretation, to meet their needs. For the elderly, their population characteristics are that they have a certain amount of experience and a certain understanding of historical and cultural knowledge, but due to age restrictions, they need to provide them with clearer broadcasts, slower speech speeds, and louder voices. The content, and the stories behind the cultural relics are introduced to them to trigger the resonance or memories of the elderly. Finally, customized personalized explanations are completed for users of different age groups (such as children, young and middle-aged people, and the elderly).
[0058] As an optional embodiment of the present invention, according to the age group of the user, a corresponding voice explanation package is obtained from a preset explanation content library, and a voice explanation is performed based on the voice explanation package, including:
[0059] Obtaining a voice explanation package corresponding to the user's assessed age from a preset explanation content library;
[0060] According to the user interest interaction data obtained based on the preset user interest interaction template, the content related to the user interest is obtained from the network database to generate a new explanation text;
[0061] Generate a preliminary new explanation voice package based on the new explanation text;
[0062] According to the age group of the user, the explanation speed and explanation tone of the initially added explanation voice package are adjusted to obtain the newly added explanation voice package;
[0063] The newly added explanation voice package will be merged into the voice explanation package, and voice explanation will be performed based on the merged voice explanation package.
[0064] Specifically, since the contents of the pre-set voice explanation packages for different age groups may be unified, it is possible to further interact with users through preset user interest interaction templates to understand users' interests, thereby obtaining content related to users' interests from the networked database, and generating new explanation texts. Based on the new explanation texts, a preliminary new explanation voice package is generated, and the explanation speed and tone of the preliminary new explanation voice package are adjusted according to the age group of the user to obtain a new explanation voice package; the new explanation voice package is merged into the voice explanation package, and voice explanation is performed based on the merged voice explanation package, thereby realizing dynamic adjustment of the explanation content and enhancing the personalization of customized explanation content.
[0065] like Figure 5 As shown, further, the explanation robot in the present invention needs to perform network connection judgment after waking up. If the network is normally connected, the aforementioned intelligent explanation is performed. If there is an abnormal connection in the network, voice explanation is performed according to the offline database.
[0066] like Figure 2 As shown, the present invention provides an explanation robot 200. According to the functions to be implemented, the explanation robot 200 may include a feature extraction module 210, an age group assessment module 220 and a voice explanation module 230. The unit of the present invention may also be referred to as a module, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, and is stored in the memory of the electronic device.
[0067] In this embodiment, the functions of each module / unit are as follows:
[0068] The feature extraction module 210 is used to extract the voice age feature of the user voice data collected during the voice interaction process to obtain the user's voice age feature;
[0069] An age group assessment module 220, configured to perform age group assessment processing on the voice age feature to obtain the age group to which the user belongs;
[0070] The voice explanation module 230 is used to obtain the corresponding voice explanation package from the preset explanation content library according to the age group of the user, and perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0071] like Figure 4As shown, as an optional embodiment of the present invention, the explanation robot may also include a basic information library module for providing users with basic information such as tour introductions, exhibition areas and exhibits to facilitate user query and browsing. At the same time, the staff can add, delete or modify relevant information through the basic information library module to ensure the accuracy and real-time updating of the basic information.
[0072] As an optional embodiment of the present invention, the explanation robot may also include a system setting module, which is used to provide users with personal preference settings, feedback on explanation effects, etc., and through this interface, the user is clearly informed of the purpose and method of data use, and a user privacy statement is provided during use to ensure that all collected user information is safely managed. The administrator can also query and maintain the robot's operation log to ensure the safe and stable operation of the robot.
[0073] The explanation robot 200 of the present invention evaluates the user's age group by extracting voice age features from the user voice data collected during the voice interaction process, and obtains a voice explanation package corresponding to the user's age group from a preset explanation content library based on the user's age group obtained after the evaluation. The explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different, that is, the voice explanation package corresponding to the user's age group is a customized explanation service for the user's age group. Therefore, customized explanation services can be implemented for user groups of different age groups, thereby enhancing the pertinence of voice interaction with users and improving user experience.
[0074] like Figure 3 As shown, the present invention provides an electronic device 3 for an intelligent explanation method.
[0075] The electronic device 3 may include a processor 30, a memory 31 and a bus, and may also include a computer program stored in the memory 31 and executable on the processor 30, such as an intelligent explanation program 32. The memory 31 may also include both an internal storage unit of the intelligent explanation system and an external storage device. The memory 31 may be used not only to store the code installed in the application software and various data, such as the program of the intelligent explanation, but also to temporarily store the data that has been output or is to be output.
[0076] The memory 31 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 31 may be an internal storage unit of the electronic device 3 in some embodiments, such as a mobile hard disk of the electronic device 3. The memory 31 may also be an external storage device of the electronic device 3 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 3. Further, the memory 31 may also include both an internal storage unit of the electronic device 3 and an external storage device. The memory 31 may not only be used to store application software and various types of data installed in the electronic device 3, such as intelligent explanation method code, etc., but also be used to temporarily store data that has been output or is to be output.
[0077] The processor 30 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 30 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as intelligent explanation programs, etc.) stored in the memory 31, and calls data stored in the memory 31 to execute various functions of the electronic device 3 and process data.
[0078] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 31 and at least one processor 30, etc.
[0079] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 3, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0080] For example, although not shown, the electronic device 3 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 30 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0081] Furthermore, the electronic device 3 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 3 and other electronic devices.
[0082] Optionally, the electronic device 3 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 3 and to display a visual user interface.
[0083] It should be understood that the embodiments are for illustration purposes only and the scope of the invention application is not limited to this structure.
[0084] The intelligent explanation program 32 stored in the memory 31 in the electronic device 3 is a combination of multiple instructions. When running in the processor 30, it can achieve:
[0085] Step S110, performing voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature;
[0086] Step S120, performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs;
[0087] Step S130: Obtain a corresponding voice explanation package from a preset explanation content library according to the age group of the user, and perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0088] Specifically, the specific implementation method of the processor 30 for the above instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0089] Furthermore, if the module / unit integrated in the electronic device 3 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0090] An embodiment of the present invention further provides a computer-readable storage medium, which may be non-volatile or volatile, and stores a computer program, which, when executed by a processor, implements:
[0091] Step S110, performing voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature;
[0092] Step S120, performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs;
[0093] Step S130: Obtain a corresponding voice explanation package from a preset explanation content library according to the age group of the user, and perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
[0094] Specifically, the specific implementation method when the computer program is executed by the processor can refer to the description of the relevant steps in the intelligent explanation method of the embodiment, which will not be repeated here.
[0095] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, robots and methods can be implemented in other ways. For example, the robot embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0096] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0098] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0099] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0100] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The words first, second, etc. are used to indicate names, but do not indicate any particular order.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. An intelligent explanation method, characterized in that: The steps include: Perform voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature; Performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs; According to the age group of the user, a corresponding voice explanation package is obtained from a preset explanation content library, and voice explanation is performed based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
2. The intelligent explanation method according to claim 1, characterized in that: Before performing voice age feature extraction processing on the user voice data collected in the voice interaction process to obtain the user's voice age feature, the method further includes: Start the voice interaction mode according to the wake-up command issued by the user; In the voice interaction mode, voice interaction is performed with the user according to a preset interaction template.
3. The intelligent explanation method according to claim 1, characterized in that: The performing voice age feature extraction processing on the user voice data collected during the voice interaction process to obtain the user's voice age feature includes: Preprocessing the user voice data to convert the voice signal in the user voice data from the time domain to the frequency domain to obtain a voice amplitude spectrum; The speech amplitude spectrum is converted into Mel-frequency cepstral coefficient feature parameters, and the Mel-frequency cepstral coefficient feature parameters are used as speech age features.
4. The intelligent explanation method according to claim 3, characterized in that: The preprocessing of the user voice data so that the voice signal in the user voice data is converted from the time domain to the frequency domain to obtain the voice amplitude spectrum includes: Framing the voice signal of the user voice data to obtain a time domain voice signal; Perform Fourier transform on each frame of the time-domain speech signal to obtain a speech amplitude spectrum.
5. The intelligent explanation method according to claim 3, characterized in that: The converting the speech amplitude spectrum into Mel-frequency cepstral coefficient feature parameters, and using the Mel-frequency cepstral coefficient feature parameters as speech age features, comprises: Performing spectrum conversion processing on the speech amplitude spectrum through a Mel frequency bandpass filter group to obtain a Mel spectrum; According to the Mel spectrum, calculating the logarithmic energy of the Mel spectrum obtained by each Mel frequency bandpass filter; Discrete cosine transform processing is performed on all the logarithmic energies to obtain Mel-frequency cepstral coefficient feature parameters, and the Mel-frequency cepstral coefficient feature parameters are used as speech age features.
6. The intelligent explanation method according to claim 1, characterized in that: The performing age group assessment processing on the voice age feature to obtain the age group to which the user belongs includes: Inputting the voice age feature into a preset voice age estimation model; wherein the preset voice age estimation model is provided with at least two probability prediction modules for different age groups; The probability prediction modules of different age groups are used to calculate the probability of the voice age feature corresponding to the age group, so as to obtain the probability that the voice age feature is in different age groups; The age group corresponding to the maximum probability value is selected from the probabilities that the voice age feature is different age groups as the age assessment result of the voice age feature, and the age assessment result is used as the age group to which the user belongs.
7. The intelligent explanation method according to claim 1, characterized in that: The method of obtaining a corresponding voice explanation package from a preset explanation content library according to the age group of the user, and performing voice explanation based on the voice explanation package includes: Acquire a voice explanation package corresponding to the user's assessed age from the preset explanation content library; According to the user interest interaction data obtained based on the preset user interest interaction template, the content related to the user interest is obtained from the network database to generate a new explanation text; Generating a preliminary new explanation voice package according to the new explanation text; According to the age group of the user, the explanation speed and the explanation tone of the initially added explanation voice package are adjusted to obtain a newly added explanation voice package; The newly added explanation voice package is merged into the voice explanation package, and voice explanation is performed based on the merged voice explanation package.
8. A teaching robot, characterized in that: The explanation robot comprises: A feature extraction module is used to extract the voice age feature of the user voice data collected during the voice interaction process to obtain the user's voice age feature; An age group assessment module, used to perform age group assessment processing on the voice age feature to obtain the age group to which the user belongs; The voice explanation module is used to obtain the corresponding voice explanation package from the preset explanation content library according to the age group of the user, and to perform voice explanation based on the voice explanation package; wherein the preset explanation content library stores voice explanation packages corresponding to different age groups, and the explanation content, explanation speed and explanation intonation of the voice explanation packages corresponding to different age groups are all different.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps in the intelligent explanation method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing at least one instruction, characterized in that: When the at least one instruction is executed by a processor in an electronic device, the intelligent explanation method as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for identifying ages
CN104700843A
Method and device used for electronic explanation
CN105468775A
Voice recognizing method and device
CN110246507A
Voice-based personal credit assessment method and device, terminal and storage medium
CN110738998A
Internet-based digital tour guide system of cultural explanation and sharing
CN111080887A