Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5140107B2 - Media session termination method and program, and media session termination device - Google Patents
[go: Go Back, main page]

JP5140107B2 - Media session termination method and program, and media session termination device - Google Patents

Media session termination method and program, and media session termination device Download PDF

Info

Publication number
JP5140107B2
JP5140107B2 JP2010082551A JP2010082551A JP5140107B2 JP 5140107 B2 JP5140107 B2 JP 5140107B2 JP 2010082551 A JP2010082551 A JP 2010082551A JP 2010082551 A JP2010082551 A JP 2010082551A JP 5140107 B2 JP5140107 B2 JP 5140107B2
Authority
JP
Japan
Prior art keywords
session
file
media
application
file name
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
Application number
JP2010082551A
Other languages
Japanese (ja)
Other versions
JP2011217079A (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.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2010082551A priority Critical patent/JP5140107B2/en
Publication of JP2011217079A publication Critical patent/JP2011217079A/en
Application granted granted Critical
Publication of JP5140107B2 publication Critical patent/JP5140107B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、セッション制御を終端すると共に、接続されたセッション上で送受信されるメディアストリームの終端を実行するアプリケーションの開発を容易にするソフトウェアおよびハードウェアに関する。   The present invention relates to software and hardware that terminates session control and facilitates the development of applications that perform termination of media streams sent and received over connected sessions.

NGN(Next Generation Network)で実現されるIP(Internet Protocol)電話網では、電話をする場合に、セッション制御プロトコルおよびメディアストリーム制御プロトコルの2種類が用いられる。セッション制御プロトコルは、IP電話機間での接続状態である呼(セッション)を制御するためのプロトコルであり、代表的なものには、SIP(Session Initiation Protocol)がある。SIPの仕様は、IETF(Internet Engineering Task Force)で標準化されている(非特許文献1の第1章〜第4章参照)。また、メディアストリーム制御プロトコルは、接続されたセッション上で音声や映像等のメディアストリームの送受信を制御するプロトコルであり、代表的なものには、RTP(Real-time transport Protocol)がある(非特許文献2の第1章参照)。   In an IP (Internet Protocol) telephone network realized by NGN (Next Generation Network), two types of a session control protocol and a media stream control protocol are used when making a call. The session control protocol is a protocol for controlling a call (session) which is a connection state between IP telephones, and a typical one is SIP (Session Initiation Protocol). The SIP specification is standardized by IETF (Internet Engineering Task Force) (see Chapters 1 to 4 of Non-Patent Document 1). The media stream control protocol is a protocol for controlling transmission and reception of media streams such as audio and video on a connected session, and a typical one is RTP (Real-time transport Protocol) (non-patent). (Refer to Chapter 1 of Document 2).

つまり、NGNのようなセッション制御を行うネットワーク(セッション制御ネットワーク)に接続して使用される装置は、呼に対してセッションを終端し、メディアストリームの終端を行うために、セッション制御プロトコルおよびメディアストリーム制御プロトコルの双方を備えたアプリケーションを実行している。そこで、新たに音声や映像等のメディアストリームを送受信するアプリケーションを開発しようとする場合には、セッション制御プロトコルおよびメディアストリーム制御プロトコルの双方の仕様に精通していることが必要となるため、アプリケーション開発における高いハードルが存在する。少なくとも一方のプロトコルについての知識だけでも、その知識の不足を自動的に補うソフトウェアが存在すれば、アプリケーション開発における高いハードルを下げることができる。   That is, an apparatus used by connecting to a network (session control network) that performs session control such as NGN terminates a session for a call and terminates the media stream. You are running an application that has both control protocols. Therefore, when developing a new application that transmits and receives media streams such as audio and video, it is necessary to be familiar with the specifications of both the session control protocol and the media stream control protocol. There is a high hurdle at. Even with knowledge of at least one protocol, if there is software that automatically compensates for the lack of knowledge, high hurdles in application development can be lowered.

このような例として、SIPの仕様をすべて把握していなくても、アプリケーションの開発を容易にすることを目的としたSIP Servlet(非特許文献3参照)が開示されている。SIP Servletは、種々のアプリケーションに共通して用いられるSIPの基本的な機能を入出力インタフェースとして提供し、複雑な例外パターンの検出やSIPメッセージの生成/解釈/順序制御等をブラックボックス化してSIP Servlet側で処理する。これにより、アプリケーション開発では、メディアストリーム制御プロトコルを備えたアプリケーションを作製すれば済むようになるので、若干ハードルの高さを下げることができる。   As such an example, SIP Servlet (see Non-Patent Document 3) for the purpose of facilitating the development of an application without knowing all the SIP specifications is disclosed. SIP Servlet provides the basic functions of SIP that are commonly used for various applications as an input / output interface, and makes it possible to detect complex exception patterns and generate / interpret / order control of SIP messages as a black box. Process on the Servlet side. As a result, in application development, it is only necessary to create an application having a media stream control protocol, so that the height of the hurdle can be slightly lowered.

J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, and E. Schooler, "SIP: Session Initiation Protocol," Internet Engineering Task Force, RFC 3261, June 2002J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, and E. Schooler, "SIP: Session Initiation Protocol," Internet Engineering Task Force, RFC 3261, June 2002 H. Schulzrinne, S. Casner, R. Frederick, and V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications," Internet Engineering Task Force, RFC 3550, July 2003H. Schulzrinne, S. Casner, R. Frederick, and V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications," Internet Engineering Task Force, RFC 3550, July 2003 Java Community Process, "SIP Servlet v1.1," Java Specification Requests (JSR) 289, August 2008Java Community Process, "SIP Servlet v1.1," Java Specification Requests (JSR) 289, August 2008

しかしながら、セッション制御プロトコルおよびメディアストリーム制御プロトコルの仕様の双方に精通していなくても、セッション制御ネットワークに接続する装置で使用するアプリケーション開発を容易に行えるようにする検討例は見当たらない。また、前記したSIP Servletは、アプリケーション開発のハードルを下げる効果はあるものの、その使い方を学習しなければならないという手間がかかる。
そこで、本発明は、セッション制御プロトコルおよびメディアストリーム制御プロトコルの双方の仕様に精通していなくても、アプリケーション開発を容易にするソフトウェアおよびハードウェアを提供することを課題とする。
However, there is no study example that makes it easy to develop an application for use in a device connected to a session control network, even if both the session control protocol and media stream control protocol specifications are not familiar. Moreover, although the above-described SIP Servlet has an effect of lowering the hurdle of application development, it takes time and effort to learn how to use it.
Accordingly, an object of the present invention is to provide software and hardware that facilitate application development even if the user is not familiar with the specifications of both the session control protocol and the media stream control protocol.

本発明は、ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端するメディアセッション終端装置において用いられるメディアセッション終端方法であって、前記メディアセッション終端装置が、前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続するステップと、接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、記憶部に記憶するステップと、前記アプリケーションから前記ファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断するステップと、前記記憶部から、切断された前記セッションに関連付けられたファイルのファイル名を削除するステップと、を実行することを特徴とする。   The present invention relates to a media session that forms a file system, connects to a session control network that performs session control, is provided in an apparatus that transmits and receives media information on a session based on an application, and terminates session control based on a session control protocol A media session termination method used in a termination device, wherein the media session termination device receives an instruction to execute file creation from the application, generates a file, and connects a session based on the session control protocol A step of associating the connected session with the file name of the generated file and storing it in a storage unit; and executing the file deletion by specifying the file name from the application Receiving the notification, deleting the file with the specified file name, disconnecting the session associated with the file name based on the session control protocol, and from the storage unit to the disconnected session. Deleting the file name of the associated file.

本発明は、ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端するメディアセッション終端装置であって、前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続する手段と、接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、記憶部に記憶する手段と、前記アプリケーションから前記ファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断する手段と、前記記憶部から、切断された前記セッションに関連付けられたファイルのファイル名を削除する手段と、を備えることを特徴とする。   The present invention relates to a media session that forms a file system, connects to a session control network that performs session control, is provided in an apparatus that transmits and receives media information on a session based on an application, and terminates session control based on a session control protocol A terminal device that receives an instruction to execute file creation from the application, generates a file, and connects a session based on the session control protocol; the connected session; and the generated file Means for storing the file name in the storage unit, receiving an instruction to execute the file deletion by specifying the file name from the application, deleting the file of the specified file name, Session control protocol Characterized in that it comprises means for disconnecting the session associated with the file name, from the storage unit, and means for deleting the file name of the file associated with the disconnected the session, the based on.

このような構成によれば、メディアセッション終端装置が、アプリケーションからファイル作成およびファイル削除の指示を受信して、セッション制御プロトコルにおけるセッションの接続および切断の手順を実行し、セッションの接続および切断をファイルの生成および削除として管理する。したがって、セッション制御プロトコルを用いるアプリケーション開発においては、ファイルの作成および削除に関する一般的な知識があれば、アプリケーション開発を容易にすることができるようになる。   According to such a configuration, the media session termination device receives the file creation and file deletion instructions from the application, executes the session connection and disconnection procedure in the session control protocol, and sets the session connection and disconnection to the file. Manage as creation and deletion of. Therefore, in application development using the session control protocol, application development can be facilitated if there is general knowledge about file creation and deletion.

本発明は、前記メディアセッション終端装置が、前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション接続の要求を受信するステップと、前記セッション接続の要求を受信して、前記セッション制御プロトコルに基づいてセッションを接続し、ファイルを生成するステップと、接続された前記セッションに関連付けて前記生成したファイルのファイル名を前記記憶部に記憶するステップと、前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前記記憶部に記憶されているファイル名を返信するステップと、を実行することを特徴とする。   In the present invention, the media session termination device receives a session connection request based on the session control protocol from a connection partner device connected via the session control network; and Receiving and connecting a session based on the session control protocol to generate a file; storing the file name of the generated file in association with the connected session in the storage unit; and the application And a step of returning a file name stored in the storage unit when an instruction for requesting a list of file names is received.

本発明は、前記メディアセッション終端装置が、前記アプリケーションから受信したファイル名の一覧を要求する指示に応じて返信したファイル名を記憶している前記記憶部を備え、前記メディアセッション終端装置が、前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション接続の要求を受信するステップと、前記セッション接続の要求を受信して、前記セッション制御プロトコルに基づいてセッションを接続し、ファイルを生成するステップと、接続された前記セッションに関連付けて前記生成したファイルのファイル名を前記記憶部に記憶するステップと、前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前回一覧を要求する指示を受信したときに返信したファイル名と、今回一覧を要求する指示を受信したときに記憶しているファイル名との相違を返信するステップと、を実行することを特徴とする。   The present invention comprises the storage unit that stores the file name returned by the media session termination device in response to an instruction for requesting a list of file names received from the application, and the media session termination device includes: Receiving a session connection request based on the session control protocol from a connection partner device connected via a session control network; receiving the session connection request; and receiving a session based on the session control protocol. And generating a file, storing the file name of the generated file in association with the connected session in the storage unit, and receiving an instruction to request a list of file names from the application Instructions to request the previous list And file name reply when receiving, and executes the step of returning the difference between the file name stored in the time of receiving the instruction to request this list, the.

本発明は、前記メディアセッション終端装置が、前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション切断の要求を受信するステップと、前記セッション切断の要求を受信して、前記セッション制御プロトコルに基づいてセッションを切断し、ファイル削除するステップと、前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前記記憶部に記憶されているファイル名を返信するステップと、を実行することを特徴とする。   In the present invention, the media session termination device receives a session disconnection request based on the session control protocol from a connection partner device connected via the session control network; and Receiving and disconnecting the session based on the session control protocol and deleting the file; deleting the file name associated with the disconnected session from the storage; and the file name from the application And a step of returning a file name stored in the storage unit when an instruction for requesting the list is received.

本発明は、前記メディアセッション終端装置が、前記アプリケーションから受信したファイル名の一覧を要求する指示に応じて返信したファイル名を記憶している前記記憶部を備え、前記メディアセッション終端装置が、前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション切断の要求を受信するステップと、前記セッション切断の要求を受信して、前記セッション制御プロトコルに基づいてセッションを切断し、ファイルを削除するステップと、前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前回一覧を要求する指示を受信したときに返信したファイル名と、今回一覧を要求する指示を受信したときに記憶しているファイル名との相違を返信するステップと、を実行することを特徴とする。   The present invention comprises the storage unit that stores the file name returned by the media session termination device in response to an instruction for requesting a list of file names received from the application, and the media session termination device includes: Receiving a session disconnection request based on the session control protocol from a connection partner device connected via a session control network; receiving the session disconnection request; and receiving a session based on the session control protocol And deleting the file, deleting the file name associated with the disconnected session from the storage unit, and receiving an instruction to request a list of file names from the application, When an instruction to request the list was received last time And file name reply, and executes the step of returning the difference between the file name stored in the time of receiving the instruction to request this list, the.

このような構成によれば、メディアセッション終端装置が、接続相手の装置からセッション制御プロトコルに基づくセッション接続および切断の要求を受信した場合、セッション制御プロトコルにおけるセッションの接続および切断の手順を実行し、ファイル作成およびファイル削除を実行する。そして、アプリケーションは、記憶部に記憶されているファイル名の一覧を要求して、ファイルが生成されたか、ファイルが削除されたかを調べることによって、セッション制御の状態を認識することができる。つまり、セッション制御プロトコルを用いるアプリケーション開発においては、ファイルの存在を調べる一般的な知識があれば、アプリケーション開発を容易にすることができるようになる。   According to such a configuration, when the media session termination device receives a session connection and disconnection request based on the session control protocol from the connection partner device, the session connection and disconnection procedure in the session control protocol is executed. Execute file creation and file deletion. Then, the application can recognize the session control state by requesting a list of file names stored in the storage unit and checking whether the file has been generated or deleted. In other words, in application development using the session control protocol, application development can be facilitated if there is general knowledge for examining the existence of a file.

本発明は、ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端すると共に、メディア制御プロトコルによる、接続されたセッション上で送受信されるメディア情報の制御を終端するメディアセッション終端装置において用いられるメディアセッション終端方法であって、前記メディアセッション終端装置が、接続された前記セッションと、前記ファイルシステム上のファイルのファイル名と、前記ファイルに読み書きされる前記メディア情報を格納しているメモリ位置と、を関連付けて記憶する記憶部を備え、前記メディアセッション終端装置が、前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続するステップと、接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、前記記憶部に記憶するステップと、前記アプリケーションから、ファイルにメディア情報の書き込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を送信するステップと、前記アプリケーションから、指定されたファイル名のファイルからメディア情報の読み込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を受信し、前記記憶部を参照して、指定された当該ファイル名に関連付けられたメモリ位置を取得して、当該メモリ位置を前記アプリケーションに返信するステップと、前記アプリケーションからファイル名を指定してファイル削除を実行する指示を受信して、指示された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断するステップと、前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、を実行することを特徴とする。   The present invention is provided in an apparatus that forms a file system, connects to a session control network that performs session control, and transmits and receives media information on a session based on an application, terminates session control based on a session control protocol, A media session termination method used in a media session termination device for terminating control of media information transmitted / received on a connected session according to a media control protocol, wherein the media session termination device includes: A storage unit for storing the file name of the file on the file system and a memory location storing the media information read / written to / from the file in association with each other; Receiving an instruction to execute file creation from the application, generating a file, connecting a session based on the session control protocol, and associating the connected session with the file name of the generated file , Storing in the storage unit, receiving an instruction to execute writing of media information to a file from the application, transmitting the media information based on the media control protocol, and specifying from the application Receives an instruction to read media information from the file with the specified file name, receives the media information based on the media control protocol, refers to the storage unit, and associates the media information with the specified file name To get the specified memory location Returning a memory location to the application; receiving an instruction to execute file deletion by specifying a file name from the application; deleting the file with the specified file name; and based on the session control protocol The step of disconnecting the session associated with the file name and the step of deleting the file name associated with the disconnected session from the storage unit are executed.

本発明は、ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端すると共に、メディア制御プロトコルによる、接続されたセッション上で送受信されるメディア情報の制御を終端するメディアセッション終端装置であって、接続された前記セッションと、前記ファイルシステム上のファイルのファイル名と、前記ファイルに読み書きされる前記メディア情報を格納しているメモリ位置と、を関連付けて記憶する記憶部を備え、前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続する手段と、接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、前記記憶部に記憶する手段と、前記アプリケーションから、ファイルへメディア情報の書き込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を送信する手段と、前記アプリケーションから、指定したファイル名のファイルからメディア情報の読み込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を受信し、前記記憶部を参照して、指定された当該ファイル名に関連付けられたメモリ位置を取得して、当該メモリ位置を前記アプリケーションに返信する手段と、前記アプリケーションからファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断する手段と、前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除する手段と、を備えることを特徴とする。   The present invention is provided in an apparatus that forms a file system, connects to a session control network that performs session control, and transmits and receives media information on a session based on an application, terminates session control based on a session control protocol, A media session termination device that terminates control of media information transmitted and received on a connected session according to a media control protocol, the connected session, a file name of a file on the file system, and the file A storage unit that associates and stores a memory location storing the media information to be read and written, receives an instruction to execute file creation from the application, generates a file, and is based on the session control protocol The A means for connecting a session, a means for associating the connected session with the file name of the generated file and storing the file in the storage unit, and an instruction to write media information from the application to the file. Means for receiving and transmitting the media information based on the media control protocol, and receiving an instruction to read the media information from the file of the specified file name from the application, and based on the media control protocol Means for receiving the media information, referring to the storage unit, obtaining a memory location associated with the designated file name, and returning the memory location to the application; and a file name from the application To delete the specified file. A means for deleting the file with the specified file name and disconnecting the session associated with the file name based on the session control protocol; and from the storage unit, associated with the disconnected session. Means for deleting a file name.

このような構成によれば、メディアセッション終端装置が、アプリケーションからファイル作成およびファイル削除の指示を受信して、セッション制御プロトコルにおけるセッションの接続および切断の手順を実行し、セッションの接続および切断をファイルの生成および削除として管理する。また、メディアセッション終端装置が、アプリケーションから、ファイルへのデータの書き込みおよびファイルからのデータの読み出しの指示を受信して、メディア制御プロトコルに基づいてメディア情報の送受信の手順を実行する。したがって、セッション制御プロトコルおよびメディアストリーム制御プロトコルを用いるアプリケーション開発においては、ファイル作成、ファイル削除、ファイルへの書き込み、およびファイルからの読み出しに関する一般的な知識があれば、アプリケーション開発を容易にすることができるようになる。   According to such a configuration, the media session termination device receives the file creation and file deletion instructions from the application, executes the session connection and disconnection procedure in the session control protocol, and sets the session connection and disconnection to the file. Manage as creation and deletion of. Also, the media session termination device receives an instruction to write data to the file and read data from the file from the application, and executes a procedure for transmitting and receiving media information based on the media control protocol. Therefore, in application development using the session control protocol and the media stream control protocol, application development can be facilitated if there is general knowledge about file creation, file deletion, file writing, and file reading. become able to.

本発明は、前記メディアセッション終端方法を、コンピュータとしてのメディアセッション終端装置に実行させるためのプログラムとした。
このようなプログラムをインストールされたコンピュータは、このプログラムに基づいた機能を実現することができる。
The present invention provides a program for causing a media session termination device as a computer to execute the media session termination method.
A computer in which such a program is installed can realize functions based on this program.

本発明によれば、セッション制御プロトコルおよびメディアストリーム制御プロトコルの双方の仕様に精通していなくても、アプリケーション開発を容易にするソフトウェアおよびハードウェアを提供することができる。   According to the present invention, it is possible to provide software and hardware that facilitates application development without being familiar with the specifications of both the session control protocol and the media stream control protocol.

メディアセッション終端手段を備えた装置の機能の概要を示す図である。It is a figure which shows the outline | summary of the function of the apparatus provided with the media session termination | terminus means. 自装置から接続要求する場合のシーケンス例を示す図である。It is a figure which shows the example of a sequence in the case of requesting a connection from an own apparatus. 相手装置から接続要求する場合のシーケンス例を示す図である。It is a figure which shows the example of a sequence in the case of requesting a connection from a partner apparatus. 自装置から切断要求する場合のシーケンス例を示す図である。It is a figure which shows the example of a sequence in the case of request | requiring a cutting | disconnection from an own apparatus. 相手装置から切断要求する場合のシーケンス例を示す図である。It is a figure which shows the example of a sequence in the case of requesting | disconnecting from the other party apparatus. メディアセッション終端手段の実装例を示す図である。It is a figure which shows the example of mounting of a media session termination | terminus means. ファイルセッションDBの一例を示す図である。It is a figure which shows an example of file session DB.

本発明を実施するための形態(以降「本実施形態」と称す。)について、適宜図面を参照しながら詳細に説明する。   A mode for carrying out the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings as appropriate.

(概要)
メディアセッション終端手段を備えた装置の機能の概要について、図1を用いて説明する。なお、メディアセッション終端手段30は、ソフトウェアで構成されても、ハードウェアで構成されても構わないが、まず、ソフトウェアで構成された場合について説明する。
(Overview)
The outline of the function of the device provided with the media session termination means will be described with reference to FIG. The media session termination means 30 may be configured by software or hardware, but first, a case where it is configured by software will be described.

装置40は、少なくとも、図示しないCPU(Central Processing Unit)と図示しないメインメモリとを含んで構成され、一般にOS(Operating System)と呼ばれるオペレーティングシステム20を起動している。オペレーティングシステム20は、メモリやディスクの管理、およびデータの入出力等のファイルシステム(ファイル管理)の機能を提供している。また、装置40は、オペレーティングシステム20上で、アプリケーション10やソフトウェアとしてのメディアセッション終端手段30を動作させている。つまり、アプリケーション10やメディアセッション終端手段30は、オペレーティングシステム20によって提供される機能を利用して動作する。   The apparatus 40 includes at least a CPU (Central Processing Unit) (not shown) and a main memory (not shown), and starts an operating system 20 generally called an OS (Operating System). The operating system 20 provides file system (file management) functions such as memory and disk management and data input / output. Further, the apparatus 40 operates the application 10 and the media session termination means 30 as software on the operating system 20. That is, the application 10 and the media session termination unit 30 operate using functions provided by the operating system 20.

装置40は、セッション制御ネットワーク50を介して、接続相手の装置40a(40)または装置41との間で、セッションを確立し、音声や映像等のメディアストリーム(以降、メディア情報またはデータとも称す。)を送受信する。セッション制御ネットワーク50には、セッション制御を行う図示しないセッション制御サーバ(例えば、SIPサーバ)が配置され、セッション制御サーバを介して装置40と装置40a,41との間のセッションを確立するといった呼制御が行われる。なお、図1には、各装置40,40a,41が1台ずつしか記載していないが、それぞれ2台以上であっても構わない。   The device 40 establishes a session with the connection partner device 40a (40) or device 41 via the session control network 50, and a media stream such as audio or video (hereinafter also referred to as media information or data). ). The session control network 50 is provided with a session control server (for example, a SIP server) (not shown) for performing session control, and call control for establishing a session between the device 40 and the devices 40a and 41 via the session control server. Is done. In FIG. 1, only one device 40, 40a, 41 is shown, but two or more devices may be used.

