Intelligent voice call system
By adopting module serial-parallel combination and shared storage space optimization in the intelligent voice calling system, the problem of slow response speed in multi-lingual environments is solved, call data can be processed quickly, and call quality and user experience are improved.
Patent Information
- Application Number
- CN202410924974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing intelligent voice calling systems rely on large artificial intelligence models for speech recognition and speech synthesis functions, which take a long time to process, especially in multilingual environments, resulting in slow response times and affecting call quality and user experience.
An intelligent voice call system is designed. Through the serial and parallel combination of the connection module, speech recognition module, translation module, parsing module, retrieval module and speech synthesis module, multiple units are used to perform tasks simultaneously and the data is optimized through shared storage space. transmission to avoid data copying and resource contention, and achieve rapid processing of call-related data.
It improves the processing speed of multi-lingual smart calls, shortens call response time, improves call quality and user experience, and ensures quick response and efficient data transmission.
Smart Images

Figure CN118488139B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent calling technology, and in particular to an intelligent voice calling system. Background Art
[0002] With the development of artificial intelligence technology, intelligent voice call systems have gradually become popular in scenarios such as telephone promotion and telephone consultation services. The system can act as a caller to call the user, or can act as a called party to receive the user's call request and talk with the user through intelligent voice.
[0003] For intelligent voice call systems, the real-time response of the system during a call with the user determines the quality of the call and the user experience. However, in current intelligent voice call systems, since the speech recognition and speech synthesis functions are mostly applied to large artificial intelligence models, the related processing operations take a long time. In particular, in order to realize intelligent calls for multiple languages, a translation function must be added to the system, which will undoubtedly slow down the response speed.
[0004] Therefore, how to improve the speed at which the intelligent voice call system processes call-related data in order to increase the answering speed during calls, improve call quality and user call experience has become a technical problem that urgently needs to be solved. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides an intelligent voice calling system, which can not only realize multi-language intelligent calls, but also improve the speed of processing call-related data and the answering speed during calls, thereby improving call quality and user call experience.
[0006] The technical solution adopted by the present invention is as follows:
[0007] An intelligent voice call system comprises: a connection module, the connection module is used to establish a call connection with a target call object, receive the uplink voice of the target call object, and send the downlink voice to the target call object, wherein the uplink voice is sent by the user holding the target call object in the user language; a voice recognition module, the voice recognition module is used to recognize the uplink voice received by the connection module into text in the user language; a first translation module, the first translation module is used to translate the text recognized by the voice recognition module into text in a system default language; a parsing module, the parsing module is used to parse the text translated by the first translation module into corresponding semantics; a calling module, the calling module is used to call corresponding text according to the semantics parsed by the parsing module or, calling the corresponding response text according to the timing time, wherein the response text called by the calling module is in the system default language; a second translation module, the second translation module is used to translate the response text called by the calling module into text in the user language; a speech synthesis module, the speech synthesis module is used to convert the text translated by the second translation module into the downlink speech in the user language, wherein at least one of the speech recognition module, the first translation module, the second translation module and the speech synthesis module includes N units, each unit corresponds to a language group, each language group contains at least one language, any two language groups do not contain the same language, and the N units simultaneously perform the tasks of the modules to which they belong, wherein N is an integer greater than 1.
[0008] The connection module, the speech recognition module, the first translation module, the parsing module, the retrieval module, the second translation module and the speech synthesis module are respectively corresponding processors, or the connection module, the speech recognition module, the first translation module, the parsing module, the retrieval module, the second translation module and the speech synthesis module are respectively corresponding processes, and data transmission between modules is realized through a shared storage space. When data transmission is performed between modules, the module that writes data and the module that reads data correspond to one shared storage space.
[0009] The shared storage space includes M subspaces, where M is an integer greater than 1.
[0010] When the module for writing data wants to write data to the shared storage space, the module for writing data is specifically used to: start checking from the first to the Mth subspace in order; when checking to the i-th subspace, determine the lock state of the i-th subspace, where 1≤i≤M, and i is an integer; if it is determined that the i-th subspace is in a locked state, check the i+1th subspace; if it is determined that the i-th subspace is in an unlocked state, lock the i-th subspace, and then determine the storage state of the i-th subspace; if it is determined that the i-th subspace is in an empty state, write data to the i-th subspace, and in the After the writing to the i-th subspace is completed, the i-th subspace is unlocked; if it is determined that the i-th subspace is in a full state, the i-th subspace is unlocked and the i+1-th subspace is checked; if it is determined that the i-th subspace is in a half-stored state, it is determined whether the time from the last time data was written to the i-th subspace exceeds a preset time; if it is determined that it does not exceed the preset time, data is written to the i-th subspace, and the i-th subspace is unlocked after the writing to the i-th subspace is completed; if it is determined that it exceeds the preset time, the i-th subspace is unlocked and the i+1-th subspace is checked.
[0011] When the module for reading data wants to read data from the shared storage space, the module for reading data is specifically used to: start checking from the first to the Mth subspace in order, and when checking to the jth subspace, judge the lock state of the jth subspace, where 1≤j≤M, and j is an integer; if it is determined that the jth subspace is in a locked state, then check the j+1th subspace; if it is determined that the jth subspace is in an unlocked state, then lock the jth subspace, and then judge the storage state of the jth subspace; if it is determined that the jth subspace is in a full state, read data from the jth subspace, and after reading the jth subspace, remove the read data from the The j-th subspace is cleared and the j-th subspace is unlocked; if the j-th subspace is determined to be in an empty state, the j-th subspace is unlocked and the j+1-th subspace is checked; if the j-th subspace is determined to be in a half-stored state, it is determined whether the time from the last time data was written to the j-th subspace exceeds a preset time; if it is determined to exceed the preset time, data is read from the j-th subspace, and after the reading of the j-th subspace is completed, the read data is cleared from the j-th subspace, and the j-th subspace is unlocked; if it is determined that the preset time is not exceeded, the j-th subspace is unlocked and the j+1-th subspace is checked.
[0012] The module that writes data considers that writing to the i-th subspace is completed after all the data to be written to the shared storage space has been written, or the i-th subspace is full. If there is still data to be written to the shared storage space that has not been written after the i-th subspace is full, the i+1-th subspace is checked.
[0013] After reading all the data to be read in the j-th subspace, the data reading module regards the reading of the j-th subspace as completed, and after reading all the data to be read in the j-th subspace, checks the j+1-th subspace.
[0014] The intelligent voice call system also includes: a language determination module. When the connection module establishes a call connection with the target call object but has not yet received the uplink voice of the target call object, the language determination module determines the user language based on the valid identity document information registered by the target call object. After the connection module receives the uplink voice of the target call object, the language determination module determines the language recognized by the voice recognition module as the user language, and the language determination module also transmits the determined user language to the second translation module.
[0015] Beneficial effects of the present invention:
[0016] The present invention performs corresponding tasks respectively through a connection module, a speech recognition module, a first translation module, a parsing module, a calling module, a second translation module, and a speech synthesis module which are connected in a closed loop in sequence, and at least one module simultaneously performs the tasks of its own module through multiple units. Thus, not only multi-language intelligent calls can be realized, but also the tasks are performed in the form of serial and parallel combination of each module, which can increase the speed of processing call-related data and the speed of answering calls, thereby improving call quality and user call experience.
[0017] The present invention avoids copying of data between modules by setting up a shared storage space, can speed up data transmission between modules, further improve the answering speed during calls, and thus further improve call quality and user call experience.
[0018] The present invention divides a shared storage space into multiple subspaces and determines corresponding read-write strategies according to the lock status, storage status, and read-write time of the subspaces. This can avoid resource contention and long-term resource occupation, and enable two modules to write and read data simultaneously, which can further speed up data transmission between modules and further improve the response speed during calls, thereby further improving call quality and user call experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1A block diagram of an intelligent voice calling system according to an embodiment of the present invention;
[0020] Figure 2 The figure is a block diagram of an intelligent voice calling system according to another embodiment of the present invention. DETAILED DESCRIPTION
[0021] 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.
[0022] like Figure 1 As shown, the intelligent voice call system of the embodiment of the present invention includes: a connection module 10, a voice recognition module 20, a first translation module 30, a parsing module 40, a retrieval module 50, a second translation module 60 and a voice synthesis module 70. Among them, the connection module 10 is used to establish a call connection with the target call object, receive the uplink voice of the target call object, and send the downlink voice to the target call object, wherein the uplink voice is issued by the user holding the target call object in the user language; the voice recognition module 20 is used to recognize the uplink voice received by the connection module 10 into text in the user language; the first translation module 30 is used to translate the text recognized by the voice recognition module 20 into text in the system default language; the analysis module 40 is used to parse the text translated by the first translation module 20 into corresponding semantics; the calling module 50 is used to call the corresponding response text according to the semantics analyzed by the analysis module 40, or, call the corresponding response text according to the timing time, wherein the response text called by the calling module 50 is in the system default language; the second translation module 60 is used to translate the response text called by the calling module 50 into text in the user language; the speech synthesis module 70 is used to convert the text translated by the second translation module 60 into downlink voice in the user language. Among them, at least one of the speech recognition module 20, the first translation module 30, the second translation module 60 and the speech synthesis module 70 includes N units, each unit corresponds to a language group, each language group contains at least one language, and any two language groups do not contain the same language. The N units simultaneously perform the tasks of the modules to which they belong, wherein N is an integer greater than 1.
[0023] In one embodiment of the present invention, the target call object refers to a terminal, such as a mobile terminal, that establishes a call connection with the intelligent voice call system through the connection module 10. When the intelligent voice call system is the caller, the target call object is the called party; when the target call object is the caller, the intelligent voice call system is the called party. At the same time, the target call object that establishes a call connection with the intelligent voice call system can be one or more. If there are multiple target call objects that establish a call connection with the intelligent voice call system at the same time, then each module performs the above functions for each target call object.
[0024] In one embodiment of the present invention, uplink voice and downlink voice are used to distinguish voices in two transmission directions, that is, uplink voice is transmitted from the target call object to the intelligent voice call system, and downlink voice is transmitted from the intelligent voice call system to the target call object.
[0025] In one embodiment of the present invention, the voice sent by the target call object, or the voice received by the connection module 10, can be any one of a plurality of languages, and of course, can also be a mixture of any two or more languages. The plurality of languages can include Chinese and various international languages, as well as domestic minority languages, or can also include dialects. The voice sent by the target call object is sent by the user holding the target call object, and the corresponding language is referred to as the user language in the embodiment of the present invention. The text recognized by the speech recognition module 20 based on the uplink voice received by the connection module 10 is the text of the actual user language corresponding to the uplink voice.
[0026] In one embodiment of the present invention, the system default language is a language suitable for processing by the parsing module 40 and the retrieval module 50, such as Chinese or English.
[0027] In one embodiment of the present invention, the calling module 50 may store a first speech template containing the correspondence between the other party's semantics and the one's own response speech. After the parsing module 40 parses the semantics of the voice issued by the user, the calling module 50 may directly call the corresponding response text from the first speech template. In an embodiment of the present invention, in addition to answering based on the voice issued by the user, the intelligent voice call system may also actively send voice to the user according to actual conditions. Therefore, in one embodiment of the present invention, the calling module 50 may also store a second speech template containing the correspondence between the timing time and the one's own response speech. If the timing time reaches the set time from a certain timing start condition to a certain timing end condition, the calling module 50 may call the corresponding response text from the second speech template. For example, when the intelligent voice call system is the called party, the message "Hello! This is xx company, we are happy to serve you! What do you need?" can be called from the first time that a call connection is established between the connection module 10 and the target call object (the timing start condition is the establishment of the connection, and the setting time is 0); when the intelligent voice call system and the target call object are talking normally, the message "Hello! Are you still listening?" can be called when the uplink voice of the target call object is not received within a preset time threshold after the downlink voice is sent (the timing start condition is the completion of sending the current downlink voice, the timing end condition is the reception of the uplink voice, and the setting time is the preset time threshold).
[0028] Furthermore, if Figure 2 As shown, the intelligent voice call system of the embodiment of the present invention may further include a language determination module 80. When the connection module 10 establishes a call connection with the target call object but has not yet received the uplink voice of the target call object, the language determination module 80 may determine the user language according to the valid identity document information registered by the target call object. After the connection module 10 receives the uplink voice of the target call object, the language determination module 80 determines the language recognized by the voice recognition module 20 as the user language, and the language determination module 80 also transmits the determined user language to the second translation module 60.
[0029] In one embodiment of the present invention, the valid identification document information registered by the target call object can be from an identification card or a passport. If it is a passport, the language determination module 80 can determine the user language as English. If it is an identification card, the language determination module 80 can first determine the ethnic language area or dialect area to which the user's registration location belongs based on the address code in the identification card number, and then determine the user language as the corresponding Chinese, minority language or dialect. The language determination module 80 determines the user language based on the valid identification document information registered by the target call object and sends it to the second translation module 60. It is particularly suitable for scenarios where the intelligent voice call system needs to take the initiative to speak when being called. After receiving the uplink voice of the target call object, the language recognized by the voice recognition module 20 can be sent to the second translation module 60 to adjust the downlink voice sent to the target call object to the language used by the user.
[0030] In one embodiment of the present invention, the connection module 10, the speech recognition module 20, the first translation module 30, the parsing module 40, the retrieval module 50, the second translation module 60 and the speech synthesis module 70 are respectively corresponding processors, or the connection module 10, the speech recognition module 20, the first translation module 30, the parsing module 40, the retrieval module 50, the second translation module 60 and the speech synthesis module 70 are respectively corresponding processes. The N units of the module can be implemented in the form of N threads.
[0031] In one embodiment of the present invention, the speech recognition module 20, the first translation module 30, the second translation module 60 and the speech synthesis module 70 can all perform their tasks through the corresponding artificial intelligence large model. For a module including N units, the tasks of the module are simultaneously performed by N machine learning models, and the N machine learning models are respectively trained by a corresponding language group, and are suitable for performing the tasks corresponding to the language group. Taking the speech recognition module 20 as an example, it includes 5 units, and each unit can recognize the input speech into corresponding text through a corresponding speech recognition model. Assuming that each speech recognition model can recognize 30 corresponding languages, the entire speech recognition module 20 can recognize 150 languages. If any one of the 150 languages is input into 5 speech recognition models at the same time, then a certain speech recognition model can output the recognition result. Since each speech recognition model only corresponds to recognizing 30 languages, the recognition speed is undoubtedly higher than the speech recognition model that can recognize 150 languages. That is to say, the embodiments of the present invention can reduce the size of the machine learning model by grouping the targeted languages and dividing the module into multiple units to respectively process the corresponding language groups, thereby improving the speed of module task execution and meeting the comprehensive processing requirements of all languages.
[0032] In particular, if the speech emitted by the target call object is a mixture of any two or more languages, and the two or more languages are to be recognized by different speech recognition models, the recognition results of multiple speech recognition models can be spliced to obtain the corresponding text mixed with multiple languages.
[0033] In a preferred embodiment of the present invention, the speech recognition module 20, the first translation module 30, the second translation module 60 and the speech synthesis module 70 each include a plurality of units. In this case, each two modules include N units, where N can be the same or different.
[0034] According to the intelligent voice call system of the embodiment of the present invention, the connection module, voice recognition module, first translation module, parsing module, calling module, second translation module and voice synthesis module which are connected in a closed loop in sequence respectively perform corresponding tasks, and at least one module simultaneously performs the tasks of its own module through multiple units. Therefore, not only can multi-language intelligent calls be realized, but also the tasks are performed in the form of serial and parallel combination of each module, which can improve the speed of processing call-related data and the speed of answering calls, thereby improving call quality and user call experience.
[0035] Furthermore, in an embodiment of the present invention, data transmission between modules is implemented through a shared storage space. When data transmission is performed between modules, a module that writes data and a module that reads data correspond to one shared storage space. That is to say, the connection module 10 serves as a module for writing uplink voice data, and the voice recognition module 20 serves as a module for reading uplink voice data, and they share a shared storage space; the voice recognition module 20 serves as a module for writing recognized text data, and the first translation module 30 serves as a module for reading recognized text data, and they share a shared storage space; the first translation module 30 serves as a module for writing translated text data, and the parsing module 40 serves as a module for reading translated text data, and they share a shared storage space; the parsing module 40 serves as a module for writing semantic data, and the retrieval module 50 serves as a module for reading semantic data, and they share a shared storage space; the retrieval module 50 serves as a module for writing response text data, and the second translation module 60 serves as a module for reading response text data, and they share a shared storage space; the second translation module 60 serves as a module for writing translated text data, and the voice synthesis module 70 serves as a module for reading translated text data, and they share a shared storage space; the voice synthesis module 70 serves as a module for writing downlink voice data, and the connection module 10 serves as a module for reading downlink voice data, and they share a shared storage space.
[0036] The setting of shared storage space avoids the copying of data between modules, which can speed up the data transmission between modules and further improve the answering speed during calls, thereby further improving the call quality and user call experience.
[0037] If two modules can write data and read data at the same time, the data transmission between modules can be further accelerated. However, when two modules use their shared storage space at the same time, there will be a situation of read-write contention resources.
[0038] To solve this problem and enable two modules to write and read data simultaneously, the embodiment of the present invention further proposes a strategy for coordinating reading and writing of multiple storage subspaces.
[0039] Specifically, in one embodiment of the present invention, the shared storage space includes M subspaces, where M is an integer greater than 1.
[0040] When the module for writing data wants to write data to the shared storage space, the module for writing data is specifically used to: start checking from the first to the Mth subspace in order; when checking to the i-th subspace, determine the lock state of the i-th subspace, where 1≤i≤M, and i is an integer; if it is determined that the i-th subspace is in a locked state, check the i+1-th subspace; if it is determined that the i-th subspace is in an unlocked state, lock the i-th subspace, and then determine the storage state of the i-th subspace; if it is determined that the i-th subspace is in an empty state, write data to the i-th subspace , and unlock the i-th subspace after writing to the i-th subspace is completed; if the i-th subspace is determined to be in a full state, unlock the i-th subspace and check the i+1-th subspace; if the i-th subspace is determined to be in a half-stored state, determine whether the time from the last time data was written to the i-th subspace exceeds a preset time; if it is determined that it does not exceed the preset time, write data to the i-th subspace, and unlock the i-th subspace after writing to the i-th subspace is completed; if it is determined that it exceeds the preset time, unlock the i-th subspace and check the i+1-th subspace.
[0041] When the data reading module wants to read data from the shared storage space, the data reading module is specifically used to: start checking from the first to the Mth subspace in order, and when checking to the jth subspace, determine the lock state of the jth subspace, where 1≤j≤M, and j is an integer; if it is determined that the jth subspace is in a locked state, then check the j+1th subspace; if it is determined that the jth subspace is in an unlocked state, then lock the jth subspace, and then determine the storage state of the jth subspace; if it is determined that the jth subspace is full, read data from the jth subspace, and after completing the reading of the jth subspace, read the data. The data in the j-th subspace is cleared from the j-th subspace, and the j-th subspace is unlocked; if the j-th subspace is determined to be in an empty state, the j-th subspace is unlocked, and the j+1-th subspace is checked; if the j-th subspace is determined to be in a half-stored state, it is determined whether the time from the last time data was written to the j-th subspace exceeds a preset time; if it is determined to be longer than the preset time, data is read from the j-th subspace, and after the reading of the j-th subspace is completed, the read data is cleared from the j-th subspace, and the j-th subspace is unlocked; if it is determined to be within the preset time, the j-th subspace is unlocked, and the j+1-th subspace is checked.
[0042] When a module applies a subspace, the subspace will be locked. Therefore, the locked state of a subspace means that the subspace is in the process of writing or reading data (including executing writing, reading actions, or in the preparation stage, etc.), and other modules cannot apply the subspace temporarily. The unlocked state of a subspace means that the subspace is idle, and any module can apply the subspace at any time to write data to or read data from the subspace.
[0043] The half-stored state of a subspace means that the subspace has stored the written data but is not yet full.
[0044] The module that writes data considers that the writing to the i-th subspace is completed after all the data to be written to the shared storage space is completed, or the i-th subspace is full. If there is still data to be written to the shared storage space after the i-th subspace is full, the i+1-th subspace is checked. If all the data to be written to the shared storage space is completed, the next subspace is not checked.
[0045] After the module reading data has read all the data to be read in the jth subspace, it is considered that the reading of the jth subspace is completed. After reading all the data to be read in the jth subspace, the j+1th subspace is checked.
[0046] The embodiment of the present invention divides a shared storage space into multiple sub-spaces, and determines corresponding read-write strategies according to the lock status, storage status, and data writing time of the sub-spaces. Thus, it is possible to avoid resource contention and long-term resource occupation, and realize that two modules can write and read data at the same time, which can further speed up data transmission between modules and further improve the response speed during calls, thereby further improving call quality and user call experience.
[0047] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0048] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0050] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0051] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0052] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0053] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0054] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0055] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0056] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. An intelligent voice calling system, characterized in that: include: A connection module, the connection module is used to establish a call connection with a target call object, receive an uplink voice of the target call object, and send a downlink voice to the target call object, wherein the uplink voice is sent by a user holding the target call object in a user language; a speech recognition module, the speech recognition module being used to recognize the uplink speech received by the connection module into text in the user language; A first translation module, the first translation module is used to translate the text recognized by the speech recognition module into text in a system default language; A parsing module, the parsing module is used to parse the text translated by the first translation module to obtain corresponding semantics; A calling module, the calling module is used to call the corresponding response text according to the semantics parsed by the parsing module, or to call the corresponding response text according to the timing time, wherein the response text called by the calling module is the system default language; A second translation module, the second translation module is used to translate the response text retrieved by the retrieval module into text in the user language; a speech synthesis module, the speech synthesis module being used to convert the text translated by the second translation module into the downlink speech in the user language, At least one of the speech recognition module, the first translation module, the second translation module and the speech synthesis module includes N units, each unit corresponds to a language group, each language group contains at least one language, and any two language groups do not contain the same language. The N units simultaneously perform tasks of the modules to which they belong, wherein N is an integer greater than 1. The connection module, the speech recognition module, the first translation module, the parsing module, the retrieval module, the second translation module and the speech synthesis module are respectively corresponding processors, or the connection module, the speech recognition module, the first translation module, the parsing module, the retrieval module, the second translation module and the speech synthesis module are respectively corresponding processes, and data transmission between modules is realized through a shared storage space. When data transmission is performed between modules, a module that writes data and a module that reads data correspond to one shared storage space, and the shared storage space includes M subspaces, wherein M is an integer greater than 1. When the module for writing data wants to write data to the shared storage space, the module for writing data is specifically used to: start checking from the first to the Mth subspace in order; when checking to the i-th subspace, determine the lock state of the i-th subspace, where 1≤i≤M, and i is an integer; if it is determined that the i-th subspace is in a locked state, check the i+1th subspace; if it is determined that the i-th subspace is in an unlocked state, lock the i-th subspace, and then determine the storage state of the i-th subspace; if it is determined that the i-th subspace is in an empty state, write data to the i-th subspace, and in the After the writing of the i-th subspace is completed, the i-th subspace is unlocked; if it is determined that the i-th subspace is in a full state, the i-th subspace is unlocked and the i+1-th subspace is checked; if it is determined that the i-th subspace is in a half-stored state, it is determined whether the time from the last time data was written to the i-th subspace exceeds a preset time; if it is determined that it does not exceed the preset time, data is written to the i-th subspace, and the i-th subspace is unlocked after the writing of the i-th subspace is completed; if it is determined that it exceeds the preset time, the i-th subspace is unlocked and the i+1-th subspace is checked, When the module for reading data wants to read data from the shared storage space, the module for reading data is specifically used to: start checking from the first to the Mth subspace in order, and when checking to the jth subspace, judge the lock state of the jth subspace, where 1≤j≤M, and j is an integer; if it is determined that the jth subspace is in a locked state, then check the j+1th subspace; if it is determined that the jth subspace is in an unlocked state, then lock the jth subspace, and then judge the storage state of the jth subspace; if it is determined that the jth subspace is in a full state, read data from the jth subspace, and after reading the jth subspace, remove the read data from the The j-th subspace is cleared and the j-th subspace is unlocked; if the j-th subspace is determined to be in an empty state, the j-th subspace is unlocked and the j+1-th subspace is checked; if the j-th subspace is determined to be in a half-stored state, it is determined whether the time from the last time data was written to the j-th subspace exceeds a preset time; if it is determined to exceed the preset time, data is read from the j-th subspace, and after the reading of the j-th subspace is completed, the read data is cleared from the j-th subspace, and the j-th subspace is unlocked; if it is determined that the preset time is not exceeded, the j-th subspace is unlocked and the j+1-th subspace is checked. The intelligent voice call system also includes: a language determination module. When the connection module establishes a call connection with the target call object but has not yet received the uplink voice of the target call object, the language determination module determines the user language based on the valid identity document information registered by the target call object. After the connection module receives the uplink voice of the target call object, the language determination module determines the language recognized by the voice recognition module as the user language, and the language determination module also transmits the determined user language to the second translation module.
2. The intelligent voice calling system according to claim 1, characterized in that: The module that writes data considers that writing to the i-th subspace is completed after all the data to be written to the shared storage space is completed, or the i-th subspace is fully written. If, after the i-th subspace is fully written, there is still data to be written into the shared storage space that has not been written, then the i+1-th subspace is checked.
3. The intelligent voice calling system according to claim 1, characterized in that: After reading all the data to be read in the j-th subspace, the data reading module regards the reading of the j-th subspace as completed, and after reading all the data to be read in the j-th subspace, checks the j+1-th subspace.
