JP2016031594A - Communication terminal, communication control method, and program - Google Patents

Communication terminal, communication control method, and program Download PDF

Info

Publication number
JP2016031594A
JP2016031594A JP2014153017A JP2014153017A JP2016031594A JP 2016031594 A JP2016031594 A JP 2016031594A JP 2014153017 A JP2014153017 A JP 2014153017A JP 2014153017 A JP2014153017 A JP 2014153017A JP 2016031594 A JP2016031594 A JP 2016031594A
Authority
JP
Japan
Prior art keywords
content
communication terminal
communication
reception
received
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.)
Granted
Application number
JP2014153017A
Other languages
Japanese (ja)
Other versions
JP6369197B2 (en
Inventor
峻一 木下
Shunichi Kinoshita
峻一 木下
一峰 小倉
Kazumine Ogura
一峰 小倉
啓文 植田
Hirofumi Ueda
啓文 植田
則夫 山垣
Norio Yamagaki
則夫 山垣
藤田 範人
Norito Fujita
範人 藤田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2014153017A priority Critical patent/JP6369197B2/en
Publication of JP2016031594A publication Critical patent/JP2016031594A/en
Application granted granted Critical
Publication of JP6369197B2 publication Critical patent/JP6369197B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication terminal capable of reducing loss of a network resource due to duplicated transmission of contents.SOLUTION: A communication terminal of the invention includes a content reception processing unit for receiving a content identifier before receiving the content in the communication session in which the content identifier corresponding to the content is transmitted and received, and a content reception control unit for rejecting the reception of the content corresponding to the content identifier when there is another communication session corresponding to the received content identifier.SELECTED DRAWING: Figure 2

Description

通信端末、通信制御方法およびそのプログラムに関し、特に、端末間で自律分散的に通信可能な通信端末、通信制御方法およびプログラムに関する。   The present invention relates to a communication terminal, a communication control method, and a program thereof, and more particularly, to a communication terminal, a communication control method, and a program that can communicate autonomously between terminals.

端末間で自律分散的に通信可能な端末間通信は、基地局又は上流ネットワークの障害で移動体通信網を介した通信が困難となる場合にインフラ網の復旧までに互いの情報を共有するための方式として期待されている。   Inter-terminal communication that can communicate between terminals in an autonomous and distributed manner is to share each other's information before the restoration of the infrastructure network when communication via the mobile communication network becomes difficult due to a failure of the base station or upstream network It is expected as a method.

端末間通信の一例として特許文献1および非特許文献1にノード間でコンテンツを共有するエピデミック方式が記載されている。エピデミック方式によるノード間のコンテンツ共有は、はじめに、自ノードが保持するコンテンツリストを含むSV(Summary Vector)メッセージを、周辺ノードに定期的に広報する。次に、SVメッセージを受信した周辺ノードは、SVメッセージを送信したノードが保持するコンテンツと、自身が保持するコンテンツを比較する。周辺ノードは、比較した差分が無くなるように、SVメッセージを送信したノードとコンテンツを送受信してノード間のコンテンツ共有を進めていく。   As an example of inter-terminal communication, Patent Document 1 and Non-Patent Document 1 describe an epidemic method for sharing content between nodes. In the content sharing between nodes by the epidemic method, first, an SV (Summary Vector) message including a content list held by the own node is periodically publicized to surrounding nodes. Next, the peripheral node that has received the SV message compares the content held by the node that transmitted the SV message with the content held by itself. The peripheral nodes transmit and receive content to and from the node that transmitted the SV message so that the compared difference disappears, and advance content sharing between the nodes.

エピデミック方式のノード間のコンテンツ共有には、pull型とpush型の2つのタイプがある。   There are two types of content sharing between nodes in the epidemic system: pull type and push type.

push型は、第1のノードのSVメッセージを受信した第2のノードが、コンテンツの比較の結果、第1のノードが保持せずかつ第2のノードが保持するコンテンツを、第1のノードに送信することでコンテンツを共有するタイプである。   In the push type, the second node that has received the SV message of the first node, as a result of the content comparison, sets the content held by the second node and not held by the first node to the first node. It is a type to share contents by sending.

pull型は、第1のノードのSVメッセージを受信した第2のノードが、コンテンツの比較の結果、第2のノードが保持せずかつ第1のノードが保持するコンテンツを、リクエストメッセージで第1のノードに要求する。リクエストメッセージを受信した第1のノードは、要求されたコンテンツを第2のノードに送信してコンテンツを共有するタイプである。   In the pull type, when the second node that has received the SV message of the first node, as a result of the content comparison, the content that the second node does not hold and the first node holds in the request message Request to other nodes. The first node that has received the request message is of a type that shares the content by transmitting the requested content to the second node.

国際公開第2011/071045号International Publication No. 2011/071045 特開2010−004136号公報JP 2010-004136 A 特開2007−336360号公報JP 2007-336360 A

M.Akdere,C.C.Belgin,O.Gerdaneri,I.Korpeoglu,O.Ulusoy and U.Ceintemel,“A comparison of epidemic algorithms in wireless sensor networks,”Computer Communications,Vol.29,Issue 13−14,pp.2450−2457,Aug.2006.M.M. Akdere, C.I. C. Belgin, O .; Gerdaneri, I. et al. Korpeoglu, O .; Ulusoy and U.S. Ceintmel, “A comparison of epidemiological algorithms in wireless sensor networks,” Computer Communications, Vol. 29, Issue 13-14, pp. 2450-2457, Aug. 2006.

上記エピデミック方式を含め、自律分散的に端末間通信を行う通信方式は、端末間におけるコンテンツ送受信の成功率を高めるためにコンテンツを重複して送信するケースが発生する。このため端末間のネットワークリソースの浪費が発生する。図25、図26を用いてその例を説明する。   In communication methods that perform inter-terminal communication in an autonomous and distributed manner, including the epidemic method, there is a case in which content is transmitted redundantly in order to increase the success rate of content transmission / reception between terminals. This wastes network resources between terminals. An example will be described with reference to FIGS.

図25は、SVメッセージを受信した各ノードが、SVメッセージを送信したノードにコンテンツ送信する例(第1のケース)を示す図である。第1のケースは、第1のノードのSVメッセージを受信した第2のノードと第3のノードが、それぞれ同じコンテンツを第1のノードに送信する例である。   FIG. 25 is a diagram illustrating an example (first case) in which each node that receives an SV message transmits content to the node that transmitted the SV message. The first case is an example in which the second node and the third node that have received the SV message of the first node respectively transmit the same content to the first node.

第2のノード又は第3のノードから送信されたコンテンツを受信する際、第1のノードは、受信しているコンテンツが同一であるかを受信が完了して保存するまで識別することができない。このため第1のノードは、重複したコンテンツの受信を中止することができない。   When receiving the content transmitted from the second node or the third node, the first node cannot identify whether the received content is the same until the reception is completed and stored. For this reason, the first node cannot stop receiving the duplicate content.

図26は、SVメッセージを受信したノードが、SVメッセージを送信したノードにリクエストメッセージを送信する例(第2のケース)を示す図である。第2のケースは、コンテンツを要求する第1のノードは、リクエストメッセージがドロップすることに備えて、第1のノードで要求したコンテンツの受信が完了するまでリクエストメッセージを再送する。   FIG. 26 is a diagram illustrating an example (second case) in which the node that has received the SV message transmits a request message to the node that has transmitted the SV message. In the second case, the first node requesting the content resends the request message until reception of the content requested by the first node is completed in preparation for the request message dropping.

第1のノードが送信したリクエストメッセージがドロップせずに第2のノードで受信され、第2のノードが第1のノードへ要求されたコンテンツを送信していても、第1のノードは、コンテンツの受信が完了するまで第2のノードに再度リクエストメッセージを出すことになる。この結果、第2のノードは、次のリクエストメッセージに応じてコンテンツを重複して送信する。第1のノードは、コンテンツの受信を完了するまで、第2のノードから受信しているコンテンツが別に受信途中であるか、もしくは受信済みであるかを識別することができず、重複するコンテンツの受信を中止することができない。   Even if the request message transmitted by the first node is received by the second node without being dropped, and the second node transmits the requested content to the first node, the first node The request message is output again to the second node until the reception of is completed. As a result, the second node transmits the content in duplicate in response to the next request message. Until the reception of the content is completed, the first node cannot identify whether the content received from the second node is being received or has been received. Cannot cancel reception.

本発明の目的は、上述した課題であるコンテンツの重複送信によるネットワークリソースの浪費を低減できる通信端末、通信制御方法およびプログラムを提供することにある。   An object of the present invention is to provide a communication terminal, a communication control method, and a program that can reduce waste of network resources due to the duplicate transmission of content, which is the above-described problem.

本発明の通信端末は、コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、コンテンツの受信前に前記コンテンツ識別子を受信するコンテンツ受信処理部と、受信した前記コンテンツ識別子に対して他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否するコンテンツ受信制御部とを備える。   The communication terminal according to the present invention includes a content reception processing unit that receives the content identifier before receiving the content in a communication session of communication between terminals that transmits and receives a content identifier corresponding to the content, and other than the received content identifier. A content reception control unit that rejects reception of the content corresponding to the received content identifier.

本発明の通信制御方法は、コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に前記コンテンツ識別子を受信し、受信した前記コンテンツ識別子に対して他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する。   The communication control method of the present invention is a communication session for communication between terminals that transmits and receives a content identifier corresponding to a content, receives the content identifier before receiving the content, and receives another communication session for the received content identifier. Is present, the reception of the content corresponding to the received content identifier is rejected.

本発明のプログラムは、コンピュータに、コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に前記コンテンツ識別子を受信し、受信した前記コンテンツ識別子に対して他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する、ことを実行させるプログラム。   The program of the present invention receives a content identifier before receiving the content in a communication session of communication between terminals that transmits and receives a content identifier corresponding to the content to a computer, and performs other communication on the received content identifier. A program for executing, when there is a session, rejecting reception of the content corresponding to the received content identifier.

本発明によれば、コンテンツの重複送信によるネットワークリソースの浪費を低減することができる。   According to the present invention, waste of network resources due to duplicate transmission of content can be reduced.

本発明の実施形態に係る通信端末による端末間通信の概要を示す図である。It is a figure which shows the outline | summary of the communication between terminals by the communication terminal which concerns on embodiment of this invention. 本発明の第1の実施形態に係る通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る通信端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication terminal which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る通信端末の対応情報保存部に保存される対応情報を示す図である。It is a figure which shows the correspondence information preserve | saved at the correspondence information preservation | save part of the communication terminal which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る通信端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication terminal which concerns on the 2nd Embodiment of this invention. 図5に示す対応情報の一部が削除された例を示す図である。FIG. 6 is a diagram illustrating an example in which a part of the correspondence information illustrated in FIG. 5 is deleted. 本発明の第3の実施形態に係る通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る通信端末の対応情報保存部に保存される対応情報を示す図である。It is a figure which shows the correspondence information preserve | saved at the correspondence information preservation | save part of the communication terminal which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る通信端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication terminal which concerns on the 3rd Embodiment of this invention. 本発明の実施形態に係る通信端末による端末間通信の概要を示す図である。It is a figure which shows the outline | summary of the communication between terminals by the communication terminal which concerns on embodiment of this invention. 本発明の第4の実施形態に係る通信端末200−1の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal 200-1 which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る通信端末100の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal 100 which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る通信端末200における動作の一部である第1の動作を示すフローチャートである。It is a flowchart which shows the 1st operation | movement which is a part of operation | movement in the communication terminal 200 which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る通信端末200における動作の一部である第2の動作を示すフローチャートである。It is a flowchart which shows the 2nd operation | movement which is a part of operation | movement in the communication terminal 200 which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る通信端末100の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication terminal 100 which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る通信端末を用いた端末間通信のシーケンス図である。It is a sequence diagram of the communication between terminals using the communication terminal which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末400の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal 400 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末300の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal 300 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末400における動作の一部である第1の動作を示すフローチャートである。It is a flowchart which shows the 1st operation | movement which is a part of operation | movement in the communication terminal 400 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末400における動作の一部である第2の動作を示すフローチャートである。It is a flowchart which shows the 2nd operation | movement which is a part of operation | movement in the communication terminal 400 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末300における動作の一部である第1の動作を示すフローチャートである。It is a flowchart which shows the 1st operation | movement which is a part of operation | movement in the communication terminal 300 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末300における動作の一部である第2の動作を示すフローチャートである。It is a flowchart which shows the 2nd operation | movement which is a part of operation | movement in the communication terminal 300 which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る通信端末を用いた端末間通信のシーケンス図である。It is a sequence diagram of the communication between terminals using the communication terminal which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係る通信端末500の構成を示すブロック図である。It is a block diagram which shows the structure of the communication terminal 500 which concerns on the 6th Embodiment of this invention. 本発明の第6の実施形態に係る通信端末を用いた端末間通信のシーケンス図である。It is a sequence diagram of the communication between terminals using the communication terminal which concerns on the 6th Embodiment of this invention. 第1〜第5の実施形態における通信端末をコンピュータ装置で実現したハードウエア構成を示す図である。It is a figure which shows the hardware constitutions which implement | achieved the communication terminal in 1st-5th embodiment with the computer apparatus. SVメッセージを受信した各ノードが、SVメッセージを送信したノードにコンテンツ送信する例を示す図である。It is a figure which shows the example which each node which received SV message transmits content to the node which transmitted SV message. SVメッセージを受信したノードが、SVメッセージを送信したノードにリクエストメッセージを送信する例を示す図である。It is a figure which shows the example which the node which received SV message transmits a request message to the node which transmitted SV message.

本発明の実施形態について、図面を参照して詳細に説明する。本明細書における通信端末は、移動可能な通信端末を対象とする。   Embodiments of the present invention will be described in detail with reference to the drawings. The communication terminal in this specification is intended for a mobile communication terminal.

図1は、本発明の実施形態に係る通信端末による端末間通信の概要を示す図である。図1に示すように、通信端末10は、通信端末20−1、20−2と自律分散的に端末間通信が可能であり、通信端末間で通信セッションを確立させてコンテンツを送受信する。通信端末10は、通信端末20−1又は20−2の間で、それぞれ異なる複数の通信セッション(通信セッションAB、通信セッションAC)を確立できる。あるいは、通信端末10と通信端末20−1との間で異なる複数の通信セッション(通信セッションAB、通信セッションAB2)を確立することもできる。   FIG. 1 is a diagram showing an overview of inter-terminal communication by a communication terminal according to an embodiment of the present invention. As shown in FIG. 1, the communication terminal 10 can communicate with the communication terminals 20-1 and 20-2 in an autonomous and distributed manner, and establishes a communication session between the communication terminals to transmit and receive content. The communication terminal 10 can establish a plurality of different communication sessions (communication session AB and communication session AC) between the communication terminals 20-1 and 20-2. Alternatively, a plurality of different communication sessions (communication session AB, communication session AB2) can be established between the communication terminal 10 and the communication terminal 20-1.

[第1の実施形態]
図2は、本発明の第1の実施形態に係る通信端末の構成を示すブロック図である。図2中、通信端末10は、コンテンツを受信する通信端末であり、通信端末20−1及び通信端末20−2は、コンテンツを送信する通信端末である。
[First Embodiment]
FIG. 2 is a block diagram showing the configuration of the communication terminal according to the first embodiment of the present invention. In FIG. 2, a communication terminal 10 is a communication terminal that receives content, and a communication terminal 20-1 and a communication terminal 20-2 are communication terminals that transmit content.

はじめに、第1の実施形態におけるコンテンツを送信する通信端末20−1、20−2について図2を用いて説明する。通信端末20−1と通信端末20−2は、同じ機能を有しており、以下、通信端末20−1を中心に説明し、通信端末20−2は適宜説明する。   First, communication terminals 20-1 and 20-2 that transmit content according to the first embodiment will be described with reference to FIG. The communication terminal 20-1 and the communication terminal 20-2 have the same function. Hereinafter, the communication terminal 20-1 will be mainly described, and the communication terminal 20-2 will be appropriately described.

通信端末20−1は、通信部(図示せず)、コンテンツ送信処理部21、コンテンツ送信制御部22、コンテンツ保存部23をそれぞれ備える。   The communication terminal 20-1 includes a communication unit (not shown), a content transmission processing unit 21, a content transmission control unit 22, and a content storage unit 23.

通信部(図示せず)は、端末間通信によって他の通信端末と通信する機能を有する。   The communication unit (not shown) has a function of communicating with other communication terminals by inter-terminal communication.

コンテンツ送信処理部21は、コンテンツ送信制御部22の指示により通信端末10と通信セッションを確立させる機能を有する。図2中、通信端末20−1は、通信端末10と通信セッションABを確立し、通信端末20−2は、通信端末10と通信セッションACを確立する。   The content transmission processing unit 21 has a function of establishing a communication session with the communication terminal 10 according to an instruction from the content transmission control unit 22. In FIG. 2, the communication terminal 20-1 establishes a communication session AB with the communication terminal 10, and the communication terminal 20-2 establishes a communication session AC with the communication terminal 10.

更に、コンテンツ送信処理部21は、確立した通信セッションでコンテンツおよびコンテンツに対応するコンテンツ識別子を送信する機能を有する。具体的には、コンテンツ送信処理部21は、コンテンツ保存部23に保存されたコンテンツの中から通信端末10へ送信するコンテンツを抽出し、コンテンツの送信に先立ち、送信するコンテンツに対応したコンテンツ識別子を通信端末10に送信する。コンテンツ識別子の送信後、コンテンツ送信処理部21は、抽出したコンテンツを通信端末10へ送信する。   Further, the content transmission processing unit 21 has a function of transmitting content and a content identifier corresponding to the content in the established communication session. Specifically, the content transmission processing unit 21 extracts content to be transmitted to the communication terminal 10 from the content stored in the content storage unit 23, and sets a content identifier corresponding to the content to be transmitted prior to content transmission. It transmits to the communication terminal 10. After transmitting the content identifier, the content transmission processing unit 21 transmits the extracted content to the communication terminal 10.

第1の実施形態の説明の都合上、通信端末20−1と通信端末20−2は、同じコンテンツに対応するコンテンツ識別子をそれぞれ通信端末10へ送信するが、コンテンツ識別子の送信タイミングは、通信端末20−2が通信端末20−1の後とする。   For convenience of description of the first embodiment, the communication terminal 20-1 and the communication terminal 20-2 each transmit a content identifier corresponding to the same content to the communication terminal 10, but the transmission timing of the content identifier is the communication terminal. 20-2 is assumed to be after the communication terminal 20-1.

次に、第1の実施形態におけるコンテンツを受信する通信端末10について図2を用いて説明する。通信端末10は、通信部(図示せず)、コンテンツ受信処理部11、コンテンツ受信制御部12を備える。   Next, the communication terminal 10 that receives content in the first embodiment will be described with reference to FIG. The communication terminal 10 includes a communication unit (not shown), a content reception processing unit 11, and a content reception control unit 12.

通信端末10の通信部(図示せず)は、通信端末20−1と同様に他の通信端末と通信する機能を有する。   A communication unit (not shown) of the communication terminal 10 has a function of communicating with other communication terminals in the same manner as the communication terminal 20-1.

コンテンツ受信処理部11は、コンテンツ受信制御部12の指示により通信端末20−1及び通信端末20−2とそれぞれ通信セッションを確立させる機能を有する。図2中、通信端末10は、通信端末20−1と通信セッションABを確立し、通信端末20−2と通信セッションACを確立する。   The content reception processing unit 11 has a function of establishing a communication session with the communication terminal 20-1 and the communication terminal 20-2 according to an instruction from the content reception control unit 12, respectively. In FIG. 2, the communication terminal 10 establishes a communication session AB with the communication terminal 20-1, and establishes a communication session AC with the communication terminal 20-2.

更に、コンテンツ受信処理部11は、確立した通信セッションでコンテンツおよび対応するコンテンツ識別子を受信する機能を有する。   Furthermore, the content reception processing unit 11 has a function of receiving content and a corresponding content identifier in an established communication session.

コンテンツ受信制御部12は、通信端末20−1、20−2から送信されたコンテンツの受信を制御する機能を有する。具体的には、コンテンツ受信制御部12は、受信したコンテンツ識別子に対して他の通信セッションが存在するかを調べ、他の通信セッションが存在する場合、当該コンテンツ識別子に対応するコンテンツの受信を拒否する。また他の通信セッションが存在しない場合、コンテンツ受信制御部12は、コンテンツを受信するようコンテンツ受信処理部11に指示する。   The content reception control unit 12 has a function of controlling reception of content transmitted from the communication terminals 20-1 and 20-2. Specifically, the content reception control unit 12 checks whether there is another communication session for the received content identifier, and if there is another communication session, rejects reception of the content corresponding to the content identifier. To do. If there is no other communication session, the content reception control unit 12 instructs the content reception processing unit 11 to receive the content.

コンテンツの受信の拒否は、例えば、通信セッションがTCPなどのコネクション確立型の場合、コネクションを強制的に閉じるようコンテンツ受信制御部12が通信部(図示せず)に指示してもよい。あるいは、受信制御部12が当該コンテンツの受信拒否を示すメッセージを作成し、コンテンツの送信を停止させる通信端末に送信するよう通信部(図示せず)に指示してもよい。   For example, if the communication session is a connection establishment type such as TCP, the content reception control unit 12 may instruct the communication unit (not shown) to forcibly close the connection. Alternatively, the reception control unit 12 may create a message indicating that the content is rejected and instruct a communication unit (not shown) to transmit the message to a communication terminal that stops transmission of the content.

ここで、コンテンツは、映像、画像、音、文章、又は、プログラム等の情報データであり、コンテンツ識別子は、コンテンツを識別するための情報データである。   Here, the content is information data such as video, image, sound, text, or program, and the content identifier is information data for identifying the content.

図3は、本発明の第1の実施形態に係る通信端末の動作を示すフローチャートである。図2に示すように、通信端末10は、通信端末20−1、20−2からそれぞれ通信セッションAB、通信セッションACで同一のコンテンツを受信する状況にあるとする。また、通信端末10におけるコンテンツ識別子の受信のタイミングは、通信セッションABの通信端末20−1方が通信セッションACの通信端末20−2より早いとする。   FIG. 3 is a flowchart showing the operation of the communication terminal according to the first embodiment of the present invention. As illustrated in FIG. 2, it is assumed that the communication terminal 10 receives the same content from the communication terminals 20-1 and 20-2 in the communication session AB and the communication session AC, respectively. Further, it is assumed that the communication terminal 20 receives the content identifier earlier than the communication terminal 20-2 of the communication session AC.

通信端末10のコンテンツ受信処理部11は、通信セッションでコンテンツの受信前にコンテンツ識別子を受信する(S11)。具体的には、第1の実施形態の例では、コンテンツ受信処理部11は、通信セッションABによるコンテンツ識別子を受信し、その後、通信セッションACによるコンテンツ識別子を受信する。   The content reception processing unit 11 of the communication terminal 10 receives the content identifier before receiving the content in the communication session (S11). Specifically, in the example of the first embodiment, the content reception processing unit 11 receives the content identifier by the communication session AB, and then receives the content identifier by the communication session AC.

通信端末10のコンテンツ受信制御部12は、受信したコンテンツ識別子に対して他の通信セッションが存在するかを調べる(S12)。先行する通信セッションABにおけるコンテンツ識別子の受信時は、他に通信セッションが存在しないが(S12のNo)、通信セッションACにおけるコンテンツ識別子の受信時は、通信セッションABが存在する(S12のYes)。   The content reception control unit 12 of the communication terminal 10 checks whether another communication session exists for the received content identifier (S12). When the content identifier is received in the preceding communication session AB, there is no other communication session (No in S12), but when the content identifier is received in the communication session AC, the communication session AB exists (Yes in S12).

コンテンツ受信制御部12は、通信セッションABのコンテンツと重複する通信セッションACのコンテンツの受信を避けるために、受信した通信セッションACのコンテンツ識別子に対応するコンテンツの受信を拒否する(S13)。他の通信セッションが存在しない場合(S12のNo)、コンテンツ受信制御部12は、コンテンツ受信処理部11にコンテンツの受信(S14)を指示する。   The content reception control unit 12 rejects the reception of the content corresponding to the content identifier of the received communication session AC in order to avoid receiving the content of the communication session AC that overlaps the content of the communication session AB (S13). When there is no other communication session (No in S12), the content reception control unit 12 instructs the content reception processing unit 11 to receive content (S14).

このように第1の実施形態の通信端末10によれば、コンテンツの重複した送受信を防止し、ネットワークリソースの浪費を低減することができる。その理由は、通信端末10のコンテンツ受信制御部12が、受信したコンテンツ識別子に対して他の通信セッションが存在するかを調べ、他の通信セッションが存在すれば、当該通信セッションのコンテンツ識別子に対応するコンテンツの受信を拒否するからである。   As described above, according to the communication terminal 10 of the first embodiment, it is possible to prevent duplicate transmission / reception of contents and reduce waste of network resources. The reason is that the content reception control unit 12 of the communication terminal 10 checks whether another communication session exists for the received content identifier, and if there is another communication session, corresponds to the content identifier of the communication session. This is because the reception of the content to be rejected is rejected.

[第2の実施形態]
次に本発明の第2の実施形態に係る通信端末ついて、図4、図5、図6を用いて説明する。第2の実施形態の通信端末30は、コンテンツを受信する通信端末であり、第1の実施形態の通信端末10と比較して、対応情報保存部33を備える点で異なる。以下、第1の実施形態に係る通信端末の説明と重複する箇所は簡略に説明する。
[Second Embodiment]
Next, a communication terminal according to a second embodiment of the present invention will be described with reference to FIG. 4, FIG. 5, and FIG. The communication terminal 30 according to the second embodiment is a communication terminal that receives content, and is different from the communication terminal 10 according to the first embodiment in that a correspondence information storage unit 33 is provided. Hereinafter, portions that overlap with the description of the communication terminal according to the first embodiment will be briefly described.

図4は、第2の実施形態の通信端末の構成を示すブロック図である。図4中、第2の実施形態の通信端末30は、第1の実施形態の通信端末10の構成に加え、対応情報保存部33を備える。また、コンテンツ受信制御部32は、対応情報保存部33を参照する機能が追加されている。   FIG. 4 is a block diagram illustrating a configuration of the communication terminal according to the second embodiment. In FIG. 4, the communication terminal 30 of the second embodiment includes a correspondence information storage unit 33 in addition to the configuration of the communication terminal 10 of the first embodiment. The content reception control unit 32 has a function of referring to the correspondence information storage unit 33.

通信端末30の対応情報保存部33は、コンテンツ受信処理部11及びコンテンツ受信制御部32にそれぞれ接続され、通信セッション毎に受信したコンテンツ識別子とその通信セッションとの対応情報を保存する機能を有する。   The correspondence information storage unit 33 of the communication terminal 30 is connected to the content reception processing unit 11 and the content reception control unit 32, respectively, and has a function of storing correspondence information between the content identifier received for each communication session and the communication session.

図5は、対応情報保存部33に保存された対応情報の一例を示す図である。図5に示すように、対応情報は、通信セッションとコンテンツ識別子の対応関係を示すデータ項目で構成される。図5の対応情報によれば、通信セッションABでコンテンツ識別子ID_Xが受信済み、通信セッションACでコンテンツ識別子ID_Yが受信済みであることを示す。すわなち、通信端末10が、現在、当該通信セッションでコンテンツ識別子に対応するコンテンツを受信中、あるいは、今後、当該コンテンツを受信する予定であることを示している。   FIG. 5 is a diagram illustrating an example of correspondence information stored in the correspondence information storage unit 33. As shown in FIG. 5, the correspondence information includes data items indicating the correspondence between communication sessions and content identifiers. The correspondence information in FIG. 5 indicates that the content identifier ID_X has been received in the communication session AB and the content identifier ID_Y has been received in the communication session AC. In other words, it indicates that the communication terminal 10 is currently receiving the content corresponding to the content identifier in the communication session, or plans to receive the content in the future.

コンテンツ受信制御部32は、対応情報保存部33に保存された対応情報を参照して、コンテンツ識別子に係る他の通信セッションが存在するかを調べる機能を有する。更に、コンテンツ受信制御部32は、コンテンツ識別子に係る他の通信セッションが存在する場合は、後から受信したコンテンツ識別子に対応するコンテンツの受信を拒否する。   The content reception control unit 32 has a function of referring to the correspondence information stored in the correspondence information storage unit 33 and checking whether there is another communication session related to the content identifier. Furthermore, when there is another communication session related to the content identifier, the content reception control unit 32 rejects reception of the content corresponding to the content identifier received later.

図6は、本発明の第2の実施形態に係る通信端末の動作を示すフローチャートである。以下、第2の実施形態の通信端末の動作の説明について、第1の実施形態の動作との差分を中心に説明し、第1の実施形態と同様の動作については、詳細な説明を省略する。   FIG. 6 is a flowchart showing the operation of the communication terminal according to the second embodiment of the present invention. Hereinafter, the description of the operation of the communication terminal of the second embodiment will be described centering on the difference from the operation of the first embodiment, and detailed description of the same operation as that of the first embodiment will be omitted. .

図6に示すように、通信端末30のコンテンツ受信処理部11がコンテンツ識別子を受信した後(S11)、コンテンツ受信制御部32は、受信したコンテンツ識別子に対して他の通信セッションが存在するかを調べる(S12)。   As shown in FIG. 6, after the content reception processing unit 11 of the communication terminal 30 receives the content identifier (S11), the content reception control unit 32 determines whether another communication session exists for the received content identifier. Check (S12).

コンテンツ受信制御部32による対応情報保存部33の参照について、図5の例を用いて説明する。コンテンツ受信処理部11が通信セッションADでコンテンツ識別子ID_Xを受信した場合、コンテンツ受信制御部32は、受信したコンテンツ識別子ID_Xに対し、通信セッションADと異なる通信セッションが存在するか、図5の対応情報を参照する。このとき対応情報保存部13は、図5に示す対応情報のように、{通信セッション,コンテンツ識別子}={AB,ID_X}が保存され、コンテンツ識別子ID_Xに対して異なる通信セッションが存在する。これは、通信端末10が、既にコンテンツ識別子ID_Xに対応するコンテンツを通信セッションABで受信している、あるいは、受信する予定であることを表す。このため、コンテンツ受信制御部32は、コンテンツの重複を避けるために、通信セッションADで受信したコンテンツ識別子に対応するコンテンツの受信を拒否する(S13)。   Reference to the correspondence information storage unit 33 by the content reception control unit 32 will be described with reference to the example of FIG. When the content reception processing unit 11 receives the content identifier ID_X in the communication session AD, the content reception control unit 32 determines whether a communication session different from the communication session AD exists for the received content identifier ID_X, or the correspondence information in FIG. Refer to At this time, the correspondence information storage unit 13 stores {communication session, content identifier} = {AB, ID_X} as in the correspondence information shown in FIG. 5, and there is a different communication session for the content identifier ID_X. This indicates that the communication terminal 10 has already received or plans to receive the content corresponding to the content identifier ID_X in the communication session AB. Therefore, the content reception control unit 32 rejects the reception of the content corresponding to the content identifier received in the communication session AD in order to avoid duplication of content (S13).

また、上記の例と異なり、コンテンツ受信処理部11が、通信セッションADでコンテンツ識別子ID_Zを受信した場合、図5に示す対応情報にコンテンツ識別子ID_Zに対応する通信セッションが存在しない。このため、コンテンツ受信制御部32は、受信したコンテンツ識別子とその通信セッションとの対応情報を対応情報保存部33に保存し(S13B)、続いて、受信したコンテンツ識別子に対応するコンテンツを受信する(S14)。   Also, unlike the above example, when the content reception processing unit 11 receives the content identifier ID_Z in the communication session AD, there is no communication session corresponding to the content identifier ID_Z in the correspondence information illustrated in FIG. Therefore, the content reception control unit 32 stores the correspondence information between the received content identifier and the communication session in the correspondence information storage unit 33 (S13B), and then receives the content corresponding to the received content identifier ( S14).

なお、上記では、対応情報保存部33の対応情報に通信セッションとコンテンツ識別子の情報を追加する例を説明したが、通信セッションにおけるコンテンツの受信完了後に対応情報保存部33の対応情報を削除してもよい。   In the above description, the communication session and the content identifier information are added to the correspondence information of the correspondence information storage unit 33. However, after the reception of the content in the communication session is completed, the correspondence information of the correspondence information storage unit 33 is deleted. Also good.

図7は、図5の対応情報が削除された例を示す図である。対応情報の削除は、対応情報の上段のように通信セッションの情報を削除してもよく、対応情報の中段のように通信セッションとコンテンツ識別子の両方を削除してもよい。対応情報保存部33の対応情報の削除は、コンテンツ受信処理部11が、コンテンツの受信完了に応じて対応情報保存部33の対応情報における当該コンテンツに対応するコンテンツ識別子と通信セッションの情報を削除する。   FIG. 7 is a diagram illustrating an example in which the correspondence information in FIG. 5 is deleted. The deletion of the correspondence information may delete the communication session information as in the upper part of the correspondence information, or may delete both the communication session and the content identifier as in the middle part of the correspondence information. In the deletion of the correspondence information in the correspondence information storage unit 33, the content reception processing unit 11 deletes the content identifier and communication session information corresponding to the content in the correspondence information of the correspondence information storage unit 33 in response to the completion of content reception. .

以上のように、第2の実施形態の通信端末30によれば、第1の実施形態と同様にコンテンツの重複した送受信を防止し、ネットワークリソースの浪費を低減することができる。   As described above, according to the communication terminal 30 of the second embodiment, it is possible to prevent duplicate transmission / reception of contents as in the first embodiment and reduce waste of network resources.

[第3の実施形態]
本発明の第3の実施形態に係る通信端末ついて、図8、図9、図10を参照して説明する。図8は、第3の実施形態に係る通信端末の構成を示すブロック図である。図8中、第3の実施形態の通信端末40は、コンテンツを受信する通信端末であり、第2の実施形態の通信端末30の構成にコンテンツ保存部44を更に備える。
[Third Embodiment]
A communication terminal according to the third embodiment of the present invention will be described with reference to FIG. 8, FIG. 9, and FIG. FIG. 8 is a block diagram illustrating a configuration of a communication terminal according to the third embodiment. In FIG. 8, a communication terminal 40 according to the third embodiment is a communication terminal that receives content, and further includes a content storage unit 44 in the configuration of the communication terminal 30 according to the second embodiment.

なお、通信端末40におけるコンテンツ保存部44の追加に伴い、コンテンツ受信処理部41は、コンテンツ受信処理部11の機能に加え、コンテンツ保存部44にコンテンツを保存する機能、対応情報保存部43の対応情報を削除する機能、および対応情報保存部43にコンテンツの保存状況の情報を登録する機能を備える。コンテンツ受信制御部42は、コンテンツ受信制御部32の機能に加え、対応情報保存部43のコンテンツの保存状況を参照する機能を備える。また、対応情報保存部43の対応情報は、コンテンツ保存状況の項目が追加されている。   With the addition of the content storage unit 44 in the communication terminal 40, the content reception processing unit 41 has a function of storing content in the content storage unit 44 in addition to the function of the content reception processing unit 11, and the correspondence of the correspondence information storage unit 43. A function of deleting information and a function of registering information on the storage status of content in the correspondence information storage unit 43 are provided. In addition to the function of the content reception control unit 32, the content reception control unit 42 has a function of referring to the content storage status of the correspondence information storage unit 43. The correspondence information stored in the correspondence information storage unit 43 includes an item of content storage status.

通信端末40のコンテンツ保存部44は、コンテンツ受信処理部41及びコンテンツ受信制御部42、対応情報保存部43とそれぞれ接続され、通信セッション毎に受信が完了したコンテンツを保存する機能を有する。   The content storage unit 44 of the communication terminal 40 is connected to the content reception processing unit 41, the content reception control unit 42, and the correspondence information storage unit 43, respectively, and has a function of storing content that has been received for each communication session.

コンテンツ保存部44へのコンテンツの保存は、コンテンツ受信処理部41により実行される。コンテンツ受信処理部41でのコンテンツの受信開始後にコンテンツ保存部44への蓄積が開始され、コンテンツの受信完了後に保存が完了する。なお、コンテンツ受信処理部41は、コンテンツの受信完了後にコンテンツ保存部44への蓄積を開始してもよい。   Content storage in the content storage unit 44 is executed by the content reception processing unit 41. Accumulation in the content storage unit 44 is started after the content reception processing unit 41 starts receiving the content, and the storage is completed after the content reception is completed. The content reception processing unit 41 may start accumulation in the content storage unit 44 after the completion of content reception.

コンテンツ受信処理部41は、コンテンツ保存部44にコンテンツを保存した後、対応情報保存部43の対応情報にコンテンツの保存状況の情報を登録する。   After storing the content in the content storage unit 44, the content reception processing unit 41 registers information on the storage status of the content in the correspondence information in the correspondence information storage unit 43.

図9は、対応情報保存部43に保存される対応情報の一例を示す図である。図9中、対応情報の項目は、通信セッション、コンテンツ識別子の他に、新たな項目として、コンテンツ名及び保存状況が追加されている。対応情報の上段は、コンテンツ識別子ID_Xに対応するコンテンツXが、通信セッションABでコンテンツXを受信開始又受信完了前であることを表す。このときコンテンツXは、コンテンツ保存部44に全て保存されていない状況を表す。また対応情報の中段は、コンテンツ識別子ID_Yに対応するコンテンツYが、コンテンツ保存部44に保存が完了したことを表す。通信セッションの情報は、コンテンツYの保存の完了に伴い削除される。   FIG. 9 is a diagram illustrating an example of correspondence information stored in the correspondence information storage unit 43. In FIG. 9, the item of correspondence information includes a content name and a storage status as new items in addition to the communication session and the content identifier. The upper part of the correspondence information indicates that the content X corresponding to the content identifier ID_X is before the reception or the completion of the reception of the content X in the communication session AB. At this time, the content X represents a situation where not all content is stored in the content storage unit 44. The middle part of the correspondence information indicates that the content Y corresponding to the content identifier ID_Y has been stored in the content storage unit 44. The communication session information is deleted when the storage of the content Y is completed.

なお、対応情報の下段のように、コンテンツZの保存の完了に伴い、通信セッションと共にコンテンツ識別子を削除してもよい。受信するコンテンツが既にコンテンツ保存部44に保存されている場合、通信端末40のコンテンツ受信制御部42は、対応情報保存部43の対応情報を参照することでコンテンツの重複を防止することが可能となる。   Note that, as shown in the lower part of the correspondence information, the content identifier may be deleted together with the communication session when the storage of the content Z is completed. When the content to be received is already stored in the content storage unit 44, the content reception control unit 42 of the communication terminal 40 can prevent content duplication by referring to the correspondence information in the correspondence information storage unit 43. Become.

図10は、本発明の第3の実施形態に係る通信端末の動作を示すフローチャートである。以下、第3の実施形態の通信端末の動作の説明について、第1、第2の実施形態の動作との差分を中心に説明し、第3の実施形態と同様の動作については、詳細な説明を省略する。   FIG. 10 is a flowchart showing the operation of the communication terminal according to the third embodiment of the present invention. Hereinafter, the operation of the communication terminal according to the third embodiment will be described focusing on the differences from the operations of the first and second embodiments, and the same operation as that of the third embodiment will be described in detail. Is omitted.

第3の実施形態に係る通信端末40は、コンテンツ識別子を受信後(S21)、コンテンツ受信制御部42が、受信したコンテンツ識別子に対応する、他の通信セッションが存在するかあるいはコンテンツが保存済であるか対応情報保存部43を参照して確認する(S22)。他の通信セッションが存在する(S23のYes)、あるいは、コンテンツが保存済である(S24DのYes)場合、コンテンツ受信制御部42は、受信したコンテンツに対応するコンテンツの受信を拒否する(S13)。なお、S23とS24の条件判定は順序が逆でもよい。また、S22において、受信したコンテンツ識別子に対応する他の通信セッションが存在していた場合に、コンテンツが保存済であるかの確認を省略してもよい。   In the communication terminal 40 according to the third embodiment, after receiving the content identifier (S21), the content reception control unit 42 has another communication session corresponding to the received content identifier or the content has been saved. It is confirmed with reference to the correspondence information storage unit 43 (S22). If another communication session exists (Yes in S23) or the content has been saved (Yes in S24D), the content reception control unit 42 rejects reception of the content corresponding to the received content (S13). . Note that the order of the conditions in S23 and S24 may be reversed. In S22, if there is another communication session corresponding to the received content identifier, confirmation of whether the content has been saved may be omitted.

他の通信セッションが存在せず(S23のNo)、コンテンツが保存済でもない(S24のNo)場合、コンテンツ受信制御部42は、受信したコンテンツ識別子とその通信セッションとの対応情報を対応情報保存部43に登録する(S13B)。   When there is no other communication session (No in S23) and the content is not already saved (No in S24), the content reception control unit 42 stores correspondence information between the received content identifier and the communication session. Register in the unit 43 (S13B).

続いて、コンテンツ受信処理部41は、受信したコンテンツ識別子に対応するコンテンツの受信を開始する(S14)。その後、コンテンツ受信処理部41は、コンテンツ保存部44にコンテンツを蓄積し、コンテンツの受信完了後にコンテンツの保存を完了する(S15)。更に、コンテンツ受信処理部41は、対応情報保存部43の対応情報にコンテンツの保存状況を登録(S16)し、コンテンツを受信した通信セッションの情報を対応情報から削除する。なお、対応情報保存部43の対応情報から通信セッションの情報を削除するのは、コンテンツ受信処理部41の他にコンテンツ受信制御部42が処理してもよい。   Subsequently, the content reception processing unit 41 starts to receive content corresponding to the received content identifier (S14). Thereafter, the content reception processing unit 41 accumulates the content in the content storage unit 44, and completes the storage of the content after the content reception is completed (S15). Furthermore, the content reception processing unit 41 registers the content storage status in the correspondence information of the correspondence information storage unit 43 (S16), and deletes the information of the communication session that received the content from the correspondence information. The content reception control unit 42 may delete the communication session information from the correspondence information stored in the correspondence information storage unit 43 in addition to the content reception processing unit 41.

以上のように、第3の実施形態の通信端末40によれば、第1の実施形態の通信端末10、第2の実施形態の通信端末30と同様にコンテンツの重複した送受信を防止し、ネットワークリソースの浪費を低減することができる。   As described above, according to the communication terminal 40 of the third embodiment, similar to the communication terminal 10 of the first embodiment and the communication terminal 30 of the second embodiment, duplicate transmission / reception of contents is prevented, and the network Resource waste can be reduced.

また、第3の実施形態の通信端末40は、対応情報保存部43の対応情報にコンテンツ保存部におけるコンテンツ保存状況が登録される。これにより、対応情報から削除したコンテンツ識別子と同じコンテンツ識別子をコンテンツ受信処理部11が受信した場合でも、対応情報保存部43の対応情報を調べることで重複するコンテンツの存在を調査できる。   In the communication terminal 40 of the third embodiment, the content storage status in the content storage unit is registered in the correspondence information of the correspondence information storage unit 43. Thereby, even when the content reception processing unit 11 receives the same content identifier as the content identifier deleted from the correspondence information, the existence of duplicate content can be investigated by examining the correspondence information in the correspondence information storage unit 43.

[第4の実施形態]
本発明の第4の実施形態に係る通信端末ついて、図11、図12、図13を参照して説明する。本発明の第4の実施形態に係る通信端末は、端末間通信によるエピデミック方式を適用した通信端末である。図11に示すように、通信端末100は、通信端末200−1、通信端末200−2と自律分散的に端末間通信が可能であり、通信端末200−1および通信端末200−2との間で、それぞれ異なる通信セッション(通信セッションAB、通信セッションAC)を確立できる。また第4の実施形態の通信端末は、端末間通信によるエピデミック方式のpush型の一例として説明する。
[Fourth Embodiment]
A communication terminal according to a fourth embodiment of the present invention will be described with reference to FIG. 11, FIG. 12, and FIG. A communication terminal according to the fourth embodiment of the present invention is a communication terminal to which an epidemic method using inter-terminal communication is applied. As illustrated in FIG. 11, the communication terminal 100 can perform inter-terminal communication in an autonomous and distributed manner with the communication terminal 200-1 and the communication terminal 200-2, and between the communication terminal 200-1 and the communication terminal 200-2. Thus, different communication sessions (communication session AB and communication session AC) can be established. The communication terminal according to the fourth embodiment will be described as an example of an epidemic push type based on inter-terminal communication.

通信端末100は、コンテンツを受信する通信端末として、通信端末200−1及び通信端末200−2は、コンテンツを送信する通信端末として、以下、説明する。   The communication terminal 100 will be described below as a communication terminal that receives content, and the communication terminal 200-1 and the communication terminal 200-2 are described as communication terminals that transmit content.

図12は、本発明の第4の実施形態に係る通信端末の構成を示すブロック図である。通信端末200−1及び通信端末200−2は、それぞれ同じ構成を備えるため、以下、代表として通信端末200−1の構成で説明をする。   FIG. 12 is a block diagram showing a configuration of a communication terminal according to the fourth embodiment of the present invention. Since the communication terminal 200-1 and the communication terminal 200-2 have the same configuration, the configuration of the communication terminal 200-1 will be described below as a representative.

図12を参照すると、本発明の第4の実施形態に係る通信端末200−1は、通信部210と、演算処理部220と、保存部230とを備える。通信部210は、後述する通信端末100の通信部110の機能と同じである。   Referring to FIG. 12, a communication terminal 200-1 according to the fourth embodiment of the present invention includes a communication unit 210, an arithmetic processing unit 220, and a storage unit 230. The communication unit 210 has the same function as the communication unit 110 of the communication terminal 100 described later.

演算処理部220は、演算処理部220が実現する各機能として、SVメッセージ受信部220D、コンテンツ送信制御部220E、コンテンツ送信処理部220Fを備える。なお、演算処理部220が実現する各機能は各々が並行して動作してもよい。   The arithmetic processing unit 220 includes an SV message receiving unit 220D, a content transmission control unit 220E, and a content transmission processing unit 220F as functions realized by the arithmetic processing unit 220. Note that each function realized by the arithmetic processing unit 220 may operate in parallel.

コンテンツ送信制御部220Eは、コンテンツの送信を制御する機能を有する。コンテンツ送信制御部220Eは、通信端末100からSVメッセージを受信すると、当該のSVメッセージに含まれている通信端末100が保持しているコンテンツのリストをSVメッセージ受信部220Dから受け取り、通信端末200−1のコンテンツ保存部230Aに保存されているコンテンツと比較する。続いてコンテンツ送信制御部220Eは、通信端末100が保持せず、通信端末200が保存するコンテンツを、通信端末100に送信するコンテンツとして抽出する。   The content transmission control unit 220E has a function of controlling content transmission. When the content transmission control unit 220E receives the SV message from the communication terminal 100, the content transmission control unit 220E receives a list of contents held by the communication terminal 100 included in the SV message from the SV message reception unit 220D, and receives the communication terminal 200- The content is compared with the content stored in one content storage unit 230A. Subsequently, the content transmission control unit 220E extracts the content stored in the communication terminal 200 that is not held by the communication terminal 100 as content to be transmitted to the communication terminal 100.

送信コンテンツが存在しなかった場合には、コンテンツ送信制御部220Eは、何もせず再度SVメッセージの受信待ちに戻る。一方、送信コンテンツが存在した場合には、コンテンツ送信制御部220Eは、コンテンツ送信処理部220Fに当該送信コンテンツを通信端末100へ送信する処理を開始するよう指示し、SVメッセージの受信待ちに戻る。   When there is no transmission content, the content transmission control unit 220E does nothing and returns to waiting for the SV message again. On the other hand, when there is transmission content, the content transmission control unit 220E instructs the content transmission processing unit 220F to start processing for transmitting the transmission content to the communication terminal 100, and returns to waiting for reception of the SV message.

ここで、通信端末100へ送信する送信コンテンツが複数存在する場合には、コンテンツ送信処理部220Fは、送信コンテンツ毎にコンテンツ保存部230Aから読み出し、それぞれのコンテンツを並行して送信処理を行ってもよい。また、コンテンツ送信制御部220Eは、コンテンツ送信処理部220Fの処理終了を待たずして、SVメッセージの受信待ちに戻ってよい。   Here, when there are a plurality of transmission contents to be transmitted to the communication terminal 100, the content transmission processing unit 220F may read out each transmission content from the content storage unit 230A and perform transmission processing on each content in parallel. Good. Further, the content transmission control unit 220E may return to waiting for the reception of the SV message without waiting for the content transmission processing unit 220F to end the processing.

コンテンツ送信処理部220Fは、コンテンツ送信制御部220Eによって指示された送信コンテンツを通信端末100に送信する。コンテンツ送信処理部220Fは、通信端末100との通信セッションを確立するよう通信部210に指示する。続いて、コンテンツ送信処理部220Fは、確立した通信セッションを用いて送信コンテンツに対応するコンテンツ識別子を含む送信コンテンツ通知を通信端末100へ送信するよう通信部210に指示する。   The content transmission processing unit 220F transmits the transmission content instructed by the content transmission control unit 220E to the communication terminal 100. The content transmission processing unit 220F instructs the communication unit 210 to establish a communication session with the communication terminal 100. Subsequently, the content transmission processing unit 220F instructs the communication unit 210 to transmit a transmission content notification including a content identifier corresponding to the transmission content to the communication terminal 100 using the established communication session.

ここで、コンテンツ送信処理部220Fは、送信コンテンツ通知と送信コンテンツとを、明示的に別のパケットに分割して送信してもよいが、送信コンテンツ通知と送信コンテンツとは同じ通信セッションを用いて送信する。   Here, the content transmission processing unit 220F may explicitly transmit the transmission content notification and the transmission content by dividing them into separate packets, but the transmission content notification and the transmission content use the same communication session. Send.

また、コンテンツ送信処理部220Fは、通信端末100に送信コンテンツを送信しているときに、通信端末100より受信を拒否された場合は、コンテンツの送信を中止するよう通信部210に指示する。コンテンツ送信処理部220Fは、コンテンツの送信を完了すると、通信セッションを終了し、当該コンテンツに関する送信処理を終了する。   Also, the content transmission processing unit 220F instructs the communication unit 210 to stop the transmission of the content when the transmission content is refused by the communication terminal 100 while the transmission content is being transmitted to the communication terminal 100. When the content transmission processing unit 220F completes the transmission of the content, the content transmission processing unit 220F ends the communication session and ends the transmission processing regarding the content.

SVメッセージ受信部220Dは、SVメッセージに含まれるコンテンツのリストをコンテンツ送信制御部220Eに転送する。   The SV message receiving unit 220D transfers the content list included in the SV message to the content transmission control unit 220E.

保存部230は、ハードディスクやメモリなどの記憶装置からなり、演算処理部220における処理で使用する各種の情報を記憶する機能を有する。   The storage unit 230 includes a storage device such as a hard disk or a memory, and has a function of storing various types of information used in processing in the arithmetic processing unit 220.

コンテンツ保存部230Aは、他の通信端末から受信したコンテンツや自通信端末200−1のコンテンツを保存する機能を有する。   The content storage unit 230A has a function of storing content received from other communication terminals and content of the own communication terminal 200-1.

図13は、コンテンツを受信する通信端末100の構成を示すブロック図である。図13を参照すると、本発明の第4の実施形態に係る通信端末100は、通信部110と、演算処理部120と、保存部130とを有する。通信部110は、他の通信端末と通信する機能を有する。通信部110は、例えばIEEE(Institute of Electrical and Electronics Engineers)802.11で規定されている無線LAN通信を行うための、無線のインタフェース部および周辺回路を備え、またそれらを制御するためのOS(Operating System)のカーネルモジュールやドライバ等を含む。   FIG. 13 is a block diagram illustrating a configuration of the communication terminal 100 that receives content. Referring to FIG. 13, a communication terminal 100 according to the fourth embodiment of the present invention includes a communication unit 110, an arithmetic processing unit 120, and a storage unit 130. The communication unit 110 has a function of communicating with other communication terminals. The communication unit 110 includes a wireless interface unit and peripheral circuits for performing wireless LAN communication defined by, for example, IEEE (Institut of Electrical and Electronics Engineers) 802.11, and an OS (for controlling them) (Operating System) kernel module, driver, and the like.

また、通信部110は、他の通信端末の検知や、ルーティングといったネットワーク制御を行ってもよい。他端末通信との通信プロトコルは任意で、TCP(Transmission Control Protocol)やUDP(User Datagram Protocol)等を用いてよい。   The communication unit 110 may perform network control such as detection of other communication terminals and routing. The communication protocol with other terminal communication is arbitrary, and TCP (Transmission Control Protocol), UDP (User Datagram Protocol), etc. may be used.

演算処理部120は、演算処理部120が実現する各機能として、SVメッセージ送信部120A、コンテンツ受信制御部120B、コンテンツ受信処理部120Cを備える。なお、演算処理部120が実現する各機能は各々が並行して動作してもよい。   The arithmetic processing unit 120 includes an SV message transmission unit 120A, a content reception control unit 120B, and a content reception processing unit 120C as functions realized by the arithmetic processing unit 120. Each function realized by the arithmetic processing unit 120 may operate in parallel.

SVメッセージ送信部120Aは、コンテンツ保存部130Aが保存するコンテンツのリストをSVメッセージとして作成し、周辺ノードに広報するよう通信部110に指示する。   The SV message transmission unit 120A creates a list of contents stored by the content storage unit 130A as an SV message and instructs the communication unit 110 to publicize it to surrounding nodes.

SVメッセージ送信部120Aは、SVメッセージを一定周期で送信させるようにしてもいいし、あるいはネットワーク環境等に応じて動的に送信周期を変化させてもよい。また、SVメッセージ送信部120Aは、SVメッセージをブロードキャスト通信によって広報するよう通信部110に指示してもよいし、周辺ノード各々に対してユニキャスト通信によって送信するように通信部110に指示してもよい。   The SV message transmitting unit 120A may cause the SV message to be transmitted at a constant cycle, or may dynamically change the transmission cycle according to the network environment or the like. In addition, the SV message transmission unit 120A may instruct the communication unit 110 to publicize the SV message by broadcast communication, or may instruct the communication unit 110 to transmit to each peripheral node by unicast communication. Also good.

コンテンツ受信制御部120Bは、コンテンツの受信を制御する機能を有する。すなわち、コンテンツ受信制御部120Bは、通信端末200−1及び通信端末200−2と通信セッションの確立後、当該通信セッションを通じて送信コンテンツ通知を受信すると、当該通信セッションにおけるコンテンツを受信するか否かを判断する。   The content reception control unit 120B has a function of controlling content reception. That is, when the content reception control unit 120B receives the transmission content notification through the communication session after establishing the communication session with the communication terminal 200-1 and the communication terminal 200-2, it determines whether to receive the content in the communication session. to decide.

具体的には、コンテンツ受信制御部120Bは、送信コンテンツ通知に含まれるコンテンツ識別子に対応したコンテンツがコンテンツ保存部130Aに保存されているかを調べる。さらに、コンテンツ受信制御部120Bは、当該コンテンツ識別子に対応した通信セッションが対応情報保存部130Bに保存されているかを調べる。   Specifically, the content reception control unit 120B checks whether content corresponding to the content identifier included in the transmission content notification is stored in the content storage unit 130A. Furthermore, the content reception control unit 120B checks whether the communication session corresponding to the content identifier is stored in the correspondence information storage unit 130B.

なお、送信コンテンツ通知は、他通信端末が自通信端末に送信するメッセージで、当該の通信セッションで送信するコンテンツに対するコンテンツ識別子を含む。   The transmission content notification is a message transmitted from the other communication terminal to the own communication terminal, and includes a content identifier for the content transmitted in the communication session.

またコンテンツ受信制御部120Bは、当該のコンテンツ保存部130Aにコンテンツ識別子に対応するコンテンツが存在しない、かつ、受信したコンテンツ識別子に対応する他の通信セッションが存在しない場合、当該のコンテンツ識別子と当該の通信セッションとの対応情報を対応情報保存部130Bに保存する。   Also, the content reception control unit 120B, when there is no content corresponding to the content identifier in the content storage unit 130A and there is no other communication session corresponding to the received content identifier, the content reception control unit 120B Correspondence information with the communication session is stored in the correspondence information storage unit 130B.

続いて、コンテンツ受信制御部120Bは、コンテンツ受信処理部120Cに当該通信セッションにおける当該コンテンツを受信させ、コンテンツ識別子の受信待ちに戻る。このとき、コンテンツ受信制御部120Bは、コンテンツ受信処理部120Cの処理終了を待たずして、コンテンツ識別子の受信待ちに戻ってもよい。   Subsequently, the content reception control unit 120B causes the content reception processing unit 120C to receive the content in the communication session, and returns to waiting for reception of the content identifier. At this time, the content reception control unit 120B may return to waiting for the reception of the content identifier without waiting for the processing of the content reception processing unit 120C to end.

一方、コンテンツ保存部130Aにコンテンツが存在する、又は、受信中のコンテンツに対応する他の通信セッションが存在する場合、コンテンツ受信制御部120Bは、当該通信セッションにおけるコンテンツの受信を拒否する。   On the other hand, when content exists in content storage unit 130A or there is another communication session corresponding to the content being received, content reception control unit 120B rejects the reception of the content in the communication session.

コンテンツの受信の拒否は、通信セッションがTCPなどのコネクション確立型であった場合、コンテンツ受信制御部120Bが、コネクションを強制的に閉じるよう通信部110に指示してもいい。あるいは、コンテンツ受信制御部120Bが、当該コンテンツの受信拒否を示すメッセージを作成し、通信端末200−1又は200−2に送信するよう通信部110に指示してもよい。   Regarding the rejection of content reception, when the communication session is a connection establishment type such as TCP, the content reception control unit 120B may instruct the communication unit 110 to forcibly close the connection. Alternatively, the content reception control unit 120B may create a message indicating rejection of the content and instruct the communication unit 110 to transmit the message to the communication terminal 200-1 or 200-2.

コンテンツ受信処理部120Cは、コンテンツ受信制御部120Bによって指示された通信セッションを用いてコンテンツを受信する。コンテンツ受信処理部120Cは、コンテンツを受信し終えると、受信したコンテンツをコンテンツ保存部130Aに保存する。さらにコンテンツ受信処理部120Cは、当該コンテンツと当該通信セッションの対応を対応情報保存部130Bから削除し、当該の通信セッションを閉じて当該コンテンツの受信処理を終了する。   The content reception processing unit 120C receives content using a communication session instructed by the content reception control unit 120B. When the content reception processing unit 120C has received the content, the content reception processing unit 120C stores the received content in the content storage unit 130A. Furthermore, the content reception processing unit 120C deletes the correspondence between the content and the communication session from the correspondence information storage unit 130B, closes the communication session, and ends the content reception process.

ただし、コンテンツを受信し終える前にコンテンツの受信が停止した場合には、コンテンツ受信制御部120Bの指示によりコンテンツ受信処理部120Cは、当該コンテンツを保存することなく、当該コンテンツと当該通信セッションの対応を対応情報保存部130Bから削除し、当該の通信セッションを閉じて処理を終了する。たとえば、一定時間以上コンテンツのパケットが受信できなかった場合に、コンテンツの受信が停止したと判断する。   However, if the content reception is stopped before the content has been received, the content reception processing unit 120C, in response to an instruction from the content reception control unit 120B, does not store the content, and the correspondence between the content and the communication session. Is deleted from the correspondence information storage unit 130B, the communication session is closed, and the process is terminated. For example, when the content packet cannot be received for a certain time or more, it is determined that the content reception is stopped.

保存部130はコンテンツ保存部130Aと対応情報保存部130Bを有し、それぞれ第3の実施形態におけるコンテンツ保存部44および対応情報保存部43と同様の機能を有する。   The storage unit 130 includes a content storage unit 130A and a correspondence information storage unit 130B, and has functions similar to those of the content storage unit 44 and the correspondence information storage unit 43 in the third embodiment, respectively.

次に、第4の実施形態に係る通信端末の動作について、図14A、図14B、図15を用いて説明する。なお、以下では便宜上、コンテンツを受信する通信端末100の動作と、コンテンツを送信する通信端末200の動作について説明する。それぞれの通信端末におけるコンテンツの受信とコンテンツの送信は並行して動いてよい。   Next, the operation of the communication terminal according to the fourth embodiment will be described using FIG. 14A, FIG. 14B, and FIG. In the following, for the sake of convenience, the operation of the communication terminal 100 that receives content and the operation of the communication terminal 200 that transmits content will be described. The reception of content and the transmission of content at each communication terminal may be performed in parallel.

図14Aは、第4の実施形態に係る通信端末200における動作の一部である第1の動作を示すフローチャートである。通信端末200における第1の動作は、SVメッセージの受信からコンテンツの送信処理の開始までの一連の動作である。   FIG. 14A is a flowchart showing a first operation which is a part of the operation in the communication terminal 200 according to the fourth embodiment. The first operation in communication terminal 200 is a series of operations from the reception of the SV message to the start of the content transmission process.

はじめに、通信端末200の通信部210は、通信端末100から定期的に広報されるSVメッセージを受信し(S201)、受信したSVメッセージに含まれるコンテンツのリストが、コンテンツ送信制御部220Eに転送される。   First, the communication unit 210 of the communication terminal 200 receives an SV message periodically broadcast from the communication terminal 100 (S201), and a list of contents included in the received SV message is transferred to the content transmission control unit 220E. The

コンテンツ送信制御部220Eは、SVメッセージに含まれる通信端末100が保持するコンテンツのリストと、通信端末200のコンテンツ保存部230Aに保存されているコンテンツとを比較する。比較結果からコンテンツ送信制御部220Eは、通信端末200に保存され、通信端末100が保持していないコンテンツを抽出する(S202)。   The content transmission control unit 220E compares the content list stored in the communication terminal 100 included in the SV message with the content stored in the content storage unit 230A of the communication terminal 200. From the comparison result, the content transmission control unit 220E extracts the content stored in the communication terminal 200 and not held by the communication terminal 100 (S202).

通信端末100に送信するコンテンツが存在しない場合、コンテンツ送信制御部220Eは、SVメッセージの受信待ちに戻る(S203のNo)。通信端末100に送信するコンテンツが存在する場合(S203のYes)、コンテンツの送信処理の開始(S204)をコンテンツ送信処理部220Fへ指示し、SVメッセージの受信待ちに戻る。   If there is no content to be transmitted to the communication terminal 100, the content transmission control unit 220E returns to waiting for the reception of the SV message (No in S203). When there is content to be transmitted to the communication terminal 100 (Yes in S203), the content transmission processing unit 220F is instructed to start the content transmission processing (S204), and the process returns to waiting for receiving the SV message.

図14Bは、第4の実施形態にかかる通信端末200における動作の一部である第2の動作を示すフローチャートである。通信端末200における第2の動作は、通信セッションの確立後、コンテンツ識別子の送信からコンテンツの送信完了あるいは送信中止までの一連の動作である。第1の動作におけるコンテンツの送信処理(S204)をトリガーとして第2の動作が開始される。   FIG. 14B is a flowchart illustrating a second operation that is a part of the operation in the communication terminal 200 according to the fourth embodiment. The second operation in the communication terminal 200 is a series of operations from the transmission of the content identifier to the completion of transmission of the content or the stop of transmission after the establishment of the communication session. The second operation is started with the content transmission process (S204) in the first operation as a trigger.

まず、コンテンツ送信処理部220Fが、通信セッションを確立し通信端末100へ送信するコンテンツのコンテンツ識別子を含む送信コンテンツ通知を当該通信セッションで送信する(S205)。次に、コンテンツ送信処理部220Fは、コンテンツ送信制御部220Eによって指示されたコンテンツに対して通信端末100への送信を開始する(S206)。送信するコンテンツが複数存在する場合、コンテンツ送信処理部220Fは、それぞれのコンテンツを並行して送信してよい。   First, the content transmission processing unit 220F establishes a communication session and transmits a transmission content notification including the content identifier of the content to be transmitted to the communication terminal 100 in the communication session (S205). Next, the content transmission processing unit 220F starts transmission of the content instructed by the content transmission control unit 220E to the communication terminal 100 (S206). When there are a plurality of contents to be transmitted, the content transmission processing unit 220F may transmit the contents in parallel.

通信端末100にコンテンツを送信している途中に、通信端末100が当該コンテンツの受信を拒否した場合(S207)、コンテンツ送信処理部220Fは、通信端末100への当該のコンテンツの送信を中止する(S208)。   If the communication terminal 100 refuses to receive the content while transmitting the content to the communication terminal 100 (S207), the content transmission processing unit 220F stops the transmission of the content to the communication terminal 100 ( S208).

コンテンツの受信の拒否がない場合(S207のNo)、コンテンツ送信処理部220Fは、コンテンツの送信を続け、コンテンツの送信を完了する(S209)。なお、コンテンツ送信制御部220Eは、コンテンツ送信処理部220Fが送信するコンテンツの送信完了を待たず、SVメッセージの受信待ちに戻ってよい。   If there is no rejection of content reception (No in S207), the content transmission processing unit 220F continues to transmit content and completes content transmission (S209). Note that the content transmission control unit 220E may return to waiting for the reception of the SV message without waiting for the completion of transmission of the content transmitted by the content transmission processing unit 220F.

最後にコンテンツ送信処理部220Fは、コンテンツの送信完了後に当該通信セッションを閉じて当該のコンテンツの送信処理を終了する。   Finally, the content transmission processing unit 220F closes the communication session after the content transmission is completed and ends the content transmission processing.

図15は、コンテンツを受信する通信端末100の動作を示すフローチャートである。   FIG. 15 is a flowchart showing the operation of the communication terminal 100 that receives content.

コンテンツ受信制御部120Bは、通信端末200−1及び通信端末200−2と通信セッションの確立後、当該通信セッションを通じて送信コンテンツ通知を受信する(S101)。   After establishing a communication session with the communication terminal 200-1 and the communication terminal 200-2, the content reception control unit 120B receives a transmission content notification through the communication session (S101).

更にコンテンツ受信制御部120Bは、受信した送信コンテンツ通知に含まれるコンテンツ識別子について、対応したコンテンツがコンテンツ保存部130Aに保存されているか、或いは、対応した通信セッションが対応情報保存部130Bに保存されているかを確認する(S102)。   Further, the content reception control unit 120B has a corresponding content stored in the content storage unit 130A or a corresponding communication session stored in the corresponding information storage unit 130B for the content identifier included in the received transmission content notification. (S102).

当該コンテンツ識別子に対応した通信セッションが存在する(S102AのYes)又はコンテンツが保存済みである(S102BのYes)場合に、コンテンツ受信制御部120Bは、受信したコンテンツ識別子に対応するコンテンツの受信を拒否する(S103)。なお、S102AとS102Bの条件判定は順序が逆でもよい。また、S102において、受信したコンテンツ識別子に対応する他の通信セッションが存在していた場合に、コンテンツが保存済みであるかの確認を省略してもよい。   If there is a communication session corresponding to the content identifier (Yes in S102A) or the content has been saved (Yes in S102B), the content reception control unit 120B rejects reception of the content corresponding to the received content identifier (S103). Note that the order of the conditions in S102A and S102B may be reversed. Further, in S102, when there is another communication session corresponding to the received content identifier, confirmation of whether the content has been saved may be omitted.

コンテンツ識別子に対応した、通信セッションが存在しない(S102AのNo)かつコンテンツが保存済でもない(S102BのNo)場合(S102のNo)、コンテンツ受信制御部120Bは、コンテンツ識別子と通信セッションとの対応情報を対応情報保存部130Bに登録する(S103B)。   When there is no communication session corresponding to the content identifier (No in S102A) and the content is not yet saved (No in S102B) (No in S102), the content reception control unit 120B sets the correspondence between the content identifier and the communication session. The information is registered in the correspondence information storage unit 130B (S103B).

続いて、コンテンツ受信処理部120Cが、受信したコンテンツ識別子に対応するコンテンツの受信を開始する(S104)。コンテンツ受信処理部120Cは、コンテンツが継続して受信できているか、判定する。例えば、所定時間以内にコンテンツのパケットが受信できなかった場合、コンテンツが継続して受信できていない状況と判定し、当該コンテンツを保存することなく、当該コンテンツと当該通信セッションの対応を対応情報保存部130Bから削除し、当該の通信セッションを閉じて処理を終了する。   Subsequently, the content reception processing unit 120C starts to receive content corresponding to the received content identifier (S104). The content reception processing unit 120C determines whether the content can be continuously received. For example, if a content packet cannot be received within a predetermined time, it is determined that the content cannot be received continuously, and the correspondence between the content and the communication session is saved without saving the content. Delete from the unit 130B, close the communication session, and end the process.

更に、コンテンツ受信処理部120Cは、コンテンツの受信が完了しているか判定し、コンテンツの受信が完了したら、受信したコンテンツをコンテンツ保存部130Aに保存する(S105)。続いて、コンテンツ受信処理部120Cは、対応情報保存部130Bの対応情報にコンテンツの保存状況を登録(S106)し、コンテンツを受信した通信セッションの情報を対応情報から削除する。   Further, the content reception processing unit 120C determines whether the content reception is completed, and when the content reception is completed, stores the received content in the content storage unit 130A (S105). Subsequently, the content reception processing unit 120C registers the content storage status in the correspondence information of the correspondence information storage unit 130B (S106), and deletes the information of the communication session that received the content from the correspondence information.

次に、コンテンツ受信処理部120Cは、受信が完了したコンテンツのコンテンツ識別子と当該通信セッションとの対応情報を、対応情報保存部130Bより削除する。最後に通信部110が、コンテンツを受信した通信セッションを閉じ、処理を終了する。   Next, the content reception processing unit 120C deletes the correspondence information between the content identifier of the content that has been received and the communication session from the correspondence information storage unit 130B. Finally, the communication unit 110 closes the communication session that received the content and ends the process.

上記のように第4の実施形態によれば、コンテンツの重複した送受信を防止し、端末間のネットワークリソースの浪費を低減することができる。   As described above, according to the fourth embodiment, overlapping transmission / reception of contents can be prevented, and waste of network resources between terminals can be reduced.

図16は、第4の実施形態の通信端末における効果を示すシーケンス図である。通信端末100からのSVメッセージを受信した通信端末200−1と通信端末200−2は、各々通信端末100との通信セッションを確立し、当該の通信セッションで当該コンテンツの送信コンテンツ通知を通信端末100に送信する。   FIG. 16 is a sequence diagram illustrating effects in the communication terminal according to the fourth embodiment. The communication terminal 200-1 and the communication terminal 200-2 that have received the SV message from the communication terminal 100 each establish a communication session with the communication terminal 100, and notify the transmission content notification of the content in the communication terminal 100. Send to.

通信端末100は、通信端末200−1のコンテンツ識別子を含む送信コンテンツ通知を受信すると、通信端末100の対応情報保存部130Bに通信端末200−1と確立した通信セッションと当該のコンテンツ識別子の対応情報を保存し、コンテンツ受信待ちになる。   When the communication terminal 100 receives the transmission content notification including the content identifier of the communication terminal 200-1, the communication information established between the communication terminal 200-1 and the corresponding content identifier in the correspondence information storage unit 130B of the communication terminal 100 And wait for content reception.

続いて、通信端末100が、通信端末200−2のコンテンツ識別子を含む送信コンテンツ通知を受信すると、コンテンツ識別子と通信セッションとの対応情報を参照する。通信端末100は、通信端末200−2と重複するコンテンツの通信セッションの存在を発見し、コンテンツの受信拒否通知を通信端末200−2に通知する。   Subsequently, when the communication terminal 100 receives the transmission content notification including the content identifier of the communication terminal 200-2, the communication terminal 100 refers to the correspondence information between the content identifier and the communication session. The communication terminal 100 discovers the existence of a content communication session that overlaps with the communication terminal 200-2, and notifies the communication terminal 200-2 of a content reception rejection notification.

通信端末200−2は、当該コンテンツの送信を中止する。これによりコンテンツの重複した送受信が防止され、端末間のネットワークリソースの浪費が低減されることになる。   The communication terminal 200-2 stops the transmission of the content. As a result, duplicate transmission / reception of contents is prevented, and waste of network resources between terminals is reduced.

[第5の実施の形態]
本発明の第5の実施形態に係る通信端末ついて、図17、図18を参照して説明する。本発明の第5の実施形態に係る通信端末は、端末間通信によるエピデミック方式を適用した通信端末である。通信端末300は、通信端末400と自律分散的に端末間通信が可能であり、通信端末400との間で、異なる複数の通信セッション(通信セッションAB、通信セッションAB2)を確立できる。また第5の実施形態の通信端末は、端末間通信によるエピデミック方式におけるpull型の一例として説明する。
[Fifth Embodiment]
A communication terminal according to the fifth embodiment of the present invention will be described with reference to FIGS. A communication terminal according to the fifth embodiment of the present invention is a communication terminal to which an epidemic method using inter-terminal communication is applied. The communication terminal 300 can communicate with the communication terminal 400 in an autonomous and distributed manner, and can establish a plurality of different communication sessions (communication session AB and communication session AB2) with the communication terminal 400. The communication terminal according to the fifth embodiment will be described as an example of a pull type in an epidemic system based on inter-terminal communication.

通信端末300は、コンテンツを受信する通信端末として、通信端末400は、コンテンツを送信する通信端末として、以下、説明する。   The communication terminal 300 will be described below as a communication terminal that receives content, and the communication terminal 400 as a communication terminal that transmits content.

図18は、コンテンツを受信する通信端末300の構成を示すブロック図である。図18を参照すると、本発明の第5の実施形態に係る通信端末300は、通信部310と、演算処理部320と、保存部330とを有する。   FIG. 18 is a block diagram showing a configuration of communication terminal 300 that receives content. Referring to FIG. 18, a communication terminal 300 according to the fifth embodiment of the present invention includes a communication unit 310, an arithmetic processing unit 320, and a storage unit 330.

通信部310は、第4の実施形態における通信部110と同様の機能を有し、通信端末400と通信する機能を有する。   The communication unit 310 has the same function as the communication unit 110 in the fourth embodiment, and has a function of communicating with the communication terminal 400.

演算処理部320は、SVメッセージ受信部320D、コンテンツ受信制御部320B、コンテンツ受信処理部320C、リクエスト処理部320Gを備える。コンテンツ受信制御部320Bとコンテンツ受信処理部320Cは、それぞれ第4の実施形態におけるコンテンツ受信制御部120Bとコンテンツ受信処理部120Cと同様の構成である。   The arithmetic processing unit 320 includes an SV message receiving unit 320D, a content reception control unit 320B, a content reception processing unit 320C, and a request processing unit 320G. The content reception control unit 320B and the content reception processing unit 320C have the same configurations as the content reception control unit 120B and the content reception processing unit 120C in the fourth embodiment, respectively.

SVメッセージ受信部320Dは、受信したSVメッセージに含まれるコンテンツのリストをリクエスト処理部320Gに転送する。   The SV message receiving unit 320D transfers the content list included in the received SV message to the request processing unit 320G.

リクエスト処理部320Gは、通信端末400にコンテンツを要求するリクエストメッセージを送信する機能を有する。リクエスト処理部320Gは、SVメッセージに含まれる通信端末400が保持するコンテンツのリストと、自端末のコンテンツ保存部330Aに保存されているコンテンツとを比較する。続いてリクエスト処理部320Gは、通信端末400が保持し、自端末が保持していないコンテンツを抽出する。   The request processing unit 320G has a function of transmitting a request message for requesting content to the communication terminal 400. The request processing unit 320G compares the content list stored in the communication terminal 400 included in the SV message with the content stored in the content storage unit 330A of the terminal itself. Subsequently, the request processing unit 320G extracts content held by the communication terminal 400 but not held by the own terminal.

さらに、リクエスト処理部320Gは、抽出されたコンテンツから、対応するコンテンツ識別子が対応情報保存部330Bに保存されているコンテンツを除外し、通信端末400に要求するコンテンツを抽出する。   Further, the request processing unit 320G excludes the content whose corresponding content identifier is stored in the corresponding information storage unit 330B from the extracted content, and extracts the content requested from the communication terminal 400.

要求するコンテンツが存在しなかった場合には、リクエスト処理部320Gは、再度SVメッセージ受信部320DからSVメッセージに含まれるコンテンツのリストの転送を待つ。   If the requested content does not exist, the request processing unit 320G again waits for the transfer of the content list included in the SV message from the SV message receiving unit 320D.

一方、要求コンテンツが存在する場合、当該コンテンツを要求するリクエストメッセージを通信端末400に送信する。   On the other hand, when the requested content exists, a request message for requesting the content is transmitted to the communication terminal 400.

なお、要求コンテンツが複数存在する場合、リクエスト処理部320Gは、1つのリクエストメッセージに要求するコンテンツを複数含めて送信してもよく、要求するコンテンツ毎にリクエストメッセージを送信してもよい。   When there are a plurality of requested contents, the request processing unit 320G may transmit a plurality of requested contents in one request message, or may transmit a request message for each requested content.

また、リクエスト処理部320Gは、リクエストメッセージを通信端末400に送信後、所定の時間以上、コンテンツ識別子を含む送信コンテンツ通知を受信しない場合、送信したリクエストメッセージが届かなかったと判断し、リクエストメッセージを通信端末400へ再送してもよい。さらに、予め定められた所定の回数だけ再送を行っても送信コンテンツ通知を受信しない場合は、処理を終了するようにしてもよい。   In addition, after transmitting the request message to the communication terminal 400, the request processing unit 320G determines that the transmitted request message has not arrived when the transmission content notification including the content identifier is not received for a predetermined time or longer, and communicates the request message. You may retransmit to the terminal 400. Further, if the transmission content notification is not received even after a predetermined number of retransmissions, the process may be terminated.

あるいは、対応情報保存部330Bに「リクエスト後・受信開始前」であることを示す項目を設け、リクエスト処理部320Gはリクエストメッセージ作成時にはここも参照して、リクエスト後・受信開始前であるコンテンツをリクエストから除外してもよい。このとき、リクエスト処理部320Gはリクエストメッセージを送信後に要求したコンテンツに対して「リクエスト後・受信開始前」であることを対応情報保存部330Bに登録するようにしてよい。さらに、コンテンツ受信制御部320Bが、送信コンテンツ通知を受信時に対応情報保存部330Bから当該のコンテンツに対応する「リクエスト後・受信開始前」を示す情報を削除するようにしてよい。   Alternatively, an item indicating “after request / before reception start” is provided in the correspondence information storage unit 330B, and the request processing unit 320G also refers to this when creating a request message, and selects the content after the request / before reception start. May be excluded from the request. At this time, the request processing unit 320G may register “after request / before reception start” in the correspondence information storage unit 330B with respect to the content requested after transmitting the request message. Furthermore, the content reception control unit 320B may delete information indicating “after request / before reception start” corresponding to the content from the correspondence information storage unit 330B when receiving the transmission content notification.

保存部330は、コンテンツ保存部330Aと対応情報保存部330Bを有し、それぞれ第4の実施形態におけるコンテンツ保存部130Aおよび対応情報保存部130Bと同様の機能を有す。   The storage unit 330 includes a content storage unit 330A and a correspondence information storage unit 330B, and has the same functions as the content storage unit 130A and the correspondence information storage unit 130B in the fourth embodiment, respectively.

なお、通信部310で受信した、送信コンテンツ通知はコンテンツ受信制御部320Bに、コンテンツはコンテンツ送信処理部320Cに、SVメッセージはリクエストメッセージ処理部320Gにそれぞれ転送される。   The transmission content notification received by the communication unit 310 is transferred to the content reception control unit 320B, the content is transferred to the content transmission processing unit 320C, and the SV message is transferred to the request message processing unit 320G.

図17は、コンテンツを送信する通信端末400の構成を示すブロック図である。図17を参照すると、本発明の第5の実施形態に係る通信端末400は、通信部410と、演算処理部420と、保存部430とを有する。   FIG. 17 is a block diagram showing a configuration of communication terminal 400 that transmits content. Referring to FIG. 17, a communication terminal 400 according to the fifth embodiment of the present invention includes a communication unit 410, an arithmetic processing unit 420, and a storage unit 430.

通信部410は、通信端末300と通信する機能を有する。   The communication unit 410 has a function of communicating with the communication terminal 300.

演算処理部420は、SVメッセージ送信部420A、コンテンツ送信制御部420E、コンテンツ送信処理部420Fを備える。   The arithmetic processing unit 420 includes an SV message transmission unit 420A, a content transmission control unit 420E, and a content transmission processing unit 420F.

SVメッセージ送信部420Aは、第4の実施形態のSVメッセージ送信部120Aと同様の機能を有し、コンテンツ保存部430Aが保存するコンテンツのリストをSVメッセージとして作成する機能を有し、周辺ノードに広報するよう通信部410に指示する。   The SV message transmission unit 420A has the same function as that of the SV message transmission unit 120A of the fourth embodiment, and has a function of creating a list of contents stored by the content storage unit 430A as an SV message. The communication unit 410 is instructed to publicize.

コンテンツ送信制御部420Eは、要求されたコンテンツの送信を制御する機能を有する。コンテンツ送信制御部420Eと第4の実施形態のコンテンツ送信制御部220Eの差は、リクエストメッセージの受信に基づくコンテンツ送信制御かSVメッセージの受信に基づくコンテンツ送信制御かの違いであり、主たる機能に差はない。   The content transmission control unit 420E has a function of controlling transmission of the requested content. The difference between the content transmission control unit 420E and the content transmission control unit 220E of the fourth embodiment is a difference between content transmission control based on reception of a request message or content transmission control based on reception of an SV message, and is different in main functions. There is no.

通信端末300からコンテンツを要求するリクエストメッセージを受信するとリクエストメッセージがコンテンツ送信制御部420Eに転送され、コンテンツ送信制御部420Eは、リクエストメッセージ中に含まれている通信端末300が要求しているコンテンツを抽出し、コンテンツ送信処理部420Fに当該コンテンツの送信処理を指示する。   When a request message requesting content is received from the communication terminal 300, the request message is transferred to the content transmission control unit 420E, and the content transmission control unit 420E transmits the content requested by the communication terminal 300 included in the request message. The content is extracted, and the content transmission processing unit 420F is instructed to transmit the content.

コンテンツ送信処理部420Fは、第4の実施形態のコンテンツ送信処理部220Fと同様の機能を有し、コンテンツ送信制御部420Eから指示されたコンテンツの送信処理を行う。コンテンツ送信処理部420Fは、コンテンツ送信制御部420Eから指示されたコンテンツをコンテンツ保存部430Aから読み出し、当該コンテンツの送信コンテンツ通知に続いて当該コンテンツを通信端末300に送信する。   The content transmission processing unit 420F has the same function as the content transmission processing unit 220F of the fourth embodiment, and performs content transmission processing instructed by the content transmission control unit 420E. The content transmission processing unit 420F reads the content instructed from the content transmission control unit 420E from the content storage unit 430A, and transmits the content to the communication terminal 300 following the transmission content notification of the content.

ここで、要求コンテンツが複数存在する場合、コンテンツ送信処理部420Fは、それぞれのコンテンツの送信処理を並行して行う。なお、コンテンツ送信制御部420Eは、コンテンツ送信処理部420Fのコンテンツ送信処理の終了を待たずして、リクエストメッセージの受信待ちに戻ってよい。またコンテンツ送信制御部420E、コンテンツ送信処理部420Fは各々が並行して動作してよい。   Here, when there are a plurality of requested contents, the content transmission processing unit 420F performs each content transmission process in parallel. Note that the content transmission control unit 420E may return to waiting for reception of a request message without waiting for the content transmission processing of the content transmission processing unit 420F to end. The content transmission control unit 420E and the content transmission processing unit 420F may operate in parallel.

次に、第5の実施形態に係る通信端末の動作について、図19A、図19B、図20A及び図20Bを用いて説明する。なお、以下では便宜上、コンテンツを受信する通信端末300の動作と、コンテンツを送信する通信端末400の動作について説明する。それぞれの通信端末におけるコンテンツの受信とコンテンツの送信は並行して動作してもよい。   Next, the operation of the communication terminal according to the fifth embodiment will be described with reference to FIGS. 19A, 19B, 20A, and 20B. In the following, for the sake of convenience, the operation of the communication terminal 300 that receives content and the operation of the communication terminal 400 that transmits content will be described. The reception of content and the transmission of content at each communication terminal may operate in parallel.

図20Aは、本発明の第5の実施形態に係る通信端末300における動作の一部である第1の動作を示すフローチャートである。第1の動作は、SVメッセージの受信からリクエストメッセージ送信までの一連の動作である。   FIG. 20A is a flowchart showing a first operation which is a part of the operation in the communication terminal 300 according to the fifth embodiment of the present invention. The first operation is a series of operations from the reception of the SV message to the transmission of the request message.

はじめに、通信端末300の通信部310は、SVメッセージを受信し(S301)、SVメッセージは、SVメッセージ受信部320Dに転送される。SVメッセージ受信部320Dは、当該のSVメッセージに含まれるコンテンツのリストをリクエスト処理部320Gに転送する。リクエスト処理部320Gは、SVメッセージに含まれる通信端末400が保持するコンテンツのリストと、自端末が保存しているコンテンツを比較し、通信端末400が保持し、自端末が保持していないコンテンツを抽出する。   First, the communication unit 310 of the communication terminal 300 receives the SV message (S301), and the SV message is transferred to the SV message receiving unit 320D. The SV message receiving unit 320D transfers the content list included in the SV message to the request processing unit 320G. The request processing unit 320G compares the content list held by the communication terminal 400 included in the SV message with the content stored in the own terminal, and stores the content held by the communication terminal 400 but not held by the own terminal. Extract.

さらに、リクエスト処理部320Gは、抽出されたコンテンツから、対応するコンテンツ識別子が対応情報保存部330Bに保存されているコンテンツを除外し、通信端末400に要求するコンテンツを抽出する(S302)。続いてリクエスト処理部320Gは、当該コンテンツを要求するリクエストメッセージを通信端末400に送信する(S303)。   Further, the request processing unit 320G excludes the content whose corresponding content identifier is stored in the corresponding information storage unit 330B from the extracted content, and extracts the content requested from the communication terminal 400 (S302). Subsequently, the request processing unit 320G transmits a request message for requesting the content to the communication terminal 400 (S303).

また、対応情報保存部330Bに「リクエスト後・受信開始前」であることを示す項目を設けて、リクエストメッセージ作成時にはここも参照して、リクエスト後・受信開始前であるコンテンツをリクエストから除外してもよい。   In addition, an item indicating “after request / before reception start” is provided in the correspondence information storage unit 330B, and this is also referred to when creating a request message, and contents after the request / before reception start are excluded from the request. May be.

なお、リクエストメッセージを通信端末400に送信して所定時間の後、通信端末300がコンテンツ識別子を含む送信コンテンツ通知を受信しない場合、リクエスト処理部320Gは、リクエストメッセージを通信端末400へ再送してもよい。さらに、予め定められた所定の回数だけ再送を行っても送信コンテンツ通知を受信しない場合は、処理を終了するようにしてもよい。   If the communication terminal 300 does not receive the transmission content notification including the content identifier after a predetermined time after transmitting the request message to the communication terminal 400, the request processing unit 320G may retransmit the request message to the communication terminal 400. Good. Further, if the transmission content notification is not received even after a predetermined number of retransmissions, the process may be terminated.

図20Bは、本発明の第5の実施形態に係る通信端末300における動作の一部である第2の動作を示すフローチャートである。第2の動作は、コンテンツ識別子を含む送信コンテンツ通知の受信の度に動作を開始する。   FIG. 20B is a flowchart showing a second operation which is a part of the operation in communication terminal 300 according to the fifth embodiment of the present invention. The second operation starts every time a transmission content notification including a content identifier is received.

通信端末300は、通信端末400からコンテンツ識別子を含む送信コンテンツ通知を受信すると(S304)、コンテンツ受信制御部320Bは、受信した送信コンテンツ通知に含まれるコンテンツ識別子について、対応したコンテンツがコンテンツ保存部330Aに保存されているか、或いは、対応した通信セッションが対応情報保存部330Bに保存されているかを調べる(S305)。   When the communication terminal 300 receives the transmission content notification including the content identifier from the communication terminal 400 (S304), the content reception control unit 320B determines that the content corresponding to the content identifier included in the received transmission content notification is the content storage unit 330A. Or the corresponding communication session is stored in the correspondence information storage unit 330B (S305).

当該コンテンツ識別子に対応する、通信セッションが存在する(S305AのYes)又はコンテンツが保存済み(S305BのYes)の場合、コンテンツ受信制御部320Bは、受信したコンテンツ識別子に対応するコンテンツの受信を拒否する(S306)。なお、S305AとS305Bの条件判定は順序が逆でもよい。また、S305において、当該コンテンツ識別子に対応する他の通信セッションが存在していた場合に、コンテンツが保存済みであるかの確認を省略してもよい。   When there is a communication session corresponding to the content identifier (Yes in S305A) or content has been saved (Yes in S305B), the content reception control unit 320B rejects reception of the content corresponding to the received content identifier. (S306). Note that the order of the determination of the conditions in S305A and S305B may be reversed. Further, in S305, when there is another communication session corresponding to the content identifier, confirmation of whether the content has been saved may be omitted.

コンテンツ識別子に対応する、通信セッションが存在しない(S305AのNo)かつコンテンツが保存済でない場合(S305BのNo)、コンテンツ受信制御部320Bは、コンテンツ識別子と通信セッションとの対応情報を対応情報保存部330Bに登録する(S307)。   When the communication session corresponding to the content identifier does not exist (No in S305A) and the content has not been saved (No in S305B), the content reception control unit 320B displays the correspondence information between the content identifier and the communication session as the correspondence information storage unit It is registered in 330B (S307).

続いて、コンテンツ受信処理部320Cが、当該コンテンツの受信を開始する(S308)。コンテンツ受信処理部320Cは、コンテンツが継続して受信できているか判定する。例えば、所定時間以内にコンテンツのパケットが受信できなかった場合、コンテンツ受信処理部320Cは、コンテンツを継続して受信できていないと判定し、当該コンテンツを保存することなく、当該コンテンツと当該通信セッションの対応を対応情報保存部330Bから削除し、当該の通信セッションを閉じて処理を終了する。   Subsequently, the content reception processing unit 320C starts receiving the content (S308). The content reception processing unit 320C determines whether content can be continuously received. For example, when a content packet cannot be received within a predetermined time, the content reception processing unit 320C determines that the content cannot be received continuously, and stores the content and the communication session without storing the content. Is deleted from the correspondence information storage unit 330B, the communication session is closed, and the process is terminated.

更に、コンテンツ受信処理部320Cは、コンテンツの受信が完了しているか判定し、コンテンツの受信が完了したら、受信したコンテンツをコンテンツ保存部330Aに保存する(S309)。   Further, the content reception processing unit 320C determines whether or not the content has been received. When the content reception is completed, the content reception processing unit 320C stores the received content in the content storage unit 330A (S309).

次に、コンテンツ受信処理部320Cは、対応情報保存部330Bの対応情報にコンテンツの保存状況を登録(S310)し、受信が完了したコンテンツのコンテンツ識別子と当該通信セッションとの対応情報を、対応情報保存部330Bより削除する。通信部310が、コンテンツを受信した通信セッションを閉じ、処理を終了する。   Next, the content reception processing unit 320C registers the storage status of the content in the correspondence information of the correspondence information storage unit 330B (S310), and displays the correspondence information between the content identifier of the content that has been received and the communication session. Delete from the storage unit 330B. The communication unit 310 closes the communication session that received the content and ends the process.

図19Aは、第5の実施形態に係る通信端末400における動作の一部である第1の動作を示すフローチャートである。通信端末400における第1の動作は、リクエストメッセージの受信後からコンテンツの送信処理の開始までの一連の動作である。   FIG. 19A is a flowchart showing a first operation which is a part of the operation in the communication terminal 400 according to the fifth embodiment. The first operation in communication terminal 400 is a series of operations from the reception of a request message to the start of content transmission processing.

はじめに、通信端末400のSVメッセージ送信部420Aが、通信端末400のコンテンツ保存部430Aが保存しているコンテンツのリストを定期的にSVメッセージとして周辺の通信端末に広報する。SVメッセージを受信した通信端末300は、自端末が保持していないコンテンツを要求するためにリクエストメッセージを通信端末400へ送信する。   First, the SV message transmission unit 420A of the communication terminal 400 periodically publishes a list of contents stored in the content storage unit 430A of the communication terminal 400 to surrounding communication terminals as an SV message. The communication terminal 300 that has received the SV message transmits a request message to the communication terminal 400 in order to request content that the terminal itself does not hold.

通信端末400の通信部410は、コンテンツを要求するリクエストメッセージを受信すると(S401)、リクエストメッセージは、コンテンツ送信制御部420Eに転送される。コンテンツ送信制御部420Eは、リクエストメッセージ中から要求されたコンテンツを抽出する(S402)。さらに、コンテンツ送信制御部420Eは、コンテンツの送信処理の開始(S403)をコンテンツ送信処理部420Fへ指示し、リクエストメッセージの受信待ちに戻る。   When the communication unit 410 of the communication terminal 400 receives a request message requesting content (S401), the request message is transferred to the content transmission control unit 420E. The content transmission control unit 420E extracts the requested content from the request message (S402). Further, the content transmission control unit 420E instructs the content transmission processing unit 420F to start the content transmission processing (S403), and returns to waiting for reception of the request message.

図19Bは、第5の実施形態にかかる通信端末400における動作の一部である第2の動作を示すフローチャートである。通信端末400における第2の動作は、通信セッションの確立後、コンテンツ識別子の送信から要求されたコンテンツの送信完了あるいは送信中止までの一連の動作である。第1の動作におけるコンテンツ送信処理(S403)をトリガーとして第2の動作が開始される。   FIG. 19B is a flowchart illustrating a second operation that is a part of the operation of the communication terminal 400 according to the fifth embodiment. The second operation in the communication terminal 400 is a series of operations from the establishment of the communication session to the completion of transmission of the requested content or the suspension of transmission of the requested content. The second operation is started with the content transmission process (S403) in the first operation as a trigger.

コンテンツ送信処理部420Fは、通信端末300と通信セッションを確立し要求されたコンテンツのコンテンツ識別子を含む送信コンテンツ通知を通信端末300に送信する(S404)。続いて、コンテンツ送信処理部420Fは、通信端末300に要求されたコンテンツの送信を開始する(S405)。送信するコンテンツが複数存在する場合、コンテンツ送信処理部420Fは、それぞれのコンテンツ送信を並行して行ってよい。   The content transmission processing unit 420F establishes a communication session with the communication terminal 300 and transmits a transmission content notification including the content identifier of the requested content to the communication terminal 300 (S404). Subsequently, the content transmission processing unit 420F starts transmission of the content requested from the communication terminal 300 (S405). When there are a plurality of contents to be transmitted, the content transmission processing unit 420F may perform each content transmission in parallel.

通信端末300にコンテンツを送信している途中に、通信端末300が当該コンテンツの受信を拒否した場合(S406)、コンテンツ送信処理部420Fは、通信端末300へのコンテンツの送信を中止する(S407)。   If the communication terminal 300 refuses to receive the content during the transmission of the content to the communication terminal 300 (S406), the content transmission processing unit 420F stops the transmission of the content to the communication terminal 300 (S407). .

コンテンツの受信の拒否がない場合(S406のNo)、コンテンツ送信処理部420Fは、要求されたコンテンツの送信を続け、コンテンツの全部を送信完了する(S408)。   If there is no rejection of content reception (No in S406), the content transmission processing unit 420F continues to transmit the requested content and completes the transmission of all the content (S408).

最後にコンテンツ送信処理部420Fは、コンテンツの送信完了後に当該通信セッションを閉じて終了する。   Finally, the content transmission processing unit 420F closes and ends the communication session after the content transmission is completed.

上記のように第5の実施形態の通信端末は、コンテンツの重複した送受信を防止し、端末間のネットワークリソースの浪費を低減することができる。   As described above, the communication terminal according to the fifth embodiment can prevent duplicate transmission / reception of contents and reduce waste of network resources between terminals.

図21は、第5の実施形態の通信端末における効果を示すシーケンス図である。図26で説明したように、通信端末300は、通信端末400からSVメッセージを受信した際、リクエストメッセージのドロップに備えて、リクエストメッセージを重複して通信端末400に送信することがある。このとき通信端末400が2回目のリクエストメッセージに応じて送信するコンテンツは、1回目のリクエストメッセージに応じて送信したコンテンツと重複することになる。   FIG. 21 is a sequence diagram illustrating effects in the communication terminal according to the fifth embodiment. As described with reference to FIG. 26, when receiving the SV message from the communication terminal 400, the communication terminal 300 may transmit the request message to the communication terminal 400 in duplicate in preparation for dropping the request message. At this time, the content transmitted by the communication terminal 400 in response to the second request message overlaps with the content transmitted in response to the first request message.

図21に示すように、第5の実施形態の通信端末300は、2回目のコンテンツ識別子を含む送信コンテンツ通知を受信すると、対応情報保存部330Bの対応情報を参照し、先行するコンテンツの受信と重複するコンテンツの受信となることを識別し、コンテンツの受信拒否通知を通信端末400に通知する。通信端末400は、当該のコンテンツ送信を中止する。これによりコンテンツの重複した送受信が防止され、端末間のネットワークリソースの浪費が低減されることになる。   As illustrated in FIG. 21, when the communication terminal 300 according to the fifth embodiment receives the transmission content notification including the second content identifier, the communication terminal 300 refers to the correspondence information in the correspondence information storage unit 330B and receives the preceding content. It is identified that duplicate content is received, and a content reception refusal notification is notified to the communication terminal 400. The communication terminal 400 stops the content transmission. As a result, duplicate transmission / reception of contents is prevented, and waste of network resources between terminals is reduced.

[第6の実施形態]
本発明の第6の実施形態の通信端末は、コンテンツ受信機能及びコンテンツ送信機能を備え、更にエピデミック方式のpush型及びpull型の機能を備える通信端末である。本発明の第6の実施形態に係る通信端末について、図面を用いて説明する。
[Sixth Embodiment]
The communication terminal according to the sixth embodiment of the present invention is a communication terminal having a content receiving function and a content transmitting function, and further having an epidemic push type and pull type function. A communication terminal according to the sixth embodiment of the present invention will be described with reference to the drawings.

図22は、第6の実施形態に係る通信端末500の構成を示すブロック図である。以下、第6の実施形態の通信端末500の説明において、第5の実施形態の通信端末300及び通信端末400と同様の構成には同じ符号を附して詳細な説明は省略する。   FIG. 22 is a block diagram illustrating a configuration of a communication terminal 500 according to the sixth embodiment. Hereinafter, in description of the communication terminal 500 of 6th Embodiment, the same code | symbol is attached | subjected to the structure similar to the communication terminal 300 and communication terminal 400 of 5th Embodiment, and detailed description is abbreviate | omitted.

第6の実施形態の通信端末500は、第5の実施形態の通信端末300と演算処理部の構成が異なる。通信端末500の演算処理部520は、演算処理部320をベースにSVメッセージ送信部420A、コンテンツ送信制御部520E及びコンテンツ送信処理部420Fが追加されている。演算処理部520のSVメッセージ送信部420A及びコンテンツ送信処理部420Fは、それぞれ通信端末400のSVメッセージ420A及びコンテンツ送信処理部420Fと同じ機能を有する。   The communication terminal 500 of the sixth embodiment is different from the communication terminal 300 of the fifth embodiment in the configuration of the arithmetic processing unit. The arithmetic processing unit 520 of the communication terminal 500 includes an SV message transmission unit 420A, a content transmission control unit 520E, and a content transmission processing unit 420F based on the arithmetic processing unit 320. The SV message transmission unit 420A and the content transmission processing unit 420F of the arithmetic processing unit 520 have the same functions as the SV message 420A and the content transmission processing unit 420F of the communication terminal 400, respectively.

コンテンツ送信制御部520Eは、SVメッセージをトリガーにしてコンテンツの送信を制御する機能と、リクエストメッセージの受信に応じてコンテンツの送信を制御する機能を備える。具体的には、コンテンツ送信制御部520Eは、当該のSVメッセージに含まれる他端末が保持するコンテンツのリストをSVメッセージ受信部320Dから受け取り、コンテンツ保存部330Aに保存されているコンテンツと比較する。続いてコンテンツ送信制御部520Eは、自端末が保持しており、他端末が保持していないコンテンツを、他端末に送信するコンテンツとして抽出する。コンテンツ送信制御部520Eは、コンテンツ送信処理部420Fに当該コンテンツの送信処理を開始するよう指示し、SVメッセージの受信待ちに戻る。   The content transmission control unit 520E has a function of controlling transmission of content using an SV message as a trigger, and a function of controlling transmission of content in response to reception of a request message. Specifically, the content transmission control unit 520E receives a list of content held by another terminal included in the SV message from the SV message reception unit 320D and compares it with the content stored in the content storage unit 330A. Subsequently, the content transmission control unit 520E extracts the content held by the own terminal and not held by the other terminal as the content to be transmitted to the other terminal. The content transmission control unit 520E instructs the content transmission processing unit 420F to start transmission processing of the content, and returns to waiting for reception of the SV message.

一方、他端末からコンテンツを要求するリクエストメッセージを受信すると、リクエストメッセージがコンテンツ送信制御部520Eに転送され、コンテンツ送信制御部520Eは、リクエストメッセージ中に含まれている他端末が要求しているコンテンツを抽出し、コンテンツ送信処理部420Fに当該コンテンツの送信処理の開始を指示する。   On the other hand, when a request message requesting content is received from another terminal, the request message is transferred to the content transmission control unit 520E, and the content transmission control unit 520E receives the content requested by the other terminal included in the request message. And instruct the content transmission processing unit 420F to start the content transmission processing.

次に、第6の実施形態に係る通信端末500を用いた端末間通信の動作について、図23を用いて説明する。図23は、第6の実施形態に係る通信端末500を2つ用いた端末間通信のシーケンス図である。説明の都合上、通信端末500−1は、コンテンツAを保持し、通信端末500−2は、コンテンツXを保持するとする。   Next, the operation | movement of the communication between terminals using the communication terminal 500 which concerns on 6th Embodiment is demonstrated using FIG. FIG. 23 is a sequence diagram of inter-terminal communication using two communication terminals 500 according to the sixth embodiment. For convenience of explanation, it is assumed that the communication terminal 500-1 holds the content A and the communication terminal 500-2 holds the content X.

はじめに通信端末500−2は、保持するコンテンツXのコンテンツのリストを含むSVメッセージXを周辺の端末に広報する。通信端末500−2のSVメッセージXを受信した通信端末500−1は、受信したSVメッセージに含まれるコンテンツのリストを参照し、自端末が保持しないコンテンツを要求するために通信セッション確立後にリクエストメッセージXを通信端末500−2に送信する。   First, the communication terminal 500-2 broadcasts an SV message X including a list of contents X to be held to peripheral terminals. The communication terminal 500-1 that has received the SV message X of the communication terminal 500-2 refers to the list of contents included in the received SV message and requests a request message after establishing a communication session in order to request content that the terminal itself does not hold. X is transmitted to the communication terminal 500-2.

さらに通信端末500−1は、受信したSVメッセージXを参照し、自端末が保持し通信端末500−2が保持しないコンテンツAを通信端末500−2へ送信するために、リクエストメッセージと別の通信セッションを確立後、コンテンツ識別子を含む送信コンテンツ通知を送信する。送信コンテンツ通知は、コンテンツ識別子ID_Aを含み通信端末500−2へ送信される。その後、通信端末500−1は、コンテンツAを通信端末500−2に送信する。   Furthermore, the communication terminal 500-1 refers to the received SV message X, and transmits a content A held by itself and not held by the communication terminal 500-2 to the communication terminal 500-2. After the session is established, a transmission content notification including the content identifier is transmitted. The transmission content notification includes the content identifier ID_A and is transmitted to the communication terminal 500-2. Thereafter, the communication terminal 500-1 transmits the content A to the communication terminal 500-2.

一方、通信端末500−1からリクエストメッセージXを受信した通信端末500−2は、コンテンツXの送信に先立ち、コンテンツ識別子ID_Xを含む送信コンテンツ通知を端末500−1へ送信する。   On the other hand, the communication terminal 500-2 that has received the request message X from the communication terminal 500-1 transmits a transmission content notification including the content identifier ID_X to the terminal 500-1 prior to transmission of the content X.

その後、通信端末500−2は、通信端末500−1へのコンテンツXの送信を開始する。   Thereafter, the communication terminal 500-2 starts transmitting the content X to the communication terminal 500-1.

第6の実施形態の通信端末によれば、通信端末500−1は、通信端末500−2が送信したSVメッセージに含まれるコンテンツリストを参照し、通信端末500−1が保持し通信端末500−2が保持しないコンテンツを、通信端末500−2に送信する機能を備える。加えて、通信端末500−1は、通信端末500−2が送信したSVメッセージに含まれるコンテンツリストを参照し、通信端末500−1が保持せず通信端末500−2が保持するコンテンツを通信端末500−2に要求する機能を備える。   According to the communication terminal of the sixth embodiment, the communication terminal 500-1 refers to the content list included in the SV message transmitted by the communication terminal 500-2, and the communication terminal 500-1 holds the communication terminal 500-. 2 has a function of transmitting content not held by the communication terminal 500-2. In addition, the communication terminal 500-1 refers to the content list included in the SV message transmitted by the communication terminal 500-2, and the communication terminal 500-1 does not hold the content held by the communication terminal 500-2. 500-2 is provided.

第6の実施形態の通信端末500は、コンテンツの送受信機能を有することで、通信端末500−2は、通信端末500−1からSVメッセージが送信されることを待つことなく通信端末500−1が保持し通信端末500−2が保持しないコンテンツを受信できる。これにより、端末間通信による情報の共有を早く進ませることができる。   The communication terminal 500 according to the sixth embodiment has a content transmission / reception function, so that the communication terminal 500-2 does not wait for an SV message to be transmitted from the communication terminal 500-1. The content held and not held by the communication terminal 500-2 can be received. Thereby, the sharing of information by communication between terminals can be advanced quickly.

また、第6の実施形態の通信端末を用いた端末間通信は、コンテンツの送信に先立つコンテンツ識別子を含む送信コンテンツ通知の送信により、通信端末が互いにSVメッセージを送受信してコンテンツの共有を図る際のコンテンツ送受信の重複を防止することができる。   Further, in the inter-terminal communication using the communication terminal according to the sixth embodiment, when communication terminals transmit and receive SV messages to share content by transmitting a transmission content notification including a content identifier prior to content transmission. Duplication of content transmission / reception can be prevented.

以下に、SVメッセージの送受信によるコンテンツ重複が発生する端末間通信の動作について説明する。通信端末Tは通信端末Sが保持しないコンテンツAを保持するとする。
(1)通信端末Sがコンテンツリストを含むSVメッセージ1を送信する。
(2)通信端末TがSVメッセージ1に応じて自端末のコンテンツAを通信端末Sへ送信する処理を開始する。
(3)コンテンツAの送信中に通信端末TがSVメッセージ2を送信する。
(4)通信端末SがSVメッセージ2に応じてコンテンツAを求めるリクエストメッセージを通信端末Tに送信(通信端末SはコンテンツAを受信途中だが、コンテンツAの受信が完了するまで把握できないため)
(5)通信端末Tが、通信端末Sのリクエストメッセージに応じてコンテンツAを送信する。
The operation of communication between terminals where content duplication occurs due to transmission / reception of SV messages will be described below. It is assumed that the communication terminal T holds content A that the communication terminal S does not hold.
(1) The communication terminal S transmits the SV message 1 including the content list.
(2) The communication terminal T starts a process of transmitting the content A of its own terminal to the communication terminal S in response to the SV message 1.
(3) While the content A is being transmitted, the communication terminal T transmits the SV message 2.
(4) The communication terminal S transmits a request message for requesting the content A in response to the SV message 2 to the communication terminal T (because the communication terminal S is in the process of receiving the content A but cannot grasp until the reception of the content A is completed).
(5) The communication terminal T transmits the content A in response to the request message from the communication terminal S.

このように端末間通信におけるSVメッセージの送受信により、コンテンツの重複送信が発生し、端末間通信のネットワークリソースを浪費することになる。   As described above, the transmission / reception of the SV message in the inter-terminal communication causes the content to be duplicated and wastes the network resources for the inter-terminal communication.

第6の実施形態の通信端末によれば、コンテンツ識別子をコンテンツの送信に先立ち送信することで、コンテンツ識別子を受信した通信端末は、受信中のコンテンツの存在を知ることができ、コンテンツの重複送信を防止することが可能となる。   According to the communication terminal of the sixth embodiment, by transmitting the content identifier prior to the transmission of the content, the communication terminal that has received the content identifier can know the presence of the content being received, and duplicate content transmission Can be prevented.

(ハードウエア構成)
図24は、本発明の第1〜6の実施形態における通信端末をコンピュータ装置で実現したハードウエア構成を示す図である。
(Hardware configuration)
FIG. 24 is a diagram illustrating a hardware configuration in which the communication terminal according to the first to sixth embodiments of the present invention is realized by a computer apparatus.

図24に示すように、通信端末は、CPU(Central Processing Unit)511、通信部512、メモリ513、及び、プログラムやデータを格納するハードディスク等の記憶装置514を含む。また、通信端末は、システムバス517を介して入力装置515及び、出力装置516に接続されている。   As shown in FIG. 24, the communication terminal includes a CPU (Central Processing Unit) 511, a communication unit 512, a memory 513, and a storage device 514 such as a hard disk for storing programs and data. The communication terminal is connected to the input device 515 and the output device 516 via the system bus 517.

CPU511は、オペレーティングシステムを動作させて第1〜第6の実施形態の通信端末を制御する。またCPU511は、例えば、ドライブ装置に装着された記録媒体からメモリ513にプログラムやデータを読み出す。   The CPU 511 operates the operating system to control the communication terminals of the first to sixth embodiments. Further, the CPU 511 reads a program and data from the recording medium mounted on the drive device to the memory 513, for example.

また、CPU511は、例えば、各実施形態における通信端末の演算処理部の各機能を有し、プログラムに基づいて各種機能の処理を実行する。   Further, the CPU 511 has, for example, each function of the arithmetic processing unit of the communication terminal in each embodiment, and executes processing of various functions based on a program.

記憶装置514は、例えば、光ディスク、フレキシブルディスク、磁気光ディスク、外付けハードディスク、又は半導体メモリ等である。記憶装置514の一部の記憶媒体は、不揮発性記憶装置であり、そこにプログラムを記憶する。また、プログラムは、通信網に接続されている。図示しない外部コンピュータからダウンロードされてもよい。   The storage device 514 is, for example, an optical disk, a flexible disk, a magnetic optical disk, an external hard disk, or a semiconductor memory. A part of the storage medium of the storage device 514 is a nonvolatile storage device, and stores a program therein. The program is connected to a communication network. It may be downloaded from an external computer (not shown).

入力装置515は、例えば、マウス、キーボード、又は、タッチパネルなどで実現され、入力操作に用いられる。また、出力装置516は、CPU511により処理された情報等を出力して確認するために用いられる。   The input device 515 is realized by, for example, a mouse, a keyboard, or a touch panel, and is used for an input operation. The output device 516 is used for outputting and confirming information processed by the CPU 511.

以上、実施形態(及び実施例)を参照して本願発明を説明したが、本願発明は上記実施形態(及び実施例)に限定されものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。   While the present invention has been described with reference to the embodiments (and examples), the present invention is not limited to the above embodiments (and examples). Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

上記の実施形態の一部又は全部は、以下の付記のように記載されうるが、以下には限られない。   Part or all of the above-described embodiments can be described as in the following supplementary notes, but is not limited thereto.

(付記1) コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に前記コンテンツ識別子を受信するコンテンツ受信処理部と、受信した前記コンテンツ識別子に対応して他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否するコンテンツ受信制御部と、備える通信端末。   (Supplementary Note 1) In a communication session of communication between terminals that transmits and receives a content identifier corresponding to content, a content reception processing unit that receives the content identifier before receiving the content, and other content corresponding to the received content identifier A communication terminal comprising: a content reception control unit that rejects reception of the content corresponding to the received content identifier when a communication session exists.

(付記2) 前記コンテンツ受信制御部は、前記他の通信セッションが存在しない場合、受信した前記コンテンツ識別子に対応する前記コンテンツを受信する、付記1記載の通信端末。   (Additional remark 2) The said content reception control part is a communication terminal of Additional remark 1 which receives the said content corresponding to the received said content identifier, when the said other communication session does not exist.

(付記3) 受信した前記コンテンツ識別子とその通信セッションとの対応情報を保存する対応情報保存部と、を備え、前記コンテンツ受信制御部は、前記対応情報保存部の前記対応情報を参照して、受信した前記コンテンツ識別子に係る他の通信セッションが存在するかを判断する、付記1又は2記載の通信端末。   (Supplementary Note 3) A correspondence information storage unit that stores correspondence information between the received content identifier and its communication session, and the content reception control unit refers to the correspondence information of the correspondence information storage unit, The communication terminal according to appendix 1 or 2, wherein it is determined whether another communication session related to the received content identifier exists.

(付記4) 前記コンテンツ受信処理部は、前記コンテンツの受信が完了又は受信が途中で停止したときに、前記対応情報保存部の対応情報から前記コンテンツを受信した通信セッションの情報を削除する、付記3記載の通信端末。   (Supplementary Note 4) The content reception processing unit deletes the information of the communication session that has received the content from the correspondence information of the correspondence information storage unit when the reception of the content is completed or the reception is stopped halfway. 3. The communication terminal according to 3.

(付記5) 自端末にコンテンツを保存するコンテンツ保存部を備え、前記コンテンツ受信制御部は、受信した前記コンテンツ識別子に対応するコンテンツが前記コンテンツ保存部に保存されている場合、受信した前記コンテンツ識別子に対応するコンテンツの受信を拒否する、付記1から付記4のいずれか1項に記載の通信端末。   (Supplementary Note 5) When the content storage unit stores the content in its own terminal, and the content reception control unit stores the content corresponding to the received content identifier in the content storage unit, the received content identifier 5. The communication terminal according to any one of appendix 1 to appendix 4, wherein reception of content corresponding to is rejected.

(付記6) 自端末にコンテンツを保存するコンテンツ保存部を備え、前記コンテンツ保存部に保存されたコンテンツのリストを他の通信端末に送信するSVメッセージ送信部を備える、付記1から付記4のいずれか1項に記載の通信端末。   (Supplementary note 6) Any one of Supplementary note 1 to Supplementary note 4, further comprising a content storage unit that stores content in its own terminal, and an SV message transmission unit that transmits a list of content stored in the content storage unit to another communication terminal The communication terminal according to claim 1.

(付記7) 他の通信端末から送信されたSVメッセージに含まれるコンテンツリストと、自端末のコンテンツ保存部に保存されたコンテンツを比較し、自端末が保持せず他の通信端末が保持するコンテンツを送信要求するためリクエストメッセージを送信する、リクエストメッセージ処理部と、を備える、付記1から付記6のいずれか1項に記載の通信端末。   (Supplementary note 7) The content list included in the SV message transmitted from the other communication terminal is compared with the content stored in the content storage unit of the own terminal, and the content held by the other communication terminal not held by the own terminal The communication terminal according to any one of appendix 1 to appendix 6, further comprising: a request message processing unit that transmits a request message to request transmission.

(付記8) 前記リクエストメッセージ処理部は、前記対応情報保存部の対応情報に登録されているコンテンツ識別子に対応するコンテンツを前記送信要求するコンテンツから除外する付記7に記載の通信端末。   (Supplementary note 8) The communication terminal according to supplementary note 7, wherein the request message processing unit excludes the content corresponding to the content identifier registered in the correspondence information of the correspondence information storage unit from the content requested to be transmitted.

(付記9) コンテンツ保存部に保存されたコンテンツを他の通信端末へ送信するコンテンツ送信処理部を備え、前記コンテンツ送信処理部は、前記保存されたコンテンツの送信前に、送信するコンテンツに対応したコンテンツ識別子を他の通信端末に送信する、付記1から付記4のいずれか1項に記載の通信端末。   (Supplementary Note 9) A content transmission processing unit that transmits the content stored in the content storage unit to another communication terminal, the content transmission processing unit corresponding to the content to be transmitted before transmission of the stored content The communication terminal according to any one of appendix 1 to appendix 4, wherein the content identifier is transmitted to another communication terminal.

(付記10) 前記コンテンツ送信処理部に指示して前記他の通信端末との端末間通信の通信セッションを確立させるコンテンツ送信制御部を備える、付記9に記載の通信端末。   (Additional remark 10) The communication terminal of Additional remark 9 provided with the content transmission control part which instruct | indicates the said content transmission process part and establishes the communication session of the terminal communication with said other communication terminal.

(付記11) コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで前記コンテンツの受信前に、前記コンテンツ識別子を受信するコンテンツ受信処理部と、受信した前記コンテンツ識別子に対応する、他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否するコンテンツ受信制御部と、備える通信端末。   (Supplementary Note 11) A content reception processing unit that receives the content identifier before receiving the content in a communication session of terminal-to-terminal communication that transmits and receives a content identifier corresponding to the content, and other content corresponding to the received content identifier A communication terminal comprising: a content reception control unit that rejects reception of the content corresponding to the received content identifier when a communication session exists.

(付記12) 他の通信端末からSVメッセージを受信すると、前記SVメッセージに含まれている前記他の通信端末が保持しているコンテンツのリストと、自端末のコンテンツ保存部に保存されているコンテンツとを比較するコンテンツ送信制御部と、前記コンテンツ送信制御部の比較の結果、他の通信端末が保持せず、自端末が保存するコンテンツを他の通信端末へ送信するコンテンツとしてコンテンツ保存部から抽出するコンテンツ送信処理部と備える付記1〜4に記載の通信端末。   (Supplementary Note 12) When an SV message is received from another communication terminal, a list of contents held in the other communication terminal included in the SV message and contents stored in the content storage unit of the own terminal As a result of comparison between the content transmission control unit and the content transmission control unit, the content stored in the local terminal is not stored in the other communication terminal, and is extracted from the content storage unit as the content to be transmitted to the other communication terminal. The communication terminal according to appendices 1 to 4, provided with a content transmission processing unit.

(付記13) 前記コンテンツ送信処理部は、他の通信端末から送信された受信拒否通知を受けて自端末から前記他の通信端末へのコンテンツの送信を中止する、通信端末。   (Additional remark 13) The said content transmission process part is a communication terminal which receives the reception refusal notification transmitted from the other communication terminal, and stops transmission of the content from the own terminal to the said other communication terminal.

(付記14) コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に前記コンテンツ識別子を受信し、受信した前記コンテンツ識別子に対応する他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する、通信制御方法。   (Supplementary note 14) In a communication session of communication between terminals that transmits and receives a content identifier corresponding to content, when the content identifier is received before the content is received, and there is another communication session corresponding to the received content identifier A communication control method for rejecting reception of the content corresponding to the received content identifier.

(付記15) コンピュータに、コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に前記コンテンツ識別子を受信し、受信した前記コンテンツ識別子に対する、他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する、ことを実行させるためのプログラム。   (Supplementary Note 15) In a communication session of communication between terminals that transmits and receives a content identifier corresponding to content, the computer receives the content identifier before receiving the content, and there is another communication session for the received content identifier If so, a program for causing the reception of the content corresponding to the received content identifier to be rejected.

10 通信端末
11 コンテンツ受信処理部
12 コンテンツ受信制御部
20−1、20−2 通信端末
21 コンテンツ送信処理部
22 コンテンツ送信制御部
23 コンテンツ保存部
30 通信端末
32 コンテンツ受信制御部
33 対応情報保存部
40 通信端末
41 コンテンツ受信処理部
42 コンテンツ受信制御部
43 対応情報保存部
44 コンテンツ保存部
100 通信端末
110 通信部
120 演算処理部
120A SVメッセージ送信部
120B コンテンツ受信制御部
120C コンテンツ受信処理部
130 保存部
130A コンテンツ保存部
130B 対応情報保存部
200−1、200−2 通信端末
210 通信部
220 演算処理部
220D SVメッセージ受信部
220E コンテンツ送信制御部
220F コンテンツ送信処理部
230 保存部
230A コンテンツ保存部
300 通信端末
310 通信部
320 演算処理部
320B コンテンツ受信制御部
320C コンテンツ受信処理部
320D SVメッセージ受信部
320G リクエスト処理部
330 保存部
330A コンテンツ保存部
330B 対応情報保存部
400 通信端末
410 通信部
420 演算処理部
420A SVメッセージ送信部
420E コンテンツ送信制御部
420F コンテンツ送信処理部
430 保存部
430A コンテンツ保存部
500 通信端末
511 CPU
512 通信部
513 メモリ
514 記憶装置
515 入力装置
516 出力装置
517 システムバス
520 演算処理部
520E コンテンツ送信制御部
DESCRIPTION OF SYMBOLS 10 Communication terminal 11 Content reception process part 12 Content reception control part 20-1, 20-2 Communication terminal 21 Content transmission process part 22 Content transmission control part 23 Content storage part 30 Communication terminal 32 Content reception control part 33 Corresponding information storage part 40 Communication terminal 41 Content reception processing unit 42 Content reception control unit 43 Corresponding information storage unit 44 Content storage unit 100 Communication terminal 110 Communication unit 120 Arithmetic processing unit 120A SV message transmission unit 120B Content reception control unit 120C Content reception processing unit 130 Storage unit 130A Content storage unit 130B Corresponding information storage unit 200-1, 200-2 Communication terminal 210 Communication unit 220 Operation processing unit 220D SV message reception unit 220E Content transmission control unit 220F Content transmission Processing unit 230 Storage unit 230A Content storage unit 300 Communication terminal 310 Communication unit 320 Arithmetic processing unit 320B Content reception control unit 320C Content reception processing unit 320D SV message reception unit 320G Request processing unit 330 Storage unit 330A Content storage unit 330B Corresponding information storage unit 400 communication terminal 410 communication unit 420 arithmetic processing unit 420A SV message transmission unit 420E content transmission control unit 420F content transmission processing unit 430 storage unit 430A content storage unit 500 communication terminal 511 CPU
512 Communication Unit 513 Memory 514 Storage Device 515 Input Device 516 Output Device 517 System Bus 520 Arithmetic Processing Unit 520E Content Transmission Control Unit

Claims (10)

コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで前記コンテンツの受信前に前記コンテンツ識別子を受信するコンテンツ受信処理部と、
受信した前記コンテンツ識別子に対応する、他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否するコンテンツ受信制御部と、
を備える通信端末。
A content reception processing unit that receives the content identifier before receiving the content in a communication session of communication between terminals that transmits and receives a content identifier corresponding to the content;
A content reception control unit that rejects reception of the content corresponding to the received content identifier when there is another communication session corresponding to the received content identifier;
A communication terminal comprising:
前記コンテンツ受信制御部は、前記他の通信セッションが存在しない場合、受信した前記コンテンツ識別子に対応する前記コンテンツを受信する、請求項1記載の通信端末。   The communication terminal according to claim 1, wherein the content reception control unit receives the content corresponding to the received content identifier when the other communication session does not exist. 受信した前記コンテンツ識別子とその通信セッションとの対応情報を保存する対応情報保存部と、を備え、
前記コンテンツ受信制御部は、前記対応情報保存部の前記対応情報を参照して、受信した前記コンテンツ識別子に係る他の通信セッションが存在するかを判断する、請求項1又は2記載の通信端末。
A correspondence information storage unit for storing correspondence information between the received content identifier and its communication session,
The communication terminal according to claim 1, wherein the content reception control unit determines whether there is another communication session related to the received content identifier by referring to the correspondence information of the correspondence information storage unit.
前記コンテンツ受信処理部は、前記コンテンツの受信が完了又は受信が途中で停止したときに、前記対応情報保存部の対応情報から前記コンテンツを受信した通信セッションの情報を削除する、請求項3記載の通信端末。   The content reception processing unit deletes information on a communication session that has received the content from the correspondence information in the correspondence information storage unit when reception of the content is completed or reception is stopped in the middle. Communication terminal. 自端末にコンテンツを保存するコンテンツ保存部を備え、
前記コンテンツ受信制御部は、受信した前記コンテンツ識別子に対応するコンテンツが前記コンテンツ保存部に保存されている場合、受信した前記コンテンツ識別子に対応するコンテンツの受信を拒否する、請求項1から請求項4のいずれか1項に記載の通信端末。
It has a content storage unit that stores content on its own terminal,
The content reception control unit rejects reception of the content corresponding to the received content identifier when the content corresponding to the received content identifier is stored in the content storage unit. The communication terminal according to any one of the above.
自端末にコンテンツを保存するコンテンツ保存部を備え、
前記コンテンツ保存部に保存されたコンテンツのリストを他の通信端末に送信するSVメッセージ送信部を備える、請求項1から請求項4のいずれか1項に記載の通信端末。
It has a content storage unit that stores content on its own terminal,
The communication terminal according to any one of claims 1 to 4, further comprising an SV message transmission unit that transmits a list of contents stored in the content storage unit to another communication terminal.
他の通信端末から送信されたSVメッセージに含まれるコンテンツリストと、自端末のコンテンツ保存部に保存されたコンテンツを比較し、自端末が保持せず他の通信端末が保持するコンテンツを送信要求するためリクエストメッセージを送信する、リクエストメッセージ処理部と、
を備える、請求項1から請求項6のいずれか1項に記載の通信端末。
The content list included in the SV message transmitted from the other communication terminal is compared with the content stored in the content storage unit of the own terminal, and the transmission request is made for the content held by the other communication terminal without being held by the own terminal. A request message processing unit for sending a request message,
The communication terminal according to any one of claims 1 to 6, comprising:
前記リクエストメッセージ処理部は、
前記対応情報保存部の対応情報に登録されているコンテンツ識別子に対応するコンテンツを前記送信要求するコンテンツから除外する請求項7に記載の通信端末。
The request message processing unit
The communication terminal according to claim 7, wherein content corresponding to a content identifier registered in correspondence information in the correspondence information storage unit is excluded from the content requested to be transmitted.
コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前にコンテンツ識別子を受信し、
受信したコンテンツ識別子に対応する、他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する、通信制御方法。
In a communication session of communication between terminals that transmits and receives a content identifier corresponding to the content, the content identifier is received before receiving the content,
A communication control method for rejecting reception of the content corresponding to the received content identifier when there is another communication session corresponding to the received content identifier.
コンピュータに、
コンテンツと対応するコンテンツ識別子を送受信する端末間通信の通信セッションで、前記コンテンツの受信前に先立ちコンテンツ識別子を受信し、受信した前記コンテンツ識別子に対する、他の通信セッションが存在する場合、受信した前記コンテンツ識別子に対応する前記コンテンツの受信を拒否する、
ことを実行させるためのプログラム。
On the computer,
In a communication session for communication between terminals that transmits and receives a content identifier corresponding to content, the content identifier is received prior to reception of the content, and when there is another communication session for the received content identifier, the received content Refusing to receive the content corresponding to the identifier;
A program to make things happen.
JP2014153017A 2014-07-28 2014-07-28 Communication terminal, communication control method and program Active JP6369197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014153017A JP6369197B2 (en) 2014-07-28 2014-07-28 Communication terminal, communication control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014153017A JP6369197B2 (en) 2014-07-28 2014-07-28 Communication terminal, communication control method and program

Publications (2)

Publication Number Publication Date
JP2016031594A true JP2016031594A (en) 2016-03-07
JP6369197B2 JP6369197B2 (en) 2018-08-08

Family

ID=55441946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014153017A Active JP6369197B2 (en) 2014-07-28 2014-07-28 Communication terminal, communication control method and program

Country Status (1)

Country Link
JP (1) JP6369197B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071045A1 (en) * 2009-12-09 2011-06-16 日本電気株式会社 Information sharing system, communication device, control method, and program
WO2011114584A1 (en) * 2010-03-18 2011-09-22 日本電気株式会社 Information sharing method and communication terminals
WO2014076878A1 (en) * 2012-11-19 2014-05-22 日本電気株式会社 Data sharing system
WO2014076877A1 (en) * 2012-11-19 2014-05-22 日本電気株式会社 Data sharing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071045A1 (en) * 2009-12-09 2011-06-16 日本電気株式会社 Information sharing system, communication device, control method, and program
WO2011114584A1 (en) * 2010-03-18 2011-09-22 日本電気株式会社 Information sharing method and communication terminals
WO2014076878A1 (en) * 2012-11-19 2014-05-22 日本電気株式会社 Data sharing system
WO2014076877A1 (en) * 2012-11-19 2014-05-22 日本電気株式会社 Data sharing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
木下 峻一: "多ノードが密集する環境における端末間無線LAN通信を用いた同報配信システムの性能評価", 電子情報通信学会技術研究報告 VOL.113 NO.472, vol. 第113巻, JPN6018021788, 27 February 2014 (2014-02-27), JP, pages 第585頁-第590頁 *

Also Published As

Publication number Publication date
JP6369197B2 (en) 2018-08-08

Similar Documents

Publication Publication Date Title
US10462260B2 (en) Context-aware and proximity-aware service layer connectivity management
JP5640649B2 (en) Data communication method and information processing apparatus
JP5097620B2 (en) Multipath communication system
US9148895B2 (en) Bridge mode firewall mobility
JP2008271097A (en) Communication apparatus and client apparatus
JP2015091019A (en) Relay device and data transfer method
JP6403556B2 (en) Gateway device, smart meter and wireless mesh network
CN104038427A (en) Router renewing method and device
CN113794618B (en) Redundant network communication method and device based on virtual network card and terminal equipment
JPWO2016098275A1 (en) Communication method
WO2022016558A1 (en) Service continuity event notification method and apparatus
JP2002064562A (en) Method for establishing communication connection
JP6369197B2 (en) Communication terminal, communication control method and program
Gao et al. Emulation-based performance evaluation of the delay tolerant networking (DTN) in dynamic network topologies
Paul et al. On design and implementation of a scalable and reliable Sync system for delay tolerant challenged networks
US20150156164A1 (en) Communication system, communication control method, communication relay system, and communication relay control method
JP2010245783A (en) Mobile router ad-hoc network communication system
JP2015115014A (en) Node device, information processing system, information processing method, and information processing program
WO2012131960A1 (en) Communication device, path search method and path search program
WO2015194134A1 (en) Communications state estimation device, communications state estimation method, and storage medium that stores communications state estimation program
US11943132B2 (en) Cross-LAN communication and group member contact synchronization
JP6849961B2 (en) Network configuration method
EP2701432B1 (en) Relay, method and computer program product with efficient service roaming handling
US10432583B1 (en) Routing agent platform with a 3-tier architecture for diameter communication protocol in IP networks
TWI727519B (en) Terminal device, communication system and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180612

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180625

R150 Certificate of patent or registration of utility model

Ref document number: 6369197

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150