JP2012083924A - Notification device, notification system, terminal, notification method, and notification program - Google Patents

Notification device, notification system, terminal, notification method, and notification program Download PDF

Info

Publication number
JP2012083924A
JP2012083924A JP2010229100A JP2010229100A JP2012083924A JP 2012083924 A JP2012083924 A JP 2012083924A JP 2010229100 A JP2010229100 A JP 2010229100A JP 2010229100 A JP2010229100 A JP 2010229100A JP 2012083924 A JP2012083924 A JP 2012083924A
Authority
JP
Japan
Prior art keywords
terminal device
notification
terminal
stored
state information
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.)
Pending
Application number
JP2010229100A
Other languages
Japanese (ja)
Inventor
Makoto Nishida
誠 西田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2010229100A priority Critical patent/JP2012083924A/en
Publication of JP2012083924A publication Critical patent/JP2012083924A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a notification device capable of notifying a terminal of a message so that the terminal certainly acquires presence information of other terminals, as well as a notification system, a terminal, a notification method, and a notification program.SOLUTION: A notification device 10 receives SUBSCRIBE transmitted from a terminal 11 (S17). The notification device 10 acquires one piece of state information corresponding to a presentity ID, and stores the acquired presentity ID in NOTIFY to be transmitted to the terminal 11 since the number of presentity IDs to be specified by the SUBSCRIBE is one (S21). The notification device 10 receives SUBSCRIBE transmitted from a terminal 12 (S39). The notification device 10 acquires two pieces of state information corresponding to presentity IDs, and stores the two pieces of state information in 200 OK to be transmitted to the terminal 12 at once since the number of presentity IDs to be specified by the SUBSCRIBE is two or more (S41).

Description

本発明は、通知装置、通知システム、端末装置、通知方法、及び通知プログラムに関する。より詳細には、端末装置のプレゼンス情報を通知する通知装置、通知システム、端末装置、通知方法、及び通知プログラムに関する。   The present invention relates to a notification device, a notification system, a terminal device, a notification method, and a notification program. More specifically, the present invention relates to a notification device, a notification system, a terminal device, a notification method, and a notification program that notify presence information of a terminal device.

端末装置が、ネットワークに接続する他の端末装置及びそのユーザの状態に関する情報を知ることができるサービスが知られている。以下、端末装置及びそのユーザの状態に関する情報を、プレゼンス情報ともいう。このサービスでは、通常、プレゼンス情報を管理する通知装置が使用される。端末装置は、通知装置に対して、他の端末装置のプレゼンス情報を要求する。通知装置は、要求された他の端末装置のプレゼンス情報を特定し、端末装置に通知する。これによって端末装置は、他の端末装置のプレゼンス情報を取得することができる。以下、プレゼンス情報を要求する側の端末装置を「ウォッチャ」ともいう。プレゼンス情報が要求される他の端末装置を「プレゼンティティ」ともいう。通知装置を「プレゼンスサーバ」ともいう。上述したサービスの一例として、SIP(Session Initiation Protocol)を利用したサービスが挙げられる。   There is known a service in which a terminal device can know information about other terminal devices connected to a network and the state of the user. Hereinafter, the information regarding the status of the terminal device and its user is also referred to as presence information. In this service, a notification device that manages presence information is usually used. The terminal device requests presence information of another terminal device from the notification device. The notification device identifies the requested presence information of the other terminal device and notifies the terminal device. As a result, the terminal device can acquire presence information of other terminal devices. Hereinafter, a terminal device that requests presence information is also referred to as a “watcher”. Other terminal devices for which presence information is required are also referred to as “presentity”. The notification device is also referred to as a “presence server”. An example of the service described above is a service using SIP (Session Initiation Protocol).

SIPを利用したサービスでは、複数のプレゼンティティのプレゼンス情報をプレゼンスサーバがウォッチャに通知する場合、プレゼンス情報毎にメッセージを一つずつ作成してウォッチャに送信する必要がある。これに対して特許文献1に記載された方法では、同一のウォッチャに送信するプレゼンス情報が複数ある場合、プレゼンスサーバは、これらを一つのメッセージに格納して送信することができる。ウォッチャは、受信したメッセージから複数のプレゼンス情報を抽出することで、複数のプレゼンティティのプレゼンス情報を取得することができる。   In a service using SIP, when the presence server notifies the watcher of presence information of a plurality of presentities, it is necessary to create one message for each presence information and send it to the watcher. On the other hand, in the method described in Patent Document 1, when there are a plurality of presence information items to be transmitted to the same watcher, the presence server can store these information items in one message and transmit them. The watcher can acquire presence information of a plurality of presentities by extracting a plurality of presence information from the received message.

特開2004−72485号公報JP 2004-72485 A

複数のプレゼンス情報が格納されたメッセージの認識が可能な端末装置と、該メッセージの認識が不可能な既存の端末装置とがネットワーク内に併存する場合がある。この場合、認識が不可能な端末装置は、受信したメッセージから複数のプレゼンス情報を抽出できないので、他の端末装置のプレゼンス情報を取得できない場合が発生し得るという問題点がある。   There are cases where a terminal device capable of recognizing a message storing a plurality of presence information and an existing terminal device unable to recognize the message coexist in the network. In this case, since a terminal device that cannot be recognized cannot extract a plurality of presence information from the received message, there is a problem that the presence information of other terminal devices may not be acquired.

本発明の目的は、端末装置が確実に他の端末装置のプレゼンス情報を取得できるように、端末装置にメッセージを通知できる通知装置、通知システム、端末装置、通知方法、及び通知プログラムを提供することにある。   An object of the present invention is to provide a notification device, a notification system, a terminal device, a notification method, and a notification program capable of notifying a terminal device of a message so that the terminal device can reliably acquire presence information of another terminal device. It is in.

本発明の第一態様に係る通知装置は、ネットワークを介して接続した端末装置を識別する識別情報と、前記端末装置及び前記端末装置のユーザの状態を示す状態情報とが対応付けられて記憶された記憶手段と、前記端末装置から送信された、他の前記端末装置の前記状態情報を要求する要求パケットを受信する受信手段と、前記受信手段によって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断手段と、前記第一判断手段によって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断手段と、前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得手段と、前記第一取得手段によって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信手段とを備えている。   In the notification device according to the first aspect of the present invention, identification information for identifying a terminal device connected via a network and state information indicating a state of the terminal device and a user of the terminal device are stored in association with each other. Two or more of the request packets received by the receiving means, the receiving means for receiving the request packet for requesting the status information of the other terminal apparatus, transmitted from the terminal apparatus, and the request packet received by the receiving means. It is determined by the first determination means that determines whether or not the status information of another terminal device is requested, and the first determination means determines that the status information of two or more other terminal devices is requested. In the case, two or more of the identification information of the two or more other terminal devices is judged by the second judgment means and the second judgment means to judge whether or not all the identification information is stored in the storage means. When it is determined that all the identification information of the terminal device is stored in the storage unit, two or more pieces of status information corresponding to the identification information of two or more other terminal devices are stored in the storage unit. A first acquisition unit that acquires the status information acquired by the first acquisition unit in a first notification packet, the first notification packet to the terminal device that has transmitted the request packet And first transmission means for transmitting.

第一態様によれば、通知装置は、二以上の他の端末装置の状態情報を要求する要求パケットを受信した場合に、対応する二以上の状態情報を取得し、要求パケットを送信した端末装置に対して通知する。通知装置は、要求パケットによって要求されている状態情報の数に基づいて、二以上の状態情報をまとめて通知するか否かを判断できる。通知装置は、端末装置において第一通知パケットに格納された二以上の状態情報をまとめて認識できると判断した場合に、二以上の状態情報をまとめて端末装置に通知する。これによって通知装置は、要求パケットを送信した端末装置が認識可能な態様で、状態情報を端末装置に対して通知することができる。   According to the first aspect, when the notification device receives a request packet requesting status information of two or more other terminal devices, the notification device acquires the corresponding two or more status information and transmits the request packet. To notify. The notification device can determine whether to notify two or more pieces of state information collectively based on the number of pieces of state information requested by the request packet. When the notification device determines that two or more pieces of state information stored in the first notification packet can be recognized together in the terminal device, the notification device collectively notifies the terminal device of two or more pieces of state information. Thus, the notification device can notify the terminal device of the status information in a manner that can be recognized by the terminal device that transmitted the request packet.

また、第一態様において、前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報のうち少なくとも一が前記記憶手段に記憶されていないと判断された場合に、前記状態情報が取得できない旨を通知する第二通知パケットを、前記要求パケットを送信した前記端末装置に対して送信する第二送信手段を備えていてもよい。通知装置は、要求された状態情報の全てを取得できない場合、端末装置に対して、状態情報が取得できない旨を通知することができる。これによって端末装置は、通知装置が管理するネットワークやサービスの範囲内に、所望する他の端末装置が存在していないことを認識できる。   In the first aspect, when the second determination unit determines that at least one of the identification information of the two or more other terminal devices is not stored in the storage unit, the state information is You may provide the 2nd transmission means which transmits the 2nd notification packet which notifies that it cannot be acquired with respect to the said terminal device which transmitted the said request packet. The notification device can notify the terminal device that the state information cannot be acquired when all of the requested state information cannot be acquired. As a result, the terminal device can recognize that the desired other terminal device does not exist within the network and service range managed by the notification device.

また、第一態様において、前記第一送信手段は、前記第一通知パケットに格納する前記状態情報のデータサイズが所定値より大きくなった場合に、前記状態情報のデータサイズが前記所定値以下となるように分割して前記第一通知パケットに格納し、前記第一通知パケットを送信してもよい。第一通知パケットを予め分割して送信することで、ネットワークに介在するルータやサーバ等が第一通知パケットを分割することを回避できる。これによって、ルータやサーバでの処理負荷を軽減できるので、第一通知パケットは確実にルータやサーバによって転送され、端末装置に到達する。従って、端末装置は、通知装置から送信された第一通知パケットを確実に受信し、状態情報を取得できる。   Further, in the first aspect, the first transmission means determines that the data size of the state information is equal to or less than the predetermined value when the data size of the state information stored in the first notification packet is larger than a predetermined value. The first notification packet may be divided and stored in the first notification packet. By dividing and transmitting the first notification packet in advance, it is possible to avoid a router, a server, or the like intervening in the network from dividing the first notification packet. As a result, the processing load on the router or server can be reduced, so that the first notification packet is reliably transferred by the router or server and reaches the terminal device. Accordingly, the terminal device can reliably receive the first notification packet transmitted from the notification device and acquire the state information.

また、第一態様において、前記第一取得手段は、前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報のうち少なくとも一が前記記憶手段に記憶されていないと判断された場合に、二以上の前記端末装置の前記識別情報のうち、前記記憶手段に記憶されている前記識別情報に対応する前記状態情報を取得してもよい。通知装置は、要求された状態情報の全てが取得できない場合、取得可能な状態情報のみを取得して端末装置に通知できる。これによって端末装置は、通知装置において取得可能な状態情報を把握して再度要求する通信が不要となるので、ネットワークのトラフィックを抑制できる。また端末装置は、通知装置において取得可能な状態情報を短時間で取得できる。   Further, in the first aspect, the first acquisition means determines that at least one of the identification information of the two or more other terminal devices is not stored in the storage means by the second determination means. In this case, the status information corresponding to the identification information stored in the storage unit may be acquired from the identification information of two or more terminal devices. When all of the requested status information cannot be acquired, the notification device can acquire only the status information that can be acquired and notify the terminal device. As a result, the terminal device does not need communication for ascertaining status information that can be acquired by the notification device and requesting it again, thereby suppressing network traffic. Further, the terminal device can acquire the state information that can be acquired by the notification device in a short time.

また、第一態様において、前記第一判断手段によって、一の前記他の端末装置の前記状態情報が要求されていると判断された場合に、一の前記他の端末装置の前記識別情報に対応する一の前記状態情報を、前記記憶手段から取得する第二取得手段と、前記第二取得手段によって取得された一の前記状態情報を第三通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第三通知パケットを送信する第三送信手段とを備えていてもよい。端末装置において、第一通知パケットに格納された二以上の識別情報をまとめて処理できない場合には、通知装置は、第一通知パケットに一の状態情報を格納することができる。これによって端末装置は、確実に状態情報を取得することができる。   Further, in the first aspect, when the first determination unit determines that the state information of one other terminal device is requested, the first information corresponds to the identification information of the one other terminal device. The second acquisition unit that acquires the one state information from the storage unit, the one state information acquired by the second acquisition unit is stored in a third notification packet, and the request packet is transmitted You may provide the 3rd transmission means which transmits the said 3rd notification packet with respect to a terminal device. If the terminal device cannot process two or more pieces of identification information stored in the first notification packet together, the notification device can store one state information in the first notification packet. As a result, the terminal device can reliably acquire the state information.

