JPH07111698B2 - Session management processing method - Google Patents

Session management processing method

Info

Publication number
JPH07111698B2
JPH07111698B2 JP2120694A JP12069490A JPH07111698B2 JP H07111698 B2 JPH07111698 B2 JP H07111698B2 JP 2120694 A JP2120694 A JP 2120694A JP 12069490 A JP12069490 A JP 12069490A JP H07111698 B2 JPH07111698 B2 JP H07111698B2
Authority
JP
Japan
Prior art keywords
session
session management
message
management table
communication
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 - Lifetime
Application number
JP2120694A
Other languages
Japanese (ja)
Other versions
JPH0417048A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2120694A priority Critical patent/JPH07111698B2/en
Publication of JPH0417048A publication Critical patent/JPH0417048A/en
Publication of JPH07111698B2 publication Critical patent/JPH07111698B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 計算機システムにおける、通信に関わるセションの管理
に関し、 セションの通信に関連する、セションの制御情報へのア
クセスを効率よく行えるようにしたセション管理処理方
法を目的とし、 所要の送受信者間にセションを設立し、記憶領域に該セ
ションごとのセション管理テーブルを設け、該セション
管理テーブルに当該セションに関する所定の制御情報を
保持して、該セションの通信を管理する計算機システム
において、該セション設立時に、相手の該セション管理
テーブルを保持する記憶領域を指示するアドレス情報を
互いに取得し、各該セションの通信のためのメッセージ
送信時には、該メッセージの所定位置に、当該アドレス
情報を設定して送信し、メッセージ受信時には、該メッ
セージに設定されている該アドレス情報によって該セシ
ョン管理テーブルにアクセスするように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding management of a session related to communication in a computer system, an object of the present invention is to provide a session management processing method capable of efficiently accessing session control information related to communication of a session. Then, a session is established between the required senders and receivers, a session management table for each session is provided in the storage area, and predetermined session control information relating to the session is held in the session management table to manage communication of the session. In the computer system, at the time of establishing the session, the address information indicating the storage area holding the session management table of the other party is mutually acquired, and at the time of message transmission for communication of each session, at the predetermined position of the message, Address information is set and sent, and when a message is received, it is set in the message Configured to access the session management table by the address information being.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機システムにおける、通信に関わるセシ
ョンの管理のための、セション管理処理方法に関する。
The present invention relates to a session management processing method for managing a session related to communication in a computer system.

〔従来の技術〕[Conventional technology]

第4図は計算機システムの構成例を示すブロック図であ
り、計算機1と計算機2が通信回線3によって接続され
たシステムで、計算機1で実行される応用プログラム4a
〜4dの各々が、計算機2で実行される応用プログラム4e
〜4hとそれぞれ1対1の通信を行うとする。
FIG. 4 is a block diagram showing a configuration example of a computer system, which is a system in which the computer 1 and the computer 2 are connected by a communication line 3, and an application program 4a executed by the computer 1
4d is an application program 4e executed by the computer 2
It is assumed that each one-to-one communication is performed with ~ 4h.

そのために、両計算機の通信処理部5及び6は、公知の
ように所要の各応用プログラム間に、図に破線で示すよ
うな論理的接続を構成して、それらをセションと呼び、
各通信処理部5及び6はそれぞれ各セションにセション
識別名(以下にセションIDという)を付けて管理し、通
信に際して、メッセージにはセションIDを付けて送信
し、受信側ではこのセションIDによって、受信メッセー
ジを振り分け、指定の着信側応用プログラムにメッセー
ジが渡るように制御する。
For that purpose, the communication processing units 5 and 6 of both computers form a logical connection as shown by a broken line in the figure between required application programs as known, and call them sessions.
Each communication processing unit 5 and 6 manages each session with a session identification name (hereinafter referred to as a session ID), and at the time of communication, the message is attached with the session ID and transmitted. The received message is distributed and controlled so that the message is passed to the specified application program on the receiving side.

このために、通信処理部5及び6は、各セションごとに
セション管理テーブルを設け、第5図に示すように全セ
ション管理テーブル7をセション管理キューとして接続
して管理する。各セション管理テーブル7は、リンクの
ためのポインタ、セションID、セションの状態(セショ
ン開設中、設定済み等)、セション種別、データ流量制
御情報、このセションを開設しているプログラムのアド
レスその他の、セションの管理に必要な制御情報を保持
する。こゝで、セションIDは例えば発信側及び着信側の
プログラム又は端末の持つ識別名等を連結したものとす
る。
For this purpose, the communication processing units 5 and 6 provide a session management table for each session, and as shown in FIG. 5, all session management tables 7 are connected and managed as a session management queue. Each session management table 7 includes a pointer for a link, a session ID, a session state (session is open, set, etc.), session type, data flow rate control information, address of a program that has opened this session, and the like. Holds control information necessary for session management. Here, the session ID is, for example, a concatenation of the identification names of the programs or terminals on the calling side and the called side.

