CN103780779B - The exchange method of Media Stream and the network equipment - Google Patents

The exchange method of Media Stream and the network equipment Download PDF

Info

Publication number
CN103780779B
CN103780779B CN201210401263.4A CN201210401263A CN103780779B CN 103780779 B CN103780779 B CN 103780779B CN 201210401263 A CN201210401263 A CN 201210401263A CN 103780779 B CN103780779 B CN 103780779B
Authority
CN
China
Prior art keywords
media stream
message
address
transcoding
side equipment
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.)
Active
Application number
CN201210401263.4A
Other languages
Chinese (zh)
Other versions
CN103780779A (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 CN201210401263.4A priority Critical patent/CN103780779B/en
Publication of CN103780779A publication Critical patent/CN103780779A/en
Application granted granted Critical
Publication of CN103780779B publication Critical patent/CN103780779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to exchange method and the network equipment of a kind of Media Stream.The method includes: the network equipment receives the signaling message of transmission between calling terminal and terminal called;Judging, according to signaling message, the IP address the transmission whether media stream message of correspondence is configured to set, the IP address that this sets is as the IP address of the network equipment;If it is, the IP address of setting is sent to Calling Side equipment so that Calling Side equipment sends media stream message by the IP address set to callee side equipment;And/or, the IP address of setting is sent to callee side equipment so that callee side equipment sends media stream message by the IP address set to Calling Side equipment;Calling Side equipment is another network equipment between calling terminal or calling terminal and the network equipment, and callee side equipment is another network equipment between terminal called or terminal called and the network equipment.The present invention can realize Media Stream in voice call procedure and transmit from the IP address set.

Description

The exchange method of Media Stream and the network equipment
Technical field
The present invention relates to communication technical field, particularly relate to exchange method and the network equipment of a kind of Media Stream.
Background technology
At present, by IP network phone (Voice over Internet Protocol, VoIP) Technology application is more and more extensive, and carrier network is typically by voice exchange and net association (Internet Protocol, IP) phone connection, voice exchange and extraneous connection are widely used conversation initialization association View (Session Initiated Protocol, SIP) signaling access carrier network.
Under the prior art, voice exchange docks with carrier network devices, the master under voice exchange Making phone (IP phone) call called phone (IP phone), signaling flows through main dialing telephone, exchange of speech The transmission of machine, carrier network, other voice exchanges is to called phone, and Media Stream is then directly by caller Phone transmission is to called phone, without voice exchange.Thus, under the prior art, internal master The IP address being phone can be leaked to outside cruelly by Media Stream, is unfavorable for hiding the information of main dialing telephone Intranet, And Media Stream and signaling flow away, different paths causes the configuration of fire wall to become complicated, has the biggest Limitation.
Summary of the invention
Embodiments provide exchange method and the network equipment of a kind of Media Stream, it is possible to achieve voice In calling procedure, Media Stream is from the IP address transmission set.
First aspect, embodiments provides the exchange method of a kind of Media Stream, and described method includes: The network equipment receives the signaling message of transmission between calling terminal and terminal called;
According to described signaling message, the described network equipment judges that the media stream message that described signaling message is corresponding is The no internet protocol address transmission being configured to set, described IP address is that described network sets Standby IP address;
If it is, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment Media stream message is sent to callee side equipment by the IP address of described setting;And/or, by described setting IP address be sent to described callee side equipment so that the described callee side equipment IP by described setting Address sends media stream message to Calling Side equipment;Described Calling Side equipment is specially calling terminal or described Another network equipment between calling terminal and the described network equipment, described callee side equipment is specially described Another network equipment between terminal called or described terminal called and the described network equipment.
In the implementation that the first is possible, described signaling message include described calling terminal mark or The mark of terminal called;Described judge the Media Stream report that described signaling message is corresponding according to described signaling message Whether literary composition is configured to the IP address transmission set, specifically, include according to described signaling message The mark of calling terminal or the mark of terminal called judge that the media stream message that described signaling message is corresponding is The no IP address transmission being configured to set;Or,
Described judge whether the media stream message that described signaling message is corresponding is configured according to described signaling message Transmit for the IP address by setting, specifically, judge described signaling according to the source of described signaling message Whether media stream message corresponding to message is configured to the IP address transmission set.
In conjunction with the first possible implementation of first aspect or first aspect, possible at the second In implementation, the mark of the described calling terminal included according to described signaling message or terminal called Mark judges that the IP the address whether media stream message that described signaling message is corresponding is configured to set passes Defeated specifically, according to described calling terminal mark or the mark of described terminal called, query configuration information Table, it is judged that the mark of described calling terminal or terminal called identify whether to be configured with the IP address of setting; The described source according to described signaling message judges whether the media stream message that described signaling message is corresponding is joined It is set to the IP address by setting transmit specifically, according to the source of described signaling message, query configuration is believed Breath table, it is judged that whether the source of described signaling message is configured with the IP address of setting.
In conjunction with first aspect or first aspect the first, the possible implementation of the second, the 3rd In kind possible implementation, described judge whether the media stream message that described signaling message is corresponding is configured Before transmitting for the IP address by setting, also include: receive the terminal iidentification specified or the letter specified The Media Stream making informed source corresponding is configured through the configuration message of the IP address transmission set;According to institute State configuration message, the configuration information that the IP address that described Media Stream is configured through set is transmitted is set; Described configuration information is saved in described configuration information table.
In conjunction with first aspect, in the 4th kind of possible implementation, described by the IP address of described setting After being sent to described Calling Side equipment, also include, receive Calling Side by the IP address of described setting and set The first media stream message that preparation is sent;Described first media stream message is carried out transcoding process, obtains described The second media stream message that terminal called can decode that;Described second media are sent to described callee side equipment Stream packet.
In conjunction with first aspect or the 4th kind of possible implementation of first aspect, the 5th kind of possible reality In existing mode, described the IP address of described setting is sent to described Calling Side equipment before also include, really Described first media stream message is carried out needed for transcoding processes and obtain the first internal media stream packet by fixed existence First transcoding resource, and determine that existence carries out transcoding process and obtains described first internal media stream packet The second transcoding resource needed for described second media stream message;Described described first media stream message is carried out Transcoding processes, and obtains the second media stream message that described terminal called can decode that, specifically, use institute State the first transcoding resource and described first media stream message is carried out transcoding process, obtain the described first internal matchmaker Body stream packet, and use described second transcoding resource that described first internal media stream packet is carried out at transcoding Reason, obtains described second media stream message.
In conjunction with first aspect or the 4th kind of first aspect, the 5th kind of possible implementation, the 6th In kind possible implementation, described the IP address of described setting is sent to described callee side equipment after, Also include: receive, by the IP address of described setting, the 3rd media stream message that described callee side equipment sends; Described 3rd media stream message is carried out transcoding process and obtains the fourth media that described calling terminal can decode that Stream packet;Described fourth media stream packet is sent to described Calling Side equipment.
In conjunction with first aspect or the 4th kind of second aspect, the 5th kind, the 6th kind of possible implementation, In the 7th kind of possible implementation, described described 3rd media stream message is carried out transcoding process obtain The fourth media stream packet that described calling terminal can decode that is specifically, make described 3rd media stream message Carry out transcoding process by described second transcoding resource and obtain the second internal media stream packet, in described second Portion's described first transcoding resource of media stream message use carries out transcoding process and obtains described fourth media stream report Literary composition.
Second aspect, embodiments provides a kind of network equipment, and the described network equipment includes: Receive unit, receive the signaling message of transmission between calling terminal and terminal called for receiving the network equipment, And described signaling message is transmitted to judging unit;
Judging unit, for receiving the described signaling message that described reception unit sends, the described network equipment Judge whether the media stream message that described signaling message is corresponding is configured to set according to described signaling message Fixed internet protocol address transmission, the described IP address set as the IP address of the described network equipment, And will determine that the IP address of result and described setting is transmitted to processing unit;
Processing unit, for receiving the IP address of described judged result and described setting, if described judgement Result is yes, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment leads to The IP address crossing described setting sends media stream message to callee side equipment;And/or, by described setting IP address is sent to described callee side equipment so that the described callee side equipment IP address by described setting Media stream message is sent to Calling Side equipment;Described Calling Side equipment is specially calling terminal or described caller Another network equipment between terminal and the described network equipment, described callee side equipment is specially described called Another network equipment between terminal or described terminal called and the described network equipment.
In the implementation that the first is possible, described signaling message include described calling terminal mark or The mark of terminal called;Described judging unit is specifically for, the caller included according to described signaling message The mark of terminal or the mark of terminal called judge whether the media stream message that described signaling message is corresponding is joined It is set to the IP address by setting transmit;Or,
Described judging unit specifically for, judge described signaling message pair according to the source of described signaling message Whether the media stream message answered is configured to the IP address transmission set.
In conjunction with the first possible implementation of first aspect or first aspect, possible at the second In implementation, described judging unit specifically for, according to the mark or described called of described calling terminal The mark of terminal, query configuration information table, it is judged that the mark of described calling terminal or the mark of terminal called Whether it is configured with the IP address of setting;Or, specifically for, according to the source of described signaling message, look into Ask configuration information table, it is judged that whether the source of described signaling message is configured with the IP address of setting.
In conjunction with first aspect or first aspect the first, the possible implementation of the second, the 3rd Planting in possible implementation, the described network equipment also includes arranging unit, memory element;Described reception Unit is additionally operable to, and receives and is joined by Media Stream corresponding to the terminal iidentification specified or the signaling message source specified It is set to the configuration message that the IP address by setting is transmitted, and sets described in the transmission extremely of described configuration message Put unit;Described unit is set, for receiving the described configuration message that described reception unit sends, according to Described configuration message, arranges the configuration information that the IP address that described Media Stream is configured through set is transmitted, And by the transmission of described configuration information to described memory element;Described memory element, be used for receiving described in set Put the described configuration information that unit sends, described configuration information is saved in described configuration information table.
In conjunction with first aspect, in the 4th kind of possible implementation, the described network equipment also includes transcoding Unit, transmitting element;Described reception unit is additionally operable to, and receives Calling Side by the IP address of described setting The first media stream message that equipment sends, and by described first media stream message transmission to described transcoding list Unit;Described transcoding units, for receiving the described first media message stream that described reception unit sends, right Described first media stream message carries out transcoding process, obtains the second media that described terminal called can decode that Stream packet, with by described second media stream message transmission extremely described transmitting element;Described transmitting element, uses In receiving described second media stream message that described transcoding units sends, send institute to described callee side equipment State the second media stream message.
In conjunction with first aspect or the 4th kind of possible implementation of first aspect, the 5th kind of possible reality In existing mode, the described network equipment also includes, determines unit, is used for determining that existence is to described first media Stream packet carries out transcoding and processes the first transcoding resource obtaining needed for the first internal media stream packet, and really Fixed existence carries out transcoding process and obtains described second media stream message institute described first internal media stream packet The the second transcoding resource needed, and by described first transcoding resource and described second transcoding resource transmission to institute State transcoding units;Described transcoding units specifically for, determine that unit determines have described first turn described When code resource and described second transcoding resource, use described first transcoding resource to described first Media Stream report Literary composition carries out transcoding process, obtains described first internal media stream packet, and uses described second transcoding resource Described first internal media stream packet is carried out transcoding process, obtains described second media stream message.
In conjunction with first aspect or the 4th kind of first aspect, the 5th kind of possible implementation, the 6th Planting in possible implementation, described reception unit is additionally operable to, and receives institute by the IP address of described setting State the 3rd media stream message that callee side equipment sends, by described 3rd media stream message transmission to described turn Code unit;Described transcoding units, for receiving described 3rd media stream message that described reception unit sends, Described 3rd media stream message is carried out transcoding process and obtains the fourth media that described calling terminal can decode that Stream packet, and by the transmission of described fourth media stream packet to described transmitting element;Described transmitting element, For receiving the described fourth media stream packet that described transcoding units sends, send to described Calling Side equipment Described fourth media stream packet.
In conjunction with first aspect or the 4th kind of second aspect, the 5th kind, the 6th kind of possible implementation, In the 7th kind of possible implementation, described transcoding units specifically for, to described 3rd Media Stream report Literary composition uses described second transcoding resource to carry out transcoding and processes and obtain the second internal media stream packet, to described the The two described first transcoding resources of internal media stream packets use carry out transcoding process and obtain described fourth media stream Message.
In the embodiment of the present invention, when calling terminal and terminal called carry out signaling flow and message flow mutual, The network equipment receives the signaling message of transmission between calling terminal and terminal called;The described network equipment according to Described signaling message judges whether the media stream message that described signaling message is corresponding is configured to setting Internet protocol address transmits, and described IP address is the IP address of the described network equipment;If it is, The IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment is by described setting IP address to callee side equipment send media stream message;And/or, the IP address of described setting is sent To described callee side equipment so that described callee side equipment is set to Calling Side by the IP address of described setting Preparation send media stream message;Described Calling Side equipment is specially calling terminal or described calling terminal with described Another network equipment between the network equipment, described callee side equipment is specially described terminal called or described Another network equipment between terminal called and the described network equipment.Thus, the embodiment of the present invention achieves In voice call procedure, Media Stream flows in and out from the IP address set, it is simple to the configuration of fire wall.
Accompanying drawing explanation
A kind of application scenarios schematic diagram of the exchange method of the Media Stream that Fig. 1 provides for the embodiment of the present invention;
The Another Application scene schematic diagram of the exchange method of the Media Stream that Fig. 2 provides for the embodiment of the present invention;
The exchange method flow chart of a kind of Media Stream that Fig. 3 provides for the embodiment of the present invention;
The method flow that a kind of Media Stream that Fig. 4 provides for the embodiment of the present invention is the most mutual Figure;
A kind of network equipment schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The schematic diagram of another network equipment that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
In below describing, in order to illustrate rather than in order to limit, it is proposed that such as particular system structure, connect The detail of mouth, technology etc, in order to thoroughly cut and understand the present invention.But, those skilled in the art It should be clear that the present invention can also be realized in the other embodiments do not have these details.At other In situation, omit the detailed description to well-known device, circuit and method, so as not to unnecessary Details hinders description of the invention.
A kind of application scenarios schematic diagram of the exchange method of the Media Stream that Fig. 1 provides for the embodiment of the present invention. As it is shown in figure 1, the exchange method of the Media Stream of embodiment of the present invention offer is when reality is applied, as one Kind of new Media Stream exchange method can be applicable to calling terminal and time terminal called carries out voice call, caller Terminal and terminal called at least side is the scene being connected to voice exchange by IP mode.Caller is eventually End was all connected with voice exchange A with terminal called, for this scene, calling terminal and called end End when carrying out the transmission of signaling message, voice exchange according to this signaling message judge calling terminal or Terminal called requires that the Media Stream that this signaling message is corresponding all flows in and out from the IP address set, then will The IP address set is sent to calling terminal and/or terminal called, so that calling terminal and terminal called IP address by this setting carries out the transmission of Media Stream.Thus, the embodiment of the present invention can also realize main Signaling flow mutual between terminal and terminal called and Media Stream is made to be flowed into and stream by the IP address set Go out, it is simple to the configuration of fire wall.
The Another Application scene schematic diagram of the exchange method of the Media Stream that Fig. 2 provides for the embodiment of the present invention. As it is shown in figure 1, the exchange method of the Media Stream of embodiment of the present invention offer is when reality is applied, as one Kind of new Media Stream exchange method can be applicable to calling terminal and time terminal called carries out voice call, voice Between switch A and voice exchange B, between voice exchange A and calling terminal, voice exchange B And between terminal called at least one be the scene being attached by IP mode.Calling terminal and voice Switch A is connected, and terminal called is connected with voice exchange B, and voice exchange A and voice are handed over The B that changes planes is connected, and for this scene, calling terminal is when initiating calling to terminal called, and voice is handed over The A that changes planes will receive the signaling message of this calling, and voice exchange judges caller according to this signaling message Terminal or terminal called require that Media Stream and signaling flow all flow in and out from the IP address set, language The IP address of described setting is sent to calling terminal by sound switch A, and/or by the IP address of this setting Send to the voice exchange B being connected with terminal called, so that calling terminal and terminal called are set by this Fixed IP address carries out the transmission of Media Stream.Thus, the embodiment of the present invention can also realize calling terminal and Signaling flow mutual between terminal called and Media Stream are flowed in and out by the IP address set, it is simple to anti- The configuration of wall with flues.
Only describe the exchange method of the Media Stream that the embodiment of the present invention provides above and two kinds of device are answered By scene, but above-mentioned scene is not limited to protection scope of the present invention.The embodiment of the present invention provides The exchange method of Media Stream and device can realize the Media Stream between calling terminal and terminal called and letter Order stream is all flowed in and out by the IP address set, it is simple to the configuration of fire wall.
The embodiment of the present invention is for the defect of the exchange method of Media Stream under prior art, it is provided that a kind of matchmaker The exchange method of body stream and the network equipment.Signaling flow and message flow is carried out at calling terminal and terminal called Time mutual, the network equipment receives the signaling message of transmission between calling terminal and terminal called;Described network According to described signaling message, equipment judges whether the media stream message that described signaling message is corresponding is configured to lead to Crossing the internet protocol address transmission set, described IP address is the IP address of the described network equipment; If it is, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment passes through The IP address of described setting sends media stream message to callee side equipment;And/or, by the IP of described setting Address be sent to described callee side equipment so that described callee side equipment by the IP address of described setting to Calling Side equipment sends media stream message;Described Calling Side equipment is specially calling terminal or described caller is whole Another network equipment between end and the described network equipment, described callee side equipment is specially described called end Another network equipment between end or described terminal called and the described network equipment.Thus, the present invention implements Example achieves Media Stream in voice call procedure and flows in and out from the IP address set, it is simple to fire wall Configuration.
The exchange method flow chart of a kind of Media Stream that Fig. 3 provides for the embodiment of the present invention.This embodiment Executive agent is the network equipment, which describes in detail that voice exchange carries out voice communication at calling terminal Time make Media Stream mutual between calling terminal and terminal called by the side that is transmitted, IP address set Method.Wherein, the network equipment can be specifically voice exchange.As it is shown on figure 3, the present embodiment include with Lower step:
Step 301, the network equipment receives the signaling message of transmission between calling terminal and terminal called.
When calling terminal initiates audio call to terminal called, the net between calling terminal and terminal called Network equipment will receive signaling message.This signaling message can carry the mark of calling terminal and/or called The mark of terminal.
Wherein, when calling terminal sends signaling message to terminal called, this network equipment can be and master It is the voice exchange that terminal is connected, when terminal called sends signaling message to calling terminal, this net Network equipment can be the voice exchange being connected with terminal called.It should be noted that calling terminal and Terminal called can be connected on same voice exchange, it is also possible to is connected to different voices and hands over On changing planes.
Step 302, the described network equipment judges, according to described signaling message, the media that described signaling message is corresponding Whether stream packet is configured to the internet protocol address transmission set, and described IP address is institute State the IP address of the network equipment.
According to signaling message, the network equipment judges whether media stream message is configured to the IP address set The concrete operation method of transmission can be, the mark of the calling terminal included according to described signaling message or The mark of terminal called judges whether the media stream message that described signaling message is corresponding is configured to set IP address transmission;Or, judge, according to the source of described signaling message, the matchmaker that described signaling message is corresponding Whether body stream packet is configured to the IP address transmission set.
Specifically, the mark of the calling terminal that signaling message includes can be calling terminal IP address, The number etc. of calling terminal, judges, according to the mark of calling terminal, the Media Stream report that described signaling message is corresponding The IP address whether literary composition is configured to set is transmitted specifically, query configuration information table, it is judged that Whether the address field at the IP address of calling terminal or the place, IP address of calling terminal is configured with the IP of setting Address;And judge whether the media stream message that described signaling message is corresponding is joined according to the number of calling terminal It is set to be transmitted specifically, query configuration information table by the IP address set, it is judged that calling terminal Whether the number end at the number place of number or calling terminal is configured with the IP address of setting.Same, letter The mark making the terminal called that message includes can be the IP address of terminal called, the number of terminal called Deng, judge whether the media stream message that described signaling message is corresponding is configured to according to the mark of terminal called It is transmitted specifically, query configuration information table by the IP address set, it is judged that the IP of terminal called Whether the address field at the place, IP address of address or terminal called is configured with the IP address of setting;And according to The number of terminal called judges whether the media stream message that described signaling message is corresponding is configured to set IP address be transmitted specifically, query configuration information table, it is judged that the number of terminal called or called end Whether the number segment at the number place of end is configured with the IP address of setting.
The source of signaling message can be trunking or subscriber terminal equipment, and the network equipment judges signaling Behind the source of message, can be according to this source, it is judged that whether the Media Stream that signaling message is corresponding is configured to From the IP address transmission set.
In order to realize technical scheme, in actual applications, in the configuration information table of the network equipment Save the mark of calling terminal and the mapping relations of the IP address set, and/or the mark of terminal called Mapping relations with the IP address set, it is also possible to preserve the source of signaling message and the IP address set Mapping relations.The network equipment can retrieve in this configuration information table when performing step 302 with main Cry the IP address of the mark correspondence of terminal and/or the IP address corresponding with the mark of terminal called, it is also possible to Retrieve the source of signaling message and the mapping relations of the IP address set.Certainly, this configuration information table is also Can be saved in other network entity, obtain the IP address corresponding with the mark of calling terminal at needs And/or with the IP address corresponding to mark of terminal called, or during the IP address of the source correspondence of signaling message, The network equipment can obtain automatically from other network entity.
Alternatively, the particular content of configuration information table can be updated according to actual networking requirement by user, Particularly as follows: receive, Media Stream corresponding to the terminal iidentification specified or the signaling message source specified is configured to The configuration message of the IP address transmission by setting;According to described configuration message, arrange described Media Stream It is configured through the configuration information of the IP address transmission set;Described configuration information is saved in described configuration In information table.
Specifically, for IP phone terminal, user can be according to actual networking requirement, in exchange of speech Carry out office on machine to setting, the signaling flow and Media Stream sent from calling terminal is set, and flows into caller The signaling flow of terminal and Media Stream all flow in and out from the IP address of the setting of voice exchange, and should Configuration is saved in configuration information table.Certainly, the signaling flow sent from terminal called can be set too And Media Stream, and the signaling flow of inflow terminal called and Media Stream are all from the IP of the setting of voice exchange Address flows in and out.Furthermore it is also possible to all IP phones being connected with this voice exchange are all joined It is set to the IP address from setting flow in and out.
Step 303, if it is, be sent to Calling Side equipment by the IP address of described setting so that described Calling Side equipment sends media stream message by the IP address of described setting to callee side equipment;And/or, The IP address of described setting is sent to described callee side equipment so that described callee side equipment is by described The IP address set sends media stream message to Calling Side equipment;Described Calling Side equipment is specially caller eventually Another network equipment between end or described calling terminal and the described network equipment, described callee side equipment has Body is another network equipment between described terminal called or described terminal called and the described network equipment.
Specifically, if Calling Side equipment or callee side equipment are connected by non-IP mode (such as narrow band fashion) To this network equipment, then this network equipment is without sending setting to this Calling Side equipment or callee side equipment IP address.
When calling terminal and terminal called are all directly connected on the network equipment, Calling Side equipment is main Being terminal, callee side equipment is terminal called.When calling terminal and terminal called are connected to caller language Sound switch is connected with called voice exchange, and when the network equipment is caller voice exchange, caller Side apparatus is calling terminal, and callee side equipment is another network between terminal called and the described network equipment Equipment, is called voice exchange.When calling terminal and terminal called respectively with caller voice exchange It is connected with called voice exchange, and when the network equipment is called voice exchange, Calling Side equipment is Another network equipment between calling terminal and the described network equipment, is caller voice exchange, called Side apparatus is then terminal called.
In the embodiment of the present invention, the network equipment receives the signaling of transmission between calling terminal and terminal called and disappears Breath;According to described signaling message, the described network equipment judges that the media stream message that described signaling message is corresponding is The no internet protocol address transmission being configured to set, described IP address is that described network sets Standby IP address;If it is, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment sends media stream message by the IP address of described setting to callee side equipment;And/or, The IP address of described setting is sent to described callee side equipment so that described callee side equipment is by described The IP address set sends media stream message to Calling Side equipment;Described Calling Side equipment is specially caller eventually Another network equipment between end or described calling terminal and the described network equipment, described callee side equipment has Body is another network equipment between described terminal called or described terminal called and the described network equipment.By This, the embodiment of the present invention achieves Media Stream in voice call procedure and flows in and out from the IP address set, It is easy to the configuration of fire wall.
In conjunction with above-described embodiment, in a preferred embodiment, after step 303, Ji Jiangsuo Stating after the IP address of setting is sent to described Calling Side equipment, the network equipment is all right: set by described Fixed IP address receives the first media stream message that Calling Side equipment sends;To described first media stream message Carry out transcoding process, obtain the second media stream message that described terminal called can decode that;To described called Side apparatus sends described second media stream message.
And before by step 303, before the IP address that will set is sent to Calling Side equipment, network Equipment may further determine that existence carries out transcoding process and obtains the first internal media stream described first media stream message The first transcoding resource needed for message, and determine that described first internal media stream packet is carried out turning by existence Code processes the second transcoding resource obtained needed for described second media stream message.So, the network equipment just may be used By following step, the first media stream message carried out transcoding and process obtain that terminal called can decode that second Media stream message: use described first transcoding resource that described first media stream message is carried out transcoding process, Obtain described first internal media stream packet, and use described second transcoding resource to the described first internal matchmaker Body stream packet carries out transcoding process, obtains described second media stream message.
Same, at the network equipment, the IP address set is sent after callee side equipment, the network equipment All right: to receive, by the IP address of described setting, the 3rd media stream message that described callee side equipment sends; Described 3rd media stream message is carried out transcoding process and obtains the fourth media that described calling terminal can decode that Stream packet;Described fourth media stream packet is sent to described Calling Side equipment.
3rd media stream message just can be carried out transcoding process by following step and obtain caller eventually by the network equipment The fourth media stream packet that end can decode that: described 3rd media stream message is used described second transcoding money Source carries out transcoding process and obtains the second internal media stream packet, uses described second internal media stream packet Described first transcoding resource carries out transcoding process and obtains described fourth media stream packet.
Certainly, if voice exchange internal existence supports that the media stream message that calling terminal sends directly turns It is changed to the transcoding resource of the media stream message that terminal called can decode that, then can also carry out a transcoding, Directly carry out the media stream message after the encoding and decoding algorithm coding that calling terminal use is supported self and called end Mutual conversion between the media stream message that end can decode that.
By above-mentioned steps, to the media stream message interacted with calling terminal inside voice exchange With the Media Stream interacted with terminal called carries out Media Stream transcoding respectively, it is converted into internal general matchmaker Body stream, such as arrowband Media Stream, it is achieved Media Stream carries out transcoding in voice exchange.Thus, the present invention Embodiment can realize the encoding and decoding between calling terminal and terminal called need not have common factor can also complete language Sound is conversed.
In order to illustrate in greater detail the interaction of the Media Stream between calling terminal and terminal called, below By an embodiment, Media Stream between Calling Side equipment, the network equipment, callee side equipment is described mutual Method.Wherein, Calling Side equipment be specially calling terminal or described calling terminal and the described network equipment it Between another network equipment, callee side equipment is specially described terminal called or described terminal called with described Another network equipment between the network equipment, Calling Side equipment and callee side equipment are all straight with the network equipment Connect and be connected.The present embodiment is with the network equipment as voice exchange, and calling terminal and terminal called are all Being introduced as a example by being attached to the scene on this voice exchange, in this scenario, Calling Side equipment is Calling terminal, callee side equipment is terminal called, and the network equipment is voice exchange.Fig. 4 is the present invention The most mutual method flow diagram of a kind of Media Stream that embodiment provides.As shown in Figure 4, This embodiment comprises the following steps:
Step 401, calling terminal sends the signaling message of calling terminal called to voice exchange.
Calling terminal is when terminal called initiates audio call, and voice exchange will receive calling terminal and send out The signaling message sent, can carry the mark of calling terminal and/or the mark of terminal called in this signaling message Know.
Step 402, voice exchange judges whether calling terminal or terminal called require Media Stream and signaling flow Flow in and out from the IP address set.
According to signaling message, the network equipment judges whether media stream message is configured to the IP address set The concrete operation method of transmission can be, the mark of the calling terminal included according to described signaling message or The mark of terminal called judges whether the media stream message that described signaling message is corresponding is configured to set IP address transmission;Or, judge, according to the source of described signaling message, the matchmaker that described signaling message is corresponding Whether body stream packet is configured to the IP address transmission set.
Specifically, the mark of the calling terminal that signaling message includes can be calling terminal IP address, The number etc. of calling terminal, judges, according to the mark of calling terminal, the Media Stream report that described signaling message is corresponding The IP address whether literary composition is configured to set is transmitted specifically, query configuration information table, it is judged that Whether the address field at the IP address of calling terminal or the place, IP address of calling terminal is configured to the IP set Address;And judge whether the media stream message that described signaling message is corresponding is joined according to the number of calling terminal It is set to be transmitted specifically, query configuration information table by the IP address set, it is judged that calling terminal Whether the number at the number place of number or calling terminal is configured to the IP address set.Same, signaling The mark of the terminal called that message includes can be the IP address of terminal called, the number etc. of terminal called, Mark according to terminal called judges whether the media stream message that described signaling message is corresponding is configured to The IP address set is transmitted specifically, query configuration information table, it is judged that the IP address of terminal called Or whether the address field at the place, IP address of terminal called is configured to the IP address of setting;And according to called The number of terminal judges whether the media stream message that described signaling message is corresponding is configured to the IP set Address is transmitted specifically, query configuration information table, it is judged that the number of terminal called or terminal called Whether the number at number place is configured to the IP address set.
The source of signaling message can be trunking or subscriber terminal equipment, and the network equipment judges signaling Behind the source of message, can be according to this source, it is judged that whether the Media Stream that signaling message is corresponding is configured to From the IP address transmission set.
In order to realize technical scheme, in actual applications, in the configuration information table of the network equipment Save the mark of calling terminal and the mapping relations of the IP address set, and/or the mark of terminal called Mapping relations with the IP address set, it is also possible to preserve the IP address deriving from setting of signaling message Mapping relations.The network equipment can retrieve in this configuration information table when performing step 302 with main Cry the IP address of the mark correspondence of terminal and/or the IP address corresponding with the mark of terminal called, it is also possible to Retrieve the mapping relations of the IP address deriving from setting of signaling message.Certainly, this configuration information table is also Can be saved in other network entity, obtain the IP address corresponding with the mark of calling terminal at needs And/or with the IP address corresponding to mark of terminal called, or during the IP address of the source correspondence of signaling message, The network equipment can obtain automatically from other network entity.
Alternatively, the particular content of configuration information table can be updated according to actual networking requirement by user, Particularly as follows: receive, Media Stream corresponding to the terminal iidentification specified or the signaling message source specified is configured to The configuration message of the IP address transmission by setting;According to described configuration message, arrange described Media Stream It is configured through the configuration information of the IP address transmission set;Described configuration information is saved in described configuration In information table.
Step 403, it may be judged whether have turning needed for the Media Stream interacted with calling terminal is carried out transcoding Code resource.
Media stream message mutual between calling terminal and terminal called is configured to from the IP address set When flowing in and out, voice exchange will further determine the internal matchmaker whether existing and sending calling terminal Body stream packet carries out the transcoding resource required for transcoding, such as, if the encryption algorithm that calling terminal is supported For G.711U, and G.711A the internal coding information used of voice exchange be, then voice exchange will be sentenced Disconnected inside whether exist G.711U and G.711A support between the algorithm of mutual conversion, if it is present Illustrate that the internal media stream message sending calling terminal that exists of voice exchange carries out the transcoding needed for transcoding Resource.
Step 404, if it has, then send the signaling of the media information carrying voice exchange to calling terminal Message.
If needed for the voice exchange internal existence media stream message mutual with calling terminal carries out transcoding Transcoding resource, then voice exchange can send the letter of the media information carrying voice exchange to calling terminal Making message, this media information can include the IP address of the setting of voice exchange, in order to notify that caller is eventually End voice exchange carry out therewith Media Stream mutual time use IP address.
Step 405, uses transcoding resource to carry out transcoding process.
Voice exchange can use the transcoding resource of inside that the media stream message of calling terminal is carried out transcoding Process, obtain internal media stream packet.
Step 406, it may be judged whether have turning needed for the Media Stream interacted with terminal called is carried out transcoding Code resource.
Voice exchange, after the Media Stream interacted with calling terminal is carried out transcoding, will be sentenced further Whether disconnected inside exists the transcoding money carried out the media stream message mutual with terminal called required for transcoding Source, such as, if G.711A the encoding and decoding algorithm of voice exchange internal support is, terminal called support Encoding and decoding algorithm be G.729, then voice exchange will determine that inside whether exist support G.711A and G.729 the algorithm of mutually conversion between, exists with called if it is present explanation voice exchange is internal The media stream message of terminal interaction carries out the transcoding resource needed for transcoding.
Step 407, if it has, then send the signaling of the media information carrying voice exchange to terminal called Message.
If the media stream message interacted between terminal called is carried out by voice exchange internal existence Transcoding resource needed for transcoding, then can send response message to terminal called, carry language in this message The media information of sound switch, this media information can carry the IP address of setting, and terminal called receives After this signaling message, sending response message to voice exchange, after responding successfully, voice exchange can make By this transcoding resource, to terminal called, media stream message to be sent or that to send to terminal called is carried out The conversion of encoding and decoding.
It is mutual that step 408, calling terminal and terminal called carry out internal media stream by voice exchange.
The media stream message that voice exchange interacts between to calling terminal carries out transcoding, and After the media stream message interacted between terminal called is carried out transcoding, can control calling terminal with Media Stream mutual between terminal called is all through voice exchange, and also can control Media Stream from voice The IP address of the setting of switch flows in and out.
Thus, the embodiment of the present invention can realize the encoding and decoding between calling terminal and terminal called need not have Common factor can also complete voice call, and by configuring Media Stream and signaling flow from unified IP address stream Enter and flow out, it is simple to the configuration of fire wall.Correspondingly, present invention also offers the mutual of a kind of Media Stream Device, a kind of network equipment schematic diagram that Fig. 5 provides for the embodiment of the present invention.The main body of this embodiment is The network equipment, such as voice exchange.As it is shown in figure 5, the present embodiment includes with lower unit:
Receive unit 501, receive the letter of transmission between calling terminal and terminal called for receiving the network equipment Make message, and described signaling message is transmitted to judging unit.
When calling terminal initiates audio call to terminal called, the net between calling terminal and terminal called Network equipment will receive signaling message.This signaling message can carry the mark of calling terminal and/or called The mark of terminal.
Wherein, when calling terminal sends signaling message to terminal called, this network equipment can be and master It is the voice exchange that terminal is connected, when terminal called sends signaling message to calling terminal, this net Network equipment can be the voice exchange being connected with terminal called.
Judging unit 502, for receiving the described signaling message that described reception unit sends, described network sets For judging whether the media stream message that described signaling message is corresponding is configured to according to described signaling message The internet protocol address transmission set, the described IP address set is as the IP ground of the described network equipment Location, and will determine that the IP address of result and described setting is transmitted to processing unit.
Judging unit 502 specifically for, the calling terminal included according to described signaling message mark or The mark of terminal called judges whether the media stream message that described signaling message is corresponding is configured to set IP address transmission;Or, judge, according to the source of described signaling message, the matchmaker that described signaling message is corresponding Whether body stream packet is configured to the IP address transmission set.
Specifically, the mark of the calling terminal that signaling message includes can be calling terminal IP address, The number etc. of calling terminal, it is judged that unit 502 is whole specifically for the IP address or caller judging calling terminal Whether the address field at the place, IP address of end is configured to the IP address set;Or judge calling terminal Whether the number at the number place of number or calling terminal is configured to the IP address set.Same, signaling The mark of the terminal called that message includes can be the IP address of terminal called, the number etc. of terminal called, Judging unit 502 is specifically for the place, IP address of the IP address or terminal called that judge terminal called Whether address field is configured to the IP address set;Or, it is judged that the number of terminal called or terminal called Whether the number at number place is configured to the IP address set.
The source of signaling message can be trunking or subscriber terminal equipment, it is judged that unit 502 is judging After going out the source of signaling message, can be according to this source, it is judged that Media Stream corresponding to signaling message whether by It is configured to from the IP address transmission set.
Judging unit 502 specifically for, according to described calling terminal mark or the mark of described terminal called Know, query configuration information table, it is judged that the mark of described calling terminal or terminal called identify whether configuration There is the IP address of setting;Or, according to the source of described signaling message, query configuration information table, it is judged that Whether the source of described signaling message is configured with the IP address of setting.
In order to realize technical scheme, in actual applications, in the configuration information table of the network equipment Save the mark of calling terminal and the mapping relations of the IP address set, and/or the mark of terminal called Mapping relations with the IP address set, it is also possible to preserve the IP address deriving from setting of signaling message Mapping relations.The network equipment can retrieve corresponding with the mark of calling terminal in this configuration information table IP address and/or with the IP address corresponding to mark of terminal called, it is also possible to retrieve signaling message Derive from the mapping relations of the IP address of setting.Certainly, this configuration information table can also be saved in other In network entity, obtain the IP address corresponding with the mark of calling terminal and/or and terminal called at needs IP address corresponding to mark, or during IP address corresponding to the source of signaling message, the network equipment is permissible Automatically obtain from other network entity.
Processing unit 503, for receiving the IP address of described judged result and described setting, if described Judged result is yes, the IP address of described setting is sent to Calling Side equipment so that described Calling Side sets Media stream message is sent to callee side equipment for by the IP address of described setting;And/or, set described Fixed IP address is sent to described callee side equipment so that the described callee side equipment IP by described setting Address sends media stream message to Calling Side equipment;Described Calling Side equipment is specially calling terminal or described Another network equipment between calling terminal and the described network equipment, described callee side equipment is specially described Another network equipment between terminal called or described terminal called and the described network equipment.
Specifically, if Calling Side equipment or callee side equipment are connected by non-IP mode (such as narrow band fashion) To this network equipment, then this network equipment is without sending setting to this Calling Side equipment or callee side equipment IP address.
When calling terminal and terminal called are all directly connected on the network equipment, Calling Side equipment is main Being terminal, callee side equipment is terminal called.When calling terminal and terminal called are connected to caller language Sound switch is connected with called voice exchange, and when the network equipment is caller voice exchange, caller Side apparatus is calling terminal, and callee side equipment is another network between terminal called and the described network equipment Equipment, is called voice exchange.Hand over when calling terminal and terminal called are connected to caller voice Change planes and be connected with called voice exchange, and when the network equipment is called voice exchange, Calling Side sets Standby for another network equipment between calling terminal and the described network equipment, it is caller voice exchange, Callee side equipment is then terminal called.
Preferably, the embodiment of the present invention also includes arranging unit 504, memory element 505.Receive unit 501 It is additionally operable to, receives and Media Stream corresponding to the terminal iidentification specified or the signaling message source specified is configured to The configuration message of the IP address transmission by setting, and the transmission of described configuration message is arranged list to described Unit;Unit 504 is set, for receiving the described configuration message that described reception unit sends, joins according to described Put message, the configuration information that the IP address that described Media Stream is configured through set is transmitted is set, and By the transmission of described configuration information to described memory element;Memory element 505, is used for receiving and described arranges unit The described configuration information sent, is saved in described configuration information in described configuration information table.
Preferably, the embodiment of the present invention also includes that described device also includes transcoding units 506, transmitting element 507.Receive unit 501 to be additionally operable to, receive what Calling Side equipment sent by the IP address of described setting First media stream message, and by described first media stream message transmission to described transcoding units;Transcoding list Unit 506, for receiving the described first media message stream that described reception unit sends, to described first media Stream packet carries out transcoding process, obtains the second media stream message that described terminal called can decode that, to incite somebody to action Described second media stream message transmission is to described transmitting element;Transmitting element 507, is used for receiving described transcoding Described second media stream message that unit sends, sends described second Media Stream report to described callee side equipment Literary composition.
Preferably, the embodiment of the present invention also includes that described device also includes, determines unit 508, single processing Before IP address is sent to Calling Side equipment and callee side equipment by unit 503, determine that unit 508 is for really Described first media stream message is carried out needed for transcoding processes and obtain the first internal media stream packet by fixed existence First transcoding resource, and determine that existence carries out transcoding process and obtains described first internal media stream packet The second transcoding resource needed for described second media stream message, and by described first transcoding resource and described Second transcoding resource transmission is to described transcoding units.
Transcoding units 506 specifically for, use described first transcoding resource to described first media stream message Carry out transcoding process, obtain described first internal media stream packet, and use described second transcoding resource pair Described first internal media stream packet carries out transcoding process, obtains described second media stream message.
Same, receive unit 501 and be additionally operable to, receive described callee side by the IP address of described setting The 3rd media stream message that equipment sends, by described 3rd media stream message transmission to described transcoding units; Transcoding units 506, for receiving described 3rd media stream message that described reception unit sends, to described the Three media stream messages carry out transcoding process and obtain the fourth media stream packet that described calling terminal can decode that, And by the transmission of described fourth media stream packet to described transmitting element;Transmitting element 507, is used for receiving institute State the described fourth media stream packet that transcoding units sends, send described 4th matchmaker to described Calling Side equipment Body stream packet.Transcoding units 506 specifically for, to described 3rd media stream message use described second turn Code resource carries out transcoding process and obtains the second internal media stream packet, to described second internal media stream packet Use described first transcoding resource to carry out transcoding process and obtain described fourth media stream packet.
Thus, the embodiment of the present invention can realize the encoding and decoding between calling terminal and terminal called need not have Common factor can also complete voice call, and by configuring Media Stream and signaling flow from unified IP address stream Enter and flow out, it is simple to the configuration of fire wall.
Correspondingly, the embodiment of the present invention additionally provides a kind of network equipment, such as voice exchange.Fig. 6 is The schematic diagram of another network equipment that the embodiment of the present invention provides, as shown in Figure 6, present networks equipment includes Memorizer 601, processor 602, network interface 603.System bus 604 be used for connecting network interface 603, Processor 602 and memorizer 601.Network interface 603 is for communicating with Calling Side equipment and callee side equipment.
Memorizer 601 can be permanent memory, such as hard disk drive and flash memory, in memorizer 601 Having application program and configuration information table, on startup, application program is loaded in memorizer 601, Then accessed and perform the instruction of procedure below by processor 602:
The network equipment receives the signaling message of transmission between calling terminal and terminal called;
According to described signaling message, the described network equipment judges that the media stream message that described signaling message is corresponding is The no internet protocol address transmission being configured to set, described IP address is that described network sets Standby IP address;
If it is, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment Media stream message is sent to callee side equipment by the IP address of described setting;And/or, by described setting IP address be sent to described callee side equipment so that the described callee side equipment IP by described setting Address sends media stream message to Calling Side equipment;Described Calling Side equipment is specially calling terminal or described Another network equipment between calling terminal and the described network equipment, described callee side equipment is specially described Another network equipment between terminal called or described terminal called and the described network equipment.
Specifically, described signaling message can include the mark of calling terminal or the mark of terminal called, When processor 602 accesses the application program in memorizer 601, specifically can perform instruction: according to institute The mark of the mark or terminal called of stating the calling terminal that signaling message includes judges described signaling message pair Whether the media stream message answered is configured to the IP address transmission set.
When processor 602 accesses the application program in memorizer 601, it is also possible to coming according to signaling message Source judges whether the Media Stream that signaling message is corresponding is transmitted by the IP address set, the most permissible Perform instruction: judge that the media stream message that described signaling message is corresponding is according to the source of described signaling message The no IP address transmission being configured to set.
In order to realize technical scheme, in actual applications, in the configuration information table of the network equipment Save the mark of calling terminal and the mapping relations of the IP address set, and/or the mark of terminal called Mapping relations with the IP address set, it is also possible to preserve the IP address deriving from setting of signaling message Mapping relations.The network equipment can retrieve in this configuration information table corresponding with the mark of calling terminal IP address and/or the IP address corresponding with the mark of terminal called, it is also possible to retrieve coming of signaling message Come from the mapping relations of the IP address of setting.Certainly, this configuration information table can also be saved in other net In network entity, need to obtain with calling terminal identify corresponding IP address and/or with terminal called The IP address that mark is corresponding, or during IP address corresponding to the source of signaling message, the network equipment can be from Dynamic acquisition from other network entity.
Further, when processor 602 accesses the application program in memorizer 601, can perform following Instruction: identifying or the mark of described terminal called according to described calling terminal, query configuration information table, Judge the mark of described calling terminal or the IP address identifying whether to be configured with setting of terminal called;Or, According to the source of described signaling message, query configuration information table, it is judged that whether the source of described signaling message It is configured with the IP address of setting.
Further, during application program during processor 602 accesses memorizer 601, it is also possible under execution State instruction:
Receive and Media Stream corresponding to the terminal iidentification specified or the signaling message source specified is configured through The configuration message of the IP address transmission set;
According to described configuration message, arrange what the IP address that described Media Stream is configured through set was transmitted Configuration information;
Described configuration information is saved in described configuration information table.
The network equipment can be realized by media mutual between calling terminal and terminal called by above-mentioned instruction Flow and be transmitted by the IP address set.And do not deposit at the encoding and decoding algorithm of calling terminal and terminal called When occuring simultaneously, in order to realize the normal transmission of media stream message, the network equipment can also be to the matchmaker of this transmission Body stream packet carries out transcoding process.
Further, processor 602, after the IP address of setting is sent to Calling Side equipment, also may be used To perform following instruction further:
The first media stream message that Calling Side equipment sends is received by the IP address of described setting;
Described first media stream message is carried out transcoding process, obtain that described terminal called can decode that Two media stream messages;
Described second media stream message is sent to described callee side equipment.
Also included before the IP address set described in processor 602 is sent to described Calling Side equipment, place Reason device 602 also will further determine existence to carry out transcoding and processes and obtain first described first media stream message The first transcoding resource needed for internal media stream packet, and determine that existence is to described first internal media stream Message carries out transcoding and processes the second transcoding resource obtained needed for described second media stream message.
Preferably, described first media stream message being carried out transcoding process, obtaining described terminal called can Second media stream message of decoding, specifically, use described first transcoding resource to described first Media Stream Message carries out transcoding process, obtains described first internal media stream packet, and uses described second transcoding money Source carries out transcoding process to described first internal media stream packet, obtains described second media stream message.
Further, processor 602, after the IP address of setting is sent to callee side equipment, also may be used To perform following instruction further:
The 3rd media stream message that described callee side equipment sends is received by the IP address of described setting;
Described 3rd media stream message is carried out transcoding and processes obtain that described calling terminal can decode that the 4th Media stream message;
Described fourth media stream packet is sent to described Calling Side equipment.
Preferably, described 3rd media stream message carries out transcoding process and obtain described calling terminal and can solve The fourth media stream packet of code is specifically, use described second transcoding resource to described 3rd media stream message Carry out transcoding process and obtain the second internal media stream packet, described second internal media stream packet is used institute State the first transcoding resource carry out transcoding process obtain described fourth media stream packet.
Thus, above-mentioned instruction can realize the encoding and decoding between calling terminal and terminal called need not have common factor also Voice call can be completed, and flow into from unified IP address and stream by configuring Media Stream and signaling flow Go out, it is simple to the configuration of fire wall.
Professional should further appreciate that, describes in conjunction with the embodiments described herein The unit of each example and algorithm steps, it is possible to come with electronic hardware, computer software or the combination of the two Realize, in order to clearly demonstrate the interchangeability of hardware and software, the most according to function Generally describe composition and the step of each example.These functions are come with hardware or software mode actually Perform, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to often Individual specifically should being used for uses different methods to realize described function, but this realization it is not considered that Beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can use hardware, process The software module that device performs, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, Other form any well known in depositor, hard disk, moveable magnetic disc, CD-ROM or technical field Storage medium in.
Above-described detailed description of the invention, is carried out the purpose of the present invention, technical scheme and beneficial effect Further describe, be it should be understood that the foregoing is only the present invention detailed description of the invention and , the protection domain being not intended to limit the present invention, all within the spirit and principles in the present invention, done Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.

Claims (16)

1. the exchange method of a Media Stream, it is characterised in that described method includes:
The network equipment receives the signaling message of transmission between calling terminal and terminal called;
According to described signaling message, the described network equipment judges that the media stream message that described signaling message is corresponding is The no internet protocol address transmission being configured to set, described IP address is that described network sets Standby IP address;
If it is, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment Media stream message is sent to callee side equipment by the IP address of described setting;With, by the IP of described setting Address be sent to described callee side equipment so that described callee side equipment by the IP address of described setting to Calling Side equipment sends media stream message;Described Calling Side equipment is specially calling terminal or described caller is whole Another network equipment between end and the described network equipment, described callee side equipment is specially described called end Another network equipment between end or described terminal called and the described network equipment.
The exchange method of Media Stream the most according to claim 1, it is characterised in that
Described signaling message includes the mark of described calling terminal or the mark of terminal called;Described according to institute State the IP whether media stream message that signaling message judges that described signaling message is corresponding is configured to set Address is transmitted, specifically, the mark of the calling terminal included according to described signaling message or terminal called Mark judge the media stream message that described signaling message is corresponding whether be configured to set IP address Transmission;Or,
Described judge whether the media stream message that described signaling message is corresponding is configured according to described signaling message Transmit for the IP address by setting, specifically, judge described signaling according to the source of described signaling message Whether media stream message corresponding to message is configured to the IP address transmission set.
The exchange method of Media Stream the most according to claim 2, it is characterised in that
The described mark of calling terminal or the mark of terminal called included according to described signaling message judges The IP address the transmission whether media stream message that described signaling message is corresponding is configured to set is concrete For, according to mark or the mark of described terminal called, the query configuration information table of described calling terminal, sentence The mark of disconnected described calling terminal or terminal called identify whether to be configured with the IP address of setting;Described Judge whether the media stream message that described signaling message is corresponding is configured to lead to according to the source of described signaling message Cross the IP address transmission set specifically, according to the source of described signaling message, query configuration information table, Judge whether the source of described signaling message is configured with the IP address of setting.
The exchange method of Media Stream the most according to claim 3, it is characterised in that described judgement Before whether the media stream message that described signaling message is corresponding is configured to the IP address transmission set, Also include:
Receive and Media Stream corresponding to the terminal iidentification specified or the signaling message source specified is configured through The configuration message of the IP address transmission set;
According to described configuration message, arrange what the IP address that described Media Stream is configured through set was transmitted Configuration information;
Described configuration information is saved in described configuration information table.
The exchange method of Media Stream the most according to claim 1, it is characterised in that described by institute State after the IP address of setting is sent to described Calling Side equipment, also include,
The first media stream message that Calling Side equipment sends is received by the IP address of described setting;
Described first media stream message is carried out transcoding process, obtain that described terminal called can decode that Two media stream messages;
Described second media stream message is sent to described callee side equipment.
The exchange method of Media Stream the most according to claim 5, it is characterised in that described by institute State before the IP address of setting is sent to described Calling Side equipment and also include, determine that existence is to described first matchmaker Body stream packet carries out transcoding and processes the first transcoding resource obtained needed for the first internal media stream packet, and Determine that existence carries out transcoding process and obtains described second media stream message described first internal media stream packet The second required transcoding resource;
Described described first media stream message is carried out transcoding process, obtain described terminal called and can decode that The second media stream message, specifically, use described first transcoding resource to described first media stream message Carry out transcoding process, obtain described first internal media stream packet, and use described second transcoding resource pair Described first internal media stream packet carries out transcoding process, obtains described second media stream message.
The exchange method of Media Stream the most according to claim 6, it is characterised in that described by institute State after the IP address of setting is sent to described callee side equipment, also include:
The 3rd media stream message that described callee side equipment sends is received by the IP address of described setting;
Described 3rd media stream message is carried out transcoding and processes obtain that described calling terminal can decode that the 4th Media stream message;
Described fourth media stream packet is sent to described Calling Side equipment.
The exchange method of Media Stream the most according to claim 7, it is characterised in that described to institute State the 3rd media stream message carry out transcoding process obtain the fourth media stream report that described calling terminal can decode that Literary composition is specifically, use described 3rd media stream message described second transcoding resource to carry out transcoding process and obtain Second internal media stream packet, uses described first transcoding resource to enter described second internal media stream packet Row transcoding processes and obtains described fourth media stream packet.
9. a network equipment, it is characterised in that the described network equipment includes:
Receive unit, for receiving the signaling message of transmission between calling terminal and terminal called, and will Described signaling message transmits to judging unit;
Judging unit, for receiving the described signaling message that described reception unit sends, according to described signaling Message judges whether the media stream message that described signaling message is corresponding is configured to the internet protocol set The transmission of view IP address, the described IP address set is as the IP address of the described network equipment, and will determine that The IP address of result and described setting is transmitted to processing unit;
Processing unit, for receiving the IP address of described judged result and described setting, if described judgement Result is yes, the IP address of described setting is sent to Calling Side equipment so that described Calling Side equipment leads to The IP address crossing described setting sends media stream message to callee side equipment;With, by the IP of described setting Address be sent to described callee side equipment so that described callee side equipment by the IP address of described setting to Calling Side equipment sends media stream message;Described Calling Side equipment is specially calling terminal or described caller is whole Another network equipment between end and the described network equipment, described callee side equipment is specially described called end Another network equipment between end or described terminal called and the described network equipment.
The network equipment the most according to claim 9, it is characterised in that
Described signaling message includes the mark of described calling terminal or the mark of terminal called;Described judgement is single Unit specifically for, the mark of the calling terminal included according to described signaling message or the mark of terminal called Judge the IP address the transmission whether media stream message that described signaling message is corresponding is configured to set; Or,
Described judging unit specifically for, judge described signaling message pair according to the source of described signaling message Whether the media stream message answered is configured to the IP address transmission set.
11. network equipments according to claim 10, it is characterised in that
Described judging unit specifically for, according to described calling terminal mark or the mark of described terminal called Know, query configuration information table, it is judged that the mark of described calling terminal or terminal called identify whether configuration There is the IP address of setting;Or,
Specifically for, according to the source of described signaling message, query configuration information table, it is judged that described signaling Whether the source of message is configured with the IP address of setting.
12. network equipments according to claim 11, it is characterised in that the described network equipment is also Including arranging unit, memory element;
Described reception unit is additionally operable to, receive by the terminal iidentification specified or specify signaling message source right The Media Stream answered is configured through the configuration message of the IP address transmission set, and by described configuration message Transmission arranges unit to described;
Described unit is set, for receiving the described configuration message that described reception unit sends, according to described Configuration message, arranges the configuration information that the IP address that described Media Stream is configured through set is transmitted, with And by the transmission of described configuration information to described memory element;
Described memory element, for receiving the described described configuration information arranging unit transmission, joins described Confidence breath is saved in described configuration information table.
13. network equipments according to claim 9, it is characterised in that the described network equipment also wraps Include transcoding units, transmitting element;
Described reception unit is additionally operable to, receive that Calling Side equipment sends by the IP address of described setting the One media stream message, and by described first media stream message transmission to described transcoding units;
Described transcoding units, for receiving the described first media message stream that described reception unit sends, right Described first media stream message carries out transcoding process, obtains the second media that described terminal called can decode that Stream packet, with by described second media stream message transmission extremely described transmitting element;
Described transmitting element, for receiving described second media stream message that described transcoding units sends, to Described callee side equipment sends described second media stream message.
14. network equipments according to claim 13, it is characterised in that the described network equipment is also Including, determine unit, be used for determining that existence carries out transcoding and processes and obtain the described first media stream message The first transcoding resource needed for one internal media stream packet, and determine that existence is to described first internal media Stream packet carries out transcoding and processes the second transcoding resource obtained needed for described second media stream message, and will Described first transcoding resource and described second transcoding resource transmission are to described transcoding units;
Described transcoding units specifically for, described determine unit determine exist described first transcoding resource and During described second transcoding resource, described first transcoding resource is used to carry out described first media stream message turning Code processes, and obtains described first internal media stream packet, and uses described second transcoding resource to described the One internal media stream packet carries out transcoding process, obtains described second media stream message.
15. network equipments according to claim 14, it is characterised in that described reception unit is also For, receive, by the IP address of described setting, the 3rd media stream message that described callee side equipment sends, By described 3rd media stream message transmission to described transcoding units;
Described transcoding units, for receiving described 3rd media stream message that described reception unit sends, right Described 3rd media stream message carries out transcoding process and obtains the fourth media stream that described calling terminal can decode that Message, and by the transmission of described fourth media stream packet to described transmitting element;
Described transmitting element, for receiving the described fourth media stream packet that described transcoding units sends, to Described Calling Side equipment sends described fourth media stream packet.
16. network equipments according to claim 15, it is characterised in that described transcoding units has Body is used for, and described 3rd media stream message uses described second transcoding resource carry out transcoding and processes and obtain the Two internal media stream packets, use described first transcoding resource to carry out described second internal media stream packet Transcoding processes and obtains described fourth media stream packet.
CN201210401263.4A 2012-10-19 2012-10-19 The exchange method of Media Stream and the network equipment Active CN103780779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210401263.4A CN103780779B (en) 2012-10-19 2012-10-19 The exchange method of Media Stream and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210401263.4A CN103780779B (en) 2012-10-19 2012-10-19 The exchange method of Media Stream and the network equipment

Publications (2)

Publication Number Publication Date
CN103780779A CN103780779A (en) 2014-05-07
CN103780779B true CN103780779B (en) 2016-10-05

Family

ID=50572587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210401263.4A Active CN103780779B (en) 2012-10-19 2012-10-19 The exchange method of Media Stream and the network equipment

Country Status (1)

Country Link
CN (1) CN103780779B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633102A (en) * 2003-12-24 2005-06-29 华为技术有限公司 Method for implementing NAT traversing and system thereof
CN1918863A (en) * 2004-02-17 2007-02-21 银河网路股份有限公司 Address solving apparatus, address solving method, and communication system using the same
CN102291415A (en) * 2011-09-08 2011-12-21 中国联合网络通信集团有限公司 Media stream processing method and system and home gateway
CN102420835A (en) * 2012-01-10 2012-04-18 广东佳和通信技术有限公司 Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633102A (en) * 2003-12-24 2005-06-29 华为技术有限公司 Method for implementing NAT traversing and system thereof
CN1918863A (en) * 2004-02-17 2007-02-21 银河网路股份有限公司 Address solving apparatus, address solving method, and communication system using the same
CN102291415A (en) * 2011-09-08 2011-12-21 中国联合网络通信集团有限公司 Media stream processing method and system and home gateway
CN102420835A (en) * 2012-01-10 2012-04-18 广东佳和通信技术有限公司 Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system

Also Published As

Publication number Publication date
CN103780779A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN101156374B (en) System and method for monitoring video call
CN104283760B (en) A kind of WebRTC communication means, relevant device and system
KR20010084869A (en) Internet based telephone apparatus
CN104980406B (en) Call recording method, recording server, user class interchanger and recording system
US20130034222A1 (en) Method, device and system for implementing customized ring back tone service and customized ring tone service
RU2015156799A (en) SYSTEM AND METHOD FOR CREATING A WIRELESS TUBE FOR STATIONARY PHONES USING A HOME GATEWAY AND A SMARTPHONE
CN102843336A (en) Method and system for accessing IMS (IP Multimedia Subsystem) multimedia conference
JP2013539625A (en) Web-based access to video content associated with voicemail
CN103151041B (en) A kind of implementation method of automatic speech recognition business, system and media server
CN107086951A (en) Transmission method, Short Message Service Gateway and the industry short message access gateway of industry short message
CN104883460B (en) Access the processing method and processing device of IP-based videoconference
CN104683402B (en) Communication means and user equipment
US7948971B2 (en) Method and device for controlling media resources, method and system for establishing calls
CN102231734A (en) Method, device and system for realizing audio transcoding of TTS (Text To Speech)
CN102271137A (en) Media server
CN104469034A (en) Call forwarding method and system
CN106992957A (en) Internet phone-calling is forwarded to the method and device of mobile communication terminal
CN103780779B (en) The exchange method of Media Stream and the network equipment
KR200462920Y1 (en) Internet protocol equipment for improving sound quality of melodyring
CN105100520B (en) Terminal call forwarding method and its device
JP6103660B2 (en) Call identification method and apparatus
CN105306420B (en) Realize the method, apparatus played from Text To Speech cycle of business operations and server
TWI381712B (en) Traditional switches expand systems that connect to Internet telephony
CN104144147B (en) Voice communication method and system in video monitoring
CN104507068B (en) Realize method, user terminal and the machine double number service system of a machine even numbers

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