本発明の第二態様に係る通信システムは、ネットワークに接続した端末装置、及び、前記端末装置及び前記端末装置のユーザの状態を示す状態情報を前記端末装置に対して通知する通知装置を備えた通知システムであって、前記通知装置は、前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段と、前記端末装置から送信された、他の前記端末装置の前記状態情報を要求する要求パケットを受信する第一受信手段と、前記第一受信手段によって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断手段と、前記第一判断手段によって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断手段と、前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得手段と、前記第一取得手段によって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信手段とを備え、前記端末装置は、一又は二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットを、前記通知装置に対して送信する端末送信手段と、前記端末送信手段によって二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットが送信された場合に、前記通知装置から送信される前記第一通知パケットを受信する端末受信手段とを備えている。   A communication system according to a second aspect of the present invention includes a terminal device connected to a network, and a notification device that notifies the terminal device of state information indicating a state of the terminal device and a user of the terminal device. In the notification system, the notification device includes a storage unit in which identification information for identifying the terminal device and the state information are stored in association with each other, and another terminal device transmitted from the terminal device. The first receiving means for receiving the request packet for requesting the state information and the request packet received by the first receiving means determine whether the state information of two or more other terminal devices is requested. Two or more other terminals when it is determined by the first determining means and the first determining means that the state information of two or more other terminal devices is requested. Second identification means for determining whether all of the identification information of the device is stored in the storage means, and all of the identification information of the two or more other terminal devices are stored in the storage means by the second determination means. A first acquisition unit that acquires, from the storage unit, two or more state information corresponding to the identification information of two or more other terminal devices when it is determined that Two or more of the state information acquired by the first notification packet, and a first transmission means for transmitting the first notification packet to the terminal device that transmitted the request packet, the terminal device Is a terminal transmitting means for transmitting the request packet for requesting the status information of one or more of the other terminal devices to the notification device, and two or more of the other terminal devices by the terminal transmitting means. If the request packet requesting the state information of the end device has been transmitted, and a terminal receiving means for receiving the first notice packet transmitted from the notification device.

第二態様によれば、通知装置は、二以上の他の端末装置の状態情報を要求する要求パケットを受信した場合に、対応する二以上の状態情報を取得し、要求パケットを送信した端末装置に対して通知する。通知装置は、要求パケットによって要求されている状態情報の数に基づいて、二以上の状態情報をまとめて通知するか否かを判断できる。通知装置は、端末装置において第一通知パケットに格納された二以上の状態情報をまとめて認識できると判断した場合に、二以上の状態情報をまとめて端末装置に通知する。これによって通知装置は、要求パケットを送信した端末装置が認識可能な態様で、状態情報を端末装置に対して通知することができる。また端末装置は、二以上の他の端末装置の状態情報を要求する要求パケットを送信することによって、二以上の状態情報を同時に取得することができる。これによって、状態情報を取得するために必要な通信を抑制できるので、通信のトラフィックが増大することを防止できる。   According to the second aspect, when the notification device receives a request packet requesting status information of two or more other terminal devices, the notification device acquires the corresponding two or more status information and transmits the request packet. To notify. The notification device can determine whether to notify two or more pieces of state information collectively based on the number of pieces of state information requested by the request packet. When the notification device determines that two or more pieces of state information stored in the first notification packet can be recognized together in the terminal device, the notification device collectively notifies the terminal device of two or more pieces of state information. Thus, the notification device can notify the terminal device of the status information in a manner that can be recognized by the terminal device that transmitted the request packet. Also, the terminal device can acquire two or more status information simultaneously by transmitting a request packet for requesting status information of two or more other terminal devices. As a result, it is possible to suppress communication necessary for acquiring the state information, and it is possible to prevent an increase in communication traffic.

本発明の第三態様に係る端末装置は、一又は二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットを、前記通知装置に対して送信する端末送信手段と、前記端末送信手段によって二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットが送信された場合に、前記通知装置から送信される前記第一通知パケットであって、前記端末送信手段によって送信された前記要求パケットによって要求された二つ以上の前記他の端末装置の前記状態情報が格納された前記第一通知パケットを受信する端末受信手段とを備えている。   A terminal device according to a third aspect of the present invention includes a terminal transmission unit that transmits the request packet for requesting the status information of one or more other terminal devices to the notification device, and the terminal transmission When the request packet requesting the status information of two or more other terminal devices is transmitted by the means, the first notification packet transmitted from the notification device, and transmitted by the terminal transmission device Terminal receiving means for receiving the first notification packet storing the status information of the two or more other terminal devices requested by the request packet.

第三態様によれば、端末装置は、二以上の他の端末装置の状態情報を要求する要求パケットを送信することによって、二以上の状態情報を同時に取得することができる。これによって、状態情報を取得するために必要な通信を抑制できるので、通信のトラフィックが増大することを防止できる。   According to the third aspect, the terminal device can acquire two or more state information simultaneously by transmitting a request packet for requesting the state information of two or more other terminal devices. As a result, it is possible to suppress communication necessary for acquiring the state information, and it is possible to prevent an increase in communication traffic.

本発明の第四態様に係る通信方法は、ネットワークを介して接続した端末装置から送信された、他の前記端末装置及び前記端末装置のユーザの状態を示す前記状態情報を要求する要求パケットを受信する受信ステップと、前記受信ステップによって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断ステップと、前記第一判断ステップによって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段を参照し、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断ステップと、前記第二判断ステップによって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得ステップと、前記第一取得ステップによって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信ステップとを備えている。   A communication method according to a fourth aspect of the present invention receives a request packet for requesting the status information indicating the status of another terminal device and the user of the terminal device, transmitted from a terminal device connected via a network. A first judging step for judging whether the status information of two or more other terminal devices is requested by the request packet received by the receiving step, and the first judging step, When it is determined that the state information of two or more other terminal devices is requested, the storage unit stores the identification information for identifying the terminal device and the state information in association with each other. A second determination step for determining whether all the identification information of the two or more other terminal devices is stored in the storage means, and the second determination step. And when it is determined that all the identification information of the two or more other terminal devices is stored in the storage means, the two or more of the two or more other terminal devices corresponding to the identification information of the other terminal devices A first acquisition step of acquiring state information from the storage means; and two or more of the state information acquired by the first acquisition step are stored in a first notification packet, and the terminal device that has transmitted the request packet A first transmission step of transmitting the first notification packet.

第四態様によれば、二以上の他の端末装置の状態情報を要求する要求パケットを受信した場合に、対応する二以上の状態情報を取得し、要求パケットを送信した端末装置に対して通知する。通知装置は、要求パケットによって要求されている状態情報の数に基づいて、二以上の状態情報をまとめて通知するか否かを判断できる。通知装置は、端末装置において第一通知パケットに格納された二以上の状態情報をまとめて認識できると判断した場合に、二以上の状態情報をまとめて端末装置に通知する。これによって通知装置は、要求パケットを送信した端末装置が認識可能な態様で、状態情報を端末装置に対して通知することができる。   According to the fourth aspect, when a request packet requesting status information of two or more other terminal devices is received, the corresponding two or more status information is acquired and notified to the terminal device that transmitted the request packet To do. The notification device can determine whether to notify two or more pieces of state information collectively based on the number of pieces of state information requested by the request packet. When the notification device determines that two or more pieces of state information stored in the first notification packet can be recognized together in the terminal device, the notification device collectively notifies the terminal device of two or more pieces of state information. Thus, the notification device can notify the terminal device of the status information in a manner that can be recognized by the terminal device that transmitted the request packet.

本発明の第五態様に係る通信プログラムは、ネットワークを介して接続した端末装置から送信された、他の前記端末装置及び前記他の端末装置のユーザの状態を示す前記状態情報を要求する要求パケットを受信する受信ステップと、前記受信ステップによって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断ステップと、前記第一判断ステップによって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段を参照し、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断ステップと、前記第二判断ステップによって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得ステップと、前記第一取得ステップによって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信ステップとをコンピュータに実行させる。   The communication program which concerns on the 5th aspect of this invention is a request packet which requests | requires the said state information which shows the state of the user of the said other terminal device and the said other terminal device transmitted from the terminal device connected via the network A first judging step for judging whether the status information of two or more other terminal devices is requested by the request packet received by the receiving step, and the first judging step Storage means for storing identification information for identifying the terminal device and the state information in association with each other when it is determined that the state information of two or more other terminal devices is requested by A second determination step of determining whether or not all the identification information of the two or more other terminal devices is stored in the storage means, and the second determination step Two or more corresponding to the identification information of the two or more other terminal devices when it is determined that all the identification information of the two or more other terminal devices is stored in the storage means. A first acquisition step of acquiring the state information from the storage means; and two or more of the state information acquired by the first acquisition step are stored in a first notification packet, and the terminal that has transmitted the request packet Causing the computer to execute a first transmission step of transmitting the first notification packet to the apparatus.

第五態様によれば、二以上の他の端末装置の状態情報を要求する要求パケットを受信した場合に、対応する二以上の状態情報を取得し、要求パケットを送信した端末装置に対して通知する。通知装置は、要求パケットによって要求されている状態情報の数に基づいて、二以上の状態情報をまとめて通知するか否かを判断できる。通知装置は、端末装置において第一通知パケットに格納された二以上の状態情報をまとめて認識できると判断した場合に、二以上の状態情報をまとめて端末装置に通知する。これによって通知装置は、要求パケットを送信した端末装置が認識可能な態様で、状態情報を端末装置に対して通知することができる。   According to the fifth aspect, when a request packet requesting status information of two or more other terminal devices is received, the corresponding two or more status information is acquired and notified to the terminal device that transmitted the request packet To do. The notification device can determine whether to notify two or more pieces of state information collectively based on the number of pieces of state information requested by the request packet. When the notification device determines that two or more pieces of state information stored in the first notification packet can be recognized together in the terminal device, the notification device collectively notifies the terminal device of two or more pieces of state information. Thus, the notification device can notify the terminal device of the status information in a manner that can be recognized by the terminal device that transmitted the request packet.

通信システム1の概要、並びに、通知装置10及び端末装置14の電気的構成を示す図である。1 is a diagram illustrating an overview of a communication system 1 and electrical configurations of a notification device 10 and a terminal device 14. 通信シーケンスを示す図である。It is a figure which shows a communication sequence. 第一テーブル241を示す図である。It is a figure which shows the 1st table 241. FIG. 第二テーブル242を示す図である。It is a figure which shows the 2nd table 242. 通知メイン処理を示すフローチャートである。It is a flowchart which shows the notification main process. 端末メイン処理を示すフローチャートである。It is a flowchart which shows a terminal main process.

以下、本発明の一実施形態について、図面を参照して説明する。これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものである。記載されている装置の構成、各種処理のフローチャート等は、それのみに限定する趣旨ではなく、単なる説明例である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. These drawings are used to explain technical features that can be adopted by the present invention. The configuration of the apparatus, the flowcharts of various processes, and the like that are described are not intended to be limited to only that, but are merely illustrative examples.

図1を参照し、通信システム1について説明する。通信システム1は、通知装置10、端末装置11、12、及び13(以下、これらを区別しない場合、「端末装置14」と呼ぶ。)を備えている。通知装置10及び端末装置14は、ネットワーク3に接続している。通知装置10及び端末装置14は、ネットワーク3を介して通信を行うことができる。なお、通信装置14に付された符号(11、12、及び13)は、其々の通信装置14のIDも示しているものとする。   The communication system 1 will be described with reference to FIG. The communication system 1 includes a notification device 10, and terminal devices 11, 12, and 13 (hereinafter referred to as “terminal device 14” when they are not distinguished from each other). The notification device 10 and the terminal device 14 are connected to the network 3. The notification device 10 and the terminal device 14 can communicate via the network 3. In addition, the code | symbol (11,12,13) attached | subjected to the communication apparatus 14 shall also show ID of each communication apparatus 14. FIG.