通信処理部5及び6はメッセージを受信すると、その所
定位置にあるセションIDによってセション管理キューを
検索し、セションIDが一致するセション管理テーブル7
を取り出し、その内容によって所要の受取先へ振り分
け、且つ必要なメッセージ処理を行う。
Upon receiving the message, the communication processing units 5 and 6 search the session management queue by the session ID in the predetermined position, and the session management table 7 in which the session IDs match
Is taken out, the contents are distributed to the required recipients according to the contents, and necessary message processing is performed.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前記のように、通信処理部5及び6は、受信メッセージ
の処理にセション管理テーブルを必要とし、そのために
メッセージを受信するごとに通信管理キューを検索しな
ければならない。このために、同時に設定されているセ
ション数が多くなるに従い、通信管理キューを検索する
ための処理時間が増加して、通信効率を低下させるとい
う問題がある。
As described above, the communication processing units 5 and 6 require the session management table to process the received message, and therefore, the communication management queue must be searched each time the message is received. Therefore, as the number of sessions set at the same time increases, there is a problem that the processing time for searching the communication management queue increases and communication efficiency decreases.

本発明は、セションの通信に関連する、セションの制御
情報である、セション管理テーブルへのアクセスを効率
よく行えるようにしたセション管理処理方法を目的とす
る。
It is an object of the present invention to provide a session management processing method capable of efficiently accessing a session management table, which is session control information related to session communication.

〔課題を解決するための手段〕[Means for Solving the Problems]

第1図は、本発明の構成を示す処理の流れ図である。 FIG. 1 is a flow chart of processing showing the configuration of the present invention.

図はセション管理処理方法であって、所要の送受信者間
にセションを設立し、記憶領域に該セションごとのセシ
ョン管理テーブルを設け、該セション管理テーブルに当
該セションに関する所定の制御情報を保持して、該セシ
ョンの通信を管理する計算機システムにおいて、処理ス
テップ10に示す該セション設立時に、相手の該セション
管理テーブルを保持する記憶領域を指示するアドレス情
報を互いに取得し、処理ステップ11の各該セションの通
信のためのメッセージ送信時には、該メッセージの所定
位置に、当該アドレス情報を設定して送信し、処理ステ
ップ12のメッセージ受信時には、該メッセージに設定さ
れている該アドレス情報によって該セション管理テーブ
ルにアクセスする。
The figure shows a session management processing method, in which a session is established between required senders and receivers, a session management table for each session is provided in a storage area, and predetermined control information related to the session is held in the session management table. In the computer system that manages the communication of the session, at the time of establishing the session shown in processing step 10, the address information indicating the storage area holding the session management table of the other party is mutually acquired, and each session of processing step 11 is acquired. When transmitting a message for communication, the address information is set and transmitted at a predetermined position of the message, and when the message is received in processing step 12, the address management information is set in the session management table according to the address information set in the message. to access.

〔作 用〕[Work]

本処理方法により、セション設立時に相手のセション管
理テーブルのアドレス情報として、例えばセション管理
リストの項アドレスを取得し、セション管理リストの各
項に各セション管理テーブルを指示するポインタを保持
するようにする。このようにして、メッセージの送信時
には、そのメッセージ内の所定位置に前記項アドレスを
設定して送信する。従って受信側では受信したメッセー
ジからその項アドレスを取り出し、セション管理リスト
の当該項にあるポインタによって、必要なセション管理
テーブルに直接にアクセスすることができ、受信メッセ
ージの処理ごとに検索によって所要のセション管理テー
ブルに到達する必要が無くなり、処理時間が短縮され
る。
According to this processing method, for example, when the session is established, as the address information of the session management table of the other party, the item address of the session management list is acquired, and each item of the session management list holds a pointer pointing to each session management table. . Thus, when sending a message, the item address is set at a predetermined position in the message and sent. Therefore, on the receiving side, the item address can be extracted from the received message, and the necessary session management table can be directly accessed by the pointer in the relevant item of the session management list. There is no need to reach the management table, and the processing time is shortened.

〔実施例〕〔Example〕

第2図は、本発明の方法によりセション管理テーブルに
アクセスする場合の、アクセスパスを構成するために、
セション管理リスト20を設ける場合の構成例を示し、第
4図における通信処理部5及び6は、それぞれ適当な記
憶領域にセション管理リスト20を設ける。
FIG. 2 shows the configuration of an access path when the session management table is accessed by the method of the present invention.
A configuration example in which the session management list 20 is provided is shown. The communication processing units 5 and 6 in FIG. 4 respectively provide the session management list 20 in an appropriate storage area.

