KR-102963220-B1 - SERVER, DEVICE AND METHOD FOR PROVIDING VOICE RECOGNITION SERVICE
Abstract
A relay server providing a voice recognition service may include a text information transmission unit that transmits text information regarding a voice command of a request terminal received from a voice recognition server to a dialogue server; a response information receiving unit that receives a first response information regarding a voice command including version information of binary data and terminal type information from a dialogue server; a verification unit that, when a response sentence is searched in the cache of the relay server based on the first response information, verifies the content to be included in a second response information regarding a voice command based on terminal type information specified in the searched response sentence and terminal type information included in the first response information; and a response information transmission unit that transmits a second response information including the verified content to a request terminal.
Inventors
- 차재욱
Assignees
- 주식회사 케이티
Dates
- Publication Date
- 20260511
- Application Date
- 20190111
Claims (18)
- In a relay server providing a voice recognition service, A text information transmission unit that transmits text information regarding a voice command of a request terminal received from a voice recognition server to a dialogue server; A response information receiving unit that receives a first response information for the voice command, including version information and terminal type information of binary data corresponding to the text information, for determining whether to update the cache of the relay server from the conversation server; When an answer sentence is retrieved from the cache of the relay server based on the first response information, a verification unit confirming the content to be included in the second response information for the voice command based on terminal type information specified in the retrieved answer sentence and terminal type information included in the first response information; and It includes a response information transmission unit that transmits the second response information, which includes the confirmed content above, to the requesting terminal, and The above terminal type information corresponds to information classified according to the terminal's storage space, and A relay server in which the binary data stored in the cache is updated in rank based on the time stored in the cache and the number of voice conversion calls.
- In Article 1, The above verification unit compares the storage space of terminal type information specified in the above-mentioned searched answer sentence with the storage space of terminal type information included in the above-mentioned first response information, and performs an update on the above-mentioned binary data according to the comparison result, wherein the relay server
- In Article 2, If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is smaller than or equal to the storage space of the terminal type information included in the above-mentioned first response information, The above verification unit requests a new version of binary data corresponding to the first response information from a voice conversion server, receives the new version of binary data from the voice conversion server, and updates the cache with the received new version of binary data, the relay server.
- In Paragraph 3, If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is larger than the storage space of the terminal type information included in the above-mentioned first response information, The above verification unit is a relay server that does not update the binary data and the version information of the binary data for the above-mentioned searched answer sentence.
- In Paragraph 3, If an answer sentence is not found in the cache of the above relay server based on the above first response information, A relay server in which the verification unit requests binary data corresponding to the first response information from the voice conversion server, receives the binary data from the voice conversion server, and stores the received binary data in the cache along with terminal type information of the first response information.
- In Paragraph 3, If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is smaller than or equal to the storage space of the terminal type information included in the above-mentioned first response information, A relay server that transmits a request to the requesting terminal for the existence of the binary data and version information of the binary data stored in the cache of the requesting terminal.
- In Article 4, If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is larger than the storage space of the terminal type information included in the above-mentioned first response information, A relay server in which the above response information transmission unit transmits the second response information, which includes the binary data for the above-searched answer sentence, to the requesting terminal.
- In Article 6, A relay server that, when the response information transmission unit receives version information of binary data stored in the cache of the request terminal from the request terminal, transmits the second response information containing the binary data for the searched answer sentence to the request terminal when the version information of the binary data specified in the searched answer sentence is higher than the version information of the binary data received from the request terminal.
- In a user terminal providing a voice recognition service, A request unit that requests voice recognition for a voice command from a voice recognition server; A text information transmission unit that transmits text information regarding a voice command received from the above-mentioned voice recognition server to a dialogue server; A response information receiving unit that receives a first response information for the voice command, including version information of binary data corresponding to the text information for determining whether to update the cache of the user terminal from the conversation server; A verification unit that, when an answer sentence is retrieved from the cache of the user terminal based on the first response information, confirms the content to be included in the second response information for the voice command based on the version information of the binary data specified in the answer sentence; and It includes a response information output unit that outputs the second response information including the confirmed contents above, and A user terminal that updates the ranking of the binary data of the sentence stored in the cache based on information including the time and the number of searches stored in the cache.
- In Article 9, A user terminal that compares the version information of binary data specified in the searched answer sentence and the version information of binary data included in the first response information, and performs an update on the binary data specified in the searched answer sentence according to the comparison result.
- In Article 10, If the version information of the binary data specified in the above-searched answer sentence is higher than or equal to the version information of the binary data included in the above-mentioned first response information, A user terminal in which the above verification unit does not update the binary data and the version information of the binary data for the above-mentioned searched answer sentence.
- In Article 11, If the version information of the binary data specified in the above-searched answer sentence is lower than the version information of the binary data included in the above-mentioned first response information, A user terminal that requests a new version of binary data corresponding to the first response information from a voice conversion server, receives the new version of binary data from the voice conversion server, and updates the received new version of binary data in the cache.
- In a method of providing a voice recognition service by a relay server, A step of transmitting text information regarding a voice command of a requesting terminal received from a voice recognition server to a dialogue server; A step of receiving a first response information for the voice command, including version information and terminal type information of binary data corresponding to the text information, for determining whether to update the cache of the relay server from the conversation server; When an answer sentence is retrieved from the cache of the relay server based on the first response information, a step of verifying the content to be included in the second response information for the voice command based on terminal type information specified in the retrieved answer sentence and terminal type information included in the first response information; and It includes the step of transmitting the second response information containing the confirmed content to the requesting terminal, The above terminal type information corresponds to information classified according to the terminal's storage space, and A method for providing a voice recognition service, wherein the binary data stored in the cache is updated in rank based on the number of voice conversion calls.
- In Article 13, The above verification step A method for providing a voice recognition service, comprising the step of comparing a storage space of terminal type information specified in the searched answer sentence and a storage space of terminal type information included in the first response information, and performing an update on the binary data according to the comparison result.
- In Article 14, The above verification step If the storage space of the terminal type information specified in the above-searched answer sentence is smaller than or equal to the storage space of the terminal type information included in the above-mentioned first response information, A step of requesting a new version of binary data corresponding to the first response information from a voice conversion server; A step of receiving the new version of binary data from the voice conversion server; and A method for providing a voice recognition service, comprising the step of updating the cache with the received new version of binary data.
- In Article 15, The above verification step If an answer sentence is not found in the cache of the above relay server based on the above first response information, A step of requesting binary data corresponding to the first response information from the voice conversion server; A step of receiving the binary data from the voice conversion server; and A method for providing a voice recognition service, comprising the step of storing the received binary data in the cache along with terminal type information of the first response information.
- In Article 15, The step of transmitting to the above request terminal If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is smaller than or equal to the storage space of the terminal type information included in the above-mentioned first response information, A method for providing a voice recognition service, comprising the step of transmitting a request to the request terminal for the existence of the binary data and version information of the binary data stored in the cache of the request terminal.
- In Article 14, The step of transmitting to the above request terminal If the storage space of the terminal type information specified in the above-mentioned searched answer sentence is larger than the storage space of the terminal type information included in the above-mentioned first response information, A method for providing a voice recognition service, comprising the step of transmitting the second response information, which includes the binary data for the answer sentence retrieved from the cache, to the requesting terminal.
Description
Server, device and method for providing voice recognition service The present invention relates to a server, a terminal, and a method for providing a voice recognition service. PC web browsers include an update function that allows you to update web pages. Through this function, you can set the default cache retention period and configure the criteria for updating web pages. Since AI terminals do not differ from web browsers in their basic internet connection methods, their caching policies are also similar. If data stored in the cache is not updated on an AI terminal, not only is it impossible to determine whether the currently used cache contains the latest data, but it can also affect network traffic. Meanwhile, when examining voice commands received from users or text, audio, and image data provided to users during the process of providing AI services through AI terminals, there are many instances where the same requests are received from users. Artificial intelligence servers providing AI services utilize caching to reduce processing time for user requests or increase system processing capacity. They store data and result data for voice commands entered by users in the cache, and when a request for the same voice command is received from a user, they provide the cached result data to the user through the AI terminal. However, if the AI server intends to provide result data for voice commands requested by multiple AI terminals to multiple AI terminals, a problem arises in which network traffic between the AI server and the multiple AI terminals increases, leading to an increase in the load on the AI server. Meanwhile, using a cache on the AI terminal eliminates the need to receive binary data from the AI server, thereby reducing network traffic between the AI terminal and the AI server, decreasing the network traffic capacity of the AI server, and lowering the load. However, since the AI terminal cannot provide new versions of binary data using only the binary data stored in the cache, the cache must be updated. FIGS. 1a and 1b are configuration diagrams of a voice recognition service system according to an embodiment of the present invention. FIG. 2 is a block diagram of a relay server shown in FIG. 1a according to one embodiment of the present invention. FIG. 3 is a diagram showing first response information for a voice command according to one embodiment of the present invention. FIG. 4 is a diagram showing the cache of a relay server according to one embodiment of the present invention. FIG. 5 is a flowchart illustrating a method for providing a voice recognition service according to an embodiment of the present invention. FIG. 6 is a block diagram of a user terminal shown in FIG. 1b according to an embodiment of the present invention. FIG. 7 is a flowchart illustrating a method for providing a voice recognition service at a user terminal illustrated in FIG. 1b according to an embodiment of the present invention. Embodiments of the present invention are described below with reference to the attached drawings so that those skilled in the art can easily implement the invention. However, the present invention may be embodied in various different forms and is not limited to the embodiments described herein. Furthermore, in order to clearly explain the present invention in the drawings, parts unrelated to the explanation have been omitted, and similar parts throughout the specification are denoted by similar reference numerals. Throughout the specification, when a part is described as being "connected" to another part, this includes not only cases where they are "directly connected," but also cases where they are "electrically connected" with other components interposed between them. Furthermore, when a part is described as "including" a certain component, this means that, unless specifically stated otherwise, it does not exclude other components but may include additional components. In this specification, the term "part" includes a unit realized by hardware, a unit realized by software, and a unit realized using both. Additionally, one unit may be realized using two or more hardware, and two or more units may be realized by one hardware. Some of the operations or functions described in this specification as being performed by a terminal or device may instead be performed by a server connected to said terminal or device. Likewise, some of the operations or functions described as being performed by a server may also be performed by a terminal or device connected to said server. Hereinafter, specific details for implementing the present invention will be described with reference to the attached configuration diagram or process flowchart. FIGS. 1a and 1b are configuration diagrams of a voice recognition service system according to an embodiment of the present invention. Referring to FIG. 1a, the voice recognition service system may include a relay server (100), a user terminal (110), a voice recognition se