CN1984353A - Method and device for mixing sound - Google Patents

Method and device for mixing sound Download PDF

Info

Publication number
CN1984353A
CN1984353A CNA2006100666732A CN200610066673A CN1984353A CN 1984353 A CN1984353 A CN 1984353A CN A2006100666732 A CNA2006100666732 A CN A2006100666732A CN 200610066673 A CN200610066673 A CN 200610066673A CN 1984353 A CN1984353 A CN 1984353A
Authority
CN
China
Prior art keywords
audio mixing
unit
mgw
subscriber
sends
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006100666732A
Other languages
Chinese (zh)
Other versions
CN1984353B (en
Inventor
汪红星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100666732A priority Critical patent/CN1984353B/en
Priority to PCT/CN2006/003205 priority patent/WO2007118379A1/en
Publication of CN1984353A publication Critical patent/CN1984353A/en
Application granted granted Critical
Publication of CN1984353B publication Critical patent/CN1984353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

The method comprises: a) media gateway controller (MGC) sends a message including signal ID to media gateway (MGW); b) according to received message, MGW makes sound mixing for the voice and call speech corresponding to the signal ID. The invention also reveals a apparatus thereof comprising: multi user units, a control unit for receiving the message including signal ID from outside and sending sound mixing control message to the playback unit; and a playback unit for receiving the sound mixing control message from the control unit and playing back audio data to at least one user unit; after the user unit receives the audio data from the playback unit and audio data from other user units, it sends it to the external user's resources.

Description