装置40において、アプリケーション10は、メディアセッション制御手段30に対して、セッションの接続または切断の指示や、メディアストリームの送受信の指示を行う。また、メディアセッション制御手段30は、アプリケーション10からの指示を受け付けて、セッション制御プロトコルおよびメディアストリーム制御プロトコル(メディア制御プロトコル)の双方に基づく制御を実行する。   In the device 40, the application 10 instructs the media session control unit 30 to connect or disconnect a session and to transmit / receive a media stream. Further, the media session control means 30 receives an instruction from the application 10 and executes control based on both the session control protocol and the media stream control protocol (media control protocol).

なお、装置41は、セッション制御プロトコルおよびメディアストリーム制御プロトコル(メディア制御プロトコル)の双方に基づく制御を実行する手段を備えていれば、メディアセッション終端手段30を備えていなくても構わない。
また、図1では、セッション制御の信号およびメディアストリームの信号の両方ともが、一つのセッション制御ネットワーク50を流れるものとして記載しているが、それぞれの信号が別々のネットワークに流れるようなネットワーク構成としても構わない。
The device 41 may not include the media session termination unit 30 as long as the device 41 includes a unit that executes control based on both the session control protocol and the media stream control protocol (media control protocol).
In FIG. 1, both the session control signal and the media stream signal are described as flowing through one session control network 50, but the network configuration is such that each signal flows through a separate network. It doesn't matter.