通知装置10は、SIP(Session Initiation Protocol)に基づいてプレゼンスサービスを提供するプレゼンスサーバである。端末装置14は、周知のPCである。プレゼンスサービスでは、端末装置14の状態、及び、端末装置14を使用するユーザの状態を示す状態情報が、通知装置10から端末装置14に対して通知される。端末装置14では、通知装置10から取得された状態情報をユーザに通知するための画像が、出力部36(ディスプレイ)から出力される。端末装置14のユーザは、他の端末装置14及び他の端末装置14を使用するユーザの状態(「ログイン」「ログアウト」「退席中」など)を認識することができる。   The notification device 10 is a presence server that provides a presence service based on SIP (Session Initiation Protocol). The terminal device 14 is a known PC. In the presence service, the status information indicating the status of the terminal device 14 and the status of the user using the terminal device 14 is notified from the notification device 10 to the terminal device 14. In the terminal device 14, an image for notifying the user of the state information acquired from the notification device 10 is output from the output unit 36 (display). The user of the terminal device 14 can recognize the other terminal device 14 and the state of the user who uses the other terminal device 14 (such as “login”, “logout”, “away”).

通知装置10の電気的構成について説明する。通知装置10は、通知装置10の制御を司るCPU21を備えている。CPU21は、ROM22、RAM23、ハードディスクドライブ(HDD)24、通信部25、及びドライブ装置26と電気的に接続している。ROM22には、ブートプログラムやBIOS、OS等が記憶される。RAM23には、タイマやカウンタ、一時的なデータが記憶される。HDD24には、CPU21の制御プログラムが記憶される。またHDD24には、第一テーブル及び第二テーブルが記憶される。第一テーブルは、プレゼンティティのIDと状態情報とを対応付けて管理するためのテーブルである。第二テーブルは、ウォッチャのIDとプレゼンティティのIDとを管理するためのテーブルである。第一テーブル及び第二テーブルの詳細は後述する。通信部25は、ネットワーク3を介して端末装置14と通信を行う場合のタイミング制御を行う。ドライブ装置26は、記憶媒体261に記憶された情報を読み出すことができる。例えば、通知装置10のセットアップ時、記憶媒体261に記憶された制御プログラムはドライブ装置26によって読み出され、HDD24に記憶される。   The electrical configuration of the notification device 10 will be described. The notification device 10 includes a CPU 21 that controls the notification device 10. The CPU 21 is electrically connected to the ROM 22, RAM 23, hard disk drive (HDD) 24, communication unit 25, and drive device 26. The ROM 22 stores a boot program, BIOS, OS, and the like. The RAM 23 stores a timer, a counter, and temporary data. The HDD 24 stores a control program for the CPU 21. The HDD 24 stores a first table and a second table. The first table is a table for managing the presentity ID and the state information in association with each other. The second table is a table for managing watcher IDs and presentity IDs. Details of the first table and the second table will be described later. The communication unit 25 performs timing control when communicating with the terminal device 14 via the network 3. The drive device 26 can read information stored in the storage medium 261. For example, when the notification device 10 is set up, the control program stored in the storage medium 261 is read by the drive device 26 and stored in the HDD 24.

端末装置14の電気的構成について説明する。端末装置14は、端末装置14の制御を司るCPU31を備えている。CPU31は、ROM32、RAM33、HDD34、入力部35、出力部36、通信部37、及びドライブ装置38と電気的に接続している。ROM32には、ブートプログラムやBIOS、OS等が記憶される。RAM33には、タイマやカウンタ、一時的なデータが記憶される。HDD34には、CPU31の制御プログラムが記憶される。入力部35は、ユーザからの入力を受け付けるキーボードやマウスである。出力部36は、所望の画像を表示させるディスプレイである。通信部37は、ネットワーク3を介して通知装置10と通信を行う場合のタイミング制御を行う。ドライブ装置38は、記憶媒体381に記憶された情報を読み出すことができる。例えば、端末装置14のセットアップ時、記憶媒体381に記憶された制御プログラムはドライブ装置38によって読み出され、HDD34に記憶される。   The electrical configuration of the terminal device 14 will be described. The terminal device 14 includes a CPU 31 that controls the terminal device 14. The CPU 31 is electrically connected to the ROM 32, RAM 33, HDD 34, input unit 35, output unit 36, communication unit 37, and drive device 38. The ROM 32 stores a boot program, BIOS, OS, and the like. The RAM 33 stores timers, counters, and temporary data. The HDD 34 stores a control program for the CPU 31. The input unit 35 is a keyboard or a mouse that receives input from the user. The output unit 36 is a display that displays a desired image. The communication unit 37 performs timing control when communicating with the notification device 10 via the network 3. The drive device 38 can read information stored in the storage medium 381. For example, when the terminal device 14 is set up, the control program stored in the storage medium 381 is read by the drive device 38 and stored in the HDD 34.

端末装置14が通知装置10から状態情報を取得する場合に実行される通信の方法について、図2を参照して説明する。本実施形態では、端末装置11と端末装置12とでは、通知装置10から状態情報を取得する場合に実行される通信の方法が異なる。端末装置11は、一のプレゼンティティを指定し、対応する状態情報を通知装置10に対して要求する。通知装置10は、指定された一のプレゼンティティに対応する一の状態情報を、ウォッチャである端末装置11に対して通知する。従って、端末装置11が複数のプレゼンティティに対応する状態情報を取得したい場合、端末装置11は、プレゼンティティの数分、通知装置10との通信を繰り返す必要がある。なおこの方法は、SIPに基づいて通常行われる状態情報の取得方法に基づいている。   A communication method executed when the terminal device 14 acquires state information from the notification device 10 will be described with reference to FIG. In the present embodiment, the terminal device 11 and the terminal device 12 differ in the communication method executed when the status information is acquired from the notification device 10. The terminal device 11 designates one presentity and requests corresponding status information from the notification device 10. The notification device 10 notifies one state information corresponding to one designated presentity to the terminal device 11 which is a watcher. Therefore, when the terminal device 11 wants to acquire state information corresponding to a plurality of presentities, the terminal device 11 needs to repeat communication with the notification device 10 by the number of presentities. This method is based on a state information acquisition method that is normally performed based on SIP.

図2に示すように、端末装置11は、はじめに、登録を要求するパケット(以下「REGISTER」という。)を通知装置10に対して送信する。通知装置10は、REGISTERを受信する(S11)。通知装置10は、REGISTERを送信した端末装置11のIDを、HDD24に記憶された第一テーブル(詳細後述)に格納することによって、端末装置11を登録する。続いて端末装置11は、端末装置11に対応する状態情報を通知するためのパケット(以下「PUBLISH」という。)を、通知装置10に対して送信する。PUBLISHには、状態情報「ログイン」が格納されている。通知装置10は、PUBLISHを受信する(S13)。通知装置10は、受信したPUBLISHに格納された状態情報「ログイン」を取得し、第一テーブル(詳細後述)に格納する。通知装置10は、端末装置11に対して肯定的な応答信号(以下「200 OK」という。)を送信する。端末装置11は200 OKを受信する(S15)。   As illustrated in FIG. 2, the terminal device 11 first transmits a packet requesting registration (hereinafter referred to as “REGISTER”) to the notification device 10. The notification device 10 receives REGISTER (S11). The notification device 10 registers the terminal device 11 by storing the ID of the terminal device 11 that has transmitted REGISTER in a first table (details will be described later) stored in the HDD 24. Subsequently, the terminal device 11 transmits a packet (hereinafter referred to as “PUBLISH”) for notifying state information corresponding to the terminal device 11 to the notification device 10. PUBLISH stores state information “login”. The notification device 10 receives PUBLISH (S13). The notification device 10 acquires the status information “login” stored in the received PUBLISH and stores it in the first table (details will be described later). The notification device 10 transmits a positive response signal (hereinafter referred to as “200 OK”) to the terminal device 11. The terminal device 11 receives 200 OK (S15).

図3を参照し、第一テーブルの一例である、第一テーブル241について説明する。第一テーブル241には、プレゼンティティID、及び、状態情報が格納されている。通知装置10は、REGISTERを受信した場合(S11、図2参照)、REGISTERを送信した端末装置11のIDを特定し、プレゼンティティIDとして第一テーブル241に格納する。また通知装置10は、PUBLISHを受信した場合(S13、図2参照)、PUBLISHに格納されている状態情報「ログイン」を、PUBLISHを送信した端末装置11のIDに対応付けて第一テーブル241に格納する。なお、通知装置10に対しては、端末装置12、13からも同様にREGISTER及びPUBLISHが送信されているものとする。従って第一テーブル241には、「プレゼンティティID:12、状態情報:ログイン」「プレゼンティティID:13、状態情報:ログアウト」が格納されている。   With reference to FIG. 3, the first table 241 as an example of the first table will be described. The first table 241 stores a presentity ID and state information. When receiving the REGISTER (S11, see FIG. 2), the notification device 10 identifies the ID of the terminal device 11 that has transmitted the REGISTER, and stores it in the first table 241 as a presentity ID. Further, when receiving the PUBLISH (S13, see FIG. 2), the notification device 10 associates the status information “login” stored in the PUBLISH with the ID of the terminal device 11 that has transmitted the PUBLISH in the first table 241. Store. It is assumed that REGISTER and PUBLISH are also transmitted to the notification device 10 from the terminal devices 12 and 13 in the same manner. Accordingly, “presentity ID: 12, status information: login” “presentity ID: 13, status information: logout” is stored in the first table 241.

図2において、端末装置11のユーザが、端末装置12及び13に対応する状態情報の取得を所望しているとする。端末装置11は、状態情報の要求を行うパケット(以下「SUBSCRIBE」という。)に、プレゼンティティに相当する端末装置12、13のうち一方(端末装置12)のIDを格納する。端末装置11は、プレゼンティティのID(以下「プレゼンティティID」という。)「12」が格納されたSUBSCRIBEを、通知装置10に対して送信する。通知装置10は、SUBSCRIBEを受信する(S17)。通知装置10は、SUBSCRIBEを送信した端末装置11のID「11」、及び、SUBSCRIBEに格納されたプレゼンティティID「12」を、HDD24に記憶された第二テーブル(詳細後述)に格納する。通知装置10は、端末装置11に対して200 OKを送信する。端末装置11は200 OKを受信する(S19)。   In FIG. 2, it is assumed that the user of the terminal device 11 desires to obtain state information corresponding to the terminal devices 12 and 13. The terminal device 11 stores the ID of one of the terminal devices 12 and 13 (terminal device 12) corresponding to the presentity in a packet for requesting status information (hereinafter referred to as “SUBSCRIBE”). The terminal device 11 transmits the SUBSCRIBE storing the presentity ID (hereinafter referred to as “presentity ID”) “12” to the notification device 10. The notification device 10 receives SUBSCRIBE (S17). The notification device 10 stores the ID “11” of the terminal device 11 that transmitted the SUBSCRIBE and the presentity ID “12” stored in the SUBSCRIBE in a second table (details will be described later) stored in the HDD 24. The notification device 10 transmits 200 OK to the terminal device 11. The terminal device 11 receives 200 OK (S19).

図4を参照し、HDD24に記憶された第二テーブルの一例である第二テーブル242について説明する。第二テーブル242には、ウォッチャIDとプレゼンティティIDとが格納されている。通知装置10は、SUBSCRIBEを受信した場合(S17、図2参照)、SUBSCRIBEを送信した端末装置11のID「11」を、ウォッチャIDとして第二テーブル242に格納する。また通知装置10は、受信したSUBSCRIBEに格納されたプレゼンティティID「12」を取得し、ウォッチャIDに対応付けて第二テーブル242に格納する。   With reference to FIG. 4, the second table 242 which is an example of the second table stored in the HDD 24 will be described. The second table 242 stores a watcher ID and a presentity ID. When receiving the SUBSCRIBE (see S17, FIG. 2), the notification device 10 stores the ID “11” of the terminal device 11 that has transmitted the SUBSCRIBE in the second table 242 as a watcher ID. Further, the notification device 10 acquires the presentity ID “12” stored in the received SUBSCRIBE and stores it in the second table 242 in association with the watcher ID.

