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 PDFInfo
- 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
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
つまり、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.
しかしながら、セッション制御プロトコルおよびメディアストリーム制御プロトコルの仕様の双方に精通していなくても、セッション制御ネットワークに接続する装置で使用するアプリケーション開発を容易に行えるようにする検討例は見当たらない。また、前記した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.
本発明を実施するための形態(以降「本実施形態」と称す。)について、適宜図面を参照しながら詳細に説明する。 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
装置40は、セッション制御ネットワーク50を介して、接続相手の装置40a(40)または装置41との間で、セッションを確立し、音声や映像等のメディアストリーム(以降、メディア情報またはデータとも称す。)を送受信する。セッション制御ネットワーク50には、セッション制御を行う図示しないセッション制御サーバ(例えば、SIPサーバ)が配置され、セッション制御サーバを介して装置40と装置40a,41との間のセッションを確立するといった呼制御が行われる。なお、図1には、各装置40,40a,41が1台ずつしか記載していないが、それぞれ2台以上であっても構わない。
The
装置40において、アプリケーション10は、メディアセッション制御手段30に対して、セッションの接続または切断の指示や、メディアストリームの送受信の指示を行う。また、メディアセッション制御手段30は、アプリケーション10からの指示を受け付けて、セッション制御プロトコルおよびメディアストリーム制御プロトコル(メディア制御プロトコル)の双方に基づく制御を実行する。
In the
なお、装置41は、セッション制御プロトコルおよびメディアストリーム制御プロトコル(メディア制御プロトコル)の双方に基づく制御を実行する手段を備えていれば、メディアセッション終端手段30を備えていなくても構わない。
また、図1では、セッション制御の信号およびメディアストリームの信号の両方ともが、一つのセッション制御ネットワーク50を流れるものとして記載しているが、それぞれの信号が別々のネットワークに流れるようなネットワーク構成としても構わない。
The
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
また、メディアセッション終端手段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
セッション管理手段37は、接続したセッションごとに、その状態を、セッション371,・・,セッション372として保持し管理する。また、セッション管理手段37は、ファイル作成手段31またはファイル削除手段32によって生成または削除されたファイル、および書き込み手段33または読み出し手段34によってファイルに読み書きされるデータが格納されるメモリ位置、について管理する。なお、メモリ位置とは、記憶部60におけるメモリアドレスのことである。そして、セッション管理手段37は、図7に示すように、接続されたセッションを識別するセッションIDと、ファイル名(生成されたファイルの名前)と、データの格納されているメモリ位置とを関連付けて、ファイルセッションDB(データベース)701として記憶部60に記憶し管理する。すなわち、セッション管理手段37は、新たに接続されたセッションおよび生成されたファイルに対応してセッションIDおよびファイル名をファイルセッションDB701に追加し、新たに切断されたセッションおよび削除されたファイルに対応してセッションIDおよびファイル名をファイルセッションDB701から削除する。
The
また、セッション管理手段37は、アプリケーション10からファイル名の一覧についての問い合わせを受け付けて、ファイルセッションDB701を参照し、ファイルセッションDB701に格納されているファイル名を返信する。すなわち、返信したファイル名に関連付けられているセッションが、接続中のセッションに対応する。
また、セッション管理手段37は、アプリケーション10からファイル名を指定して読み出し手段34の指示を受け付けて、ファイルセッションDB701を参照し、当該ファイル名に関連付けられたメモリ位置を返信する。これにより、アプリケーション10は、メモリ位置に基づいて、接続相手の装置40a,41から受信したメディア情報を取得することができる。
Further, the
In addition, the
なお、メディアセッション終端手段30における処理をハードウェアで実現する場合には、図1に示す、ファイル作成手段31、ファイル削除手段32、書き込み手段33、読み出し手段34、セッション制御手段35、メディアストリーム制御手段36、およびセッション管理手段37が、図示しないCPUにおいて演算を実行する処理部となる。また、図1に示す各セッション371,372、図7に示すファイルセッションDB701、およびファイルとそのファイルに入出力されるデータが記憶部60に記憶される。
When the processing in the media
次に、メディアセッション終端手段30の動作の概要について、図1を用いて説明する。
本実施形態では、メディアセッション終端手段30は、セッション制御プロトコルにおけるセッションの接続および切断の指示と、メディアストリーム制御プロトコルにおけるメディアストリームの送信および受信の指示とを、オペレーティングシステム20が備えるファイルシステム上のファイルへの操作指示に置き換えたインタフェースを提供するものである。したがって、一般的なファイル操作の知識があれば、メディアセッション終端手段30は、アプリケーション10の作製を容易にすることができる。
具体的には、図1に示すように、ファイル作成手段31をセッションの接続手段351に対応付け、ファイル削除手段32をセッションの切断手段352に対応付け、ファイルに対する書き込み手段33をメディアストリームの送信手段363に対応付け、およびファイルに対する読み出し手段34をメディアストリームの受信手段364に対応付けている。
Next, an outline of the operation of the media
In the present embodiment, the media session termination means 30 is on a file system provided in the
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
なお、装置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
First, a case where the
The
次に、装置40のアプリケーション10が、接続相手の装置40a,41からセッションの接続要求が送られてくることを待っている場合は、メディアセッション終端手段30のセッション制御手段35が接続要求を受信して、ファイル作成手段31の実行に基づいてファイルシステム上にファイルが作成されるので、接続要求を受信したことを認識できる。また、装置40のアプリケーション10が、接続相手の装置40a,41からセッションの切断要求が送られてくることを待っている場合は、メディアセッション終端手段30のセッション制御手段35が切断要求を受信して、ファイル削除手段32の実行に基づいてファイルシステム上のファイルが自動的に削除されるので、切断要求を受信したことを認識できる。
Next, when the
メディアストリームの送信については、装置40のアプリケーション10が、ファイルへの書き込み手段33の実行に基づいてメディアストリームを接続相手の装置40a,41へ送信する。また、メディアストリームの受信については、装置40のアプリケーション10が、ファイルからの読み出し手段34の実行に基づいて接続相手の装置40a,41から受信したメディアストリームを取得する。
Regarding the transmission of the media stream, the
前記したように、メディアストリーム終端手段30を用いてアプリケーション10を開発する場合、メディアストリーム終端手段30に備わっている、ファイル作成手段31、ファイル削除手段32、書き込み手段33、および読み出し手段34といったファイルシステム上のファイルへの一般的な操作についての知識があれば、アプリケーション10の開発を容易に行うことができる。
As described above, when the
(メディアセッション終端手段における処理の流れ)
次に、メディアセッション終端手段30における処理の流れについて、図1を用いて説明する。なお、具体例として、UNIX(登録商標)で用いられるコマンドについても記載する。
(Processing flow in media session termination means)
Next, the flow of processing in the media
アプリケーション10がオペレーティングシステム20に対しファイルを作成する命令(openシステムコール等)やコマンドを実行すると、メディアセッション終端手段30のファイル作成手段31が実行される。ファイル作成手段31は、例えば、接続相手の装置40a,41の識別子(SIPにおけるSIP URI(Uniform Resource Identifier)等)をファイル名としたファイルを生成する。また、ファイル作成手段31の実行に基づいて、セッション制御手段35の接続手段351は、接続相手の装置40a,41の識別子を接続先として、セッション接続の要求(SIPにおけるINVITE等)を送出し、セッション接続シーケンスを開始する。このセッション接続シーケンスの詳細については後記する。
When the
セッションが接続(確立)されると、メディアセッション終端手段30のセッション管理手段37は、この接続したセッションの状態を、例えば、接続相手の装置40a,41の識別子によって識別可能なセッション371として保持する。
つまり、セッション管理手段37は、ファイルシステム上に生成したファイルと、接続したセッション371とを、接続相手の装置40a,41の識別子によって関連付けて扱うことができる。
When the session is connected (established), the
That is, the
そして、アプリケーション10がファイルの一覧について問い合わせた場合(例えば、ファイルの一覧の取得要求等)、セッション管理手段37は、ファイル名として、接続相手の装置40a,41の識別子を返信する。
なお、接続相手の装置40a,41の識別子は、ディレクトリあるいはフォルダ等のパス名を含むものとする。この理由は、1つのセッションにおいて音声と映像のような複数のメディアストリームを含むような場合、同じディレクトリの配下に各メディアストリームを識別するファイルがそれぞれ配置される形態を含むためである。
When the
Note that the identifiers of the
また、アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定して、ファイルを削除する命令(closeシステムコール等)やコマンドを実行すると、メディアセッション終端手段30のファイル削除手段32が実行される。ファイル削除手段32は、指定されたファイル名のファイルを削除する。また、ファイル削除手段32の実行に基づいて、セッション制御手段35の切断手段352は、セッション切断の要求(SIPにおけるBYE等)を送出し、セッション切断シーケンスを開始する。このセッション切断シーケンスの詳細については後記する。
Further, when the
次に、メディアセッション終端手段30における、書き込み手段33および読み出し手段34について説明する。
まず、書き込み手段33について説明する。アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定してデータの書き込みを行う命令(writeシステムコール等)やコマンドを実行すると、オペレーティングシステム20は、メディアセッション終端手段30の書き込み手段33に対して、書き込むべきデータを送信する。そして、書き込み手段33は、メディアストリーム制御手段36の送信手段363を用いて、受信したデータをメディア情報として、ファイル名に関連付けられたセッションの接続先に送出する。
Next, the
First, the writing means 33 will be described. When the
次に、読み出し手段34について説明する。アプリケーション10が、オペレーティングシステム20に対し、ファイル名を指定してデータの読み出しを行う命令(readシステムコール等)やコマンドを実行すると、オペレーティングシステム20は、メディアセッション終端手段30の読み出し手段34に対して、受信したメディア情報を格納しているメモリ上のアドレス(メモリ位置)を要求する。読み出し手段34は、メモリ上のアドレスを、オペレーティングシステム20を介して返信する。これにより、アプリケーション10は、接続相手の装置40a,41から受信したメディア情報を取得することができる。
Next, the
なお、ファイルに対して読み書きするデータは、元のデータを圧縮したデータ形式であっても、圧縮していないデータ形式であっても構わない。圧縮したデータ形式を用いる場合、メディアストリーム制御手段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
前記したように、アプリケーション10は、ファイルシステムにおけるファイル作成、ファイル削除、ファイルへの書き込み、ファイルからの読み出し、といったファイル操作に関する命令やコマンドを扱うだけで、接続相手の装置40a,41とのセッション制御およびメディアストリーム制御を行うことができる。
As described above, the
なお、アプリケーション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
For example, in UNIX (registered trademark), audio data of a media stream read from a file corresponding to the
次に、セッション接続シーケンスおよびセッション切断シーケンスの詳細例について、図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
装置40のアプリケーション10が出したファイル作成の指示は、メディアセッション終端手段30に伝えられる(ステップS201)。このステップS201によって、ファイル作成手段31がファイルを作成する。
The file creation instruction issued by the
そして、ファイル作成手段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
次に、装置40a,41(相手装置)からセッションの接続要求が行われた場合のシーケンス例について、図3を用いて説明する(適宜、図1参照)。なお、図3では、オペレーティングシステム20の記載を省略している。
Next, a sequence example when a session connection request is made from the
まず、装置40a,41が、装置40を接続相手として、SIPのINVITEリクエストを送信する(ステップS301)。ステップS301以降の、ステップS302〜S308では、装置40a,41と装置40のメディアセッション終端手段30のセッション制御手段35とは、INVITEリクエスト、100レスポンス、200レスポンス、およびACKリクエストを決まった手順で送受信して、セッションを確立する。セッション確立後、メディアストリームの送受信が開始される(ステップS309)。
First, the
なお、装置40のセッション制御手段35がACKを受信する(ステップS308)と、ファイル作成手段31がファイルを作成する。
ただし、アプリケーション10がファイル作成の要求を送信したわけではないので、アプリケーション10は、セッションが確立したか否かを知るために、ファイルが作成されたか否かを確認する必要がある。そこで、ファイルが作成されていることを確認するために、オペレーティングシステム20に用意された命令またはコマンドが使われる。例えば、Linux(登録商標)のオペレーティングシステムの場合、inotifyという命令でファイルやディレクトリの状態を監視することができるので、ファイルシステム配下にファイルが作成されたことを認識することができる。
When the
However, since the
前記したように、アプリケーション10は、周期的に、ファイル一覧の要求をメディアセッション終端手段30に送信し(ステップS310)、ファイルが存在するか否かを確認する。メディアセッション終端手段30のセッション管理手段37は、記憶部60に記憶している各セッション371,372に関連付けられたファイル名を返信する(ステップS311)。そして、アプリケーション10は、前回受信したファイル一覧と今回受信したファイル一覧との相違を調べることによって、新しく作成されたファイル名を取得することができ、メディア情報の送受信をファイルの読み書きによって扱えるようになる。
As described above, the
(セッションの切断要求)
装置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
装置40と接続相手の装置40a,41との間で、メディアストリームの送受信が実行中の状態となっている(ステップS401)。この状態において、装置40のアプリケーション10が出したファイル削除の指示は、メディアセッション終端手段30に伝えられる(ステップS402)。このステップS402によって、ファイル削除手段32がファイルを削除する。
Media stream transmission / reception is being executed between the
そして、ファイル作成手段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
次に、接続相手の装置40a,41(相手装置)からセッションの切断要求が行われた場合のシーケンス例について、図5を用いて説明する(適宜、図1参照)。なお、図5では、オペレーティングシステム20の記載を省略している。
Next, a sequence example when a session disconnection request is made from the
装置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
なお、装置40のセッション制御手段35がBYEリクエストを受信する(ステップS503)と、ファイル削除手段32がファイルを削除する。
ただし、アプリケーション10がファイル削除の要求を送信したわけではないので、アプリケーション10は、セッションが切断したか否かを知るために、ファイルが削除されているか否かを確認する必要がある。そこで、前記したように、アプリケーション10は、周期的に、ファイル一覧の要求をメディアセッション終端手段30に送信し(ステップS507)、ファイルが存在するか否かを確認する。そして、メディアセッション終端手段30のセッション管理手段37は、記憶部60に記憶している各セッション371,372に関連付けられたファイル名を返信する(ステップS508)。そして、アプリケーション10は、前回受信したファイル一覧と今回受信したファイル一覧との相違を調べることによって、新しく削除されたファイル名を取得することができる。
Note that when the
However, since the
なお、アプリケーション10が、ファイルを開いた状態でファイルからデータを読み出している場合は、ファイルの末尾まで読み出しが行われたことを示すEOF(End of File)がオペレーティングシステム20を介して返信されることで、セッションの切断を認識することができる。
When the
(実装例)
オペレーティングシステム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
The virtual address space in the
FUSE22は、ファイルシステムやカーネルについての知識がなくても、ユーザ空間におけるファイルシステムプログラムを容易に開発できるように提供されている公知のソフトウェアである。このFUSE22を用いて、ユーザ空間上でメディアセッション終端手段30におけるファイル操作を実現する。
The
アプリケーション10から出力される命令やコマンドは、VFS21およびFUSE22を介して、メディアセッション終端手段30に伝えられる。また、メディアセッション終端手段30は、NIC23を介して接続相手の装置40a,41との間で、セッション制御プロトコルおよびメディアストリーム制御プロトコルに基づいて、セッションを確立し、メディア情報の送受信を行う。
なお、カーネルについての知識がある場合、FUSE22を介さずに直接VFS21を用いてファイルシステムを構成しても構わない。
Commands and commands output from the
If there is knowledge about the kernel, the file system may be configured using the
以上、本実施形態で説明したメディアセッション終端手段30は、セッション制御プロトコルにおけるセッション制御と、メディアストリーム制御プロトコルにおけるメディアストリームの制御とを、オペレーティングシステム20が備えるファイルシステム上のファイルへの操作指示に置き換えたインタフェースを提供するものである。したがって、ファイル操作についての一般的な知識があれば、アプリケーション10の作製を容易に行うことができる。
As described above, the media
なお、図3に示すステップS311では、セッション管理手段37が、ファイル名の一覧を返信するものとして説明した。これに対して、セッション管理手段37が、前回返信したファイル名の一覧を記憶しておき、アプリケーション10からファイル一覧の要求を受信したときに、前回返信したファイル名の一覧と相違するファイル名とその状態(新規に作成されたこと)を返信するようにしても構わない。
In step S311 shown in FIG. 3, the
また、図5に示すステップS508では、セッション管理手段37が、ファイル名の一覧を返信するものとして説明した。これに対して、セッション管理手段37が、前回返信したファイル名の一覧を記憶しておき、アプリケーション10からファイル一覧の要求を受信したときに、前回返信したファイル名の一覧と相違するファイル名とその状態(削除されたこと)を返信するようにしても構わない。また、アプリケーション10が、ファイル名を指定して、ファイルが存在するか否かを検索するようにしても構わない。
In step S508 shown in FIG. 5, the
また、図1に示す端末40a,41は、セッション制御プロトコルとメディアストリーム制御プロトコルを終端することのできるIP電話機や計算機等の装置であり、メディアセッション終端手段30を用いていても用いていなくても構わない。
The
また、本実施形態では、オペレーティングシステムとして、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
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:
前記アプリケーションからファイル作成を実行する指示を受信して、ファイルを生成し、前記セッション制御プロトコルに基づいてセッションを接続する手段と、
接続された前記セッションと、前記生成したファイルのファイル名とを関連付けて、記憶部に記憶する手段と、
前記アプリケーションから前記ファイル名を指定してファイル削除を実行する指示を受信して、指定された当該ファイル名のファイルを削除し、前記セッション制御プロトコルに基づいて当該ファイル名に関連付けられたセッションを切断する手段と、
前記記憶部から、切断された前記セッションに関連付けられたファイルのファイル名を削除する手段と、
を備えることを特徴とするメディアセッション終端装置。 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:
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)
| 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)
| 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 |
-
2010
- 2010-03-31 JP JP2010082551A patent/JP5140107B2/en not_active Expired - Fee Related
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 |