CN101110946B - Method for switching audio and video communication of conversation initialized protocol terminal - Google Patents

Method for switching audio and video communication of conversation initialized protocol terminal Download PDF

Info

Publication number
CN101110946B
CN101110946B CN2007100757859A CN200710075785A CN101110946B CN 101110946 B CN101110946 B CN 101110946B CN 2007100757859 A CN2007100757859 A CN 2007100757859A CN 200710075785 A CN200710075785 A CN 200710075785A CN 101110946 B CN101110946 B CN 101110946B
Authority
CN
China
Prior art keywords
communication
video
conversation initialized
initialized protocol
protocol terminal
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
CN2007100757859A
Other languages
Chinese (zh)
Other versions
CN101110946A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007100757859A priority Critical patent/CN101110946B/en
Publication of CN101110946A publication Critical patent/CN101110946A/en
Application granted granted Critical
Publication of CN101110946B publication Critical patent/CN101110946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention discloses a method for switch the audio and video communication of the dialogue initialization protocol, which comprises the following procedures: 1. a first SIP terminal sends a B type communication request to a second SIP terminal which has an A type communication with the first SIP terminal through the network side; 2. the second SIP terminal received the B type communication request and judges whether the B type communication is supported and allowed; according to the judged result, a set is made by the second SIP terminal, the constructed and relative B type communication request response is sent to the first SIP terminal through the network side, 3. the first SIP terminal judges whether the B type communication is supported and allowed by the second SIP terminal according to the received B type communication request response, if the B type communication is supporting and allowed, the first SIP terminal begins the B type communication after makes a B type setting, at the same time, a confirm message is sent to the second SIP terminal, otherwise, the first SIP terminal continues the A type communication. The technical proposal mentioned in the present invention rapidly realizes the audio and the video communication switch for a SIP terminal.

Description

The method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched
Technical field
The present invention relates to the method that Voice ﹠ Video communication is switched, especially the method that the Voice ﹠ Video communication of SIP (Session Initiation Protocol, conversation initialized protocol) terminal is switched.
Background technology
The characteristics that SIP has is seamless, flexible, can expand and open, it has been subjected to the extensive concern of industry, just progressively become NGN (Next Generation Networking, next generation network) and the important protocol in the IMS fields such as (IP Multimedia Subsystem, IP Multimedia System).SIP does not need to define the type of the session that will set up, how only to define managing conversation, and this flexibility makes SIP can be used for various application and service, comprises interactive entertainment, Web TV, voice, video and Web conference etc.
Describe medium by SDP (Session Description Protocol, Session Description Protocol) among the SIP, wherein, the capable grammer of medium that carries media information is:<media〉<port〉<proto〉<fmt list 〉.Wherein,<media〉be medium type, be audio frequency or video;<port〉port numbers that transmits for medium;<proto〉be all host-host protocols, can be UDP (User Datagram Protocol, User Datagram Protoco (UDP)), RTP (Real-timeTransport Protocol, RTP) or AVP (Audio-VideoProcessor, audio-video processor).<fmt list〉be media formats.
As shown in Figure 1, sip terminal mainly comprises protocol stack module, audio ﹠ video equipment control module and audio/video encoding/decoding module.Wherein, protocol stack module comprises SIP module and RTP module, SIP module transmitting-receiving SIP signaling, and the startup of control audio ﹠ video equipment control module and closing.The RTP module is given audio/video encoding/decoding module decoding with the rtp streaming of opposite end, and the RTP of local terminal is sent to the opposite end; The audio ﹠ video equipment control module is subjected to the control of protocol stack module to open and close audio ﹠ video equipment (such as camera, microphone, receiver etc.), and to the audio/video encoding/decoding module import local audio/video information and play from the audio/video information of the opposite end that the audio/video encoding/decoding module is come; The RTP module that the audio/video encoding/decoding module is given protocol stack module after will the audio/video information fgs encoder from this locality of audio ﹠ video equipment control module will be play from flowing to the audio ﹠ video equipment control module after the audio/video information decoding in the opposite end RTP bag of the RTP module of protocol stack module.
Current, the audio ﹠ video transition of communications of sip terminal is adopted hardware approach usually, promptly adopt conversion equipment that audio-frequency information is separated from video information, do expensive big and be difficult for realizing like this.
Summary of the invention
The technical problem to be solved in the present invention provides the method that the Voice ﹠ Video communication to sip terminal that a kind of audio ﹠ video that utilizes Session Initiation Protocol to realize sip terminal switches is switched.
The technical solution adopted for the present invention to solve the technical problems is:
Method to the Voice ﹠ Video communication of conversation initialized protocol terminal is switched may further comprise the steps:
1.1 first conversation initialized protocol terminal sends the category-B communication request by network side to carrying out second conversation initialized protocol terminal that category-A communicates by letter with it;
When category-A communication is voice communication, when category-B communication was video communication, described category-B communication request provided the video port of described first conversation initialized protocol terminal and the coding and decoding video scheme information of support;
When category-A communication is video communication, when category-B communication was voice communication, the video port information of the Session Description Protocol of described category-B communication request was 0;
1.2 described second conversation initialized protocol terminal receives after the described category-B communication request and whether self to be supported and agrees that described category-B communication judges, according to the result who judges, described second conversation initialized protocol terminal is made corresponding setting, and the corresponding category-B communication request response that will construct sends to described first conversation initialized protocol terminal by described network side;
When category-A communication is voice communication, when category-B communication is video communication, if judged result is the described second conversation initialized protocol terminal support and agrees described video communication that then the Session Description Protocol of the corresponding video communication request response of structure comprises the video port of described second conversation initialized protocol terminal and the coding and decoding video scheme information of mating with the coding and decoding video scheme that described first conversation initialized protocol terminal is supported;
When category-A communication is video communication, when category-B communication is voice communication, if judged result is the described second conversation initialized protocol terminal support and agrees described voice communication that then the video port information of the Session Description Protocol of the corresponding voice communication request response of structure is 0;
1.3 described first conversation initialized protocol terminal judges according to the described category-B communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described category-B communication, if support and agreement, after being provided with as category-B, then described first conversation initialized protocol terminal begins to carry out category-B communication, send acknowledge message for simultaneously described second conversation initialized protocol terminal, otherwise described first conversation initialized protocol terminal continues category-A communication.
In the such scheme, step 1.1 realizes by following steps:
2.1 described first conversation initialized protocol terminal sends the category-B communication request to described network side;
2.2 described network side sends it to described second conversation initialized protocol terminal after receiving described category-B communication request, and sends to described first conversation initialized protocol terminal simultaneously and show that the category-B communication request has received and just in processed Temporary Response message;
2.3 receiving after the described category-B communication request to send to described network side, described second conversation initialized protocol terminal shows that the category-B communication request has received and just in processed Temporary Response message.
As one embodiment of the invention:
In the step 1.2, when described category-A communication is voice communication, when described category-B communication is video communication, if judged result is the described second conversation initialized protocol terminal support and agrees described video communication, then the relative set of second conversation initialized protocol terminal is: open video port and start video capture and video display apparatus, the image encoding that captures is sent to the video port of described first conversation initialized protocol terminal;
Otherwise, the Session Description Protocol of the corresponding described video communication request response of structure comprises the coding and decoding video scheme information that described second conversation initialized protocol terminal is supported, the corresponding setting of second conversation initialized protocol terminal is: video port information is 0.
In the such scheme, in the step 1.3, described first conversation initialized protocol terminal judges according to the video port information of the Session Description Protocol of the described video communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described video communication, if described video port information is not 0, the then described second conversation initialized protocol terminal support and agree described video communication, described first conversation initialized protocol terminal is opened video port and is started video capture and video display apparatus, receive behind the image that described second conversation initialized protocol terminal sends decoding and play, to send to the video port of described second conversation initialized protocol terminal after the image encoding that capture simultaneously, and send acknowledge message for described second conversation initialized protocol terminal; Otherwise described first conversation initialized protocol terminal continues voice communication.
As another embodiment of the present invention:
In the step 1.2, when described category-A communication is video communication, when described category-B communication is voice communication, if judged result is the described second conversation initialized protocol terminal support and agrees described voice communication that then the corresponding setting of second conversation initialized protocol terminal is: close video capture, video display apparatus and video port;
Otherwise, the Session Description Protocol of the corresponding voice communication request response of structure comprises the video port of described second conversation initialized protocol terminal and the coding and decoding scheme information that described video communication is adopted, and the corresponding setting of second conversation initialized protocol terminal is: being provided with of described second conversation initialized protocol terminal is constant.
In the such scheme in the step 1.3, described first conversation initialized protocol terminal judges according to the video port information of the Session Description Protocol of the described voice communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described voice communication, if described video port information is 0, the then described second conversation initialized protocol terminal support and agree described voice communication, described first conversation initialized protocol terminal is closed video capture, video display apparatus and video port, and sends acknowledge message for described second conversation initialized protocol terminal; Otherwise described first conversation initialized protocol terminal continues video communication.
Beneficial effect of the present invention mainly shows: technical scheme provided by the invention has fast realized the switching to the Voice ﹠ Video communication of sip terminal by the medium handoff technique of SIP.
Description of drawings
Fig. 1 forms schematic diagram for sip terminal internal module of the present invention;
Fig. 2 switches to the flow chart of video communication from audio frequency for sip terminal of the present invention;
Fig. 3 is the flow chart of sip terminal of the present invention from the video switch to the voice communication.
Embodiment
Fig. 1 is described in background technology, repeats no more herein.
The Voice ﹠ Video communication of sip terminal switched comprise from voice communication and switch to video communication and switch to voice communication two aspects from video communication.Below, in conjunction with the accompanying drawings this two aspect is described respectively.
With reference to Fig. 2,, switch to video communication from voice communication and may further comprise the steps for sip terminal A that carries out voice communication and sip terminal B:
Step 1: sip terminal A sends the video communication request to network side; Wherein, the video port of sip terminal A and the coding and decoding video scheme information of support are provided among the SDP of the video communication request of sip terminal A transmission;
Step 2: network side sends it to sip terminal B after receiving the video communication request of sip terminal A, and sends Temporary Response message to sip terminal A simultaneously, shows that the video communication request has received and just processed;
Step 3: sip terminal B receives after the video communication request and sends Temporary Response message to network side, shows that the video communication request has received and just processed;
Step 4: sip terminal B receives after the video communication request and whether self to be supported and agrees that video communication judges; If sip terminal B supports and the agreement video communication, then the SDP of video communication request response comprises the video port of sip terminal B and the coding and decoding video scheme information of mating with the coding and decoding video scheme that described first conversation initialized protocol terminal is supported, sip terminal B opens video port and starts video capture and video display apparatus, will send to the video port of sip terminal A after the image encoding that capture; Otherwise the SDP of video communication request response comprises the coding and decoding video scheme information that sip terminal B supports, video port information is 0 simultaneously; Sip terminal B sends to sip terminal A with video communication request response by network side;
Step 5: sip terminal A judges according to the video port information of the SDP of the video communication request that receives response whether sip terminal B supports and agree video communication; If the video port information of SDP is not 0, then sip terminal B supports and the agreement video communication, sip terminal A opens video port and starts video capture and video display apparatus, decoding and broadcast behind the image that reception sip terminal B sends, to send to the video port of sip terminal B after the image encoding that capture simultaneously, and send acknowledge message for sip terminal B; Otherwise sip terminal A continues voice communication.
So far, sip terminal A and sip terminal B have finished the switching from the voice communication to the video communication.
With reference to Fig. 3,, switch to voice communication from video communication and may further comprise the steps for sip terminal A that carries out video communication and sip terminal B:
Step 1: sip terminal A sends the audio frequency letter request of looking to network side; Wherein, the protocol port information of the SDP of the voice communication request of sip terminal A transmission is 0;
Step 2: network side sends it to sip terminal B after receiving the voice communication request of sip terminal A, and sends Temporary Response message to sip terminal A simultaneously, shows that the voice communication request has received and just processed;
Step 3: sip terminal B receives after the voice communication request and sends Temporary Response message to network side, shows that the voice communication request has received and just processed;
Step 4: sip terminal B receives after the voice communication request and whether self to be supported and agrees that voice communication judges; If sip terminal B supports and the agreement voice communication, then the video port information of the SDP of voice communication request response is 0, and sip terminal B closes video capture, video display apparatus and video port; Otherwise the SDP of voice communication request response comprises the video port of sip terminal B and the coding and decoding scheme information that described video communication is adopted, and the setting of sip terminal B remains unchanged, and sip terminal B sends to sip terminal A with voice communication request response by network side;
Step 5: sip terminal A judges according to the video port information of the SDP of the voice communication request that receives response whether sip terminal B supports and agree voice communication; If the video port information of SDP is 0, then sip terminal B supports and agrees voice communication, and sip terminal A closes video capture, video display apparatus and video port, and sends acknowledge message for sip terminal B; Otherwise sip terminal A continues video communication.
So far, sip terminal A and sip terminal B have finished the switching from the video communication to the voice communication.

Claims (6)

1. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched is characterized in that, may further comprise the steps:
1.1 first conversation initialized protocol terminal sends the category-B communication request by network side to carrying out second conversation initialized protocol terminal that category-A communicates by letter with it;
When category-A communication is voice communication, when category-B communication was video communication, described category-B communication request provided the video port of described first conversation initialized protocol terminal and the coding and decoding video scheme information of support;
When category-A communication is video communication, when category-B communication was voice communication, the video port information of the Session Description Protocol of described category-B communication request was 0;
1.2 described second conversation initialized protocol terminal receives after the described category-B communication request and whether self to be supported and agrees that described category-B communication judges, according to the result who judges, described second conversation initialized protocol terminal is made corresponding setting, and the corresponding category-B communication request response that will construct sends to described first conversation initialized protocol terminal by described network side;
When category-A communication is voice communication, when category-B communication is video communication, if judged result is the described second conversation initialized protocol terminal support and agrees described video communication that then the Session Description Protocol of the corresponding video communication request response of structure comprises the video port of described second conversation initialized protocol terminal and the coding and decoding video scheme information of mating with the coding and decoding video scheme that described first conversation initialized protocol terminal is supported;
When category-A communication is video communication, when category-B communication is voice communication, if judged result is the described second conversation initialized protocol terminal support and agrees described voice communication that then the video port information of the Session Description Protocol of the corresponding voice communication request response of structure is 0;
1.3 described first conversation initialized protocol terminal judges according to the described category-B communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described category-B communication, if support and agreement, after being provided with as category-B, then described first conversation initialized protocol terminal begins to carry out category-B communication, send acknowledge message for simultaneously described second conversation initialized protocol terminal, otherwise described first conversation initialized protocol terminal continues category-A communication.
2. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched as claimed in claim 1 is characterized in that step 1.1 realizes by following steps:
2.1 described first conversation initialized protocol terminal sends the category-B communication request to described network side;
2.2 described network side sends it to described second conversation initialized protocol terminal after receiving described category-B communication request, and sends to described first conversation initialized protocol terminal simultaneously and show that the category-B communication request has received and just in processed Temporary Response message;
2.3 receiving after the described category-B communication request to send to described network side, described second conversation initialized protocol terminal shows that the category-B communication request has received and just in processed Temporary Response message.
3. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched as claimed in claim 2, it is characterized in that: in the step 1.2, when described category-A communication is voice communication, when described category-B communication is video communication, if judged result is the described second conversation initialized protocol terminal support and agrees described video communication, then the relative set of second conversation initialized protocol terminal is: open video port and start video capture and video display apparatus, the image encoding that captures is sent to the video port of described first conversation initialized protocol terminal;
Otherwise, the Session Description Protocol of the corresponding described video communication request response of structure comprises the coding and decoding video scheme information that described second conversation initialized protocol terminal is supported, the corresponding setting of second conversation initialized protocol terminal is: video port information is 0.
4. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched as claimed in claim 3, it is characterized in that: in the step 1.3, described first conversation initialized protocol terminal judges according to the video port information of the Session Description Protocol of the described video communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described video communication, if described video port information is not 0, the then described second conversation initialized protocol terminal support and agree described video communication, described first conversation initialized protocol terminal is opened video port and is started video capture and video display apparatus, receive behind the image that described second conversation initialized protocol terminal sends decoding and play, to send to the video port of described second conversation initialized protocol terminal after the image encoding that capture simultaneously, and send acknowledge message for described second conversation initialized protocol terminal; Otherwise described first conversation initialized protocol terminal continues voice communication.
5. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched as claimed in claim 2, it is characterized in that: in the step 1.2, when described category-A communication is video communication, when described category-B communication is voice communication, if judged result is the described second conversation initialized protocol terminal support and agrees described voice communication that then the corresponding setting of second conversation initialized protocol terminal is: close video capture, video display apparatus and video port;
Otherwise, the Session Description Protocol of the corresponding voice communication request response of structure comprises the video port of described second conversation initialized protocol terminal and the coding and decoding scheme information that described video communication is adopted, and the corresponding setting of second conversation initialized protocol terminal is: being provided with of described second conversation initialized protocol terminal is constant.
6. the method that the Voice ﹠ Video communication of conversation initialized protocol terminal is switched as claimed in claim 5, it is characterized in that: in the step 1.3, described first conversation initialized protocol terminal judges according to the video port information of the Session Description Protocol of the described voice communication request response that receives whether described second conversation initialized protocol terminal is supported and agreed described voice communication, if described video port information is 0, the then described second conversation initialized protocol terminal support and agree described voice communication, described first conversation initialized protocol terminal is closed video capture, video display apparatus and video port, and send acknowledge message for described second conversation initialized protocol terminal; Otherwise described first conversation initialized protocol terminal continues video communication.
CN2007100757859A 2007-08-17 2007-08-17 Method for switching audio and video communication of conversation initialized protocol terminal Active CN101110946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100757859A CN101110946B (en) 2007-08-17 2007-08-17 Method for switching audio and video communication of conversation initialized protocol terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100757859A CN101110946B (en) 2007-08-17 2007-08-17 Method for switching audio and video communication of conversation initialized protocol terminal

Publications (2)

Publication Number Publication Date
CN101110946A CN101110946A (en) 2008-01-23
CN101110946B true CN101110946B (en) 2011-01-05

Family

ID=39042808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100757859A Active CN101110946B (en) 2007-08-17 2007-08-17 Method for switching audio and video communication of conversation initialized protocol terminal

Country Status (1)

Country Link
CN (1) CN101110946B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006645B (en) 2009-08-31 2012-01-04 华为终端有限公司 Multi-session transfer method and call control equipment and service continuity server
CN103139527B (en) * 2011-12-05 2016-03-23 中国电信股份有限公司 Parameter consultation method in video communication, device and video communication terminal
CN102984493B (en) * 2012-11-21 2016-03-02 华为终端有限公司 The method of video data transmission, device and communication equipment
CN105812705B (en) * 2014-12-31 2019-04-12 华为终端(东莞)有限公司 A kind of video communication method, terminal and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1324608A2 (en) * 2001-12-31 2003-07-02 V Con Telecommunications Ltd. System and method for videoconference initiation
CN1738410A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Videophone and method for increasing speech quality using it
CN1798139A (en) * 2004-12-28 2006-07-05 上海贝尔阿尔卡特股份有限公司 Devices and method of providing multimedia service for different network terminals
CN1984129A (en) * 2005-12-13 2007-06-20 中兴通讯股份有限公司 System and method for realizing and appearing instant message service by SIP protocol
WO2007069941A1 (en) * 2005-12-12 2007-06-21 Telefonaktiebolaget Lm Ericsson (Publ) A method and arrangement for establising a communication session for multimedia

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1324608A2 (en) * 2001-12-31 2003-07-02 V Con Telecommunications Ltd. System and method for videoconference initiation
CN1738410A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Videophone and method for increasing speech quality using it
CN1798139A (en) * 2004-12-28 2006-07-05 上海贝尔阿尔卡特股份有限公司 Devices and method of providing multimedia service for different network terminals
WO2007069941A1 (en) * 2005-12-12 2007-06-21 Telefonaktiebolaget Lm Ericsson (Publ) A method and arrangement for establising a communication session for multimedia
CN1984129A (en) * 2005-12-13 2007-06-20 中兴通讯股份有限公司 System and method for realizing and appearing instant message service by SIP protocol

Also Published As

Publication number Publication date
CN101110946A (en) 2008-01-23

Similar Documents

Publication Publication Date Title
US8767591B2 (en) Multi-point video conference system and media processing method thereof
CN102347952B (en) Interactive media session establishing system, method and device based on IP (Internet Protocol) multi-media sub-system
US7983244B2 (en) Interworking between domains of a communication network operated based on different switching principles
CN103581712B (en) Multi-protocol video playing method and system based on mobile terminal
CN101453477B (en) Method and apparatus for media content uploading in real-time
WO2010075696A1 (en) System and method for supporting the share of mobile phone tv programs
EP2241078A1 (en) Method and internet protocol television (iptv) content manager server for iptv servicing
CN206323408U (en) A kind of fusion video communication system based on IMS
WO2007082433A1 (en) Apparatus, network device and method for transmitting video-audio signal
EP2087692A1 (en) Media channel management
CN101164338A (en) Audio/video file playing method
CN106921843B (en) Data transmission method and device
JP5419124B2 (en) Gateway device, communication method and program
CN101631222B (en) Video switching method of videophone service, media server and conferencing system
CN101272383B (en) Real-time audio data transmission method
CN103595948B (en) The adaptive video call system of resolution ratio and method
CN101110946B (en) Method for switching audio and video communication of conversation initialized protocol terminal
CN101836417A (en) Method and terminal for forwarding an IPTV program to an SIP terminal
US20100274909A1 (en) Connection device and connection method
CN102438119B (en) Audio/video communication system of digital television
EP2273785B1 (en) Play controlling method, device and system
CN102082961A (en) Method and system for realizing voice talkback of set top box
CN101668092B (en) Method for realizing supplementary service dialing tone by network multimedia terminal and device
CN101883443B (en) Method and device for realizing SIP session transfer
CN106559639B (en) Method and system for processing relay video of teleconference

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