CN102118526A - VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol) - Google Patents

VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol) Download PDF

Info

Publication number
CN102118526A
CN102118526A CN2009102445545A CN200910244554A CN102118526A CN 102118526 A CN102118526 A CN 102118526A CN 2009102445545 A CN2009102445545 A CN 2009102445545A CN 200910244554 A CN200910244554 A CN 200910244554A CN 102118526 A CN102118526 A CN 102118526A
Authority
CN
China
Prior art keywords
media
request
pattern device
signaling
media channel
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.)
Pending
Application number
CN2009102445545A
Other languages
Chinese (zh)
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.)
BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY 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 BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd
Priority to CN2009102445545A priority Critical patent/CN102118526A/en
Publication of CN102118526A publication Critical patent/CN102118526A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a VoIP (Voice over Internet Protocol) media communication method based on an SIP (Session Initiation Protocol). The method includes steps of call connection initializing, call connection state monitoring and automatic recovery for maintaining call connection through keep-alive signaling, and media channel control for communicating between both communicating parties. The method shortens time delay for media communication, and builds a mechanism for call connection establishing and keeping, as well as half-duplex control of the media channel.

Description

A kind of VoIP media communication method based on Session Initiation Protocol
Technical field
The present invention relates to a kind of VoIP (Voice over IP, Internet Protocol telephone) media communication method, belong to the Internet telephony field based on Session Initiation Protocol.
Background technology
The Internet telephony be a kind of between legacy circuit-switched networks network and IP network transferring voice, or the direct technology of transferring voice on IP network.
Session Initiation Protocol is by the network-oriented meeting of IETF (Internet standard formulation tissue) formulation and the signaling protocol of phone.Session Initiation Protocol as one of open protocol commonly used of realizing voip technology is an end-to-end application layer protocol based on ASCII, can set up, revises or end Multimedia session or calling.
Traditional VoIP communications applications is: need at first set up and call out connection when another set up conversation a side, open the two-way media passage then, close media channel behind the end of conversation, dismantling call connects; Rebulid when conversing to call out next time and connect.
This traditional application system at some special applications scene, has two problems:
(1) rebulids calling and connect the time delay that causes.All to set up earlier to call out during each communication and connect, finish call proceeding, because the time overhead that Network Transmission and terminal equipment are handled, initiate a call to the voice that the callee receives the calling party from the calling party, have certain time delay, this has just caused at needs and has transmitted voice immediately, to call proceeding time delay and responsive application scenarios thereof under, the application of voip technology is very restricted.
(2) has only the communication mechanism of full duplex.What open after the calling connection is set up is the two-way media passage, and at application scenarioss such as some command schedulings, meeting broadcasting, need take semiduplex communication mechanism, and the one-way transmission voice avoid recipient's sound to be sent to the calling party.Therefore existing voip technology is not suitable for this semiduplex situation.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of VoIP media communication method based on Session Initiation Protocol, with the time delay of minimizing media communication, and can be suitable for half-duplex mode.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A kind of VoIP media communication control method based on Session Initiation Protocol is characterized in that may further comprise the steps:
Step 1: call out to connect initialization, wherein, holotype equipment is pre-configured from pattern device, and to described from the pattern device request of setting up that makes a call, described holotype equipment is called out the negotiation that is connected foundation and media parameter with described from pattern device;
Step 2: call out the connection status monitoring and recover automatically, wherein, described calling connect set up after, described holotype equipment or described from pattern device all timed sending call out keep-alive signaling, simultaneously the described calling keep-alive signaling that receives is replied response signaling;
Step 3: media channel control, wherein, described holotype equipment or a described side from pattern device need to the request that media channel is opened in the other side's transmission, open the medium sendaisle of self simultaneously when the other side sends voice; The other side opens the medium receive path after receiving described request of opening media channel immediately, and replys success response;
After the voice transmission finishes, send the request of closing media channel to the other side, close the described medium sendaisle of self simultaneously; The other side closes described medium receive path after receiving described request of closing media channel, replys success response simultaneously.
Wherein, in step 1, the pre-configured described calling from pattern device of described holotype equipment connects the required call parameter information of initiating, behind described holotype device start, read pre-configured described described parameter information from pattern device, send described setup requests from pattern device from trend is described, and in the signaling of described setup requests, carry the media parameter of described holotype equipment;
Describedly receive after described calling from described holotype equipment connects the signaling of the request of foundation from pattern device, call out to connect to described holotype device replied and set up successful signaling, and connect to set up in described calling and carry described media parameter in the successful signaling from pattern device.
In step 2, if described holotype equipment or describedly do not receive response from pattern device after sending described keep-alive signaling then restarts to call out and connects initialization step.
In step 3, after a side who sends opens the medium sendaisle, only send out and do not receive media information; After the other side opens the medium receive path, only receive and do not send out media information.
After direction the other side who sends sends the request of opening media channel, close the request of media channel before, the request that the other side does not open media channel to the side transmission that sends.
VoIP media communication method provided by the present invention when needs send media information, only just can be opened the other side's media channel by the demand signalling of opening media channel, set up media channel with the other side, reduces time delay.And because after having set up media channel, holotype equipment and all be one-way communication from pattern device is so system has realized half-duplex operation.The invention solves aforementioned voip technology problem in actual applications, made up a cover and called out the mechanism that connects foundation, maintenance and media channel half-duplex control.
Description of drawings
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is for using the topological structure schematic diagram of network system of the present invention;
Fig. 2 connects the flow chart of initialization step for the calling among the present invention;
Fig. 3 is for calling out the flow chart of connection status detection and automatic recovering step;
Fig. 4 builds the flow chart of controlled step for the media channel among the present invention.
Embodiment
This VoIP media communication method mainly comprises call setup, maintenance and three steps of control.Be that example illustrates VoIP media communication method provided by the present invention below with the voice communication.
With reference to figure 1, in using network system of the present invention, the holotype device A is carried out voice communication by network and slave unit Mode B.This has introduced the administrative model of master slave mode in existing VoIP PtoP calls out.Work is responsible for call out to connect initiating for the equipment of holotype, and working is the equipment from pattern, receives passively and handles the calling connection of autonomous mode equipment to set up demand signalling.
VoIP media communication method provided by the present invention mainly comprises three steps.
Step 1: call out to connect initialization, wherein, holotype equipment is pre-configured from pattern device, and to the request of setting up that makes a call from pattern device, holotype equipment with call out the negotiation that is connected foundation and media parameter from pattern device;
Step 2: call out the connection status monitoring and recover automatically, wherein, call out connect set up after, holotype equipment or from pattern device all timed sending call out keep-alive signaling, simultaneously the calling keep-alive signaling that receives is replied response signaling;
Step 3: media channel control, wherein, holotype equipment or the side from pattern device need send the request of opening media channel to the other side when the other side sends voice, open the medium sendaisle of self simultaneously; After the other side receives the request of opening media channel, open the medium receive path immediately, and reply success response;
After the voice transmission finished, direction the other side of transmission sent the request of closing media channel, closed the medium sendaisle of self simultaneously; After the other side receives the request of closing media channel, close the medium receive path, reply success response simultaneously.
Hence one can see that, VoIP media communication method provided by the present invention, owing in calling out the connection initialization step, finished and called out connection, but do not open passage; When needs send media information, only just can open the other side's media channel by the demand signalling of opening media channel, set up media channel with the other side, can reduce time delay like this.And, because after having set up media channel, holotype equipment and all be one-way communication from pattern device, that is, a side receipts are not sent out, and the opposing party only sends out and does not receive, so system has realized half-duplex operation.
Below in conjunction with accompanying drawing each step is elaborated.
(1) calling of master and slave pattern device connects initialization
As shown in Figure 2, the pre-configured IP address from pattern device B of holotype device A, call signaling port etc. are called out and are connected the required call parameter information of initiating.
Then, after the holotype device A starts, read pre-configured parameter, send to call out to connect from pattern device B from trend and set up demand signalling Invite (SDP:inactive), and in signaling, carry the media parameter of local terminal (holotype device A) from pattern device B.
Afterwards, after receiving the calling of autonomous mode device A to connect to set up demand signalling from pattern device B, this signaling is handled, after media parameter is consulted successfully, set up successful signaling 200OK to the connection of holotype device A answering call, and in signaling, carry the media parameter of local terminal (from pattern device B).
Set up the request response timeout if the holotype device A is waited for receiving from pattern device B calling connection, then repeat to send the calling connection and set up demand signalling, until the response signaling 200OK (SDP:inactive) that receives from pattern device B.
The holotype device A is called out the negotiation work that is connected foundation and media parameter with only finishing in this stage from pattern device B, does not all open media channel.
(2) call out connection status monitoring and recovery automatically
For being implemented under the normal situation of equipment and network, calling connection between the master-slave equipment is in effective status all the time, both sides can open media channel at any time when needs send voice, designed to call out to connect monitoring and automatic recovery method, realize the maintenance of media channel.
As shown in Figure 3; calling out the connection initial phase, after the calling successful connection between the master-slave equipment was set up, both sides regularly sent to the other side and call out keep-alive signaling Option; simultaneously the other side's keep-alive signaling is replied response signaling 200OK, call out connection status with monitoring.If keep-alive signaling the other side that a side sends does not have response, then this calling of decidable connects inefficacy.
After the holotype device A detects calling to connect inefficacy (shown in Fig. 3 below), can start automatically to call out and connect the initialization flow process, again to initiating to set up call connection request Invite (SDP:inactive) from pattern device B, until the response 200OK (SDP:inactive) that receives from pattern device B, then judge to call out to connect once more and successfully set up.Afterwards, both sides send to the other side respectively and call out keep-alive signaling Option, and the other side's calling keep-alive signaling is responded, thereby keep this calling to connect.
(3) media channel control
Be to realize the half-duplex control to media channel, the media channel control method adopts the opening of media channel, close with half-duplex and take three kinds of modes of control, realizes the half-duplex media communication.
As shown in Figure 4, calling out the connection initial phase, holotype device A and between pattern device B, calling out after successful connection sets up, when any one party (transmit leg) sends voice to the opposing party (recipient), connect signaling ReInvite (SDP:sendonly) by revising, the media channel request is opened in transmission, opens the medium sendaisle of transmit leg simultaneously, voice is only sent out do not received.After the recipient receives and opens the media channel request, open recipient's medium receive path immediately, voice are only received do not sent out, and reply success response 200OK (SDP:recvonly).Transmit leg sends the RTP bag, transmitting voice information immediately after having sent modification connection signaling.Consult success already because both sides' media parameter connects initial phase in calling,, realize the quick transmission of real-time phonetic signal so when having voice signal to send, can open media channel fast.
After transmit leg was successfully set up to recipient's one-way media passage, before media channel was closed, the recipient must not send to transmit leg and open the media channel demand signalling; Even transmit leg receives that opening the media channel demand signalling does not handle yet, thus the semiduplex working mechanism that realizes media channel.
Send the transmit leg of voice signal, after this voice transmission finishes,, send and close the media channel request, close the medium sendaisle of transmit leg simultaneously, stop voice and transmit by revising link order ReInvite (SDP:inactive).After the recipient receives and closes the media channel request, close recipient's medium receive path, reply success response 200OK (SDP:inactive) simultaneously.Thus, change calling over to and connect hold mode.
By this method, to restart or network interrupts abnormal conditions such as recoverys when taking place at master-slave equipment, calling connection between the two all can in time normally recover.
The present invention is in the intercom system of traditional analog audio signal half-duplex mode, introduce voip technology, a kind of half-duplex media channel control method that connects towards SIP is proposed, can between the intercommunication both sides, carry out the mutual of media signal fast, make the transmit leg voice signal avoid the interference of recipient's signal simultaneously, effectively voip technology is applied to traditional semiduplex analog voice intercom system, the half-duplex operation of traditional intercom system and the Digital Transmission of audio signal are effectively combined, can be implemented in and utilize existing resource, low cost is finished the intercommunication function under specific environment, intercom system, emergency call intercom system or the like are broadcast in expansion as mine.
The present invention separates the transmission of voice medium with calling out establishment of connection, make under same connection, can carry out repeatedly the media delivery of different directions at any time.Saved the time that before media delivery, connects, made the both sides that call out connection can carry out the voice expansion at any time and broadcast.And adopted semiduplex communication mechanism, saved significantly, can effectively utilize existing traditional intercommunication terminal equipment, realized the network transmission function of voice signal the taking of the network bandwidth.
Method of the present invention is used in following simple declaration, and transmit leg is to recipient's once complete voice transport process.
(1) after device A starts,, initiates SIP and call out connection foundation request to pre-configured equipment B.
(2) after equipment B is received the request of call out to connect setting up, consults successfully after, reverting equipment A calls out connection foundation and finishes.
(3) call out after successful connection sets up, device A and equipment B are to the other side's keep-alive signaling that makes a call.
(4) device A is opened A-by the Reinvite signaling when equipment B sends voice〉the one-way media passage of B, implement voice and transmit, close media channel after the end.
(5) equipment B is opened B-by the Reinvite signaling when device A sends voice〉the one-way media passage of A, implement voice and transmit, close media channel after the end.
When (6) keep-alive signaling sent of device A does not meet with a response, judge to call out to connect and lost efficacy that this moment, device A discharged this connection, making a call to equipment B again connects the request of foundation, calls out to connect to rebulid.
More than the VoIP media communication method based on Session Initiation Protocol provided by the present invention is had been described in detail.To those skilled in the art, any conspicuous change of under the prerequisite that does not deviate from connotation of the present invention it being done all will constitute to infringement of patent right of the present invention, with corresponding legal responsibilities.

Claims (5)

1. VoIP media communication control method based on Session Initiation Protocol is characterized in that may further comprise the steps:
Step 1: call out to connect initialization, wherein, holotype equipment is pre-configured from pattern device, and to described from the pattern device request of setting up that makes a call, described holotype equipment is called out the negotiation that is connected foundation and media parameter with described from pattern device;
Step 2: call out the connection status monitoring and recover automatically, wherein, described calling connect set up after, described holotype equipment or described from pattern device all timed sending call out keep-alive signaling, simultaneously the described calling keep-alive signaling that receives is replied response signaling;
Step 3: media channel control, wherein, described holotype equipment or a described side from pattern device need to the request that media channel is opened in the other side's transmission, open the medium sendaisle of self simultaneously when the other side sends voice; The other side opens the medium receive path after receiving described request of opening media channel immediately, and replys success response;
After the voice transmission finishes, send the request of closing media channel to the other side, close the described medium sendaisle of self simultaneously; The other side closes described medium receive path after receiving described request of closing media channel, replys success response simultaneously.
2. VoIP media communication control method as claimed in claim 1 is characterized in that,
In described step 1, the pre-configured described calling from pattern device of described holotype equipment connects the required call parameter information of initiating, behind described holotype device start, read pre-configured described described parameter information from pattern device, send described setup requests from pattern device from trend is described, and in the signaling of described setup requests, carry the media parameter of described holotype equipment;
Describedly receive after described calling from described holotype equipment connects the signaling of the request of foundation from pattern device, call out to connect to described holotype device replied and set up successful signaling, and connect to set up in described calling and carry described media parameter in the successful signaling from pattern device.
3. VoIP media communication control method as claimed in claim 1 is characterized in that,
In described step 2, if described holotype equipment or describedly do not receive response from pattern device after sending described keep-alive signaling then restarts to call out and connects initialization step.
4. VoIP media communication control method as claimed in claim 1 is characterized in that,
In described step 3, after a side who sends opens the medium sendaisle, only send out and do not receive media information; After the other side opens the medium receive path, only receive and do not send out media information.
5. VoIP media communication control method as claimed in claim 1 is characterized in that,
In described step 3, after direction the other side who sends sends the request of opening media channel, close the request of media channel before, the request that the other side does not open media channel to the side transmission that sends.
CN2009102445545A 2009-12-30 2009-12-30 VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol) Pending CN102118526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102445545A CN102118526A (en) 2009-12-30 2009-12-30 VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102445545A CN102118526A (en) 2009-12-30 2009-12-30 VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol)

Publications (1)

Publication Number Publication Date
CN102118526A true CN102118526A (en) 2011-07-06

Family

ID=44217110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102445545A Pending CN102118526A (en) 2009-12-30 2009-12-30 VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol)

Country Status (1)

Country Link
CN (1) CN102118526A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984402A (en) * 2011-09-06 2013-03-20 中兴通讯股份有限公司 Processing method of voice over internet phone (VoIP) data package and processing system of VoIP data package
WO2015196338A1 (en) * 2014-06-23 2015-12-30 海能达通信股份有限公司 Calling method and system and terminal
CN105743892A (en) * 2016-01-29 2016-07-06 烽火通信科技股份有限公司 Method for realizing lightweight media gateway voice function
CN110463233A (en) * 2017-03-24 2019-11-15 三星电子株式会社 The system and method that client protocol for short data service selects
CN111562997A (en) * 2020-04-14 2020-08-21 深圳震有科技股份有限公司 Media channel quick recovery method, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655551A (en) * 2004-02-09 2005-08-17 三星电子株式会社 Processing session initiation protocol signaling in voice/data integrated switching system
GB2442280A (en) * 2006-09-29 2008-04-02 Avaya Ecs Ltd Message format allowing SIP/SOAP protocol interoperability
CN101222383A (en) * 2008-01-23 2008-07-16 湖南大学 IP network telephone voice flux monitoring method based on H.323 protocol
CN101489268A (en) * 2008-01-14 2009-07-22 北京大唐高鸿数据网络技术有限公司 Mobile terminal call fast switching method based on SIP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655551A (en) * 2004-02-09 2005-08-17 三星电子株式会社 Processing session initiation protocol signaling in voice/data integrated switching system
GB2442280A (en) * 2006-09-29 2008-04-02 Avaya Ecs Ltd Message format allowing SIP/SOAP protocol interoperability
CN101489268A (en) * 2008-01-14 2009-07-22 北京大唐高鸿数据网络技术有限公司 Mobile terminal call fast switching method based on SIP
CN101222383A (en) * 2008-01-23 2008-07-16 湖南大学 IP network telephone voice flux monitoring method based on H.323 protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FRANK W. MILLER: "The SIP PING Method", 《NETWORK WORKING GROUP INTERNET-DRAFT 》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984402A (en) * 2011-09-06 2013-03-20 中兴通讯股份有限公司 Processing method of voice over internet phone (VoIP) data package and processing system of VoIP data package
CN102984402B (en) * 2011-09-06 2015-08-12 中兴通讯股份有限公司 A kind of processing method of VoIP data bag and system
WO2015196338A1 (en) * 2014-06-23 2015-12-30 海能达通信股份有限公司 Calling method and system and terminal
CN105743892A (en) * 2016-01-29 2016-07-06 烽火通信科技股份有限公司 Method for realizing lightweight media gateway voice function
CN105743892B (en) * 2016-01-29 2019-04-16 烽火通信科技股份有限公司 A kind of lightweight Media Gateway phonetic function implementation method
CN110463233A (en) * 2017-03-24 2019-11-15 三星电子株式会社 The system and method that client protocol for short data service selects
US11343657B2 (en) 2017-03-24 2022-05-24 Samsung Electronics Co., Ltd. System and method for client protocol selection for short data service
US11818632B2 (en) 2017-03-24 2023-11-14 Samsung Electronics Co., Ltd. System and method for client protocol selection for short data service
CN111562997A (en) * 2020-04-14 2020-08-21 深圳震有科技股份有限公司 Media channel quick recovery method, system and storage medium

Similar Documents

Publication Publication Date Title
US7596150B2 (en) System and method for consolidating media signaling to facilitate internet protocol (IP) telephony
US6636508B1 (en) Network resource conservation system
US7280532B2 (en) Call set-up method using SIP-T overlap signaling
KR20020034838A (en) Media communication system, and terminal apparatus and signal conversion apparatus in said system
US7496089B2 (en) Network, private branch exchange, and PBX additional service starting method
CN102480575B (en) VOIP recording control method and system thereof
CN101485172A (en) Method and communication terminal for provision of VOIP
US20050048973A1 (en) Methods and systems for performing call handover in a media gateway
CN102118526A (en) VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol)
US20070058537A1 (en) Handling of early media ii
CN101997997A (en) System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof
RU2374777C2 (en) Processing of initial multimedia data i
WO2007136490A3 (en) Telecommunications system and method of initiating file transfers from voice endpoints
CN101507133B (en) PTT/PTS signaling in an internet protocol network
EP2104303B1 (en) Method, device and system for the initiator and the receiver dismantling the call
US20020191589A1 (en) Method for synchronizing call signaling and voice circuit setup over a voice over internet protocol network
CN101197888B (en) Method and system for implementing hang-up selection when non-intelligent SIP terminal call waiting
EP2425619B1 (en) Method and device for establishing simultaneous incoming circuit switched calls
EP2326138A1 (en) Communication method and gateway device based on SIP phone
US7395309B1 (en) Modem activity detection
KR100345769B1 (en) Method for communication between internet keyphone systems equipped with VoIP
KR20050106045A (en) Telephone communication system
US20040013109A1 (en) Method of setting up a connection for calls
WO2017219939A1 (en) Service switching implementation method, application server, system, and storage medium
CN109040093B (en) Method and system for releasing temporary termination point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110706