CN111128125A - Voice service configuration system and voice service configuration method and device thereof - Google Patents
Voice service configuration system and voice service configuration method and device thereof Download PDFInfo
- Publication number
- CN111128125A CN111128125A CN201911391070.3A CN201911391070A CN111128125A CN 111128125 A CN111128125 A CN 111128125A CN 201911391070 A CN201911391070 A CN 201911391070A CN 111128125 A CN111128125 A CN 111128125A
- Authority
- CN
- China
- Prior art keywords
- voice service
- module
- configuration system
- voice
- registered
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012545 processing Methods 0.000 claims abstract description 44
- 230000006870 function Effects 0.000 claims abstract description 29
- 238000004590 computer program Methods 0.000 claims description 20
- 230000003993 interaction Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/005—Language recognition
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification techniques
- G10L17/22—Interactive procedures; Man-machine interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a voice service configuration system and a voice service configuration method and device thereof. A voice service function interface is arranged in the control module, and the voice service module is dynamically added into the voice service configuration system through the voice service function interface; the configuration module is used for configuring the corresponding voice service module based on the voice service. Based on the system, a voice service module is dynamically configured for the voice service to be executed by the application terminal, then the voice service module executes the data processing operation of the voice service, and the voice service result data obtained after data processing is fed back to the application terminal through the voice service function interface, so that the compatibility problem and the language switching problem among different voice services are solved, and the problem of interaction of various languages in a single language service system is solved.
Description
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a voice service configuration system, and a voice service configuration method and apparatus thereof.
Background
With the development of computer technology and the continuous accumulation of network data, the artificial intelligent robot technology is also developing at a rapid pace. Robot voice service is the most basic service of a robot system, and most robot upper-layer applications depend on the voice service. However, in the prior art, in a multi-language environment, based on the problem of voice service compatibility and the problem of language switching, it is difficult to solve the problem of interaction of various languages through a single language service system.
Disclosure of Invention
In view of this, embodiments of the present application provide a voice service configuration system, a voice service configuration method and a voice service configuration device thereof, which aim to at least solve one of the technical defects that it is difficult to solve the interaction problem of various languages through a single language service system in a multi-language environment in the prior art.
A first aspect of an embodiment of the present application provides a voice service configuration system, where the voice service configuration system includes: the system comprises a control module, a configuration module and at least one voice service module. The control module is internally provided with a voice service function interface, and the voice service module is dynamically added to the voice service configuration system through the voice service function interface; the configuration module is used for configuring the corresponding voice service module based on the voice service.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the voice service function interface is further configured to receive a voice service request and feed back result data of the voice service.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the voice service function interface includes at least one of: the voice recognition interface, the voice broadcast interface and the semantic understanding interface.
A second aspect of an embodiment of the present application provides a voice service configuration method, where the voice service configuration method is applied to the voice service configuration system according to any one of the first aspect, and the voice service configuration method includes:
receiving a voice service request;
responding to the voice service request, and detecting whether a registered voice service module exists in the voice service configuration system;
when the voice service configuration system has a registered voice service module, calling the registered voice service module to execute the data processing operation of the voice service and feed back the result data of the voice service, otherwise, feeding back the request failure information.
With reference to the second aspect, in a first possible implementation manner of the second aspect, when a registered voice service module is provided in the voice service configuration system, the step of invoking the registered voice service module to perform a data processing operation of a voice service and feed back result data of the voice service is further included:
judging whether the voice service configuration system has one registered voice service module or not;
and when the voice service configuration system has one or more registered voice service modules, calling the registered voice service modules to execute data processing operation of the voice service and feeding back result data of the voice service.
With reference to the first possible implementation manner of the second aspect, in a second implementation manner of the second aspect, after the step of determining whether there is and only one registered voice service module in the voice service configuration system, the method further includes:
when more than one registered voice service module in the voice service configuration system, detecting whether the voice service request contains language information to be configured;
and when the voice service request contains the language information to be configured, the configuration module configures the voice service module for the voice service request from the voice service configuration system according to the language information to be configured, otherwise, a default voice service module of the system is called to execute the data processing operation of the voice service and feed back the result data of the voice service.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the step of configuring, by the configuration module, a voice service module for the voice service request from the voice service configuration system according to the language information to be configured includes:
inquiring whether the voice service configuration system contains a voice service module corresponding to the language information to be configured;
and when the voice service configuration system is inquired to contain the voice service module corresponding to the language information to be configured, calling the voice service module corresponding to the language information to be configured to execute the data processing operation of the voice service and feed back result data of the voice service, otherwise, feeding back request failure information.
A third aspect of an embodiment of the present application provides a voice service configuration apparatus, where the voice service configuration apparatus includes:
the receiving module is used for receiving a voice service request;
the processing module is used for responding to the voice service request and detecting whether the voice service configuration system has a registered voice service module;
and the execution module is used for calling the registered voice service module to execute the data processing operation of the voice service and feed back result data of the voice service when the voice service configuration system has the registered voice service module, and otherwise, feeding back request failure information.
A fourth aspect of the embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the voice service configuration method according to any one of the second aspect when executing the computer program.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the voice service configuration method according to any one of the second aspects.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the method and the device, when the application end needs to use the voice service, the voice service request is sent to the voice service configuration system, so that the voice service configuration system dynamically configures a voice service module for the voice service to be executed by the application end, the voice service module executes the data processing operation of the voice service, and voice service result data obtained after data processing are fed back to the application end through the voice service function interface, so that the voice service result data are displayed at the application end, the application end completes the voice service, the problems of compatibility and language switching among different voice services are solved, and the problem of interaction of various languages in a single language service system is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a basic structure of a voice service configuration system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a basic method of a voice service configuration method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a method for invoking a registered voice service module in a voice service configuration method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a method for configuring a voice service module for a voice service request by a configuration module in a voice service configuration method according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating another method for configuring a voice service module for a voice service request by a configuration module in a voice service configuration method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating operation steps performed by the voice service configuration system according to the voice service request according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a voice service configuration apparatus according to an embodiment of the present application;
fig. 8 is a schematic view of an electronic device implementing a voice service configuration method according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
The method and the device provided by the application aim to solve the interaction problem of various languages in a single language service system by sending a voice service request to a voice service configuration system when an application end needs to use the voice service, then dynamically configuring an applicable voice service module for the voice service to be executed by the application end through the voice service configuration system, and executing the data processing operation of the voice service through the voice service module.
In some embodiments of the present application, please refer to fig. 1, and fig. 1 is a schematic diagram illustrating a basic structure of a voice service configuration system according to an embodiment of the present application. The details are as follows:
as shown in fig. 1, the voice service configuration system includes a control module 101, a configuration module 102, and at least one voice service module 103. In this embodiment, the control module 101 is provided with a voice service function interface 1011, and a plurality of different voice service modules can be dynamically added to the voice service configuration system through the voice service function interface, so that the voice service configuration system is compatible with a plurality of types of voice service modules. The configuration module 102 is configured to configure a corresponding matched voice service module 103 for a voice service.
In some embodiments of the present application, the voice service function interface 1011 is further configured to receive a voice service request and feed back result data of the voice service. Specifically, the voice service request sent by the application terminal is received through the voice service function interface, and then the voice service request is analyzed by the configuration module in the voice service configuration system, so as to obtain the configuration information corresponding to the voice service executed by the application terminal, and further, the voice service module correspondingly matched with the voice service is obtained according to the configuration information.
It is understood that in some embodiments of the present application, the voice service function interface 1011 may be configured to include, but is not limited to: the voice recognition interface, the voice broadcast interface and the semantic understanding interface. Therefore, voice services with different data types, such as recognition service, broadcast service, semantic analysis service and the like, can be executed according to different interfaces. The voice recognition service comprises the steps of converting received audio stream data into text data and feeding back the text data; the broadcasting service comprises the steps of converting the received text data into audio stream data and feeding back the audio stream data; the semantic analysis service comprises the steps of reading and analyzing the received audio stream data/text data and feeding back the audio stream data/text data obtained after reading and analyzing
In some embodiments of the present application, please refer to fig. 2, and fig. 2 is a basic method flowchart of a voice service configuration method provided in the embodiments of the present application, where the voice service configuration method is applied to the voice service configuration system provided in the embodiments. The details are as follows:
in step S201, a voice service request is received.
In this embodiment, when an application needs to use a voice service, an application may be submitted to the voice service configuration system by sending a voice service request, so as to request the voice service configuration system to configure a corresponding voice service module for the voice service.
In step S202, in response to the voice service request, it is detected whether the voice service configuration system has a registered voice service module.
In this embodiment, the control module in the voice service configuration system is configured with a voice service function interface, which includes but is not limited to a voice recognition interface, a voice broadcast interface, a semantic understanding interface, and the like. The voice service configuration system can dynamically add various voice service modules for processing different data types through the different voice service function interfaces. The voice service module is used for executing data processing operation of voice service. The voice service module can be dynamically added in a registration mode, namely, the voice service module dynamically added through the voice service function interface is a registered voice service module. Therefore, in this embodiment, after the voice service configuration system receives a voice service request sent by an application, the voice service configuration system responds to the voice service request, and detects a voice service function interface set by a control module of the voice service configuration system, so as to determine whether a registered voice service module is in the system.
In step S203, when the voice service configuration system has a registered voice service module, the registered voice service module is called to execute data processing operation of the voice service and feed back result data of the voice service, otherwise, request failure information is fed back.
In this embodiment, if the voice service configuration system has a registered voice service module, the registered voice service module in the voice service configuration system is called to execute data processing operation of the voice service according to the voice service request, and voice service result data obtained after data processing is fed back to the application terminal through the voice service function interface, so that the voice service result data is displayed at the application terminal, and the application terminal completes the voice service. And if the voice service module is not registered in the voice service configuration system, directly feeding back and calling identification information to the application terminal to remind a user that the current application cannot complete the voice service.
In the voice service configuration method provided by the above embodiment, when the application needs to use the voice service, the voice service configuration system dynamically configures a voice service module for the voice service to be executed by the application by sending the voice service request to the voice service configuration system, the voice service module executes the data processing operation of the voice service, and the voice service result data obtained after data processing is fed back to the application through the voice service function interface, so that the voice service result data is displayed at the application, thereby enabling the application to complete the voice service, overcoming the compatibility problem and the language switching problem between different voice services, and realizing that the interaction problem of various languages can be solved in a single language service system.
In some embodiments of the present application, please refer to fig. 3, and fig. 3 is a schematic flowchart illustrating a method for calling a registered voice service module in a voice service configuration method according to an embodiment of the present application. The details are as follows:
in step S301, it is determined whether there is one or only one registered voice service module in the voice service configuration system;
in step S302, when there is one or only one registered voice service module in the voice service configuration system, the registered voice service module is called to execute the data processing operation of the voice service and feed back the result data of the voice service.
In this embodiment, the voice service configuration system may integrate one or more voice service modules in a dynamic addition manner, and further invoke a voice service module matched with the voice service module according to different voice service scenarios to execute data processing operations of the voice service. In this embodiment, when it is detected that the voice service configuration system has the registered voice service module, it may further determine whether there is one or more registered voice service modules in the voice service configuration system by counting the number of the registered voice service modules in the voice service configuration system. And when detecting that there is only one registered voice service module, calling the only voice service module to execute the data processing operation of the voice service and feeding back the result data of the voice service.
In some embodiments of the present application, if it is detected that more than one registered voice service module in the voice service configuration system is in step S301, the configuration module may further configure a matched voice service module for the voice service request from the voice service configuration system according to the voice service request. Specifically, referring to fig. 4, fig. 4 is a schematic flow chart illustrating a method for configuring a voice service module for a voice service request by a configuration module in a voice service configuration method according to an embodiment of the present application. The details are as follows:
in step S401, when more than one registered voice service module in the voice service configuration system exists, detecting whether the voice service request contains language information to be configured;
in step S402, when the voice service request includes the language information to be configured, the configuration module configures a voice service module for the voice service request from the voice service configuration system according to the language information to be configured, otherwise, a default voice service module of the system is called to execute the data processing operation of the voice service and feed back the result data of the voice service.
In this embodiment, when more than one registered voice service module in the voice service configuration system is detected, it is indicated that a plurality of voice service modules are integrated in the voice service configuration system, and at this time, a specified voice service module may be selected to execute a voice service according to a voice service requirement of an application terminal. In this embodiment, when more than one registered voice service module in the voice service configuration system is detected, the configuration module in the voice service configuration system may parse the voice service request sent by the application terminal to obtain configuration information about the voice service module executing the current voice service from the voice service request, and detect whether the voice service request contains language information to be configured, such as a language type, according to the configuration information to determine a language, such as a chinese language, an english language, or an italian language, to be switched by the voice service module executing the current voice service. When the voice service request contains language information to be configured, such as italian language, the configuration module configures a voice service module which can be switched to italian language from the voice service configuration system for the voice service request according to the language information to be configured, otherwise, a default voice service module of the system is called to execute data processing operation of the voice service and feed back result data of the voice service.
In some embodiments of the present application, please refer to fig. 5, and fig. 5 is a flowchart illustrating another method for configuring a voice service module for a voice service request by a configuration module in a voice service configuration method according to an embodiment of the present application. The details are as follows:
in step S501, it is queried whether the voice service configuration system includes a voice service module corresponding to the language information to be configured;
in step S502, when it is found that the voice service configuration system includes the voice service module corresponding to the language information to be configured, the voice service module corresponding to the language information to be configured is called to execute the data processing operation of the voice service and feed back result data of the voice service, otherwise, request failure information is fed back.
In this embodiment, after a configuration module in the voice service configuration system parses a voice service request sent by the application terminal and obtains configuration information, traversing all registered voice service modules in the voice service configuration system according to the configuration information to query whether the voice service configuration system includes a voice service module corresponding to the language information to be configured, when the voice service configuration system includes the voice service module corresponding to the language information to be configured, calling the voice service module corresponding to the language information to be configured to execute data processing operation of the voice service and feed back result data of the voice service, and otherwise, feeding back request failure information.
In some embodiments of the present application, please refer to fig. 6, and fig. 6 is a flowchart illustrating operation steps performed by the voice service configuration system according to the voice service request according to an embodiment of the present application. The details are as follows:
in step S601, a voice service request is received.
In step S602, it is detected whether a voice service module is registered in the system, if not, a request failure message is fed back and the operation procedure is ended, otherwise, step S603 is executed.
In step S603, it is determined whether there is one or more registered voice service modules in the system, and if so, the voice service module is invoked to perform data processing operations of the voice service and feed back result data of the voice service, otherwise, step S604 is performed. And setting the voice service modules which are only in the system as default voice service modules of the system.
In step S604, it is detected whether the voice service request contains language information to be configured, if not, a default voice service module of the system is called to execute the data processing operation of the voice service and feed back result data of the voice service, otherwise, step S605 is executed.
In step S605, it is queried whether a voice service module corresponding to the language information to be configured is included in the system, if so, the voice service module corresponding to the language information to be configured is called to execute the data processing operation of the voice service and feed back result data of the voice service, otherwise, request failure information is fed back and the operation flow is ended.
In the above embodiment, a plurality of voice service modules may be dynamically integrated in the voice service configuration system, and each voice service module may implement a voice function in a different language. Therefore, the specified voice service module can be dynamically selected according to the configuration information of the developer, and the problem of robot-human-computer interaction in the multi-language environment is simply and efficiently solved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In some embodiments of the present application, please refer to fig. 7, and fig. 7 is a schematic structural diagram of a voice service configuration apparatus according to an embodiment of the present application, which is detailed as follows:
the voice service configuration device comprises: a receiving module 701, a processing module 702, and an executing module 703. The receiving module 701 is configured to receive a voice service request; the processing module 702 is configured to detect whether there is a registered voice service module in the voice service configuration system in response to the voice service request; the execution module 703 is configured to, when the voice service configuration system has a registered voice service module, invoke the registered voice service module to execute data processing operations of the voice service and feed back result data of the voice service, otherwise, feed back request failure information.
The voice service configuration device corresponds to the voice service configuration method one by one.
In some embodiments of the present application, please refer to fig. 8, and fig. 8 is a schematic diagram of an electronic device implementing a voice service configuration method according to an embodiment of the present application. As shown in fig. 8, the electronic apparatus 8 of this embodiment includes: a processor 81, a memory 82 and a computer program 83, e.g. a program, stored in said memory 82 and operable on said processor 81. The steps in the various method embodiments described above are implemented when the computer program 82 is executed by the processor 81. Alternatively, the processor 81 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 83.
Illustratively, the computer program 83 may be partitioned into one or more modules/units that are stored in the memory 82 and executed by the processor 81 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 83 in the electronic device 8. For example, the computer program 83 may be divided into:
the receiving module is used for receiving a voice service request;
the processing module is used for responding to the voice service request and detecting whether the voice service configuration system has a registered voice service module;
and the execution module is used for calling the registered voice service module to execute the data processing operation of the voice service and feed back result data of the voice service when the voice service configuration system has the registered voice service module, and otherwise, feeding back request failure information.
The electronic device may include, but is not limited to, a processor 81, a memory 82. Those skilled in the art will appreciate that fig. 8 is merely an example of an electronic device 8 and does not constitute a limitation of the electronic device 8 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 81 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 82 may be an internal storage unit of the electronic device 8, such as a hard disk or a memory of the electronic device 8. The memory 82 may also be an external storage device of the electronic device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 8. Further, the memory 82 may also include both an internal storage unit and an external storage device of the electronic device 8. The memory 82 is used for storing the computer program and other programs and data required by the electronic device. The memory 82 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A voice service configuration system is characterized by comprising a control module, a configuration module and at least one voice service module. The control module is internally provided with a voice service function interface, and the voice service module is dynamically added to the voice service configuration system through the voice service function interface; the configuration module is used for configuring the corresponding voice service module based on the voice service.
2. The voice service configuration system of claim 1 wherein the voice service function interface is further configured to receive voice service requests and to feed back voice service result data.
3. The voice service configuration system of claim 1 or 2, wherein the voice service function interface comprises at least one of: the voice recognition interface, the voice broadcast interface and the semantic understanding interface.
4. A voice service configuration method, applied in the voice service configuration system according to any one of claims 1-3, comprising:
receiving a voice service request;
responding to the voice service request, and detecting whether a registered voice service module exists in the voice service configuration system;
when the voice service configuration system has a registered voice service module, calling the registered voice service module to execute the data processing operation of the voice service and feed back the result data of the voice service, otherwise, feeding back the request failure information.
5. The voice service configuration method according to claim 4, wherein when the voice service configuration system has a registered voice service module, the step of calling the registered voice service module to perform data processing operation of voice service and feeding back result data of the voice service further comprises:
judging whether the voice service configuration system has one registered voice service module or not;
and when the voice service configuration system has one or more registered voice service modules, calling the registered voice service modules to execute data processing operation of the voice service and feeding back result data of the voice service.
6. The method of claim 5, wherein after the step of determining whether there is and only one registered voice service module in the voice service configuration system, the method further comprises:
when more than one registered voice service module in the voice service configuration system, detecting whether the voice service request contains language information to be configured;
and when the voice service request contains the language information to be configured, the configuration module configures the voice service module for the voice service request from the voice service configuration system according to the language information to be configured, otherwise, a default voice service module of the system is called to execute the data processing operation of the voice service and feed back the result data of the voice service.
7. The method according to claim 6, wherein the step of configuring, by the configuration module, the voice service module for the voice service request from the voice service configuration system according to the language information to be configured comprises:
inquiring whether the voice service configuration system contains a voice service module corresponding to the language information to be configured;
and when the voice service configuration system is inquired to contain the voice service module corresponding to the language information to be configured, calling the voice service module corresponding to the language information to be configured to execute the data processing operation of the voice service and feed back result data of the voice service, otherwise, feeding back request failure information.
8. A voice service configuration apparatus, characterized in that the voice service configuration apparatus comprises:
the receiving module is used for receiving a voice service request;
the processing module is used for responding to the voice service request and detecting whether the voice service configuration system has a registered voice service module;
and the execution module is used for calling the registered voice service module to execute the data processing operation of the voice service and feed back result data of the voice service when the voice service configuration system has the registered voice service module, and otherwise, feeding back request failure information.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the voice service configuration method according to any of claims 4 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the voice service configuration method according to any one of claims 4 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911391070.3A CN111128125A (en) | 2019-12-30 | 2019-12-30 | Voice service configuration system and voice service configuration method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911391070.3A CN111128125A (en) | 2019-12-30 | 2019-12-30 | Voice service configuration system and voice service configuration method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111128125A true CN111128125A (en) | 2020-05-08 |
Family
ID=70504633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911391070.3A Pending CN111128125A (en) | 2019-12-30 | 2019-12-30 | Voice service configuration system and voice service configuration method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111128125A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115640080A (en) * | 2022-10-31 | 2023-01-24 | 成都赛力斯科技有限公司 | Service calling method, system, device and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009300573A (en) * | 2008-06-11 | 2009-12-24 | Nippon Syst Wear Kk | Multi-language speech recognition device and system, and speech switching method and program |
CN104505091A (en) * | 2014-12-26 | 2015-04-08 | 湖南华凯文化创意股份有限公司 | Human-machine voice interaction method and human-machine voice interaction system |
US20150364129A1 (en) * | 2014-06-17 | 2015-12-17 | Google Inc. | Language Identification |
US20160042748A1 (en) * | 2014-08-11 | 2016-02-11 | Rawles Llc | Voice application architecture |
CN105825853A (en) * | 2015-01-07 | 2016-08-03 | 中兴通讯股份有限公司 | Speech recognition device speech switching method and speech recognition device speech switching device |
CN107018228A (en) * | 2016-01-28 | 2017-08-04 | 中兴通讯股份有限公司 | A kind of speech control system, method of speech processing and terminal device |
CN107171874A (en) * | 2017-07-21 | 2017-09-15 | 维沃移动通信有限公司 | A kind of speech engine switching method, mobile terminal and server |
US20180040324A1 (en) * | 2016-08-05 | 2018-02-08 | Sonos, Inc. | Multiple Voice Services |
CN107909999A (en) * | 2017-11-14 | 2018-04-13 | 深圳市可可卓科科技有限公司 | Car networking intelligent response method and system |
CN108461082A (en) * | 2017-02-20 | 2018-08-28 | Lg 电子株式会社 | The method that control executes the artificial intelligence system of more voice processing |
US20180314689A1 (en) * | 2015-12-22 | 2018-11-01 | Sri International | Multi-lingual virtual personal assistant |
CN109360563A (en) * | 2018-12-10 | 2019-02-19 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
CN109817220A (en) * | 2017-11-17 | 2019-05-28 | 阿里巴巴集团控股有限公司 | Audio recognition method, apparatus and system |
-
2019
- 2019-12-30 CN CN201911391070.3A patent/CN111128125A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009300573A (en) * | 2008-06-11 | 2009-12-24 | Nippon Syst Wear Kk | Multi-language speech recognition device and system, and speech switching method and program |
US20150364129A1 (en) * | 2014-06-17 | 2015-12-17 | Google Inc. | Language Identification |
US20160042748A1 (en) * | 2014-08-11 | 2016-02-11 | Rawles Llc | Voice application architecture |
CN107004411A (en) * | 2014-08-11 | 2017-08-01 | 亚马逊技术股份有限公司 | Voice Applications framework |
CN104505091A (en) * | 2014-12-26 | 2015-04-08 | 湖南华凯文化创意股份有限公司 | Human-machine voice interaction method and human-machine voice interaction system |
CN105825853A (en) * | 2015-01-07 | 2016-08-03 | 中兴通讯股份有限公司 | Speech recognition device speech switching method and speech recognition device speech switching device |
US20180314689A1 (en) * | 2015-12-22 | 2018-11-01 | Sri International | Multi-lingual virtual personal assistant |
CN107018228A (en) * | 2016-01-28 | 2017-08-04 | 中兴通讯股份有限公司 | A kind of speech control system, method of speech processing and terminal device |
US20180040324A1 (en) * | 2016-08-05 | 2018-02-08 | Sonos, Inc. | Multiple Voice Services |
CN109791765A (en) * | 2016-08-05 | 2019-05-21 | 搜诺思公司 | Multiple voice services |
CN108461082A (en) * | 2017-02-20 | 2018-08-28 | Lg 电子株式会社 | The method that control executes the artificial intelligence system of more voice processing |
CN107171874A (en) * | 2017-07-21 | 2017-09-15 | 维沃移动通信有限公司 | A kind of speech engine switching method, mobile terminal and server |
CN107909999A (en) * | 2017-11-14 | 2018-04-13 | 深圳市可可卓科科技有限公司 | Car networking intelligent response method and system |
CN109817220A (en) * | 2017-11-17 | 2019-05-28 | 阿里巴巴集团控股有限公司 | Audio recognition method, apparatus and system |
CN109360563A (en) * | 2018-12-10 | 2019-02-19 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115640080A (en) * | 2022-10-31 | 2023-01-24 | 成都赛力斯科技有限公司 | Service calling method, system, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109471653B (en) | Application program updating method, electronic device, server and storage medium | |
CN110601880B (en) | Cloud platform, service processing method, command interface and computer equipment | |
WO2019227641A1 (en) | Application testing method, apparatus, terminal device and medium | |
CN110798380B (en) | Data acquisition method, system, device, test equipment and test server | |
CN110297944B (en) | Distributed XML data processing method and system | |
CN109684008B (en) | Card rendering method, device, terminal and computer readable storage medium | |
CN110297658B (en) | Function component sharing method and device and computer equipment | |
CN107943771B (en) | Response text generation method, device, server and computer readable medium | |
CN114095405B (en) | Vehicle function unit testing method and device, electronic equipment and storage medium | |
CN111246406A (en) | Short message sending method, system, storage medium and terminal equipment | |
CN111813622B (en) | Equipment monitoring method and device | |
CN113094087A (en) | Software configuration method, electronic device and storage medium | |
CN111130828B (en) | Intelligent network distribution method and device and terminal equipment | |
CN111128125A (en) | Voice service configuration system and voice service configuration method and device thereof | |
CN113177015B (en) | Frame header-based serial port communication method and serial port chip | |
CN114138363A (en) | Program data calling method, device, equipment and storage medium | |
CN112241362A (en) | Test method, test device, server and storage medium | |
CN111368549A (en) | Natural language processing method, device and system supporting multiple services | |
CN112818336A (en) | Data access method, data access device and computer readable storage medium | |
CN111147530B (en) | System, switching method, intelligent terminal and storage medium of multi-voice platform | |
CN115358331A (en) | Device type identification method and device, computer readable storage medium and terminal | |
CN111351669A (en) | Fault diagnosis method and device, storage medium and vehicle | |
CN113342553A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN110120899B (en) | Data stream detection method and device, electronic equipment and storage medium | |
CN113051077A (en) | User request processing method and device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |