CN102025715B - SIP (Session Initiation Protocol) protocol-based multimedia network communication method - Google Patents

SIP (Session Initiation Protocol) protocol-based multimedia network communication method Download PDF

Info

Publication number
CN102025715B
CN102025715B CN201010174025.5A CN201010174025A CN102025715B CN 102025715 B CN102025715 B CN 102025715B CN 201010174025 A CN201010174025 A CN 201010174025A CN 102025715 B CN102025715 B CN 102025715B
Authority
CN
China
Prior art keywords
media
session
multimedia
communication
adaptation gateway
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.)
Expired - Fee Related
Application number
CN201010174025.5A
Other languages
Chinese (zh)
Other versions
CN102025715A (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201010174025.5A priority Critical patent/CN102025715B/en
Publication of CN102025715A publication Critical patent/CN102025715A/en
Application granted granted Critical
Publication of CN102025715B publication Critical patent/CN102025715B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an SIP (Session Initiation Protocol) protocol-based multimedia network communication method. The method is characterized by comprising the following steps of: after an SIP server receives a failure message of a Client2, sending a help request to a media adapter gateway; and if a multimedia coding capability set supported by the media adaptor gateway and multimedia coding capability sets of two communication parties have an intersection, successfully establishing a session through the media adapter gateway with a method of carrying out media transcoding based on the coding type in the intersection. The invention has the characteristics of expanding the multimedia coding capability sets of heterogeneous terminals and optimizing a media negotiation strategy through realizing the normal communication of incompatible heterogeneous network terminals, solves the problem on intercommunication due to inconsistent network bandwidth capabilities in a heterogeneous network environment, unmatched terminal multimedia coding-decoding capability sets and large screen resolution difference, intelligently adapts the capabilities of the two multimedia network communication parties and ensures that the compatibility of multimedia network communication is better, and the application range is wider.

Description

A kind of multimedia network communication method based on Session Initiation Protocol
Technical field
The present invention relates to multimedia network communication, particularly the communication terminal media negotiation based on Session Initiation Protocol and competence set expansion method.
Background technology
Along with the development of multimedia network communication with universal, various corresponding audio/video codings and communication protocol constantly occur, promoted the quality of multimedia network communication, expanded the scope of multimedia network communication, made people's multimedia network communication life more convenient and colorful.
But, due to a variety of causes, the media code encoding/decoding mode that various communication terminals adopt is not identical, as the audio coding aspect exist AMR, G.729, G.723 with iLBC etc., H.263 the video aspect exist, H.264 with MPEG-4 etc.Even if identical encoding and decoding, the difference that also can exist resolution, speed and form to encapsulate.Therefore different communication terminals, when carrying out multimedia network communication, conflict and incompatible phenomenon have just occurred aspect media coding.
For addressing the above problem, introduced simple media negotiation mechanism in Session Initiation Protocol, the SIP communication process that comprises media negotiation is:
At first client registers the SIP account of oneself by REGISTER message on sip server, server feeds back 200OK message to client after confirming, and set up relative accounts information in this locality, just can provide for it the SIP communication service, as shown in Figure 1.When needs communicate, Client1 initiates the SIP session by sip server to Client2, SDP (Session Description Protocol) part in the message INVITE that creates session is stated the multimedia coding capability set 1 that self supports, after Client2 receives this INVITE, if find, the capability set of Client1 and the capability set of oneself have occurrence, return to acknowledge message, enter follow-up session establishment flow process, RTP transmission channel between final foundation and Client1, as shown in Figure 2; Otherwise, sending call failure message, session can't be set up, as shown in Figure 3.
But this media negotiation mechanism is unilaterally completed by terminal called, when the multimedia coding capability set of communicating pair, during without occurrence, session will be failed.Under heterogeneous network environment, the unmatched phenomenon of the media capability of communicating pair is very general, if realize that with above strategy the multimedia network communication under heterogeneous network will bring higher call failure rate, had a strong impact on the business expansion of multimedia network communication under the heterogeneous network.Therefore, if can take full advantage of extensibility and the forward ability of Session Initiation Protocol, introduce third party device and carry out media conversion, help both call sides to carry out media negotiation and adaptation, can improve call completing rate, meet the intercommunication demand of heterogeneous terminals.
For realizing above-mentioned media interoperability, need to solve following four particular problems: 1, how to introduce the proper communication that suitable third party device is realized incompatible heterogeneous network terminal; 2, how to expand isomery multimedia network communication and the media adaptation that the SIP communication process is supported add-on third party equipment; 3, how to design more intelligent media negotiation strategy to realize better existing the isomery multimedia network communication of third party device; 4, how from the multi-media transcoding method of the aspect design high efficient and flexible of transcoding algorithm, there is the communication efficiency of the heterogeneous network of third party device with raising.The concrete solution of these problems has formed the core content of this patent.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of multimedia network communication method based on Session Initiation Protocol, realize the communication of incompatible heterogeneous network terminal, solve under heterogeneous network environment because of the intercommunication problem that network bandwidth ability is inconsistent, terminal multi-media coding/decoding capability collection does not mate and screen resolution difference causes greatly.
For solving the problems of the technologies described above, the present invention proposes a kind of multimedia network communication method based on Session Initiation Protocol, it is characterized in that,
1, introduce the media adaptation gateway on the original base of the multimedia network communication system based on SIP and solve this problem as third party's auxiliary equipment.
The owned multimedia coding capability set of media adaptation gateway, and the turning mutually of any two kinds of media codings in can the fulfillment capability collection.This method is usingd multimedia coding capability set the supplementing as the multimedia coding capability set of communicating pair of media adaptation gateway, as long as the multimedia coding capability set that the media adaptation gateway is supported and the multimedia coding capability set of communicating pair all have common factor, the method that session just can be carried out media transcoding based on the interior type of coding that occurs simultaneously by the media adaptation gateway is successfully set up.Concrete execution step is:
After the multimedia coding capability set of discovering server communicating pair is without occurrence, send to the media adaptation gateway request that helps, if can realize intercommunication after the media capability expansion by the media adaptation gateway, after the session establishment success, communicating pair sends to the media adaptation gateway to media data, via reaching the coupling of medium type after media adaptation gateway transcoding, to realize the proper communication of the unmatched terminal of multimedia coding capability set.
2, a kind of SIP flow process expansion that can expand heterogeneous terminals multimedia coding capability set comprises two kinds of modes:
1), set up the user media capability database, described user media capability database is preserved nearest submitted to the support media set of types of each user of communication terminal;
When two side's terminals communicate, after described sip server receives the INVITE that the session setup terminal sends, search and compare the multimedia coding capability set of communicating pair in described user media capability database; Occur simultaneously if the multimedia coding capability set of communicating pair exists, continue communication; If do not occur simultaneously send a request message to the media adaptation gateway;
Described request message comprises the multimedia coding capability set of communicating pair, and described media adaptation gateway carries out media extension and media negotiation after receiving described request message, obtains feeding back to described sip server after result.
The process of establishing of described user media capability database comprises the following steps:
When communication terminal sends registration message to sip server, comprise the multimedia coding capability set that this terminal is supported in described registration message, after server receives described registration message, create described user media capability database or, to being upgraded, nearest submitted to the support media set of types of each user be kept in described user media capability database.
If after the media adaptation gateway is expanded, session can successfully be set up, the INVITE that described sip server is sent the session originating end is modified, recipient's communication code type of stipulating in the media negotiation result is write in the SDP of INVITE, and change the media communication address into the media adaptation gateway address, then this INVITE is sent to the session receiving terminal;
Session receiving terminal feedback 200OK signaling is to server, described sip server changes the media coding mode in described 200OK signaling into initiator's communication code of stipulating in negotiation result, change the media communication address into the media adaptation gateway address, be sent to the session setup end;
After the session setup termination is received this signaling, the session establishment success.
2), after described server receives the failed message of Client2, send the multimedia coding capability set that helps request message to comprise communicating pair to the media adaptation gateway, the media adaptation gateway carries out media extension and media negotiation after receiving this request message, obtains feeding back to server after result.
If after the media adaptation gateway is expanded, session can successfully be set up, server creates a re-INVITE message, recipient's communication code type of stipulating in the media negotiation result is write in the SDP of re-INVITE message, and change the media communication address into the media adaptation gateway address, then this re-INVITE message is sent to the session receiving terminal;
Session receiving terminal feedback is successfully established signaling to server, and server changes the media coding mode in this signaling into initiator's communication code of stipulating in negotiation result, changes the media communication address into the media adaptation gateway address, is being sent to the session setup end;
After the session setup termination is received this signaling, the session establishment success.
3, a kind of optimization media negotiation strategy reasonable in design;
Under the prerequisite of communication that can the unmatched terminal of fulfillment capability collection at the competence set expansion by the media adaptation gateway, if media adaptation gateway media set of types is A, the medium type of session setup end integrates as B, the medium type of session receiving terminal integrates as C, so when AIB comprises more than one element or AIC and comprises more than one element, the media adaptation gateway just has kinds of schemes available what carry out media transcoding.For the concrete condition according to terminal communication provides best transcoding user, experience, we provide following strategy:
Being located at the concentrated element number of medium type that the media adaptation gateway supports is n, the total C of the shifting combination between any two kinds of codings n 2kind, for this C n 2plant any one in combination, all provide according to actual needs a series of performance index tables and describe the characteristic of every kind of transcoding combination, while carrying out actual transcoding operation, according to the requirement of terminal and actual conditions, select to there is optimum performance or compromise to determine the transcoding combination.
For example, the operation time consumed in the time of can equating initial data according to conversion, compose a time loss index to each shifting combination, the time that the larger expression computing of this index consumes is more.Again according to the equal initial data data volume used of encoding, provide the space consuming index of n kind medium type in the multimedia coding capability set of media adaptation gateway, the larger representative of the space consuming index data volume generated of encoding after equal initial data is larger.When communicating pair carries out media negotiation, the media adaptation gateway decides the transcoding combination according to communication actual conditions and the requirement of communicating pair.When communication terminal requires low bit rate communication, the media adaptation gateway is just chosen the incompatible transcoding that carries out of code set that occurrence space consuming index is less; When communication terminal is less demanding to low bit rate communication, the media adaptation gateway just can be chosen the incompatible transcoding that carries out of code set that in occurrence, the time loss index is less to reduce gateway load, raising transcoding speed.
This be directed to more efficient and personalized media negotiation strategy can be in content 2) basis on, carry out the signaling expansion by the request message that server is mail to the media adaptation gateway and be able to specific implementation.
4, a kind of media transcoding of high efficient and flexible design:
While realizing that media coding transforms, normally used method is first a kind of code to be decoded into to initial data, then this initial data is encoded into to another kind of media formats.We propose a kind of fast transcoding method based on the algorithm correlation in the present invention.For two kinds of different media codings, its algorithm is not complete independence, quite a few media coding has certain correlation on algorithm, may be just at identical different parameters or the model selected in theory, as long as can find these correlations, just can under the prerequisite of not exclusively decoding, modification or the conversion of model by parameter realize turning mutually of coding.
The present invention is by having realized the proper communication of incompatible heterogeneous network terminal, have and can expand heterogeneous terminals multimedia coding capability set, optimize the media transcoding characteristics of media negotiation strategy and high efficient and flexible, solved under heterogeneous network environment inconsistent because of network bandwidth ability, terminal multi-media coding/decoding capability collection does not mate the intercommunication problem caused greatly with screen resolution difference, and consider the different demands of communication for multiple communication elements such as speed and flows, multimedia network communication both sides ability is carried out to intelligent adaptation, make the compatibility of multimedia network communication better, applicable surface is wider.
Figure of description
Fig. 1 for communication terminal in existing Session Initiation Protocol to the register flow path figure of server.
Fig. 2 sets up the flow chart of session for the simple media negotiation in existing Session Initiation Protocol.
Fig. 3 can not set up the flow chart of session for the simple media negotiation in existing Session Initiation Protocol.
Fig. 4 is system construction drawing related in the present invention.
Fig. 5 is basic flow sheet of the present invention.
There is specific implementation of the present invention in the situation of user media capability database in Fig. 6.
Fig. 7 is specific implementation of the present invention in the situation that does not have the user media capability database.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.
In the present invention for convenience, it is description object that all embodiment all be take this scene of internet voice telephone communication that two station terminals (Client1, Client2) undertake based on SIP by sip server Server and media transcoding gateway gateway, but and do not mean that the present invention can only be applied to this kind of scene, in fact all needs all can be used the technology of the present invention through the multimedia SIP communication of media transcoding gateway.
In the present invention, related system configuration as shown in Figure 4.Wherein communication terminal can be the terminal equipment of all support Session Initiation Protocol such as PC, smart mobile phone and multimedia network communication, is promoter and the final recipient of multimedia network communication.Sip server mainly is responsible for modification and the forwarding of the signaling based on Session Initiation Protocol.The media adaptation gateway mainly is responsible for the conversion of relevant media coding, and coordination SIP service completes the work related to the present invention such as media negotiation.In Fig. 4, any two sides all can realize directly reaching mutually on the physical communication circuit.
In this example, each related role association attributes is as shown in Table 1:
The role Communicating requirement Media coding/decoding capability collection
Client1 Low code check a,b,c
Client2 Low time delay d,e,f,g
The media adaptation gateway b,c,d,e,f
Table one
The association attributes of various codings is as shown in Table 2:
Figure GDA0000021430500000061
Figure GDA0000021430500000071
Table two
At table two Notable, be, time loss index between the time loss index turned mutually between coding c and d and coding f and coding g, the two is all relatively low, because have correlation between this two group coding on algorithm, gateway can utilize this correlation to realize fast transcoding by the modification of relevant parameter when carrying out transcoding, and encode again without it is carried out to complete decoding, the time loss turned mutually between therefore is compared to other, having similar space consuming coding that greater advantage is arranged.And the time loss index to be based on the transcoding algorithm people that gateway uses be what provide, therefore its time consumes also less of index.For example, coding f is to being that coding e and the g that the space consuming index is 2 changed equally, and because the algorithm types of g and f is identical, the algorithm types of e and f is different, and the time loss of f-e is 10, much larger than the time loss 6 of f-g.
Fig. 5 has described basic flow sheet of the present invention.The present invention introduces the media adaptation gateway and solves this problem as third party's auxiliary equipment on the original base of the multimedia network communication system based on SIP.
The owned multimedia coding capability set of media adaptation gateway, and the turning mutually of any two kinds of media codings in can the fulfillment capability collection.This method is usingd multimedia coding capability set the supplementing as the multimedia coding capability set of communicating pair of media adaptation gateway, as long as the multimedia coding capability set that the media adaptation gateway is supported and the multimedia coding capability set of communicating pair all have common factor, the method that session just can be carried out media transcoding based on the interior type of coding that occurs simultaneously by the media adaptation gateway is successfully set up.Concrete execution step is:
After the multimedia coding capability set of discovering server communicating pair is without occurrence, send to the media adaptation gateway request that helps, if can realize intercommunication after the media capability expansion by the media adaptation gateway, after the session establishment success, communicating pair sends to the media adaptation gateway to media data, via reaching the coupling of medium type after media adaptation gateway transcoding, to realize the proper communication of the unmatched terminal of multimedia coding capability set.
Communication embodiment below by two kinds of different situations illustrates content of the present invention.
Embodiment 1
The present embodiment 16 illustrates specific implementation of the present invention in the situation that has the user media capability database by reference to the accompanying drawings.
This user media capability database is developed and managed by server, while by sip user, sending REGISTER message in SDP entrained customer multi-media code capacity collection create and upgrade corresponding contents.
According to Session Initiation Protocol, when the user sends REGISTER message not mandatory requirement contain the contents such as SDP and corresponding multimedia coding capability set, but can carry out this expansion and do not affect the function of the required realization of REGISTER message itself on the basis of SIP, and this REGISTER message through the regulation again realization basis of innovation of the present invention and the present embodiment just.
Idiographic flow is as follows:
The promoter that Client1 is a session at first sends an INVITE signaling when Client1 needs initiation session.The multimedia coding capability set that comprises Client1 in SDP in this signaling, its element is a as shown in Table 1, b, c.This signaling establishes rear Client1 it is mail to Client2.
The INVITE signaling first arrives server, and server is analyzed after this INVITE signaling the user profile of learning promoter and the recipient of this session, and by the inquiring user capability database, server obtains the multimedia coding capability set of Client1 and Client2.By multimedia coding capability set coupling, find, the multimedia coding capability set of Client1 and Client2 is without occurrence, and this time communication needs the participation of media adaptation gateway just likely to complete.Server sends a request message to the media adaptation gateway, this message comprises multimedia coding capability set and the communicating requirement of this communicating pair, wherein the concrete acquisition pattern of communicating requirement is not within limit of consideration of the present invention, suppose the communicating requirement that now can obtain both sides, and can write according to certain standard this request message.
Simultaneously, server shows oneself processing its request to Client1 transmission 100Trying message.
The media adaptation gateway carries out media extension and negotiation after receiving the request message that server sends.At first self multimedia coding capability set and communicating pair are mated, obtaining with the occurrence of Client1 is b, and the occurrence of c and Client2 is d, e, and f, be not all empty set, can expand the proper communication that realizes both sides by media capability.Consider both sides' communicating requirement situation, the bandwidth requirement of Client1 hangs down code check again, for Client1, selects b, and in c, space consumes the less type of coding of index, by table two is known, should select c; Client2 requires low time delay, therefore should be at d, and e, in all transcodings combinations in f between the medium type c of selection and Client1, the time loss index is minimum one, the type of coding that should select as Client2.Under the prerequisite that requires to be met with the low code check that guarantees this Client1, Client2 communication delay minimum.Should select d as shown in Table 2.It should be noted that the media consultation process considered in the present embodiment is only simple scenario, the considered factor of choosing for the transcoding combination may be more comprehensive in actual applications, and needs to formulate more complicated compromise and selection strategy.But the most basic thought has obtained embodying and explanation in the present embodiment.
After media extension and media negotiation carry out, the media adaptation gateway sends feedback message to sip server, carries negotiation result in message.
Server learns that this session can realize by the transcoding of media adaptation gateway after receiving the next media extension of media adaptation gateway feedback and negotiation result.The INVITE that server is sent Client1 is modified, the address of carrying out media communication with Client2 is changed into to the address of media adaptation gateway from Client1, and the media capability in SDP is changed into to the medium type d of the required use of Client2 in negotiation result.INVITE is sent to Client2 after revising.
After Client2 receives INVITE, media capability wherein and the media coding capability set of self supporting are mated, matching result all can be used for transmission for coding d.
After definite session can be carried out, Client2 answers this session by the jingle bell reminding user, sends the 180Ringing signaling simultaneously and shows that current terminal is just at jingle bell.
After receiving, server is transmitted to Client1.
After the user of Client2 answers this session, Client2 sends 200OK message and shows that to server the user answers.Message comprises the media coding d that its media communication address and this signal post select.
After server receives this message, the media communication address is changed into to the media adaptation gateway, the communication medium coding is changed into to the medium type c of the required use of Client1 in negotiation result.After modification, this message is sent to Client1.
Send an ACK signaling and mean that toward Client2 message successfully receives after Client1 receives the 200OK signaling that server sends, can start to communicate.
The ACK signaling arrives Client2, the Client2 d transmission RTP media data that starts to encode.Media data first arrives the media adaptation gateway, after media adaptation gateway transcoding, become the coding c the RTP data after be transmitted to again Client1.
Now session establishment success, Client1 and Client2 carry out respectively the sending and receiving of media data RTP bag by the media adaptation gateway, and the data of the c form that the media adaptation gateway will receive from Client1 change into the d coded format and send to Client2; The data of the d form that will receive from Client2 change into the c coded format and send to Client1.Guarantee that both sides all can correctly resolve media data, so just realized the function that the terminal of different media types in this example communicates by the media transcoding gateway.
When the media adaptation gateway carries out transcoding, utilize coding c and the correlation of coding d on algorithm, carry out efficiently transcoding operation fast.
Embodiment 2
The present embodiment 27 illustrates specific implementation of the present invention in the situation that does not have the user media capability database by reference to the accompanying drawings.
Idiographic flow is as follows:
The promoter that Client1 is a session at first sends an INVITE signaling when Client1 needs initiation session.The multimedia coding capability set that comprises Client1 in SDP in this signaling, its element is a as shown in Table 1, b, c.This signaling establishes rear Client1 it is mail to Client2.
The INVITE signaling first arrives server, and server first carries out record at the multimedia coding capability set to Client1, then this INVITE signaling is carried out directly forwarding the media capability match condition with the test communications both sides.
Simultaneously, server shows oneself processing its request to Client1 transmission 100Trying message.
Client2 receives the INVITE of the Client1 that server forwards, through the coupling with self multimedia coding capability set, finds without occurrence, and this time session can't successfully be set up, so send 488Not Acceptable Here, refuses this session.And specified new regulation writes the multimedia coding capability set of self supporting in this message according to the present invention.
Server learns that the media capability of Client1 and Client2 can't mate after receiving the 488Not Acceptable Here message that Client2 sends, and this time session needs the participation of media adaptation gateway just likely to complete.Server sends a request message to the media adaptation gateway, this message comprises multimedia coding capability set and the communicating requirement of this communicating pair, wherein the concrete acquisition pattern of communicating requirement is not within limit of consideration of the present invention, suppose the communicating requirement that now can obtain both sides, and can write according to certain standard this request message.
The media adaptation gateway carries out media extension and negotiation after receiving the request message that server sends.At first self multimedia coding capability set and communicating pair are mated, obtaining with the occurrence of Client1 is b, and the occurrence of c and Client2 is d, e, and f, be not all empty set, can expand the proper communication that realizes both sides by media capability.Consider both sides' communicating requirement situation, the bandwidth requirement of Client1 hangs down code check again, for Client1, selects b, and in c, space consumes the less type of coding of index, by table two is known, should select c; Client2 requires low time delay, therefore should be at d, and e, in all transcodings combinations in f between the medium type c of selection and Client1, the time loss index is minimum one, the type of coding that should select as Client2.Under the prerequisite that requires to be met with the low code check that guarantees this Client1, Client2 communication delay minimum.Should select d as shown in Table 2.It should be noted that the media consultation process considered in the present embodiment is only simple scenario, the considered factor of choosing for the transcoding combination may be more comprehensive in actual applications, and needs to formulate more complicated compromise and selection strategy.But the most basic thought has obtained embodying and explanation in the present embodiment.
After media extension and media negotiation carry out, the media adaptation gateway sends feedback message to sip server, carries negotiation result in message.
Server learns that this session can realize by the transcoding of media adaptation gateway after receiving the next media extension of media adaptation gateway feedback and negotiation result.Server creates a re-INVITE message, and an address of carrying out media communication with Client2 is made as the address of media adaptation gateway, and communication medium is encoded and is made as the medium type d of the required use of Client2 in negotiation result.Be sent to Client2 after the success of re-INVITE message establishing.
After Client2 receives re-INVITE message, media capability wherein and the media coding capability set of self supporting are mated, matching result all can be used for transmission for coding d.
After definite session can be carried out, Client2 answers this session by the jingle bell reminding user, sends the 180Ringing signaling simultaneously and shows that current terminal is just at jingle bell.
After receiving, server is transmitted to Client1.
After the user of Client2 answers this session, Client2 sends 200OK message and shows that to server the user answers.The media coding d that message comprises after its media communication address and signaling and this signal post selects.
After server receives this message, the media communication address is changed into to the media adaptation gateway, the communication medium coding is changed into to the medium type c of the required use of Client1 in negotiation result.After modification, this message is sent to Client1.
Send an ACK signaling and mean that toward Client2 message successfully receives after Client1 receives the 200OK signaling that server sends, can start to communicate.
The ACK signaling arrives Client2, the Client2 d transmission RTP media data that starts to encode.Media data first arrives the media adaptation gateway, after media adaptation gateway transcoding, become the coding c the RTP data after be transmitted to again Client1.
Now session establishment success, Client1 and Client2 carry out respectively the sending and receiving of media data RTP bag by the media adaptation gateway, and the data of the c form that the media adaptation gateway will receive from Client1 change into the d coded format and send to Client2; The data of the d form that will receive from Client2 change into the c coded format and send to Client1.Guarantee that both sides all can correctly resolve media data, so just realized the function that the terminal of different media types in this example communicates by the media transcoding gateway.
When the media adaptation gateway carries out transcoding, utilize coding c and the correlation of coding d on algorithm, carry out efficiently transcoding operation fast.
The present invention assists the multi-party communication between heterogeneous network by introduce the media adaptation gateway in communication system as the third party.While communicating between different terminal in the media coding type, utilize two kinds of different strategies to carry out the media capability expansion and realize both sides' proper communication.And can require to carry out media negotiation according to both sides' different communication and can be met on to greatest extent with the communicating requirement that guarantees both sides, and reduce the load of media adaptation gateway as far as possible.Aspect transcoding, the present invention has utilized the algorithm correlation between each coding to be simplified transcoding, has greatly shortened the time that coding turns mutually, has improved the operating efficiency of media adaptation gateway.
In a word, the foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (6)

1. the multimedia network communication method based on Session Initiation Protocol comprises: client is the account of registration oneself on sip server at first; When communicating, Client1 by sip server to the Client2 initiation session, the multimedia coding capability set 1 that statement is supported self in the SDP of the message INVITE that creates session, after Client2 receives this INVITE, if find, the multimedia coding capability set 1 of Client1 and the multimedia coding capability set of oneself have occurrence, return to acknowledge message, set up the session flow process; Otherwise, to sip server, send call failure message;
It is characterized in that, further comprising the steps of:
After sip server is received the failed message of Client2, send to the media adaptation gateway request that helps, if the multimedia coding capability set of the multimedia coding capability set that the media adaptation gateway is supported and communicating pair all has common factor, the method that session just can be carried out media transcoding based on the interior type of coding that occurs simultaneously by the media adaptation gateway is successfully set up;
Being located at the concentrated element number of medium type that the media adaptation gateway supports is n, and the shifting combination between any two kinds of codings is total
Figure FDA00003585118100011
kind, for this
Figure FDA00003585118100012
plant any one in combination, the operation time consumed while all according to conversion, equating initial data, give each shifting combination tax a time loss index, the time that the larger expression computing of this index consumes is more; According to the equal initial data data volume used of coding, provide the space consuming index of n kind medium type in the multimedia coding capability set of media adaptation gateway, the larger representative of the space consuming index data volume generated of encoding after equal initial data is larger; Thus, described media negotiation comprises the following steps:
When communicating pair carries out media negotiation, when communication terminal requires low bit rate communication, the media adaptation gateway combines to carry out transcoding with regard to choosing the less code conversion of occurrence space consuming index; When communication terminal is less demanding to low bit rate communication, the media adaptation gateway just can be chosen the code conversion that in occurrence, the time loss index is less and combine to carry out transcoding to reduce gateway load, improves transcoding speed.
2. a kind of multimedia network communication method based on Session Initiation Protocol according to claim 1, is characterized in that, further comprising the steps of:
Set up the user media capability database, described user media capability database is preserved nearest submitted to the support media set of types of each user of communication terminal;
When two side's terminals communicate, after described sip server receives the INVITE that the session setup terminal sends, search and compare the multimedia coding capability set of communicating pair in described user media capability database; Occur simultaneously if the multimedia coding capability set of communicating pair exists, continue communication; If do not occur simultaneously send a request message to the media adaptation gateway;
Described request message comprises the multimedia coding capability set of communicating pair, and described media adaptation gateway carries out media extension and media negotiation after receiving described request message, obtains feeding back to described sip server after result.
3. a kind of multimedia network communication method based on Session Initiation Protocol according to claim 2, is characterized in that, the process of establishing of described user media capability database comprises the following steps:
When communication terminal sends registration message to sip server, comprise the multimedia coding capability set that this terminal is supported in described registration message, after server receives described registration message, create described user media capability database or, to being upgraded, nearest submitted to the support media set of types of each user be kept in described user media capability database.
4. a kind of multimedia network communication method based on Session Initiation Protocol according to claim 3, is characterized in that, further comprising the steps of:
If after the media adaptation gateway is expanded, session can successfully be set up, the INVITE that described sip server is sent the session originating end is modified, recipient's communication code type of stipulating in the media negotiation result is write in the SDP of INVITE, and change the media communication address into the media adaptation gateway address, then this INVITE is sent to the session receiving terminal;
Session receiving terminal feedback 200OK signaling is to server, described sip server changes the media coding mode in described 200OK signaling into initiator's communication code of stipulating in negotiation result, change the media communication address into the media adaptation gateway address, be sent to the session setup end;
After the session setup termination is received this signaling, the session establishment success.
5. a kind of multimedia network communication method based on Session Initiation Protocol according to claim 1, is characterized in that, further comprising the steps of:
After described server receives the failed message of Client2, send the multimedia coding capability set that helps request message to comprise communicating pair to the media adaptation gateway, the media adaptation gateway carries out media extension and media negotiation after receiving this request message, obtains feeding back to server after result.
6. a kind of multimedia network communication method based on Session Initiation Protocol according to claim 5, is characterized in that, further comprising the steps of:
If after the media adaptation gateway is expanded, session can successfully be set up, server creates a re-INVITE message, recipient's communication code type of stipulating in the media negotiation result is write in the SDP of re-INVITE message, and change the media communication address into the media adaptation gateway address, then this re-INVITE message is sent to the session receiving terminal;
Session receiving terminal feedback is successfully established signaling to server, and server changes the media coding mode in this signaling into initiator's communication code of stipulating in negotiation result, changes the media communication address into the media adaptation gateway address, is being sent to the session setup end;
After the session setup termination is received this signaling, the session establishment success.
CN201010174025.5A 2010-05-17 2010-05-17 SIP (Session Initiation Protocol) protocol-based multimedia network communication method Expired - Fee Related CN102025715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010174025.5A CN102025715B (en) 2010-05-17 2010-05-17 SIP (Session Initiation Protocol) protocol-based multimedia network communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010174025.5A CN102025715B (en) 2010-05-17 2010-05-17 SIP (Session Initiation Protocol) protocol-based multimedia network communication method

Publications (2)

Publication Number Publication Date
CN102025715A CN102025715A (en) 2011-04-20
CN102025715B true CN102025715B (en) 2014-01-01

Family

ID=43866572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010174025.5A Expired - Fee Related CN102025715B (en) 2010-05-17 2010-05-17 SIP (Session Initiation Protocol) protocol-based multimedia network communication method

Country Status (1)

Country Link
CN (1) CN102025715B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107251512A (en) * 2015-01-21 2017-10-13 瑞典爱立信有限公司 Enhancing with the IMS sessions of secure media is set up

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957975B (en) * 2011-08-23 2017-08-11 中兴通讯股份有限公司 A kind of method and system for improving telephone outbound call success rate
CN102624629B (en) * 2012-03-26 2017-11-24 中兴通讯股份有限公司 A kind of wide area network message transmitting method and device
CN102611809B (en) 2012-03-29 2015-03-18 华为技术有限公司 Call processing method, call control device, automatic call distribution device and seat terminal
CN102984493B (en) * 2012-11-21 2016-03-02 华为终端有限公司 The method of video data transmission, device and communication equipment
CN103841086B (en) * 2012-11-23 2018-03-27 中兴通讯股份有限公司 A kind of data transmission method, device and terminal
CN104348781A (en) * 2013-07-26 2015-02-11 中兴通讯股份有限公司 Multimedia service transmission method and terminal equipment
CN105765937B (en) * 2014-06-30 2019-11-08 北京新媒传信科技有限公司 A kind of communication means and signal server
US10148703B2 (en) 2014-10-09 2018-12-04 T-Mobile Usa, Inc. Service capabilities in heterogeneous network
CN104320403B (en) * 2014-10-31 2018-03-16 新华三技术有限公司 Communication means and device
CN104486293B (en) * 2014-11-25 2018-09-28 中国电子科技集团公司第三十研究所 Media consulation method based on network and terminal capability under Wireless VoIP environment and system
CN106161370B (en) * 2015-04-08 2021-03-23 中国移动通信集团公司 Media coding adjusting method and terminal
CN104853403B (en) 2015-04-20 2019-02-12 小米科技有限责任公司 The method and apparatus for controlling smart machine access
CN106488260A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 Resource request method and device, terminal control method and device
CN107181723A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of media coding/decoding negotiation method and terminal device
US9826072B1 (en) * 2016-09-29 2017-11-21 T-Mobile Usa, Inc. Network-terminal interoperation using compatible payloads
US11799922B2 (en) 2016-12-21 2023-10-24 T-Mobile Usa, Inc. Network core facilitating terminal interoperation
CN108540429B (en) * 2017-03-02 2021-05-04 中国移动通信有限公司研究院 Session negotiation method and server
US10771509B2 (en) 2017-03-31 2020-09-08 T-Mobile Usa, Inc. Terminal interoperation using called-terminal functional characteristics
CN109429068B (en) * 2017-09-01 2020-09-29 成都鼎桥通信技术有限公司 Video coding and decoding service processing method and device
CN110557593A (en) * 2018-06-01 2019-12-10 中兴通讯股份有限公司 Media transmission method and H323-SIP gateway
WO2021223141A1 (en) * 2020-05-07 2021-11-11 深圳市大疆创新科技有限公司 Unmanned aerial vehicle communication method and system and unmanned aerial vehicle
CN114785729B (en) * 2022-03-30 2023-01-10 慧之安信息技术股份有限公司 Signaling interaction control method and system based on SIP protocol format conversion
CN117135272A (en) * 2023-02-08 2023-11-28 荣耀终端有限公司 Method and device for determining coding and decoding modes during conversation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237486A (en) * 2008-02-26 2008-08-06 中兴通讯股份有限公司 Device for converting TDM media into IP media and method for using this device
CN101594600A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 Media conversion method, soft switch and media conversion gateway based on soft switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237486A (en) * 2008-02-26 2008-08-06 中兴通讯股份有限公司 Device for converting TDM media into IP media and method for using this device
CN101594600A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 Media conversion method, soft switch and media conversion gateway based on soft switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107251512A (en) * 2015-01-21 2017-10-13 瑞典爱立信有限公司 Enhancing with the IMS sessions of secure media is set up

Also Published As

Publication number Publication date
CN102025715A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN102025715B (en) SIP (Session Initiation Protocol) protocol-based multimedia network communication method
AU2022209216B2 (en) Methods and apparatus for use of compact concurrent codecs in multimedia communications
CN101317363B (en) Media stream replacement method and system in terminal conversation course
CN102299968B (en) Multi-terminal information sharing system and method
CN103139527B (en) Parameter consultation method in video communication, device and video communication terminal
CN103814593A (en) Multicasting in a wireless display system
CN104429155A (en) Method and apparatus for handling topology in wireless communication system
CN102439943A (en) Fall back using mobile device assisted terminating access domain selection
US8711877B2 (en) Apparatus and method for connection control with media negotiation successful on different media formats
US20080076362A1 (en) PTT system, method for implementing PTT communication, PTT management server and terminal device thereof
US7809839B2 (en) Method and system for call set-up between mobile communication terminals
CN101453459B (en) Method and apparatus for media negotiation implementation
CN105577605A (en) Method and server for adopting two-way REST based on WebSocket protocol in web real-time communication
CN107040458B (en) Method and system for realizing intercommunication of video conference
CN103875251A (en) A system and method for broadcasting captions
CN102761543A (en) Method and device for realizing SIP (session initiation protocol) universal encoding and decoding
CN103702063A (en) Method for realizing dynamic media negotiation in video conference system
CN104735034A (en) Media stream transmission method, device and system
CN102082624A (en) WiFi coding optimization method and system thereof
US20060062251A1 (en) Session data and setting method thereof in a sychronous wireless communication system
CN101415249B (en) Method, system and apparatus for negotiating data business signaling of session initialization protocol
CN110557593A (en) Media transmission method and H323-SIP gateway
CN101771967B (en) Method for transmitting and forwarding short message, terminal, access gateway and short message system
CN101652002B (en) Device, system and method of content adaptation
CN101420290B (en) Data processing method and apparatus

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140101

Termination date: 20140517