A kind of method and apparatus of realizing audio mixing
Technical field
The present invention relates to a kind of technology of playing audio mixing, particularly a kind of method and apparatus of in the separate type core network, realizing audio mixing.
Background technology
In the separate type core network of 3-G (Generation Three mobile communication system) edition 4 (R4), carrying is finished by media gateway (MGW), control is finished by Media Gateway Controller (MGC), wherein, mobile MGC controls resource or the transmission corresponding call bearer control signalling that MGW distributes carrying by the H248 agreement.Interface between described MGC and the MGW is called H248 interface or Mc interface.
Fig. 1 is a process schematic diagram of realizing common conversation in MGC and MGW, and this process comprises:
Step 101:MGC sends the message (ADD T1) of adding Calling Side grouping end points to MGW.
Step 102:MGC sends the message (ADD T2) of adding callee side grouping end points to MGW.
If exist a plurality ofly when called in the conversation, after the step 102, MGC can send the message of adding other callee sides grouping end points to MGW.Such as: have two when called, called in the step 102 is first called, and after the step 102, further comprises:
Step 102a:MGC sends the message (ADDT3) of adding second callee side grouping end points to MGW.
By process shown in Figure 1, set up conversation between each subscriber endpoints.
Fig. 2 is a MGW internal structure schematic diagram of realizing common conversation in the prior art, and this device comprises: caller unit 21, called unit 22, wherein, caller unit 21 comprises: calling endpoint T1, called unit 22 comprises: called end point T2.
Calling endpoint T1 in the caller unit 21, with the caller resource interactive voice data of outside, and with called unit 22 in called end point T2 interactive voice data.
Called end point T2 in the called unit 22, with the called resource interactive voice data of outside, and with caller unit 21 in calling endpoint T1 interactive voice data.
In the prior art, exist a plurality ofly when called, also need correspondingly to increase corresponding end points in MGW inside, and each end points need be connected with other end points by the audio mixing channel unit.
Fig. 3 is the MGW internal structure schematic diagram of Three-Way Calling in the prior art, this device comprises: caller unit 31, the first called unit 32, the second called unit 33, caller unit 31, the first called unit 32, the second called unit, 33 mutual interactive voice data, and respectively with the caller resource of outside, the first called resource, the second called resource interactive voice data, wherein, caller unit 31 comprises: calling endpoint T1, caller codec unit TC1, caller audio mixing channel unit CC1, the first called unit 32 comprises: the first called end point T2, the first called codec unit TC2, the first called audio mixing channel unit CC2, the second called unit 33 comprises: the second called end point T3, the second called codec unit TC3, the second called audio mixing channel unit CC3.
Described audio mixing channel unit CC1, audio mixing channel unit CC2, audio mixing channel unit CC3 are the audio mixing channel resource.Described codec unit TC1, codec unit TC2, codec unit TC3 are code converter, described code converter can carry out the sign indicating number conversion, such as: ATM(Asynchronous Transfer Mode) data or IP data are converted to pulse code modulation (PCM, Pulse Code Modulation) data, or the PCM data are converted to ATM data or IP data.Usually, the data that calling endpoint or called end point send to code converter are ATM data or IP data, and the data that the audio mixing channel unit sends to code converter are the PCM data.
Calling endpoint T1 in the caller unit 31, with the caller resource interactive voice data of outside, and with caller codec unit TC1 interactive voice data.
Caller codec unit TC1 in the caller unit 31 receives the speech data that calling endpoint T1 sends, and carries out after sign indicating number changes, send to caller audio mixing channel unit CC1, receive the speech data that caller audio mixing channel unit CC1 sends, carry out sending to calling endpoint T1 after sign indicating number changes.
Caller audio mixing channel unit CC1 in the caller unit 31, after receiving the speech data of caller codec unit TC1 transmission, be transmitted to the first called audio mixing channel unit CC2 and the second called audio mixing channel unit CC3, after receiving the speech data of the first called audio mixing channel unit CC2 and the second called audio mixing channel unit CC3 transmission, be transmitted to caller codec unit TC1.
The first called end point T2 in the first called unit 32 is with the first called resource interactive voice data of outside, after the first called codec unit TC2 interactive voice data.
The first called codec unit TC2 in the first called unit 32, receive the speech data that the first called end point T2 sends, after carrying out the sign indicating number conversion, send to the first called audio mixing channel unit CC2, receive the speech data that the first called audio mixing channel unit CC2 sends, after carrying out the sign indicating number conversion, send to the first called end point T2.
The first called audio mixing channel unit CC2 in the first called unit 32, after receiving the speech data of the first called codec unit TC2 transmission, be transmitted to the caller audio mixing channel unit CC1 and the second called audio mixing channel unit CC3, after receiving the speech data of the caller audio mixing channel unit CC1 and the second called audio mixing channel unit CC3 transmission, be transmitted to the first called codec unit TC2.
The second called end point T3 in the second called unit 33 is with the second called resource interactive voice data of outside, with the second called codec unit TC3 interactive voice data.
The second called codec unit TC3 in the second called unit 33, receive the speech data that the second called end point T3 sends, after carrying out the sign indicating number conversion, send to the second called audio mixing channel unit CC3, receive the speech data that the second called audio mixing channel unit CC3 sends, after carrying out the sign indicating number conversion, send to the second called end point T3.
The second called audio mixing channel unit CC3 in the second called unit 33, after receiving the speech data of the second called codec unit TC3 transmission, be transmitted to the caller audio mixing channel unit CC1 and the first called audio mixing channel unit CC2, after receiving the speech data of the caller audio mixing channel unit CC1 and the first called audio mixing channel unit CC2 transmission, be transmitted to the second called codec unit TC3.
Fig. 2, MGW device shown in Figure 3 can be supported normal talking, i.e. ordinary call.
In the separate type core network, some application need provides audio mixing, promptly the certain user in the conversation when hearing the background sound that MGW plays can with other user's normal talkings.Common audio mixing is used has call waiting and mobile pre-paying prompting in the end minute user balance seldom to wait business, and these two kinds of business can not influence user's communication when all needing to play background music.
In the separate type core network, also do not provide the scheme of audio mixing at present.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that realizes audio mixing, can solve the problem that audio mixing is provided in the separate type core network.
Main purpose of the present invention is to provide a kind of device of realizing audio mixing, can solve the problem that audio mixing is provided in the separate type core network.
Technical scheme of the present invention is achieved in that
A kind of method that realizes audio mixing, the method includes the steps of:
A, media gateway controller MGC send the message that comprises signal identification to media gateway MGW;
B, MGW carry out audio mixing according to the message of receiving to the voice and the conversation voice of signal identification correspondence.
The message that the described basis of step B is received is carried out audio mixing and is specially:
B11, MGW judge whether the signal identification of receiving is the pairing signal identification in playback source that needs audio mixing, if, needing then to be defined as the corresponding speech data of audio mixing play signal sign, and execution in step B12, otherwise the voice to the signal identification correspondence do not carry out audio mixing, and finish this handling process;
B12, MGW judge whether self structure supports audio mixing, if then the voice and the conversation voice of signal identification correspondence are carried out audio mixing; Otherwise the voice to the signal identification correspondence do not carry out audio mixing.
The described playback source of audio mixing that needs is: MGW is preconfigured to needs the playback of audio mixing source.
The described message of steps A further comprises: play the audio mixing indication;
The message that the described basis of step B is received is carried out audio mixing and is specially:
B21, MGW judge in the broadcast audio mixing indication of receiving whether comprise the information that need carry out audio mixing, if, needing then to be defined as the corresponding speech data of audio mixing play signal sign, and execution in step B22, otherwise the voice to the signal identification correspondence do not carry out audio mixing, and finish this handling process;
B22, MGW judge whether self structure supports audio mixing, if then the voice and the conversation voice of signal identification correspondence are carried out audio mixing; Otherwise the voice to the signal identification correspondence do not carry out audio mixing.
MGC is before MGW sends the indication of broadcast audio mixing, and this method further comprises: MGC sends the message of adding at least two subscriber endpoints to MGW; Set up conversation at least between described two subscriber endpoints.
Further comprise in the described broadcast audio mixing indication: the subscriber endpoints that receives the voice of playing;
Among the step B22, when needing being defined as audio mixing to play, MGW is to the corresponding voice of described subscriber endpoints audio mixing play signal sign.
MGC is after MGW sends the indication of broadcast audio mixing, and this method further comprises: MGC sends to MGW and stops to play the voice indication;
After MGW receives and stops to play the voice indication, stop the corresponding voice of play signal sign.
MGC is after MGW sends the indication of broadcast audio mixing, and this method further comprises: MGC sends to MGW and stops to play the voice indication;
Describedly stop to play voice indications and comprise: the subscriber endpoints that stops to play voice;
After MGW receives and stops to play the voice indication, stop to the corresponding voice of described subscriber endpoints play signal sign.
A kind of realize audio mixing device, comprise: a plurality of subscriber units, interactive voice data between a plurality of subscriber units, a plurality of subscriber units respectively with the outside different user resource interactive voice data that are connected with self of this device, this device further comprises: control unit, playback unit;
Control unit receives the outside message that comprises signal identification of this device, sends the audio mixing control information to the playback unit;
The playback unit receives the audio mixing control information that control unit sends, and sends speech data at least one subscriber unit;
Each unit in described at least one subscriber unit after the speech data that the speech data that reception playback unit sends and all the other subscriber units send carries out audio mixing, sends to the outside user resources that are connected with self of this device with the speech data behind the audio mixing.
Described each subscriber unit comprises: subscriber endpoints, user's codec unit, user's audio mixing channel unit; Described playback unit comprises: playback source unit, playback source codec unit, playback source audio mixing channel unit;
User's audio mixing channel unit of described each subscriber unit, the user's audio mixing channel unit that receives speech data that the playback source audio mixing channel unit of playback unit sends and all the other subscriber units sends speech data carry out audio mixing after, the speech data behind the audio mixing is sent to user's codec unit of self subscriber unit; After receiving the speech data that user's codec unit of self subscriber unit sends, be transmitted to user's audio mixing channel unit of all the other subscriber units;
User's codec unit of described each subscriber unit receives the speech data that user's audio mixing channel unit of self subscriber unit sends, and carries out sending to after the sign indicating number conversion subscriber endpoints of self subscriber unit; Receive the speech data that the subscriber endpoints of self subscriber unit sends, carry out sending to after the sign indicating number conversion user's audio mixing channel unit of self subscriber unit;
The subscriber endpoints of described each subscriber unit is with user's codec unit interactive voice data of self subscriber unit; With the outside user resources interactive voice data that are connected with self of this device;
The playback source unit of playback unit receives the audio mixing control information that control unit sends, and sends speech data to playback source codec unit;
The playback source codec unit of playback unit receives the speech data that the playback unit sends, and carries out sending to playback source audio mixing channel unit after the sign indicating number conversion;
The playback source audio mixing channel unit of playback unit receives the speech data that playback source codec unit sends, and is transmitted to user's audio mixing channel unit of described at least one subscriber unit;
User's audio mixing channel unit of described at least one subscriber unit, receive the speech data that the playback source audio mixing channel unit of playback unit sends after, be transmitted to user's codec unit of self subscriber unit.
The present invention has following beneficial effect:
1) passes through in the separate type core network among the present invention, MGC sends the message that comprises signal identification (SIGNAL ID) to MGW, MGW receives to be judged to be to comprise in the message of receiving after the message and need carry out the indication of audio mixing, or the voice of SIGNAL ID correspondence are self pre-configured special sound that needs audio mixing, then MGW determines to carry out audio mixing, otherwise MGW is defined as not needing to carry out audio mixing.When MGW is defined as carrying out audio mixing,, no matter be that MGC indication MGW need play audio mixing, or MGW configuration special sound is an audio mixing, does not all carry out audio mixing then if the internal structure of MGW is not supported audio mixing.The invention solves the problem that audio mixing is provided in the separate type core network, and can realize audio mixing flexibly.
2) because the audio mixing business can be provided, enriched service application in the separate type core network.
3) among the present invention, MGC can comprise the information that need carry out audio mixing or not need to carry out audio mixing to the broadcast audio mixing indication that MGW sends, and MGW can determine whether to carry out audio mixing according to the information in the broadcast audio mixing indication of receiving; Whether MGW can be that the special sound of self pre-configured needs audio mixing determines whether to carry out audio mixing according to the voice of the SIGNAL ID correspondence of receiving also; When MGW is defined as carrying out audio mixing,, then do not carry out audio mixing if the MGW internal structure is not supported audio mixing; Therefore realize among the present invention that the method for audio mixing can realize audio mixing flexibly.
4) the invention provides the MGW device that to realize audio mixing, in this device, MGW to the audio mixing channel resource that is linked into the user side that needs the reception audio mixing, does not influence the normal talking with other users with the background sound folk prescription when making the user side that receives audio mixing hear background sound.
Description of drawings
Fig. 1 is a process schematic diagram of realizing common conversation in the prior art in MGC and MGW;
Fig. 2 is at the MGW internal structure schematic diagram of realizing common conversation in the prior art;
Fig. 3 is a MGW internal structure schematic diagram of realizing Three-Way Calling in the prior art;
Fig. 4 is a process schematic diagram of realizing audio mixing in the embodiment of the invention 1 in MGC and MGW;
Fig. 5 is a process schematic diagram of realizing audio mixing in the embodiment of the invention 2 in MGC and MGW;
Fig. 6 is a MGW internal structure schematic diagram of realizing audio mixing in the embodiment of the invention.
Embodiment
Core concept of the present invention is: media gateway controller MGC sends the message that comprises SIGNAL ID to media gateway MGW; MGW carries out audio mixing according to the message of receiving to the voice and the conversation voice of SIGNAL ID correspondence.
The information that described MGC sends can comprise: SIGNAL ID, or SIGNAL ID and the indication of broadcast audio mixing.
The MGW device that can realize audio mixing among the present invention comprises: comprise: a plurality of subscriber units, interactive voice data between a plurality of subscriber units, a plurality of subscriber units respectively with the outside different user resource interactive voice data that are connected with self of this device, this device further comprises: control unit, playback unit; Control unit receives the outside message that comprises SIGNAL ID of this device, sends the audio mixing control information to the playback unit; The playback unit receives the audio mixing control information that control unit sends, and sends speech data at least one subscriber unit; Each unit in described at least one subscriber unit behind the speech data that the speech data that reception playback unit sends and all the other subscriber units send, sends to the outside user resources that are connected with self of this device.
Following with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Embodiment 1:
In the present embodiment, the information that MGC sends comprises: SIGNAL ID.Present embodiment is, defines some special sounds by configuration and need play by the audio mixing mode and realize audio mixing on MGW.
Fig. 4 is a process schematic diagram of realizing audio mixing in the embodiment of the invention, and this process comprises:
Step 401:MGC sends the message that comprises SIGNAL ID to MGW.
In the step 401, MGC sends the message that comprises SIGNAL ID to MGW.
In the step 401, MGC can send the message comprise SIGNAL ID to MGW under many circumstances, normally MGC be defined as allowing the user hear SIGNAL ID correspondence voice the time, issue described message to MGW.
Step 402~step 404:MGW judges whether the SIGNAL ID that receives is self pre-configured pairing SIGNAL ID in the playback source that needs audio mixing, if, needing then to be defined as audio mixing to play the speech data of SIGNAL ID correspondence, otherwise to be defined as not needing to carry out audio mixing.
The described pre-configured method that needs the playback source of audio mixing, be specifically as follows: MGW selects some speech data in advance, and is appointed as and needs the playback of audio mixing source, and be provided with described playback source attribute, need to play the subscriber endpoints of audio mixing etc.The method of concrete configuration can have multiple, need carry out audio mixing as long as can allow MGW identify which playback source after the configuration to which or which subscriber endpoints corresponding to which SINGAL ID and this playback source.
Behind the speech data that MGW is defined as needing audio mixing to play SIGNAL ID correspondence in the step 404, MGW can judge whether self structure supports audio mixing, if then the voice and the conversation voice of SIGNAL ID correspondence are carried out audio mixing; Otherwise the voice to SIGNAL ID correspondence do not carry out audio mixing.
Described conversation voice typically refers to the conversation voice between the user.
Embodiment 2:
In the present embodiment, the information that MGC sends comprises: SIGNAL ID, the indication of broadcast audio mixing.
Fig. 5 is a process schematic diagram of realizing audio mixing in the embodiment of the invention, and this process comprises:
Step 501:MGC sends the message that comprises SIGNAL ID and play the audio mixing indication to MGW.
In the step 501, MGC sends the message that comprises SIGNAL ID and play the audio mixing indication to MGW.
In the step 501, MGC can send the message comprise SIGNAL ID to MGW under many circumstances, normally MGC be defined as allowing the user hear SIGNAL ID correspondence voice the time, issue described message to MGW.
As for playing the audio mixing indication, normally for some playback sources that needs audio mixing, by being whether the SIGNAL ID of the described playback of expansion source correspondence in the Mc interface needs the parameter of audio mixing to indicate at the H248 interface based on customization.Described parameter can be carried a new attribute at new bag of H248 interface expansion and be realized that corresponding, the H248 interface of playing the audio mixing indication is as follows:
Audio mixing indication bag (Mix Tone Indication Package) definition:
Bag sign (PackageID): MixToneInd (bag ID value is undetermined)
Version (Version): 1
Expansion (Extends): None
Described audio mixing package definition the professional needed attribute of expansion audio mixing, incident, process etc. between MGW and the MGC.Wherein, the attribute (Properties) of described audio mixing indication bag is:
Audio mixing indication (Mix Tone indication):
Attribute-bit (PropertyID): MixIndication (0 * 0001)
Describe (Description): definition Mix Tone indication attribute is used to refer to specific SIGNAL ID and whether carries out audio mixing.Require MGC when issuing broadcast sound SIGNAL descriptor, to carry this attribute and indicate whether that this broadcast sound needs audio mixing to play.If MGC does not carry this attribute when issuing broadcast sound SIGNAL descriptor, then be expressed as not indicate and carry out audio mixing, specifically whether audio mixing is controlled by MGW.
Type (Type): integer (integer)
Probable value (Possible Values):
" TRUE " (0x0001) need carry out audio mixing.
" FALSE " (0x0002) do not need to carry out audio mixing.
Acquiescence (Default): " FALSE " (0x0002) do not need to carry out audio mixing.
Be defined in (Defined in): Local Control descriptor
Characteristic (Characteristics): Read/Write
Such as: when MGC is judged as and needs audio mixing, drives to the end points of certain user side such as Calling Side and play audio mixing, and the SIGNAL ID of described broadcast sound is SignalId1, then play the audio mixing indication concrete form can for:
MOD?T1(LocalControl{MixIndication=TRUE},Signals{SignalId1})
Wherein, MOD T1 represents to play audio mixing to the Calling Side end points.
Step 502~step 504:MGW judges in the broadcast audio mixing indication of receiving whether comprise the information that need carry out audio mixing, if needing then to be defined as audio mixing to play the speech data of SIGNAL ID correspondence, otherwise not needing to be defined as carrying out audio mixing.
Such as: the concrete form of the broadcast audio mixing indication that MGW receives is:
MOD?T1(LocalControl{MixIndication=TRUE},Signals{SignalId1})
Then, MGW is defined as playing to Calling Side end points audio mixing the speech data of SignalId1 correspondence.
In the practical application, further comprise the step that MGC indication MGW adds calling subscriber's side grouping end points before the step 501 usually, be specially:
Step 501a:MGC sends the message (ADD T1) of adding Calling Side grouping end points to MGW.
Between step 501a and the step 501, further comprise the step that MGC indication MGW adds called subscriber's side grouping end points, if there are a plurality of called subscribers, then MGC indicates MGW to add each called subscriber's side grouping end points one by one, comprise the process when having two called subscribers among Fig. 5, be specially:
Step 501b:MGC sends the message (ADDT2) of adding first callee side grouping end points to MGW.
Step 501c:MGC sends the message (ADDT3) of adding second callee side grouping end points to MGW.
By process shown in step 501a~step 501c, set up conversation between each subscriber endpoints.
If in the step 501, MGC indication MGW need carry out audio mixing, then inclusion: MGC indication MGW indication stopping to play audio mixing indication usually after the step 501.
MGW receives that MGC sends stop to play the audio mixing indication after, can stop to play audio mixing usually.
Describedly stop to play audio mixing indication usually when the H248 interface is realized, the concrete form of message can for:
MOD?T1(Signals{})
MGW receive described stop to play audio mixing indication after, can stop to play voice usually to main dialing user point broadcast.
If in the step 501, MGC indication MGW does not need to carry out audio mixing, then can comprise usually after the step 501 yet: the indication of MGC indication MGW indication stopping to play voice.
MGW receives that MGC sends stop to play the voice indication after, can stop to play audio mixing usually.
After the step 504, MGW can judge whether self structure supports audio mixing, if then the voice and the conversation voice of SIGNAL ID correspondence are carried out audio mixing; Otherwise the voice to SIGNAL ID correspondence do not carry out audio mixing.
Among embodiment 1, the embodiment 2, the MGW device internal structure that can realize audio mixing as shown in Figure 6, this device mainly comprises: 61, the first called unit 62, caller unit, control unit 60, playback unit 63.Exist a plurality of called such as two when called in the conversation, the MGW device can also comprise: the second called unit 64, wherein, caller unit 61 comprises: calling endpoint T1, caller codec unit TC1, caller audio mixing channel unit CC1, the first called unit 62 comprises: the first called end point T2, the first called codec unit TC2, the first called audio mixing channel unit CC2, playback unit 63 comprises: playback source unit 631, playback codec unit TC3, playback audio mixing channel unit CC3, the second called unit 64 comprises: the second called end point T4, the second called codec unit TC4, the second called audio mixing channel unit CC4.
Calling endpoint T1 in the caller unit 61, with the caller resource interactive voice data of outside, and with caller codec unit TC1 interactive voice data.
Caller codec unit TC1 in the caller unit 61 receives the speech data that calling endpoint T1 sends, and carries out after sign indicating number changes, send to caller audio mixing channel unit CC1, receive the speech data that caller audio mixing channel unit CC1 sends, carry out sending to calling endpoint T1 after sign indicating number changes.
Caller audio mixing channel unit CC1 in the caller unit 61, after receiving the speech data of caller codec unit TC1 transmission, be transmitted to the first called audio mixing channel unit CC2 and the second called audio mixing channel unit CC4, receive the first called audio mixing channel unit CC2 and the second called audio mixing channel unit CC4, and behind the speech data of playback audio mixing channel unit CC3 transmission, be transmitted to caller codec unit TC1.
The first called end point T2 in the first called unit 62 is with the first called resource interactive voice data of outside, with the first called codec unit TC2 interactive voice data.
The first called codec unit TC2 in the first called unit 62, receive the speech data that the first called end point T2 sends, after carrying out the sign indicating number conversion, send to the first called audio mixing channel unit CC2, receive the speech data that the first called audio mixing channel unit CC2 sends, after carrying out the sign indicating number conversion, send to the first called end point T2.
The first called audio mixing channel unit CC2 in the first called unit 62, after receiving the speech data of the first called codec unit TC2 transmission, be transmitted to the caller audio mixing channel unit CC1 and the second called audio mixing channel unit CC4, after receiving the speech data of the caller audio mixing channel unit CC1 and the second called audio mixing channel unit CC4 transmission, be transmitted to the first called codec unit TC2.
Control unit 60 receives the outside message that comprises SIGNAL ID of this device, and the playback source unit 631 in playback unit 63 sends the audio mixing control information.
Described control unit 60 can be defined as carrying out audio mixing according to the message of receiving usually.The message that comprises SIGNAL ID that described control unit 60 receives can be to be sent by MGC.
Playback source unit 631 in the playback unit 63 receives the audio mixing control information that control unit 60 sends, and sends speech data to playback codec unit TC3.
Described playback source unit 631 can be the playback source database of the speech data of storing required playback, also can be the playback source database interface of the playback source database of the speech data that connects the required playback of MGW exterior storage, when playback source unit 631 during for playback source database interface, the speech data that described playback source unit 631 sends to playback codec unit TC3 is that the playback source database from the outside obtains.When normally MGW was defined as carrying out audio mixing, playback source unit 631 sent the speech data of the required phonetic aspect of a dialect to playback codec unit TC3.
Playback codec unit TC3 in the playback unit 63 receives the speech data that playback source unit 631 sends, and sends speech data to playback audio mixing channel unit CC3.
Playback audio mixing channel unit CC3 in the playback unit 63 behind the speech data that reception playback codec unit TC3 sends, is transmitted to the audio mixing channel unit CC1 in the caller unit 61.
The second called end point T4 in the second called unit 64 is with second called subscriber's resource interactive voice data of outside, with the second called codec unit TC4 interactive voice data.
The second called codec unit TC4 in the second called unit 64, receive the speech data that the second called end point T4 sends, after carrying out the sign indicating number conversion, send to the second called audio mixing channel unit CC4, receive the speech data that the second called audio mixing channel unit CC4 sends, after carrying out the sign indicating number conversion, send to the second called end point T4.
The second called audio mixing channel unit CC4 in the second called unit 64, after receiving the speech data of the second called codec unit TC4 transmission, be transmitted to the caller audio mixing channel unit CC1 and the first called audio mixing channel unit CC2, after receiving the speech data of the caller audio mixing channel unit CC1 and the first called audio mixing channel unit CC2 transmission, be transmitted to the second called codec unit TC4.
Among embodiment 1, the embodiment 2, when MGW is defined as carrying out audio mixing, if but MGW does not dispose the audio mixing resource, such as: MGW does not plug audio mixing resource veneer, then, play according to normal speech for the voice of SIGNAL ID correspondence because the internal structure of MGW is not supported audio mixing.
Described MGW does not dispose the audio mixing resource and specifically is meant: among Fig. 6, if the conversation in only exist one called, promptly first when called, and MGW does not have the audio mixing resource to be meant: do not have one or more in the unit such as caller codec unit TC1, caller audio mixing channel unit CC1, the first called codec unit TC2, the first called audio mixing channel unit CC2, playback codec unit TC3, playback audio mixing channel unit CC3; If exist a plurality of calledly in the conversation, such as two when called shown in Figure 6, MGW does not have the audio mixing resource to be meant: do not have one or more in the unit such as playback codec unit TC3, playback audio mixing channel unit CC3.
Among embodiment 1, the embodiment 2, when MGW is defined as not needing to carry out audio mixing, also only play according to normal speech for the voice of SIGNAL ID correspondence.For the voice of SIGNAL ID correspondence, the concrete grammar that MGW plays according to normal speech can have multiple, and its specific implementation does not influence the scheme that realizes audio mixing among the present invention.Here, MGW is the device that MGW does not dispose the audio mixing resource according to the device of normal speech broadcast.The device that MGW plays according to normal speech can have multiple, and its specific implementation does not influence the scheme that realizes audio mixing among the present invention.
Utilize scheme of the present invention play audio mixing can for a user, play audio mixing also can for a plurality of users.
The above is preferred embodiment of the present invention only, is not to be used to limit the scope of application of the present invention.

Claims (10)

1, a kind of method that realizes audio mixing is characterized in that the method includes the steps of:
A, media gateway controller MGC send the message that comprises signal identification to media gateway MGW;
B, MGW carry out audio mixing according to the message of receiving to the voice and the conversation voice of signal identification correspondence.
2, method according to claim 1 is characterized in that, the message that the described basis of step B is received is carried out audio mixing and is specially:
B11, MGW judge whether the signal identification of receiving is the pairing signal identification in playback source that needs audio mixing, if, needing then to be defined as the corresponding speech data of audio mixing play signal sign, and execution in step B12, otherwise the voice to the signal identification correspondence do not carry out audio mixing, and finish this handling process;
B12, MGW judge whether self structure supports audio mixing, if then the voice and the conversation voice of signal identification correspondence are carried out audio mixing; Otherwise the voice to the signal identification correspondence do not carry out audio mixing.
3, method according to claim 2 is characterized in that, the described playback source of audio mixing that needs is: MGW is preconfigured to needs the playback of audio mixing source.
4, method according to claim 1 is characterized in that, the described message of steps A further comprises: play the audio mixing indication;
The message that the described basis of step B is received is carried out audio mixing and is specially:
B21, MGW judge in the broadcast audio mixing indication of receiving whether comprise the information that need carry out audio mixing, if, needing then to be defined as the corresponding speech data of audio mixing play signal sign, and execution in step B22, otherwise the voice to the signal identification correspondence do not carry out audio mixing, and finish this handling process;
B22, MGW judge whether self structure supports audio mixing, if then the voice and the conversation voice of signal identification correspondence are carried out audio mixing; Otherwise the voice to the signal identification correspondence do not carry out audio mixing.
5, method according to claim 4 is characterized in that, MGC is before MGW sends the indication of broadcast audio mixing, and this method further comprises: MGC sends the message of adding at least two subscriber endpoints to MGW; Set up conversation at least between described two subscriber endpoints.
6, method according to claim 5 is characterized in that, further comprises in the described broadcast audio mixing indication: the subscriber endpoints that receives the voice of playing;
Among the step B22, when needing being defined as audio mixing to play, MGW is to the corresponding voice of described subscriber endpoints audio mixing play signal sign.
According to each described method of claim 4 to 6, it is characterized in that 7, MGC is after MGW sends the indication of broadcast audio mixing, this method further comprises: MGC sends to MGW and stops to play the voice indication;
After MGW receives and stops to play the voice indication, stop the corresponding voice of play signal sign.
8, method according to claim 6 is characterized in that, MGC is after MGW sends the indication of broadcast audio mixing, and this method further comprises: MGC sends to MGW and stops to play the voice indication;
Describedly stop to play voice indications and comprise: the subscriber endpoints that stops to play voice;
After MGW receives and stops to play the voice indication, stop to the corresponding voice of described subscriber endpoints play signal sign.
9, a kind of realize audio mixing device, comprise: a plurality of subscriber units, interactive voice data between a plurality of subscriber units, a plurality of subscriber units respectively with the outside different user resource interactive voice data that are connected with self of this device, it is characterized in that this device further comprises: control unit, playback unit;
Control unit receives the outside message that comprises signal identification of this device, sends the audio mixing control information to the playback unit;
The playback unit receives the audio mixing control information that control unit sends, and sends speech data at least one subscriber unit;
Each unit in described at least one subscriber unit after the speech data that the speech data that reception playback unit sends and all the other subscriber units send carries out audio mixing, sends to the outside user resources that are connected with self of this device with the speech data behind the audio mixing.
10, device according to claim 9 is characterized in that, described each subscriber unit comprises: subscriber endpoints, user's codec unit, user's audio mixing channel unit; Described playback unit comprises: playback source unit, playback source codec unit, playback source audio mixing channel unit;
User's audio mixing channel unit of described each subscriber unit, the user's audio mixing channel unit that receives speech data that the playback source audio mixing channel unit of playback unit sends and all the other subscriber units sends speech data carry out audio mixing after, the speech data behind the audio mixing is sent to user's codec unit of self subscriber unit; After receiving the speech data that user's codec unit of self subscriber unit sends, be transmitted to user's audio mixing channel unit of all the other subscriber units;
User's codec unit of described each subscriber unit receives the speech data that user's audio mixing channel unit of self subscriber unit sends, and carries out sending to after the sign indicating number conversion subscriber endpoints of self subscriber unit; Receive the speech data that the subscriber endpoints of self subscriber unit sends, carry out sending to after the sign indicating number conversion user's audio mixing channel unit of self subscriber unit;
The subscriber endpoints of described each subscriber unit is with user's codec unit interactive voice data of self subscriber unit; With the outside user resources interactive voice data that are connected with self of this device;
The playback source unit of playback unit receives the audio mixing control information that control unit sends, and sends speech data to playback source codec unit;
The playback source codec unit of playback unit receives the speech data that the playback unit sends, and carries out sending to playback source audio mixing channel unit after the sign indicating number conversion;
The playback source audio mixing channel unit of playback unit receives the speech data that playback source codec unit sends, and is transmitted to user's audio mixing channel unit of described at least one subscriber unit;
User's audio mixing channel unit of described at least one subscriber unit, receive the speech data that the playback source audio mixing channel unit of playback unit sends after, be transmitted to user's codec unit of self subscriber unit.
CN2006100666732A 2006-04-19 2006-04-19 Method and device for mixing sound Active CN1984353B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006100666732A CN1984353B (en) 2006-04-19 2006-04-19 Method and device for mixing sound
PCT/CN2006/003205 WO2007118379A1 (en) 2006-04-19 2006-11-28 A method and system of implementing called service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100666732A CN1984353B (en) 2006-04-19 2006-04-19 Method and device for mixing sound

Publications (2)

Publication Number Publication Date
CN1984353A true CN1984353A (en) 2007-06-20
CN1984353B CN1984353B (en) 2010-12-08

Family

ID=38166497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100666732A Active CN1984353B (en) 2006-04-19 2006-04-19 Method and device for mixing sound

Country Status (2)

Country Link
CN (1) CN1984353B (en)
WO (1) WO2007118379A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009030137A1 (en) * 2007-08-27 2009-03-12 Huawei Technologies Co., Ltd. Method, device and system for mixing appointed media stream in conference
CN103794216A (en) * 2014-02-12 2014-05-14 能力天空科技(北京)有限公司 Voice audio mixing processing method and device
CN105721469A (en) * 2016-02-18 2016-06-29 腾讯科技(深圳)有限公司 Audio data processing method, server, client and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2300087B (en) * 1995-04-18 1999-04-28 Ibm Voice processing system and method
JP3719057B2 (en) * 1999-08-24 2005-11-24 ヤマハ株式会社 Telephone terminal device and communication method
JP2005505008A (en) * 2001-09-28 2005-02-17 テレフオンアクチーボラゲツト エル エム エリクソン(パブル) Method and system for performing a karaoke function
GB2413457B (en) * 2003-01-27 2007-05-02 Oki Electric Ind Co Ltd Telephone communications apparatus
US20050185770A1 (en) * 2004-01-29 2005-08-25 Noel Hughes Voice interface board for providing operator services

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009030137A1 (en) * 2007-08-27 2009-03-12 Huawei Technologies Co., Ltd. Method, device and system for mixing appointed media stream in conference
CN101378430B (en) * 2007-08-27 2011-01-05 华为技术有限公司 Method, apparatus and system for mixed appointment of medium stream in conference
CN103794216A (en) * 2014-02-12 2014-05-14 能力天空科技(北京)有限公司 Voice audio mixing processing method and device
CN103794216B (en) * 2014-02-12 2016-08-24 能力天空科技(北京)有限公司 A kind of sound mixing processing method and processing device
CN105721469A (en) * 2016-02-18 2016-06-29 腾讯科技(深圳)有限公司 Audio data processing method, server, client and system
WO2017140235A1 (en) * 2016-02-18 2017-08-24 腾讯科技(深圳)有限公司 Audio data processing method, server, client and system, and storage medium
CN105721469B (en) * 2016-02-18 2019-09-20 腾讯科技(深圳)有限公司 Audio data processing method, server, client and system
US11196868B2 (en) 2016-02-18 2021-12-07 Tencent Technology (Shenzhen) Company Limited Audio data processing method, server, client and server, and storage medium

Also Published As

Publication number Publication date
CN1984353B (en) 2010-12-08
WO2007118379A1 (en) 2007-10-25

Similar Documents

Publication Publication Date Title
US6519326B1 (en) Telephone voice-ringing using a transmitted voice announcement
CN101159906B (en) Call prompting message playing method and system
JPS61201549A (en) Telephone terminal message communication system
CN101001287A (en) Voice server and voice answer method
CN100512465C (en) Method, system and apparatus for realizing echo-bell service
CN101277338A (en) Method for recording downstream voice signal of communication terminal as well as the communication terminal
CN1984353B (en) Method and device for mixing sound
CN100466529C (en) Method and system for implementing multi-media recording
US7599356B1 (en) System and method of providing a high-quality voice network architecture over IP Centrex
US20090299735A1 (en) Method for Transferring an Audio Stream Between a Plurality of Terminals
WO2007124690A1 (en) A method for realizing sound paly service and a media resource processing device
CN100563283C (en) A kind of method and system of controlling ring-back tone
CN101931614B (en) Method and system for presenting user state information during calling
WO2010130193A1 (en) Device, method for controlling audio media packet transmission and audio media server
CN101330545A (en) Ip telephone terminal and telephone conference system
US9014676B2 (en) Apparatus and method for clipshaker telecommunication service
CN105120049B (en) A kind of home gateway and its method for realizing telephonograph
JPH10215331A (en) Voice conference system and its information terminal equipment
CN100461878C (en) Method for realizing media gateway control protocol playback
KR100704411B1 (en) Method for providing call ending contents and system therefor
CN101163136B (en) Method of broadcasting telephonist number using session inceptive protocol soft terminal
CN201114293Y (en) System for accomplishing repeated playing of advanced leaving word before talking between caller and the called
CN101605182A (en) The method, system and device of application server, playing ringing tone
WO2016058436A1 (en) Port number determination processing and determination method and apparatus
CN102075640A (en) Method and system for enhancing call and integrated service open gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant