WO2009129712A1 - 上报会话状态的方法、媒体网关和系统 - Google Patents

上报会话状态的方法、媒体网关和系统 Download PDF

Info

Publication number
WO2009129712A1
WO2009129712A1 PCT/CN2009/070950 CN2009070950W WO2009129712A1 WO 2009129712 A1 WO2009129712 A1 WO 2009129712A1 CN 2009070950 W CN2009070950 W CN 2009070950W WO 2009129712 A1 WO2009129712 A1 WO 2009129712A1
Authority
WO
WIPO (PCT)
Prior art keywords
session state
session
media gateway
expiration
event
Prior art date
Application number
PCT/CN2009/070950
Other languages
English (en)
French (fr)
Inventor
杨玮玮
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP09735736A priority Critical patent/EP2273733A4/en
Publication of WO2009129712A1 publication Critical patent/WO2009129712A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/724Admission control; Resource allocation using reservation actions during connection setup at intermediate nodes, e.g. resource reservation protocol [RSVP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/1026Media gateways at the edge

Definitions

  • the present invention relates to the field of mobile communications, and more particularly to a method, a media gateway and a system for session state. Background technique
  • MGC Media Gateway Controller
  • MG Media Gateway
  • RSVP Resource Reservation Protocol
  • the RSVP session is a resource reservation for a unidirectional stream. Therefore, in a normal two-way media data transmission service, an RSVP session needs to be established for each direction of media data transmission.
  • the MG acts as a different role, including data senders and data receivers. Both the data sender and the data receiver, the MGC and the MG need to process a large number of RSVP messages to complete the establishment and maintenance of the bearer path. For example, the MGC instructs the MG to detect the received path request by setting an event.
  • the MG reports the related information contained in the message to the MGC through an event, so that the MGC authorizes and responds to the request according to the local policy.
  • a session state refresh message ie, a corresponding Path or Resv message
  • the MG triggers the relevant event on the MMC every time it receives the above message, it will inevitably cause a large increase in the amount of messages on the interface between the MGC and the MG, and most of the messages are repeated; but if the MG Only when the corresponding event is reported to the MGC when the corresponding RSVP message is received, the MGC cannot know the status of the RSVP session on the bearer in time.
  • the embodiments of the present invention provide a method for reporting a session state, a media gateway, and a system, which are effective solutions for the media gateway controller and the media gateway to effectively control the status of the bearer resource session and timely obtain the session state.
  • a method for session state comprising the following steps:
  • the media gateway determines whether the bearer session state expires according to the status expiration event. If the media gateway expires, the media gateway reports a status expiration event to the media gateway controller MGC.
  • a media gateway includes: a setting unit, a determining unit, and a sending unit, where
  • a determining unit configured to determine, according to the state expiration event set by the setting unit, whether the bearer session state expires
  • a sending unit configured to report a status expiration event to the media gateway controller when the determining unit confirms that the bearer session state expires.
  • a communication system including a media gateway and a media gateway controller
  • the media gateway is configured to set a status expiration event, and determine whether the bearer session status expires. If the status of the bearer session is expired, the media gateway controller reports that the status expires. Event
  • the media gateway controller is configured to receive a status expiration event sent by the media gateway.
  • the embodiment of the present invention extends the protocol used between the MGC and the MG, and defines a mechanism for detecting the state of the resource session carried by the media gateway through the extended state expiration event, and the MG pairs the resource session.
  • the status is detected and monitored, and timely notification is obtained when the resource session state expires, which avoids the problem of maintaining session state by transmitting a large amount of duplicate information on the MGC and MG interfaces, and effectively controls the bearer for the media gateway controller and the media gateway.
  • the resource session state provides an effective solution for the order.
  • Figure 1 shows the networking diagram of MG and MGC.
  • FIG. 2 is a flowchart of a method for reporting a session state according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for reporting a session state according to an embodiment of the present invention.
  • FIG. 4 is a signal diagram of a method for reporting a session state according to an embodiment of the present invention.
  • FIG. 5 is a system diagram of an embodiment of the present invention. detailed description
  • MGC and MG are two key components in a packet network.
  • the MGC is responsible for the call control function, and the MG is responsible for the service load function, thereby separating the call control plane and the service bearer plane, thereby fully sharing network resources, upgrading equipment and service expansion, and greatly reducing development and maintenance costs.
  • the (media) gateway control protocol is the main protocol for communication between the MG and the MGC.
  • the (media) gateway control protocol is the main protocol for communication between the MG and the MGC.
  • H.248/MeGaCo and MGCP protocols are widely used.
  • Terminations various resources on the MG are abstractly represented as Terminations.
  • the terminal is further divided into physical (Phy) terminals and temporary (Ephemeral) terminals.
  • the former represents some semi-permanent physical entities, such as TDM (Time Division Multiplex) channels, and the latter represents some temporary applications.
  • Common resources such as RTP (Real-time Transport Protocol) Protocol) flow, etc.
  • Another Root terminal represents the MG as a whole.
  • the combination between terminals is abstracted as a context.
  • the context can contain multiple terminals, so the relationship between the terminals is described in terms of Topology. For a terminal that has not been associated with another terminal, it is included by a special context called a null (Null) context.
  • connection of the call is actually the operation of the terminal and context. This operation is requested by a command between the MGC and the MG.
  • Command types include Add, Modify, Subtract, Move, AuditValue, AuditCapabilities, Notify, Service Changes
  • Command parameters also known as descriptors, are classified as properties, signals, events, and statistics. The parameters with business relevance are logically aggregated into packages.
  • an embodiment of the present invention provides a method for session state, which includes the following steps:
  • the media gateway determines, according to the status expiration event, whether the bearer session state expires. If the media gateway expires, the media gateway reports a status expiration event to the media gateway controller.
  • the MG In the scenario of establishing a resource reservation session by using RSVP, the MG periodically receives a path request message (RSVP Path) or a reservation request message (RSVP Resv) sent by the UE due to the need to maintain the session state.
  • the refresh message is used to maintain and maintain the state of a particular RSVP session on the entire bearer path.
  • the MG does not need to be able to -3 ⁇ 4 ⁇ (.
  • the MGC In order to let the MGC know the status information of the bearer resource session in time, once the MG detects that the bearer session state expires, At this time, the MG needs to report the status expiration event to the MGC. Before the MGC receives the status expiration event, the MGC can understand that the resource session is always in the normal hold state.
  • an embodiment of the present invention provides a method for session state, which includes the following steps:
  • the MGC instructs the MG to establish a bearer resource session. After the bearer resource session is established, the MG detects the state information of the bearer session according to the session state expiration condition.
  • the meeting The session state expiration condition may be a session state expiration time interval, a time timer indicating that the session state expires, and the session state expiration condition may also be a message trigger rule or other resource policy rule.
  • the MGC instructs the MG to establish a bearer resource session, including but not limited to, the MGC instructs the MG to detect the bearer resource request event, and the MGC requests the MG to send a path establishment request according to the related policy.
  • the MG detects the occurrence of the session state expiration condition, that is, detects the state information of the bearer session according to the session state expiration condition, for example, whether the refresh message is received within the time interval specified by the session state expiration time interval parameter: Refreshing the message, resetting the session state expiration condition, for example, restarting the timing; if not, indicating that the session state has expired, and the MG is expiring the status to the MGC, which is equivalent to notifying the MGC that the state of the session has expired. .
  • the MGC may instruct the MG to release the bearer resources related to the session and end the session.
  • the MG periodically receives the Path Request message (RSVP Path) or the Reservation Request message (RSVP Resv) sent by the UE, and the MG does not need to report them to the MGC.
  • the MGC does not receive the corresponding resource reservation session refresh message (corresponding to the Path or Resv message) once the MG detects the time interval specified by the session state expiration time interval parameter. If the status of the bearer resource session has expired, the MG needs to report the status expiration event to the MGC, so that the MGC can make corresponding decisions, such as tearing down the session and releasing related bearer resources.
  • the embodiment of the present invention defines the following mechanisms in the H.248 protocol:
  • An event parameter is used as a session state expiration condition, and implements a function equivalent to a timer, which indicates a time interval at which the session state expires, that is, a time period during which the session state expires.
  • a timer which indicates a time interval at which the session state expires, that is, a time period during which the session state expires.
  • SEI State Expiration Interval
  • the message of the soft state protocol has a refresh period, that is, every other refresh cycle, the message initiator resends a refresh message, so it can be defined that the time interval specified by the state expiration interval parameter is greater than the period of the refresh message.
  • the parameter may be set in advance on the MG, and the value is a default universal session state expiration time interval value; Or the parameter can also be sent to the MG through the MGC, and the MGC can change the value of the state expiration interval parameter as needed, so that the control can be more convenient and flexible.
  • the parameter may be included in an existing or new bearer request event, such as a path request receiving event (Path Received, rsvp/pathr) or a reserved request receiving event (Resv Received, rsvp) of the RSVP packet included in H.248. /resvr ).
  • the type of the event parameter se i can be defined as an integer (Integer) in milliseconds.
  • the session expiration interval value is set to a multiple of the message refresh period value to allow some of the messages that may exist in the network to be lost.
  • the parameter is defined by the way of the event parameter, and can also be defined by attributes or signals in H.248 to achieve the same purpose.
  • An event is used by the MG to detect and report the expiration information of the bearer resource session state.
  • the event is defined as the occurrence of the session state expiration condition detected by the MG. For example, if the session refresh message is not received within the extended session state expiration time interval, it is determined that the state of the bearer session has expired, and the The event is defined to report the session status expiration information to the MGC.
  • the event is named "State Expiration (se), event.
  • the event can be attributed to an existing or new package, such as the RSVP extension package included in H.248.RSVP. , or define a new package, named SED (State Expiration Detection Package, ⁇ dog state expiration detection package).
  • the event detection and reporting needs to be set or sent in advance. Therefore, in order for the MG to detect the status expiration event, a status expiration event (such as rsvp/se is required) on the MG. This assumes that the se event is defined in the rsvp package).
  • the event can be sent to the MG by the MGC, or it can be pre-configured on the MG.
  • the event can be sent to the OLT's ROOT terminal: indicating that the entire MG is detected as a status expiration event; or it may be on a specific terminal on the MG: indicating that the session state carried on the terminal is detected; On a particular stream: Indicates that the detection of this event applies only to the specific stream.
  • the process of the MGC sending the event to the MG is:
  • the MGC can set a status expiration event (rsvp/se) to the MG through the Modify request message; after receiving the Modify request message, the MG sends a Modify reply message to the MGC.
  • the event can be sent without any event parameters.
  • a specific embodiment of the present invention provides a method for an upper session state, including:
  • Step 1 The MGC sends a detection path request (rsvp/pathr) and a status expiration event (rsvp/se) to the MG through a Modify Request message.
  • rsvp/pathr detection path request
  • rsvp/se status expiration event
  • the path request receiving event includes the event parameter defined above: a status expiration interval (sei), indicating a status expiration interval value of the established resource reservation session, and the status expiration interval may also be delivered through other bearer request events.
  • a status expiration interval (sei)
  • the status expiration interval may also be delivered through other bearer request events.
  • the path request receiving event rsvp / pathr
  • the status expiration event ( rsvp / se ) may also be sent through other messages, such as adding an Add message or a Move request message.
  • Step 2 The MG sends a modification response message to the MGC and starts the detection of the specified event.
  • Step 3 The MG receives the first Path Request message (RSVP Path).
  • the MG After receiving the first RSVP Path request message sent by the user equipment UE (User Equipment), the MG triggers the path request to receive the event, and informs the MGC of the corresponding information in step 4. At the same time, the MG needs to save the session information of the session, for example, the session parameter information carried in the bearer request message (in this case, the RSVP Path message, that is, the path request message), including the session identifier and the like. Since a bearer resource session usually has a unique session identifier, such as a SESSION object in RSVP, the MG can identify a particular bearer resource session by detecting the session identifier.
  • the session parameter information carried in the bearer request message in this case, the RSVP Path message, that is, the path request message
  • Step 4 The MG reports the detected path request receiving event (rsvp/pathr) to the MGC through a Notify request message, which is accompanied by related parameter information, for example, including media data traffic specification information and path status information, etc., so as to MGC makes further strategic decisions.
  • rsvp/pathr detected path request receiving event
  • related parameter information for example, including media data traffic specification information and path status information, etc.
  • Step 5 The MGC sends a notification response message to the MG.
  • the MGC may instruct the MG to establish a related RSVP session, including instructing the MG to send a reservation request message (RSVP Resv) to the UE.
  • RVP Resv reservation request message
  • the MG While the session is established and maintained, the MG detects the session state information according to the session state expiration time interval parameter, where the state expiration time interval parameter is equivalent to a timer.
  • the MG After receiving the RSVP Path refresh message sent by the UE, the MG identifies a specific resource session by determining the session identifier carried in the received message, that is, comparing the session identifier with the session identifier of the session carried on the MG, if If the session ID of a session is the same, it is determined that the refresh message of the session is received.
  • the MG updates the status information of the session and resets the session state expiration condition, such as resetting the timer.
  • the refresh message (RSVP Path) received by the MG may be the same as or different from the previously received Path message, for example, including new session parameter information.
  • the messages have the same session ID, but the request content of the message is different.
  • the MG does not need to report the repeated path request to the MGC to receive the event.
  • the received RSVP Path message is different from the previously received RSVP Path message, the MG needs to report the request to the MGC through the path request receiving event.
  • the previous RSVP Path message only contains the audio session request information, and the newly received RSVP Path message adds the video session request content to the session.
  • the MG resets the timer, and also resets the timer. The path request receiving event needs to be reported to the MGC to report the received resource request information.
  • Step 7 The MG reports the detected status expiration event (rsvp/se) to the MGC through a Notify request message.
  • session ID (abbreviated as sessionid) parameter is used to identify the session information whose status has expired.
  • the type of this parameter is defined as a list of strings (Sub-list).
  • the value may correspond to the SESSION object in the RSVP message to uniquely identify an RSVP session.
  • Step 8 The MGC sends a notification response message to the MG.
  • the MGC may instruct the MG to tear down the related RSVP session according to the relevant policy rule, release the corresponding bearer resource, and the like. Here, it is no longer expanded.
  • an embodiment of the present invention provides a communication system, including a media gateway MG50 and a media gateway controller MGC51:
  • the media gateway MG50 further includes a receiving unit 501, a determining unit 502, a setting unit 503, and a sending unit 504.
  • the media gateway controller MGC51 further includes a sending unit 511 and a receiving unit 512.
  • the setting unit 503 is configured to set a status expiration event and a session status expiration condition, wherein the status expiration event may be set in advance on the setting unit 503 of the MG, or the receiving unit 501 sent by the sending unit 511 of the MGC to the MG, It is further disposed on the setting unit 503.
  • the session state expiration condition may be set in advance on the setting unit 503 of the MG, or may be sent to the receiving unit 501 of the MG by the transmitting unit 511 of the MGC, and then set on the setting unit 503.
  • the determining unit 502 is configured to determine whether the bearer session state expires according to the state expiration event set by the setting unit 503. If the bearer session state is expired, the sending unit 504 sends the state period to the receiving unit 512 of the media gateway controller. Full event.
  • the further determining unit 502 detects the state information of the carried session according to the session state expiration condition, wherein the session state expiration condition is a session state expiration time interval; if the session state expiration time interval, the receiving unit of the MG 501 received a conversation
  • the determining unit 502 determines that the session state expiration condition is not satisfied, and resets the session state expiration time interval of the setting unit 503; if the session state expires, the receiving unit 501 does not receive the session.
  • the status refresh message, the determining unit 502 determines that the bearer session state expires, and the sending unit 504 sends a status expiration event to the receiving unit 512 of the media gateway controller.
  • the determining unit 502 compares the received session state refresh message with the previously received session state refresh message, if the received session state refresh message If the content of the message is consistent with the content of the previously received session state refresh message, the bearer request event is not triggered; if not, the sending unit 504 reports the bearer request event to the receiving unit 512 of the MGC.
  • the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computer device may It is a personal computer, a server, or a network device, etc.

Description

上报会话状态的方法、 媒体网关和系统 本申请要求于 2008 年 4 月 21 日提交中国专利局, 申请号为 200810066670.8, 发明名称为 "上 会话状态的方法、 媒体网关和系 统"的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 技术领域
本发明涉及移动通信领域, 尤其涉及上 会话状态的方法、媒体 网关和系统。 背景技术
为了建立具有资源保障的承载路径, MGC ( Media Gateway Controller, 媒体网关控制器)和 MG ( Media Gateway, 媒体网关) 使用 RSVP ( Resource Reservation Protocol, 资源预留协议 )协议与用 户设备或其它承载实体通信, 协商并建立资源预留会话。 RSVP会话 是为单向流进行资源预留, 因此在通常的双向媒体数据传输业务中, 需要分别为每个方向的媒体数据传输建立一个 RSVP会话。在不同方 向的媒体数据传输会话中, MG充当着不同的角色, 包括数据发送方 和数据接收方。 不论是数据发送方还是数据接收方, MGC和 MG都 需要处理大量的 RSVP 消息来完成承载路径的建立和状态维护。 例 如, MGC 通过设置事件的方式指示 MG检测所接收到的路径请求
( RSVP Path )消息或预留请求( RSVP Resv )消息。 MG在检测到上 述消息后会将消息中包含的相关信息通过事件方式上报给 MGC, 以 便 MGC根据本地策略对请求进行授权和响应。
发明人发现现有技术至少存在以下问题: 由于 RSVP会话具有
"软状态" 的特性, 即所建立承载路径的状态需要由周期性的 RSVP 消息来维护。 因此伴随着第一个 Path或 Resv消息之后, 所述消息的 发送方需要周期性的重复发送会话状态刷新消息 (即对应的 Path或 Resv消息)来维护会话, 这样 MG也会周期性地接收到大量重复的 RSVP消息。 如果 MG在每次接收到上述消息后, 都触发相关事件上 才艮给 MGC,势必会造成 MGC和 MG之间接口上的消息量大幅增加, 而且大部分的消息都是重复的; 但是如果 MG 只在第一次收到对应 RSVP消息时上报事件给 MGC,则 MGC就无法及时获知承载上 RSVP 会话的状态。
同样的问题也存在于其它类似的使用软状态协议与 MG及 MGC 互通的场景中。 目前的网关控制协议中, 例如 H.248协议, 还没有有 效的机制可以解决上述问题。
发明内容
本发明实施例提供一种上报会话状态的方法、 媒体网关和系统, 为媒体网关控制器和媒体网关有效控制承载资源会话状态、及时获取 会话状态期满提供筒单有效的解决方案。
一种上 会话状态的方法, 包括以下步骤:
在媒体网关 MG上设置状态期满事件;
媒体网关根据所述状态期满事件判断承载会话状态是否期满,如 果期满,则所述媒体网关向媒体网关控制器 MGC上报状态期满事件。
一种媒体网关, 包括: 设置单元、 判断单元、 发送单元, 其中,
设置单元, 用于设置状态期满事件;
判断单元,用于根据所述设置单元设置的状态期满事件判断承载 会话状态是否期满;
发送单元, 用于当判断单元确认所述承载会话状态期满时, 向媒 体网关控制器上报状态期满事件。
一种通信系统, 包括媒体网关和媒体网关控制器,
其中,
媒体网关,用于设置状态期满事件,判断承载会话状态是否期满, 如果确认所述承载会话状态期满,则向媒体网关控制器上报状态期满 事件;
媒体网关控制器, 用于接收媒体网关发送的状态期满事件。
与现有技术相比,本发明实施例对 MGC与 MG之间使用的协议 进行扩展, 通过扩展的状态期满事件, 定义了一套检测媒体网关所承 载资源会话状态的机制, MG对资源会话的状态进行检测和监控, 并 在资源会话状态期满时得到及时通报,避免了通过在 MGC和 MG接 口上传递大量重复信息来维护会话状态的问题,为媒体网关控制器和 媒体网关有效控制承载资源会话状态提供了筒单有效的解决方案。 附图说明
图 1为 MG和 MGC组网示意图。
图 2为本发明实施例一种上报会话状态的方法的流程图。
图 3为本发明实施例一种上报会话状态的方法的流程图。
图 4为本发明实施例一种上报会话状态的方法的信号图。
图 5为本发明实施例系统图。 具体实施方式
如图 1所示, MGC和 MG是分组网络中的两个关键构件。 MGC 负责呼叫控制功能, MG负责业务^载功能, 藉此实现呼叫控制平面 和业务承载平面的分离, 从而充分共享网络资源, 筒化设备升级和业 务扩展, 大大降低开发和维护成本。
(媒体)网关控制协议是 MG和 MGC之间通信的主要协议, 目 前应用较为广泛的有 H.248/MeGaCo和 MGCP两种协议。
以 H.248 协议为例, MG 上的各种资源被抽象表示为终端 ( Termination )。终端又分为物理 ( Physical )终端和临时( Ephemeral ) 终端,前者代表一些具有半永久存在性的物理实体,例如 TDM ( Time Division Multiplex, 时分复用 )通道等, 后者代表一些临时申请用后 释放的公共资源, 例如 RTP ( Real-time Transport Protocol , 实时传输 协议)流等。 另以根(Root )终端代表 MG整体。 终端之间的组合被 抽象表示为上下文(Context )。 上下文可以包含多个终端, 因而以拓 朴(Topology )来描述终端间的相互关系。 对于还未与其它终端发生 关联的终端, 由一个称为空 (Null )上下文的特殊上下文来包含。
基于协议的这种抽象模型,呼叫的接续实际上就是对终端和上下 文的操作。 这种操作通过 MGC和 MG之间的命令 ( Command )请求
( Request )和响应 (Reply )来完成。 命令类型包括添加(Add )、 修 改( Modify )、 删减( Subtract )、 移动( Move )、 审计值( AuditValue )、 审计能力 ( AuditCapabilities ) , 通报 ( Notify )、 服务改变
( ServiceChange )。 命令参数, 也称为描述符 (Descriptor ), 被分类 为属性(Property ), 信号(Signal ), 事件( Event )、 统计( Statistic )。 具有业务相关性的参数逻辑上聚合成为包( Package )„
如图 2, 本发明实施例提供了一种上 会话状态的方法, 包括以 下步骤:
在媒体网关上设置状态期满事件;
媒体网关根据所述状态期满事件判断承载会话状态是否期满,如 果期满, 则所述媒体网关向媒体网关控制器上报状态期满事件。
在使用 RSVP建立资源预留会话的场景中,由于维护会话状态的 需要, MG会周期性地收到 UE发来的路径请求消息( RSVP Path )或 预留请求消息 ( RSVP Resv ) , 这些重复的刷新消息用于保持和维护 整个承载路径上特定 RSVP会话的状态。但此时, 由于这些刷新消息 的大量重复性, MG并不需要将它们——上 ·¾ ΜΟ(。而为了让 MGC 及时了解承载资源会话的状态信息,一旦 MG检测到承载会话状态期 满, 此时 MG需要向 MGC上报状态期满事件。 MGC在没有收到状 态期满事件之前, 可以理解为该资源会话一直处于正常保持状态。
如图 3, 本发明实施例提供了一种上 会话状态的方法, 包括以 下步骤:
A、 MGC指示 MG建立承载资源会话, 在承载资源会话建立之 后, MG根据会话状态期满条件检测所承载会话的状态信息。 所述会 话状态期满条件可以是会话状态期满时间间隔,表示会话状态到期的 时间定时器,会话状态期满条件也可以是消息触发规则或其他的资源 策略规则等。
该步骤中, MGC 指示 MG 建立承载资源会话, 包括但不限于 MGC指示 MG检测承载资源请求事件以及 MGC根据相关策略要求 MG发送路径建立请求等。
B、 MG检测会话状态期满条件的发生, 即根据会话状态期满条 件检测所承载会话的状态信息,例如在会话状态期满时间间隔参数指 定的时间间隔内是否收到刷新消息: 如果收到刷新消息, 则重置会话 状态期满条件, 例如重新开始计时; 如果否, 则表示会话状态已经过 期, MG向 MGC上 ^艮状态期满事件, 相当于通知 MGC所^载会话 的状态已经过期。 MGC在收到状态期满事件之后, 可以指示 MG释 放该会话相关的承载资源, 结束该会话。 MG周期性地收到 UE发来 的路径请求消息 (RSVP Path )或预留请求消息 (RSVP Resv ), MG 并不需要将它们——上报给 MGC。 而为了让 MGC及时了解承载资 源会话的状态信息,一旦 MG检测到在会话状态期满时间间隔参数指 定的时间区间内, 没有接收到对应的资源预留会话刷新消息(对应为 Path或 Resv 消息), 则认为该承载资源会话的状态已经过期, 此时 MG需要向 MGC上报状态期满事件, 以便 MGC做出对应决策, 例 如拆除会话、 释放相关承载资源等。
为了实现上述的实施例,本发明实施例在 H.248协议中定义以下 机制:
1、 一个事件参数作为会话状态期满条件, 实现相当于定时器的 功能, 标志会话状态期满的时间间隔, 即会话状态到期的时间期限。 例如, 将该事件参数命名为 "SEI ( State Expiration Interval, 状态期 满间隔)"。 通常软状态协议的消息具有一个刷新周期, 即每隔一个刷 新周期, 消息发起方会重新发送一个刷新消息, 因此可以定义状态期 满间隔参数指定的时间间隔大于刷新消息的周期。 其中, 该参数可以 预先在 MG上设置, 其取值为默认通用的会话状态期满时间间隔值; 或者该参数也可以通过 MGC下发给 MG, 则 MGC可以根据需要随 时改变状态期满间隔参数的值, 这样可以更加方便、 灵活进行控制。 该参数可以包含在现有或新的承载请求事件中下发, 例如包含在 H.248的 RSVP包的路径请求接收事件(Path Received, rsvp/pathr ) 或预留请求接收事件 ( Resv Received, rsvp/resvr ) 中。
进一步: 事件参数 sei的类型可以定义为整数型(Integer ), 单位 为毫秒( milliseconds )。 会话期满间隔值就设定为消息刷新周期值的 数倍, 来允许网络中可能存在的部分消息丟失。 此外, 该参数除以事 件参数的方式定义之外, 还可以以 H.248中的属性或信号方式定义, 来达到同样的目的。
2、一个事件,用于 MG检测并上报承载资源会话状态期满信息。 该事件定义为 MG检测到会话状态期满条件的发生,例如是在上述扩 展的会话状态期满时间间隔内没有接收到会话刷新消息,则判断出所 述承载会话的状态已经过期, 并通过该定义事件向 MGC上报会话状 态过期信息。 例如, 将该事件命名为 "状态期满 ( State Expiration , 缩写为 se ),, 事件。 该事件可以归属于现有或新的包中, 例如包含在 H.248.RSVP中的 RSVP扩展包中,或定义一个新包,命名为 SED( State Expiration Detection Package , ^犬态期满检测包 )。
进一步: 在 H.248中, 事件的检测和上报需要有预先的设置或下 发, 所以为了使 MG能对状态期满事件进行检测, 需要在 MG上设 置状态期满事件(如 rsvp/se, 这里假设 se事件定义在 rsvp包中)。 该 事件可以由 MGC下发给 MG, 也可以预先配置在 MG上。 事件可以 下发到 MG的 ROOT终端上: 表示对整个 MG检测状态期满事件; 也可以是 MG上某个特定的终端上:表示对该终端上所承载的会话状 态进行检测;还可以是 MG上某个特定的流: 表示该事件的检测仅适 用于特指的流。 例如, MGC将事件下发给 MG的过程为: MGC可以 通过 Modify请求消息向 MG设置状态期满事件( rsvp/se ); MG收到 该 Modify请求消息后向 MGC发送 Modify回复消息。 该事件的下发 可以不带任何事件参数。 如图 4 ,本发明一个具体实施例提供了一种上 会话状态的方法, 包括:
步骤 1: MGC通过修改请求(Modify ) 消息下发检测路径请求 接收事件 (rsvp/pathr )和状态期满事件( rsvp/se )到 MG上。
其中, 路径请求接收事件包含上述定义的事件参数: 状态期满间 隔 (sei ), 表示所建立资源预留会话的状态期满时间间隔值, 状态期 满间隔也可以通过其他的承载请求事件下发,在此仅以路径请求接收 事件为例。 另外, 也可以通过其它消息下发路径请求接收事件 ( rsvp/pathr )和状态期满事件(rsvp/se ), 例如添加请求(Add )消息 或移动 (Move )请求消息等。
步骤 2: MG发送修改响应消息给 MGC,并开始指定事件的检测。 步骤 3: MG接收到第一个路径请求消息 ( RSVP Path )。
MG 在接收到承载上其它实体, 例如是用户设备 UE ( User Equipment ), 发送来的第一个 RSVP Path请求消息后, 触发路径请求 接收事件, 通过步骤 4向 MGC通报对应信息。 同时, MG需要保存 该会话的状态信息, 例如所述承载请求消息(在这里是指 RSVP Path 消息, 即路径请求消息)中携带的会话参数信息, 其中包含会话标识 等。 由于一个承载资源会话通常有唯一的会话标识, 例如 RSVP中的 SESSION对象, MG可以通过对会话标识的检测来识别某个特定的承 载资源会话。
步骤 4: MG通过通报 ( Notify )请求消息向 MGC报告所检测到 的路径请求接收事件(rsvp/pathr ), 其中附带相关的参数信息, 例如 包括媒体数据流量规格信息和路径状态信息等等, 以便 MGC做进一 步的策略决策。
步骤 5: MGC发送通报响应消息给 MG。
进一步, MGC在对该承载请求授权之后, 可能指示 MG建立相 关 RSVP会话, 包括指示 MG向 UE发送预留请求消息( RSVP Resv ) 等。 步骤 6: MG在 MGC的控制指示下, 使用 RSVP协议与 UE进 行通信, 建立并维护 RSVP资源会话。
在会话建立和维护的同时, MG根据会话状态期满时间间隔参数 检测会话状态信息, 这里状态期满时间间隔参数即相当于一个定时 器。 MG收到 UE发送来随后的 RSVP Path刷新消息后, 通过判断收 到消息中携带的会话标识来识别某个特定资源会话,即将所述会话标 识同 MG上所承载会话的会话标识进行对比,如果与某个会话的会话 标识相同, 则判断是收到了该会话的刷新消息。进而 MG更新该会话 的状态信息, 同时重置会话状态期满条件, 例如重置所述定时器。
进一步, 在根据会话标识确定了所刷新的会话之后, MG所接收 的刷新消息( RSVP Path )还存在可能与之前已接收的 Path消息相同, 也可能不同, 例如其中包含了新的会话参数信息。
这两种情况下消息都具有相同的会话标识,但是消息的请求内容 不同。重复的 RSVP path消息与之前收到的 RSVP Path消息内容相同, 则 MG无需向 MGC上报重复的路径请求接收事件。如果所接收 RSVP Path消息与之前收到的 RSVP Path消息的请求内容不同,此时 MG还 需要通过路径请求接收事件将所述请求内容上报给 MGC。 例如之前 的 RSVP Path消息为只包含了音频会话请求信息, 而新收到的 RSVP Path消息中又在该会话中增加了视频会话请求内容, MG收到该消息 后, 重置定时器, 并且还需要向 MGC上报路径请求接收事件, 来报 告所收到的资源请求信息。
不论所接收到会话刷新消息中包含内容是上述哪种情况, 只要 MG接收到刷新消息, 则表示所指会话的状态正常。 在此不再——详 述。
一旦, MG检测到会话状态期满条件发生, 即会话状态期满时间 间隔内没有收到对应的会话刷新消息,则表示所述会话的状态已经过 期。 MG需要将所检测到的会话状态期满信息上报给 MGC, 以便获 取进一步的资源决策。 步骤 7: MG通过通报 ( Notify )请求消息向 MGC报告所检测到 的状态期满事件 (rsvp/se )。
在状态期满事件上报的同时, 还可以附带一些参数, 以表示会话 状态的进一步信息, 供 MGC进行相应的策略决策。 在状态期满事件 会话标识(Session ID, 缩写为 sessionid )参数, 用以标识发生 状态期满的会话信息。 该参数的类型定义为字符串列表(Sub-list )。 在应用 RSVP的场景中,其取值可以对应于 RSVP消息中的 SESSION 对象, 来唯一标识某个 RSVP会话。
步骤 8: MGC发送通报响应消息给 MG。
进一步, MGC 可能根据相关的策略规则指示 MG 拆除相关的 RSVP会话, 释放对应的承载资源等。 在此, 不再展开。
请参阅图 5 , 本发明实施例提供了一种通信系统, 包括媒体网关 MG50和媒体网关控制器 MGC51:
其中,媒体网关 MG50进一步包括接收单元 501、判断单元 502、 设置单元 503和发送单元 504, 媒体网关控制器 MGC51进一步包括 发送单元 511和接收单元 512。
设置单元 503用于设置状态期满事件和会话状态期满条件,其中 状态期满事件可以为预先在 MG的设置单元 503上设置,或者是 MGC 的发送单元 511下发给 MG的接收单元 501 , 再设置在设置单元 503 上。会话状态期满条件可以为预先在 MG的设置单元 503上设置,或 者是 MGC的发送单元 511下发给 MG的接收单元 501 , 再设置在设 置单元 503上。
判断单元 502用于根据设置单元 503设置的状态期满事件判断承 载会话状态是否期满, 如果确认所述承载会话状态期满, 则通过发送 单元 504向媒体网关控制器的接收单元 512发送状态期满事件。
进一步判断单元 502根据所述会话状态期满条件检测所承载会 话的状态信息, 其中所述会话状态期满条件为会话状态期满时间间 隔; 如果在会话状态期满时间间隔内, MG的接收单元 501收到会话 状态刷新消息时, 则判断单元 502判断为不满足会话状态期满条件, 并重置设置单元 503的会话状态期满时间间隔;如果在会话状态期满 时间间隔内, 接收单元 501没有收到会话状态刷新消息, 则判断单元 502判断所述承载会话状态期满, 发送单元 504向媒体网关控制器的 接收单元 512发送状态期满事件。
进一步当 MG的接收单元 501收到会话状态刷新消息时,判断单 元 502 将所述接收到的会话状态刷新消息与之前已接收的会话状态 刷新消息进行对比,如果所述接收到的会话状态刷新消息的内容与之 前已接收会话状态刷新消息的内容一致, 则不触发承载请求事件; 如 果不一致, 则发送单元 504向 MGC的接收单元 512上报承载请求事 件。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以可借助软件加必要的通用硬件平 台的方式来实现基于这样的理解,本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种上 会话状态的方法, 其特征在于, 包括以下步骤: 在媒体网关 MG上设置状态期满事件;
所述媒体网关根据所述状态期满事件判断承载会话状态是否期 满, 如果期满, 则所述媒体网关向媒体网关控制器 MGC上报状态期 满事件。
2、 如权利要求 1所述的方法, 其特征在于, 所述媒体网关根据 所述状态期满事件判断承载会话状态是否期满具体为:
所述媒体网关根据会话状态期满条件检测所承载会话的状态信 息, 其中所述会话状态期满条件为会话状态期满时间间隔;
如果所述 MG在会话状态期满时间间隔内收到会话状态刷新消 息, 则重置会话状态期满时间间隔; 如果所述 MG在会话状态期满时 间间隔内没有收到会话状态刷新消息, 则判断所述承载会话状态期 满。
3、 如权利要求 2所述的方法, 其特征在于, 该方法包括: 所述会话状态期满条件为预先在所述 MG上设置,或者是由媒体 网关控制器 MGC下发给所述 MG。
4、 如权利要求 3所述的方法, 其特征在于, 如果所述会话状态 期满条件是由 MGC下发给所述 MG时, 则该方法还包括:
所述会话状态期满条件承载于网关控制协议的属性、信号或事件 参数中下发给 MG。
5、 如权利要求 1所述的方法, 其特征在于, 所述在媒体网关上 设置状态期满事件的方法为: 预先在所述 MG上设置, 或者是 MGC 下发给所述 MG。
6、 如权利要求 1所述的方法, 其特征在于, 该方法还包括: 所述 MG收到会话状态刷新消息时,与当前会话的状态信息进行 对比, 如果不一致, 则向所述 MGC上 ·¾^^载请求事件。
7、 如权利要求 6所述的方法, 其特征在于, 所述会话状态刷新 消息为资源预留协议的路径请求消息或预留请求消息。
8、 一种媒体网关, 其特征在于, 包括: 设置单元、 判断单元、 发送单元,
所述设置单元, 用于设置状态期满事件;
所述判断单元,用于根据所述设置单元设置的状态期满事件判断 承载会话状态是否期满;
所述发送单元,用于当所述判断单元确认所述承载会话状态期满 时, 向媒体网关控制器上报状态期满事件。
9、 如权利要求 8所述的媒体网关, 其特征在于,
所述判断单元,还用于根据会话状态期满条件检测所承载会话的 状态信息, 其中所述会话状态期满条件为会话状态期满时间间隔; 所述判断单元还用于,如果 MG在所述会话状态期满时间间隔内 收到会话状态刷新消息, 则重置会话状态期满时间间隔; 如果 MG在 所述会话状态期满时间间隔内没有收到会话状态刷新消息,则确认所 述承载会话状态期满。
10、 如权利要求 8所述的媒体网关, 其特征在于,
所述判断单元,在 MG收到会话状态刷新消息时,进一步用于判 断所述消息的内容是否与所述会话的状态信息内容一致, 如果不一 致, 则通过所述发送单元向 MGC上报承载请求事件。
11、 一种通信系统, 其特征在于, 包括媒体网关和媒体网关控制 器,
所述媒体网关, 用于设置状态期满事件, 判断承载会话状态是否 期满, 如果确认所述承载会话状态期满, 则向所述媒体网关控制器上 报状态期满事件;
所述媒体网关控制器,用于接收所述媒体网关发送的状态期满事 件。
12、 如权利要求 11所述的通信系统, 其特征在于, 所述媒体网 关, 还用于根据会话状态期满条件检测所承载会话的状态信息, 其中 所述会话状态期满条件为会话状态期满时间间隔; 所述媒体网关还用于,如果在会话状态期满时间间隔内收到会话 状态刷新消息, 则重置会话状态期满时间间隔; 如果 MG在会话状态 期满时间间隔内没有收到会话状态刷新消息,则确认所述承载会话状 态期满。
PCT/CN2009/070950 2008-04-21 2009-03-23 上报会话状态的方法、媒体网关和系统 WO2009129712A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP09735736A EP2273733A4 (en) 2008-04-21 2009-03-23 METHOD, MEDIA GATEWAY AND SESSION STATUS REPORT SYSTEM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810066670.8 2008-04-21
CN 200810066670 CN101567876B (zh) 2008-04-21 2008-04-21 上报会话状态的方法、媒体网关和系统

Publications (1)

Publication Number Publication Date
WO2009129712A1 true WO2009129712A1 (zh) 2009-10-29

Family

ID=41216421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070950 WO2009129712A1 (zh) 2008-04-21 2009-03-23 上报会话状态的方法、媒体网关和系统

Country Status (3)

Country Link
EP (1) EP2273733A4 (zh)
CN (1) CN101567876B (zh)
WO (1) WO2009129712A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191580A1 (en) * 2014-09-29 2016-06-30 Edifire LLC Dynamic session monitoring in secure media-based conferencing

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011097804A1 (zh) 2010-02-11 2011-08-18 华为技术有限公司 媒体流传输密钥操作方法、装置及系统
EP2724493A1 (en) * 2011-06-22 2014-04-30 Telefonaktiebolaget L M Ericsson (publ) Method for policy control and method for bearer control as well as corresponding servers, systems and computer programs
CN108289079B (zh) * 2017-01-09 2020-07-10 大唐移动通信设备有限公司 一种会话刷新时长控制的方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050043008A1 (en) * 2002-01-25 2005-02-24 Tuija Hurita Emergency session request handling in a network
CN1794665A (zh) * 2005-04-15 2006-06-28 华为技术有限公司 一种媒体网关监测并上报事件的方法
CN1921417A (zh) * 2005-08-25 2007-02-28 华为技术有限公司 双向转发检测上报会话状态的方法
US20070169170A1 (en) * 2005-12-30 2007-07-19 Microsoft Corporation Session Management By Analysis Of Requests And Responses

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964266B (zh) * 2005-11-09 2011-08-17 朗迅科技公司 提供会话状态检查的ip多媒体子系统网关系统和方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050043008A1 (en) * 2002-01-25 2005-02-24 Tuija Hurita Emergency session request handling in a network
CN1794665A (zh) * 2005-04-15 2006-06-28 华为技术有限公司 一种媒体网关监测并上报事件的方法
CN1921417A (zh) * 2005-08-25 2007-02-28 华为技术有限公司 双向转发检测上报会话状态的方法
US20070169170A1 (en) * 2005-12-30 2007-07-19 Microsoft Corporation Session Management By Analysis Of Requests And Responses

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191580A1 (en) * 2014-09-29 2016-06-30 Edifire LLC Dynamic session monitoring in secure media-based conferencing
US9591040B2 (en) * 2014-09-29 2017-03-07 Edifire LLC Dynamic session monitoring in secure media-based conferencing

Also Published As

Publication number Publication date
EP2273733A1 (en) 2011-01-12
CN101567876B (zh) 2011-07-13
EP2273733A4 (en) 2011-10-19
CN101567876A (zh) 2009-10-28

Similar Documents

Publication Publication Date Title
US7583612B2 (en) Method for periodically acquiring the QoS of media stream and system thereof
US8228945B2 (en) Streaming communication system
WO2006026929A1 (fr) Procede de surveillance de l'etat du controleur de passerelle media par la passerelle media
WO2007073679A1 (fr) Passerelle multimedia et procede pour presenter une valeur de parametre statistique de terminal
US8626892B2 (en) Methods and devices for managing a network
WO2008154886A1 (fr) Procédé de réalisation et appareil pour chemin de porteuse
WO2007006206A1 (fr) Procédé de détection et de libération de ressource rtp anormale de passerelle multimédia
US20090042538A1 (en) Method for obtaining packet billing information based on session initiation protocol
WO2009129712A1 (zh) 上报会话状态的方法、媒体网关和系统
KR101442260B1 (ko) 정책관리시스템에서의 정책정보 동기화 방법
WO2014180410A1 (zh) 一种实现媒体QoS承载资源控制的方法及装置
WO2008101429A1 (fr) Procédé, dispositif et système pour réguler le rapport du protocole de transport en temps réel haute résolution
WO2007073666A1 (fr) Procede et dispositif utilisant un parametre de comptage pour regler une valeur
WO2006136070A1 (fr) Procédé pour basculer le format de codage ou de décodage des flux de médias
WO2009121272A1 (zh) 媒体网关、媒体网关控制器、多媒体电话互通方法和系统
KR101369103B1 (ko) 접속 해제 처리 방법 및 접속 해제 처리 장치
WO2014079386A1 (zh) 基于万维网的实时通信的实现方法及装置
Cisco Commands: debug ppp bap through debug sdllc
CN110896392B (zh) 一种无线参数调整方法、节点和计算机存储介质
WO2011120271A1 (zh) 实现网络故障检测的方法、系统及媒体网关
WO2008151559A1 (fr) Procédé, système et appareil pour sélectionner une passerelle de médias virtuels
WO2008083606A1 (fr) Procédé et dispositif de commande de communication d'estampille temporelle d'événement
EP2214343B1 (en) Method and device in response to termination service state change indication
WO2011120384A1 (zh) 一种实现用户动态资源同步的方法、装置及系统
WO2013166625A1 (zh) 一种检测报告上报方法、报告上报系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09735736

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009735736

Country of ref document: EP