Abstract:
A method, apparatus and system can accomplish the function of text-to-speech conversion using the H.248 protocol. The method includes defining the H.248 protocol extended packet by the media resource control device to make the H.248 message carry the extended packet parameter which includes the associated information of the text string, indicating the media resource processing device to execute the text-to-speech processing which correspond to the parameter, and the media resource processing device executing the text-to-speech processing based on the above message, and feeding the text-to-speech processing result back to the media resource control device.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application is a continuation of International Application No. PCT/CN2006/002806, filed Oct. 20, 2006. This application claims the benefit of Chinese Application No. 200510114277.8, filed Oct. 21, 2005. The disclosures of the above applications are incorporated herein by reference. 
     
    
     FIELD 
       [0002]    The present disclosure relates to information processing technology, and in particular, to a method, device and system for implementing the function of text to speech conversion. 
       BACKGROUND 
       [0003]    The statements in this section merely provide background information related to the present disclosure and may not constitute prior art. 
         [0004]    The Text to Speech (TTS) technology is a technology adapted to convert Text to Speech and involves many fields such as acoustics, glossology, Digital Signal Processing (DSP) and computer science. The main problem to be solved by the TTS technology is how to convert text information into audible sound information, which is essentially different from the conventional speech playback technology. The conventional sound playback device (system), such as a tape recorder, is adapted to playback a pre-recorded speech to implement the so-called “machine speaking”. Many constraints exist in the conventional sound playback technology in the content, storage, transmission, convenience and real time. However, the TTS technology implemented through the computer may convert any text into speech with a high naturalness, thus enabling a machine to speak like a man. 
         [0005]    In order to synthesize high quality speech, the TTS system is required to have a good understanding of the content of the text in addition to the dependence on various rules including the semantics rule, vocabulary rule and the phonetics rule. Therefore, the understanding of the natural language is also involved.  FIG. 1  is a schematic diagram illustrating a complete TTS system. During the procedure of text to speech, a character sequence is first converted into a phoneme sequence and then the speech waveform is generated on the basis of the phoneme sequence by the system. The linguistics processing, such as the word segmentation and the grapheme-phoneme conversion, and a set of rhythm control rule are involved. In addition, an advanced speech synthesis technique is needed to generate a high quality speech stream in real time as required. Hence, in general, a complex conversion program is required in the TTS system for converting the character sequence to the phoneme sequence. 
         [0006]    The TTS technology is a critical speech technology. A convenient and friendly man-machine interactive interface may be provided by using the TTS technology to convert the text information to the machine-synthesized speech. In the application system such as the telephone and embedded speech, the applicability range and the flexibility of the system are improved. 
         [0007]    In the existing network system, there are generally two methods for an application server to play a prompt tone to a user. 
         [0008]    The first method is to directly play a record. For example, when a user fails to call another user, the system prompts the user that “The subscriber you called is out of service”. This piece of prompt tone is pre-recorded and is stored on the server. Such a method has been provided in the H.248 protocol. 
         [0009]    The second method is to use the TTS function. When a user call is failed, the system converts the text “The subscriber you called is out of service” to a speech and output the speech to the user. 
         [0010]    The use of the TTS has the following advantages. 
         [0011]    It is relatively easy to make modification. Only the text needs to be modified while there is no need to perform re-recording. 
         [0012]    A more personalized prompt tone, such as a male voice, female voice and neutral voice, may be played as required by users. 
         [0013]    The second method as described above has not been defined in the H.248 protocol, and the TTS function is required to be used in the media resource application environment. 
       SUMMARY 
       [0014]    Various embodiments of the present disclosure provide a method, device and system for implementing Text to Speech (TTS), so that the media processing system may convert the text to the speech and provide related speech services. 
         [0015]    An embodiment of the present disclosure provides a method for implementing the TTS function by extending the H.248 protocol, and the method includes: 
         [0016]    receiving, by a media resource processing device, an H.248 message carrying a TTS instruction and related parameters sent from a media resource control device; and
       performing, by the media resource processing device, the TTS according to the parameters in the message and feeding back a result of TTS to the media resource control device.       
 
         [0018]    The related parameters include information related to a text string, and the media resource processing device performs the TTS on the text string according to the information related to the text string. 
         [0019]    The information related to the text string is a text string which may be pronounced correctly, and the media resource processing device directly extracts the text string in response to the receiving of the information related to the text string and performs the TTS. 
         [0020]    In various embodiments, the text string is prestored in the media resource processing device or an external server in the form of a file. 
         [0021]    The information related to the text string includes a text string file ID and storage location information, so that the media resource processing device may read the text string file locally or from the external server and put the text string file into a cache according to the storage location information and perform the TTS after receiving the information related to the text string. 
         [0022]    The information related to the text string is a combination of the text string and text string file information including the text string file ID and storage location information, in which the text string file information and the text string are combined into a continue text string and a key word is added before the text string file ID to indicate that the text string file is introduced. 
         [0023]    In various embodiments, the media resource processing device combines and caches the text string which is read locally or is read from the external server with the text string carried in the H.248 message in response to the receiving of the text string file information, and then performs the TTS. 
         [0024]    The related parameters include: 
         [0025]    a parameter instructing to read the text string file; in response to a command instructing to prefetch the file, a corresponding file is read from a remote server and is cached locally, otherwise, the file is read when the command is executed; and/or a parameter indicating a time length for caching the file, adapted to set the time length for locally caching the read file. 
         [0026]    The information related to the text string includes a combination of the text string and a record file ID, and a key word is added before the record file ID to indicate that the record file is introduced, and the media resource processing device performs the TTS on the text string in response to the receiving of the information related to the text string and combines a speech output after the TTS with the record file into a speech segment. 
         [0027]    The information related to the text string includes a combination of the text string file information including the text string file ID and the storage location information and the record file ID, and a key word is added before the record file ID to indicate that the record file is introduced; in response to the receiving of the information related to the text string, the media resource processing device reads the text string locally or from the external server according to the storage location information and caches the text string, and then performs the TTS on the read text string and combines a speech output after the TTS with the record file into a speech segment. 
         [0028]    In various embodiments, the H.248 message further carries parameters related to voice attribute of a speech output after the TTS, and the related parameters include: language type, voice gender, voice age, voice speed, volume, tone, pronunciation for special words, break, accentuation and whether the TTS is paused when the user inputs something. The media resource processing device sets corresponding attributes for an output speech in response to the receiving of the related parameters. 
         [0029]    In various embodiments, the media resource processing device feeds back an error code corresponding to an abnormal event to the media resource control device when the abnormal event is detected. 
         [0030]    The media resource control device controls the TTS during the process in which the media resource processing device performs the TTS, including: 
         [0031]    pausing playing to the user the speech obtained from the TTS; and/or 
         [0032]    resuming the playing from a pause state; and/or 
         [0033]    stopping related operations by the user when the TTS is finished. 
         [0034]    In various embodiments, control of the TTS by the media resource control device includes fast forward playing or fast backward playing, in which the fast forward playing includes fast forward jumping several characters, sentences or paragraphs, or fast forward jumping several seconds, or fast forward jumping several voice units; and the fast backward playing includes fast backward jumping several characters, sentences or paragraphs, or fast backward jumping several seconds, and fast backward jumping several voice units. 
         [0035]    In various embodiments, controlling the TTS by the media resource control device includes: 
         [0036]    restarting the TTS and reconfiguring the TTS parameters including tone, volume, voice speed, voice gender, voice age, accentuation position, break position and time length as required; or 
         [0037]    repeating playing current sentence, paragraph or the whole text. 
         [0038]    Controlling the TTS by the media resource control device further includes canceling the repeated play of current sentence, paragraph or the whole text. 
         [0039]    An embodiment of the present disclosure further provides a media resource processing device including: 
         [0040]    an information obtaining unit, adapted to obtain control information including a text string to be recognized and control parameters sent from a media resource control device; 
         [0041]    a TTS unit, adapted to convert the text string in the control information into a speech signal; and 
         [0042]    a sending unit, adapted to send the speech signal to the media resource control device. 
         [0043]    In various embodiments, the device further includes: 
         [0044]    a file obtaining unit, adapted to obtain a text string file and send the text string file to the TTS unit; 
         [0045]    a record obtaining unit, adapted to obtain a record file; and 
         [0046]    a combining unit, adapted to combine the speech signal output from the TTS unit with the record file to form a new speech signal and send the new speech signal to the sending unit. 
         [0047]    An embodiment of the present disclosure provides a system for implementing the TTS function, and the system includes: 
         [0048]    a media resource control device, adapted to extend H.248 protocol and send an H.248 message carrying an instruction and related parameters to a media resource processing device so as to control the media resource processing device to perform the TTS; 
         [0049]    the media resource processing device, adapted to receive the H.248 message carrying a TTS instruction and the related parameters, perform the TTS according to the related parameters and feed back a result of TTS to the media resource control device. 
         [0050]    The media resource processing device includes a TTS unit adapted to convert a text string to a speech signal. 
         [0051]    The related parameters include information related to the text string. The media resource processing device performs the TTS on the text string according to the information related to the text string. 
         [0052]    The information related to the text string is a text string which may be pronounced correctly. The media resource processing device directly extracts the text string in response to the receiving of the information related to the text string and performs the TTS. 
         [0053]    The text string is prestored in the media resource processing device or an external server in the form of a file, and the information related to the text string includes a text string ID and storage location information. In response to the receiving of the information related to the text string, the media resource processing device reads the text string file locally or from the external server according to the storage location information, puts the text string file into a cache, and performs the TTS. 
         [0054]    The information related to the text string includes a combination of the text string and a record file ID, and a key word is added before the record file ID to indicate that the record file is introduced; in response to the receiving of the combination, the media resource processing device performs the TTS on the text string and combines a speech which is output after the TTS with the record file into a speech segment. 
         [0055]    In summary, according to various embodiments of the present disclosure, by extending the H.248 protocol, extended package parameters including the information related to the text string may be carried in the H.248 message, the media resource processing device may be instructed and controlled to perform the TTS according to the extended package parameters, and the result of TTS may be fed back to the media resource control device. According to various embodiments of the present disclosure, service applications related to the TTS may be provided to the user in the media resource application in the mobile network or the fixed network. For example, contents of a webpage can be converted into a speech and the speech may be played for the user. Meanwhile, when it is to be modified, only the text needs to be modified while there is no need to perform re-recording, and a more personalized announcement can be played as required by the user. 
         [0056]    Further areas of applicability will become apparent from the description provided herein. It should be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. 
     
    
     
       DRAWINGS 
         [0057]    The drawings described herein are for illustration purposes only and are not intended to limit the scope of the present disclosure in any way. 
           [0058]      FIG. 1  is a schematic diagram illustrating the principle of implementing the TTS in the prior art; 
           [0059]      FIG. 2  is a schematic diagram illustrating the network architecture for processing a media resource service in a WCDMA IP multimedia system in the prior art; 
           [0060]      FIG. 3  is a schematic diagram illustrating the network architecture for processing a media resource service in a fixed softswitch network in the prior art; 
           [0061]      FIG. 4  is a flow chart illustrating the method for implementing the TTS according to an embodiment of the present disclosure; and 
           [0062]      FIG. 5  is a schematic diagram illustrating the architecture of the device for implementing the TTS according to an embodiment of the present disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0063]    The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses. 
         [0064]      FIG. 2  is a schematic diagram illustrating the network architecture for processing media resource service in a WCDMA IMS network in the prior art. The application server  1  is adapted to process various services, such as playing announcement to a user, receiving numbers, meeting and recording. The service call session control device  2  is adapted to process routing, forward a message sent by the application server  1  to the media resource control device  3 , or route a message sent by the media resource control device  3  to the application server  1 . The media resource control device  3  is adapted to control media resources, select a corresponding media resource processing device  4  and control the processing of the media resources according to the requirement of the application server  1 . The media resource processing device  4  is adapted to process the media resources, and complete the processing of the media resources issued by the application server  1  under the control of the media resource control device  3 . 
         [0065]    The interfaces employed among the application server  1 , the service call session control device  2  and the media resource control device  3  use SIP protocol and XML protocol, or SIP protocol and a protocol similar to XML (for example, VXML). The interface employed between the media resource control device  3  and the media resource processing device  4  is an Mp interface and uses H.248 protocol. The external interface of the media resource processing device  4  is an Mb interface using RTP protocol for carrying a user media stream. 
         [0066]      FIG. 3  is a schematic diagram illustrating the network architecture for processing media resource service in a fixed softswitch network in related art. Function of the Media Resource Server (MRS) is similar to that of the media resource control device  3  and media resource processing device  4  in the WCDMA IMS network, function of the application server is similar to that of the application server  1  and service call session control device  2  in the WCDMA IMS network, and the function of the softswitch device is substantially similar to that of the application server  1 . 
         [0067]    The method for implementing the TTS via H.248 protocol according to the disclosure may be applied to process media resources in the WCDMA IMS network shown in  FIG. 2  or the fixed softswitch network shown in  FIG. 3 . Similarly, the method may also be applied to other networks, for example, the CDMA network and fixed IMS network in which the architecture and service process flow of the media resource application scenario are basically similar to those of the WCDMA IMS network, and the WCDMA and CDMA circuit softswitch network in which the media resource application architecture and service process flow are basically similar to those of the fixed softswitch network. In other words, the disclosure may be applied to all the cases in which a media resource-related device is controlled via H.248 protocol to implement the TTS function. 
         [0068]    The method for implementing the TTS function via H.248 protocol according to the disclosure will now be illustrated by taking the case in which the method is applied to WCDMA IMS for example, in conjunction with the drawings. 
         [0069]    Herein, because various embodiments of the disclosure relate to the processing procedure between the media resource control device  3  and media resource processing device  4  shown in  FIG. 2  while other processes are similar to those in the existing WCDMA IMS network, for simplification, only the processing procedure between media resource control device  3  and media resource processing device  4  will be described. 
         [0070]      FIG. 4  is a flow chart illustrating the control and processing of media resources by the media resource control device  3  and media resource processing device  4 . 
         [0071]    Step  1 : The media resource control device  3  sends a TTS instruction to the media resource processing device  4 . 
         [0072]    Specifically, an H.248 message carries an extended package parameter which is defined through the H.248 protocol extended package, so that the media resource control device  3  instruct the media resource processing device  4  to perform the TTS. The H.248 protocol package is defined as follows: 
         [0000]    
       
         
               
               
             
           
               
                   
               
             
             
               
                 Package Name 
                 TTS package 
               
               
                 PackageID 
                 TTSp (0x??) 
               
               
                 Description 
                 Omitted, refer to the description of the solution below 
               
               
                 Version 
                 1 
               
               
                 Extends 
                 Null 
               
               
                   
               
             
          
         
       
     
         [0073]    1. Properties 
         [0074]    Null 
         [0075]    2. Events 
         [0076]    Refer to the definition in the part of “event” below. 
         [0077]    3. Signals 
         [0078]    Refer to the definition in the part of “signal” below. 
         [0079]    4. Statistics 
         [0080]    Null 
         [0081]    5. Procedure 
         [0082]    The procedure corresponds to the flow to be described below. 
         [0083]    Step  1 : The information related to the text string is carried in a parameter of the H.248 message in a plurality of ways as follows. 
         [0084]    1) The text string is carried in the parameter of the H.248 message. 
         [0085]    The text string is a character sting which can be pronounced correctly, such as “You are welcome!”. 
         [0086]    The format of the text string may not be recognized by a functional entity for processing the H.248 protocol and the text string is only embedded in an H.248 message as a string. In response to the receiving of the parameter, the media resource processing device  4  may directly extract the text string and transfer the extracted text string to a TTS unit for processing. 
         [0087]    2) The text string file ID and storage location information are carried in the parameter of the H.248 message. 
         [0088]    The text string may be prestored in the media resource processing device  4  or an external server, and the text string file ID, and the storage location information are carried in the H.248 message. 
         [0089]    The text string file ID may be any text string which conforms to the file naming specification. 
         [0090]    The storage location information of the text string file includes the following three forms. 
         [0091]    I. a file which can be locally accessed directly, such as welcome.txt; 
         [0092]    II. a file which can be accessed in file:// mode, such as file://huawei/welcome.txt; and 
         [0093]    III. a file which can be accessed in http:// mode, such as http://huawei/welcome.txt. 
         [0094]    In response to the receiving of the parameter, the media resource processing device first reads the text string file from a remote server or a local storage according to the storage location of the text string file, puts the text string file into a cache, and then processes the text string file via the TTS unit. 
         [0095]    3) Both the text string and the text string file are carried in an H.248 message parameter. The text string and the text string file are performed collectively. 
         [0096]    The information of the text string file, in which the text string file ID and the storage location of the text string file are included, and the text string are combined into a continue text string. A specific key word is added before the text string file ID to indicate that the pronunciation text string file is introduced instead of direct conversion of the file name, such as: 
         [0097]    &lt;importtextfile http:/huawei/welcome.txt&gt; 
         [0098]    Do you want to play a game? 
         [0099]    In response to the receiving of the command for executing the pronunciation text string and the text string file collectively, the media resource processing device  4  performs preprocessing first, reads the text string file locally or from a external server, connects the text string file with the pronunciation text string as one string, and puts the string into a cache, and then performs the TTS processing. 
         [0100]    4) The text string and/or the text string file information and the record file are carried in the H.248 message. 
         [0101]    After TTS processing is performed on the text string or the text string file, the processed text string or the text string file is combined with the record file to form a speech segment. 
         [0102]    A specific key word is added before the text string file ID to indicate that a record file is introduced instead of converting the file name directly, such as: 
         [0103]    &lt;importaudiofile http://huawei/welcome.g711&gt; 
         [0104]    Do you want to play a game? 
         [0105]    In response to the receiving of the combination of the text string and/or the text string file information and the record file, the media resource processing device  4  performs preprocessing first, reads the file locally or from a remote server, puts the file into a cache, and performs the TTS processing on the text string and then combines the speech output after the TTS with the record file into a speech segment. 
         [0106]    In addition, in step  1 , attribute parameters of the speech output after the TTS may be carried in the H.248 message. When the media resource processing device is instructed to perform the TTS, the speech related parameters which can be carried include the following. 
         [0107]    1) Language Type 
         [0108]    Various languages may be used and conform to the definition of RFC3066. 
         [0109]    2) Voice Gender 
         [0110]    Possible value of this parameter may be a male voice, a female voice and a neutral voice. 
         [0111]    3) Voice Age 
         [0112]    Possible value of this parameter may be a child voice, an adult voice and an elder voice. 
         [0113]    4) Voice Speed 
         [0114]    The voice speed may be faster or slower than the speed of a normal speech and is represented with percentage. For example, −20% indicates that a voice speed is slower than the speed of the normal speech by 20%. 
         [0115]    5) Volume 
         [0116]    The volume may be higher or lower than a normal volume and is represented with percentage. For example, −20% indicates that a volume is lower than the normal volume by 20%. 
         [0117]    6) Tone 
         [0118]    The tone may be higher or lower than a normal tone and is represented with percentage. For example, −20% indicates that a tone is lower than the normal tone by 20%. 
         [0119]    7) Pronunciation for special words 
         [0120]    This parameter is adapted to specify the pronunciation for specific words. For example, the pronunciation of “2005/10/01” is Oct. 1, 2005. 
         [0121]    8) Whether to set a break, the time length and position of the break 
         [0122]    The purpose of setting the break is to conform to the pronunciation habits. The time length of the break has a value larger than 0. The possible value of the break position includes: after a sentence is read and after a paragraph is read. 
         [0123]    9) Whether to set accentuation, accentuation grade and position 
         [0124]    The accentuation is divided into three grades of high, medium and low. The accentuation position includes begin of a text, begin of a sentence and begin of a paragraph. 
         [0125]    10) Whether to prefetch text string file 
         [0126]    If this parameter indicates to prefetch a file, the file is read from a remote sever and is cached locally after a command is received, otherwise, the file is read when the command is executed. 
         [0127]    11) Time length for caching a file 
         [0128]    This parameter is adapted to indicate how long the file will be failed after the file is cached locally. 
         [0129]    12) Whether the TTS needs to be paused when the user inputs a Dual Tone Multiple Frequency (DTMF) signal or speech 
         [0130]    When the TTS and the automatic speech/DTMF recognition are performed at the same time, the TTS may be paused if the user inputs the DTMF signal or speech during the TTS. 
         [0131]    Particularly, the H.248 protocol has defined the following. 
         [0132]    Signal, including: 1) a signal adapted to instruct to play a TTS file, 2) a signal adapted to instruct to play a TTS string, 3) a signal adapted to instruct to play a TTS string, a TTS file and a speech segment; 4) a signal adapted to instruct to set an accentuation; 5) a signal adapted to instruct to set a break; and 6) a signal adapted to indicate special words. These signals are expressed as follows. 
         [0133]    1) Play TTS File, this signal is adapted to instruct to perform the TTS function. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Play TTS File 
               
               
                   
                 SignalID 
                 ptf (0x??) 
               
               
                   
                 Description 
                 Perform the TTS function on a text string file 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0134]    Additional parameter of this signal includes the following. 
         [0135]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 TTS file 
               
               
                   
                 Parameter ID 
                 tf(0x??) 
               
               
                   
                 Description 
                 TTS file name and storage location 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Legal file ID and storage format 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0136]    II. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Language Type 
               
               
                   
                 Parameter ID 
                 lt(0x??) 
               
               
                   
                 Description 
                 Language Type 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Conform to RFC3066 protocol 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0137]    III. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Gender 
               
               
                   
                 Parameter ID 
                 ge(0x??) 
               
               
                   
                 Description 
                 Voice Gender 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 male, female and neutral 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0138]    IV. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Age 
               
               
                   
                 Parameter ID 
                 ag(0x??) 
               
               
                   
                 Description 
                 Voice age 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Child, adult and elder 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0139]    V. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Speed 
               
               
                   
                 Parameter ID 
                 sp(0x??) 
               
               
                   
                 Description 
                 Voice Speed 
               
               
                   
                 Type 
                 Integer 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 From −100% to 100% 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0140]    VI. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Volume 
               
               
                   
                 Parameter ID 
                 vo(0x??) 
               
               
                   
                 Description 
                 Voice volume 
               
               
                   
                 Type 
                 Integer 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Between −100% and 100% 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0141]    VII. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Tone 
               
               
                   
                 Parameter ID 
                 to(0x??) 
               
               
                   
                 Description 
                 Voice tone 
               
               
                   
                 Type 
                 Integer 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Between −100% and 100% 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0142]    VIII. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Prefetch 
               
               
                   
                 Parameter ID 
                 pf(0x??) 
               
               
                   
                 Description 
                 Prefetch text string file 
               
               
                   
                 Type 
                 enum 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Yes, no 
               
               
                   
                 Default 
                 Yes 
               
               
                   
                   
               
             
          
         
       
     
         [0143]    IX. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Cache Time 
               
               
                   
                 Parameter ID 
                 ct(0x??) 
               
               
                   
                 Description 
                 Time length for caching file 
               
               
                   
                 Type 
                 Integer 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Larger than 0 second 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0144]    X. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 DTMF barge in 
               
               
                   
                 Parameter ID 
                 dbi(0x??) 
               
               
                   
                 Description 
                 Pause the TTS when the user input 
               
               
                   
                   
                 DTMF 
               
               
                   
                 Type 
                 enum 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Yes, no 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0145]    XI. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 voice barge in 
               
               
                   
                 Parameter ID 
                 vbi(0x??) 
               
               
                   
                 Description 
                 Pause the TTS when the user input 
               
               
                   
                   
                 speech 
               
               
                   
                 Type 
                 Integer 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Larger than 0 second 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0146]    1) Play TTS String, this signal is adapted to instruct to perform the TTS function on a text string. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Play TTS String 
               
               
                   
                 Signal ID 
                 pts(0x??) 
               
               
                   
                 Description 
                 Instruct to perform the TTS function 
               
               
                   
                   
                 on a text string 
               
               
                   
                 Signal Type 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0147]    Additional parameter of this signal includes the following. 
         [0148]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 TTS String 
               
               
                   
                 Parameter ID 
                 ts(0x??) 
               
               
                   
                 Description 
                 Text string which can be pronounced 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Text string which can be pronounced 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0149]    Other parameters are similar to parameters II, III, IV, V, VI, VII, X and XI of the signal ‘Play TTS File’. 
         [0150]    3) Play TTS string, TTS file and speech segment 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Play union 
               
               
                   
                 SignalID 
                 pu(0x??) 
               
               
                   
                 Description 
                 Play a combination of a TTS string, a TTS file 
               
               
                   
                   
                 and a voice segment file 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0151]    Additional parameter of this signal includes the following. 
         [0000]    
       
         
               
               
             
           
               
                   
               
             
             
               
                 Parameter Name 
                 TTS and voice segment 
               
               
                 Parameter ID 
                 ta(0x??) 
               
               
                 Description 
                 Play a combination of a TTS string, a TTS file 
               
               
                   
                 and a voice segment file 
               
               
                 Type 
                 String 
               
               
                 Optional 
                 No 
               
               
                 Possible Value 
                 Play a combination of a TTS string, a TTS file 
               
               
                   
                 and a voice segment file 
               
               
                 Default 
                 Null 
               
               
                   
               
             
          
         
       
     
         [0152]    Other parameters are similar to parameters II, III, IV, V, VI, VII, VIII, IX, X and XI of the signal ‘Play TTS File’. 
         [0153]    4) Set Accentuation, this signal is adapted to indicate the accentuation grade and the accentuation location for TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Set Accentuation 
               
               
                   
                 SignalID 
                 sa(0x??) 
               
               
                   
                 Description 
                 Indicate the accentuation grade and the 
               
               
                   
                   
                 accentuation location for TTS. 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0154]    Additional parameter of this signal includes the following. 
         [0155]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Accentuation Position 
               
               
                   
                 Parameter ID 
                 ap(0x??) 
               
               
                   
                 Description 
                 Accentuation Position 
               
               
                   
                 Type 
                 Text string 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Begin, head of sentence and head of 
               
               
                   
                   
                 paragraph 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0156]    II. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Accentuation Grade 
               
               
                   
                 Parameter ID 
                 ag(0x??) 
               
               
                   
                 Description 
                 Accentuation Grade 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 High, medium, low 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0157]    5) Set Break, this signal is adapted to indicate the break position and the time length of the break for TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Set Break 
               
               
                   
                 SignalID 
                 sb(0x??) 
               
               
                   
                 Description 
                 Indicate the break position and the time 
               
               
                   
                   
                 length of the break for TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0158]    Additional parameter of this signal includes the following. 
         [0159]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Break Position 
               
               
                   
                 Parameter ID 
                 bp(0x??) 
               
               
                   
                 Description 
                 Break Position 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 End of a sentence and end of a 
               
               
                   
                   
                 paragraph 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0160]    II. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Break Time 
               
               
                   
                 Parameter ID 
                 bt(0x??) 
               
               
                   
                 Description 
                 Time length of a break 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Larger than 0 millisecond 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0161]    6) Special Words, this signal is adapted to indicate the pronunciation of special words in the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 Special Words 
               
               
                   
                 SignalID 
                 sw(0x??) 
               
               
                   
                 Description 
                 Indicate the pronunciation of special 
               
               
                   
                   
                 words in the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0162]    Additional parameter of this signal includes the following. 
         [0163]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Target Words 
               
               
                   
                 Parameter ID 
                 dw(0x??) 
               
               
                   
                 Description 
                 Original words in the text string. 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0164]    II. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Say As 
               
               
                   
                 Parameter ID 
                 sa(0x??) 
               
               
                   
                 Description 
                 A substituted pronunciation 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0165]    Step  2 : In response to the receiving of the instruction from the media resource control device, the media resource processing device confirms the instruction, feeds back the confirmation information to the media resource control device, performs the TTS and plays the speech obtained via TTS to the user. 
         [0166]    Step  3 : The media resource control device  3  instructs the media resource processing device  4  to check the result of TTS. 
         [0167]    Step  4 : In response to the receiving of the instruction, the media resource processing device  4  confirms the instruction and returns confirmation information. 
         [0168]    Step  5 : The media resource control device  3  controls the process of TTS which includes: Pause: Temporarily stop the playing of the speech obtained via TTS. 
         [0169]    Resume: Restore the playing state from the pause state. 
         [0170]    Fast forward jump and fast forward jump to a location, including a plurality of indication ways: 
         [0171]    1) fast forward jump several characters, 
         [0172]    2) fast forward jump to the begin of a sentence below; 
         [0173]    3) fast forward jump to the begin of a paragraph below; 
         [0174]    4) fast forward jump several seconds; and 
         [0175]    5) fast forward jump several voice units (the voice unit is defined by the user, such 10s). 
         [0176]    Fast backward jump and fast backward jump to a location, including a plurality of indication ways: 
         [0177]    1) fast backward jump several characters, 
         [0178]    2) fast backward jump to the begin of a sentence above; 
         [0179]    3) fast backward jump to the begin of a paragraph above; 
         [0180]    4) fast backward jump several seconds; and 
         [0181]    5) fast backward jump several voice units (the voice unit is defined by the user, such 10s). 
         [0182]    Restart the TTS. 
         [0183]    End the TTS: The user ends the TTS. 
         [0184]    Repeat and the range of the repeat, including a plurality of indication ways: 
         [0185]    1) repeat current sentence; 
         [0186]    2) repeat current paragraph; and 
         [0187]    3) repeat the whole text. 
         [0188]    Cancel the repeat: Cancel the above repeat of playing. 
         [0189]    Reconfigure the TTS parameters, including the parameters of tone, volume, voice speed, voice gender, voice age, accentuation position, break position and time length described above. 
         [0190]    Particularly, the definition in the H.248 protocol package is as follows. 
         [0191]    Signal: including TTS Pause. 
         [0192]    1) TTS Pause, adapted to stop the TTS temporally. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS pause 
               
               
                   
                 SignalID 
                 tp(0x??) 
               
               
                   
                 Description 
                 Instruct to stop the TTS temporally 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0193]    Additional parameter: none. 
         [0194]    2) TTS Resume, adapted to resume the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Resume 
               
               
                   
                 SignalID 
                 tr(0x??) 
               
               
                   
                 Description 
                 Instruct to resume the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0195]    Additional parameter: none. 
         [0196]    3) TTS Jump Words, adapted to instruct to jump several words for continuing the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Jump Words 
               
               
                   
                 SignalID 
                 tjw(0x??) 
               
               
                   
                 Description 
                 Instruct to jump to a position for 
               
               
                   
                   
                 continuing the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0197]    Additional parameter: 
         [0198]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Jump Size 
               
               
                   
                 Parameter ID 
                 js(0x??) 
               
               
                   
                 Description 
                 The number of the characters to be 
               
               
                   
                   
                 jumped, and a positive value represents 
               
               
                   
                   
                 jumping forwards and a negative value 
               
               
                   
                   
                 represents jumping backwards. 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0199]    4) TTS Jump Sentences, adapted to instruct to jump several sentences for continuing the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS jump sentences 
               
               
                   
                 SignalID 
                 tjs(0x??) 
               
               
                   
                 Description 
                 Instruct to jump several sentences for 
               
               
                   
                   
                 continuing the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0200]    Additional parameter includes: 
         [0201]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Jump Size 
               
               
                   
                 Parameter ID 
                 js(0x??) 
               
               
                   
                 Description 
                 The number of the sentences to be 
               
               
                   
                   
                 jumped, and a positive value represents 
               
               
                   
                   
                 jumping forwards and a negative value 
               
               
                   
                   
                 represents jumping backwards. 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0202]    5) TTS Jump Paragraphs, adapted to instruct to jump several paragraphs for continuing the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Jump Paragraphs 
               
               
                   
                 SignalID 
                 tjp(0x??) 
               
               
                   
                 Description 
                 Instruct jumping several paragraphs for 
               
               
                   
                   
                 continuing the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0203]    Additional parameter includes: 
         [0204]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Jump Size 
               
               
                   
                 Parameter ID 
                 js(0x??) 
               
               
                   
                 Description 
                 The number of the paragraphs to be 
               
               
                   
                   
                 jumped, and a positive value represents 
               
               
                   
                   
                 jumping forwards and a negative value 
               
               
                   
                   
                 represents jumping backwards. 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0205]    6) TTS Jump Seconds, adapted to instruct to jump several seconds for continuing the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Jump Seconds 
               
               
                   
                 SignalID 
                 tjs(0x??) 
               
               
                   
                 Description 
                 Instruct to jump several seconds of 
               
               
                   
                   
                 speech for continuing the TTS 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0206]    Additional parameter includes: 
         [0207]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Jump Size 
               
               
                   
                 Parameter ID 
                 js(0x??) 
               
               
                   
                 Description 
                 The number of the seconds to be 
               
               
                   
                   
                 jumped, and a positive value represents 
               
               
                   
                   
                 jumping forwards and a negative value 
               
               
                   
                   
                 represents jumping backwards. 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0208]    7) TTS Jump Voice Unit, adapted to instruct to jump several voice units for continuing the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Jump Voice Unit 
               
               
                   
                 SignalID 
                 tjvu(0x??) 
               
               
                   
                 Description 
                 Instruct to jump several voice units for 
               
               
                   
                   
                 continuing the TTS, and the number of 
               
               
                   
                   
                 the voice unit is defined by the user. 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0209]    Additional parameter includes: 
         [0210]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Jump Size 
               
               
                   
                 Parameter ID 
                 js(0x??) 
               
               
                   
                 Description 
                 The number of the voice units to be jumped, 
               
               
                   
                   
                 and a positive value represents jumping 
               
               
                   
                   
                 forward and a negative value represents 
               
               
                   
                   
                 jumping backward. 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Any 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0211]    8) TTS Restart 
         [0000]                                                Signal Name   TTS Restart           SignalID   tr(0x??)           Description   TTS restarts           SignalType   BR           Duration   Not Applicable                        