セション管理リスト20には、その計算機システムで同時
に管理する必要のあるセションの個数より少なくない適
当数の項を設け、各項は記憶領域のアドレスを格納する
大きさとする。
The session management list 20 is provided with an appropriate number of terms that is not less than the number of sessions that need to be simultaneously managed by the computer system, and each term has a size for storing the address of the storage area.

例えば通信処理部5がセションを開設する場合に、セシ
ョン管理テーブル21を新設すると、セション管理リスト
20の各項を順次走査して、未使用(例えば値“0"で未使
用を表す)の項を検出し(例えば図の4番目の項とす
る)、新設したセション管理テーブル21を指示するポイ
ンタをその項に設定した後、相手の計算機に対してセシ
ョン開設を要求するメッセージを送る。
For example, when the communication processing unit 5 opens a session, if the session management table 21 is newly established, the session management list
Each item of 20 is sequentially scanned, and an unused item (for example, a value "0" represents unused) is detected (for example, the fourth item in the figure), and the newly established session management table 21 is instructed. After setting the pointer to that item, it sends a message requesting the opening of a session to the other computer.

そのメッセージは、例えば第3図(a)のように、先頭
に従来と同様のセションIDを設定し、データ部は従来と
同様の内容とするが、セションIDの後に本発明により
「着セションアドレス」と、「発セションアドレス」の
部分を設ける。「着セションアドレス」には相手のセシ
ョン管理テーブルのアドレス情報を設定するが、但しセ
ション開設要求時は未定であるので、例えば図のように
“0"に設定し、その次の「発セションアドレス」には、
発信側のセション管理テーブルのアドレス情報として、
前記のポインタを設定したセション管理リストの項のア
ドレス(記憶領域アドレス、又はセション管理リスト内
の相対アドレス)を設定して、相手に通信する。
For example, as shown in FIG. 3 (a), the message has the same session ID as the conventional one at the beginning, and the data portion has the same content as the conventional one. , And "calling session address". The address information of the session management table of the other party is set in the "destination session address", but since it is undecided when the session opening request is made, set it to "0" as shown in the figure, "
As the address information of the session management table on the calling side,
The address (storage area address or relative address in the session management list) of the item of the session management list in which the pointer is set is set, and communication is performed with the other party.

相手の通信処理部6は、このセション開設要求メッセー
ジを受信すると、従来のように指定に従うセションを開
設するように処理し、メッセージ開設を応答するメッセ
ージを返す。その応答メッセージも前記と同様の形式と
し、但し第3図(b)に示すように、「着セションアド
レス」には(a)のメッセージで通知された相手のアド
レス情報を設定し、「発セションアドレス」に自身が新
設したセション管理テーブルを指示するアドレス情報を
設定して送る。
Upon receiving this session opening request message, the communication processing unit 6 of the other party processes to open a session according to the specification as in the conventional case, and returns a message in response to the message opening. The response message also has the same format as above, except that as shown in FIG. 3 (b), the address information of the other party notified by the message (a) is set in the "destination session address", and the "calling session" is set. Address information for instructing the newly established session management table is set in "address" and sent.

応答メッセージを受けた通信処理部5は、「着セション
アドレス」のアドレス情報で、セション管理リスト20に
アクセスしてポインタを得、そのポインタでセション管
理テーブル21にアクセスして、「発セションアドレス」
で通知された相手のセション管理テーブルのアドレス情
報を、セション管理テーブル21の所定の項に記憶し、又
その他従来と同様にセション管理の処理を行う。
Upon receiving the response message, the communication processing unit 5 accesses the session management list 20 to obtain a pointer with the address information of the “destination session address”, accesses the session management table 21 with the pointer, and then sends the “calling session address”.
The address information of the session management table of the other party notified by is stored in a predetermined item of the session management table 21, and the session management process is performed in the same manner as in the related art.

以後の通信において、通信処理部5及び6は、送信メッ
セージの「着セションアドレス」に、それぞれ相手のア
ドレス情報を設定して送り、相手の通信処理部6及び5
は、前記のようにアドレス情報を使用してセション管理
テーブルにアクセスすることができる。
In the subsequent communication, the communication processing units 5 and 6 set the address information of the other party in the “destination session address” of the transmission message and send it, and the communication processing units 6 and 5 of the other party.
Can access the session management table using the address information as described above.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように本発明によれば、計算機
システムにおける、通信に関わるセションの管理におい
て、セションの通信に関連する、セションの制御情報へ
のアクセスを効率よく行えるので、通信処理の処理効率
を改善するという著しい工業的効果がある。
As apparent from the above description, according to the present invention, in the management of the session related to the communication in the computer system, it is possible to efficiently access the control information of the session related to the communication of the session. There is a significant industrial effect of improving efficiency.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の構成を示す処理の流れ図、 第2図は本発明のセション管理テーブルの接続図、 第3図は本発明のメッセージの説明図、 第4図は計算機システムの構成例をブロック図、 第5図は従来のセション管理テーブルの接続図である。 図において、 1、2は計算機、3は通信回線、 4a〜4hは応用プログラム、 5、6は通信処理部、 7、21はセション管理テーブル、 10〜12は処理ステップ、 21はセション管理リスト を示す。 FIG. 1 is a flow chart of processing showing the configuration of the present invention, FIG. 2 is a connection diagram of a session management table of the present invention, FIG. 3 is an explanatory diagram of messages of the present invention, and FIG. 4 is a configuration example of a computer system. FIG. 5 is a block diagram and FIG. 5 is a connection diagram of a conventional session management table. In the figure, 1 and 2 are computers, 3 is a communication line, 4a to 4h are application programs, 5 and 6 are communication processing units, 7 and 21 are session management tables, 10 to 12 are processing steps, and 21 is a session management list. Show.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】所要の送受信者間にセションを設立し、記
憶領域に該セションごとのセション管理テーブルを設
け、該セション管理テーブルに当該セションに関する所
定の制御情報を保持して、該セションの通信を管理する
計算機システムにおいて、 該セション設立時に、相手の該セション管理テーブルを
保持する記憶領域を指示するアドレス情報を互いに取得
し(10)、 各該セションの通信のためのメッセージ送信時には、該
メッセージの所定位置に、当該アドレス情報を設定して
送信し(11)、 メッセージ受信時には、該メッセージに設定されている
該アドレス情報によって該セション管理テーブルにアク
セスする(12)ことを特徴とするセション管理処理方
法。
1. Communication of a session is established by establishing a session between required senders and receivers, providing a session management table for each session in a storage area, holding predetermined control information relating to the session in the session management table. In the computer system for managing the session, when the session is established, the address information indicating the storage area holding the session management table of the other party is mutually acquired (10), and when the message is transmitted for communication of each session, the message is transmitted. The session management is characterized in that the address information is set and transmitted at a predetermined position of (11), and when the message is received, the session management table is accessed by the address information set in the message (12). Processing method.
JP2120694A 1990-05-10 1990-05-10 Session management processing method Expired - Lifetime JPH07111698B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2120694A JPH07111698B2 (en) 1990-05-10 1990-05-10 Session management processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2120694A JPH07111698B2 (en) 1990-05-10 1990-05-10 Session management processing method

Publications (2)

Publication Number Publication Date
JPH0417048A JPH0417048A (en) 1992-01-21
JPH07111698B2 true JPH07111698B2 (en) 1995-11-29

Family

ID=14792660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2120694A Expired - Lifetime JPH07111698B2 (en) 1990-05-10 1990-05-10 Session management processing method

Country Status (1)

Country Link
JP (1) JPH07111698B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3463399B2 (en) * 1995-03-13 2003-11-05 富士通株式会社 Communication system, access response device, and access request device
JP5738448B2 (en) * 2014-03-12 2015-06-24 株式会社三菱東京Ufj銀行 Information processing device

Also Published As

Publication number Publication date
JPH0417048A (en) 1992-01-21

Similar Documents

Publication Publication Date Title
US5530905A (en) Temporary state preservation for a distributed file service which purges virtual circuit control information after expiration of time limit of inactivity
EP0160263A2 (en) Distributed control of alias name usage in networks
JPS6132631A (en) Method of enabling multicast communication
JPH0695999A (en) Method and system for inter-process communication
US20040193601A1 (en) Method and contact list server for modifying the entry names in a contact list
JPS5992654A (en) Electronic document distributing system
JP3453459B2 (en) E-mail system and control method thereof, and communication terminal device and control method thereof
JPH07111698B2 (en) Session management processing method
WO2002069568A1 (en) Group-independent message transfer method and system lending specified application module
CN109218156A (en) A kind of management method of Dynamic link library data
JPH03127597A (en) Database access control system
KR100263386B1 (en) Method of parsing transaction language 1 in a regional monitor and control system
KR19990001853A (en) E-mail service device and method
JPH10257051A (en) Information transmitter and method for selecting transmission destination of information
JPH0431454B2 (en)
JPS59161952A (en) Establishment of communication path
Fong et al. MAP application layer interface and application layer management structure: part I: management structure
JPH0635826A (en) Communication controller
JP2003030067A (en) Communication managing device, communication system, communication management program and communication program
JP2513261B2 (en) Terminal attribute determination control method
JPH02105662A (en) Voice mail destination designating system
JPH06268679A (en) Plural electronic mail integration system
JPH04258057A (en) Mhs transmission message management system
JPH04273351A (en) Information processor
JPS61264449A (en) Information processing device with data receiving function