図2において、通知装置10は、端末装置11に対して200 OKを送信した後、S17で受信したSUBSCRIBEに格納されたプレゼンティティID「12」に対応する状態情報を、第一テーブルから取得する。図3の第一テーブル241では、プレゼンティティID「12」に状態情報「ログイン」が対応付けられているので、通知装置10は、「ログイン」を状態情報として取得する。通知装置10は、取得した状態情報「ログイン」とプレゼンティティID「12」とを対応付け、状態情報の通知を行うパケット(以下「NOTIFY」という。)に格納する。通知装置10は、端末装置11に対してNOTIFYを送信する。端末装置11は、NOTIFYを受信する(S21)。これによって端末装置11は、S17でSUBSCRIBEによって要求した端末装置12に対応する状態情報「ログイン」を取得する。端末装置11は、通知装置10に対して200 OKを送信し、通知装置10は200 OKを受信する(S23)。   In FIG. 2, after transmitting 200 OK to the terminal device 11, the notification device 10 acquires the status information corresponding to the presentity ID “12” stored in the SUBSCRIBE received in S <b> 17 from the first table. . In the first table 241 of FIG. 3, since the status information “login” is associated with the presentity ID “12”, the notification device 10 acquires “login” as the status information. The notification device 10 associates the acquired state information “login” with the presentity ID “12” and stores them in a packet (hereinafter referred to as “NOTIFY”) that notifies the state information. The notification device 10 transmits NOTIFY to the terminal device 11. The terminal device 11 receives NOTIFY (S21). Thereby, the terminal device 11 acquires the status information “login” corresponding to the terminal device 12 requested by SUBSCRIBE in S17. The terminal device 11 transmits 200 OK to the notification device 10, and the notification device 10 receives 200 OK (S23).

続いて端末装置11は、状態情報を所望する端末装置12及び13のうち、他方のプレゼンティティである端末装置13に対応する状態情報を取得するために、通知装置10に対してSUBSCRIBEを送信する。SUBSCRIBEには、プレゼンティティID「13」が格納される。通知装置10はSUBSCRIBEを受信する(S25)。通知装置10は、SUBSCRIBEを送信した端末装置11のID「11」を、ウォッチャIDとして第二テーブルに格納する。また通知装置10は、SUBSCRIBEに格納されたプレゼンティティID「13」を第二テーブルに格納する。なお図4の第二テーブル242のように、既に同一のウォッチャID「11」が格納されている場合には、プレゼンティティID「13」は既存のプレゼンティティID「12」に追加して対応付けられ、格納される。通知装置10は、端末装置11に対して200 OKを送信し、端末装置11は200 OKを受信する(S27)。   Subsequently, the terminal device 11 transmits SUBSCRIBE to the notification device 10 in order to acquire the state information corresponding to the terminal device 13 that is the other presentity among the terminal devices 12 and 13 that desire the state information. . Presentity ID “13” is stored in SUBSCRIBE. The notification device 10 receives SUBSCRIBE (S25). The notification device 10 stores the ID “11” of the terminal device 11 that has transmitted SUBSCRIBE as a watcher ID in the second table. Further, the notification device 10 stores the presentity ID “13” stored in the SUBSCRIBE in the second table. If the same watcher ID “11” is already stored as in the second table 242 of FIG. 4, the presentity ID “13” is added to the existing presentity ID “12” and associated. And stored. The notification device 10 transmits 200 OK to the terminal device 11, and the terminal device 11 receives 200 OK (S27).

通知装置10は、S25で受信したSUBSCRIBEに格納されたプレゼンティティID「13」に対応する状態情報を、第一テーブルから取得する。図3の第一テーブル241では、プレゼンティティID「13」に状態情報「ログアウト」が対応付けられているので、通知装置10は、「ログアウト」を状態情報として取得する。通知装置10は、プレゼンティティID「13」及び状態情報「ログアウト」が対応付けて格納されたNOTIFYを、端末装置11に対して送信する。端末装置11はNOTIFYを受信する(S29)。これによって端末装置11は、S25でSUBSCRIBEによって要求した端末装置13に対応する状態情報「ログアウト」を取得する。端末装置11は、通知装置10に対して200 OKを送信し、通知装置10は200 OKを受信する(S31)。以上のようにして通知装置10は、端末装置11からの要求に応じ、状態情報を端末装置11に対して通知する。   The notification device 10 acquires status information corresponding to the presentity ID “13” stored in the SUBSCRIBE received in S25 from the first table. In the first table 241 of FIG. 3, since the status information “logout” is associated with the presentity ID “13”, the notification device 10 acquires “logout” as the status information. The notification device 10 transmits to the terminal device 11 NOTIFY in which the presentity ID “13” and the state information “logout” are stored in association with each other. The terminal device 11 receives NOTIFY (S29). Thereby, the terminal device 11 acquires the status information “logout” corresponding to the terminal device 13 requested by SUBSCRIBE in S25. The terminal device 11 transmits 200 OK to the notification device 10, and the notification device 10 receives 200 OK (S31). As described above, the notification device 10 notifies the terminal device 11 of status information in response to a request from the terminal device 11.

一方、端末装置12は、端末装置11とは異なり、二以上のプレゼンティティのIDを一つのSUBSCRIBEに格納して送信することで、対応する二以上の状態情報を通知装置10に対して一度に要求できる。通知装置10は、一つのSUBSCRIBEによって二以上の状態情報が要求された場合、要求された二以上の状態情報を200 OKに格納し、端末装置12に対して送信する。これによって通知装置10は、端末装置12に対して複数の状態情報を同時に通知できる。通知装置10は、状態情報を端末装置12に対して通知する場合に必要となる通信を抑制することで、トラフィックの増大を防止している。   On the other hand, unlike the terminal device 11, the terminal device 12 stores two or more presentity IDs in one SUBSCRIBE and transmits the corresponding two or more status information to the notification device 10 at a time. Can request. When two or more pieces of state information are requested by one SUBSCRIBE, the notification device 10 stores the requested two or more pieces of state information in 200 OK and transmits them to the terminal device 12. As a result, the notification device 10 can simultaneously notify the terminal device 12 of a plurality of state information. The notification device 10 prevents an increase in traffic by suppressing communication required when notifying the terminal device 12 of the state information.

図2に示すように、端末装置12から送信されるREGISTERによって、端末装置12は通知装置10に登録される(S33)。端末装置12のID「12」は、プレゼンティティIDとして第一テーブルに格納される。続いて端末装置12から送信されるPUBLISH(ログイン)によって、端末装置12に対応する状態情報が通知装置10に通知される(S35)。状態情報「ログイン」が、プレゼンティティID「12」に対応付けられて第一テーブルに格納される。通知装置10から端末装置12に対して、200 OKが送信される(S37)。以上の処理は、前述したS11、S13、及びS15と同じである。   As shown in FIG. 2, the terminal device 12 is registered in the notification device 10 by REGISTER transmitted from the terminal device 12 (S33). The ID “12” of the terminal device 12 is stored in the first table as a presentity ID. Subsequently, status information corresponding to the terminal device 12 is notified to the notification device 10 by PUBLISH (login) transmitted from the terminal device 12 (S35). The status information “login” is stored in the first table in association with the presentity ID “12”. 200 OK is transmitted from the notification device 10 to the terminal device 12 (S37). The above processing is the same as S11, S13, and S15 described above.

端末装置12のユーザが、端末装置11及び13に対応する状態情報の取得を所望しているとする。端末装置12は、端末装置11のID「11」及び端末装置13のID「13」を、プレゼンティティIDとしてSUBSCRIBEに格納する。端末装置12は、プレゼンティティIDが格納されたSUBSCRIBEを、通知装置10に対して送信する。通知装置10はSUBSCRIBEを受信する(S39)。通知装置10は、受信したSUBSCRIBEに格納されたプレゼンティティID「11」に対応する状態情報と、プレゼンティティID「13」に対応する状態情報を、第一テーブルから取得する。図3の第一テーブル241では、プレゼンティティID「11」に状態情報「ログイン」が対応付けられ、プレゼンティティID「13」に状態情報「ログアウト」が対応付けられているので、通知装置10は、状態情報「ログイン」「ログアウト」を其々取得する。通知装置10は、取得した状態情報とプレゼンティティIDとを対応付けて200 OKに格納し、端末装置12に対して送信する。端末装置12は200 OKを受信する(S41)。これによって端末装置12は、S39において送信されたSUBSCRIBEに対する応答確認を行うと同時に、S39でSUBSCRIBEによって要求した端末装置11に対応する状態情報「ログイン」と、端末装置13に対応する状態情報「ログアウト」とを一度に取得できる。   It is assumed that the user of the terminal device 12 desires to acquire state information corresponding to the terminal devices 11 and 13. The terminal device 12 stores the ID “11” of the terminal device 11 and the ID “13” of the terminal device 13 in the SUBSCRIBE as a presentity ID. The terminal device 12 transmits SUBSCRIBE in which the presentity ID is stored to the notification device 10. The notification device 10 receives SUBSCRIBE (S39). The notification device 10 acquires the status information corresponding to the presentity ID “11” stored in the received SUBSCRIBE and the status information corresponding to the presentity ID “13” from the first table. In the first table 241 of FIG. 3, the status information “login” is associated with the presentity ID “11”, and the status information “logout” is associated with the presentity ID “13”. The status information “login” and “logout” are acquired. The notification device 10 associates the acquired state information with the presentity ID, stores them in 200 OK, and transmits them to the terminal device 12. The terminal device 12 receives 200 OK (S41). As a result, the terminal device 12 confirms the response to the SUBSCRIBE transmitted in S39, and at the same time, the status information “login” corresponding to the terminal device 11 requested by the SUBSCRIBE in S39 and the status information “logout” corresponding to the terminal device 13. Can be acquired at once.

端末装置13から通知装置10に対してPUBLISH(ログイン)が送信されたとする(S43)。第一テーブルのうち、プレゼンティティID「13」に対応する状態情報は、「ログイン」に更新される。このような場合、通知装置10では、更新された状態情報を他の端末装置14に通知するために、以下の通信が実行される。   It is assumed that PUBLISH (login) is transmitted from the terminal device 13 to the notification device 10 (S43). In the first table, the status information corresponding to the presentity ID “13” is updated to “login”. In such a case, the notification device 10 performs the following communication in order to notify the updated state information to the other terminal devices 14.

通知装置10は、第二テーブルを参照する。通知装置は、PUBLISH(ログイン)を送信した端末装置13のID「13」が、プレゼンティティIDとして第二テーブルに格納されている場合、対応するウォッチャIDにて特定される端末装置14に対して、更新された状態情報を通知する。図4の第二テーブル242では、プレゼンティティID「13」にはウォッチャID「11」及び「12」が対応付けられている。従って通知装置10は、端末装置11に対して、端末装置13に対応する状態情報「ログイン」が格納されたNOTIFYを送信する(S45)。また通知装置10は、端末装置12に対して、端末装置13に対応する状態情報「ログイン」が格納されたNOTIFYを送信する(S47)。以上のように、通知装置10は、端末装置14に対して一旦通知された状態情報が更新された場合、更新後の状態情報を、端末装置14に対して再度通知することができる。   The notification device 10 refers to the second table. When the ID “13” of the terminal device 13 that transmitted PUBLISH (login) is stored in the second table as a presentity ID, the notification device responds to the terminal device 14 specified by the corresponding watcher ID. , Notify the updated status information. In the second table 242 of FIG. 4, the presenter ID “13” is associated with the watcher IDs “11” and “12”. Therefore, the notification device 10 transmits NOTIFY storing the state information “login” corresponding to the terminal device 13 to the terminal device 11 (S45). Further, the notification device 10 transmits NOTIFY storing the state information “login” corresponding to the terminal device 13 to the terminal device 12 (S47). As described above, when the state information once notified to the terminal device 14 is updated, the notification device 10 can notify the terminal device 14 of the updated state information again.

以上のように、通知装置10は、SUBSCRIBEによって要求されている状態情報の数に基づいて、二以上の状態情報をまとめて通知するか否かを判断している。これによって通知装置10は、SUBSCRIBEを送信した端末装置14が認識可能な態様で、状態情報を端末装置14に対して通知することができる。また、通常のSIPに基づいたプレゼンスサービスでは、端末装置11にて実行される通信(S11〜S31)で示されるように、多くの通信手順が必要となる。これに対して、通知装置10は、状況に応じて、肯定的な応答パケットである200 OKに状態情報を格納し、端末装置14に対して通知できる。これによって通知装置10は、プレゼンスサービスに必要な通信量を抑制できる。   As described above, the notification device 10 determines whether or not two or more pieces of state information are to be notified collectively based on the number of pieces of state information requested by the SUBSCRIBE. As a result, the notification device 10 can notify the terminal device 14 of the status information in such a manner that the terminal device 14 that transmitted the SUBSCRIBE can recognize. Moreover, in the presence service based on normal SIP, many communication procedures are required as shown by the communication (S11 to S31) executed in the terminal device 11. On the other hand, the notification device 10 can store the status information in 200 OK, which is a positive response packet, and notify the terminal device 14 according to the situation. As a result, the notification device 10 can suppress the amount of communication necessary for the presence service.

例えば端末装置11では、SIPに基づいて通常行われる通信方法に基づいてのみ状態情報が取得されるので、複数の状態情報が格納されたメッセージを受信しても、複数の状態情報をメッセージから取得することができない。さらに端末装置11は、200 OKから状態情報を取得することができない。従って通知装置10は、端末装置11に対しては、SIPに基づいて通常行われる通信方法に基づき、NOTIFYに一の状態情報を格納して通知する。一方で端末装置12は、複数の状態情報が格納された200 OKから状態情報を取得することができるので、通知装置10は、複数の状態情報が格納された200 OKを使用し、状態情報を通知する。このように通知装置10は、状態情報を取得するための通信方法が異なる複数の端末装置14がネットワーク3に併存している場合であっても、端末装置14毎に最適な通信方法を選択し、状態情報を通知することができる。   For example, in the terminal device 11, the status information is acquired only based on a communication method that is normally performed based on the SIP. Therefore, even when a message storing a plurality of status information is received, a plurality of status information is acquired from the message. Can not do it. Furthermore, the terminal device 11 cannot acquire state information from 200 OK. Therefore, the notification device 10 notifies the terminal device 11 by storing one state information in NOTIFY based on a communication method normally performed based on SIP. On the other hand, since the terminal device 12 can acquire the state information from the 200 OK in which the plurality of state information is stored, the notification device 10 uses the 200 OK in which the plurality of state information is stored, Notice. As described above, the notification device 10 selects an optimal communication method for each terminal device 14 even when a plurality of terminal devices 14 having different communication methods for acquiring state information coexist in the network 3. The status information can be notified.

図5を参照し、通知装置10のCPU21において実行される通知メイン処理について説明する。通知メイン処理は、CPU21に電源が投入された場合において、CPU21において起動され実行される。   With reference to FIG. 5, the notification main process performed in CPU21 of the notification apparatus 10 is demonstrated. The notification main process is activated and executed by the CPU 21 when the power is turned on.

端末装置14からSUBSCRIBEを受信したかが判断される(S51)。端末装置14からSUBSCRIBEを受信した場合(S51:YES)、SUBSCRIBEを送信した端末装置14のIDが、ウォッチャIDとして第二テーブルに格納される。また、SUBSCRIBEに格納されているプレゼンティティIDが、ウォッチャIDに対応付けられて第二テーブルに格納される(S53)。   It is determined whether SUBSCRIBE has been received from the terminal device 14 (S51). When the SUBSCRIBE is received from the terminal device 14 (S51: YES), the ID of the terminal device 14 that has transmitted the SUBSCRIBE is stored in the second table as a watcher ID. The presentity ID stored in the SUBSCRIBE is stored in the second table in association with the watcher ID (S53).

SUBSCRIBEに二以上のプレゼンティティIDが格納されているかが判断される(S63)。SUBSCRIBEに格納されているプレゼンティティIDが一つである場合(S63:NO)、SUBSCRIBEを送信した端末装置14は、複数の状態情報が格納されたメッセージを受信しても、このメッセージから状態情報を取得することができない可能性がある。この場合、SUBSCRIBEを送信した端末装置14に対して200 OKが送信される(S81)。S51で受信したSUBSCRIBEに格納されていたプレゼンティティIDが取得される。第一テーブルが参照される。取得されたプレゼンティティIDに対応する状態情報が取得される(S83)。取得された状態情報とプレゼンティティIDとが格納されたNOTIFYが作成される(S85)。作成されたNOTIFYは、SUBSCRIBEを送信した端末装置14に対して送信される(S87)。処理はS51に戻る。このように通知装置10は、端末装置14において複数の状態情報が格納されたメッセージを処理することができない可能性があると判断した場合、一の状態情報が格納されたメッセージ(NOTIFY)を端末装置14に対して送信する。これによって端末装置14は、確実に状態情報を取得できる。   It is determined whether or not two or more presentity IDs are stored in SUBSCRIBE (S63). When there is only one presentity ID stored in the SUBSCRIBE (S63: NO), even if the terminal device 14 that transmitted the SUBSCRIBE receives a message storing a plurality of status information, the status information is received from this message. May not be able to get. In this case, 200 OK is transmitted to the terminal device 14 that transmitted SUBSCRIBE (S81). The presentity ID stored in the SUBSCRIBE received in S51 is acquired. The first table is referenced. Status information corresponding to the acquired presentity ID is acquired (S83). A NOTIFY storing the acquired state information and the presentity ID is created (S85). The created NOTIFY is transmitted to the terminal device 14 that transmitted SUBSCRIBE (S87). The process returns to S51. As described above, when the notification device 10 determines that there is a possibility that the terminal device 14 cannot process a message storing a plurality of state information, the notification device 10 transmits a message (NOTIFY) storing one state information to the terminal. Transmit to device 14. As a result, the terminal device 14 can reliably acquire the state information.

一方、S51で受信したSUBSCRIBEに、二以上のプレゼンティティIDが格納されていた場合(S63:YES)、SUBSCRIBEを送信した端末装置14において、複数の状態情報が格納されたメッセージから状態情報を取得することができると判断される。SUBSCRIBEに格納されていたプレゼンティティIDは、RAM23に記憶される。RAM23に記憶された二以上のプレゼンティティIDが、第一テーブルに全て格納されているかが判断される(S65)。RAM23に記憶された二以上のプレゼンティティIDが第一テーブルに全て格納されている場合(S65:YES)、プレゼンティティIDに対応する状態情報を、SUBSCRIBEを送信した端末装置14に対して通知するための処理が、以下のようにして実行される。   On the other hand, if two or more presentity IDs are stored in the SUBSCRIBE received in S51 (S63: YES), the terminal device 14 that transmitted the SUBSCRIBE obtains the state information from the message storing a plurality of state information. It is judged that it can be done. The presentity ID stored in the SUBSCRIBE is stored in the RAM 23. It is determined whether two or more presentity IDs stored in the RAM 23 are all stored in the first table (S65). When two or more presentity IDs stored in the RAM 23 are all stored in the first table (S65: YES), status information corresponding to the presentity ID is notified to the terminal device 14 that transmitted the SUBSCRIBE. The process for this is performed as follows.

RAM23に記憶した二以上のプレゼンティティIDが、一つずつ選択される。第一テーブルが参照される。選択されたプレゼンティティIDに対応する状態情報が取得される(S67)。取得された状態情報のデータサイズの合計が、所定値より大きいかが判断される(S69)。所定値は、例えば、ネットワーク3に介在するルータやサーバにおいて転送し得る最大のデータサイズに基づいて決定される。データサイズの合計が所定値以下である場合(S71:NO)、処理はS67に戻る。選択されていないプレゼンティティIDがRAM23から順番に選択され、対応する状態情報が取得されて(S67)、処理が繰り返される。   Two or more presentity IDs stored in the RAM 23 are selected one by one. The first table is referenced. Status information corresponding to the selected presentity ID is acquired (S67). It is determined whether the total data size of the acquired state information is larger than a predetermined value (S69). The predetermined value is determined based on, for example, the maximum data size that can be transferred by a router or server interposed in the network 3. If the total data size is equal to or smaller than the predetermined value (S71: NO), the process returns to S67. Unselected presentity IDs are selected in order from the RAM 23, the corresponding state information is acquired (S67), and the process is repeated.

状態情報のデータサイズの合計が所定値より大きくなった場合(S69:YES)、データサイズの合計が所定値以下となるように、状態情報が一つ取り除かれる。取り除かれた状態情報に対応するプレゼンティティIDは、RAM23に戻される。データサイズの合計が所定値以下となるように調整された状態情報と、対応するプレゼンティティIDが200 OKに格納され、200 OKが作成される(S71)。作成された200 OKは、SUBSCRIBEを送信した端末装置14に対して送信される(S73)。RAM23に、選択されていないプレゼンティティIDが残っているかが判断される(S75)。選択されていないプレゼンティティIDがRAM23に残っている場合(S75:YES)、処理はS67に戻る。残りのプレゼンティティID及び対応する状態情報を200 OKに格納して送信するために、処理が繰り返される。一方、RAM23に記憶されたプレゼンティティIDが全て選択された場合(S75:NO)、処理はS51に戻る。   When the total data size of the status information becomes larger than the predetermined value (S69: YES), one status information is removed so that the total data size becomes equal to or smaller than the predetermined value. The presentity ID corresponding to the removed state information is returned to the RAM 23. The status information adjusted so that the total data size is equal to or smaller than the predetermined value and the corresponding presentity ID are stored in 200 OK, and 200 OK is created (S71). The created 200 OK is transmitted to the terminal device 14 that transmitted SUBSCRIBE (S73). It is determined whether or not an unselected presentity ID remains in the RAM 23 (S75). If an unselected presentity ID remains in the RAM 23 (S75: YES), the process returns to S67. The process is repeated to store and send the remaining presentity ID and corresponding status information in 200 OK. On the other hand, when all the presentity IDs stored in the RAM 23 are selected (S75: NO), the process returns to S51.

以上のように、通知装置10は、SUBSCRIBEによって要求されている状態情報の数が二以上である場合に、二以上の状態情報をまとめて通知できると判断し、状態情報を端末装置14に対して通知している。また通知装置10は、状態情報のデータサイズの合計が所定値以下となるように分割し、200 OKに格納して端末装置14に送信する。これによって、ネットワーク3に介在するルータやサーバ等が200 OKを分割することを回避できる。従って、ルータやサーバでの処理負荷を軽減できるので、200 OKは確実にルータやサーバによって転送され、端末装置14に到達する。端末装置14は、通知装置10から送信された200 OKを確実に受信し、状態情報を取得できる。   As described above, when the number of state information requested by SUBSCRIBE is two or more, the notification device 10 determines that two or more pieces of state information can be notified together, and sends the state information to the terminal device 14. Is informed. In addition, the notification device 10 divides the state information so that the total data size is equal to or less than a predetermined value, stores it in 200 OK, and transmits it to the terminal device 14. As a result, it is possible to prevent the routers, servers, and the like interposed in the network 3 from dividing the 200 OK. Accordingly, since the processing load on the router or server can be reduced, the 200 OK is reliably transferred by the router or server and reaches the terminal device 14. The terminal device 14 can reliably receive the 200 OK transmitted from the notification device 10 and acquire the state information.

なお上述では、状態情報のデータサイズの合計が所定値より大きいかを判断しているが、例えば、状態情報のデータサイズと、対応するプレゼンティティIDのデータサイズとの合計が、所定値より大きいかを判断してもよい。また、状態情報の合計数が所定値より大きいであるかを判断してもよい。   In the above description, it is determined whether the total data size of the state information is larger than a predetermined value. For example, the total of the data size of the state information and the data size of the corresponding presentity ID is larger than the predetermined value. It may be judged. It may also be determined whether the total number of state information is greater than a predetermined value.

S65で、RAM23に格納された二以上のプレゼンティティIDのうち、第一テーブルに格納されていないプレゼンティティIDがある場合(S65:NO)、対応する状態情報を全て取得できないことになる。この場合、状態情報を取得できない旨を通知するパケット(以下「481」という。)に、第一テーブルに格納されていないプレゼンティティIDが格納されることで、481が作成される(S77)。作成された481は、SUBSCRIBEを送信した端末装置14に対して送信される(S79)。処理はS51に戻る。   In S65, if there is a presentity ID that is not stored in the first table among the two or more presentity IDs stored in the RAM 23 (S65: NO), all the corresponding state information cannot be acquired. In this case, a presentity ID not stored in the first table is stored in a packet (hereinafter referred to as “481”) notifying that status information cannot be acquired, so that 481 is created (S77). The created 481 is transmitted to the terminal device 14 that transmitted SUBSCRIBE (S79). The process returns to S51.