メディアセッション終端手段30は、オペレーティングシステム20を介して、アプリケーション10から指示される、ファイルの作成のためのファイル作成手段31、ファイルの削除のためのファイル削除手段32、ファイルにデータを書き込むための書き込み手段33、およびファイルからデータを読み出すための読み出し手段34のいずれかの動作を行う。メディアセッション終端手段30によって操作されるファイルは、記憶部60に記憶される。記憶部60は、RAM(Random Access Memory)であっても、HDD(Hard Disc)であっても構わない。   The media session termination unit 30 is a file creation unit 31 for creating a file, a file deletion unit 32 for deleting a file, and a data writing unit for writing data, which are instructed by the application 10 via the operating system 20. Either the writing unit 33 or the reading unit 34 for reading data from the file is performed. The file operated by the media session termination unit 30 is stored in the storage unit 60. The storage unit 60 may be a RAM (Random Access Memory) or an HDD (Hard Disc).

また、メディアセッション終端手段30は、セッション制御プロトコルの処理を行うセッション制御手段35、およびメディアストリーム制御プロトコルの処理を行うメディアストリーム制御手段36を備える。セッション制御手段35は、ファイル作成手段31に対応して装置40と接続相手の装置40a,41との間にセッションを接続する接続手段351の動作を連動させ、ファイル削除手段32に対応して装置40と接続相手の装置40a,41との間のセッションを切断する切断手段352の動作を連動させる。また、メディアストリーム制御手段36は、書き込み手段33に対応して装置40から接続相手の装置40a,41へメディア情報を送信することを示す送信手段363の動作を連動させ、読み出し手段34に対応して接続相手の装置40a,41から装置40がメディア情報を受信することを示す受信手段364の動作を連動させる。   The media session termination unit 30 includes a session control unit 35 that performs a session control protocol process, and a media stream control unit 36 that performs a media stream control protocol process. The session control unit 35 links the operation of the connection unit 351 that connects the session between the device 40 and the connection partner devices 40 a and 41 corresponding to the file creation unit 31, and corresponds to the file deletion unit 32. The operation of the disconnecting means 352 for disconnecting the session between the device 40 and the devices 40a and 41 of the connection partner is linked. Further, the media stream control unit 36 corresponds to the reading unit 34 by linking the operation of the transmission unit 363 indicating that the media information is transmitted from the device 40 to the connected devices 40 a and 41 corresponding to the writing unit 33. Thus, the operation of the receiving means 364 indicating that the device 40 receives media information from the connection partner devices 40a and 41 is linked.

セッション管理手段37は、接続したセッションごとに、その状態を、セッション371,・・,セッション372として保持し管理する。また、セッション管理手段37は、ファイル作成手段31またはファイル削除手段32によって生成または削除されたファイル、および書き込み手段33または読み出し手段34によってファイルに読み書きされるデータが格納されるメモリ位置、について管理する。なお、メモリ位置とは、記憶部60におけるメモリアドレスのことである。そして、セッション管理手段37は、図7に示すように、接続されたセッションを識別するセッションIDと、ファイル名(生成されたファイルの名前)と、データの格納されているメモリ位置とを関連付けて、ファイルセッションDB(データベース)701として記憶部60に記憶し管理する。すなわち、セッション管理手段37は、新たに接続されたセッションおよび生成されたファイルに対応してセッションIDおよびファイル名をファイルセッションDB701に追加し、新たに切断されたセッションおよび削除されたファイルに対応してセッションIDおよびファイル名をファイルセッションDB701から削除する。   The session management unit 37 holds and manages the state of each connected session as a session 371,. In addition, the session management unit 37 manages a file generated or deleted by the file creation unit 31 or the file deletion unit 32 and a memory location where data read / written by the writing unit 33 or the reading unit 34 is stored. . The memory location is a memory address in the storage unit 60. Then, as shown in FIG. 7, the session management unit 37 associates the session ID for identifying the connected session, the file name (name of the generated file), and the memory location where the data is stored. The file session DB (database) 701 is stored in the storage unit 60 and managed. That is, the session management unit 37 adds a session ID and a file name to the file session DB 701 corresponding to the newly connected session and the generated file, and corresponds to the newly disconnected session and the deleted file. The session ID and file name are deleted from the file session DB 701.

また、セッション管理手段37は、アプリケーション10からファイル名の一覧についての問い合わせを受け付けて、ファイルセッションDB701を参照し、ファイルセッションDB701に格納されているファイル名を返信する。すなわち、返信したファイル名に関連付けられているセッションが、接続中のセッションに対応する。
また、セッション管理手段37は、アプリケーション10からファイル名を指定して読み出し手段34の指示を受け付けて、ファイルセッションDB701を参照し、当該ファイル名に関連付けられたメモリ位置を返信する。これにより、アプリケーション10は、メモリ位置に基づいて、接続相手の装置40a,41から受信したメディア情報を取得することができる。
Further, the session management unit 37 receives an inquiry about a list of file names from the application 10, refers to the file session DB 701, and returns the file names stored in the file session DB 701. That is, the session associated with the returned file name corresponds to the currently connected session.
In addition, the session management unit 37 specifies a file name from the application 10 and receives an instruction from the reading unit 34, refers to the file session DB 701, and returns a memory location associated with the file name. Thereby, the application 10 can acquire the media information received from the devices 40a and 41 of the connection partner based on the memory location.

なお、メディアセッション終端手段30における処理をハードウェアで実現する場合には、図1に示す、ファイル作成手段31、ファイル削除手段32、書き込み手段33、読み出し手段34、セッション制御手段35、メディアストリーム制御手段36、およびセッション管理手段37が、図示しないCPUにおいて演算を実行する処理部となる。また、図1に示す各セッション371,372、図7に示すファイルセッションDB701、およびファイルとそのファイルに入出力されるデータが記憶部60に記憶される。   When the processing in the media session termination unit 30 is realized by hardware, the file creation unit 31, the file deletion unit 32, the writing unit 33, the reading unit 34, the session control unit 35, and the media stream control shown in FIG. The means 36 and the session management means 37 serve as a processing unit that executes calculations in a CPU (not shown). Further, the sessions 371 and 372 shown in FIG. 1, the file session DB 701 shown in FIG. 7, and the file and data input to and output from the file are stored in the storage unit 60.

次に、メディアセッション終端手段30の動作の概要について、図1を用いて説明する。
本実施形態では、メディアセッション終端手段30は、セッション制御プロトコルにおけるセッションの接続および切断の指示と、メディアストリーム制御プロトコルにおけるメディアストリームの送信および受信の指示とを、オペレーティングシステム20が備えるファイルシステム上のファイルへの操作指示に置き換えたインタフェースを提供するものである。したがって、一般的なファイル操作の知識があれば、メディアセッション終端手段30は、アプリケーション10の作製を容易にすることができる。
具体的には、図1に示すように、ファイル作成手段31をセッションの接続手段351に対応付け、ファイル削除手段32をセッションの切断手段352に対応付け、ファイルに対する書き込み手段33をメディアストリームの送信手段363に対応付け、およびファイルに対する読み出し手段34をメディアストリームの受信手段364に対応付けている。
Next, an outline of the operation of the media session termination unit 30 will be described with reference to FIG.
In the present embodiment, the media session termination means 30 is on a file system provided in the operating system 20 with instructions for session connection and disconnection in the session control protocol and instructions for transmission and reception of media streams in the media stream control protocol. It provides an interface that has been replaced with file operation instructions. Therefore, if there is knowledge of general file operations, the media session termination unit 30 can facilitate the creation of the application 10.
Specifically, as shown in FIG. 1, the file creation means 31 is associated with the session connection means 351, the file deletion means 32 is associated with the session disconnection means 352, and the file writing means 33 is transmitted to the media stream. Corresponding to the means 363 and reading means 34 for the file are associated with the media stream receiving means 364.

なお、装置40と装置40a,41との間でセッションを接続する場合、装置40から接続を開始する場合と、接続相手の装置40a,41から接続を開始する場合の、2つのケースがある。同様に、セッションの切断の場合にも、装置40から切断を開始する場合と、接続相手の装置40a,41から切断を開始する場合の、2つのケースがある。
そこで、まず、装置40のアプリケーション10が、メディアセッション終端手段30を用いて接続または切断を開始する場合について説明する。
装置40のアプリケーション10は、ファイル作成手段31を実行させ、セッションの接続要求を接続相手の装置40a,41に送信する。また、装置40のアプリケーション10は、メディアセッション終端手段30を用いて切断を開始する場合は、ファイル削除手段32を実行させ、セッションの切断要求を接続相手の装置40a,41に送信する。
There are two cases in which a session is connected between the device 40 and the devices 40a and 41, a connection is started from the device 40, and a connection is started from the connection partner devices 40a and 41. Similarly, in the case of session disconnection, there are two cases: a case where the disconnection is started from the device 40 and a case where the disconnection is started from the connection partner devices 40a and 41.
First, a case where the application 10 of the apparatus 40 starts connection or disconnection using the media session termination unit 30 will be described.
The application 10 of the device 40 causes the file creation means 31 to execute, and transmits a session connection request to the devices 40a and 41 of the connection partner. In addition, when the application 10 of the device 40 starts the disconnection using the media session termination unit 30, the application 10 causes the file deletion unit 32 to be executed, and transmits a session disconnection request to the connection partner devices 40 a and 41.

次に、装置40のアプリケーション10が、接続相手の装置40a,41からセッションの接続要求が送られてくることを待っている場合は、メディアセッション終端手段30のセッション制御手段35が接続要求を受信して、ファイル作成手段31の実行に基づいてファイルシステム上にファイルが作成されるので、接続要求を受信したことを認識できる。また、装置40のアプリケーション10が、接続相手の装置40a,41からセッションの切断要求が送られてくることを待っている場合は、メディアセッション終端手段30のセッション制御手段35が切断要求を受信して、ファイル削除手段32の実行に基づいてファイルシステム上のファイルが自動的に削除されるので、切断要求を受信したことを認識できる。   Next, when the application 10 of the device 40 is waiting for a session connection request sent from the connection partner devices 40a and 41, the session control unit 35 of the media session termination unit 30 receives the connection request. Since the file is created on the file system based on the execution of the file creation means 31, it can be recognized that the connection request has been received. When the application 10 of the device 40 is waiting for a session disconnection request from the connection partner devices 40a and 41, the session control unit 35 of the media session termination unit 30 receives the disconnection request. Since the file on the file system is automatically deleted based on the execution of the file deletion means 32, it can be recognized that the disconnect request has been received.

メディアストリームの送信については、装置40のアプリケーション10が、ファイルへの書き込み手段33の実行に基づいてメディアストリームを接続相手の装置40a,41へ送信する。また、メディアストリームの受信については、装置40のアプリケーション10が、ファイルからの読み出し手段34の実行に基づいて接続相手の装置40a,41から受信したメディアストリームを取得する。   Regarding the transmission of the media stream, the application 10 of the device 40 transmits the media stream to the devices 40a and 41 of the connection partner based on the execution of the file writing means 33. As for the reception of the media stream, the application 10 of the device 40 acquires the media stream received from the devices 40a and 41 of the connection partner based on the execution of the reading means 34 from the file.

前記したように、メディアストリーム終端手段30を用いてアプリケーション10を開発する場合、メディアストリーム終端手段30に備わっている、ファイル作成手段31、ファイル削除手段32、書き込み手段33、および読み出し手段34といったファイルシステム上のファイルへの一般的な操作についての知識があれば、アプリケーション10の開発を容易に行うことができる。   As described above, when the application 10 is developed using the media stream termination unit 30, files such as the file creation unit 31, the file deletion unit 32, the writing unit 33, and the reading unit 34 included in the media stream termination unit 30. If there is knowledge of general operations on files on the system, the application 10 can be easily developed.

(メディアセッション終端手段における処理の流れ)
次に、メディアセッション終端手段30における処理の流れについて、図1を用いて説明する。なお、具体例として、UNIX(登録商標)で用いられるコマンドについても記載する。
(Processing flow in media session termination means)
Next, the flow of processing in the media session termination unit 30 will be described with reference to FIG. As a specific example, a command used in UNIX (registered trademark) is also described.

アプリケーション10がオペレーティングシステム20に対しファイルを作成する命令(openシステムコール等)やコマンドを実行すると、メディアセッション終端手段30のファイル作成手段31が実行される。ファイル作成手段31は、例えば、接続相手の装置40a,41の識別子(SIPにおけるSIP URI(Uniform Resource Identifier)等)をファイル名としたファイルを生成する。また、ファイル作成手段31の実行に基づいて、セッション制御手段35の接続手段351は、接続相手の装置40a,41の識別子を接続先として、セッション接続の要求(SIPにおけるINVITE等)を送出し、セッション接続シーケンスを開始する。このセッション接続シーケンスの詳細については後記する。   When the application 10 executes an instruction (open system call or the like) or a command for creating a file to the operating system 20, the file creation means 31 of the media session termination means 30 is executed. For example, the file creation unit 31 generates a file having the file name of the identifier (eg, SIP URI (Uniform Resource Identifier) in SIP) of the connection partner devices 40a and 41. Further, based on the execution of the file creation unit 31, the connection unit 351 of the session control unit 35 sends a session connection request (INVITE in SIP, etc.) using the identifiers of the devices 40a and 41 of the connection partner as the connection destination. Start the session connection sequence. Details of the session connection sequence will be described later.

セッションが接続(確立)されると、メディアセッション終端手段30のセッション管理手段37は、この接続したセッションの状態を、例えば、接続相手の装置40a,41の識別子によって識別可能なセッション371として保持する。
つまり、セッション管理手段37は、ファイルシステム上に生成したファイルと、接続したセッション371とを、接続相手の装置40a,41の識別子によって関連付けて扱うことができる。
When the session is connected (established), the session management unit 37 of the media session termination unit 30 holds the state of the connected session, for example, as a session 371 that can be identified by the identifiers of the devices 40a and 41 of the connection partner. .
That is, the session management unit 37 can handle the file generated on the file system and the connected session 371 in association with the identifiers of the devices 40a and 41 of the connection partner.

