[go: up one dir, main page]

CN102761526B - VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite - Google Patents

VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite Download PDF

Info

Publication number
CN102761526B
CN102761526B CN201110108332.8A CN201110108332A CN102761526B CN 102761526 B CN102761526 B CN 102761526B CN 201110108332 A CN201110108332 A CN 201110108332A CN 102761526 B CN102761526 B CN 102761526B
Authority
CN
China
Prior art keywords
terminal unit
described terminal
audio
signaling
video
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
CN201110108332.8A
Other languages
Chinese (zh)
Other versions
CN102761526A (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.)
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 CN201110108332.8A priority Critical patent/CN102761526B/en
Publication of CN102761526A publication Critical patent/CN102761526A/en
Application granted granted Critical
Publication of CN102761526B publication Critical patent/CN102761526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种VC‑1编码视音频在支持H.323协议族的终端设备中传输的方法,它包括步骤:基于H.225协议在终端设备A与终端设备B之间建立呼叫流程;在被叫的该终端设备B摘机后,基于H.245协议在该终端设备A与该终端设备B之间进行关于VC‑1编码视音频传输的媒体协商;根据媒体协商结果,该终端设备A与该终端设备B之间执行VC‑1编码视音频传输作业。本发明方法使得终端设备在H.323网络中可支持VC‑1媒体传输,打破了原有的网络媒体不能传输VC‑1媒体的屏障,使不同网络业务间的互相融合成为可能。

The invention discloses a method for transmitting VC-1 coded video and audio in a terminal device supporting the H.323 protocol family, which includes the steps of: establishing a call flow between terminal device A and terminal device B based on the H.225 protocol; After the called terminal device B goes off-hook, a media negotiation about VC‑1 coded video and audio transmission is performed between the terminal device A and the terminal device B based on the H.245 protocol; according to the media negotiation result, the terminal device Perform VC‑1 coded video and audio transmission between A and the terminal device B. The method of the invention enables the terminal equipment to support VC-1 media transmission in the H.323 network, breaks the barrier that the original network media cannot transmit the VC-1 media, and makes it possible to integrate different network services.

Description

VC-1编码视音频在支持H.323协议族的终端设备中传输的 方法VC-1 coded video and audio are transmitted in terminal equipment supporting the H.323 protocol family method

技术领域technical field

本发明涉及一种视音频传输方法,具体地说,是涉及一种VC-1编码视音频在支持H.323协议族的终端设备中传输的方法。The invention relates to a video and audio transmission method, in particular to a method for transmitting VC-1 coded video and audio in a terminal device supporting the H.323 protocol family.

背景技术Background technique

VC-1(Video Codec 1,视频编码1技术)是基于微软Windows Media Video9(WMV9)格式,并由微软提出,通过美国电影和电视工程师协会SMPTE发布的一种视频编码标准,该标准是即MPEG2和H.264之后,最新被认可的一种高清视频编码格式,该编码具有码流小、通用性高、成本低和系统占用资源少等特点。VC-1 (Video Codec 1, video coding 1 technology) is based on Microsoft Windows Media Video9 (WMV9) format, and proposed by Microsoft, a video coding standard released by the American Society of Motion Picture and Television Engineers SMPTE, the standard is MPEG2 After H.264, the latest recognized high-definition video coding format, this coding has the characteristics of small code stream, high versatility, low cost and less system resource occupation.

H.323标准协议族是国际电信联盟(ITU)的一个标准协议栈。根据功能划分,H.323协议族可被分为以下几类协议:系统总体框架(H.323)、视频编解码(H.263等)、音频编解码(H.723.1等)、系统控制(H.245)、数据流复用(H.225)等。The H.323 standard protocol suite is a standard protocol stack of the International Telecommunication Union (ITU). According to the functional division, the H.323 protocol family can be divided into the following types of protocols: overall system framework (H.323), video codec (H.263, etc.), audio codec (H.723.1, etc.), system control ( H.245), data stream multiplexing (H.225), etc.

目前,H.323协议族在音频和视频通信领域内有着广泛的应用,但是,其支持的视频协议包括H.261/H.263,其并不支持微软的VC-1视频编码方式,因此,目前无法在支持H.323协议族的终端设备中传输VC-1编码视音频,这给不同网络业务间的融合带来很大困难。At present, the H.323 protocol family is widely used in the field of audio and video communication. However, the supported video protocols include H.261/H.263, which does not support Microsoft's VC-1 video coding method. Therefore, At present, it is impossible to transmit VC-1 encoded video and audio in terminal equipment supporting the H.323 protocol family, which brings great difficulties to the integration of different network services.

发明内容Contents of the invention

本发明的目的在于提供一种VC-1编码视音频在支持H.323协议族的终端设备中传输的方法,通过该方法,支持H.323协议族的终端设备间便能自由传输VC-1编码视音频。The purpose of the present invention is to provide a method for transmitting VC-1 encoded video and audio in terminal equipment supporting the H.323 protocol family. By this method, VC-1 can be freely transmitted between terminal equipment supporting the H.323 protocol family. Encode video and audio.

为了实现上述目的,本发明采用了以下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种VC-1编码视音频在支持H.323协议族的终端设备中传输的方法,其特征在于:它包括步骤:A method for transmitting VC-1 coded video and audio in a terminal device supporting the H.323 protocol family, characterized in that: it comprises steps:

步骤一:基于H.225协议在终端设备A与终端设备B之间建立呼叫流程;Step 1: Establish a call flow between terminal equipment A and terminal equipment B based on the H.225 protocol;

步骤二:在被叫的该终端设备B摘机后,基于H.245协议在该终端设备A与该终端设备B之间进行关于VC-1编码视音频传输的媒体协商;Step 2: After the called terminal device B goes off-hook, media negotiation about VC-1 coded video and audio transmission is carried out between the terminal device A and the terminal device B based on the H.245 protocol;

步骤三:根据媒体协商结果,该终端设备A与该终端设备B之间执行VC-1编码视音频传输作业;Step 3: According to the media negotiation result, perform VC-1 encoded video and audio transmission between the terminal device A and the terminal device B;

其中:in:

该终端设备A、终端设备B均支持H.323协议族;Both the terminal equipment A and the terminal equipment B support the H.323 protocol family;

在步骤二中,通过在H.245协议的TCS信令和OLC信令中对VC-1编码的相应参数进行规定,使该终端设备A、终端设备B所带有的能力集中扩充定义媒体协商过程中关于VC-1能力的VC-1能力集,从而使该终端设备A与该终端设备B之间对VC-1传输进行媒体协商。In step 2, by specifying the corresponding parameters of VC-1 encoding in the TCS signaling and OLC signaling of the H.245 protocol, the capabilities of the terminal equipment A and terminal equipment B are expanded to define media negotiation The VC-1 capability set about the VC-1 capability in the process, so that the terminal equipment A and the terminal equipment B perform media negotiation on VC-1 transmission.

本发明的优点是:The advantages of the present invention are:

在本发明方法中,通过在TCS信令和OLC信令中增加对VC-1编码的相应参数的规定,便可使得终端设备带有的能力集中扩充定义媒体协商过程中关于VC-1能力的VC-1能力集,从而使支持H.323协议族的终端设备能够支持VC-1编码传输的媒体协商,也就是说,支持H.323协议族的终端设备间建立了一种传输VC-1编码视音频的机制,使得支持H.323协议族的终端设备不仅可接收VC-1编码视音频(例如从IP网接收),通过自身设置的VC-1解码器解码,恢复、呈现视音频媒体,而且,也可通过自身设置的VC-1编码器编码,将VC-1编码视音频(例如通过IP网)传送给其他支持H.323协议族的终端设备进行视音频呈现。In the method of the present invention, by adding the corresponding parameters of VC-1 encoding in the TCS signaling and OLC signaling, the capabilities of the terminal equipment can be expanded to define the VC-1 capabilities in the media negotiation process. VC-1 capability set, so that the terminal equipment supporting the H.323 protocol family can support the media negotiation of VC-1 coded transmission, that is, a transmission VC-1 The mechanism of encoding video and audio enables terminal equipment supporting the H.323 protocol family to not only receive VC-1 encoded video and audio (for example, from an IP network), but also decode, restore and present video and audio media through the VC-1 decoder set by itself , Moreover, the VC-1 encoded video and audio can also be encoded by the VC-1 encoder set by itself, and the VC-1 encoded video and audio (for example, through an IP network) can be transmitted to other terminal devices supporting the H.323 protocol family for video and audio presentation.

本发明方法使得终端设备在H.323网络中可支持VC-1媒体传输,打破了原有的网络媒体不能传输VC-1媒体的屏障,使不同网络业务间的互相融合成为可能。The method of the invention enables the terminal equipment to support VC-1 media transmission in the H.323 network, breaks the barrier that the original network media cannot transmit the VC-1 media, and makes it possible to integrate different network services.

附图说明Description of drawings

图1是本发明的实现流程图;Fig. 1 is the realization flowchart of the present invention;

图2是本发明的一实施例的实现过程示意图。Fig. 2 is a schematic diagram of an implementation process of an embodiment of the present invention.

具体实施方式detailed description

如图1所示,本发明VC-1编码视音频在支持H.323协议族的终端设备中传输的方法包括步骤:As shown in Figure 1, the method that VC-1 coded video and audio of the present invention transmits in the terminal equipment that supports H.323 protocol family comprises steps:

步骤一:基于H.225协议在终端设备A与终端设备B之间建立呼叫流程;Step 1: Establish a call flow between terminal equipment A and terminal equipment B based on the H.225 protocol;

步骤二:在被叫的该终端设备B摘机后,基于H.245协议在该终端设备A与该终端设备B之间进行关于VC-1编码视音频传输的媒体协商;Step 2: After the called terminal device B goes off-hook, media negotiation about VC-1 coded video and audio transmission is carried out between the terminal device A and the terminal device B based on the H.245 protocol;

步骤三:根据媒体协商结果,该终端设备A与该终端设备B之间执行VC-1编码视音频传输作业;Step 3: According to the media negotiation result, perform VC-1 encoded video and audio transmission between the terminal device A and the terminal device B;

其中:in:

该终端设备A、终端设备B均支持H.323协议族,该H.323协议族包括H.225协议和H.245协议,H.225和H.245协议是采用抽象语法表示法(ASN.1)来表示语法或结构化数据的分组;Both the terminal equipment A and the terminal equipment B support the H.323 protocol suite, the H.323 protocol suite includes the H.225 protocol and the H.245 protocol, and the H.225 and H.245 protocols adopt abstract syntax notation (ASN. 1) to represent groupings of syntactic or structured data;

在步骤二中,通过在H.245协议的TCS信令和OLC信令中对VC-1编码的相应参数进行规定,使该终端设备A、终端设备B所带有的能力集中扩充定义媒体协商过程中关于VC-1能力的VC-1能力集,从而使该终端设备A与该终端设备B之间能够对VC-1传输进行媒体协商。In step 2, by specifying the corresponding parameters of VC-1 encoding in the TCS signaling and OLC signaling of the H.245 protocol, the capabilities of the terminal equipment A and terminal equipment B are expanded to define media negotiation The VC-1 capability set of the VC-1 capability in the process, so that the terminal equipment A and the terminal equipment B can perform media negotiation on VC-1 transmission.

在步骤二中,TCS信令和OLC信令中规定的VC-1编码的相应参数涉及VC-1编码的标识(OID)、传输VC-1编码时的最大比特率、传输VC-1编码时所采用的比特流语法原理以及VC-1编码采用的编解码算法;通过在TCS信令和OLC信令中对VC-1编码的相应参数进行规定,终端设备A、终端设备B中的VC-1能力集中相应增加了代表VC-1能力的这些参数,这些参数以列表形式出现在VC-1能力集中。进一步说,TCS信令中规定了如何在H.323网络中的媒体协商过程中定义VC-1能力,VC-1能力集是一个包含一个或多个VC-1能力的列表。In step 2, the corresponding parameters of VC-1 encoding specified in TCS signaling and OLC signaling involve the identification (OID) of VC-1 encoding, the maximum bit rate when transmitting VC-1 encoding, and the maximum bit rate when transmitting VC-1 encoding. The bit stream syntax principle adopted and the codec algorithm adopted by VC-1 encoding; by specifying the corresponding parameters of VC-1 encoding in TCS signaling and OLC signaling, the VC-1 in terminal equipment A and terminal equipment B These parameters representing VC-1 capabilities are correspondingly added to the 1 capability set, and these parameters appear in the VC-1 capability set in the form of a list. Furthermore, TCS signaling specifies how to define VC-1 capabilities during media negotiation in the H.323 network, and a VC-1 capability set is a list containing one or more VC-1 capabilities.

例如,在VC-1能力集中可设定三种传输类型——simple、main和advanced,这三种传输类型分别对应不同的比特流语法原理和不同的编解码算法,适用于不同的应用场景,其中:simple应用于低比特流环境,具有低复杂度的算法,最大比特率为384kbps;main应用于高比特率环境,例如流传送和TVOverIP,该方式以较高复杂度换来了改进的高压缩效率;而advanced设计为广播应用,如数字电视、HD-DVD或HDTV,最大比特流为135Mbps,几乎对视频进行了无损的编码。对于每种传输类型,都可定义一系列levels,标识语法原理的属性,例如比特率和缓存大小等。例如,设定simple包括2个level,main包括3个level,advanced包括5个level。For example, three transmission types can be set in the VC-1 capability set—simple, main, and advanced. These three transmission types correspond to different bitstream syntax principles and different codec algorithms, and are suitable for different application scenarios. Among them: simple is applied to low-bit-rate environment, has low-complexity algorithm, and the maximum bit rate is 384kbps; main is applied to high-bit-rate environment, such as streaming transmission and TVOverIP, this method trades higher complexity for improved high Compression efficiency; while advanced is designed for broadcast applications, such as digital TV, HD-DVD or HDTV, the maximum bit stream is 135Mbps, and the video is almost losslessly encoded. For each transport type, a series of levels can be defined, identifying properties of the syntax rationale, such as bit rate and buffer size, etc. For example, set simple to include 2 levels, main to include 3 levels, and advanced to include 5 levels.

在实际实施中,TCS信令和OLC信令中对VC-1编码的标识、传输VC-1编码时的最大比特率、传输VC-1编码时所采用的比特流语法原理以及VC-1编码采用的编解码算法的设定可根据实际传输需要而定,通过对这些参数的设定,便可在传输VC-1编码视音频的终端设备间建立传输VC-1的机制,从而使终端设备间按照设定传输VC-1的机制来进行VC-1编码视音频的传输。In actual implementation, the identification of VC-1 encoding in TCS signaling and OLC signaling, the maximum bit rate when transmitting VC-1 encoding, the bit stream syntax principle used when transmitting VC-1 encoding, and the VC-1 encoding The setting of the codec algorithm used can be determined according to the actual transmission needs. By setting these parameters, a mechanism for transmitting VC-1 can be established between terminal equipment that transmits VC-1 coded video and audio, so that the terminal equipment VC-1 coded video and audio transmission is carried out according to the set transmission mechanism of VC-1.

在实际实施时,步骤一具体包括如下步骤:In actual implementation, Step 1 specifically includes the following steps:

步骤1:终端设备A建立到终端设备B的TCP(TCP,Transmission ControlProtocol,传输控制协议)连接;Step 1: Terminal device A establishes a TCP (TCP, Transmission Control Protocol, Transmission Control Protocol) connection to terminal device B;

步骤2:终端设备A向终端设备B发送呼叫信令SETUP消息,表示发起呼叫;Step 2: terminal device A sends a call signaling SETUP message to terminal device B, indicating that a call is initiated;

步骤3:终端设备B接收到终端设备A发送来的SETUP消息后,发送临时响应消息CALLPROCEEDING到终端设备A;Step 3: After receiving the SETUP message sent by terminal device A, terminal device B sends a provisional response message CALLPROCEEDING to terminal device A;

步骤4:终端设备B发送振铃消息ALERTING到终端设备A;Step 4: terminal device B sends the ringing message ALERTING to terminal device A;

步骤5:终端设备B摘机后,发送CONNECT消息到终端设备A。Step 5: After terminal device B goes off-hook, it sends a CONNECT message to terminal device A.

在实际实施时,步骤二具体包括如下步骤:In actual implementation, Step 2 specifically includes the following steps:

步骤6:终端设备A与终端设备B之间建立基于H.245协议的逻辑通道TCP连接;Step 6: Establish a logical channel TCP connection based on the H.245 protocol between the terminal device A and the terminal device B;

步骤7:终端设备A与终端设备B相互发送TCS/TCSACK信令(TCS,TerminalCapability Set,终端能力集;TCSACK,Terminal Capability Set ACKnowledge,终端能力集认可),其中:Step 7: Terminal device A and terminal device B send TCS/TCSACK signaling to each other (TCS, TerminalCapability Set, terminal capability set; TCSACK, Terminal Capability Set ACKnowledge, terminal capability set approval), where:

终端设备A、终端设备B通过TCS信令告诉对方本端关于接收和发送VC-1编码视音频的能力;如果终端设备A和B都拥有接收和发送VC-1编码视音频的功能,则终端设备A和B互相发送TCSACK消息,并进入下一步骤;如果终端设备A和B中的一方或两方不拥有接收和发送VC-1编码视音频的功能,则终端设备A和B间互相发送TCSReject信令和呼叫释放消息,放弃VC-1编码视音频传输作业;Terminal device A and terminal device B inform each other about the ability to receive and send VC-1 coded video and audio through TCS signaling; if both terminal devices A and B have the function of receiving and sending VC-1 coded video and audio, the terminal Devices A and B send TCSACK messages to each other and enter the next step; if one or both of terminal devices A and B do not have the function of receiving and sending VC-1 encoded video and audio, then terminal devices A and B send mutual TCSReject signaling and call release message, abandoning VC-1 encoded video and audio transmission operations;

步骤8:终端设备A与终端设备B之间发送MSD/MSDACK信令(MSD,Master SlaveDetermination,主从决定;MSDACK,Master Slave Determination ACKnowledge,主从决定认可),以确定媒体协商优先权;Step 8: MSD/MSDACK signaling (MSD, Master Slave Determination, master-slave decision; MSDACK, Master Slave Determination ACKnowledge, master-slave decision approval) is sent between terminal device A and terminal device B to determine the media negotiation priority;

步骤9:终端设备A与终端设备B之间互相发送OLC/OLCACK信令(OLC,Open LogicChannel,打开逻辑通道;OLCACK,Open Logic Channel ACKnowledge,打开逻辑通道认可),通过OLC信令中传递的关于VC-1编码的参数来确定媒体协商结果,该媒体协商结果包括视音频编码方式、媒体逻辑地址和端口。Step 9: Terminal device A and terminal device B send OLC/OLCACK signaling to each other (OLC, Open LogicChannel, open logical channel; OLCACK, Open Logic Channel ACKnowledge, open logical channel recognition), through the information transmitted in the OLC signaling VC-1 encoded parameters to determine the media negotiation result, the media negotiation result includes video and audio encoding mode, media logical address and port.

在实际实施时,步骤三具体包括如下步骤:In actual implementation, step three specifically includes the following steps:

步骤10:终端设备A和B打开视音频通道,根据对方提供的媒体逻辑地址和端口,将各自编码器进行压缩和编码后的VC-1编码视音频以RTP媒体流发送给对方,并接收对方发送的RTP媒体流(即VC-1编码视音频),且进行解码处理后呈现在相应的视音频I/O设备上。Step 10: Terminal devices A and B open the video and audio channels, and send the VC-1 encoded video and audio compressed and encoded by their respective encoders to the other party as RTP media streams according to the media logical address and port provided by the other party, and receive the other party The sent RTP media stream (that is, VC-1 encoded video and audio) is decoded and presented on the corresponding video and audio I/O device.

H.323协议族规定:音频和视频分组必须被封装在RTP(RTP,Real Time Protocol,实时协议)中,并通过发送端和接收端的一个UDP的Socket对来进行承载,而实时控制协议RTCP用来评估会话和连接质量,以及在通信方之间提供反馈信息。在本发明中,VC-1编码的RTP封装请参考RFC 4425,属于公知技术,不在这里详述。The H.323 protocol family stipulates that audio and video packets must be encapsulated in RTP (RTP, Real Time Protocol, real-time protocol), and carried by a UDP Socket pair at the sending end and the receiving end, while the real-time control protocol RTCP uses to evaluate session and connection quality, and to provide feedback between communicating parties. In the present invention, please refer to RFC 4425 for the RTP encapsulation of VC-1 encoding, which is a known technology and will not be described in detail here.

也就是说,对于不用注册到网守(GK,Gatekeeper)或网关上的终端设备A和B而言,经过上述步骤1-10后,终端设备A和B之间便可实现H.323网络下的VC-1编码视音频传输。That is to say, for terminal devices A and B that do not need to register with the gatekeeper (GK, Gatekeeper) or gateway, after the above steps 1-10, the H.323 network connection between terminal devices A and B can be realized. VC-1 encoded video and audio transmission.

对于注册到网守或网关上的终端设备A和终端设备B而言,则需要在步骤一中增加终端认证和路由确认步骤,具体实现如图2所示:For terminal equipment A and terminal equipment B registered on the gatekeeper or gateway, it is necessary to add terminal authentication and routing confirmation steps in step 1. The specific implementation is shown in Figure 2:

步骤101:终端设备A基于H.225协议(即RAS,Registration,Admission andStatus,注册、接入、状态管理)发起ARQ请求(ARQ,Admission Request,接入请求)到网守/网关;Step 101: terminal device A initiates an ARQ request (ARQ, Admission Request, access request) to the gatekeeper/gateway based on the H.225 protocol (ie RAS, Registration, Admission and Status, registration, access, status management);

步骤102:网守/网关向终端设备A发送呼叫许可信令ACF(ACF,AdmissionConfirmation,接入确认);Step 102: the gatekeeper/gateway sends the call permission signaling ACF (ACF, AdmissionConfirmation, access confirmation) to the terminal equipment A;

步骤103:终端设备A建立到终端设备B的TCP连接;Step 103: terminal device A establishes a TCP connection to terminal device B;

步骤104:终端设备A向终端设备B发送呼叫信令SETUP消息,表示发起呼叫;Step 104: terminal device A sends a call signaling SETUP message to terminal device B, indicating that a call is initiated;

步骤105:终端设备B接收到终端设备A发送来的SETUP消息后,发送临时响应消息CALLPROCEEDING到终端设备A;Step 105: after terminal device B receives the SETUP message sent by terminal device A, it sends a provisional response message CALLPROCEEDING to terminal device A;

步骤106:终端设备B发送ARQ请求消息到网守/网关;Step 106: terminal device B sends an ARQ request message to the gatekeeper/gateway;

步骤107:网守/网关对终端设备B进行认证,如果认证通过,则回应ACF到终端设备B(如果认证不通过,则终止操作,放弃VC-1编码视音频传输作业);Step 107: the gatekeeper/gateway authenticates the terminal equipment B, if the authentication is passed, then responds to the ACF to the terminal equipment B (if the authentication fails, then terminates the operation, and abandons the VC-1 encoded video and audio transmission operation);

步骤108:终端设备B发送振铃消息ALERTING到终端设备A;Step 108: terminal device B sends a ringing message ALERTING to terminal device A;

步骤109:终端设备B摘机后,发送CONNECT消息到终端设备A;Step 109: after terminal device B goes off-hook, send a CONNECT message to terminal device A;

步骤110:终端设备A与终端设备B之间建立基于H.245协议的逻辑通道TCP连接;Step 110: Establish a logical channel TCP connection based on the H.245 protocol between the terminal device A and the terminal device B;

步骤111:终端设备A与终端设备B相互发送TCS/TCSACK信令,其中:终端设备A、终端设备B通过TCS信令告诉对方本端关于接收和发送VC-1编码视音频的能力;如果终端设备A和B都拥有接收和发送VC-1编码视音频的功能,则终端设备A和B互相发送TCSACK消息并进入下一步骤(但是,如果终端设备A和B中的一方或两方不拥有接收和发送VC-1编码视音频的功能,则终端设备A和B间互相发送TCSReject信令和呼叫释放消息,放弃VC-1编码视音频传输作业);Step 111: Terminal device A and terminal device B send TCS/TCSACK signaling to each other, wherein: terminal device A and terminal device B tell each other the ability to receive and send VC-1 encoded video and audio through TCS signaling; if the terminal Both devices A and B have the function of receiving and sending VC-1 encoded video and audio, then terminal devices A and B send TCSACK messages to each other and enter the next step (however, if one or both of terminal devices A and B do not have The function of receiving and sending VC-1 coded video and audio, then terminal equipment A and B send TCSReject signaling and call release messages to each other, and give up the VC-1 coded video and audio transmission operation);

步骤112:终端设备A与终端设备B之间发送MSD/MSDACK信令,以确定媒体协商优先权;Step 112: MSD/MSDACK signaling is sent between terminal equipment A and terminal equipment B to determine the media negotiation priority;

步骤113:终端设备A与终端设备B之间互相发送OLC/OLCACK信令,通过OLC信令中传递的关于VC-1编码的参数来确定媒体协商结果,该媒体协商结果包括视音频编码方式、媒体逻辑地址和端口;Step 113: Terminal device A and terminal device B send OLC/OLCACK signaling to each other, and determine the media negotiation result through the parameters about VC-1 encoding transmitted in the OLC signaling. The media negotiation result includes video and audio coding methods, Media logical address and port;

步骤114:终端设备A和B打开视音频通道,根据对方提供的媒体逻辑地址和端口,将各自编码器进行压缩和编码后的VC-1编码视音频以RTP媒体流发送给对方,并接收对方发送的RTP媒体流(即VC-1编码视音频),且进行解码处理后呈现在相应的视音频I/O设备上,如此便完成了终端设备A和B之间的VC-1编码视音频传输。Step 114: Terminal devices A and B open the video and audio channels, and send the VC-1 encoded video and audio after compression and encoding by their respective encoders to the other party as RTP media streams according to the media logical address and port provided by the other party, and receive the video and audio from the other party The sent RTP media stream (that is, VC-1 encoded video and audio) is decoded and presented on the corresponding video and audio I/O device, thus completing the VC-1 encoded video and audio between terminal devices A and B transmission.

本发明的优点是:The advantages of the present invention are:

在本发明方法中,通过在TCS信令和OLC信令中增加对VC-1编码的相应参数的规定,便可使得终端设备带有的能力集中扩充定义媒体协商过程中关于VC-1能力的VC-1能力集,从而使支持H.323协议族的终端设备能够支持VC-1编码传输的媒体协商,也就是说,支持H.323协议族的终端设备间建立了一种传输VC-1编码视音频的机制,使得支持H.323协议族的终端设备不仅可接收VC-1编码视音频(例如从IP网接收),通过自身设置的VC-1解码器解码,恢复、呈现视音频媒体,而且,也可通过自身设置的VC-1编码器编码,将VC-1编码视音频(例如通过IP网)传送给其他支持H.323协议族的终端设备进行视音频呈现。In the method of the present invention, by adding the corresponding parameters of VC-1 encoding in the TCS signaling and OLC signaling, the capabilities of the terminal equipment can be expanded to define the VC-1 capabilities in the media negotiation process. VC-1 capability set, so that the terminal equipment supporting the H.323 protocol family can support the media negotiation of VC-1 coded transmission, that is, a transmission VC-1 The mechanism of encoding video and audio enables terminal equipment supporting the H.323 protocol family to not only receive VC-1 encoded video and audio (for example, from an IP network), but also decode, restore and present video and audio media through the VC-1 decoder set by itself , Moreover, the VC-1 encoded video and audio can also be encoded by the VC-1 encoder set by itself, and the VC-1 encoded video and audio (for example, through an IP network) can be transmitted to other terminal devices supporting the H.323 protocol family for video and audio presentation.

本发明方法使得终端设备在H.323网络中可支持VC-1媒体传输,打破了原有的网络媒体不能传输VC-1媒体的屏障,使不同网络业务间的互相融合成为可能。The method of the invention enables the terminal equipment to support VC-1 media transmission in the H.323 network, breaks the barrier that the original network media cannot transmit the VC-1 media, and makes it possible to integrate different network services.

上述是本发明的较佳实施例及其所运用的技术原理,对于本领域的技术人员来说,在不背离本发明的精神和范围的情况下,任何基于本发明技术方案基础上的等效变换、简单替换等显而易见的改变,均属于本发明保护范围之内。The above are preferred embodiments of the present invention and the technical principles used therefor. For those skilled in the art, without departing from the spirit and scope of the present invention, any equivalent based on the technical solution of the present invention Obvious changes such as conversion and simple replacement all fall within the protection scope of the present invention.

Claims (5)

1. the method that a VC-1 coding video and audio is transmitted in the terminal unit supporting H.323 protocol suite, it is characterised in that: it Including step:
Step one: set up call flow between terminal unit A and terminal unit B based on H.225 agreement;
Step 2: after called this terminal unit B off-hook, based on H.245 agreement at this terminal unit A and this terminal unit B Between carry out about VC-1 coding video and audio transmission media negotiation;
Step 3: according to media negotiation result, performs VC-1 coding video and audio and passes between this terminal unit A and this terminal unit B Defeated operation;
Wherein:
This terminal unit A, terminal unit B all support H.323 protocol suite;
In step 2, by the relevant parameter of VC-1 coding being advised in the TCS signaling of H.245 agreement and OLC signaling Fixed, make this terminal unit A, terminal unit B institute with capability set in expand and define in media consultation process about VC-1 ability VC-1 capability set so that between this terminal unit A and this terminal unit B to VC-1 transmission carry out media negotiation;
In step 2, in this TCS signaling and OLC signaling, the relevant parameter of the VC-1 coding of regulation relates to the mark of VC-1 coding Know, transmission VC-1 coding time Maximum Bit Rate, transmission VC-1 coding time the bitstream syntax principle that used and VC-1 compile The encoding and decoding algorithm that code uses;
By specifying the relevant parameter of VC-1 coding in this TCS signaling and OLC signaling, this terminal unit A, terminal set Adding, in VC-1 capability set in standby B, these parameters representing VC-1 ability accordingly, these parameters occur in tabular form In VC-1 capability set.
2. the method that VC-1 coding video and audio as claimed in claim 1 is transmitted in the terminal unit supporting H.323 protocol suite, It is characterized in that:
Described step one includes step:
Step 1: described terminal unit A sets up the TCP of described terminal unit B and connects;
Step 2: described terminal unit A sends call signaling SETUP message to described terminal unit B, represents and initiates calling;
Step 3: after described terminal unit B receives the SETUP message that described terminal unit A transmission comes, sends Temporary Response and disappears Breath CALLPROCEEDING to described terminal unit A;
Step 4: described terminal unit B sends ALERTING message ALERTING to described terminal unit A;
Step 5: after described terminal unit B off-hook, transmission CONNECT message to described terminal unit A.
3. the method that VC-1 coding video and audio as claimed in claim 1 is transmitted in the terminal unit supporting H.323 protocol suite, It is characterized in that:
Described step 2 includes step:
Step 6: set up logical channel TCP based on H.245 agreement between described terminal unit A with described terminal unit B and be connected;
Step 7: described terminal unit A and described terminal unit B mutually sends TCS/TCSACK signaling, wherein:
By TCS signaling, described terminal unit A, described terminal unit B tell that the other side's local terminal encodes about receiving and send VC-1 The ability of video and audio;If described terminal unit A and B is owned by receiving and sending the function of VC-1 coding video and audio, then described Terminal unit A and B sends mutually TCSACK message, and enters next step;If the side in described terminal unit A and B or Two sides do not have the function receiving and sending VC-1 coding video and audio, send mutually between the most described terminal unit A and B TCSReject signaling and call release message, abandon VC-1 coding video and audio transmission operation;
Step 8: send MSD/MSDACK signaling between described terminal unit A and described terminal unit B, to determine that media negotiation is excellent First weigh;
Step 9: send mutually OLC/OLCACK signaling between described terminal unit A and described terminal unit B, by OLC signaling The parameter about VC-1 coding of middle transmission determines media negotiation result, and this media negotiation result includes video encoding side Formula, media logic address and port.
4. the method that VC-1 coding video and audio as claimed in claim 1 is transmitted in the terminal unit supporting H.323 protocol suite, It is characterized in that:
Described step 3 includes step:
Step 10: described terminal unit A and B opens audio channel and video channel, the media logic address provided according to the other side and port, will VC-1 coding video and audio after each encoder is compressed and encodes to the other side with RTP media stream, and receives the other side and sends out The RTP Media Stream sent, and be decoded process after be presented on corresponding video and audio I/O equipment.
5. the method that VC-1 coding video and audio as claimed in claim 2 is transmitted in the terminal unit supporting H.323 protocol suite, It is characterized in that:
If described terminal unit A and described terminal unit B is registered on gatekeeper or gateway, then increase eventually in described step one End certification and route confirm step, particularly as follows:
Following steps are increased: described terminal unit A initiates ARQ based on H.225 agreement and asks gatekeeper/net before described step 1 Close;Gatekeeper/gateway sends call admission signaling ACF to described terminal unit A;
Following steps are increased: described terminal unit B sends ARQ request message to gatekeeper/net between described step 3 and step 4 Close;Described terminal unit B is authenticated by gatekeeper/gateway, if certification is passed through, then responds ACF to described terminal unit B, as Really certification is not passed through, then terminate operation, abandons VC-1 coding video and audio transmission operation.
CN201110108332.8A 2011-04-28 2011-04-28 VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite Active CN102761526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110108332.8A CN102761526B (en) 2011-04-28 2011-04-28 VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110108332.8A CN102761526B (en) 2011-04-28 2011-04-28 VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite

Publications (2)

Publication Number Publication Date
CN102761526A CN102761526A (en) 2012-10-31
CN102761526B true CN102761526B (en) 2016-12-28

Family

ID=47055848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110108332.8A Active CN102761526B (en) 2011-04-28 2011-04-28 VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite

Country Status (1)

Country Link
CN (1) CN102761526B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141352B (en) * 2021-03-26 2022-09-30 深圳市捷视飞通科技股份有限公司 Multimedia data transmission method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977911B1 (en) * 2000-07-31 2005-12-20 Cisco Technology, Inc. Scalable voice over IP system configured for dynamically switching codecs during a call
CN1889425A (en) * 2005-09-12 2007-01-03 华为技术有限公司 Method and system for realizing H.323 network internodal safety calling

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977911B1 (en) * 2000-07-31 2005-12-20 Cisco Technology, Inc. Scalable voice over IP system configured for dynamically switching codecs during a call
CN1889425A (en) * 2005-09-12 2007-01-03 华为技术有限公司 Method and system for realizing H.323 network internodal safety calling

Also Published As

Publication number Publication date
CN102761526A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
CN100536475C (en) Method for consulting multimedia coding and decoding capacity of 3G audio frequency gateway
US8953671B2 (en) Codec capability negotiation method and terminal thereof
JP2012523199A (en) Method and apparatus for session negotiation
CN106921843B (en) Data transmission method and device
WO2010037293A1 (en) Method and system for improving quality of multimedia calls, media controlling equipment and media processing equipment
CN105554029A (en) Method for realizing media intercommunication between WebRTC terminal and SIP terminal and media gateway
US9332049B1 (en) Media compression for tunneled real-time communications
JP2001157183A (en) Video telephone system
CN111131743A (en) Video call method and device based on browser, electronic equipment and storage medium
US20160241683A1 (en) Method and device for processing capability negotiation, and telepresence endpoint
WO2021073155A1 (en) Video conference method, apparatus and device, and storage medium
CN101155095B (en) A method, system, and gateway for negotiating capabilities of a data signal detector
EP3038369B1 (en) In-band quality data
WO2009121284A1 (en) A method, system and gateway for supplying intelligent service
CN112887497B (en) Communication method, apparatus and computer storage medium
WO2013189430A2 (en) Method, system, and media server for implementing automatic speech recognition service
CN101394568B (en) Video data updating method, apparatus and method thereof
CN102761526B (en) VC 1 encodes the method that video and audio is transmitted in the terminal unit supporting H.323 protocol suite
CN103188403B (en) The online monitor method of voice gateways
JP2006165935A (en) Device and method for converting control information
CN104519304B (en) Terminal point information interaction processing method, device and endpoint is remotely presented
WO2019228534A1 (en) Media transmission method and h323-sip gateway
CN102177692B (en) For the system of forwarding media control messages, method, program element and computer accessible
CN103401833A (en) Media cipher/decipher switching method and device
CN101296205B (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network

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
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20250718

Granted publication date: 20161228