このように通知装置10は、SUBSCRIBEによって指定されたプレゼンティティIDに対応する状態情報の全てを特定できない場合、状態情報が取得できない旨を、該当するIDとともに端末装置14に対して通知することができる。これによって端末装置14は、通知装置10が管理するネットワーク3やサービスの範囲内に、所望する端末装置14が存在していないことを認識できる。例えば、通知装置10がテレビ会議に参加している端末装置14の状態情報を管理している場合、481を受信した端末装置14は、所望する端末装置14のうちいずれかがテレビ会議に参加していないことを認識することができる。   As described above, the notification device 10 may notify the terminal device 14 together with the corresponding ID that the state information cannot be acquired when all of the state information corresponding to the presentity ID specified by the SUBSCRIBE cannot be specified. it can. Accordingly, the terminal device 14 can recognize that the desired terminal device 14 does not exist within the network 3 or service range managed by the notification device 10. For example, when the notification device 10 manages the status information of the terminal device 14 participating in the video conference, the terminal device 14 that has received 481 has one of the desired terminal devices 14 participating in the video conference. Can recognize that not.

S51で、端末装置14からSUBSCRIBEを受信していない場合(S51:NO)、端末装置14からPUBLISHを受信したかが判断される(S55)。端末装置14からPUBLISHを受信した場合(S55:YES)、PUBLISHに格納されている状態情報が、PUBLISHを送信した端末装置14のIDに対応付けられて第一テーブルに格納される(S57)。なお、PUBLISHを送信した端末装置14のIDに、既に状態情報が対応付けられている場合、状態情報は更新される。   In S51, when SUBSCRIBE is not received from the terminal device 14 (S51: NO), it is determined whether PUBLISH is received from the terminal device 14 (S55). When PUBLISH is received from the terminal device 14 (S55: YES), the state information stored in PUBLISH is stored in the first table in association with the ID of the terminal device 14 that has transmitted PUBLISH (S57). If the state information is already associated with the ID of the terminal device 14 that has transmitted PUBLISH, the state information is updated.

第二テーブルに、PUBLISHを送信した端末装置14のIDがプレゼンティティIDとして格納されているかが判断される(S59)。PUBLISHを送信した端末装置14のIDがプレゼンティティIDとして第二テーブルに格納されている場合(S59:YES)、PUBLISHに格納されていた状態情報を、端末装置14に対して通知する必要がある。処理はS83に進む。PUBLISHを送信した端末装置14のIDに対応する状態情報が、第一テーブルから取得される(S83)。取得された状態情報が格納されたNOTIFYが作成される(S85)。第二テーブルのうち、PUBLISHを送信した端末装置14のIDと一致するプレゼンティティIDに対応するウォッチャIDが特定される。特定されたウォッチャIDの端末装置14に対して、NOTIFYが送信される(S87)。処理はS51に戻る。以上のようにして通知装置10は、状態情報が更新された場合に、更新後の状態情報を端末装置14に通知することができる。   It is determined whether the ID of the terminal device 14 that has transmitted PUBLISH is stored as a presentity ID in the second table (S59). When the ID of the terminal device 14 that has transmitted PUBLISH is stored as a presentity ID in the second table (S59: YES), it is necessary to notify the terminal device 14 of the state information stored in PUBLISH. . The process proceeds to S83. Status information corresponding to the ID of the terminal device 14 that has transmitted PUBLISH is acquired from the first table (S83). A NOTIFY storing the acquired state information is created (S85). In the second table, the watcher ID corresponding to the presentity ID that matches the ID of the terminal device 14 that has transmitted PUBLISH is specified. NOTIFY is transmitted to the terminal device 14 with the specified watcher ID (S87). The process returns to S51. As described above, the notification device 10 can notify the terminal device 14 of the updated state information when the state information is updated.

S55で、端末装置14からPUBLISHを受信していない場合(S55:NO)、状態情報の通知を終了する指示が、通知装置10のユーザによって入力されたかが判断される(S61)。状態情報の通知を終了する指示が入力された場合(S61:YES)、通知メイン処理は終了する。状態情報の通知を終了する指示が入力されていない場合(S61:NO)、処理はS51に戻る。   In S55, when PUBLISH is not received from the terminal device 14 (S55: NO), it is determined whether an instruction to end the notification of the state information is input by the user of the notification device 10 (S61). When an instruction to end the notification of the state information is input (S61: YES), the notification main process ends. When the instruction to end the notification of the state information is not input (S61: NO), the process returns to S51.

以上説明したように、通知装置10は、二以上の端末装置14の状態情報を要求するSUBSCRIBEを受信した場合、対応する二以上の状態情報が格納された200 OKによって、状態情報を端末装置14に対して通知する。一方通知装置10は、一の状態情報を要求するSUBSCRIBEを受信した場合には、SIPによる通常の通信方法に基づき、一の状態情報が格納されたNOTIFYによって、状態情報を端末装置14に対して通知する。これによって通知装置10は、SUBSCRIBEを送信した端末装置14が認識可能な態様で、状態情報を端末装置14に対して通知することができる。   As described above, when the notification device 10 receives a SUBSCRIBE requesting the status information of two or more terminal devices 14, the notification device 10 transmits the status information by the 200 OK in which the corresponding two or more status information is stored. To notify. On the other hand, when receiving the SUBSCRIBE requesting one state information, the notifying device 10 sends the state information to the terminal device 14 by NOTIFY storing the one state information based on the normal communication method using SIP. Notice. As a result, the notification device 10 can notify the terminal device 14 of the status information in such a manner that the terminal device 14 that transmitted the SUBSCRIBE can recognize.

図6を参照し、端末装置12のCPU31において実行される端末メイン処理について説明する。通知メイン処理は、CPU31に電源が投入された場合において、CPU31において起動され実行される。なお端末装置11のCPU31では、SIPに基づいて通常行われる方法に基づき、状態情報を一つずつ取得する周知の通信処理が実行される。従って以下では、二以上の状態情報を一度に取得できる端末装置12のCPU31において実行される処理のみ説明し、端末装置11のCPU31において実行される処理については説明を省略している。   With reference to FIG. 6, the terminal main process performed in CPU31 of the terminal device 12 is demonstrated. The notification main process is activated and executed by the CPU 31 when the CPU 31 is powered on. The CPU 31 of the terminal device 11 executes a well-known communication process that acquires state information one by one based on a method that is normally performed based on SIP. Therefore, hereinafter, only processing executed by the CPU 31 of the terminal device 12 that can acquire two or more pieces of state information at a time will be described, and description of processing executed by the CPU 31 of the terminal device 11 will be omitted.

端末装置12のユーザによって、状態情報を取得する指示がプレゼンティティIDとともに入力されたかが判断される(S91)。状態情報を取得する指示が入力された場合(S91:YES)、同時に入力されたプレゼンティティIDが取得され、RAM33に記憶される。RAM33に記憶されたプレゼンティティIDが、一つずつ取得される(S105)。取得されたプレゼンティティIDのデータサイズの合計が、所定値より大きいかが判断される(S107)。所定値は、例えば、ネットワーク3に介在するルータやサーバにおいて転送し得る最大のデータサイズに基づいて決定される。データサイズの合計が所定値以下である場合(S107:NO)、処理はS105に戻る。選択されていないプレゼンティティIDがRAM33から順番に取得され、処理が繰り返される。   It is determined whether the user of the terminal device 12 has input an instruction to acquire state information together with the presentity ID (S91). When an instruction to acquire state information is input (S91: YES), the presentity ID input at the same time is acquired and stored in the RAM 33. Presentity IDs stored in the RAM 33 are acquired one by one (S105). It is determined whether the total data size of the acquired presentity ID is larger than a predetermined value (S107). The predetermined value is determined based on, for example, the maximum data size that can be transferred by a router or server interposed in the network 3. If the total data size is equal to or smaller than the predetermined value (S107: NO), the process returns to S105. Unselected presentity IDs are acquired in order from the RAM 33, and the process is repeated.

プレゼンティティIDのデータサイズの合計が所定値より大きくなった場合(S107:YES)、データサイズの合計が所定値以下となるように、プレゼンティティIDが一つ取り除かれる。取り除かれたプレゼンティティIDは、RAM33に戻される。データサイズの合計が所定値以下となるように調整されたプレゼンティティIDがSUBSCRIBEに格納され、SUBSCRIBEが作成される(S109)。作成されたSUBSCRIBEは、通知装置10に対して送信される(S111)。RAM33に、選択されていないプレゼンティティIDが残っているかが判断される(S113)。選択されていないプレゼンティティIDがRAM33に残っている場合(S113:YES)、処理はS105に戻る。残りのプレゼンティティIDをSUBSCRIBEに格納して送信するために、処理が繰り返される。一方、RAM33に記憶されたプレゼンティティIDが全て選択された場合(S113:NO)、処理はS91に戻る。   When the total data size of the presentity ID becomes larger than the predetermined value (S107: YES), one presentity ID is removed so that the total data size becomes equal to or smaller than the predetermined value. The removed presentity ID is returned to the RAM 33. The presentity ID adjusted so that the total data size is equal to or smaller than a predetermined value is stored in SUBSCRIBE, and SUBSCRIBE is created (S109). The created SUBSCRIBE is transmitted to the notification device 10 (S111). It is determined whether or not an unselected presentity ID remains in the RAM 33 (S113). If an unselected presentity ID remains in the RAM 33 (S113: YES), the process returns to S105. The process is repeated to store and send the remaining presentity ID in the SUBSCRIBE. On the other hand, when all the presentity IDs stored in the RAM 33 are selected (S113: NO), the process returns to S91.

このように端末装置12は、プレゼンティティIDのデータサイズの合計が所定値以下となるように分割し、SUBSCRIBEに格納して通知装置10に送信する。これによって、ネットワーク3に介在するルータやサーバ等がSUBSCRIBEを分割することを回避できる。従って、ルータやサーバでの処理負荷を軽減できるので、SUBSCRIBEは確実にルータやサーバによって転送され、通知装置10に到達する。端末装置12は、通知装置10から確実に送信される200 OKを受信し、状態情報を取得できる。   In this way, the terminal device 12 divides the presentity ID so that the total data size is equal to or less than a predetermined value, stores it in the SUBSCRIBE, and transmits it to the notification device 10. As a result, it is possible to avoid dividing the SUBSCRIBE by a router, a server, or the like interposed in the network 3. Accordingly, since the processing load on the router or server can be reduced, the SUBSCRIBE is reliably transferred by the router or server and reaches the notification device 10. The terminal device 12 can receive the 200 OK reliably transmitted from the notification device 10 and acquire the state information.

S91で、ユーザが指示を入力していない場合(S91:NO)、通知装置10から送信されるNOTIFYを受信したかが判断される(S93)。NOTIFYを受信した場合(S93:YES)、NOTIFYに格納されている一つの状態情報が取得される(S95)。取得された状態情報を示す画像が、出力部36から出力される(S96)。処理はS91に戻る。   If the user does not input an instruction in S91 (S91: NO), it is determined whether or not NOTIFY transmitted from the notification device 10 has been received (S93). When NOTIFY is received (S93: YES), one piece of status information stored in NOTIFY is acquired (S95). An image indicating the acquired state information is output from the output unit 36 (S96). The process returns to S91.

S93で、NOTIFYを受信していない場合(S93:NO)、通知装置10から送信される200 OKを受信したかが判断される(S97)。200 OKを受信した場合(S97:YES)、200 OKに状態情報が格納されているかが判断される(S99)。なお200 OKには、二以上のプレゼンティティIDが格納されたSUBSCRIBEに応じて通知装置10から返信される状態情報が格納されるので、常に二以上の状態情報が格納されていることになる。200 OKに状態情報が格納されている場合(S99:YES)、200 OKに格納されている二以上の状態情報が取得される(S95)。取得された状態情報を示す画像が出力部36から出力され(S96)、処理はS91に戻る。一方、受信した200 OKに状態情報が格納されていない場合(S99:NO)、処理はS91に戻る。   If NOTIFY has not been received in S93 (S93: NO), it is determined whether 200 OK transmitted from the notification device 10 has been received (S97). When 200 OK is received (S97: YES), it is determined whether status information is stored in 200 OK (S99). Since 200 OK stores status information returned from the notification device 10 in response to a SUBSCRIBE storing two or more presentity IDs, it always stores two or more status information. When state information is stored in 200 OK (S99: YES), two or more pieces of state information stored in 200 OK are acquired (S95). An image indicating the acquired state information is output from the output unit 36 (S96), and the process returns to S91. On the other hand, when the status information is not stored in the received 200 OK (S99: NO), the process returns to S91.

以上のように端末装置12は、二以上の状態情報を一度に取得することができ、且つ、肯定的な応答パケットである200 OKに格納された状態情報を取得できるので、状態情報を取得するために必要な通信を抑制でき、ネットワーク3のトラフィックが増大することを防止できる。   As described above, the terminal device 12 can acquire two or more state information at a time, and can acquire the state information stored in 200 OK, which is a positive response packet. Therefore, it is possible to suppress communication necessary for this purpose and to prevent an increase in traffic on the network 3.

S97で、200 OKを受信していない場合(S97:NO)、通知装置10から送信される481を受信したかが判断される(S101)。481を受信していない場合(S101:NO)、処理はS91に戻る。481を受信した場合(S101:YES)、481に格納されているプレゼンティティIDが取得される。S91でユーザによって入力され、RAM33に記憶されたプレゼンティティIDから、取得されたプレゼンティティIDが削除される(S103)。この状態でRAM33に残っているプレゼンティティIDは、通知装置10において状態情報を特定することが可能な端末装置14のIDということになる。処理はS105に進む。RAM33に記憶されたプレゼンティティIDが、一つずつ取得され(S105)、データサイズの合計が所定値以下となるように調整される。調整されたプレゼンティティIDがSUBSCRIBEに格納され、SUBSCRIBEが作成される(S109)。作成されたSUBSCRIBEは、通知装置10に対して送信される(S111)。なお、SUBSCRIBEに格納されたプレゼンティティIDは、全て通知装置10において状態情報の特定が可能のIDであるので、端末装置12は、プレゼンティティIDに対応する状態情報を確実に取得できる。   If 200 OK has not been received in S97 (S97: NO), it is determined whether 481 transmitted from the notification device 10 has been received (S101). If 481 has not been received (S101: NO), the process returns to S91. When 481 is received (S101: YES), the presentity ID stored in 481 is acquired. The acquired presentity ID is deleted from the presentity ID input by the user in S91 and stored in the RAM 33 (S103). The presentity ID remaining in the RAM 33 in this state is the ID of the terminal device 14 with which the notification device 10 can specify the state information. The process proceeds to S105. Presentity IDs stored in the RAM 33 are acquired one by one (S105), and adjusted so that the total data size is a predetermined value or less. The adjusted presentity ID is stored in SUBSCRIBE, and SUBSCRIBE is created (S109). The created SUBSCRIBE is transmitted to the notification device 10 (S111). Note that the presentity IDs stored in the SUBSCRIBE are all IDs that allow the notification device 10 to specify the state information, and thus the terminal device 12 can reliably acquire the state information corresponding to the presentity ID.

以上説明したように、端末装置12は、所望するプレゼンティティが二以上ある場合、共通のSUBSCRIBEによって状態情報を通知装置10に対して要求することができる。また端末装置12は、200 OKに格納された複数の状態情報を認識できる。これによって、状態情報を取得するために必要な通信を抑制できるので、ネットワーク3のトラフィックが増大することを防止できる。   As described above, when there are two or more desired presentities, the terminal device 12 can request status information from the notification device 10 using a common SUBSCRIBE. Further, the terminal device 12 can recognize a plurality of state information stored in 200 OK. As a result, it is possible to suppress communication necessary for acquiring the state information, and thus it is possible to prevent the traffic on the network 3 from increasing.

なお本発明は、上述の実施形態に限定されるものではなく、種々の変更が可能である。上述では、通知装置10において受信されたSUBSCRIBEに格納されたプレゼンティティIDの全てが、第一テーブルに格納されていない場合、格納されていないプレゼンティティIDを格納した481を端末装置14に対して送信していた。本発明はこれに限定されない。通知装置10は、SUBSCRIBEに格納されたプレゼンティティIDから、第一テーブルに記憶されているプレゼンティティIDを抽出してもよい。そして、対応する状態情報を第一テーブルから取得して200 OKに格納し、SUBSCRIBEを送信した端末装置14に対して200 OKを送信してもよい。これらの処理は、図5におけるS65、S77、及びS79の処理を削除した通知メイン処理によって実行可能である。即ち、SUBSCRIBEが受信された場合(S51:YES)であって、二以上のプレゼンティティIDがSUBSCRIBEに格納されていた場合(S63:YES)、二以上のプレゼンティティIDはRAM23に記憶される。S67では、RAM23に記憶されたプレゼンティティIDのうち、対応する状態情報が第一テーブルに格納されているプレゼンティティIDが取得される(S67)。そして、データサイズの合計が所定値以下となるようにプレゼンティティIDが調整されて200 OKに格納され(S71)、200 OKは端末装置14に対して送信される(S73)。このように通知装置10は、SUBSCRIBEにて要求された状態情報の全てを第一テーブルから取得できない場合、取得可能な状態情報のみを取得して端末装置14に通知できる。これによって端末装置14は、通知装置10において取得可能な状態情報を短時間で取得できる。端末装置14は、通知装置10において取得可能な状態情報を把握して再度要求する通信が不要となるので、ネットワーク3のトラフィックを抑制できる。   In addition, this invention is not limited to the above-mentioned embodiment, A various change is possible. In the above description, when all of the presentity IDs stored in the SUBSCRIBE received by the notification device 10 are not stored in the first table, 481 storing the unstored presentity ID is given to the terminal device 14. I was sending. The present invention is not limited to this. The notification device 10 may extract the presentity ID stored in the first table from the presentity ID stored in the SUBSCRIBE. Then, the corresponding status information may be acquired from the first table, stored in 200 OK, and 200 OK may be transmitted to the terminal device 14 that has transmitted SUBSCRIBE. These processes can be executed by the notification main process in which the processes of S65, S77, and S79 in FIG. 5 are deleted. That is, when a SUBSCRIBE is received (S51: YES) and two or more presentity IDs are stored in the SUBSCRIBE (S63: YES), the two or more presentity IDs are stored in the RAM 23. In S67, among the presentity IDs stored in the RAM 23, a presentity ID whose corresponding state information is stored in the first table is acquired (S67). Then, the presentity ID is adjusted and stored in 200 OK so that the total data size is equal to or less than the predetermined value (S71), and 200 OK is transmitted to the terminal device 14 (S73). As described above, the notification device 10 can acquire only the state information that can be acquired and notify the terminal device 14 when all the state information requested by the SUBSCRIBE cannot be acquired from the first table. Thereby, the terminal device 14 can acquire the state information that can be acquired by the notification device 10 in a short time. The terminal device 14 can suppress the traffic on the network 3 because it does not need communication for re-requesting the status information that can be acquired by the notification device 10.

上述の実施形態では、通知装置10が端末装置14からSUBSCRIBEを直接受信し、対応する状態情報を端末装置14に対して通知していた。本発明はこれに限定されない。ネットワーク3に接続するSIPサーバが、端末装置14からSUBSCRIBEを受信してもよい。SIPサーバは、状態情報を取得するために、通知装置10に問い合わせてもよい。通知装置10は、SIPサーバからの問い合わせに応じ、対応する状態情報をSIPサーバに通知してもよい。上述では、通知装置10は二以上の状態情報を200 OKに格納し、端末装置14に対して送信していたが、例えばNOTIFYに二以上の状態情報を格納し、端末装置14に対して通知してもよい。   In the above-described embodiment, the notification device 10 directly receives the SUBSCRIBE from the terminal device 14 and notifies the terminal device 14 of the corresponding status information. The present invention is not limited to this. A SIP server connected to the network 3 may receive SUBSCRIBE from the terminal device 14. The SIP server may make an inquiry to the notification device 10 in order to obtain state information. The notification device 10 may notify the corresponding status information to the SIP server in response to an inquiry from the SIP server. In the above description, the notification device 10 stores two or more pieces of state information in 200 OK and transmits them to the terminal device 14. For example, two or more pieces of state information are stored in NOTIFY and notified to the terminal device 14. May be.

なお、第一テーブルを記憶する図1のHDD24が本発明の「記憶手段」に相当する。図5のS51の処理を行うCPU21が本発明の「受信手段」に相当し、S63の処理を行うCPU21が本発明の「第一判断手段」に相当し、S65の処理を行うCPU21が本発明の「第二判断手段」に相当し、S67の処理を行うCPU21が本発明の「第一取得手段」に相当し、S73の処理を行うCPU21が本発明の「第一送信手段」に相当し、S79の処理を行うCPU21が本発明の「第二送信手段」に相当し、S83の処理を行うCPU21が本発明の「第二取得手段」に相当し、S87の処理を行うCPU21が本発明の「第三送信手段」に相当する。図5のS51が本発明の「受信ステップ」に相当し、S63の処理が本発明の「第一判断ステップ」に相当し、S65の処理が本発明の「第二判断ステップ」に相当し、S67の処理が本発明の「第一取得ステップ」に相当し、S73の処理が本発明の「第一送信ステップ」に相当し、S79の処理が本発明の「第二送信ステップ」に相当し、S83の処理が本発明の「第二取得ステップ」に相当し、S87の処理が本発明の「第三送信ステップ」に相当する。図6のS111の処理を行うCPU31が本発明の「端末送信手段」に相当し、S97の処理を行うCPU31が本発明の「端末受信手段」に相当する。   The HDD 24 in FIG. 1 that stores the first table corresponds to the “storage unit” of the present invention. The CPU 21 that performs the process of S51 in FIG. 5 corresponds to the “reception unit” of the present invention, the CPU 21 that performs the process of S63 corresponds to the “first determination unit” of the present invention, and the CPU 21 that performs the process of S65 of the present invention. The CPU 21 that performs the process of S67 corresponds to the “first acquisition unit” of the present invention, and the CPU 21 that performs the process of S73 corresponds to the “first transmission unit” of the present invention. The CPU 21 that performs the process of S79 corresponds to the “second transmission unit” of the present invention, the CPU 21 that performs the process of S83 corresponds to the “second acquisition unit” of the present invention, and the CPU 21 that performs the process of S87 of the present invention. Corresponds to “third transmission means”. 5 corresponds to the “reception step” of the present invention, the process of S63 corresponds to the “first determination step” of the present invention, and the process of S65 corresponds to the “second determination step” of the present invention. The process of S67 corresponds to the “first acquisition step” of the present invention, the process of S73 corresponds to the “first transmission step” of the present invention, and the process of S79 corresponds to the “second transmission step” of the present invention. The process of S83 corresponds to the “second acquisition step” of the present invention, and the process of S87 corresponds to the “third transmission step” of the present invention. The CPU 31 that performs the process of S111 in FIG. 6 corresponds to the “terminal transmission unit” of the present invention, and the CPU 31 that performs the process of S97 corresponds to the “terminal reception unit” of the present invention.

1 通信システム
10 通知装置
11、12、13、14 端末装置
21 CPU
24 HDD
241 第一テーブル
242 第二テーブル
DESCRIPTION OF SYMBOLS 1 Communication system 10 Notification apparatus 11, 12, 13, 14 Terminal apparatus 21 CPU
24 HDD
241 First table 242 Second table

Claims (9)

ネットワークを介して接続した端末装置を識別する識別情報と、前記端末装置及び前記端末装置のユーザの状態を示す状態情報とが対応付けられて記憶された記憶手段と、
前記端末装置から送信された、他の前記端末装置の前記状態情報を要求する要求パケットを受信する受信手段と、
前記受信手段によって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断手段と、
前記第一判断手段によって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断手段と、
前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得手段と、
前記第一取得手段によって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信手段と
を備えたことを特徴とする通知装置。
Storage means for storing identification information for identifying a terminal device connected via a network and state information indicating a state of the terminal device and a user of the terminal device in association with each other;
Receiving means for receiving a request packet transmitted from the terminal device and requesting the status information of the other terminal device;
First determination means for determining whether the status information of two or more other terminal devices is requested by the request packet received by the reception means;
When the first determination unit determines that the state information of two or more other terminal devices is requested, all the identification information of the two or more other terminal devices is stored in the storage unit. A second judging means for judging whether or not
Corresponding to the identification information of two or more other terminal devices when the second determination unit determines that all the identification information of the two or more other terminal devices is stored in the storage unit First acquisition means for acquiring two or more status information from the storage means;
Two or more pieces of the status information acquired by the first acquisition unit are stored in a first notification packet, and the first transmission unit transmits the first notification packet to the terminal device that has transmitted the request packet. A notification device characterized by comprising.
前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報のうち少なくとも一が前記記憶手段に記憶されていないと判断された場合に、前記状態情報が取得できない旨を通知する第二通知パケットを、前記要求パケットを送信した前記端末装置に対して送信する第二送信手段を備えたことを特徴とする請求項1に記載の通知装置。   When the second determination unit determines that at least one of the identification information of the two or more other terminal devices is not stored in the storage unit, the second determination unit notifies that the state information cannot be acquired. The notification device according to claim 1, further comprising second transmission means for transmitting a second notification packet to the terminal device that has transmitted the request packet. 前記第一送信手段は、
前記第一通知パケットに格納する前記状態情報のデータサイズが所定値より大きくなった場合に、前記状態情報のデータサイズが前記所定値以下となるように分割して前記第一通知パケットに格納し、前記第一通知パケットを送信することを特徴とする請求項1又は2に記載の通知装置。
The first transmission means includes
When the data size of the status information stored in the first notification packet becomes larger than a predetermined value, the data size of the status information is divided so as to be equal to or smaller than the predetermined value and stored in the first notification packet. The notification device according to claim 1, wherein the first notification packet is transmitted.
前記第一取得手段は、
前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報のうち少なくとも一が前記記憶手段に記憶されていないと判断された場合に、二以上の前記端末装置の前記識別情報のうち、前記記憶手段に記憶されている前記識別情報に対応する前記状態情報を取得することを特徴とする請求項1に記載の通知装置。
The first acquisition means includes
When the second determination means determines that at least one of the identification information of the two or more other terminal devices is not stored in the storage means, the identification information of the two or more terminal devices The notification apparatus according to claim 1, wherein the status information corresponding to the identification information stored in the storage unit is acquired.
前記第一判断手段によって、一の前記他の端末装置の前記状態情報が要求されていると判断された場合に、一の前記他の端末装置の前記識別情報に対応する一の前記状態情報を、前記記憶手段から取得する第二取得手段と、
前記第二取得手段によって取得された一の前記状態情報を第三通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第三通知パケットを送信する第三送信手段と
を備えたことを特徴とする請求項1から4のいずれかに記載の通知装置。
When the first determination unit determines that the state information of one other terminal device is requested, the one state information corresponding to the identification information of the one other terminal device is obtained. Second acquisition means for acquiring from the storage means;
One state information acquired by the second acquisition unit is stored in a third notification packet, and the third transmission unit transmits the third notification packet to the terminal device that has transmitted the request packet. The notification device according to any one of claims 1 to 4, wherein the notification device.
ネットワークに接続した端末装置、及び、前記端末装置及び前記端末装置のユーザの状態を示す状態情報を前記端末装置に対して通知する通知装置を備えた通知システムであって、
前記通知装置は、
前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段と、
前記端末装置から送信された、他の前記端末装置の前記状態情報を要求する要求パケットを受信する第一受信手段と、
前記第一受信手段によって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断手段と、
前記第一判断手段によって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断手段と、
前記第二判断手段によって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得手段と、
前記第一取得手段によって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信手段と
を備え、
前記端末装置は、
一又は二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットを、前記通知装置に対して送信する端末送信手段と、
前記端末送信手段によって二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットが送信された場合に、前記通知装置から送信される前記第一通知パケットを受信する端末受信手段と
を備えたことを特徴とする通知システム。
A terminal device connected to a network, and a notification system including a notification device that notifies the terminal device of status information indicating a status of the terminal device and a user of the terminal device,
The notification device includes:
Storage means in which identification information for identifying the terminal device and the state information are stored in association with each other;
First receiving means for receiving a request packet transmitted from the terminal device and requesting the status information of the other terminal device;
First determination means for determining whether the status information of two or more other terminal devices is requested by the request packet received by the first reception means;
When the first determination unit determines that the state information of two or more other terminal devices is requested, all the identification information of the two or more other terminal devices is stored in the storage unit. A second judging means for judging whether or not
Corresponding to the identification information of two or more other terminal devices when the second determination unit determines that all the identification information of the two or more other terminal devices is stored in the storage unit First acquisition means for acquiring two or more status information from the storage means;
Two or more pieces of the status information acquired by the first acquisition unit are stored in a first notification packet, and the first transmission unit transmits the first notification packet to the terminal device that has transmitted the request packet. Prepared,
The terminal device
Terminal transmission means for transmitting the request packet for requesting the status information of one or more other terminal devices to the notification device;
Terminal receiving means for receiving the first notification packet transmitted from the notification device when the request packet requesting the status information of two or more other terminal devices is transmitted by the terminal transmission means; A notification system characterized by comprising.
請求項1から4のいずれかに記載の前記通知装置に対して前記要求パケットを送信する前記端末装置であって、
一又は二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットを、前記通知装置に対して送信する端末送信手段と、
前記端末送信手段によって二以上の前記他の端末装置の前記状態情報を要求する前記要求パケットが送信された場合に、前記通知装置から送信される前記第一通知パケットであって、前記端末送信手段によって送信された前記要求パケットによって要求された二以上の前記他の端末装置の前記状態情報が格納された前記第一通知パケットを受信する端末受信手段と
を備えたことを特徴とする端末装置。
The terminal device that transmits the request packet to the notification device according to claim 1,
Terminal transmission means for transmitting the request packet for requesting the status information of one or more other terminal devices to the notification device;
The first notification packet transmitted from the notification device when the request packet requesting the status information of two or more other terminal devices is transmitted by the terminal transmission unit, the terminal transmission unit A terminal receiving means for receiving the first notification packet storing the state information of two or more other terminal devices requested by the request packet transmitted by the terminal device.
ネットワークを介して接続した端末装置から送信された、他の前記端末装置及び前記他の端末装置のユーザの状態を示す前記状態情報を要求する要求パケットを受信する受信ステップと、
前記受信ステップによって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断ステップと、
前記第一判断ステップによって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段を参照し、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断ステップと、
前記第二判断ステップによって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得ステップと、
前記第一取得ステップによって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信ステップと
を備えたことを特徴とする通知方法。
Receiving a request packet transmitted from a terminal device connected via a network and requesting the status information indicating the status of the user of the other terminal device and the other terminal device;
A first determination step of determining whether the status information of two or more other terminal devices is requested by the request packet received in the reception step;
When it is determined by the first determination step that the state information of two or more other terminal devices is requested, identification information for identifying the terminal device and the state information are stored in association with each other. A second determination step of referring to the stored storage means and determining whether all of the identification information of the two or more other terminal devices is stored in the storage means;
Corresponding to the identification information of two or more other terminal devices when it is determined by the second determination step that all the identification information of two or more other terminal devices are stored in the storage means A first acquisition step of acquiring the two or more state information to be acquired from the storage means;
Storing two or more pieces of the status information acquired in the first acquisition step in a first notification packet, and transmitting the first notification packet to the terminal device that has transmitted the request packet; A notification method characterized by comprising.
ネットワークを介して接続した端末装置から送信された、他の前記端末装置及び前記端末装置のユーザの状態を示す前記状態情報を要求する要求パケットを受信する受信ステップと、
前記受信ステップによって受信された前記要求パケットによって、二以上の前記他の端末装置の前記状態情報が要求されているかを判断する第一判断ステップと、
前記第一判断ステップによって、二以上の前記他の端末装置の前記状態情報が要求されていると判断された場合に、前記端末装置を識別する識別情報と前記状態情報とが対応付けられて記憶された記憶手段を参照し、二以上の前記他の端末装置の前記識別情報が前記記憶手段に全て記憶されているかを判断する第二判断ステップと、
前記第二判断ステップによって、二以上の前記他の端末装置の前記識別情報が全て前記記憶手段に記憶されていると判断された場合に、二以上の前記他の端末装置の前記識別情報に対応する二以上の前記状態情報を、前記記憶手段から取得する第一取得ステップと、
前記第一取得ステップによって取得された二以上の前記状態情報を第一通知パケットに格納し、前記要求パケットを送信した前記端末装置に対して前記第一通知パケットを送信する第一送信ステップと
をコンピュータに実行させるための通知プログラム。
A reception step of receiving a request packet for requesting the state information indicating the state of the other terminal device and the user of the terminal device, transmitted from a terminal device connected via a network;
A first determination step of determining whether the status information of two or more other terminal devices is requested by the request packet received in the reception step;
When it is determined by the first determination step that the state information of two or more other terminal devices is requested, identification information for identifying the terminal device and the state information are stored in association with each other. A second determination step of referring to the stored storage means and determining whether all of the identification information of the two or more other terminal devices is stored in the storage means;
Corresponding to the identification information of two or more other terminal devices when it is determined by the second determination step that all the identification information of two or more other terminal devices are stored in the storage means A first acquisition step of acquiring the two or more state information to be acquired from the storage means;
Storing two or more pieces of the status information acquired in the first acquisition step in a first notification packet, and transmitting the first notification packet to the terminal device that has transmitted the request packet; A notification program to be executed by a computer.
JP2010229100A 2010-10-08 2010-10-08 Notification device, notification system, terminal, notification method, and notification program Pending JP2012083924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010229100A JP2012083924A (en) 2010-10-08 2010-10-08 Notification device, notification system, terminal, notification method, and notification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010229100A JP2012083924A (en) 2010-10-08 2010-10-08 Notification device, notification system, terminal, notification method, and notification program

Publications (1)

Publication Number Publication Date
JP2012083924A true JP2012083924A (en) 2012-04-26

Family

ID=46242730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010229100A Pending JP2012083924A (en) 2010-10-08 2010-10-08 Notification device, notification system, terminal, notification method, and notification program

Country Status (1)

Country Link
JP (1) JP2012083924A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015002544A (en) * 2013-06-18 2015-01-05 株式会社ナカヨ Presence service method, presence server, mail terminal, and program
US11196831B2 (en) 2017-10-31 2021-12-07 Canon Kabushiki Kaisha Communication apparatus, communication method, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015002544A (en) * 2013-06-18 2015-01-05 株式会社ナカヨ Presence service method, presence server, mail terminal, and program
US11196831B2 (en) 2017-10-31 2021-12-07 Canon Kabushiki Kaisha Communication apparatus, communication method, and storage medium

Similar Documents

Publication Publication Date Title
EP2454679B1 (en) Management of an instant message session
KR101642822B1 (en) Method, system, and apparatus for sharing application information
US10404633B2 (en) Enhanced video instant messaging processing
US8667114B2 (en) Program update management server and program update management method
WO2014044075A1 (en) A data-sharing method, terminal, server, and system
JP2011028709A (en) Aggregated user presence management method within home network and device for user presence management within home network
WO2014054179A1 (en) Information processing device, system, method, and program
JP5482495B2 (en) Information processing apparatus, information processing method, and program
JP6169568B2 (en) System and method for passive communication service
US20130288661A1 (en) Remote operation system, relay apparatus, mobile communication apparatus, in-terminal server control method, and relay processing method
US9110739B2 (en) Subscribing to multiple resources through a common connection
US20150149629A1 (en) User online state querying method and apparatus
JP2012083924A (en) Notification device, notification system, terminal, notification method, and notification program
US9577967B2 (en) Method and system for managing an informational site using a social networking application
US20140089430A1 (en) Data-sharing method, terminal, server, and system
US20140189012A1 (en) Communication System, Non-Transitory Computer-Readable Medium Storing Communicaton Program and Communication Device
JP2012108685A (en) Load distribution system
US10142393B2 (en) Communication apparatus, communication method, and storage medium
US20110072304A1 (en) Application server and method of controlling operation of same
US11196831B2 (en) Communication apparatus, communication method, and storage medium
JP5891140B2 (en) Connection state management device and program thereof
JP6469266B1 (en) Communications system
JP2018173778A (en) Communication device
JP2005242999A5 (en)
JP6540307B2 (en) Message delivery system, message delivery program, message delivery method, and message delivery apparatus