Additional parameters: none.
 
         [0212]    TTS End 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS End 
               
               
                   
                 SignalID 
                 te(0x??) 
               
               
                   
                 Description 
                 TTS ends 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0213]    Additional parameters: none. 
         [0214]    TTS Repeat, adapted to instruct to repeat a section of the words obtained via the TTS. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Signal Name 
                 TTS Repeat 
               
               
                   
                 SignalID 
                 tre(0x??) 
               
               
                   
                 Description 
                 Repeat a section of the words obtained via 
               
               
                   
                   
                 the TTS. 
               
               
                   
                 SignalType 
                 BR 
               
               
                   
                 Duration 
                 Not Applicable 
               
               
                   
                   
               
             
          
         
       
     
         [0215]    Additional parameter includes: 
         [0216]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Repeat position 
               
               
                   
                 Parameter ID 
                 pos(0x??) 
               
               
                   
                 Description 
                 Repeat position 
               
               
                   
                 Type 
                 String 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Current sentence, current 
               
               
                   
                   
                 paragraph, all the text. 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0217]    Step  6 : In response to the receiving of the instruction, the media resource processing device  4  confirms the instruction and returns confirmation information. 
         [0218]    Step  7 : The media resource processing device  4  feeds back the events detected during the TTS, such as normal finishing and timeout, to the media resource control device  3 . 
         [0219]    The events detected during the TTS includes: an error code under an abnormal condition and a parameter for indicating the result when the TTS is finished normally. 
         [0220]    Error Codes from Performing the TTS Function 
         [0221]    If an abnormal event occurs when the media resource processing device performs the TTS, a specific error code is returned to the media resource control device. The specific value of the error code is defined and allocated according to related protocols. The contents of the error code includes: 
         [0222]    unrecognized words or characters; 
         [0223]    unpronounceable characters; 
         [0224]    absence of the text string file; 
         [0225]    error in reading the text string file; 
         [0226]    the parameter being not supported or error; 
         [0227]    the control of the TTS being not supported or error; 
         [0228]    error in hardware of the media resource processing device; 
         [0229]    error in software of the media resource processing device; and other errors. 
         [0230]    Parameter for describing the result when the TTS is finished normally The following information may be returned when the TTS is finished normally: 
         [0231]    the TTS is finished normally; 
         [0232]    the TTS is paused by the user input: the user presses the pause key, the user inputs the DTMF, and the user inputs a speech. 
         [0233]    statistical information: the time length of the speech played after TTS to the user 
         [0234]    Particular information is as follows. 
         [0235]    Event: 
         [0236]    1) TTS Failure 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Event Name 
                 TTS Failure 
               
               
                   
                 EventID 
                 ttsfail (0x??) 
               
               
                   
                 Description 
                 TTS failed, return the error 
               
               
                   
                   
                 code 
               
               
                   
                 EventDescriptor 
                 Null 
               
               
                   
                 Parameters 
               
               
                   
                   
               
             
          
         
       
     
         [0237]    ObservedEventDescriptor parameters include: 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 Error Return Code 
               
               
                   
                 Parameter ID 
                 erc(0x??) 
               
               
                   
                 Description 
                 Error code parameter 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 No 
               
               
                   
                 Possible Value 
                 Error codes as defined above 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0238]    2) TTS Success 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Event name 
                 TTS Success 
               
               
                   
                 EventID 
                 ttssuss(0x??) 
               
               
                   
                 Description 
                 TTS finished, return the result 
               
               
                   
                 EventDescriptor 
                 Null 
               
               
                   
                 Parameters 
               
               
                   
                   
               
             
          
         
       
     
         [0239]    ObservedEventDescriptor parameters include the following. 
         [0240]    I. 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 End Cause 
               
               
                   
                 Parameter ID 
                 ec(0x??) 
               
               
                   
                 Description 
                 The cause triggering the end of TTS 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 TTS is finished, the user inputs DTMF, the 
               
               
                   
                   
                 user inputs speech 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0241]    II 
         [0000]    
       
         
               
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 Parameter Name 
                 TTS Time 
               
               
                   
                 Parameter ID 
                 tt(0x??) 
               
               
                   
                 Description 
                 The time length for performing the TTS 
               
               
                   
                 Type 
                 Integral 
               
               
                   
                 Optional 
                 Yes 
               
               
                   
                 Possible Value 
                 Larger than 0 second 
               
               
                   
                 Default 
                 Null 
               
               
                   
                   
               
             
          
         
       
     
         [0242]    Step  8 : The media resource control device  3  feeds back the confirmation message to the media resource processing device  4 , and the TTS is finished. 
         [0243]    Referring to  FIG. 5 , an embodiment of the present disclosure provides a media resource processing device, including: 
         [0244]    an information obtaining unit  10 , adapted to obtain control information including a text string to be recognized and control parameters sent from a media resource control device; 
         [0245]    a TTS unit  20 , adapted to convert the text string in the control information into a speech signal; and 
         [0246]    a sending unit  30 , adapted to send the speech signal to the media resource control device. 
         [0247]    The device further includes: 
         [0248]    a file obtaining unit  40 , adapted to obtain a text string file and send the text string file to the TTS unit; 
         [0249]    a record obtaining unit  50 , adapted to obtain a record file; and 
         [0250]    a combining unit  60 , adapted to combine the speech signal output from the TTS unit with the record file to form a new speech signal and send the new speech signal to the sending unit. 
         [0251]    Additionally, an embodiment of the present disclosure further provides a system for implementing the TTS function, including: 
         [0252]    a media resource control device, adapted to extend H.248 protocol and send an H.248 message carrying an instruction and related parameters to a media resource processing device so as to control the media resource processing device to perform the TTS; 
         [0253]    the media resource processing device, adapted to receive the H.248 message carrying a TTS instruction and the related parameters, perform the TTS according to the related parameters and feed back a result of TTS to the media resource control device. 
         [0254]    The media resource processing device includes a TTS unit adapted to convert a text string to a speech signal. 
         [0255]    The related parameters include information related to the text string. The media resource processing device performs the TTS on the text string according to the information related to the text string. 
         [0256]    The information related to the text string is a text string which may be pronounced correctly. The media resource processing device directly extracts the text string in response to the receiving of the information related to the text string and performs the TTS. 
         [0257]    The text string is prestored in the media resource processing device or an external server in the form of a file, and the information related to the text string includes a text string ID and storage location information. In response to the receiving of the information related to the text string, the media resource processing device reads the text string file locally or from the external server according to the storage location information, puts the text string file in a cache, and performs the TTS. 
         [0258]    The information related to the text string includes a combination of the text string and a record file ID, and a key word is added before the record file ID to indicate that the record file is introduced. The media resource processing device performs the TTS on the text string in response to the receiving of the information related to the text string and combines a speech which is output after the TTS with the record file into a speech segment. 
         [0259]    With various embodiments of the method according the present disclosure, service applications related to the TTS may be provided to the user during the media resources application in the mobile network or the fixed network. For example, contents of a webpage can be converted into a speech and the speech may be played for the user. Meanwhile, when it is to be modified, only the text needs to be modified while there is no need to perform re-recording, and a more personalized announcement can be played as required by the user. 
         [0260]    As can be understood, the present disclosure is not limited to the above embodiments. Additional advantages and modifications will readily occur to those skilled in the art based on the present disclosure. For example, the media resource control device  3  may send the instruction of step  1  and the instruction of step  3  to the media resource processing device  4  at the same time, and media resource processing device  4  may perform step  2  and step  4  at the same time.