CN100542177C - A negotiation method and system - Google Patents
A negotiation method and system Download PDFInfo
- Publication number
- CN100542177C CN100542177C CNB2006101528829A CN200610152882A CN100542177C CN 100542177 C CN100542177 C CN 100542177C CN B2006101528829 A CNB2006101528829 A CN B2006101528829A CN 200610152882 A CN200610152882 A CN 200610152882A CN 100542177 C CN100542177 C CN 100542177C
- Authority
- CN
- China
- Prior art keywords
- redundancy
- frame
- idle
- field
- extension
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种冗余能力协商的方法及系统。The present invention relates to the field of communication technology, in particular to a method and system for negotiating redundant capabilities.
背景技术 Background technique
随着传统通信网络、互联网以及移动通信网络的发展,各个网络相互融合是必然趋势,下一代网络NGN(Next Generation Nerwork)就是以网际协议IP(Internet Protocol)分组交换网络为核心网,控制与承载分离,各种接入技术并存,融合现有各种网络的新一代网络。With the development of traditional communication networks, the Internet and mobile communication networks, the integration of various networks is an inevitable trend. The next generation network NGN (Next Generation Nerwork) uses the Internet Protocol IP (Internet Protocol) packet switching network as the core network to control and carry Separation, various access technologies coexist, and a new generation network that integrates various existing networks.
基于IP承载的业务传输可以使用多种编码方式,如国际电信联盟电信标准部ITU-T(International Telecommunication Union TelecommunicationStandardization Sector)所定义的G.729、G.711协议等。G.711协议中的数据速率为64Kbit/s,理论上可以传递数据及传真业务,但是由于IP传输的不可靠性,如果发生丢包,则不能正常实现数据传递及传真,由此产生了G.711冗余(G.711Redundant,简称“G.711Red”)编解码方案。G.711Red编解码,实际上就是将G.711 RTP报文根据RFC2198协议进行冗余处理,因为引入了冗余机制而具有较高的可靠性。IP-based service transmission can use a variety of encoding methods, such as the G.729 and G.711 protocols defined by the ITU-T (International Telecommunication Union Telecommunications Standardization Sector) of the International Telecommunication Union. The data rate in the G.711 protocol is 64Kbit/s. In theory, data and fax services can be transmitted. However, due to the unreliability of IP transmission, if packet loss occurs, data transmission and fax cannot be normally realized, resulting in G. .711 redundant (G.711Redundant, referred to as "G.711Red") codec scheme. G.711Red codec actually performs redundancy processing on G.711 RTP messages according to the RFC2198 protocol, which has high reliability due to the introduction of the redundancy mechanism.
一般在网络的业务传输中,需要知道对方的业务支持能力,即进行能力协商,然后再进行数据传输。目前,现有技术中,是通过信令面进行能力协商,具体可以通过BICC信令进行协商。媒体网关控制器MGC(Media GatewayController)通过配置文件配置媒体网关MGW(Media Gateway)是否支持G.711冗余,然后MGC扩展BICC信令里面的编解码(Codec)类型为G.711red,在呼叫建立的时候,MGC通过Bicc信令将G.711red作为一种编解码发送给另一个MGC,如果另一个MGC支持该冗余,则返回携带G.711red类型标识的响应消息,表示该编解码协商成功,如果不支持,则在响应消息中不携带G.711red类型标识,表示协商不成功。Generally, in network service transmission, it is necessary to know the service support capability of the other party, that is, perform capability negotiation before data transmission. At present, in the prior art, capability negotiation is performed through a signaling plane, and specifically, the negotiation may be performed through BICC signaling. The media gateway controller MGC (Media Gateway Controller) configures whether the media gateway MGW (Media Gateway) supports G.711 redundancy through the configuration file, and then the MGC extends the codec (Codec) type in the BICC signaling to G.711red, and the call is established , the MGC sends G.711red as a codec to another MGC through Bicc signaling. If the other MGC supports this redundancy, it returns a response message carrying the G.711red type identifier, indicating that the codec negotiation is successful. , if not supported, the response message does not carry the G.711red type identifier, indicating that the negotiation is unsuccessful.
但是,MGC在扩展BICC信令里面的编解码(Codec)类型为G.711red后,需要通知MGW相应的编解码类型,然后MGW按照此编解码类型进行编解码。MGC通知MGW的方式是通过H.248接口,目前H.248接口协议有G.711、自适应多速率AMR等语音编解码的描述方式,却没有G.711red的描述方式,因此需要扩展H.248对于G.711red编解码的描述方式,这样MGC才能通知MGW。所以,现有技术通过信令面扩展方式协商冗余能力就存在一个兼容性问题,即为了支持G.711red,需要MGC之间、MGC和MGW之间都进行扩展,对现有网络影响大,在具体部署实施时,会比较复杂和麻烦。However, after the MGC extends the codec (Codec) type in the BICC signaling to G.711red, it needs to notify the MGW of the corresponding codec type, and then the MGW performs codec according to the codec type. The way for the MGC to notify the MGW is through the H.248 interface. At present, the H.248 interface protocol has G.711, adaptive multi-rate AMR and other voice codec description methods, but there is no G.711red description method, so it is necessary to expand the H. 248 for the description of the G.711red codec, so that the MGC can notify the MGW. Therefore, in the existing technology, there is a compatibility problem in negotiating redundancy capabilities through signaling plane extension, that is, in order to support G.711red, extensions between MGCs and between MGCs and MGWs are required, which has a great impact on the existing network. It will be more complicated and troublesome when deploying and implementing it.
发明内容 Contents of the invention
本发明要解决的技术问题是提供一种协商方法及系统,在对现网影响比较小的情况下实现冗余能力协商。The technical problem to be solved by the present invention is to provide a negotiation method and system to realize redundancy capability negotiation with relatively little impact on the existing network.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
本发明提供一种协商方法,包括:发送端根据用户面协议发送携带关于数据冗余的冗余能力标识的帧报文;接收端接收所述帧报文后检测冗余能力标识位;接收端在返回的帧报文中相应设置关于数据冗余的冗余能力标识后向发送端发送,其中所述发送端和接收端为媒体网关。The present invention provides a negotiation method, comprising: the sending end sends a frame message carrying a redundancy capability identifier related to data redundancy according to the user plane protocol; the receiving end detects the redundancy capability identifier bit after receiving the frame message; the receiving end In the returned frame message, a redundancy capability identifier related to data redundancy is correspondingly set, and then sent to the sending end, wherein the sending end and the receiving end are media gateways.
可选的,所述冗余能力标识在初始化帧的空闲扩展域或空闲域设置。Optionally, the redundancy capability identifier is set in the idle extension field or the idle field of the initialization frame.
可选的,所述冗余能力标识在数据帧的空闲扩展域或空闲域设置。Optionally, the redundancy capability identifier is set in an idle extension field or an idle field of the data frame.
可选的,所述数据帧包括协议数据单元类型0或协议数据单元类型1。Optionally, the data frame includes
可选的,所述设置在空闲扩展域或空闲域的任一位进行设置。Optionally, the setting is set in the idle extension field or any bit of the idle field.
可选的,所述冗余能力标识采用不同符号表示支持冗余或不支持冗余。Optionally, the redundancy capability identifier uses different symbols to indicate that redundancy is supported or not supported.
本发明相应提供一种协商系统,包括:发送端和接收端,所述发送端和接收端为媒体网关;其中,发送端,用于根据用户面协议发送携带关于数据冗余的冗余能力标识的帧报文;接收端,用于接收所述帧报文后检测冗余能力标识位;在返回的帧报文中相应设置关于数据冗余的冗余能力标识后向发送端发送。The present invention correspondingly provides a negotiation system, including: a sending end and a receiving end, the sending end and the receiving end are media gateways; wherein, the sending end is used to send a redundancy capability identifier carrying data redundancy according to a user plane protocol the frame message; the receiving end is used to detect the redundancy capability flag after receiving the frame message; correspondingly set the redundancy capability flag related to data redundancy in the returned frame message and then send it to the sending end.
可选的,所述发送端,包括第一扩展单元和发送单元;其中,第一扩展单元,用于在初始化帧或者数据帧的空闲扩展域或空闲域设置冗余能力标识;发送单元,用于发送由第一扩展单元设置冗余能力标识后的帧报文。Optionally, the sending end includes a first extension unit and a sending unit; wherein, the first extension unit is configured to set a redundant capability identifier in an idle extension field or idle field of an initialization frame or a data frame; the sending unit uses to send the frame message after the redundancy capability flag is set by the first extension unit.
可选的,所述接收端,包括检测单元、第二扩展单元和响应单元;其中,检测单元,用于接收所述帧报文后检测冗余能力标识位;第二扩展单元,用于在初始化帧或者数据帧的空闲扩展域或空闲域相应设置冗余能力标识;响应单元,用于向发送端返回由第二扩展单元设置冗余能力标识后的帧报文。Optionally, the receiving end includes a detection unit, a second extension unit, and a response unit; wherein the detection unit is configured to detect a redundant capability flag after receiving the frame message; the second extension unit is configured to The idle extension field or the idle field of the initialization frame or the data frame is correspondingly set with a redundancy capability flag; the response unit is used to return the frame message after the redundancy capability flag is set by the second extension unit to the sending end.
以上技术方案可以看出:It can be seen from the above technical scheme that:
首先,现有技术通过信令面进行冗余能力协商,存在兼容性问题,MGC之间、MGC和MGW之间都需要进行扩展,对现有网络影响大,而本发明是通过用户面进行冗余能力协商,具体为发送端发送携带冗余能力标识的帧报文;接收端接收所述帧报文后检测冗余能力标识位;接收端向发送端返回相应设置冗余能力标识的帧报文,从而只需扩展MGW,使MGW之间利用用户面协议报文进行冗余能力协商;First of all, the existing technology performs redundancy capability negotiation through the signaling plane, and there is a compatibility problem. Extensions between MGCs, and between MGCs and MGWs are required, which has a great impact on the existing network. However, the present invention performs redundancy through the user plane Redundant capability negotiation, specifically, the sending end sends a frame message carrying a redundant capability identifier; the receiving end detects the redundant capability identifier bit after receiving the frame message; Therefore, it is only necessary to extend the MGW so that the MGWs can use the user plane protocol message to perform redundancy capability negotiation;
进一步的,所述帧报文携带的冗余能力标识可以是在初始化帧的空闲扩展域或空闲域设置,也可以在数据帧的空闲扩展域或空闲域设置,并且是可以在空闲扩展域或空闲域的任一比特位进行设置,当发送端或接收端支持冗余时,可以将冗余能力标识设置为1,当不支持冗余时,可以将冗余能力标识设置为0。Further, the redundancy capability identifier carried in the frame message may be set in the idle extension field or the idle field of the initialization frame, or may be set in the idle extension field or the idle field of the data frame, and may be set in the idle extension field or the idle field Any bit of the idle field can be set. When the sending end or the receiving end supports redundancy, the redundancy capability flag can be set to 1. When redundancy is not supported, the redundancy capability flag can be set to 0.
附图说明 Description of drawings
图1是本发明协商方法流程图;Fig. 1 is a flowchart of the negotiation method of the present invention;
图2是本发明协商方法实施例一流程图;Fig. 2 is a flowchart of
图3是本发明协商方法扩展后的UP协议数据单元类型14的格式示意图;Fig. 3 is a schematic diagram of the format of the UP protocol
图4是本发明协商方法实施例二流程图;Fig. 4 is a flow chart of
图5是本发明协商方法扩展后的UP协议数据单元类型0的格式示意图;5 is a schematic diagram of the format of the UP protocol
图6是本发明协商方法扩展后的UP协议数据单元类型1的格式示意图;6 is a schematic diagram of the format of the UP protocol
图7是本发明协商系统结构示意图;Fig. 7 is a schematic structural diagram of the negotiation system of the present invention;
图8是本发明协商系统中的发送端的结构示意图;FIG. 8 is a schematic structural diagram of the sending end in the negotiation system of the present invention;
图9是本发明协商系统中的接收端的结构示意图。FIG. 9 is a schematic structural diagram of a receiving end in the negotiation system of the present invention.
具体实施方式 Detailed ways
本发明的目的是在无线网络中提供冗余能力的协商方法,并能够很好的兼容于现有网络。该方法主要是利用了用户面UP协议报文中相应的空闲扩展域或空闲域进行能力的协商,所以不需要信令面的参与,不需要媒体网关控制器MGC的参与,只需媒体网关MGW之间进行扩展和协商。The purpose of the present invention is to provide a method for negotiating redundant capabilities in a wireless network, and to be well compatible with existing networks. This method mainly utilizes the corresponding idle extended field or idle field in the user plane UP protocol message to carry out capability negotiation, so the participation of the signaling plane and the media gateway controller MGC are not required, only the media gateway MGW is required. expand and negotiate.
UP协议是3GPP R4核心网中使用的用户面协议,其用来协商用户面的功能,包括UP初始化、时间调整、速率控制等功能。初始化时,携带相应语音编解码信息,UP模式、版本等信息。The UP protocol is a user plane protocol used in the 3GPP R4 core network, which is used to negotiate user plane functions, including UP initialization, time adjustment, rate control and other functions. When initializing, it carries corresponding voice codec information, UP mode, version and other information.
以下结合附图和具体实施例对本发明进行详细介绍。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
需要说明的是,下面所述内容的发送端和接收端设备是指MGW。It should be noted that the sending end and receiving end devices in the content described below refer to the MGW.
请参阅图1,是本发明协商方法流程图,包括步骤:Please refer to Fig. 1, which is a flowchart of the negotiation method of the present invention, including steps:
A1、发送携带冗余能力标识的帧报文;A1. Send a frame message carrying a redundancy capability identifier;
在UP协议报文的帧中的空闲扩展域中设置冗余能力标识,即在空闲扩展域中将最后一个比特位作为冗余位,设置冗余位为1,表示本端支持冗余,若冗余位为0,则表示本端不支持冗余。需要说明的是,可以利用空闲扩展域中任一个比特位作为冗余位。这里所说的帧,可以是初始化帧,也可以是数据帧。Set the redundancy capability flag in the idle extension field in the frame of the UP protocol message, that is, use the last bit in the idle extension field as a redundancy bit, and set the redundancy bit to 1, indicating that the local end supports redundancy. If the redundancy bit is 0, it means that the local end does not support redundancy. It should be noted that any bit in the idle extension field can be used as a redundant bit. The frame mentioned here can be an initialization frame or a data frame.
另外,也可以是在UP协议报文的帧中的空闲域中进行上述操作。In addition, the above operations may also be performed in the idle field in the frame of the UP protocol message.
设置冗余能力标识后,发送端向接收端发送携带冗余能力标识的帧报文。After setting the redundancy capability identifier, the sending end sends a frame message carrying the redundancy capability identifier to the receiving end.
A2、接收端接收所述帧报文后检测冗余能力标识位;A2. The receiving end detects the redundancy capability flag after receiving the frame message;
接收端接收帧报文后,对帧报文的相应位即空闲扩展域或空闲域进行检测,若冗余位为1,则认为发送端支持冗余,若冗余位为0,则认为发送端不支持冗余。After receiving the frame message, the receiving end detects the corresponding bit of the frame message, that is, the idle extension field or the free field. If the redundant bit is 1, it is considered that the sending end supports redundancy. If the redundant bit is 0, it is considered to be sending end does not support redundancy.
A3、接收端向发送端返回相应设置冗余能力标识的帧报文。A3. The receiving end returns the frame message correspondingly set with the redundancy capability flag to the sending end.
若接收端也支持冗余,则在即将返回的帧报文中将空闲扩展域或空闲域的冗余位也相应设置冗余能力标识,即将冗余位设置为1,表示本端支持冗余,然后返回给发送端。这样发送端和接收端都知道对方支持冗余,则后续报文就可以使用冗余报文了。If the receiving end also supports redundancy, in the frame message to be returned, the redundancy bit of the idle extension field or the idle field is also set with a redundancy capability flag, that is, the redundancy bit is set to 1, indicating that the local end supports redundancy , and then returned to the sender. In this way, both the sending end and the receiving end know that the other party supports redundancy, and subsequent messages can use redundant messages.
需要说明的是,若接收端不支持冗余时,则忽略接收的帧报文中的冗余位标识,在返回的帧报文中将空闲扩展域或空闲域冗余位设置0。It should be noted that if the receiving end does not support redundancy, the redundancy bit identifier in the received frame message is ignored, and the idle extension field or the idle field redundancy bit is set to 0 in the returned frame message.
请参阅图2,是本发明实施例一流程图,具体包括:Please refer to Figure 2, which is a flowchart of
B1、发送在初始化帧携带冗余能力标识的帧报文;B1. Send the frame message carrying the redundancy capability identifier in the initialization frame;
在发送帧报文前,对帧报文进行扩展,即扩展初始化帧的空闲扩展域,将初始化帧中的空闲扩展域的最后一个比特位作为冗余位,设置冗余位为1,表示本端支持冗余。需要说明的是,也可使用空闲扩展域的其他比特位作冗余位。Before sending the frame message, the frame message is extended, that is, the idle extension field of the initialization frame is extended, and the last bit of the idle extension field in the initialization frame is used as a redundant bit, and the redundant bit is set to 1, indicating that the original end supports redundancy. It should be noted that other bits of the idle extension field may also be used as redundant bits.
另外,也可以是在初始化帧中的空闲域中进行上述操作。In addition, the above operations may also be performed in the idle field in the initialization frame.
UP的初始化帧也就是指UP协议数据单元类型14。请参阅图3,UP协议数据单元类型14主要包括帧控制部分Frame Control Part、帧校验部分FrameChecksum part、帧净荷部分Frame payload part共三大部分。帧控制部分包括协议数据单元类型PDU Type(=14)、应答Ack/Nack(=0.I.e.Procedure)、协议数据单元帧号PDU Type 14 Frame Number、模式版本Iu UP Mode version、过程指示Procedure Indicator(=0);帧校验部分包括头循环冗余校验Header CRC、净荷循环冗余校验Payload CRC;帧净荷部分包括支持的IU UP模式版本号(位模式)IuUP Mode Versions supported(bitmap)、数据单元类型Data PDU type、空闲域Spare、空闲扩展域Spare Extension、冗余RED。空闲域Spare一般是长度确定的。图3中是将空闲扩展域的最后一个比特位作为冗余位RED,用来标识冗余能力,也可以用空闲扩展域的其他比特位作为冗余位。需要说明的是,图3中的空闲域Spare也是可以用来进行扩展,即在空闲域Spare中选择任一比特位作为冗余位RED,用来标识冗余能力。The initialization frame of UP refers to UP protocol
上述的冗余能力可以是G.711 UP支持模式5ms打包冗余能力,也可以G.711 UP支持模式20ms打包冗余能力。另外,也可以采取其他的编解码类型,比如透传编解码模式(clearmode),或者是传输传真业务的T.38编解码类型,只需要增加相应编解码的标识就可以。The above redundancy capability can be 5ms packet redundancy capability in G.711 UP support mode, or 20ms packet redundancy capability in G.711 UP support mode. In addition, other codec types can also be used, such as clear mode (clear mode), or the T.38 codec type for transmitting fax services, and only need to add the corresponding codec identifier.
需要说明的是,具体发送端或接收端支持的是哪一种冗余能力,及如何区分表示这些冗余能力,本发明并不加以限定,可以通过其他方式表明。It should be noted that the present invention does not limit which redundancy capabilities are supported by the sending end or the receiving end, and how to distinguish and express these redundancy capabilities, and may be indicated in other ways.
当发送端在初始化帧中设置好冗余能力标识后,向接收端发送携带冗余能力标识的帧报文。After the sending end sets the redundancy capability identifier in the initialization frame, it sends a frame message carrying the redundancy capability identifier to the receiving end.
B2、接收端接收所述帧报文后检测冗余能力标识位;B2. The receiving end detects the redundancy capability flag after receiving the frame message;
接收端接收帧报文后,对初始化帧空闲扩展域或空闲域进行检测,若冗余位为1,则认为发送端支持冗余,若冗余位为0,则认为发送端不支持冗余。After receiving the frame message, the receiving end detects the idle extension field or idle field of the initialization frame. If the redundancy bit is 1, it is considered that the sending end supports redundancy. If the redundancy bit is 0, it is considered that the sending end does not support redundancy. .
B3、接收端向发送端返回相应设置冗余能力标识的帧报文。B3. The receiving end returns to the sending end the frame message correspondingly set with the redundancy capability flag.
若接收端也支持冗余,则在即将返回的帧报文中将初始化帧空闲扩展域或空闲域的冗余位也相应设置冗余能力标识,即将冗余位设置为1,表示本端支持冗余,然后返回给发送端。这样发送端和接收端都知道对方支持冗余,则后续报文就可以使用冗余报文了。If the receiving end also supports redundancy, in the frame message to be returned, the redundancy bit of the idle extension field or idle field of the initialization frame will also be set with a redundancy capability flag, that is, the redundancy bit is set to 1, indicating that the local end supports redundant, and then returned to the sender. In this way, both the sending end and the receiving end know that the other party supports redundancy, and subsequent messages can use redundant messages.
需要说明的是,若接收端不支持冗余时,则忽略接收的帧报文中的冗余位标识,在返回的帧报文中将初始化帧空闲扩展域或空闲域的冗余位设置0,这样,就不会打开冗余功能。It should be noted that if the receiving end does not support redundancy, the redundant bit identifier in the received frame message is ignored, and the redundant bit of the idle extension field or idle field of the initialization frame is set to 0 in the returned frame message , so that redundancy is not turned on.
另外,出于协议兼容性考虑,如果后续UP协议使用了初始化帧的空闲扩展域或空闲域,可以通过UP协议版本来识别是否可以进行该扩展功能,或者根据配置的UP协议版本,知道是否能够使用空闲扩展域或空闲域作为协商域。也就是说,如果后续UP协议版本增加,且增加了通过空闲扩展域或空闲域进行能力协商的方法,则可以通过UP协议版本进行识别,但如果后续UP协议版本没有增加,但是又使用了此功能,则无法通过UP协议版本来识别了。In addition, for the sake of protocol compatibility, if the subsequent UP protocol uses the idle extension field or idle field of the initialization frame, you can use the UP protocol version to identify whether the extended function can be performed, or according to the configured UP protocol version, know whether it can Use idle extended domains or idle domains as negotiation domains. That is to say, if the subsequent UP protocol version is added, and the method of performing capability negotiation through the idle extension field or idle field is added, it can be identified through the UP protocol version, but if the subsequent UP protocol version does not increase, but uses this function, it cannot be identified through the UP protocol version.
请参阅图4,是本发明实施例二流程图,具体包括:Please refer to Figure 4, which is a flow chart of
C1、发送在数据帧携带冗余能力标识的帧报文;C1. Send the frame message carrying the redundancy capability identifier in the data frame;
在发送帧报文前,对帧报文进行扩展,即扩展数据帧的空闲扩展域,将数据帧中的空闲扩展域的最后一个比特位作为冗余位,设置冗余位为1,表示本端支持冗余。需要说明的是,也可以使用空闲扩展域的其他比特位作为冗余位。Before sending the frame message, the frame message is extended, that is, the idle extension field of the data frame is extended, and the last bit of the idle extension field in the data frame is used as a redundant bit, and the redundant bit is set to 1, indicating that the end supports redundancy. It should be noted that other bits of the idle extension field may also be used as redundant bits.
另外,也可以是在数据帧中的空闲域中进行上述操作。In addition, the above operations may also be performed in the idle field in the data frame.
具体可以利用UP协议数据单元类型0或UP协议数据单元类型1即PDUtype0和PDU Type1的空闲扩展域或空闲域进行相应扩展。PDU Type0和PDUType1的区别在于PDU Type0具有CRC校验。因为UP的PDU Type0和PDUType1是用来进行数据传输的,不是UP的控制帧,所以使用UP的PDU Typc0和PDU Type1进行能力协商时,需要等到对方的数据帧到达时,才知道对方是否支持相应能力。Specifically, the idle extension field or idle field of UP protocol
请参阅图5和图6,UP协议数据单元类型0和UP协议数据单元类型1也是主要包括帧控制部分Frame Control Part、帧校验部分Frame Checksumpart、帧净荷部分Frame payload part共三大部分。Please refer to Figure 5 and Figure 6, UP protocol
图5中,UP协议数据单元类型0的帧控制部分包括协议数据单元类型PDUType(=0)、协议数据单元帧号Frame Number、帧质量分类信息FQC、无线接入承载RAB子流组合指示RFCI;帧校验部分包括头循环冗余校验HeaderCRC、净荷循环冗余校验Payload CRC;帧净荷部分包括净荷域Payload Fields、填充Padding、空闲扩展域Spare Extension、冗余RED。图5中是将空闲扩展域的最后一个比特位作为冗余位RED,用来标识冗余能力,也可以用空闲扩展域的其他比特位作为冗余位。In Fig. 5, the frame control part of the UP protocol
图6中,UP协议数据单元类型1的帧控制部分包括协议数据单元类型PDUType(=1)、协议数据单元帧号Frame Number、帧质量分类信息FQC、RAB子流组合指示RFCI;帧校验部分包括头循环冗余校验Header CRC、空闲域Spare;帧净荷部分包括净荷域Payload Fields、填充Padding、空闲扩展域SpareExtension、冗余RED。图6中是将空闲扩展域的最后一个比特位作为冗余位RED,用来标识冗余能力,也可以用空闲扩展域的其他比特位作为冗余位。需要说明的是,图6中的空闲域Spare也是可以用来进行扩展,即在空闲域Spare中选择任一比特位作为冗余位RED,用来标识冗余能力。In Fig. 6, the frame control part of UP protocol
上述的冗余能力可以是G.711 UP支持模式5ms打包冗余能力,也可以G.711 UP支持模式20ms打包冗余能力。另外,也可以采取其他的编解码类型,比如透传编解码模式(clearmode),或者是传输传真业务的T.38编解码类型,只需要增加相应编解码的标识就可以。The above redundancy capability can be 5ms packet redundancy capability in G.711 UP support mode, or 20ms packet redundancy capability in G.711 UP support mode. In addition, other codec types can also be used, such as clear mode (clear mode), or the T.38 codec type for transmitting fax services, and only need to add the corresponding codec identifier.
需要说明的是,具体发送端或接收端支持的是哪一种冗余能力,及如何区分表示这些冗余能力,本发明并不加以限定。It should be noted that the specific redundancy capabilities supported by the sending end or the receiving end, and how to differentiate and represent these redundancy capabilities are not limited by the present invention.
当发送端在数据帧中设置好冗余能力标识后,向接收端发送携带冗余能力标识的帧报文。After the sending end sets the redundancy capability identifier in the data frame, it sends a frame message carrying the redundancy capability identifier to the receiving end.
C2、接收端接收所述帧报文后检测冗余能力标识位;C2. The receiving end detects the redundancy capability flag after receiving the frame message;
接收端接收帧报文后,对数据帧即UP协议数据单元类型0或UP协议数据单元类型1的空闲扩展域或空闲域进行检测,若冗余位为1,则认为发送端支持冗余,若冗余位为0,则认为发送端不支持冗余。After receiving the frame message, the receiving end detects the free extension field or free field of the data frame, that is, UP protocol
C3、接收端向发送端返回相应设置冗余能力标识的帧报文。C3. The receiving end returns the frame message correspondingly setting the redundancy capability flag to the sending end.
若接收端也支持冗余,则在即将返回的帧报文中将数据帧即UP协议数据单元类型0或UP协议数据单元类型1的空闲扩展域或空闲域的冗余位也相应设置冗余能力标识,即将冗余位设置为1,表示本端支持冗余,然后返回给发送端。这样发送端和接收端都知道对方支持冗余,则后续报文就可以使用冗余报文了。If the receiving end also supports redundancy, then in the frame message that is about to be returned, the redundancy bit of the idle extension field or the idle field of the data frame, that is, the UP protocol
需要说明的是,若接收端不支持冗余时,则忽略接收的帧报文中的冗余位标识,在返回的帧报文中将数据帧即UP协议数据单元类型0或UP协议数据单元类型1的空闲扩展域或空闲域的冗余位设置0,这样,就不会打开冗余功能。It should be noted that if the receiving end does not support redundancy, the redundant bit identifier in the received frame message is ignored, and the data frame, that is, the UP protocol
上述对本发明冗余能力协商的方法及实施例进行了详细介绍,需要说明的,本发明利用但并不局限于上述的初始化帧或数据帧进行扩展和冗余能力协商,还可以在UP的其他一些帧中携带能力协商指示,其原理是一样的。The method and embodiment of the redundancy capability negotiation of the present invention have been introduced in detail above. It should be noted that the present invention utilizes but is not limited to the above-mentioned initialization frame or data frame for extension and redundancy capability negotiation, and can also be used in other UP Some frames carry capability negotiation indications, and the principle is the same.
以下介绍本发明协商系统。请参阅图7,是本发明协商系统结构示意图。The negotiation system of the present invention is introduced below. Please refer to FIG. 7 , which is a schematic structural diagram of the negotiation system of the present invention.
图7中协商系统10包括发送端100和接收端200。其中,发送端100,用于发送携带冗余能力标识的帧报文;接收端200,用于接收所述帧报文后检测冗余能力标识位;向发送端100返回相应设置冗余能力标识的帧报文。The negotiation system 10 in FIG. 7 includes a sending end 100 and a receiving
请参阅图8,是本发明协商系统中的发送端的结构示意图。Please refer to FIG. 8 , which is a schematic structural diagram of the sending end in the negotiation system of the present invention.
发送端100,包括第一扩展单元101和发送单元102;其中,第一扩展单元101,用于在初始化帧或者数据帧的空闲扩展域或空闲域设置冗余能力标识;发送单元102,用于发送由第一扩展单元101设置冗余能力标识后的帧报文。The sending end 100 includes a first extension unit 101 and a sending unit 102; wherein, the first extension unit 101 is configured to set a redundant capability identifier in an idle extension field or an idle field of an initialization frame or a data frame; the sending unit 102 is configured to Send the frame message after the redundancy capability flag is set by the first extension unit 101.
发送端100在向接收端200发送帧报文前,对帧报文进行扩展,即由第一扩展单元101扩展初始化帧或者是数据帧的空闲扩展域或空闲域,将空闲扩展域或空闲域的最后一个比特位作为冗余位,设置冗余位为1,表示本端支持冗余。需要说明的是,也可以使用空闲扩展域或空闲域的其他比特位作为冗余位。Before the sending end 100 sends the frame message to the receiving
UP的初始化帧也就是指UP协议数据单元类型14。UP协议数据单元类型14主要包括帧控制部分Frame Control Part、帧校验部分Frame Checksum part、帧净荷部分Frame payload part共三大部分,其中含有空闲域Spare和空闲扩展域Spare Extension,本发明对其中的空闲扩展域或空闲域进行扩展,利用其中的任一比特位作为冗余位,并通过不同符号表示支持或不支持冗余。The initialization frame of UP refers to UP protocol
UP的数据帧具体可以是UP协议数据单元类型0或UP协议数据单元类型1即PDU type0或PDU Type1。PDU Type0和PDU Type1也是主要包括帧控制部分Frame Control Part、帧校验部分Frame Checksum part、帧净荷部分Framepayload part共三大部分,其中含有空闲域Spare和空闲扩展域SpareExtension,本发明对其中的空闲扩展域或空闲域进行扩展,利用其中的任一比特位作为冗余位,并通过不同符号表示支持或不支持冗余。因为UP的PDUType0和PDU Type1是用来进行数据传输的,不是UP的控制帧,所以使用UP的PDU Type0和PDU Type1进行能力协商时,需要等到对方的数据帧到达时,才知道对方是否支持相应能力。The data frame of UP can specifically be UP protocol
当发送端100由第一扩展单元101在初始化帧或数据帧中设置好冗余能力标识后,通过发送单元102向接收端200发送携带冗余能力标识的帧报文。After the sending end 100 sets the redundancy capability identifier in the initialization frame or data frame by the first extension unit 101 , the sending unit 102 sends a frame message carrying the redundancy capability identifier to the receiving
请参阅图9,是本发明协商系统中接收端的结构示意图。Please refer to FIG. 9 , which is a schematic diagram of the structure of the receiving end in the negotiation system of the present invention.
接收端200,包括检测单元201、第二扩展单元202和响应单元203;其中,检测单元201,用于接收所述帧报文后检测冗余能力标识位;第二扩展单元202,用于在初始化帧或者数据帧的空闲扩展域或空闲域相应设置冗余能力标识;响应单元203,用于向发送端100返回由第二扩展单元202设置冗余能力标识后的帧报文。The receiving
接收端200接收帧报文后,检测单元201对初始化帧或数据帧的空闲扩展域或空闲域进行检测,若冗余位为1,则认为发送端100支持冗余,若冗余位为0,则认为发送端100不支持冗余。After the receiving
若接收端200也支持冗余,则由第二扩展单元202在即将返回的帧报文中将初始化帧或数据帧的空闲扩展域或空闲域的冗余位也相应设置冗余能力标识,即将冗余位设置为1,表示本端支持冗余。然后由响应单元203返回设置冗余能力标识后的帧报文给发送端100。这样发送端100和接收端200都知道对方支持冗余,则后续报文就可以使用冗余报文了。需要说明的是,若接收端200不支持冗余时,则忽略接收的帧报文中的冗余位标识,由第二扩展单元202在即将返回的帧报文中将初始化帧或数据帧的空闲扩展域或空闲域的冗余位设置0,这样,就不会打开冗余功能。If the receiving
以上对本发明所提供的一种协商方法及系进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to a negotiation method and system provided by the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method and methods of the present invention. Its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. limit.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101528829A CN100542177C (en) | 2006-11-06 | 2006-11-06 | A negotiation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101528829A CN100542177C (en) | 2006-11-06 | 2006-11-06 | A negotiation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1972305A CN1972305A (en) | 2007-05-30 |
CN100542177C true CN100542177C (en) | 2009-09-16 |
Family
ID=38112883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101528829A Expired - Fee Related CN100542177C (en) | 2006-11-06 | 2006-11-06 | A negotiation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100542177C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415249B (en) * | 2007-10-16 | 2011-02-16 | 华为技术有限公司 | Method, system and apparatus for negotiating data business signaling of session initialization protocol |
EP2226985A4 (en) * | 2007-12-07 | 2011-02-02 | Zte Corp | METHOD FOR NEGOTIATING REDUNDANT TRANSMISSION |
CN102647402B (en) * | 2011-02-22 | 2015-07-29 | 华为技术有限公司 | A kind of machinery of consultation of Multimedia session, relevant device and system |
CN105790885A (en) * | 2014-12-23 | 2016-07-20 | 中兴通讯股份有限公司 | Method and device for processing abnormal message |
-
2006
- 2006-11-06 CN CNB2006101528829A patent/CN100542177C/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
RTP Payload for Redundant Audio Data. C.Perkins,I.Kouvelas,O.Hodson.RFC2198. 1997 * |
Also Published As
Publication number | Publication date |
---|---|
CN1972305A (en) | 2007-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8116335B2 (en) | Methods and apparatus for data communication | |
WO2007128217A1 (en) | Method of internet protocol(ip) message transmission, negotiated bandwidth saving capability and saving network bandwidth | |
US8548460B2 (en) | Codec deployment using in-band signals | |
JP2007274692A (en) | Method and apparatus for communicating FAX data via the Internet | |
WO2009002912A2 (en) | Endpoint-to-endpoint transcoding free connection | |
US10930294B2 (en) | Hybrid RTP payload format | |
US7639601B2 (en) | Methods and apparatus for data communication | |
CN1227892C (en) | Method for transfer of fax data by means of packet transmission network | |
CN100542177C (en) | A negotiation method and system | |
WO2010104154A1 (en) | Gateway device and method, and communication system | |
CN101170487A (en) | Compression method, compression system and compression equipment in data stream multiplexing | |
JP4988039B2 (en) | Apparatus and associated method for configuring an IMS service for use in a circuit switched device | |
WO2007131397A1 (en) | Data redundancy transmitting method and system | |
CN101087302B (en) | call setup method | |
CN101227257A (en) | Method and apparatus for providing voice communication service in a wireless communication system | |
CN101277267A (en) | Communication system and communication method | |
CN101296205B (en) | Method, equipment and system for implementing transparent transmission in IP network or hybrid network | |
CN101365189B (en) | Method and system implementing speech passing through in mobile network | |
CN100384201C (en) | Method for sending fax from fixed network to mobile network | |
WO2006071092A1 (en) | A method for bearer independent call control (bicc) optimization for ip bearer support | |
EP2226985A1 (en) | A method for negotiating the redundant transmission | |
CN101394228B (en) | Method for restoring time alignment note, signal source decoding method, apparatus and system | |
WO2008086824A1 (en) | Codec list transfer comprising a dummy codec in a call path including a tfo leg | |
CN100459739C (en) | Method for processing multimedia returns | |
CN101483830B (en) | Method, apparatus and system for implementing text telephone between networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090916 Termination date: 20121106 |