Voice data processing method and device for voice card
By acquiring and analyzing user re-read voice data, matching account information, and performing personalized standard voice data comparison, it solves the problem of multi-user voice data analysis in the existing technology and achieves more accurate voice data analysis and comparison effects.
Patent Information
- Application Number
- CN201811518652.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-12-12
AI Technical Summary
It is difficult to carry out targeted analysis and comparison of the voice data of multiple users with the existing technology, resulting in user data being easily confused and poor analysis results.
By sending prompt messages to users, we obtain repeat voice data, analyze and obtain feature information, match user account information, find personalized standard voice data for comparison, output comparison results, generate visual images and scoring values, and display them simultaneously.
It achieves targeted identification and analysis of multiple users' voice data, avoids data confusion, and improves the analysis effect. User data is stored in independent accounts for easy differentiation.
Smart Images

Figure CN109637543B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of speech semantics, and more specifically, to a speech data processing method and device for a speech card. Background Art
[0002] A voice card is one of the terminals for voice data processing. In the current application scenario, the voice data may include, for example, the voice data of users in different scenarios such as daily communication, reading aloud, and speech.
[0003] Currently, there is a gap between the user's voice and the standard voice. In the prior art, it is possible to record and play back the user's voice to compare the difference between the user's voice and the standard voice.
[0004] However, the existing technology can only record and play back videos for a single user or without distinguishing between users, and can only perform the same processing on a single data source. The processing results, such as comparison values, etc., are easy to confuse user data, and the analysis and playback effects are poor, and the comparison is not targeted. Summary of the invention
[0005] In view of the above problems, the present invention proposes a voice data processing method and device for a voice card. The technical solution of the present invention can separately identify the repeated voice data of multiple users, match the corresponding account information respectively, and analyze the personalized standard voice data saved in the corresponding account. The comparison results obtained by the analysis are more targeted and user data is not easily confused.
[0006] In a first aspect, an embodiment of the present invention provides a method for processing voice data of a voice card, comprising:
[0007] Sending a prompt message to the user, and obtaining the reread voice data of the user rereading according to the prompt message;
[0008] Analyze the repeated voice data to obtain characteristic information, and search for the corresponding account information of the user from the associated user database according to the characteristic information;
[0009] Find out the personalized standard voice data corresponding to the user according to the account information;
[0010] The repeated voice data is compared with the personalized standard voice data, and the comparison result is output. The technical solution of the present invention can identify and match the corresponding account information according to the repeated voice data of different users, and analyze the personalized standard voice data saved in the corresponding account, which is more targeted.
[0011] In combination with the first aspect, in a first implementation of the first aspect of the present invention, the step of analyzing the repeated voice data to obtain feature information, and searching the associated account information corresponding to the user from the associated user database according to the feature information, the voice data processing method of the voice card includes:
[0012] Analyzing the repeated voice data to obtain the user's voiceprint information;
[0013] According to the voiceprint information, the account information of the user is correspondingly associated in the user database.
[0014] In combination with the first aspect, in a first implementation manner of the first aspect of the present invention, when the user has not established an account, before the step of associating the account information of the user in the user database according to the voiceprint information, the voice data processing method of the voice card also includes: creating and associating the account information of the user, and entering the voiceprint information corresponding to the account information in the user database.
[0015] In combination with the first aspect, in a first implementation of the first aspect of the present invention, a prompt message is sent to a user, and a step of obtaining the reread voice data that the user rereads according to the prompt message is performed. The voice data processing method of the voice card includes:
[0016] Sending a prompt message to the user, and obtaining audio data repeated by the user according to the prompt message, wherein the audio data includes the original voice of the user and the current ambient audio;
[0017] Separating the original voice and the ambient audio according to the prompt information;
[0018] When the decibel difference between the original voice and the ambient audio is less than the noise threshold, a message of changing the voice data processing site is pushed to the user;
[0019] When the decibel difference between the original voice and the ambient audio is greater than the noise threshold, the audio data is subjected to background noise filtering according to the ambient audio to obtain repeated voice data.
[0020] In combination with the first aspect, in a first implementation of the first aspect of the present invention, the step of analyzing the repeated voice data to obtain feature information, the voice data processing method of the voice card includes:
[0021] Acquire the current voice processing mode of the voice card, and split the repeated voice data according to the basic division units of the voice processing mode and the intervals of the basic division units; the basic division units include single-character units, word units or single-sentence units;
[0022] The split repeated speech data is analyzed in sequence according to the basic division units to obtain feature information.
[0023] In combination with the first aspect, in a first implementation of the first aspect of the present invention, when the comparison result is a score value, after the step of comparing the repeated voice data with the personalized standard voice data and outputting the comparison result, the voice data processing method of the voice card further includes:
[0024] Obtain multiple account information from a user database to obtain publicly displayed ratings of multiple different users;
[0025] The ranking information of each user is obtained and outputted according to the score values.
[0026] In combination with the first aspect, in a first implementation method of the first aspect of the present invention, when the comparison result is a scoring value, the repeated voice data is compared with the personalized standard voice data, and after the step of outputting the comparison result, the voice data processing method of the voice card includes: generating a visual image and a scoring value based on the feature information of the repeated voice data and the personalized standard voice data, and synchronously displaying the visual image and the scoring value.
[0027] In combination with the first aspect, in a first implementation of the first aspect of the present invention, the visual image displays the feature information and the standard feature information in a set display form;
[0028] The display forms include: graphic display in the form of sound wave graph, histogram or line graph.
[0029] In a second aspect, an embodiment of the present invention provides a voice data processing device for a voice card, comprising:
[0030] An acquisition unit, used for sending a prompt message to the user and acquiring the reread voice data of the user rereading according to the prompt message;
[0031] An analysis unit, configured to analyze the repeated voice data to obtain characteristic information, and search for the account information corresponding to the user from an associated user database according to the characteristic information;
[0032] A search unit, configured to search for the personalized standard voice data corresponding to the user according to the account information;
[0033] The comparison unit is used to compare the repeated voice data with the personalized standard voice data and output the comparison result.
[0034] An embodiment of the present invention provides a voice data processing device for a voice card, which has the function of implementing the voice data processing method of the voice card in the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0035] In one possible design, the structure of the voice data processing device of the voice card includes a processor and a memory, the memory is used to store a program that supports the transceiver to execute the above method, and the processor is configured to execute the program stored in the memory. The voice data processing device of the voice card may also include a communication interface for the voice data processing device of the voice card to communicate with other devices or communication networks.
[0036] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0037] processor;
[0038] a memory for storing processor-executable instructions;
[0039] Wherein, the processor is configured to execute any one of the above-mentioned voice data processing methods of the voice card.
[0040] In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used for the voice data processing device of the above-mentioned voice card, which includes a program designed for executing the voice data processing device of the voice card in the above-mentioned aspect.
[0041] Compared with the prior art, the solution provided by the present invention sends a prompt message to the user, and obtains the repeated voice data repeated by the user according to the prompt message; analyzes the repeated voice data to obtain feature information, and searches the associated account information corresponding to the user from the associated user database according to the feature information; searches out the personalized standard voice data corresponding to the user according to the account information; compares the repeated voice data with the personalized standard voice data, and outputs the comparison result. The technical solution of the present invention can identify and match the corresponding account information according to the repeated voice data of different users, and analyze according to the personalized standard voice data saved in the corresponding account, which is more targeted. The technical solution of the present invention has good analysis effect, and the user data is stored in independent account information, which is not easy to confuse.
[0042] These and other aspects of the present invention will become more apparent from the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 A method flow chart showing a method for processing voice data of a voice card of the present invention;
[0045] Figure 2 It is a scene schematic diagram of the voice data processing method of the voice card of the present invention;
[0046] Figure 3 A flow chart showing a method for matching account information according to user voiceprint information of the present invention;
[0047] Figure 4 A flow chart showing a method of performing different operations according to ambient audio according to the present invention;
[0048] Figure 5 A flowchart showing the present invention analyzing in different splitting modes according to different speech processing modes;
[0049] Figure 6 A flow chart showing a method for sorting and outputting scores of multiple accounts according to the present invention;
[0050] Figure 7 A block diagram showing a device for a voice data processing method of a voice card according to an embodiment of the present invention;
[0051] Figure 8 Shown is a block diagram of a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0053] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0055] Please refer to Figure 1 , Figure 1 The method flow chart of the voice data processing method of the voice card of the present invention is shown. In order to better process voice data in a multi-user scenario, the present invention provides a voice data processing method of the voice card, which can be run on the voice card. Please refer to Figure 2 , Figure 2 1 is a scene diagram of the voice data processing method of the voice card of the present invention. In this embodiment, user A, user B, user C and voice card 110 are introduced as examples. The users can interact with the voice card 110 at the same time or at different time periods. In some embodiments, there can be multiple voice cards, or other user terminals, including but not limited to mobile phones, tablet computers, personal computers, learning machines, etc. The voice card is connected to the corresponding server through the network, and the server carries the relevant database.
[0056] The voice data processing method of the voice card comprises:
[0057] Step S11: sending a prompt message to the user, and obtaining the re-read voice data that the user re-reads according to the prompt message.
[0058] In this embodiment, taking the most common scenario as an example, the user needs to correct his or her own voice through the aforementioned voice card. The voice card 110 can obtain corresponding prompt information in the built-in question bank or cloud database, and the prompt information can be a word, a single word, a single sentence or a whole paragraph of text material.
[0059] In order to adapt to the user characteristics of different users such as age, gender, and school stage or the learning mode selected by the user, the voice card can also select whether to prompt the pinyin of the information based on the user characteristics obtained by analyzing the user's repeated voice data. In this embodiment, for example, for user A, a kindergarten student, a mandarin beginner, and a male, the voice card 110 obtains a question bank adapted to the user's characteristics from the cloud, and obtains and displays the prompt information "sun" and "pinyin: taiyang" from the question bank to user A. The voice card 110 repeats the repeated voice data of user A - "sun". The prompt information can be matched in the cloud according to the user's characteristic information. The user's characteristic information can be obtained by analyzing the voice data when the user turns on the computer, or by collecting the user's video information for analysis, or by analyzing the environmental usage scenario. The prompt information adapted to the characteristics of different users can also display images to help user A repeat the prompt information, such as displaying an image of the sun.
[0060] Step S12: Analyze the repeated voice data to obtain feature information, and search for the account information corresponding to the user from the associated user database according to the feature information.
[0061] The repeated voice data of user A is analyzed to obtain feature information. In this embodiment, the feature information may include voice features such as voice intonation, syllables, vowels, interval duration or sound changes that reflect the accuracy of the user's pronunciation. According to the feature information of the aforementioned voice, the corresponding account information of user A can be matched and searched in the user database that has been associated with several account information. The account information obtained by associating the feature information of the repeated voice data can be used by the voice card 110 to determine the relevant information of the current user, so as to facilitate the subsequent collection, recording, machine learning of user behavior and continuous analysis of user voice features, etc.
[0062] Step S13: searching for the personalized standard voice data corresponding to the user according to the account information.
[0063] The voice card 110 obtains the personalized standard voice data corresponding to the user in the history and stored in the cloud or database according to the matched account information. The personalized standard voice data refers to the standardized voice according to the user's characteristics. Different standardized voice data are matched according to the user's different age groups, genders, grades, regions, nationalities and other characteristics, and stored in the account information corresponding to user A, so that user A can call the personalized standard voice data when interacting with the voice card 110 later. The user can also select the personalized standard voice data to be saved.
[0064] Step S14: Compare the repeated voice data with the personalized standard voice data, and output the comparison result.
[0065] The repetition voice data of user A is compared with the personalized standard voice data stored in the account information of user A to obtain a comparison result. In this embodiment, the comparison result may be a score value, a comparison chart, improved analysis information, etc. Among them, the score value may be quantitatively generated based on the similarity or conformity between the feature information of the repetition voice data of user A and the feature information of the personalized standard voice data. In some embodiments, an algorithm model for voice similarity matching may be used to output a similarity value or other quantitative indicators to obtain the comparison result.
[0066] Please refer to Figure 3 , Figure 3 The flowchart of the method for matching account information according to user voiceprint information of the present invention is shown. In order to simplify the steps of searching for the account information corresponding to the user in the user database and improve the efficiency of the associated search, the voice data processing method of the voice card includes:
[0067] Step S31: Analyze the repeated voice data to obtain the user's voiceprint information.
[0068] Taking the voice card 110 as an example, after the voice card 110 obtains the user's repeated voice data, it analyzes the voice features of the repeated voice data to obtain the user's voiceprint information. The voiceprint information is a user-specific voice feature that can distinguish the user. For example, the user's pitch, timbre, frequency and other feature points can be analyzed to obtain the user's specific voiceprint.
[0069] Step S32: According to the voiceprint information, the user's account information is associated in the user database.
[0070] The user database stores the voiceprint information of the repeated voice data during the user's previous use, or prompts the user to enter the voiceprint information when the user uses the device for the first time, and associates the voiceprint information with the corresponding user's account information. Therefore, in the subsequent use process, the user's account information can be searched in the user database according to the voiceprint information.
[0071] In addition to voiceprint information, the user's account information can also be associated with fingerprint or iris recognition. However, in combination with the usage scenario of this embodiment, the technical solution of associating the user's account information with voiceprint information is simple and fast and can also save hardware costs.
[0072] When the user has not set up an account, before the step of associating the user's account information in the user database according to the voiceprint information, it also includes: creating and associating the user's account information, and entering the voiceprint information corresponding to the account information in the user database. The voiceprint information serves as the key for the user's subsequent login, associating related records, calling related data and other operations. In addition, the user can associate the voiceprint information with the corresponding account information during subsequent use by collecting repeated voice data and other methods. The above solution can be applicable to the situation when the user is using it for the first time or the account information has been cancelled.
[0073] Please refer to Figure 4 , Figure 4 The flowchart of the method for performing different operations according to the ambient audio of the present invention is shown. In order to better analyze the repeated voice data, this embodiment provides a solution for prompting the user to change the environment or perform background noise filtering. The voice data processing method of the voice card includes:
[0074] Step S41: sending a prompt message to the user, and obtaining audio data repeated by the user according to the prompt message, wherein the audio data includes the original voice of the user and the current environment audio.
[0075] Still taking user A as an example, a prompt message is displayed to user A, prompting user A to repeat the word "sun". The audio data of user A is obtained, including the ambient audio of user A and the original voice of "sun" repeated by the user. The above ambient audio includes environmental noise, background noise of the acquisition device, and other noises.
[0076] Step S42: Separate the original voice and the ambient audio according to the prompt information.
[0077] According to the prompt information, the original voice repeated by the user can be separated from the audio data by separating the audio tracks. Through the prompt information, the sudden, non-periodic, and non-constant environmental audio can be separated.
[0078] Step S43: Determine whether the decibel difference between the original speech and the ambient audio is greater than the noise threshold.
[0079] The difference between the decibel value of the original speech and the decibel value of the ambient audio reflects the degree to which the original speech is disturbed by the ambient audio. When the decibel value of the original speech is relatively large and the decibel value of the ambient audio is relatively small, it means that the original speech is less disturbed by the ambient audio. The noise threshold indicates the limit of the aforementioned interference level, because if the original speech is seriously disturbed by the ambient audio, it is difficult to obtain the usable original speech through background noise filtering or audio track separation, which will seriously affect the recognition later.
[0080] Step S44: If not, push information about changing the voice data processing location to the user.
[0081] When the decibel difference between the original voice and the ambient audio is less than the noise threshold, information about changing the voice data processing site is pushed to the user. In this embodiment, the information about changing the environment can be pushed or displayed to the user through the voice card 110 or other user terminals. After changing the voice data processing site, the decibel value and noise threshold of the user's original voice and the ambient audio of the new environment can be repeatedly detected to see if they meet the above judgment requirements.
[0082] Step S45: If yes, perform background noise filtering on the audio data according to the ambient audio to obtain repeated voice data.
[0083] When the decibel difference between the original voice and the ambient audio is greater than the noise threshold, the audio data is subjected to background noise filtering according to the ambient audio to obtain the repeated voice data. Since the original voice can be identified and separated through the prompt information, the original voice in the audio data can be further directly subjected to background noise filtering to obtain the repeated voice data with better filtering effect, which is convenient for subsequent analysis.
[0084] The solution of this embodiment can be applied to purify sudden, non-periodic, and non-constant environmental noise to obtain clear repeated voice data.
[0085] Please refer to Figure 5 , Figure 5 The flowchart of the present invention is shown in which different speech processing modes are analyzed in different splitting modes. The user can select the corresponding speech processing mode in a personalized manner, and different speech processing modes are associated with different analysis methods. The speech data processing method of the speech card includes:
[0086] Step S51: obtaining the current voice processing mode of the voice card, and dividing the repeated voice data according to the basic division units of the voice processing mode and the intervals of the basic division units; the basic division units include single-character units, word units or single-sentence units.
[0087] The voice card 110 can adopt different voice processing modes according to the user's account information or according to the user's current switching selection, language, etc. The voice processing mode may include a single word processing mode, a word processing mode, or a whole sentence processing mode.
[0088] Taking the user's account information as an example, the age and grade of user A meet the requirements of single-word processing mode and word processing mode. At this time, the user can switch to single-word processing mode and word processing mode, but cannot switch to whole sentence processing mode.
[0089] The basic division unit refers to a single word, a single word, a single sentence, etc. as the smallest basic unit in the analysis process. The time interval of the above basic division units at different speech speeds is used as the interval of the basic division unit. In addition to being related to the actual speech speed, the interval of the basic division unit is also related to factors such as age, gender, grade of study, and region in the account information.
[0090] Step S52: Analyze the split repetition voice data in sequence according to the basic division units to obtain feature information.
[0091] In the process of splitting the repeated voice data, according to the basic division units and their interval time, the repeated voice data can be accurately divided into the smallest analysis units for refined analysis.
[0092] Taking a specific application scenario as an example, let's still take user A as an example. User A currently selects the speech processing mode of word analysis, and obtains the user A's repeated voice data as "The sun is shining in the sky, and the flowers are smiling at me". According to the speech processing mode based on words, it is decomposed into "sun", "in the sky", "shining", "flowers", "to", "me", and "smile". For the whole sentence, in addition to the accurate pronunciation of words, it is also necessary to analyze the characteristic information such as the change of sound and stress of the connection between words. Therefore, in the aforementioned speech processing mode of word analysis, the characteristic information obtained includes the user's word pronunciation characteristics, word reading pronunciation characteristics, tone change characteristics, and tone change characteristics.
[0093] By switching the voice processing mode based on factors such as different users and different scenarios, the user's repeated voice data can be analyzed more accurately and specifically, so as to improve the accuracy of the subsequent output comparison results.
[0094] In order to compare the results of speech processing by multiple users, this embodiment also provides a technical solution for multi-user horizontal comparison. Figure 6 , Figure 6 The flowchart of the method for sorting and outputting according to the score values of multiple accounts of the present invention is shown. When the comparison result is quantified into a score value, the repeated voice data is compared with the personalized standard voice data, and after the step of outputting the comparison result, the voice data processing method of the voice card further includes:
[0095] Step S61: obtaining multiple account information from a user database, and obtaining ratings publicly displayed by multiple different users.
[0096] Obtain the ratings corresponding to multiple accounts in the user database. Before obtaining, the corresponding user has authorized the display, comparison, ranking and other processing. The ratings can be prompt information for the same or similar topics, which is convenient for horizontal comparison. In addition, the ratings can also come from the ratings recorded in other account information in the same region as the current user.
[0097] Step S62: Sort by the score value to obtain the ranking information of each user and output it.
[0098] After obtaining the above ranking information, it can be pushed to the current user to encourage the user to continue to improve.
[0099] In addition, when the comparison result is a rating value, in order to more intuitively display the user's rating value, the repeated voice data is compared with the personalized standard voice data. After the step of outputting the comparison result, the voice data processing method of the voice card includes: generating a visual image and a rating value based on the feature information of the repeated voice data and the personalized standard voice data, and synchronously displaying the visual image and the rating value.
[0100] In the above process, a comparison chart is generated based on the feature information of the user's repeated voice data and the personalized standard voice data saved in the user's account information. The comparison chart can be a visual image that is convenient for the user to observe intuitively, wherein the visual image can be set to display the above feature information and the standard feature information of the personalized standard voice data in a display form. The display forms include: a graphical display in the form of a sound wave graph, a histogram or a line graph. In addition to displaying the feature information and the standard feature information in the form of a visual image, the user's facial information collected by facial three-dimensional structured light can also be used to simulate and reproduce the standard feature information of the personalized standard voice data. The user can imitate more intuitively and efficiently based on the simulated facial image according to the user's facial features and the standard feature information of the personalized standard voice.
[0101] The solution provided by the present invention sends a prompt message to the user, and obtains the repeated voice data repeated by the user according to the prompt message; analyzes the repeated voice data to obtain feature information, and searches the associated account information corresponding to the user from the associated user database according to the feature information; searches out the personalized standard voice data corresponding to the user according to the account information; compares the repeated voice data with the personalized standard voice data, and outputs the comparison result. The technical solution of the present invention can identify and match the corresponding account information according to the repeated voice data of different users, and analyze according to the personalized standard voice data saved in the corresponding account, which is more targeted. The technical solution of the present invention has good analysis effect, and the user data is stored in independent account information, which is not easy to confuse.
[0102] Please refer to Figure 7 , Figure 7 A block diagram of a device for processing voice data of a voice card according to an embodiment of the present invention is shown. This embodiment provides a voice data processing device, comprising:
[0103] The acquisition unit 71 is used to send a prompt message to the user and acquire the re-read voice data of the user according to the prompt message;
[0104] An analysis unit 72 is used to analyze the repeated voice data to obtain characteristic information, and search for the account information corresponding to the user from the associated user database according to the characteristic information;
[0105] A search unit 73, configured to search for the personalized standard voice data corresponding to the user according to the account information;
[0106] The comparison unit 74 is used to compare the repeated voice data with the personalized standard voice data and output the comparison result.
[0107] This embodiment also provides an electronic device, including:
[0108] processor;
[0109] a memory for storing processor-executable instructions;
[0110] Wherein, the processor is configured to execute the voice data processing method of the voice card mentioned above.
[0111] This embodiment also provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the voice data processing method of the voice card in any of the above embodiments.
[0112] In order to better explain the present invention, the embodiment of the present invention further provides a terminal device, such as Figure 8 For the sake of convenience, only the parts related to the embodiments of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiments of the present invention. The terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a car computer, etc., taking the mobile phone as an example:
[0113] Figure 8 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Figure 8The mobile phone includes: a radio frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (WiFi) module 870, a processor 880, and a power supply 890. Those skilled in the art will understand that Figure 8 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0114] Combine the following Figure 8 A detailed introduction to the various components of the mobile phone:
[0115] The RF circuit 810 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 880 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 810 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 810 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.
[0116] The memory 820 can be used to store software programs and modules. The processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820. The memory 820 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 820 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0117] The input unit 830 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 831 or near the touch panel 831 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 831 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 880, and can receive and execute commands sent by the processor 880. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 831, the input unit 830 may also include other input devices 832. Specifically, the other input devices 832 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0118] The display unit 840 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 840 may include a display panel 841. Optionally, the display panel 841 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 831 may cover the display panel 841. When the touch panel 831 detects a touch operation on or near it, it is transmitted to the processor 880 to determine the type of touch event. Subsequently, the processor 880 provides a corresponding visual output on the display panel 841 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 831 and the display panel 841 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 831 and the display panel 841 can be integrated to realize the input and output functions of the mobile phone.
[0119] The mobile phone may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 841 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0120] The audio circuit 860, the speaker 861, and the microphone 862 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can transmit the received audio data to the speaker 861 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 860 and converted into audio data, and then the audio data is output to the processor 880 for processing, and then sent to another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.
[0121] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 870. It provides users with wireless broadband Internet access. Figure 8A WiFi module 870 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0122] The processor 880 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 820, and calling data stored in the memory 820, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 880.
[0123] The mobile phone also includes a power supply 890 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 880 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0124] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here. In the embodiment of the present invention, the processor 880 included in the terminal also has the following functions:
[0125] Sending a prompt message to the user, and obtaining the reread voice data of the user rereading according to the prompt message;
[0126] Analyze the repeated voice data to obtain characteristic information, and search for the corresponding account information of the user from the associated user database according to the characteristic information;
[0127] Find out the personalized standard voice data corresponding to the user according to the account information;
[0128] The repeated speech data is compared with the personalized standard speech data, and the comparison result is outputted. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0129] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0130] The units described as separate components may or may not be physically separated, and the components shown as units 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0131] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or 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 software functional units.
[0132] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0133] A person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.
[0134] The above is a detailed introduction to a user terminal device provided by the present invention. For a person skilled in the art, according to the idea of the embodiment of the present invention, there may be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A voice data processing method for a voice card, characterized in that: include: Sending a prompt message to a user, and obtaining the repeated voice data repeated by the user according to the prompt message, including: sending a prompt message to the user, and obtaining the audio data repeated by the user according to the prompt message, the audio data including the original voice of the user and the current ambient audio; separating the original voice from the ambient audio according to the prompt message; when the decibel difference between the original voice and the ambient audio is less than a noise threshold, pushing information of changing the voice data processing site to the user; when the decibel difference between the original voice and the ambient audio is greater than the noise threshold, performing background noise filtering on the audio data according to the ambient audio to obtain the repeated voice data; the difference between the decibel value of the original voice and the decibel value of the ambient audio reflects the degree to which the original voice is disturbed by the ambient audio; Analyze the repeated voice data to obtain characteristic information, and search for the corresponding account information of the user from the associated user database according to the characteristic information; According to the account information, the personalized standard voice data corresponding to the user is searched; the personalized standard voice data is standardized voice data matched for the user, stored in the account information corresponding to the user, and called when the user interacts with the voice card; the personalized standard voice data is standardized voice data obtained according to the user's characteristics; The repeated voice data is compared with the personalized standard voice data, and a comparison result is output.
2. The voice data processing method of the voice card according to claim 1, characterized in that: The step of analyzing the repeated voice data to obtain characteristic information, and searching the associated user database for the corresponding account information of the user according to the characteristic information comprises: Analyzing the repeated voice data to obtain the user's voiceprint information; According to the voiceprint information, the account information of the user is correspondingly associated in the user database.
3. The voice data processing method of the voice card according to claim 2, characterized in that: When the user has not set up an account, before the step of associating the user's account information in the user database according to the voiceprint information, the method further includes: creating and associating the user's account information, and entering the voiceprint information corresponding to the account information in the user database.
4. The voice data processing method of the voice card according to claim 1, characterized in that: The step of analyzing the repeated speech data to obtain feature information comprises: Acquire the current voice processing mode of the voice card, and split the repeated voice data according to the basic division units of the voice processing mode and the intervals of the basic division units; the basic division units include single-character units, word units or single-sentence units; The split repeated speech data is analyzed in sequence according to the basic division units to obtain feature information.
5. The voice data processing method of the voice card according to claim 1, characterized in that: When the comparison result is a score value, the repeated voice data is compared with the personalized standard voice data, and after the step of outputting the comparison result, the method further includes: Obtain multiple account information from a user database to obtain publicly displayed ratings of multiple different users; The ranking information of each user is obtained and outputted according to the score values.
6. The voice data processing method of the voice card according to claim 1, characterized in that: When the comparison result is a scoring value, the repeated voice data is compared with the personalized standard voice data, and after the step of outputting the comparison result, it includes: generating a visualization image and a scoring value according to the feature information of the repeated voice data and the personalized standard voice data, and synchronously displaying the visualization image and the scoring value.
7. The voice data processing method of the voice card according to claim 6, characterized in that: The visual image displays the characteristic information and the standard characteristic information in a set display form; The display forms include: graphic display in the form of sound wave graph, histogram or line graph.
8. A voice data processing device for a voice card, characterized in that: include: An acquisition unit, used for sending a prompt message to a user, and acquiring the repeated voice data repeated by the user according to the prompt message, including: sending a prompt message to the user, and acquiring the audio data repeated by the user according to the prompt message, wherein the audio data includes the original voice of the user and the current ambient audio; separating the original voice from the ambient audio according to the prompt message; when the decibel difference between the original voice and the ambient audio is less than a noise threshold, pushing information of changing the voice data processing site to the user; when the decibel difference between the original voice and the ambient audio is greater than the noise threshold, performing background noise filtering on the audio data according to the ambient audio to obtain the repeated voice data; the difference between the decibel value of the original voice and the decibel value of the ambient audio reflects the degree to which the original voice is disturbed by the ambient audio; An analysis unit, configured to analyze the repeated voice data to obtain characteristic information, and search for the account information corresponding to the user from an associated user database according to the characteristic information; A search unit, configured to search for the personalized standard voice data corresponding to the user according to the account information; the personalized standard voice data is standardized voice data matched for the user, stored in the account information corresponding to the user, and called when the user interacts with the voice card; the personalized standard voice data is standardized voice data obtained according to user characteristics; The comparison unit is used to compare the repeated voice data with the personalized standard voice data and output a comparison result.
9. An electronic device, characterized in that: include: processor; memory for storing processor executable instructions; Wherein, the processor is configured to execute the voice data processing method of the voice card according to any one of claims 1-7.