そして、アプリケーション10がファイルの一覧について問い合わせた場合(例えば、ファイルの一覧の取得要求等)、セッション管理手段37は、ファイル名として、接続相手の装置40a,41の識別子を返信する。
なお、接続相手の装置40a,41の識別子は、ディレクトリあるいはフォルダ等のパス名を含むものとする。この理由は、1つのセッションにおいて音声と映像のような複数のメディアストリームを含むような場合、同じディレクトリの配下に各メディアストリームを識別するファイルがそれぞれ配置される形態を含むためである。
When the application 10 inquires about the file list (for example, a file list acquisition request), the session management unit 37 returns the identifiers of the devices 40a and 41 of the connection partner as the file names.
Note that the identifiers of the devices 40a and 41 of the connection partner include path names such as directories or folders. This is because when a plurality of media streams such as audio and video are included in one session, a file for identifying each media stream is included under the same directory.

また、アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定して、ファイルを削除する命令(closeシステムコール等)やコマンドを実行すると、メディアセッション終端手段30のファイル削除手段32が実行される。ファイル削除手段32は、指定されたファイル名のファイルを削除する。また、ファイル削除手段32の実行に基づいて、セッション制御手段35の切断手段352は、セッション切断の要求(SIPにおけるBYE等)を送出し、セッション切断シーケンスを開始する。このセッション切断シーケンスの詳細については後記する。   Further, when the application 10 executes a command (such as a close system call) or a command for deleting a file by specifying a file name to the operating system 20, the file deletion unit 32 of the media session termination unit 30 is executed. . The file deletion unit 32 deletes the file with the specified file name. Further, based on the execution of the file deletion unit 32, the disconnection unit 352 of the session control unit 35 sends a session disconnection request (such as BYE in SIP) and starts a session disconnection sequence. Details of the session disconnection sequence will be described later.

次に、メディアセッション終端手段30における、書き込み手段33および読み出し手段34について説明する。
まず、書き込み手段33について説明する。アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定してデータの書き込みを行う命令(writeシステムコール等)やコマンドを実行すると、オペレーティングシステム20は、メディアセッション終端手段30の書き込み手段33に対して、書き込むべきデータを送信する。そして、書き込み手段33は、メディアストリーム制御手段36の送信手段363を用いて、受信したデータをメディア情報として、ファイル名に関連付けられたセッションの接続先に送出する。
Next, the writing unit 33 and the reading unit 34 in the media session termination unit 30 will be described.
First, the writing means 33 will be described. When the application 10 executes an instruction (such as a write system call) or a command for writing data by specifying a file name to the operating system 20, the operating system 20 Send the data to be written. Then, the writing unit 33 uses the transmission unit 363 of the media stream control unit 36 to send the received data as media information to the connection destination of the session associated with the file name.

次に、読み出し手段34について説明する。アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定してデータの読み出しを行う命令(readシステムコール等)やコマンドを実行すると、オペレーティングシステム20は、メディアセッション終端手段30の読み出し手段34に対して、受信したメディア情報を格納しているメモリ上のアドレス(メモリ位置)を要求する。読み出し手段34は、メモリ上のアドレスを、オペレーティングシステム20を介して返信する。これにより、アプリケーション10は、接続相手の装置40a,41から受信したメディア情報を取得することができる。   Next, the reading unit 34 will be described. When the application 10 executes an instruction (read system call or the like) or a command for reading data by designating a file name to the operating system 20, the operating system 20 reads the reading means 34 of the media session termination means 30. Requesting an address (memory location) on the memory storing the received media information. The reading unit 34 returns the address on the memory via the operating system 20. Thereby, the application 10 can acquire the media information received from the devices 40a and 41 of the connection partner.

なお、ファイルに対して読み書きするデータは、元のデータを圧縮したデータ形式であっても、圧縮していないデータ形式であっても構わない。圧縮したデータ形式を用いる場合、メディアストリーム制御手段36がセッション制御ネットワーク50から受信したデータのデータ形式を、アプリケーション10の扱うデータのデータ形式に変換する機能を備えていても良い。そして、データ形式の変換を行う指定およびデータ形式の種類については、ファイルシステムをマウントする時に、オプション等で指定する。   Note that the data to be read from and written to the file may be in a data format in which the original data is compressed or in an uncompressed data format. When the compressed data format is used, the media stream control unit 36 may have a function of converting the data format of the data received from the session control network 50 into the data format of the data handled by the application 10. The specification for data format conversion and the type of data format are specified by an option or the like when the file system is mounted.

前記したように、アプリケーション10は、ファイルシステムにおけるファイル作成、ファイル削除、ファイルへの書き込み、ファイルからの読み出し、といったファイル操作に関する命令やコマンドを扱うだけで、接続相手の装置40a,41とのセッション制御およびメディアストリーム制御を行うことができる。   As described above, the application 10 only handles commands and commands related to file operations such as file creation, file deletion, file write, and file read in the file system, and the session with the connection partner devices 40a and 41 is performed. Control and media stream control can be performed.

なお、アプリケーション10は、オペレーティングシステム20を介して、各セッション371,372をファイルとして認識できるので、プログラムとしてではなく、コマンドライン上で実行されるスクリプトであっても構わない。
例えば、UNIX(登録商標)において、シェル(コマンド入力を受けて対話的に出力を行うインタフェースプログラム)を用いて、セッション371に対応するファイルから読み出したメディアストリームの音声データを音声デバイスに書き込んで音声の再生を行うことができる。具体的には、“tail -f /sipfs/sip:alice@atlanta.com > /dev/audio”というシェルで記述される。ここで、“tail -f”コマンドは、セッション371(ファイルのパス名を“/sipfs/sip:alice@atlanta.com”としている)から連続して読み出しを行うものである。そして、シェルのリダイレクト機能“>”によって、音声デバイス“/dev/audio”に読み出した音声データを出力する。ただし、前記したコマンドラインのスクリプトは、スクリプトの想定される一例であって、このコマンドに限定されるものではない。
The application 10 can recognize each session 371, 372 as a file via the operating system 20, and therefore may be a script executed on the command line instead of as a program.
For example, in UNIX (registered trademark), audio data of a media stream read from a file corresponding to the session 371 is written to an audio device using a shell (an interface program that receives a command input and interactively outputs it). Can be played. Specifically, it is described by a shell “tail -f /sipfs/sip:alice@atlanta.com> / dev / audio”. Here, the “tail -f” command continuously reads from the session 371 (the file path name is “/sipfs/sip:alice@atlanta.com”). The read audio data is output to the audio device “/ dev / audio” by the shell redirection function “>”. However, the above-described command line script is an example of a script that is assumed, and is not limited to this command.

次に、セッション接続シーケンスおよびセッション切断シーケンスの詳細例について、図2〜4を用いて説明する。   Next, detailed examples of the session connection sequence and the session disconnection sequence will be described with reference to FIGS.

(セッションの接続要求)
装置40と接続相手の装置40a,41との間でセッションを確立する場合において、装置40(自装置)からセッションの接続要求を行う場合のシーケンス例について、図2を用いて説明する(適宜、図1参照)。なお、図2では、オペレーティングシステム20の記載を省略している。
(Session connection request)
A sequence example in the case where a session connection request is made from the device 40 (self device) when a session is established between the device 40 and the connection partner devices 40a and 41 will be described with reference to FIG. (See FIG. 1). In FIG. 2, the description of the operating system 20 is omitted.

装置40のアプリケーション10が出したファイル作成の指示は、メディアセッション終端手段30に伝えられる(ステップS201)。このステップS201によって、ファイル作成手段31がファイルを作成する。   The file creation instruction issued by the application 10 of the device 40 is transmitted to the media session termination means 30 (step S201). By this step S201, the file creation means 31 creates a file.

そして、ファイル作成手段31の実行に基づいて、メディアセッション終端手段30のセッション制御手段35が、SIPのINVITEリクエストを装置40a,41へ送信する(ステップS202)。ステップS202以降では、メディアセッション終端手段30のセッション制御手段35と装置40a,41との間で、ステップS203〜S209までのセッション接続処理が実行される。具体的には、セッション制御手段35の接続手段351と接続相手の装置40a,41とは、セッション制御ネットワーク50を介して、SIPのINVITEリクエスト、100レスポンス、200レスポンス、およびACKリクエストを決まった手順で送受信して、セッションを確立する。セッション確立後、メディアストリームの送受信が開始される(ステップS210)。   Then, based on the execution of the file creation means 31, the session control means 35 of the media session termination means 30 transmits a SIP INVITE request to the devices 40a and 41 (step S202). After step S202, session connection processing from step S203 to step S209 is executed between the session control unit 35 of the media session termination unit 30 and the devices 40a and 41. Specifically, the connection means 351 of the session control means 35 and the devices 40a and 41 of the connection partner determine the SIP INVITE request, 100 response, 200 response, and ACK request via the session control network 50. To establish a session. After the session is established, transmission / reception of the media stream is started (step S210).

次に、装置40a,41(相手装置)からセッションの接続要求が行われた場合のシーケンス例について、図3を用いて説明する(適宜、図1参照)。なお、図3では、オペレーティングシステム20の記載を省略している。   Next, a sequence example when a session connection request is made from the devices 40a and 41 (the partner device) will be described with reference to FIG. 3 (see FIG. 1 as appropriate). In FIG. 3, the description of the operating system 20 is omitted.

まず、装置40a,41が、装置40を接続相手として、SIPのINVITEリクエストを送信する(ステップS301)。ステップS301以降の、ステップS302〜S308では、装置40a,41と装置40のメディアセッション終端手段30のセッション制御手段35とは、INVITEリクエスト、100レスポンス、200レスポンス、およびACKリクエストを決まった手順で送受信して、セッションを確立する。セッション確立後、メディアストリームの送受信が開始される(ステップS309)。   First, the devices 40a and 41 transmit a SIP INVITE request using the device 40 as a connection partner (step S301). In steps S302 to S308 after step S301, the devices 40a and 41 and the session control unit 35 of the media session termination unit 30 of the device 40 transmit and receive INVITE requests, 100 responses, 200 responses, and ACK requests in a predetermined procedure. To establish a session. After the session is established, transmission / reception of the media stream is started (step S309).

なお、装置40のセッション制御手段35がACKを受信する(ステップS308)と、ファイル作成手段31がファイルを作成する。
ただし、アプリケーション10がファイル作成の要求を送信したわけではないので、アプリケーション10は、セッションが確立したか否かを知るために、ファイルが作成されたか否かを確認する必要がある。そこで、ファイルが作成されていることを確認するために、オペレーティングシステム20に用意された命令またはコマンドが使われる。例えば、Linux(登録商標)のオペレーティングシステムの場合、inotifyという命令でファイルやディレクトリの状態を監視することができるので、ファイルシステム配下にファイルが作成されたことを認識することができる。
When the session control unit 35 of the device 40 receives ACK (step S308), the file creation unit 31 creates a file.
However, since the application 10 has not transmitted a file creation request, the application 10 needs to confirm whether or not a file has been created in order to know whether or not a session has been established. Therefore, an instruction or command prepared in the operating system 20 is used to confirm that the file has been created. For example, in the case of a Linux (registered trademark) operating system, the state of a file or directory can be monitored by an instruction “notify”, so that it is possible to recognize that a file has been created under the file system.

前記したように、アプリケーション10は、周期的に、ファイル一覧の要求をメディアセッション終端手段30に送信し(ステップS310)、ファイルが存在するか否かを確認する。メディアセッション終端手段30のセッション管理手段37は、記憶部60に記憶している各セッション371,372に関連付けられたファイル名を返信する(ステップS311)。そして、アプリケーション10は、前回受信したファイル一覧と今回受信したファイル一覧との相違を調べることによって、新しく作成されたファイル名を取得することができ、メディア情報の送受信をファイルの読み書きによって扱えるようになる。   As described above, the application 10 periodically transmits a file list request to the media session termination unit 30 (step S310), and checks whether or not the file exists. The session management unit 37 of the media session termination unit 30 returns the file names associated with the sessions 371 and 372 stored in the storage unit 60 (step S311). Then, the application 10 can acquire a newly created file name by examining the difference between the previously received file list and the currently received file list, and can handle transmission / reception of media information by reading and writing the file. Become.

(セッションの切断要求)
装置40と接続相手の装置40a,41との間でセッションを切断する場合において、装置40(自装置)からセッションの切断要求を行う場合のシーケンス例について、図4を用いて説明する(適宜、図1参照)。なお、図4では、オペレーティングシステム20の記載を省略している。
(Session disconnection request)
A sequence example when a session disconnection request is made from the device 40 (self device) when the session is disconnected between the device 40 and the connection partner devices 40a and 41 will be described with reference to FIG. (See FIG. 1). In FIG. 4, the description of the operating system 20 is omitted.

装置40と接続相手の装置40a,41との間で、メディアストリームの送受信が実行中の状態となっている(ステップS401)。この状態において、装置40のアプリケーション10が出したファイル削除の指示は、メディアセッション終端手段30に伝えられる(ステップS402)。このステップS402によって、ファイル削除手段32がファイルを削除する。   Media stream transmission / reception is being executed between the device 40 and the connected devices 40a and 41 (step S401). In this state, the file deletion instruction issued by the application 10 of the device 40 is transmitted to the media session termination unit 30 (step S402). By this step S402, the file deleting means 32 deletes the file.

そして、ファイル作成手段31の実行に基づいて、メディアセッション終端手段30のセッション制御手段35が、SIPのBYEリクエストを装置40a,41へ送信する(ステップS403)。ステップS403以降では、メディアセッション終端手段30のセッション制御手段35と装置40a,41との間で、ステップS404〜S406までのセッション接続処理が実行される。具体的には、セッション制御手段35の切断手段352と接続相手の装置40a,41とは、セッション制御ネットワーク50を介して、SIPのBYEリクエスト、および200レスポンスを決まった手順で送受信して、セッションを切断する。セッション切断後、メディアストリームの送受信が終了する(ステップS407)。   Then, based on the execution of the file creation means 31, the session control means 35 of the media session termination means 30 transmits a SIP BYE request to the devices 40a and 41 (step S403). After step S403, session connection processing from step S404 to S406 is executed between the session control means 35 of the media session termination means 30 and the devices 40a and 41. Specifically, the disconnection means 352 of the session control means 35 and the devices 40a and 41 of the connection partner send and receive SIP BYE requests and 200 responses via the session control network 50 according to a predetermined procedure, and session Disconnect. After the session is disconnected, the transmission / reception of the media stream ends (step S407).

次に、接続相手の装置40a,41(相手装置)からセッションの切断要求が行われた場合のシーケンス例について、図5を用いて説明する(適宜、図1参照)。なお、図5では、オペレーティングシステム20の記載を省略している。   Next, a sequence example when a session disconnection request is made from the connection partner devices 40a and 41 (partner device) will be described with reference to FIG. 5 (see FIG. 1 as appropriate). In FIG. 5, the description of the operating system 20 is omitted.

装置40と接続相手の装置40a,41との間で、メディアストリームの送受信が実行中の状態となっている(ステップS501)。この状態において、装置40a,41が、装置40に対して、SIPのBYEリクエストを送信する(ステップS502)。ステップS502以降の、ステップS503〜S505では、装置40a,41と装置40のメディアセッション終端手段30のセッション制御手段35とは、BYEリクエスト、および200レスポンスを決まった手順で送受信して、セッションを切断する。セッション切断後、メディアストリームの送受信が終了する(ステップS506)。   Media stream transmission / reception is being executed between the device 40 and the connected devices 40a and 41 (step S501). In this state, the devices 40a and 41 transmit a SIP BYE request to the device 40 (step S502). In steps S503 to S505 after step S502, the devices 40a and 41 and the session control unit 35 of the media session termination unit 30 of the device 40 transmit and receive a BYE request and a 200 response according to a predetermined procedure, and disconnect the session. To do. After the session is disconnected, the transmission / reception of the media stream ends (step S506).

なお、装置40のセッション制御手段35がBYEリクエストを受信する(ステップS503)と、ファイル削除手段32がファイルを削除する。
ただし、アプリケーション10がファイル削除の要求を送信したわけではないので、アプリケーション10は、セッションが切断したか否かを知るために、ファイルが削除されているか否かを確認する必要がある。そこで、前記したように、アプリケーション10は、周期的に、ファイル一覧の要求をメディアセッション終端手段30に送信し(ステップS507)、ファイルが存在するか否かを確認する。そして、メディアセッション終端手段30のセッション管理手段37は、記憶部60に記憶している各セッション371,372に関連付けられたファイル名を返信する(ステップS508)。そして、アプリケーション10は、前回受信したファイル一覧と今回受信したファイル一覧との相違を調べることによって、新しく削除されたファイル名を取得することができる。
Note that when the session control unit 35 of the apparatus 40 receives the BYE request (step S503), the file deletion unit 32 deletes the file.
However, since the application 10 has not transmitted a file deletion request, the application 10 needs to confirm whether or not the file has been deleted in order to know whether or not the session has been disconnected. Therefore, as described above, the application 10 periodically transmits a file list request to the media session termination unit 30 (step S507), and checks whether or not the file exists. Then, the session management unit 37 of the media session termination unit 30 returns the file names associated with the sessions 371 and 372 stored in the storage unit 60 (step S508). Then, the application 10 can acquire the newly deleted file name by examining the difference between the file list received last time and the file list received this time.

なお、アプリケーション10が、ファイルを開いた状態でファイルからデータを読み出している場合は、ファイルの末尾まで読み出しが行われたことを示すEOF(End of File)がオペレーティングシステム20を介して返信されることで、セッションの切断を認識することができる。   When the application 10 reads data from the file with the file opened, an EOF (End of File) indicating that the file has been read to the end of the file is returned via the operating system 20. Thus, the disconnection of the session can be recognized.

(実装例)
オペレーティングシステム20としてLinux(登録商標)を用いて、本実施形態のメディアセッション終端手段30を実装した場合の構成例について、図6を用いて説明する(適宜、図1参照)。
装置40における仮想アドレス空間は、カーネル空間とユーザ空間とに分けられる。カーネル空間には、複数のファイルシステムを動作させるための機構であるVFS(Virtual File System)21と、ユーザ空間で動作するファイルシステムを実行する機構であるFUSE(Filesystem in Userspace)22と、セッション制御ネットワーク50との信号のやり取りを行うNIC(Network Interface Card)23とが配置される。また、ユーザ空間には、アプリケーション10とメディアセッション終端手段30とが配置される。
(Implementation example)
A configuration example in which the media session termination unit 30 of this embodiment is implemented using Linux (registered trademark) as the operating system 20 will be described with reference to FIG. 6 (see FIG. 1 as appropriate).
The virtual address space in the device 40 is divided into a kernel space and a user space. The kernel space includes a VFS (Virtual File System) 21 that is a mechanism for operating a plurality of file systems, a FUSE (File system in Userspace) 22 that is a mechanism for executing a file system that operates in a user space, and session control. A NIC (Network Interface Card) 23 for exchanging signals with the network 50 is arranged. In the user space, an application 10 and media session termination means 30 are arranged.

FUSE22は、ファイルシステムやカーネルについての知識がなくても、ユーザ空間におけるファイルシステムプログラムを容易に開発できるように提供されている公知のソフトウェアである。このFUSE22を用いて、ユーザ空間上でメディアセッション終端手段30におけるファイル操作を実現する。   The FUSE 22 is well-known software provided so that a file system program in the user space can be easily developed without knowledge of the file system and the kernel. Using this FUSE 22, the file operation in the media session termination means 30 is realized in the user space.

アプリケーション10から出力される命令やコマンドは、VFS21およびFUSE22を介して、メディアセッション終端手段30に伝えられる。また、メディアセッション終端手段30は、NIC23を介して接続相手の装置40a,41との間で、セッション制御プロトコルおよびメディアストリーム制御プロトコルに基づいて、セッションを確立し、メディア情報の送受信を行う。
なお、カーネルについての知識がある場合、FUSE22を介さずに直接VFS21を用いてファイルシステムを構成しても構わない。
Commands and commands output from the application 10 are transmitted to the media session termination unit 30 via the VFS 21 and the FUSE 22. Further, the media session termination unit 30 establishes a session and transmits / receives media information to / from the connection partner devices 40a and 41 via the NIC 23 based on the session control protocol and the media stream control protocol.
If there is knowledge about the kernel, the file system may be configured using the VFS 21 directly without using the FUSE 22.

以上、本実施形態で説明したメディアセッション終端手段30は、セッション制御プロトコルにおけるセッション制御と、メディアストリーム制御プロトコルにおけるメディアストリームの制御とを、オペレーティングシステム20が備えるファイルシステム上のファイルへの操作指示に置き換えたインタフェースを提供するものである。したがって、ファイル操作についての一般的な知識があれば、アプリケーション10の作製を容易に行うことができる。   As described above, the media session termination unit 30 described in the present embodiment performs session control in the session control protocol and media stream control in the media stream control protocol as an operation instruction to a file on the file system included in the operating system 20. It provides a replacement interface. Therefore, if there is general knowledge about the file operation, the application 10 can be easily produced.

なお、図3に示すステップS311では、セッション管理手段37が、ファイル名の一覧を返信するものとして説明した。これに対して、セッション管理手段37が、前回返信したファイル名の一覧を記憶しておき、アプリケーション10からファイル一覧の要求を受信したときに、前回返信したファイル名の一覧と相違するファイル名とその状態(新規に作成されたこと)を返信するようにしても構わない。   In step S311 shown in FIG. 3, the session management unit 37 has been described as returning a list of file names. On the other hand, the session management unit 37 stores a list of file names sent back last time, and when receiving a file list request from the application 10, a file name different from the file name list sent back last time The state (newly created) may be returned.

また、図5に示すステップS508では、セッション管理手段37が、ファイル名の一覧を返信するものとして説明した。これに対して、セッション管理手段37が、前回返信したファイル名の一覧を記憶しておき、アプリケーション10からファイル一覧の要求を受信したときに、前回返信したファイル名の一覧と相違するファイル名とその状態(削除されたこと)を返信するようにしても構わない。また、アプリケーション10が、ファイル名を指定して、ファイルが存在するか否かを検索するようにしても構わない。   In step S508 shown in FIG. 5, the session management unit 37 has been described as returning a list of file names. On the other hand, the session management unit 37 stores a list of file names sent back last time, and when receiving a file list request from the application 10, a file name different from the file name list sent back last time The state (deleted) may be returned. Further, the application 10 may specify a file name and search for whether or not the file exists.

また、図1に示す端末40a,41は、セッション制御プロトコルとメディアストリーム制御プロトコルを終端することのできるIP電話機や計算機等の装置であり、メディアセッション終端手段30を用いていても用いていなくても構わない。   The terminals 40a and 41 shown in FIG. 1 are devices such as an IP telephone and a computer that can terminate the session control protocol and the media stream control protocol, and are not used even if the media session termination means 30 is used. It doesn't matter.

また、本実施形態では、オペレーティングシステムとして、UNIX(登録商標)やLinux(登録商標)の場合を例示したが、これに限られることは無く、ファイルシステムを備えているものであれば、他のオペレーティングシステムであっても構わない。   In this embodiment, the case of UNIX (registered trademark) or Linux (registered trademark) is exemplified as the operating system. However, the present invention is not limited to this, and any other system having a file system may be used. It may be an operating system.

10 アプリケーション
20 オペレーティングシステム
30 メディアセッション終端手段
31 ファイル作成手段
32 ファイル削除手段
33 書き込み手段
34 読み出し手段
35 セッション制御手段
36 メディアストリーム制御手段
37 セッション管理手段
40,40a,41 装置
50 セッション制御ネットワーク
60 記憶部
371,372 セッション
701 ファイルセッションDB
DESCRIPTION OF SYMBOLS 10 Application 20 Operating system 30 Media session termination means 31 File creation means 32 File deletion means 33 Write means 34 Read means 35 Session control means 36 Media stream control means 37 Session management means 40, 40a, 41 Apparatus 50 Session control network 60 Storage part 371, 372 Session 701 File Session DB

Claims (9)

ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端するメディアセッション終端装置において用いられるメディアセッション終端方法であって、
前記メディアセッション終端装置は、
前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続するステップと、
接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、記憶部に記憶するステップと、
前記アプリケーションから前記ファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断するステップと、
前記記憶部から、切断された前記セッションに関連付けられたファイルのファイル名を削除するステップと、
を実行することを特徴とするメディアセッション終端方法。
Connected to a session control network that forms a file system, performs session control, is provided in a device that transmits and receives media information on a session based on an application, and is used in a media session termination device that terminates session control based on a session control protocol A media session termination method, comprising:
The media session termination device is:
Receiving an instruction to perform file creation from the application, generating a file, and connecting a session based on the session control protocol;
Associating the connected session with the file name of the generated file and storing it in a storage unit;
Receives an instruction to execute file deletion by specifying the file name from the application, deletes the file of the specified file name, and disconnects the session associated with the file name based on the session control protocol And steps to
Deleting the file name of the file associated with the disconnected session from the storage unit;
A method for terminating a media session, comprising:
前記メディアセッション終端装置は、
前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション接続の要求を受信するステップと、
前記セッション接続の要求を受信して、前記セッション制御プロトコルに基づいてセッションを接続し、ファイルを生成するステップと、
接続された前記セッションに関連付けて前記生成したファイルのファイル名を前記記憶部に記憶するステップと、
前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前記記憶部に記憶されているファイル名を返信するステップと、
を実行することを特徴とする請求項1に記載のメディアセッション終端方法。
The media session termination device is:
Receiving a session connection request based on the session control protocol from a connection partner device connected via the session control network;
Receiving the session connection request, connecting a session based on the session control protocol, and generating a file;
Storing the file name of the generated file in association with the connected session in the storage unit;
When receiving an instruction to request a list of file names from the application, returning a file name stored in the storage unit;
The media session termination method according to claim 1, wherein:
前記メディアセッション終端装置は、
前記アプリケーションから受信したファイル名の一覧を要求する指示に応じて返信したファイル名を記憶している前記記憶部を備え、
前記メディアセッション終端装置は、
前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション接続の要求を受信するステップと、
前記セッション接続の要求を受信して、前記セッション制御プロトコルに基づいてセッションを接続し、ファイルを生成するステップと、
接続された前記セッションに関連付けて前記生成したファイルのファイル名を前記記憶部に記憶するステップと、
前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前回一覧を要求する指示を受信したときに返信したファイル名と、今回一覧を要求する指示を受信したときに記憶しているファイル名との相違を返信するステップと、
を実行することを特徴とする請求項1に記載のメディアセッション終端方法。
The media session termination device is:
The storage unit storing a file name returned in response to an instruction to request a list of file names received from the application;
The media session termination device is:
Receiving a session connection request based on the session control protocol from a connection partner device connected via the session control network;
Receiving the session connection request, connecting a session based on the session control protocol, and generating a file;
Storing the file name of the generated file in association with the connected session in the storage unit;
When receiving an instruction requesting a list of file names from the application, a file name returned when receiving an instruction requesting a previous list, and a file stored when receiving an instruction requesting a current list Returning the difference from the name,
The media session termination method according to claim 1, wherein:
前記メディアセッション終端装置は、
前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション切断の要求を受信するステップと、
前記セッション切断の要求を受信して、前記セッション制御プロトコルに基づいてセッションを切断し、ファイル削除するステップと、
前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、
前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前記記憶部に記憶されているファイル名を返信するステップと、
を実行することを特徴とする請求項1に記載のメディアセッション終端方法。
The media session termination device is:
Receiving a session disconnection request based on the session control protocol from a connected device connected via the session control network;
Receiving the session disconnection request, disconnecting the session based on the session control protocol, and deleting the file;
Deleting a file name associated with the disconnected session from the storage unit;
When receiving an instruction to request a list of file names from the application, returning a file name stored in the storage unit;
The media session termination method according to claim 1, wherein:
前記メディアセッション終端装置は、
前記アプリケーションから受信したファイル名の一覧を要求する指示に応じて返信したファイル名を記憶している前記記憶部を備え、
前記メディアセッション終端装置は、
前記セッション制御ネットワークを介して接続している接続相手の装置から、前記セッション制御プロトコルに基づくセッション切断の要求を受信するステップと、
前記セッション切断の要求を受信して、前記セッション制御プロトコルに基づいてセッションを切断し、ファイルを削除するステップと、
前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、
前記アプリケーションから、ファイル名の一覧を要求する指示を受信したとき、前回一覧を要求する指示を受信したときに返信したファイル名と、今回一覧を要求する指示を受信したときに記憶しているファイル名との相違を返信するステップと、
を実行することを特徴とする請求項1に記載のメディアセッション終端方法。
The media session termination device is:
The storage unit storing a file name returned in response to an instruction to request a list of file names received from the application;
The media session termination device is:
Receiving a session disconnection request based on the session control protocol from a connected device connected via the session control network;
Receiving the session disconnection request, disconnecting the session based on the session control protocol, and deleting the file;
Deleting a file name associated with the disconnected session from the storage unit;
When receiving an instruction requesting a list of file names from the application, a file name returned when receiving an instruction requesting a previous list, and a file stored when receiving an instruction requesting a current list Returning the difference from the name,
The media session termination method according to claim 1, wherein:
ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端すると共に、メディア制御プロトコルによる、接続されたセッション上で送受信されるメディア情報の制御を終端するメディアセッション終端装置において用いられるメディアセッション終端方法であって、
前記メディアセッション終端装置は、
接続された前記セッションと、前記ファイルシステム上のファイルのファイル名と、前記ファイルに読み書きされる前記メディア情報を格納しているメモリ位置と、を関連付けて記憶する記憶部を備え、
前記メディアセッション終端装置は、
前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続するステップと、
接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、前記記憶部に記憶するステップと、
前記アプリケーションから、ファイルにメディア情報の書き込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を送信するステップと、
前記アプリケーションから、指定されたファイル名のファイルからメディア情報の読み込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を受信し、前記記憶部を参照して、指定された当該ファイル名に関連付けられたメモリ位置を取得して、当該メモリ位置を前記アプリケーションに返信するステップと、
前記アプリケーションからファイル名を指定してファイル削除を実行する指示を受信して、指示された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断するステップと、
前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除するステップと、
を実行することを特徴とするメディアセッション終端方法。
It is provided in a device that forms a file system, connects to a session control network that performs session control, and transmits and receives media information on a session based on an application, terminates session control based on the session control protocol, and is based on the media control protocol A media session termination method used in a media session termination device for terminating control of media information transmitted / received on a connected session,
The media session termination device is:
A storage unit that associates and stores the connected session, a file name of a file on the file system, and a memory location that stores the media information that is read and written to the file;
The media session termination device is:
Receiving an instruction to perform file creation from the application, generating a file, and connecting a session based on the session control protocol;
Associating the connected session with the file name of the generated file and storing it in the storage unit;
Receiving an instruction to write media information from the application to the file and transmitting the media information based on the media control protocol;
An instruction to read media information from a file having a specified file name is received from the application, the media information is received based on the media control protocol, and the storage unit is referred to and specified. Obtaining a memory location associated with the file name and returning the memory location to the application;
Receives an instruction to execute file deletion by specifying a file name from the application, deletes the file with the specified file name, and disconnects the session associated with the file name based on the session control protocol Steps,
Deleting a file name associated with the disconnected session from the storage unit;
A method for terminating a media session, comprising:
請求項1ないし請求項6のいずれか一項に記載のメディアセッション終端方法を、コンピュータとしてのメディアセッション終端装置に実行させるためのプログラム。   A program for causing a media session termination device as a computer to execute the media session termination method according to any one of claims 1 to 6. ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端するメディアセッション終端装置であって、
前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続する手段と、
接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、記憶部に記憶する手段と、
前記アプリケーションから前記ファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断する手段と、
前記記憶部から、切断された前記セッションに関連付けられたファイルのファイル名を削除する手段と、
を備えることを特徴とするメディアセッション終端装置。
It is a media session termination device that is connected to a session control network that forms a file system and performs session control, and that is provided in a device that transmits and receives media information on a session based on an application and terminates session control based on a session control protocol. And
Means for receiving an instruction to execute file creation from the application, generating a file, and connecting a session based on the session control protocol;
Means for associating the connected session with the file name of the generated file and storing it in a storage unit;
Receives an instruction to execute file deletion by specifying the file name from the application, deletes the file of the specified file name, and disconnects the session associated with the file name based on the session control protocol Means to
Means for deleting the file name of the file associated with the disconnected session from the storage unit;
A media session termination apparatus comprising:
ファイルシステムを形成し、セッション制御を行うセッション制御ネットワークに接続し、アプリケーションに基づいてセッション上でメディア情報を送受信する装置に備えられ、セッション制御プロトコルに基づくセッション制御を終端すると共に、メディア制御プロトコルによる、接続されたセッション上で送受信されるメディア情報の制御を終端するメディアセッション終端装置であって、
接続された前記セッションと、前記ファイルシステム上のファイルのファイル名と、前記ファイルに読み書きされる前記メディア情報を格納しているメモリ位置と、を関連付けて記憶する記憶部を備え、
前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続する手段と、
接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、前記記憶部に記憶する手段と、
前記アプリケーションから、ファイルへメディア情報の書き込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を送信する手段と、
前記アプリケーションから、指定したファイル名のファイルからメディア情報の読み込みを実行する指示を受信して、前記メディア制御プロトコルに基づいて当該メディア情報を受信し、前記記憶部を参照して、指定された当該ファイル名に関連付けられたメモリ位置を取得して、当該メモリ位置を前記アプリケーションに返信する手段と、
前記アプリケーションからファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断する手段と、
前記記憶部から、切断された前記セッションに関連付けられたファイル名を削除する手段と、
を備えることを特徴とするメディアセッション終端装置。
It is provided in a device that forms a file system, connects to a session control network that performs session control, and transmits and receives media information on a session based on an application, terminates session control based on the session control protocol, and is based on the media control protocol A media session termination device for terminating control of media information transmitted / received on a connected session,
A storage unit that associates and stores the connected session, a file name of a file on the file system, and a memory location that stores the media information that is read and written to the file;
Means for receiving an instruction to execute file creation from the application, generating a file, and connecting a session based on the session control protocol;
Means for associating the connected session with the file name of the generated file, and storing it in the storage unit;
Means for receiving an instruction to write media information to a file from the application and transmitting the media information based on the media control protocol;
An instruction to read media information from a file having a specified file name is received from the application, the media information is received based on the media control protocol, and the specified Means for obtaining a memory location associated with a file name and returning the memory location to the application;
Receives an instruction to execute file deletion by specifying a file name from the application, deletes the file with the specified file name, and disconnects the session associated with the file name based on the session control protocol Means,
Means for deleting a file name associated with the disconnected session from the storage unit;
A media session termination apparatus comprising:
JP2010082551A 2010-03-31 2010-03-31 Media session termination method and program, and media session termination device Expired - Fee Related JP5140107B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010082551A JP5140107B2 (en) 2010-03-31 2010-03-31 Media session termination method and program, and media session termination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010082551A JP5140107B2 (en) 2010-03-31 2010-03-31 Media session termination method and program, and media session termination device

Publications (2)

Publication Number Publication Date
JP2011217079A JP2011217079A (en) 2011-10-27
JP5140107B2 true JP5140107B2 (en) 2013-02-06

Family

ID=44946383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010082551A Expired - Fee Related JP5140107B2 (en) 2010-03-31 2010-03-31 Media session termination method and program, and media session termination device

Country Status (1)

Country Link
JP (1) JP5140107B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127842A1 (en) * 2013-11-05 2015-05-07 D2 Technologies Inc. Method for Extending Application Interface for Future Applications

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3598459B2 (en) * 1998-12-24 2004-12-08 株式会社リコー Facsimile apparatus and control method thereof
JP2009223533A (en) * 2008-03-14 2009-10-01 Nippon Telegr & Teleph Corp <Ntt> Session control device, session control method, and program

Also Published As

Publication number Publication date
JP2011217079A (en) 2011-10-27

Similar Documents

Publication Publication Date Title
JP3826782B2 (en) Data transmission system, information processing apparatus and method, recording medium, and program
JP4274231B2 (en) Relay server and relay communication system
JP5799259B2 (en) Electronic equipment and computer program
JP2017041232A (en) Character transmission method, computer program, and character transmission system
JP5180048B2 (en) Service providing system, service providing method, and service providing program
KR20180061314A (en) Multimedia resource reproduction system, method and server
JP2012174042A (en) Document management device, method for control of document management device, and program
CN101282339A (en) Capability negotiation method, data transmission method and related equipment of streaming media system
JP5091887B2 (en) Terminal device, communication processing method, and program
CN102858025A (en) Method and device of point-to-point interactive operation
JP5465621B2 (en) Stream data distribution system and method
JP5140107B2 (en) Media session termination method and program, and media session termination device
JP5637115B2 (en) Network storage system, data operation method in network storage system, and storage device
CN103731400A (en) Resource sharing system and method
KR20090006504A (en) Method and apparatus for providing P2P service in IP multimedia subsystem
CN110677443A (en) Data sending and receiving method, sending end, receiving end, system and storage medium
JP2016099641A (en) Information processing system, information processing apparatus, and information processing method
JP5100574B2 (en) Terminal device, program download method, program, recording medium, and program providing system
JP2009272668A (en) GATEWAY APPARATUS, VoIP NETWORK MUTUAL CONNECTION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6158667B2 (en) Server device, terminal device, communication method, and computer program
JP5289345B2 (en) Address translation device, communication system, message communication method, and program
JP4847309B2 (en) Image communication apparatus and control method and program for image communication apparatus
US7937441B2 (en) Data-control device and method of controlling same
JP3770261B2 (en) Facsimile machine
JP5678473B2 (en) Information processing terminal

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110825

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121024

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121116

R150 Certificate of patent or registration of utility model

Ref document number: 5140107

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151122

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees