A human-computer interactive dialogue system based on artificial intelligence
Through voiceprint pattern confirmation and microgrid coverage technology, the wake-up voice characteristics are locked, and the text content is gradually analyzed, which solves the problem of difficult text recognition in high-capacity human-computer interaction, improves interaction efficiency and accuracy, and solves the human-computer in the existing technology The problem of low interaction efficiency.
Patent Information
- Application Number
- CN202411147231.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-21
AI Technical Summary
During human-computer interaction, if the amount of text content received by artificial intelligence is large, it will lead to difficulty in identification, affect interaction efficiency, and reduce the human-computer interaction effect.
Voiceprint characteristics are determined through voiceprint pattern confirmation and micro grid coverage technology, quickly lock the wake-up voice, gradually analyze text features and delete irrelevant words, and use similarity analysis to determine the best search content to improve interaction rate and accuracy.
It realizes rapid locking of voiceprint features, improves interaction rate, ensures the accuracy of answering artificial intelligence questions, and improves human-computer interaction effect.
Smart Images

Figure CN118656483B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human-computer interaction, and in particular to a human-computer interaction dialogue system based on artificial intelligence. Background Art
[0002] Artificial intelligence, abbreviated as AI in English, is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
[0003] A method, device and medium for human-computer interaction based on a neural network, with publication number CN111737441B, relates to the field of artificial intelligence technology, specifically the field of natural language processing and knowledge graph technology. The method includes: providing user input as a first input to a neural network system; providing the user input to a dialogue control system different from the neural network system; processing the user input by the dialogue control system based on information related to the user input; providing the processing result of the dialogue control system as a second input to the neural network system; and generating a response to the user input by the neural network system based on the first input and the second input.
[0004] When artificial intelligence is performing human-computer interaction, if the amount of text content received is large, the human and the computer will have difficulty in recognition during the interaction, resulting in human-computer interaction barriers and inability to output the corresponding text answer content, thereby affecting the corresponding human-computer interaction effect and reducing the efficiency of human-computer interaction. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present invention provides a human-computer interactive dialogue system based on artificial intelligence, which solves the problem that when a large amount of text content is received, it is difficult to recognize it during human-computer interaction.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a human-computer interactive dialogue system based on artificial intelligence, comprising:
[0007] The voiceprint confirmation end determines the voiceprint of the wake-up voice based on the wake-up voice of the artificial intelligence interaction system;
[0008] The voiceprint feature locking end uses a micro-grid covering method to determine the voiceprint features of the corresponding wake-up voice based on the voiceprint map generated by the corresponding wake-up voice. The specific method is as follows:
[0009] The voiceprint spectrum is covered by a preset micro-grid template. Based on the coverage of the internal area of the voiceprint waveform of the voiceprint spectrum by several micro-grids in the micro-grid template, the complete micro-grid located inside the voiceprint waveform is calibrated as a standard grid, and the micro-grid that intersects with the edge line of the voiceprint waveform is calibrated as a non-standard grid.
[0010] Record the total number of standard grids and mark them as ZS, then record the number of non-standard grids SS, arrange ZS in front and SS in the back, generate a parameter sequence, mark this parameter sequence as the voiceprint feature of this voiceprint spectrum, and transmit the determined voiceprint feature to the voice content generation end;
[0011] The voice content generating end, based on the determined voiceprint features, confirms the subsequent interactive voice with the same voiceprint features, removes other voices that do not belong to the voiceprint features, and generates text content of the interactive voice based on the interactive voice;
[0012] The voice content processing end initially recognizes the generated text content, removes irrelevant words, and then uses vocabulary comparison to lock the coherent words in the text content. Based on the sorting method of coherent words, the items to be searched are determined. The specific method is as follows:
[0013] Compare the text content with the preset irrelevant word spectrum, and assign 0 to the corresponding words with the comparison results, and assign 1 to the corresponding words without the comparison results. Extract the corresponding words with the assignment of 1 from the text content, and keep the original order unchanged to generate the initial text;
[0014] Confirm the coherent words that appear in the initial text one by one, first extract the first word in the initial text, mark it as the initial word, merge the words that appear after the initial word into two words, and search the two words in the cloud to confirm whether there is a corresponding word:
[0015] If there is a search result for the double word, mark the double word as the initial word, then identify the subsequent words of the initial word, merge them into three words, and identify whether there is a search result for the three words in the cloud search process. If there is, mark the three words as the initial word. If not, mark the original initial word as a coherent word;
[0016] If there is no search result for the double word, the initial word is removed, the single word following the initial word is marked as the initial word, and the subsequent words are confirmed to generate double words, and then the cloud search is performed to determine whether it is the initial word;
[0017] When there is no search result for the initial word and the subsequent words in the cloud search, the initial word is marked as a coherent word, the subsequent words are re-marked as the initial word, and the subsequent coherent words are re-determined, and the determined several coherent words are sorted according to the original order to generate a coherent word sequence to determine the item to be searched;
[0018] The content retrieval end determines the retrieval content from the cloud based on the determined items to be searched. If there is only one set of retrieval content, voice output can be performed directly through the voice output end. If there are multiple sets of retrieval content, the multiple sets of retrieval content and the items to be searched are transmitted to the similarity analysis end for similarity analysis, and the best retrieval content is determined and voice output is performed.
[0019] Preferably, the size of the micro-grid inside the micro-grid template is N×N, in mm, where N is a preset value.
[0020] Preferably, the similarity analysis end determines the search title corresponding to the search content, and performs similarity analysis between the search title and the item to be searched, determines the optimal search content based on the analysis result, and performs voice output through the voice output end; the specific method is:
[0021] Determine different search titles of multiple groups of search contents, and output the search title and text vectors of the items to be searched through a vector conversion model, mark the text vector of the search title as an initial vector, and mark the text vector of the items to be searched as a secondary vector;
[0022] Construct a set of baselines, which are horizontal lines. Identify the angle between the corresponding initial vector and the secondary vector in the same direction and the baseline, and mark the angle generated by the initial vector as J. i , mark the angle of the secondary vector as JQ, where i represents different search titles, and then determine the length of the initial vector QQ i and the length DD of the secondary vector;
[0023] According to CL i =J i ×C1+QQ i ×C2 determines the check value CL corresponding to the initial vector i , where C1 and C2 are preset fixed coefficient factors;
[0024] Then determine the standard value HD of the corresponding secondary vector according to HD=JQ×C1+DD×C2;
[0025] Adopt CZ i =|CL i -HD|Determine the difference between different check values and the standard value CZ i , from several sets of difference values CZ i The minimum value is selected, and the search content corresponding to the minimum value is marked as the optimal search content, and the voice output is performed through the voice output terminal.
[0026] Preferably, the voice output terminal converts the received search content into voice and outputs it through a corresponding output item.
[0027] The present invention provides a human-computer interactive dialogue system based on artificial intelligence. Compared with the prior art, it has the following beneficial effects:
[0028] The present invention confirms the voiceprint map of the wake-up voice, and then uses a preset micro-grid template to cover the voiceprint map. Based on the specific coverage situation, the corresponding standard grid and non-standard grid are determined, and based on the corresponding number, the corresponding voiceprint feature is determined. By using this method of determining the voiceprint feature, the voiceprint feature corresponding to the wake-up voice can be quickly locked. The locking method is faster and the time is shorter.
[0029] Subsequently, for high-volume text content, the final items to be searched are determined by gradually analyzing text features and deleting irrelevant words. This method can extract corresponding feature content from the text, facilitate post-processing by artificial intelligence, improve interaction rate, and ensure interaction effect.
[0030] For the multiple groups of search content that appear in the retrieval process, the text title and the corresponding search items are converted into text vectors by similarity analysis, and then the text vector analysis is performed to determine the best search content and output it, so as to ensure the accuracy of the answers to artificial intelligence questions and improve the overall effect of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the principle framework of the present invention;
[0032] Figure 2 Schematic diagram of the voiceprint map of the present invention. DETAILED DESCRIPTION
[0033] 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] Embodiment 1
[0035] See also Figure 1 , the present application provides a human-computer interactive dialogue system based on artificial intelligence, including a voiceprint spectrum confirmation end, a voiceprint feature locking end, a voice content generation end, a voice content processing end, a content retrieval end, a similarity analysis end and a voice output end;
[0036] The voiceprint pattern confirmation end, the voiceprint feature locking end, the voice content generation end, the voice content processing end, and the content retrieval end are electrically connected from the output node to the input node, wherein the content retrieval end is bidirectionally connected to the similarity analysis end, wherein the content retrieval end is electrically connected to the voice output end input node;
[0037] The voiceprint map confirmation end determines the voiceprint map of the wake-up voice based on the wake-up voice of the artificial intelligence interaction system, and the voiceprint map is as follows: Figure 2 As shown, specifically, different voiceprints can be generated based on different wake-up voices. The voiceprints generated by different wake-up voices are different. The size and shape of the vocal organs - tongue, teeth, larynx, lungs, and nasal cavity vary greatly from person to person, so the voiceprints of any two people are different.
[0038] Among them, the voiceprint feature locking end uses a micro-grid covering method based on the voiceprint spectrum generated by the corresponding wake-up voice to determine the voiceprint features of the corresponding wake-up voice, and transmits the voiceprint features of the wake-up person to the voice content generation end. Specifically, the micro-grid covering method is used here to quickly determine the voiceprint features of the wake-up voice. Compared with the original feature determination method, its speed is faster, so noise filtering can be quickly performed;
[0039] The specific method for determining the wake-up voiceprint features is as follows:
[0040] The preset micro-grid template is used to cover the voiceprint map, where the size of the micro-grid inside the micro-grid template is N×N, in mm, where N is a preset value, and its specific value is determined by the operator based on experience, generally 0.1. Several preset micro-grids are used to cover the inner area of the voiceprint waveform of the voiceprint map, and the complete micro-grid inside the voiceprint waveform is calibrated as a standard grid, and the micro-grid that intersects with the edge line of the voiceprint waveform is calibrated as a non-standard grid. The size of the micro-grid template is consistent with that of the entire image interface, that is, Figure 2 Overall dimensions;
[0041] Record the total number of standard grids and mark them as ZS, then record the number of non-standard grids SS, arrange ZS in front and SS in the back, generate a parameter sequence, and mark this parameter sequence as the voiceprint feature of this voiceprint spectrum, and transmit the determined voiceprint feature to the voice content generation end.
[0042] Specifically, this method can quickly lock the voiceprint features of the corresponding wake-up voice. The locking method is faster and takes a shorter time. The micro-grid template contains several micro-grids that appear continuously. Figure 2 After the combination, the corresponding grid of the waveform in the spectrum can be determined. If it is not divided by the waveform, it is the corresponding complete grid, that is, the standard grid. If it is divided by the edge line of the waveform, it means that the grid does not belong to the corresponding standard grid.
[0043] The standard grids corresponding to different voiceprint waveforms can be identified. Different voiceprint waveforms produce different numbers of standard grids, so the corresponding voiceprint features can be quickly identified.
[0044] Among them, the voice content generation end, based on the determined voiceprint features, confirms the subsequent interactive voice with the same voiceprint features, removes other voices that do not belong to the voiceprint features, and generates the text content of the interactive voice based on the interactive voice, and transmits the generated text content to the voice content processing end. Specifically, the existing intelligent voice can generate its text content by itself according to the corresponding voice received, and then analyze the generated text content to determine the search content and display it. For small-capacity text content, the search content can be quickly locked. For large-capacity text content, its artificial intelligence cannot parse the text content, resulting in an inability to determine the search content;
[0045] The voice content processing end initially recognizes the generated text content, removes irrelevant words, and then uses a vocabulary comparison method to lock the coherent words in the text content, and determines the items to be searched based on the order of the coherent words. The specific method of determining includes:
[0046] Compare the text content with the preset irrelevant word spectrum, assign 0 to the corresponding word with the comparison result, assign 1 to the corresponding word without the comparison result, extract the corresponding word with the value 1 from the text content, and keep the original order unchanged to generate the initial text, wherein the irrelevant words in the irrelevant word spectrum include irrelevant words such as tone exclamation words and virtual words;
[0047] Confirm the coherent words that appear in the initial text one by one, first extract the first word in the initial text, mark it as the initial word, merge the words that appear after the initial word into two words, and search the two words in the cloud to confirm whether there is a corresponding word:
[0048] If there is a search result for the double word, mark the double word as the initial word, then identify the subsequent words of the initial word, merge them into three words, and identify whether there is a search result for the three words in the cloud search process. If there is, mark the three words as the initial word. If not, mark the original initial word as a coherent word;
[0049] If there is no search result for the double word, the initial word is removed, the single word following the initial word is marked as the initial word, and the subsequent words are confirmed to generate double words, and then the cloud search is performed to determine whether it is the initial word;
[0050] When there is no search result for the initial word and the subsequent words in the cloud search, the initial word is marked as a coherent word, the subsequent words are re-marked as the initial word, and the subsequent coherent words are re-determined, and the determined several coherent words are sorted according to the original order to generate a coherent word sequence to determine the item to be searched;
[0051] Specifically, assume that the original text content is: "What's the weather like today", and the internal "的" (a Chinese particle) is an irrelevant word, so it is removed. The initial text then becomes: "What's the weather like today", where "今" is the initial character, and the subsequent "今天" is a two-character sequence. There is a search result for this term in the cloud. Then, analyzing the subsequent "今天天", there is no search result. So, "今天" is the first group of consecutive words. The subsequent "天" then becomes the initial character again, and by using the same method, the subsequent consecutive words "天气" and "怎么样" can be identified. Thus, the order of the consecutive words generated is: 今天 (today), 天气 (weather), 怎么样 (how about). This generates a set of items to be retrieved;
[0052] Using the above method, it can be applied not only to low-capacity texts but also to high-capacity texts. Assume that "What's the weather like today" is a low-capacity text. Then, a high-capacity text can be understood as: "Questions about topics such as philosophy, morality, human emotions, and consciousness. These questions are usually quite abstract and subjective and require human emotions and judgment to answer. What's the weather like today". Such questions can be regarded as high-capacity texts, often involving the content of high-capacity texts, and it is very difficult for existing AI to answer them. However, after text processing, the corresponding items to be retrieved can be locked.
[0053] Embodiment 2
[0054] In the specific implementation process of this embodiment, compared with the above embodiment, this embodiment mainly focuses on the retrieval of content and outputs it;
[0055] Among them, for the content retrieval end, based on the determined items to be retrieved, it determines the retrieval content from the cloud. If there is only one set of retrieval content, it can directly output the voice through the voice output end. If there are multiple sets of retrieval content, then the multiple sets of retrieval content and the items to be retrieved are transmitted to the similarity analysis end;
[0056] Among them, the similarity analysis end determines the retrieval titles corresponding to the retrieval content, and conducts a similarity analysis between the retrieval titles and the items to be retrieved. Based on the analysis results, it determines the optimal retrieval content and outputs the voice through the voice output end. The specific method for determining the optimal retrieval content is as follows:
[0057] Determine the different retrieval titles of multiple sets of retrieval content, and use a vector conversion model to output the text vectors of the retrieval titles and the items to be retrieved. Label the text vector of the retrieval title as the initial vector, and label the text vector of the item to be retrieved as the secondary vector. Here, a pre-trained BERT model can be used to generate the text vectors. The BERT model, through pre-training on a large amount of text data, has learned rich language features. By inputting short texts into the BERT model, the vector representation of each word and the vector representation of the entire sentence can be obtained. These vectors can be used to evaluate the similarity between two texts;
[0058] Construct a set of baselines, which are horizontal lines. Identify the angle between the corresponding initial vector and the secondary vector in the same direction and the baseline, and mark the angle generated by the initial vector as J. i , mark the angle of the secondary vector as JQ, where i represents different search titles, and then determine the length of the initial vector QQ i and the length DD of the secondary vector;
[0059] According to CL i =J i ×C1+QQ i ×C2 determines the check value CL corresponding to the initial vector i , where C1 and C2 are preset fixed coefficient factors, and their specific values are determined by the operator based on experience;
[0060] Then determine the standard value HD of the corresponding secondary vector according to HD=JQ×C1+DD×C2;
[0061] Adopt CZ i =|CL i -HD|Determine the difference between different check values and the standard value CZ i , from several sets of difference values CZ i Within, a minimum value is selected, and the search content corresponding to the minimum value is marked as the optimal search content, and voice output is performed through the voice output terminal;
[0062] The voice output terminal converts the received search content into voice and outputs it through the corresponding output item.
[0063] Specifically, the corresponding vector is determined based on the corresponding text proposition, and then the vector is subjected to similarity analysis to determine the existence of highly similar corresponding vectors. Based on the specific determination result, the best search content to be output is locked, and then the search content to be output is output, so that the voice output item of the output content can be determined and voice output can be performed.
[0064] Embodiment 3
[0065] The specific implementation process of this embodiment includes the entire implementation process of the above two groups of embodiments.
[0066] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0067] The above embodiments are only used to illustrate the technical method 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 method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A human-computer interactive dialogue system based on artificial intelligence, characterized in that: include: The voiceprint confirmation end determines the voiceprint of the wake-up voice based on the wake-up voice of the artificial intelligence interaction system; The voiceprint feature locking end uses a micro-grid covering method to determine the voiceprint features of the corresponding wake-up voice based on the voiceprint map generated by the corresponding wake-up voice. The specific method is as follows: The voiceprint spectrum is covered by a preset micro-grid template. Based on the coverage of the internal area of the voiceprint waveform of the voiceprint spectrum by several micro-grids in the micro-grid template, the complete micro-grid located inside the voiceprint waveform is calibrated as a standard grid, and the micro-grid that intersects with the edge line of the voiceprint waveform is calibrated as a non-standard grid. Record the total number of standard grids and mark them as ZS, then record the number of non-standard grids SS, arrange ZS in front and SS in the back, generate a parameter sequence, mark this parameter sequence as the voiceprint feature of this voiceprint spectrum, and transmit the determined voiceprint feature to the voice content generation end; The voice content generating end, based on the determined voiceprint features, confirms the subsequent interactive voice with the same voiceprint features, removes other voices that do not belong to the voiceprint features, and generates the text content of the interactive voice based on the interactive voice, specifically in the following manner: Compare the text content with the preset irrelevant word spectrum, and assign 0 to the corresponding words with the comparison results, and assign 1 to the corresponding words without the comparison results. Extract the corresponding words with the assignment of 1 from the text content, and keep the original order unchanged to generate the initial text; Confirm the coherent words that appear in the initial text one by one, first extract the first word in the initial text, mark it as the initial word, merge the words that appear after the initial word into two words, and search the two words in the cloud to confirm whether there is a corresponding word: If there is a search result for the double word, mark the double word as the initial word, then identify the subsequent words of the initial word, merge them into three words, and identify whether there is a search result for the three words in the cloud search process. If there is, mark the three words as the initial word. If not, mark the original initial word as a coherent word; If there is no search result for the double word, the initial word is removed, the single word following the initial word is marked as the initial word, and the subsequent words are confirmed to generate double words, and then the cloud search is performed to determine whether it is the initial word; When there is no search result for the initial word and the subsequent words in the cloud search, the initial word is marked as a coherent word, the subsequent words are re-marked as the initial word, and the subsequent coherent words are re-determined, and the determined several coherent words are sorted according to the original order to generate a coherent word sequence to determine the item to be searched; The voice content processing end initially recognizes the generated text content, removes irrelevant words, and then uses vocabulary comparison to lock the coherent words in the text content. Based on the order of the coherent words, the items to be searched are determined; The content retrieval end determines the retrieval content from the cloud based on the determined items to be retrieved. If there is only one set of retrieval content, the voice output can be directly performed through the voice output end. If there are multiple sets of retrieval content, the multiple sets of retrieval content and the items to be retrieved are transmitted to the similarity analysis end for similarity analysis, and the best retrieval content is determined and voice output is performed. The similarity analysis end determines the search title corresponding to the search content, and performs similarity analysis between the search title and the search item to be searched. Based on the analysis results, the optimal search content is determined, and the voice output is performed through the voice output end; the specific method is as follows: Determine different search titles of multiple groups of search contents, and output the search title and text vectors of the items to be searched through a vector conversion model, mark the text vector of the search title as an initial vector, and mark the text vector of the items to be searched as a secondary vector; Construct a set of baselines, which are horizontal lines. Identify the angle between the corresponding initial vector and the secondary vector in the same direction and the baseline, and mark the angle generated by the initial vector as J. i , mark the angle of the secondary vector as JQ, where i represents different search titles, and then determine the length of the initial vector QQ i and the length DD of the secondary vector; According to CL i =J i ×C1+QQ i ×C2 determines the check value CL corresponding to the initial vector i , where C1 and C2 are preset fixed coefficient factors; Then determine the standard value HD of the corresponding secondary vector according to HD=JQ×C1+DD×C2; Adopt CZ i =|CL i -HD|Determine the difference between different check values and the standard value CZ i , from several sets of difference values CZ i The minimum value is selected, and the search content corresponding to the minimum value is marked as the optimal search content, and the voice output is performed through the voice output terminal.
2. The human-computer interactive dialogue system based on artificial intelligence according to claim 1, characterized in that: The size of the micro-grid inside the micro-grid template is N×N, in mm, where N is a preset value.
3. The human-computer interactive dialogue system based on artificial intelligence according to claim 1, characterized in that: The voice output terminal converts the received search content into voice and outputs it through the corresponding output item.
