The content of the invention
The main object of the present invention is a kind of speech talkback method of offer, device and mobile terminal, it is intended to solve to be based on defendingThe mobile terminal of star mobile communication can not realize the technical problem of real-time speech talkback using instant messaging application.
To achieve these objectives, the embodiment of the present invention proposes a kind of speech talkback method, the described method comprises the following steps:
Length is kept to be connected with server by satellite mobile communication network;
The voice messaging of collection is compressed using Low-Rate-Speech-Coding Algorithm and handles and generate the first voice document;
First voice document is sent to the server, so that the server sends first voice documentTo opposite end.
Alternatively, it is described to be set up by satellite mobile communication network and server after the step of being connected and keep long connectAlso include:
The second voice document that opposite end is sent is obtained from the server;
Export second voice document.
Alternatively, it is described from the server obtain opposite end send the second voice document the step of include:
Receive the download address for second voice document that the server is sent;
Second voice document is downloaded according to the download address.
Alternatively, the step of output second voice document includes:
Whether judge second voice document is Low-ratespeech coding file;
When for Low-ratespeech coding file, second voice document is carried out using low-bit-rate speech coding decoding algorithmPlayed after decoding.
Alternatively, the Low-Rate-Speech-Coding Algorithm is AMR AMR algorithms, MELP volumeCode MELP algorithms, QCELP Qualcomm CELP algorithms, STC STC algorithms, time-frequency interpolation coding TFI are calculatedMethod, pitch synchronous excited linear prediction encoding PSELP algorithms, Multi-Band Excitation MBE algorithms or waveform interpolation coding WI algorithms.
Alternatively, when the low-bit-rate speech coding Coding Compression Algorithm is AMR algorithms, the utilization low-bit-rate speech coding compressionEncryption algorithm is compressed to the voice messaging of collection to be handled and includes the step of generating voice document:
Coding is compressed to the voice messaging of collection using the AMR algorithms, to reduce the code check of the voice messagingTo preset value, and generate the voice document of AMR forms.
Alternatively, the preset value is 6.6kb/s.
Alternatively, when the low-bit-rate speech coding Coding Compression Algorithm is MELP algorithms, the utilization low-bit-rate speech coding pressureContracting encryption algorithm is compressed to the voice messaging of collection to be handled and includes the step of generating voice document:
Coding is compressed to the voice messaging of collection using the MELP algorithms, to reduce the code check of the voice messagingTo 2.4kb/s, and generate the voice document of MELP forms.
Alternatively, the step of transmission institute's voice file to the server includes:
Using ICP/IP protocol divided stator frame institute's voice file to the server.
The embodiment of the present invention proposes a kind of voice intercom device simultaneously, and described device includes:
Link block, for keeping length to be connected with server by satellite mobile communication network;
Processing module, is handled and generated for being compressed using Low-Rate-Speech-Coding Algorithm to the voice messaging of collectionFirst voice document;
Sending module, for sending first voice document to the server, so that the server is by described theOne voice document is sent to opposite end.
Alternatively, described device also includes:
Acquisition module, for obtaining the second voice document that opposite end is sent from the server;
Output module, for exporting second voice document.
Alternatively, the acquisition module includes:
Receiving unit, the download address for receiving second voice document that the server is sent;
Download unit, for downloading second voice document according to the download address.
Alternatively, the output module includes:
Judging unit, for judging whether second voice document is Low-ratespeech coding file;
Broadcast unit, for when for Low-ratespeech coding file, using low-bit-rate speech coding decoding algorithm to describedTwo voice documents are played after being decoded.
Alternatively, when the low-bit-rate speech coding Coding Compression Algorithm is AMR algorithms, the processing module is used for:UtilizeThe AMR algorithms are compressed coding to the voice messaging of collection, to reduce the code check of the voice messaging to preset value, and rawInto the voice document of AMR forms.
Alternatively, when the low-bit-rate speech coding Coding Compression Algorithm is MELP algorithms, the processing module is used for:UtilizeThe MELP algorithms are compressed coding to the voice messaging of collection, to reduce the code check of the voice messaging to 2.4kb/s, andGenerate the voice document of MELP forms.
Alternatively, the sending module is used for:Using ICP/IP protocol divided stator frame institute's voice file to the serviceDevice.
The present invention also proposes a kind of mobile terminal, the mobile terminal include memory, processor and at least one depositedStorage is in the memory and is configured as by the application program of the computing device, it is characterised in that the application programIt is configurable for performing aforementioned voice intercommunication method.
A kind of speech talkback method that the embodiment of the present invention is provided, is kept by satellite mobile communication network and serverLong connection, and processing is compressed to the voice messaging of collection using Low-Rate-Speech-Coding Algorithm, so as to greatly reduce languageThe code check of message breath, reduces the capacity of the voice document of transmission, saves the bandwidth resources of satellite mobile communication network, and thenThe real-time intercommunication of low time delay is realized, instant messaging can not be utilized by solving the mobile terminal based on satellite mobile communication in the prior artUsing the technical problem for realizing real-time speech talkback, Consumer's Experience is improved.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to endSame or similar label represents same or similar element or the element with same or like function.Below with reference to attachedThe embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " oneIt is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arrangesDiction " comprising " refer to there is the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or additionOther one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim memberPart is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also existIntermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrangeTaking leave "and/or" includes one or more associated wholes or any cell for listing item and all combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology artLanguage and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should alsoUnderstand, those terms defined in such as general dictionary, it should be understood that with the context with prior artThe consistent meaning of meaning, and unless by specific definitions as here, otherwise will not use idealization or excessively formal implicationTo explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communicationThe equipment of number receiver, it only possesses the equipment of the wireless signal receiver of non-emissive ability, includes receiving again and transmitting hardwareEquipment, its have can on bidirectional communication link, perform two-way communication reception and launch hardware equipment.This equipmentIt can include:Honeycomb or other communication equipments, it has single line display or multi-line display or shown without multi-lineThe honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it canWith combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, it is personalDigital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, dayGo through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palmType computer or other equipment, its have and/or conventional laptop and/or palmtop computer including radio frequency receiver or itsHis equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation,Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earthAnd/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, onNetwork termination, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile InternetEquipment) and/or the equipment such as mobile phone or intelligent television with music/video playing function, set top box.
Those skilled in the art of the present technique are appreciated that server used herein above, and it includes but is not limited to computer, netThe cloud that network main frame, single network server, multiple webserver collection or multiple servers are constituted.Here, cloud is by based on cloud meterThe a large amount of computers or the webserver for calculating (Cloud Computing) are constituted, wherein, cloud computing is the one of Distributed CalculationKind, a super virtual computer being made up of the computer collection of a group loose couplings.In embodiments of the invention, server,Between terminal device and WNS servers can by any communication mode realize communicate, including but not limited to, based on 3GPP, LTE,WIMAX mobile communication, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, Infrared Transmission standardLow coverage wireless transmission method.
Reference picture 1, proposes the speech talkback method first embodiment of the present invention, the described method comprises the following steps:
S11, by satellite mobile communication network and server length is kept to be connected.
In this step S11, after mobile terminal is connected by satellite mobile communication network and server foundation, then with certainHeart beat cycle keeps length to be connected with server, i.e., mobile terminal sends a heartbeat packet every a heart beat cycle to server,Therebetween connecting path is kept with this, so as to realize that the low time delay of subsequent voice bag is transmitted in real time.
Alternatively, mobile terminal can keep length to be connected with default heart beat cycle with server.
Alternatively, mobile terminal can be according to the signal quality of reference cardiac cycle and satellite mobile communication network to heartbeatCycle is adaptively adjusted, and the acquisition cycle is larger and can keep the adaptive heart beat cycle that is stably connected with, and with the adaptive heartHop cycle keeps length to be connected with server.The reference cardiac cycle is used when can be default heart beat cycle, last connectionHeart beat cycle, the heart beat cycle that uses of other mobile communications networks (such as public land mobile communication network network).
For example, mobile terminal carries out long connecting test with reference cardiac cycle first.When reference cardiac cycle canWhen maintaining long connection, increase duration on the basis of reference cardiac cycle and carry out long connecting test, acquisition is able to maintain that long connectionAdaptive heart beat cycle, for example:Gradually increase duration on the basis of reference cardiac cycle and carry out long connecting test, until notUntill long connection can be maintained;When that can not maintain long connect, the heart beat cycle once tested before choosing is used as adaptive heartbeat weekPhase.When reference cardiac cycle can not maintain long connect, reduction duration grow connecting and surveyed on the basis of reference cardiac cycleExamination, obtains the adaptive heart beat cycle for being able to maintain that long connection, for example:Duration is gradually reduced on the basis of reference cardiac cycleLong connecting test is carried out, untill being able to maintain that long connection;When being able to maintain that long connection, the heartbeat week of this test is chosenPhase is used as adaptive heart beat cycle.Finally, mobile terminal maintains length to be connected with adaptive heart beat cycle with server.
In the embodiment of the present invention, mobile terminal can be the satellite mobile communication terminal for only supporting satellite mobile communication,Satellite mobile communication can not only be supported but also support the satellite mobile communication and public land mobile communication of public land mobile communicationConvergent terminal.
S12, the voice messaging of collection is handled using Low-Rate-Speech-Coding Algorithm and the first voice document is generated.
In the embodiment of the present invention, mobile terminal can be applied to enter with other terminals by instant messagings such as wechat, credulity, QQRow speech talkback, now other terminals are then the opposite end of the mobile terminal.When mobile terminal sends voice document to opposite end, thenThe mobile terminal is transmitting terminal, and opposite end is receiving terminal;When mobile terminal receives the voice document that opposite end is sent, then the movement is wholeHold as receiving terminal, opposite end is transmitting terminal.
When mobile terminal is as transmitting terminal, then voice messaging is gathered by microphone, and utilize Low-ratespeech codingAlgorithm is handled the voice messaging of collection, generates the first voice document.
Alternatively, during mobile terminal collection voice messaging, sample frequency of the application processor using 8 ADC and 8k is passed throughVoice messaging is gathered, while being digitized recording to the voice messaging collected.The code check of the voice messaging of collection is 64kb/s。
Low-Rate-Speech-Coding Algorithm can be AMR (AMR) algorithm, MELP coding(MELP) algorithm, QCELP Qualcomm (CELP) algorithm, STC (STC) algorithm, time-frequency interpolation coding(TFI) algorithm, pitch synchronous excited linear prediction encoding (PSELP) algorithm, Multi-Band Excitation (MBE) algorithm, waveform interpolationEncode any one in the speech coding algorithms such as (WI) algorithm.
For example, by taking AMR algorithms as an example, mobile terminal is compressed coding using AMR algorithms to the voice messaging of collection, withThe code check of voice messaging is reduced to preset value, and generates the voice document of AMR forms.AMR can use from 6.6kb/s to23.85kb/s is encoded for nine kinds totally, the preferred lowest bit rate 6.6kb/s of preset value.So as to greatly reduce the code check of voice messaging, subtractThe small capacity of voice document, saves the bandwidth resources of satellite mobile communication network, and then realize the real-time intercommunication of low time delay.
And for example, by taking MELP algorithms as an example, mobile terminal is compressed coding using MELP algorithms to the voice messaging of collection,To reduce the code check of voice messaging to 2.4kb/s, and generate the voice document of MELP forms.So as to greatly reduce voice messagingCode check, reduce the capacity of voice document, save the bandwidth resources of satellite mobile communication network, and then realize that low time delay is realWhen intercommunication.
S13, to server send the first voice document so that the first voice document is sent to opposite end by server.
In the embodiment of the present invention, the satellite communications modem (modem) of mobile terminal passes through socket (socket)Set up and communicate with server, mobile terminal is preferred to use transmission control protocol/Internet Protocol (TCP/IP) agreement subpackageVoice document is transmitted to server.That is, the first voice document is divided into multiple voice packets by mobile terminal, in sequenceMultiple voice packets are sent to server successively.Server is received after multiple voice packets, according to voice packet origin identification andEnd of identification, voice packet order is stored in and cached, and is constituted a voice document, that is, is restored the first voice document.
Each voice packet is an ICP/IP protocol bag, and the composition of ICP/IP protocol bag is as follows:
| --- --- packet header --- --- | ----inclusion length ----| --- --- -- inclusion --- --- -- |
Mobile terminal can be arranged the definition in packet header from server and (such as set different marks), server pairThe packet header of ICP/IP protocol bag is parsed, and the network for distinguishing transmission voice document is satellite mobile communication network or the publicLand mobile communication network network, that is to say, that distinguish transmitting terminal transmission voice document for Low-ratespeech coding file stillNormal speech encodes file.
Server can take the software architecture for supporting that multiple client is concurrently accessed, such as MINA, Erlang etc., supportMulti-user's high concurrent accesses server.For example, using multi-thread mechanism, a thread is used to monitor client's request, multiple threadsFor handling multiple user concurrent requests.
The idiographic flow of server end is:Create server object and produce watcher thread, start port snooping, unlatching connectsBy client connection request, when there is client connection to come up, create client object and produce new thread.Number is sent to clientAccording to establishment data stream transmitting object, log-on data is intercepted, and when data is received, judges data length.When data length is 0When, judge that connection has disconnected, delete client object and useless thread;When data length is not 0, the data are handled.
Server is received after the first voice document, and following two modes can be used to send voice text to receiving terminalPart:A kind of is the download address for being sent to receiving terminal the first voice document, so that receiving terminal directly downloads the according to download addressOne voice document;Another is using the voice document of ICP/IP protocol divided stator frame first to receiving terminal.
It is preferential by the way of downloading if receiving terminal access is satellite mobile communication network, time delay can be reduced.Such asThe access of fruit receiving terminal is public land mobile communication network network, then two ways.
The speech talkback method of the embodiment of the present invention, keeps length to be connected by satellite mobile communication network with server, andProcessing is compressed to the voice messaging of collection using Low-Rate-Speech-Coding Algorithm, so as to greatly reduce the code of voice messagingRate, reduces the capacity of the voice document of transmission, saves the bandwidth resources of satellite mobile communication network, and then realizes low time delayReal-time intercommunication, solving the mobile terminal based on satellite mobile communication in the prior art can not be realized in fact using instant messaging applicationWhen speech talkback technical problem, improve Consumer's Experience.
Further, as shown in Fig. 2 the present invention speech talkback method second embodiment in, when mobile terminal conductDuring receiving terminal, also include after step S11:
S14, the second voice document sent from server acquisition opposite end.
In the embodiment of the present invention, server preferably sends the download address of the second voice document to mobile terminal, mobile wholeThe download address for holding the reception server to send, and the second voice document is downloaded according to download address.The is obtained by downloading modeTwo voice documents, can reduce the time delay of speech talkback, lift Consumer's Experience.
In other embodiments, server can also be literary to the voice of mobile terminal divided stator frame second using ICP/IP protocolSecond voice document is divided into multiple voice packets by part, i.e. server, and multiple voice packets are sent into movement successively in sequenceTerminal.Mobile terminal is received after multiple voice packets, and according to the origin identification and end of identification of voice packet, voice packet order is depositedEnter caching, constitute a voice document, that is, restore the second voice document.
S15, the second voice document of output.
In the embodiment of the present invention, mobile terminal is received after the second voice document, whether first determines whether the second voice documentFor Low-ratespeech coding file;When for Low-ratespeech coding file, then low speed is utilized by low-bit-rate speech coding decoderRate tone decoding algorithm is played after being decoded to the second voice document;When encoding file for normal speech, then pass throughWideband speech decoder is played after being decoded to the second voice document.
Mobile terminal can judge whether it is Low-ratespeech coding text by the identification information of the second voice documentPart, the identification information can be arranged at the packet header of the voice packet of the second voice document.
For example, when the identification information of the second voice document is the first mark, judging second voice document as low rateVoice coding file;When the identification information of the second voice document is the second mark, judge second voice document as common languageSound encodes file.
And for example, when the identification information of the second voice document is the first mark, judge second voice document as low rateVoice coding file;When the identification information of the second voice document is empty (not identifying), judge second voice document asNormal speech encodes file.Or, vice versa.
The speech talkback method of the present embodiment, obtains the second voice document by downloading mode, reduces speech talkbackTime delay, improves Consumer's Experience.The second voice document is decoded by using low-bit-rate speech coding decoding algorithm, realize withThe mobile terminal for accessing satellite mobile communication network carries out speech talkback.
In the embodiment of the present invention, the mobile terminal of satellite mobile communication network is accessed, both can be logical with access satellite movementOther mobile terminals of communication network carry out speech talkback, again can be other mobile whole with access public land mobile communication network networkEnd carries out speech talkback.
Reference picture 3, proposes the voice intercom device first embodiment of the present invention, and described device is applied to mobile terminal, whenOther terminal devices can also be so applied to, described device includes link block 10, processing module 20 and sending module 30, itsIn:
Link block 10:For keeping length to be connected with server by satellite mobile communication network.
In the embodiment of the present invention, link block 10 is set up by satellite mobile communication network and server be connected after, then withCertain heart beat cycle keeps length to be connected with server, i.e., link block 10 is sent once every a heart beat cycle to serverHeartbeat packet, keeps connecting path therebetween, so as to realize that the low time delay of subsequent voice bag is transmitted in real time with this.
Alternatively, link block 10 can keep length to be connected with default heart beat cycle with server.
Alternatively, link block 10 can be according to the signal quality of reference cardiac cycle and satellite mobile communication network to the heartHop cycle is adaptively adjusted, and the acquisition cycle is larger and can keep the adaptive heart beat cycle that is stably connected with, and with adaptiveHeart beat cycle keeps length to be connected with server.The reference cardiac cycle makes when can be default heart beat cycle, last connectionThe heart beat cycle that heart beat cycle, other mobile communications networks (such as public land mobile communication network network) are used.
For example, link block 10 carries out long connecting test with reference cardiac cycle first.When reference cardiac cycle energyDuring enough maintenance length connections, increase duration carries out long connecting test on the basis of reference cardiac cycle, obtains and is able to maintain that long companyThe adaptive heart beat cycle connect, for example:Gradually increase duration on the basis of reference cardiac cycle and carry out long connecting test, untilUntill long connect can not be maintained;When that can not maintain long connect, the heart beat cycle once tested before choosing is as adaptive heartbeatCycle.When reference cardiac cycle can not maintain long connect, duration is reduced on the basis of reference cardiac cycle and carries out growing connectionTest, obtains the adaptive heart beat cycle for being able to maintain that long connection, for example:When gradually being reduced on the basis of reference cardiac cycleIt is long to carry out long connecting test, untill being able to maintain that long connection;When being able to maintain that long connection, the heartbeat of this test is chosenCycle is used as adaptive heart beat cycle.Finally, link block 10 maintains length to be connected with adaptive heart beat cycle with server.
In the embodiment of the present invention, mobile terminal can be the satellite mobile communication terminal for only supporting satellite mobile communication,Satellite mobile communication can not only be supported but also support the satellite mobile communication and public land mobile communication of public land mobile communicationConvergent terminal.
Processing module 20:Handled and raw for being compressed using Low-Rate-Speech-Coding Algorithm to the voice messaging of collectionInto the first voice document.
In the embodiment of the present invention, voice intercom device can be applied and other ends by instant messagings such as wechat, credulity, QQEnd carries out speech talkback, and now other terminals are then the opposite end of the mobile terminal.When mobile terminal to opposite end send voice documentWhen, then the mobile terminal is transmitting terminal, and opposite end is receiving terminal;When mobile terminal receives the voice document that opposite end is sent, then shouldMobile terminal is receiving terminal, and opposite end is transmitting terminal.
When mobile terminal is as transmitting terminal, processing module 20 then gathers voice messaging by microphone, and utilizes low speedRate speech coding algorithm is handled the voice messaging of collection, generates the first voice document.
Alternatively, during the collection of processing module 20 voice messaging, sampling frequency of the application processor using 8 ADC and 8k is passed throughRate gathers voice messaging, while being digitized recording to the voice messaging collected.The code check of the voice messaging of collection is64kb/s。
Low-Rate-Speech-Coding Algorithm can be AMR (AMR) algorithm, MELP coding(MELP) algorithm, QCELP Qualcomm (CELP) algorithm, STC (STC) algorithm, time-frequency interpolation coding(TFI) algorithm, pitch synchronous excited linear prediction encoding (PSELP) algorithm, Multi-Band Excitation (MBE) algorithm, waveform interpolationEncode any one in the speech coding algorithms such as (WI) algorithm.
For example, by taking AMR algorithms as an example, processing module 20 is compressed coding using AMR algorithms to the voice messaging of collection,To reduce the code check of voice messaging to preset value, and generate the voice document of AMR forms.AMR can use from 6.6kb/s to23.85kb/s is encoded for nine kinds totally, the preferred lowest bit rate 6.6kb/s of preset value.So as to greatly reduce the code check of voice messaging, subtractThe small capacity of voice document, saves the bandwidth resources of satellite mobile communication network, and then realize the real-time intercommunication of low time delay.
And for example, by taking MELP algorithms as an example, processing module 20 is compressed volume using MELP algorithms to the voice messaging of collectionCode, to reduce the code check of voice messaging to 2.4kb/s, and generates the voice document of MELP forms.So as to greatly reduce voiceThe code check of information, reduces the capacity of voice document, saves the bandwidth resources of satellite mobile communication network, and then when realizing lowProlong real-time intercommunication.
Sending module 30:For sending the first voice document to server, so that server sends the first voice documentTo opposite end.
In the embodiment of the present invention, sending module 30 is preferred to use ICP/IP protocol divided stator frame voice document to server.That is, the first voice document is divided into multiple voice packets by sending module 30, multiple voice packets are sent out successively in sequenceGive server.Server is received after multiple voice packets, according to the origin identification and end of identification of voice packet, voice packet is suitableSequence deposit caching, constitutes a voice document, that is, restores the first voice document.
Each voice packet is an ICP/IP protocol bag, and the composition of ICP/IP protocol bag is as follows:
| --- --- packet header --- --- | ----inclusion length ----| --- --- -- inclusion --- --- -- |
Sending module 30 can be arranged the definition in packet header from server and (such as set different marks), server pairThe packet header of ICP/IP protocol bag is parsed, and the network for distinguishing transmission voice document is satellite mobile communication network or the publicLand mobile communication network network, that is to say, that distinguish transmitting terminal transmission voice document for Low-ratespeech coding file stillNormal speech encodes file.
The voice intercom device of the embodiment of the present invention, keeps length to be connected by satellite mobile communication network with server, andProcessing is compressed to the voice messaging of collection using Low-Rate-Speech-Coding Algorithm, so as to greatly reduce the code of voice messagingRate, reduces the capacity of the voice document of transmission, saves the bandwidth resources of satellite mobile communication network, and then realizes low time delayReal-time intercommunication, solving the mobile terminal based on satellite mobile communication in the prior art can not be realized in fact using instant messaging applicationWhen speech talkback technical problem, improve Consumer's Experience.
Further, as shown in figure 4, in the voice intercom device second embodiment of the present invention, the device also includes obtainingModulus block 40 and output module 50, acquisition module 40 are used to obtain the second voice document that opposite end is sent from server, export mouldBlock 50 is used to export the second voice document.
In the embodiment of the present invention, server preferably sends the download address of the second voice document to mobile terminal.Now, obtainModulus block 40 as shown in figure 5, including receiving unit 41 and download unit 42, receiving unit 41 be used for that the reception server to send theThe download address of two voice documents, download unit 42 is used to download the second voice document according to download address.
In other embodiments, server can also be literary to the voice of mobile terminal divided stator frame second using ICP/IP protocolSecond voice document is divided into multiple voice packets by part, i.e. server, and multiple voice packets are sent into movement successively in sequenceTerminal.Acquisition module 40 receives multiple voice packets, and according to the origin identification and end of identification of voice packet, voice packet order is depositedEnter caching, constitute a voice document, that is, restore the second voice document.
As shown in fig. 6, output module 50 includes judging unit 51 and broadcast unit 52, wherein:Judging unit 51 is used to sentenceWhether disconnected second voice document is Low-ratespeech coding file;Broadcast unit 52 is used for when the second voice document is low rate languageWhen sound encodes file, the second voice document is decoded using low-bit-rate speech coding decoding algorithm by low-bit-rate speech coding decoderAfter played;When the second voice document is that normal speech encodes file, by wideband speech decoder to the second voice textPart is played after being decoded.
Judging unit 51 can judge whether it is Low-ratespeech coding by the identification information of the second voice documentFile, the identification information can be arranged at the packet header of the voice packet of the second voice document.
For example, when the identification information of the second voice document is the first mark, judging unit 51 judges second voice textPart is Low-ratespeech coding file;When the identification information of the second voice document is the second mark, judging unit 51 judges shouldSecond voice document is that normal speech encodes file.
And for example, when the identification information of the second voice document is the first mark, judging unit 51 judges second voice textPart is Low-ratespeech coding file;When the identification information of the second voice document is empty (not identifying), judging unit 51Judge that second voice document encodes file as normal speech.Or, vice versa.
The voice intercom device of the present embodiment, obtains the second voice document by downloading mode, reduces speech talkbackTime delay, improves Consumer's Experience.The second voice document is decoded by using low-bit-rate speech coding decoding algorithm, realize withThe mobile terminal for accessing satellite mobile communication network carries out speech talkback.
The present invention proposes a kind of mobile terminal simultaneously, and the mobile terminal includes memory, processor and at least one quiltIt is stored in the memory and is configured as by the application program of the computing device, the application program is configured as usingIn execution speech talkback method.The speech talkback method comprises the following steps:Pass through satellite mobile communication network and serverKeep long connection;The voice messaging of collection is compressed using Low-Rate-Speech-Coding Algorithm and handles and generate the first voice textPart;First voice document is sent to the server, is connect so that first voice document is sent to by the serverReceiving end.Speech talkback method described in the present embodiment is the speech talkback method involved by above-described embodiment in the present invention,It will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described hereinOr multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be includedKnown device in machine.These equipment have the computer program being stored in it, and these computer programs are optionally activatedOr reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable toStorage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited toAny kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to depositReservoir), RAM (RandomAccess Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM), flash memory, magnetic card or light card.It is, readableMedium includes any medium for storing or transmitting information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/orThe combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is ledField technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or otherThe processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methodsThe scheme that device is specified in the frame or multiple frames to perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flowStep, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present inventionKind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted.Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, schemeIt can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilizeEquivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlationsTechnical field, be included within the scope of the present invention.