Quality improvement method and system for intelligent robots

By using two neural network models in the intelligent robot for speech recognition, and performing segmented comparison and alignment correction of punctuation marks, the problem of low speech recognition accuracy of existing intelligent robots is solved and high-accuracy speech recognition is achieved. Improved service quality and user experience.

CN112329926BActive Publication Date: 2024-09-10ZHUHAI CAIZHU E-COMMERCE CO LTD +1
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202011386079.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2024-09-10
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

Existing intelligent robots have low speech recognition accuracy, which affects their service quality.

Method used

Two neural network models are used to recognize speech data, and the output results are finally determined through segmented comparison and alignment correction of punctuation marks to improve the accuracy of speech recognition.

Benefits of technology

In actual tests, the speech recognition accuracy rate reached more than 98%, significantly improving the service quality and user experience of intelligent robots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112329926B
    Figure CN112329926B
Patent Text Reader

Abstract

The embodiment of the present application provides a quality improvement method and system for an intelligent robot, the method comprising the following steps: the intelligent robot collects original voice data; the intelligent robot inputs the original voice data into a first neural network model for voice recognition to obtain first text information; at the same time, the original voice data is input into a second neural network model for voice recognition to obtain second text information; the intelligent robot divides the first text information into n segments according to punctuation marks, divides the second text information into n segments according to punctuation marks, compares the n segments of the first text information and the second text information in sequence, if the i-th segment is consistent, the i-th segment is determined as the final output result, if the x-th segment is inconsistent, the x-th segment of the first text information and the x-th segment of the second text information are corrected to obtain the x'th segment, and the x'th segment is determined as the final output result. The technical solution provided by the present application has the advantage of low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a quality improvement method and system for intelligent robots. Background Art

[0002] The reason why an intelligent robot is called an intelligent robot is that it has a fairly developed "brain". The central processing unit works in the brain, and this computer has a direct connection with the person who operates it. Most importantly, such a computer can perform actions arranged according to the purpose. Because of this, we say that this kind of robot is a real robot, although their appearance may be different.

[0003] Speech recognition is an important function of existing intelligent robots. The accuracy of speech recognition directly affects the service quality of intelligent robots. The accuracy of existing speech recognition is not high, which affects the service quality of intelligent robots. Summary of the invention

[0004] The embodiment of the present application discloses a quality improvement method for an intelligent robot, which can improve the accuracy of speech recognition and thereby improve the service quality of the intelligent robot.

[0005] A first aspect of an embodiment of the present application provides a quality improvement method for an intelligent robot, the method being applied to the intelligent robot, wherein the method comprises the following steps:

[0006] Intelligent robots collect raw voice data;

[0007] The intelligent robot inputs the original voice data into a first neural network model for voice recognition to obtain first text information; and simultaneously inputs the original voice data into a second neural network model for voice recognition to obtain second text information;

[0008] The intelligent robot divides the first text information into n segments according to punctuation marks, divides the second text information into n segments according to punctuation marks, compares the first text information with the n segments of the second text information in order, and if the i-th segment is consistent in the comparison, determines the i-th segment as the final output result; if the x-th segment is inconsistent in the comparison, aligns and corrects the x-th segment of the first text information with the x-th segment of the second text information to obtain the x'th segment, and determines the x'th segment as the final output result;

[0009] In the above, 1≤i≤n; 1≤x≤n; n is an integer greater than or equal to 3.

[0010] A second aspect of an embodiment of the present application provides a quality improvement system for an intelligent robot, characterized in that the system comprises:

[0011] A collection unit, used for collecting original voice data;

[0012] A processing unit is used to input the original speech data into a first neural network model for speech recognition to obtain first text information; at the same time, input the original speech data into a second neural network model for speech recognition to obtain second text information; divide the first text information into n segments according to punctuation marks, divide the second text information into n segments according to punctuation marks, and compare the n segments of the first text information with the second text information in sequence. If the i-th segment is consistent in the comparison, the i-th segment is determined as the final output result; if the x-th segment is inconsistent in the comparison, the x-th segment of the first text information is aligned and corrected with the x-th segment of the second text information to obtain the x'th segment, and the x'th segment is determined as the final output result;

[0013] In the above, 1≤i≤n; 1≤x≤n; n is an integer greater than or equal to 3.

[0014] A third aspect of an embodiment of the present application provides an intelligent robot, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the method described in the first aspect.

[0015] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the method described in the first aspect.

[0016] The fifth aspect of the embodiment of the present application discloses a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0017] The technical solution provided by the present application is that the intelligent robot collects original voice data; the intelligent robot inputs the original voice data into the first neural network model for voice recognition to obtain the first text information; at the same time, the original voice data is input into the second neural network model for voice recognition to obtain the second text information; the intelligent robot divides the first text information into n segments according to punctuation marks, and divides the second text information into n segments according to punctuation marks, and compares the n segments of the first text information and the second text information in sequence. If the comparison of the i-th segment is consistent, the i-th segment is determined to be the final output result. If the comparison of the x-th segment is inconsistent, the x-th segment of the first text information and the x-th segment of the second text information are aligned and corrected to obtain the x-th segment, and the x-th segment is determined as the final output result. In this way, the voice is recognized by two neural network models to determine whether it is consistent, and then processed to obtain the final output result, which can improve the accuracy of voice recognition. In actual tests, its accuracy can reach more than 98%. Therefore, the technical solution of the present application has the advantages of improving the service quality of the intelligent robot and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The following is an introduction to the drawings used in the embodiments of the present application.

[0019] Figure 1 It is a structural schematic diagram of an intelligent robot provided in an embodiment of the present application;

[0020] Figure 2 It is a flow chart of a quality improvement method of an intelligent robot provided in an embodiment of the present application;

[0021] Figure 2a It is a schematic diagram of the structure of an LSTM provided in an embodiment of the present application;

[0022] Figure 2b It is a schematic diagram of the structure of an RNN provided in an embodiment of the present application;

[0023] Figure 3 is a structural schematic diagram of a quality improvement system for an intelligent robot provided in an embodiment of the present application;

[0024] Figure 4 It is a structural schematic diagram of an intelligent robot provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0026] The term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0027] The "multiple" that appears in the embodiments of the present application refers to two or more. The first, second, etc. descriptions that appear in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor does it represent a special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application. The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not make any limitations on this.

[0028] The intelligent robot in the embodiments of the present application may refer to various forms of UE, access terminal, user unit, user station, mobile station, MS (English: mobile station, Chinese: mobile station), remote station, remote terminal, mobile device, user terminal, terminal equipment (English: terminal equipment), wireless communication equipment, user agent or user device. The terminal equipment may also be a cellular phone, a cordless phone, a SIP (English: session initiation protocol, Chinese: session initiation protocol) phone, a WLL (English: wireless local loop, Chinese: wireless local loop) station, a PDA (English: personal digital assistant, Chinese: personal digital processing), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved PLMN (English: public land mobile network, Chinese: public land mobile communication network), etc., and the embodiments of the present application are not limited to this.

[0029] See also Figure 1 , Figure 1It is a structural schematic diagram of an intelligent robot disclosed in an embodiment of the present application. The intelligent robot 100 includes a storage and processing circuit 110, and a sensor 170 connected to the storage and processing circuit 110. The sensor 170 may include a camera, a distance sensor, a gravity sensor, etc. The electronic device of the present application may include two transparent display screens, which are arranged on the back and front of the electronic device. Some or all of the components between the two transparent display screens may also be transparent. Therefore, the electronic device may be a transparent electronic device from a visual effect. If some components are transparent, the electronic device may be a hollow electronic device. Among them:

[0030] The intelligent robot 100 may include a control circuit, which may include a storage and processing circuit 110. The storage and processing circuit 110 may be a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronic programmable read-only memory for forming a solid-state drive, etc.), a volatile memory (such as a static or dynamic random access memory, etc.), etc., which is not limited by the embodiments of the present application. The processing circuit in the storage and processing circuit 110 can be used to control the operation of the intelligent robot 100. The processing circuit can be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application-specific integrated circuits, display driver integrated circuits, etc.

[0031] The storage and processing circuit 110 can be used to run software in the intelligent robot 100, such as an Internet browsing application, a Voice over Internet Protocol (VOIP) phone call application, an email application, a media playback application, an operating system function, etc. These software can be used to perform some control operations, such as image acquisition based on a camera, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functions based on status indicators such as status indicators of light-emitting diodes, touch event detection based on a touch sensor, functions associated with displaying information on multiple (e.g., layered) display screens, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the intelligent robot 100, etc., which are not limited by the embodiments of the present application.

[0032] The intelligent robot 100 may include an input-output circuit 150. The input-output circuit 150 may be used to enable the intelligent robot 100 to input and output data, that is, to allow the intelligent robot 100 to receive data from an external device and also allow the intelligent robot 100 to output data from the intelligent robot 100 to an external device. The input-output circuit 150 may further include a sensor 170. The sensor 170 vein recognition module may also include an ambient light sensor, a proximity sensor based on light and capacitance, a fingerprint recognition module, a touch sensor (for example, based on an optical touch sensor and / or a capacitive touch sensor, wherein the touch sensor may be part of a touch display screen or may be used independently as a touch sensor structure), an acceleration sensor, a camera, and other sensors, etc. The camera may be a front camera or a rear camera, and the fingerprint recognition module may be integrated under the display screen for collecting fingerprint images. The fingerprint recognition module may be an optical fingerprint module, etc., which is not limited here. The above-mentioned front camera may be set below the front display screen, and the above-mentioned rear camera may be set below the rear display screen. Of course, the front camera or rear camera may not be integrated with the display screen. In practical applications, the front camera or rear camera may also be a lifting structure. The specific implementation of the present application does not limit the specific structure of the front camera or rear camera.

[0033] The input-output circuit 150 may also include one or more display screens. When there are multiple display screens, such as two display screens, one display screen may be set in front of the electronic device, and the other display screen may be set behind the electronic device, such as the display screen 130. The display screen 130 may include a liquid crystal display screen, a transparent display screen, an organic light-emitting diode display screen, an electronic ink display screen, a plasma display screen, a display screen using other display technologies, or a combination of several of them. The display screen 130 may include a touch sensor array (that is, the display screen 130 may be a touch-controlled display screen). The touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistive touch, optical touch, etc., which is not limited in the embodiments of the present application.

[0034] The intelligent robot 100 may further include an audio component 140. The audio component 140 may be used to provide audio input and output functions for the intelligent robot 100. The audio component 140 in the intelligent robot 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.

[0035] The communication circuit 120 can be used to provide the intelligent robot 100 with the ability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit 120 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit 120 may include a circuit for supporting near field communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communication circuit 120 may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, etc.

[0036] The intelligent robot 100 may further include a battery, a power management circuit and other input-output units 160. The input-output units 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.

[0037] The user can input commands through the input-output circuit 150 to control the operation of the intelligent robot 100 , and can use the output data of the input-output circuit 150 to receive status information and other outputs from the intelligent robot 100 .

[0038] See also Figure 2 , Figure 2 A method for improving the quality of an intelligent robot is provided. The method is applied to Figure 1 The specific structure of the intelligent robot can be as follows: Figure 1 As shown, the method comprises the following steps:

[0039] Step S201: The intelligent robot collects original voice data;

[0040] Step S202: the intelligent robot inputs the original voice data into a first neural network model for voice recognition to obtain first text information; and simultaneously inputs the original voice data into a second neural network model for voice recognition to obtain second text information;

[0041] Step S203: The intelligent robot divides the first text information into n segments according to punctuation marks, divides the second text information into n segments according to punctuation marks, and compares the n segments of the first text information with the second text information in order. If the i-th segment is consistent in the comparison, the i-th segment is determined as the final output result. If the x-th segment is inconsistent in the comparison, the x-th segment of the first text information and the x-th segment of the second text information are aligned and corrected to obtain the x'th segment, and the x'th segment is determined as the final output result.

[0042] The technical solution provided by the present application is that the intelligent robot collects original voice data; the intelligent robot inputs the original voice data into the first neural network model for voice recognition to obtain the first text information; at the same time, the original voice data is input into the second neural network model for voice recognition to obtain the second text information; the intelligent robot divides the first text information into n segments according to punctuation marks, and divides the second text information into n segments according to punctuation marks, and compares the n segments of the first text information and the second text information in sequence. If the comparison of the i-th segment is consistent, the i-th segment is determined to be the final output result. If the comparison of the x-th segment is inconsistent, the x-th segment of the first text information and the x-th segment of the second text information are aligned and corrected to obtain the x-th segment, and the x-th segment is determined as the final output result. In this way, the voice is recognized by two neural network models to determine whether it is consistent, and then processed to obtain the final output result, which can improve the accuracy of voice recognition. In actual tests, its accuracy can reach more than 98%. Therefore, the technical solution of the present application has the advantages of improving the service quality of the intelligent robot and improving the user experience.

[0043] In an optional solution, the first neural network model may be an LSTM architecture model, and the second neural network model may be an RNN architecture model.

[0044] See also Figure 2a , Figure 2a This is a schematic diagram of the LSTM (Long Short-Term Memory) architecture at the current time t, as shown Figure 2a As shown, C t-1 Indicates the cell output value at the previous moment t-1, h t-1 is the output value at the previous moment, X t Represents the input data at the current time t. Among them, σ represents the sigmoid function, and tanh represents the tanh function, both of which are activation functions.

[0045]

[0046] LSTM can be divided into forget gate, input gate, and output gate, corresponding to three calculations. The calculation formula is as follows:

[0047] Forget the door, f t =σ(h t-1 *X t +b f ).

[0048] Input Gate:

[0049] i t =σ(h t-1 *X t+b i )

[0050] C' t =tanh(h t-1 *X t +b c );

[0051] Output Gate:

[0052] O t =σ(h t-1 *X t +b O );

[0053] h t =O t *tanh(C t ).

[0054] Among them, C t =C t-1 *f t +i t *C' t .

[0055] Above, b f represents f t The bias of the function, this value is a constant. Similarly, b i 、b c 、b o They represent the bias of the corresponding formula respectively.

[0056] In an optional solution, the intelligent robot inputs the original voice data into the first neural network model for voice recognition to obtain the first text information, which can be achieved by LSTM. The structure of the LSTM is as follows: Figure 2a As shown, the technical solution of the present application realizes the operation of LSTM through a master-slave structure, that is, the smart chip includes: a master circuit and multiple slave circuits, and the master circuit is connected to the slave circuit, which may specifically include:

[0057] The main circuit receives the input data X of the original voice data at the current time t t ; Get the output value h of LSTM at the previous moment t-1 And the cell output value C t-1 ; The main processing circuit will h t-1 Split into multiple data blocks and distribute to multiple slave circuits, input data X t Broadcast to multiple slave circuits, after receiving the corresponding data block, t Extract the element value corresponding to the data block, calculate the data block and the element value to obtain an intermediate result, send the intermediate result to the main circuit, and the main circuit obtains the product result h based on the intermediate result t-1*X t ; According to the product result h t-1 *X t Calculate the output result h at the current time t t , according to the output result h t Determine the text information corresponding to the voice information at the current time t.

[0058] See also Figure 2b , Figure 2b This is a schematic diagram of the RNN model architecture. Figure 2b As shown, for example, the output result of the hidden layer at time t is the output of the hidden layer at the next time t+1.

[0059] like Figure 2b As shown, where W represents the weight, X t-1 represents the input data of the input layer at time t-1, X t represents the input data of the input layer at time t, S t-1 represents the output result of the hidden layer at time t-1, O t-1 Represents the output result of the output layer at time t-1;

[0060] Take time t as an example:

[0061] S t =X t ×W+S t-1 ×W

[0062] O t =f(S t )

[0063] Wherein f represents an activation function, which includes but is not limited to: sigmoid function, tanh function, etc.

[0064]

[0065] Of course, in practical applications, other activation functions can also be used.

[0066] In an optional solution, the above-mentioned inputting the original voice data into the second neural network model for voice recognition to obtain the second text information can be implemented by an RNN model, which may specifically include:

[0067] The main circuit receives the input data X of the original voice data at the current time t t ; Get the hidden layer output value S of the previous moment of RNN t-1 ; The main processing circuit extracts the RNN weight data W, and the main processing circuit calculates the input data X t and the hidden layer output value S t-1The sum is split into multiple data blocks and distributed to multiple slave circuits. The weight data W is broadcast to multiple slave circuits. After the slave circuit receives the corresponding data block, it extracts the element value corresponding to the data block from the weight data W, calculates the data block and the element value to obtain an intermediate result, and sends the intermediate result to the main circuit. The main circuit obtains the hidden layer output value S at the current moment according to the intermediate result. t , the main processing circuit is for this S t Execute the activation operation to get the output result O at the current moment t , according to the output result O t Determine the text information corresponding to the voice information at the current time t.

[0068] In an optional solution, if the comparison of the xth segment is inconsistent, aligning and correcting the xth segment of the first text information with the xth segment of the second text information to obtain the x' segment may specifically include:

[0069] Align the X1th (the 1 in X1 is only used to distinguish the first text) segment of the first text information with the X2th (the 2 in X2 is only used to distinguish the second text) segment of the second text information by word, and after alignment, compare each word one by one. If the words in the X1th and X2th segments are the same, determine that the word is the word in the x'th segment. If the words in the X1th and X2th segments are different, extract the first confidence rate of the words in the X1th segment, and extract the second confidence rate of the words in the X2th segment. If the first confidence rate is the same, then the word in the X1th segment is the same. If the first confidence rate is greater than or equal to the second confidence rate, the character in the X1th paragraph is determined to be the character in the x'th paragraph. If the first confidence rate is less than the second confidence rate, the character in the X1th paragraph and the preceding / following characters are combined into a phrase, and the phrase is compared with the determined paragraphs in the final output result. If the number of times the phrase appears in the determined paragraph is greater than or equal to the number threshold, the character in the X1th paragraph is determined to be the character in the x'th paragraph. If the number of times the phrase appears in the determined paragraph is less than the number threshold, the character in the X2th paragraph is determined to be the character in the x'th paragraph.

[0070] This setting is because the accuracy of LSTM is higher than that of RNN, so the credibility of the words it recognizes is higher. However, if RNN is to be selected, the above conditions must be met to further improve the accuracy of recognition.

[0071] See also Figure 3 , Figure 3 A quality improvement system for an intelligent robot is provided, the system comprising:

[0072] A collection unit, used for collecting original voice data;

[0073] A processing unit is used to input the original speech data into a first neural network model for speech recognition to obtain first text information; at the same time, input the original speech data into a second neural network model for speech recognition to obtain second text information; divide the first text information into n segments according to punctuation marks, divide the second text information into n segments according to punctuation marks, and compare the n segments of the first text information with the second text information in sequence. If the i-th segment is consistent in the comparison, the i-th segment is determined as the final output result; if the x-th segment is inconsistent in the comparison, the x-th segment of the first text information is aligned and corrected with the x-th segment of the second text information to obtain the x'th segment, and the x'th segment is determined as the final output result;

[0074] In the above, 1≤i≤n; 1≤x≤n; n is an integer greater than or equal to 3.

[0075] The specific implementation scheme of the quality improvement system of the above intelligent robot can be found in Figure 2 The detailed solutions of the illustrated embodiment will not be described in detail here.

[0076] See also Figure 4 , Figure 4 An intelligent robot 40 is provided in an embodiment of the present application. The intelligent robot 40 includes a processor 401, a memory 402 and a communication interface 403. The processor 401, the memory 402 and the communication interface 403 are interconnected via a bus 404.

[0077] The memory 402 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), and the memory 402 is used for related computer programs and data. The communication interface 403 is used to receive and send data.

[0078] The processor 401 may be one or more central processing units (CPUs). When the processor 401 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.

[0079] The processor 401 in the intelligent robot 40 is used to read the computer program code stored in the memory 402 and execute the following steps: Figure 2 The operation of the method is shown.

[0080] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed on a network device, Figure 2 The method flow shown is realized.

[0081] The present application also provides a computer program product. When the computer program product is run on a terminal, Figure 2 The method flow shown is realized.

[0082] The embodiment of the present application also provides a terminal, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes a program for executing Figure 2 Instructions for steps in the method of the illustrated embodiment.

[0083] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software template corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0084] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0085] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and templates involved are not necessarily required by this application.

[0086] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0087] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which 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 through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0088] The units described above 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.

[0089] In addition, each functional unit in each embodiment of the present application 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.

[0090] If the above-mentioned integrated unit 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 memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0091] A person skilled 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 memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0092] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A quality improvement method for an intelligent robot, characterized in that: The method is applied to an intelligent robot, wherein the method comprises the following steps: Intelligent robots collect raw voice data; The intelligent robot inputs the original voice data into a first neural network model for voice recognition to obtain first text information; and simultaneously inputs the original voice data into a second neural network model for voice recognition to obtain second text information; The intelligent robot divides the first text information into n segments according to punctuation marks, divides the second text information into n segments according to punctuation marks, compares the first text information with the n segments of the second text information in order, and if the i-th segment is consistent in the comparison, determines the i-th segment as the final output result; if the x-th segment is inconsistent in the comparison, aligns and corrects the x-th segment of the first text information with the x-th segment of the second text information to obtain the x'th segment, and determines the x'th segment as the final output result; Wherein 1≤i≤n; 1≤x≤n; n is an integer greater than or equal to 3; The first neural network model is an LSTM framework model, and the second neural network model is an RNN framework model; the intelligent robot inputs the original voice data into the first neural network model for voice recognition to obtain the first text information: The main circuit of the intelligent robot receives the input data X of the original voice data at the current time t t ; Get the output value h of LSTM at the previous moment t-1 And the cell output value C t-1 ; The main processing circuit will h t-1 Split into multiple data blocks and distribute to multiple slave circuits, input data X t Broadcast to multiple slave circuits, after receiving the corresponding data block, t Extract the element value corresponding to the data block, calculate the data block and the element value to obtain an intermediate result, send the intermediate result to the main circuit, and the main circuit obtains the product result h based on the intermediate result t-1 *X t ; Based on the product result h t-1 *X t Calculate the output result h at the current time t t , according to the output result h t Determining the text information corresponding to the voice information at the current time t; inputting the original voice data into the second neural network model for voice recognition to obtain the second text information specifically includes: The main circuit receives the input data X of the original voice data at the current time t t ; Get the hidden layer output value S of the previous moment of RNN t-1 ; The main processing circuit extracts the RNN weight data W, and the main processing circuit calculates the input data X t and the hidden layer output value S t-1 The sum is split into multiple data blocks and distributed to multiple slave circuits. The weight data W is broadcast to multiple slave circuits. After the slave circuit receives the corresponding data block, it extracts the element value corresponding to the data block from the weight data W, calculates the data block and the element value to obtain an intermediate result, and sends the intermediate result to the main circuit. The main circuit obtains the hidden layer output value S at the current moment according to the intermediate result. t , the main processing circuit is for this S t Execute the activation operation to get the output result O at the current moment t , according to the output result O t Determine the text information corresponding to the voice information at the current time t.

2. The method according to claim 1, characterized in that The step of aligning and correcting the xth segment of the first text information with the xth segment of the second text information to obtain the x'th segment specifically includes: Align the X1th paragraph of the first text information with the X2th paragraph of the second text information by word, and after the alignment, compare each word one by one. If the words in the X1th paragraph and the X2th paragraph are the same, determine that the word is a word in the x'th paragraph. If the words in the X1th paragraph and the X2th paragraph are different, extract the first confidence rate of the words in the X1th paragraph, extract the second confidence rate of the words in the X2th paragraph, if the first confidence rate is greater than or equal to the second confidence rate, determine that the words in the X1th paragraph are words in the x'th paragraph, if the first confidence rate is less than the second confidence rate, form a phrase with the words in the X1th paragraph and the preceding / following words, and compare the phrase with the determined paragraph in the final output result. If the number of times the phrase appears in the determined paragraph is greater than or equal to the number threshold, determine that the words in the X1th paragraph are words in the x'th paragraph, and if the number of times the phrase appears in the determined paragraph is less than the number threshold, determine that the words in the X2th paragraph are words in the x'th paragraph.

3. A quality improvement system for an intelligent robot, characterized in that: The system comprises: A collection unit, used for collecting original voice data; A processing unit is used to input the original speech data into a first neural network model for speech recognition to obtain first text information; at the same time, input the original speech data into a second neural network model for speech recognition to obtain second text information; divide the first text information into n segments according to punctuation marks, divide the second text information into n segments according to punctuation marks, and compare the n segments of the first text information with the second text information in sequence. If the i-th segment is consistent in the comparison, the i-th segment is determined as the final output result; if the x-th segment is inconsistent in the comparison, the x-th segment of the first text information is aligned and corrected with the x-th segment of the second text information to obtain the x'th segment, and the x'th segment is determined as the final output result; Wherein 1≤i≤n; 1≤x≤n; n is an integer greater than or equal to 3; The first neural network model is an LSTM framework model, and the second neural network model is an RNN framework model; The main circuit of the intelligent robot receives the input data X of the original voice data at the current time t t ; Get the output value h of LSTM at the previous moment t-1 And the cell output value C t-1 ; The main processing circuit will h t-1 Split into multiple data blocks and distribute to multiple slave circuits, input data X t Broadcast to multiple slave circuits, after receiving the corresponding data block, t Extract the element value corresponding to the data block, calculate the data block and the element value to obtain an intermediate result, send the intermediate result to the main circuit, and the main circuit obtains the product result h based on the intermediate result t-1 *X t ; According to the product result h t-1 *X t Calculate the output result h at the current time t t , according to the output result h t Determining the text information corresponding to the voice information at the current time t; inputting the original voice data into the second neural network model for voice recognition to obtain the second text information specifically includes: The main circuit receives the input data X of the original voice data at the current time t t ; Get the hidden layer output value S of the previous moment of RNN t-1 ; The main processing circuit extracts the RNN weight data W, and the main processing circuit calculates the input data X t and the hidden layer output value S t-1 The sum is split into multiple data blocks and distributed to multiple slave circuits. The weight data W is broadcast to multiple slave circuits. After the slave circuit receives the corresponding data block, it extracts the element value corresponding to the data block from the weight data W, calculates the data block and the element value to obtain an intermediate result, and sends the intermediate result to the main circuit. The main circuit obtains the hidden layer output value S at the current moment according to the intermediate result. t , the main processing circuit is for this S t Execute the activation operation to get the output result O at the current moment t , according to the output result O t Determine the text information corresponding to the voice information at the current time t.

4. An intelligent robot, characterized in that: The intelligent robot includes: a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the method as described in any one of claims 1-2.

5. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • A computing device and a board card

    CN109670581A

  • Voice-recognition based interactive method and device, storage medium and electronic equipment

    CN110288995A

  • Artificial intelligence CNN and LSTM neural network voice recognition system

    CN110738984A

  • Computing device and related product

    CN111353591A

  • Neural network compression method, electronic equipment and computer readable medium

    CN111353598A