Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5430410B2 - COMMUNICATION DEVICE AND ITS CONTROL METHOD - Google Patents
[go: Go Back, main page]

JP5430410B2 - COMMUNICATION DEVICE AND ITS CONTROL METHOD - Google Patents

COMMUNICATION DEVICE AND ITS CONTROL METHOD Download PDF

Info

Publication number
JP5430410B2
JP5430410B2 JP2010000794A JP2010000794A JP5430410B2 JP 5430410 B2 JP5430410 B2 JP 5430410B2 JP 2010000794 A JP2010000794 A JP 2010000794A JP 2010000794 A JP2010000794 A JP 2010000794A JP 5430410 B2 JP5430410 B2 JP 5430410B2
Authority
JP
Japan
Prior art keywords
service
file
communication device
transfer
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010000794A
Other languages
Japanese (ja)
Other versions
JP2011141623A (en
Inventor
正志 ▲濱▼田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2010000794A priority Critical patent/JP5430410B2/en
Publication of JP2011141623A publication Critical patent/JP2011141623A/en
Application granted granted Critical
Publication of JP5430410B2 publication Critical patent/JP5430410B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、通信システムにおけるサービスネゴシエーションの制御技術に関する。   The present invention relates to a service negotiation control technique in a communication system.

非特許文献1には、通信路を介した機器間で実行するファイル転送サービスにて、通信路の設定をトリガにして、双方の機器で同一ファイルに対するサービスを実行する場合、サービスの起動の順序は、起動側からサービスを実行することが記載されている。また特許文献1には、通信路の設定を契機にしてファイルを転送する場合に、同一ファイル名のファイルが被転送側に存在する際の上書き防止するため、転送元機器の機器識別情報を転送対象ファイル名に付加して記憶する方法が記載されている。   In Non-Patent Document 1, in a file transfer service executed between devices via a communication path, when the service for the same file is executed by both devices using the setting of the communication path as a trigger, the order of service activation Describes that the service is executed from the start side. Patent Document 1 also transfers device identification information of a transfer source device in order to prevent overwriting when a file with the same file name exists on the transferee side when a file is transferred in response to setting of a communication path. A method of adding and storing the target file name is described.

異なるサービスを要望する機器同士が夫々のサービスを実行すると、無駄な通信が行われてしまうことがある。例えば、記憶しているファイルを機器同士で同期させる同期(シンク)サービスを要望する機器Aと、指定されたファイルを相手に転送するプッシュサービスを要望する機器Bとが接続した場合を考える。この場合、先に同期サービスを実行してしまうと、機器Aは機器Aに記憶していないファイルを機器Bから取得して、ファイルを同期する。その後、機器Bは指定されているファイルを機器Aに転送する。ここで、機器Bが機器Aに転送したファイルは既に機器Aが同期サービスにより取得済みであり、機器Aは同じファイルを複数記憶することになってしまう。   When devices requesting different services execute the respective services, useless communication may be performed. For example, consider a case where a device A that desires a synchronization service that synchronizes stored files between devices and a device B that desires a push service for transferring a specified file to the other party are connected. In this case, if the synchronization service is executed first, the device A acquires a file not stored in the device A from the device B and synchronizes the file. Thereafter, device B transfers the designated file to device A. Here, the file transferred from the device B to the device A is already acquired by the device A by the synchronization service, and the device A stores a plurality of the same files.

特開2007−128139号公報JP 2007-128139 A

Bluetooth Basic Imaging Proファイル 1.0 Interoperability Specification(2003)Bluetooth Basic Imaging Pro file 1.0 Interoperability Specification (2003)

以上のように、プッシュサービスを行う機器と同期サービスを行う機器が接続すると、同一ファイルが重複して転送されてしまい、無駄な通信が発生することになる。また、機器Aがプッシュサービスを要望するファイルと、機器Bがプルサービスを要望するファイルとが同じ場合も、同一ファイルが重複して転送されてしまい、無駄な通信が発生することになる。このように、機器が実行するサービスによっては、機器同士が接続してサービスを実行すると無駄な通信が発生してしまう。   As described above, when the device that performs the push service and the device that performs the synchronization service are connected, the same file is transferred repeatedly, and wasteful communication occurs. Further, even when the file for which the device A requests the push service and the file for which the device B requests the pull service are the same, the same file is transferred repeatedly, resulting in useless communication. As described above, depending on the service executed by the devices, useless communication occurs when the devices are connected to each other and execute the service.

本発明は、プッシュ転送サービスおよびシンク転送サービスが起動中の機器間にピアトゥピア型通信路が設定されても、同一ファイルの重複転送が回避可能な技術を提供することを目的とする。   An object of the present invention is to provide a technique capable of avoiding duplicate transfer of the same file even when a peer-to-peer communication path is set between devices in which the push transfer service and the sink transfer service are activated.

上記課題を解決するため、To solve the above problem,
外部通信装置との接続に応じてシンク転送を行なう通信装置は、A communication device that performs sync transfer according to the connection with an external communication device
外部通信装置と通信する通信手段と、A communication means for communicating with an external communication device;
前記通信手段により前記外部通信装置と接続した際に、該外部通信装置が要求する通信サービスを判定する判定手段と、Determining means for determining a communication service requested by the external communication device when connected to the external communication device by the communication means;
前記判定手段により前記外部通信装置がファイルのプッシュ転送サービスを要求していると判定した場合に、前記プッシュ転送サービスの後に前記外部通信装置とシンク転送を実行し、前記判定手段により前記外部通信装置が前記プッシュ転送サービスと異なる通信サービスを要求していると判定した場合に、当該要求された通信サービスの実行の前に前記外部装置と前記シンク転送を実行する実行手段と、を備えることを特徴とする。When the determination unit determines that the external communication device requests a file push transfer service, the external communication device performs sync transfer with the external communication device after the push transfer service, and the determination unit performs the external communication device. And executing means for executing the sink transfer before executing the requested communication service when it is determined that the communication service is different from the push transfer service. And

プッシュ転送サービスおよびシンク転送サービスが起動中の機器間にピアトゥピア型通信路が設定されても同一ファイルの重複転送を回避可能にすることができる。   Even if a peer-to-peer communication path is set between devices for which the push transfer service and the sink transfer service are activated, it is possible to avoid duplicate transfer of the same file.

システム構成を示す図。The figure which shows a system structure. 構成機器内の機能ブロック図。The functional block diagram in a component apparatus. 実施形態1における、同一ファイルに対するプッシュ転送サービスおよびシンクプル転送サービス同時起動時の制御シーケンスの例を示す図。FIG. 6 is a diagram illustrating an example of a control sequence when a push transfer service and a sync pull transfer service for the same file are activated simultaneously in the first embodiment. 実施形態1における各機器の動作フローチャート。5 is an operation flowchart of each device in the first embodiment. 実施形態2における、同一ファイルに対するプッシュ転送サービスおよびシンクプル転送サービス同時起動時の制御シーケンスの例を示す図。The figure which shows the example of the control sequence at the time of simultaneous activation of the push transfer service and the sink pull transfer service with respect to the same file in Embodiment 2. 実施形態3における、同一ファイルに対するプッシュ転送サービスと、シンクプル転送サービス同時起動時の制御シーケンスの例を示す図。The figure which shows the example of the control sequence at the time of simultaneous activation of the push transfer service with respect to the same file, and a sync pull transfer service in Embodiment 3. 実施形態4におけるプッシュ転送サービス優先時の動作フローチャート。10 is an operation flowchart when priority is given to a push transfer service according to the fourth embodiment. 実施形態4におけるプッシュ転送サービス優先時のシーケンスを示す図。The figure which shows the sequence at the time of the push transfer service priority in Embodiment 4.

<実施形態1>
図1は、本実施形態のピアトゥピア型通信路により接続可能な通信システムに関する構成図である。本システムは撮像装置1とPC2で構成され、撮像装置1とPC2との間はピアトゥピア型通信路である、近接無線通信路4により接続されている。近接無線通信路4は、電磁誘導を利用した非接触ICカード無線通信やNFC(Near Field Communcation)などの誘導電界を利用した通信路である。
<Embodiment 1>
FIG. 1 is a configuration diagram relating to a communication system connectable by a peer-to-peer communication path according to the present embodiment. This system includes an imaging apparatus 1 and a PC 2, and the imaging apparatus 1 and the PC 2 are connected by a close proximity wireless communication path 4 that is a peer-to-peer communication path. The proximity wireless communication path 4 is a communication path using an induction electric field such as non-contact IC card wireless communication using electromagnetic induction or NFC (Near Field Communication).

また、撮像装置1は、撮影済みの最新画像ファイルのPC2への転送サービスを要望しており、PC2は撮影済み画像ファイル格納フォルダ内のファイルのシンク転送サービスを要望している。   In addition, the imaging device 1 requests a transfer service of the latest image file that has been captured to the PC 2, and the PC 2 requests a sink transfer service of the file in the captured image file storage folder.

図2は、本実施形態における、撮像装置1およびPC2内の機能構成ブロック図である。撮像装置1には、近接無線通信路300の媒体を制御する近接無線通信部301、近接無線通信部の制御を行なう通信制御部302、および通信プロトコル制御を行なう通信ミドルウェア303が、ピアトゥピア通信インタフェース機能部として実装されている。   FIG. 2 is a functional block diagram of the imaging apparatus 1 and the PC 2 in the present embodiment. The imaging apparatus 1 includes a proximity wireless communication unit 301 that controls a medium of the proximity wireless communication path 300, a communication control unit 302 that controls the proximity wireless communication unit, and a communication middleware 303 that performs communication protocol control. It is implemented as a part.

更に、撮影済みの最新画像ファイルのPC2への転送サービスを行なう機器内アプリケーション305がインストールされている。機器内アプリケーション305として、プッシュ転送サービスに関するユーザ操作を行なうファイルプッシュサービスのファイルプッシュモードのコントロールポイント304と、ファイル送受信アプリケーション306とが実装されている。   Furthermore, an in-device application 305 that performs a transfer service of the latest image file that has been taken to the PC 2 is installed. As the in-device application 305, a file push mode control point 304 of a file push service for performing a user operation regarding the push transfer service, and a file transmission / reception application 306 are implemented.

また、PC2には、近接無線通信路300媒体を制御する近接無線通信部307、近接無線通信部の制御を司る通信制御部308、および通信プロトコル制御を行なう通信ミドルウェア309が、ピアトゥピア通信インタフェース機能部として実装されている。   Further, the PC 2 includes a proximity wireless communication unit 307 that controls the medium of the proximity wireless communication path 300, a communication control unit 308 that controls the proximity wireless communication unit, and a communication middleware 309 that performs communication protocol control. As implemented.

更に、撮影済み画像格納フォルダ内のファイルシンク(同期)転送サービスを司る機器内アプリケーション311がインストールされている。機器内アプリケーション311として、シンク転送サービスに関するユーザ操作を行なうファイルシンク(Sync)サービスのコントロールポイント310と、ファイル送受信アプリケーション312が実装されている。   Furthermore, an in-device application 311 that manages a file sync (synchronous) transfer service in the captured image storage folder is installed. As the in-device application 311, a control point 310 of a file sync (Sync) service for performing a user operation regarding the sync transfer service and a file transmission / reception application 312 are implemented.

図3は、実施形態1における同一ファイルに対するプッシュ転送サービスおよびシンク転送サービス同時起動時の制御シーケンスチャートの例を示す図である。また図4は、本発明の実施形態の各機器における動作フローチャートの例を示す図である。以下、図3のシーケンスチャート、図4のフローチャートを用いて、実施形態1の処理手順に関して説明する。   FIG. 3 is a diagram illustrating an example of a control sequence chart at the time of simultaneous activation of the push transfer service and the sink transfer service for the same file in the first embodiment. FIG. 4 is a diagram illustrating an example of an operation flowchart in each device according to the embodiment of the present invention. Hereinafter, the processing procedure of the first embodiment will be described with reference to the sequence chart of FIG. 3 and the flowchart of FIG. 4.

ユーザ操作または他の外部入力により、PC2(通信装置)にある撮影済み画像格納フォルダのファイルシンク転送サービス(第1転送モードによる転送サービス)がPC2に要求され、PC2はこの要求を受付ける。これにより、PC2内のファイルシンクサービス用のファイル送受信アプリケーション312は、通信ミドルウェア309に対してサービスのシンクスタート要求を送信する(S401)。ここで、ファイルシンク転送では、通信の相手方におけるシンクフォルダ中のファイルと、自身のシンクフォルダ内のファイルが同じになるように(同期するように)、通信の相手方から、足りないファイル、または、最新のファイルを取得(プル)する。   A file sync transfer service (transfer service in the first transfer mode) of the captured image storage folder in the PC 2 (communication device) is requested from the PC 2 by a user operation or other external input, and the PC 2 accepts this request. As a result, the file transmission / reception application 312 for the file sync service in the PC 2 transmits a service sync start request to the communication middleware 309 (S401). Here, in the file sync transfer, the file in the sync folder at the other party of communication and the file in its own sync folder are the same (so as to synchronize), from the other party of communication, Get (pull) the latest file.

一方、撮像装置1(外部通信装置)に対しても、ユーザ操作または他の外部入力により、ファイルプッシュサービス(第2転送モードによる転送サービス)が要求され、撮像装置1はこの要求を受付ける。ここで、プッシュ転送とは、選択したファイルのみを通信の相手方に送信することを意味する。また、ユーザ操作または他の外部入力により、撮影済み画像格納フォルダから選択した画像ファイルをPC2の撮影済み画像格納フォルダへ転送するファイルプッシュサービスが要求されたとする。   On the other hand, a file push service (transfer service in the second transfer mode) is also requested for the imaging apparatus 1 (external communication apparatus) by a user operation or other external input, and the imaging apparatus 1 accepts this request. Here, push transfer means that only the selected file is transmitted to the other party of communication. Further, it is assumed that a file push service for transferring an image file selected from the captured image storage folder to the captured image storage folder of the PC 2 is requested by a user operation or other external input.

撮像装置1内のファイルプッシュ転送サービス用のファイル送受アプリケーション306は、通信ミドルウェア303にサービスのプッシュスタート要求を行なう(S402)。近接無線通信のインタフェースとして、通信の相手方に接続し、通信の動作を主導するイニシエータモードと、そのイニシエータモードの通信に応答する応答モードがある。   The file transmission / reception application 306 for the file push transfer service in the imaging device 1 makes a service push start request to the communication middleware 303 (S402). As an interface for close proximity wireless communication, there are an initiator mode for connecting to a communication partner and leading communication operation, and a response mode for responding to communication in the initiator mode.

本発明の各実施形態においては、PC2は、はじめに起動され、常にシンク転送を行なうことを仮定している。つまり、PC2は、撮像装置1よりも前に起動しているので、必ずイニシエータモードとして動作し、撮像装置1に接続要求を送信する。また、通信の接続を受ける撮像装置1は、常にPC2の後で起動するので、応答モードとして動作し、プッシュ転送を行なうと仮定している。   In each embodiment of the present invention, it is assumed that the PC 2 is activated first and always performs sync transfer. That is, since the PC 2 is activated before the imaging device 1, the PC 2 always operates in the initiator mode and transmits a connection request to the imaging device 1. Further, it is assumed that the imaging apparatus 1 that receives the communication connection always starts after the PC 2 and therefore operates as a response mode and performs push transfer.

従って、PC2は起動することにより、シンク転送を行なうために、ユーザや外部機器から転送サービスのシンクスタート要求(Sync Start)を受付ける(S401)。PC2は、イニシエータモードで動作するので、撮像装置1へ接続するために、接続要求メッセージを送信する(S403、S404)。そして、これと併せて、PC2側の起動要望サービス情報(ファイルシンクサービス)を情報パラメータにて通知する。   Accordingly, when the PC 2 is activated, it receives a sync service start request (Sync Start) from the user or an external device in order to perform sync transfer (S401). Since the PC 2 operates in the initiator mode, a connection request message is transmitted in order to connect to the imaging device 1 (S403, S404). Along with this, the PC 2 side activation request service information (file sync service) is notified by an information parameter.

また、撮像装置1は、ユーザから既にファイルプッシュ転送サービスのプッシュスタート要求(Push Start)を受付けていると仮定する。撮像装置1は、応答モードで動作するので、近接無線通信媒体経由での接続表示(Connec.Ind)の受信を待ち受ける(S405)。撮像装置1の通信ミドルウェア303は、ステップS405で通信の相手方における起動要望サービスの情報(転送パラメータ)を認識する。   Further, it is assumed that the imaging apparatus 1 has already received a push start request (Push Start) of the file push transfer service from the user. Since the imaging apparatus 1 operates in the response mode, the imaging apparatus 1 waits for reception of a connection display (Connec. Ind) via the close proximity wireless communication medium (S405). In step S405, the communication middleware 303 of the imaging device 1 recognizes the information (transfer parameter) of the activation request service at the communication partner.

撮像装置1は、自身の起動要望サービス情報であるファイルプッシュ転送サービス情報を接続受諾メッセージの送信(S406、S407)に併せて、情報パラメータにて通知することによりファイルプッシュ転送要求を行なう。   The imaging device 1 makes a file push transfer request by notifying the file push transfer service information, which is its activation request service information, together with the transmission of the connection acceptance message (S406, S407) by an information parameter.

従来は、イニシエータモードのPC2からのシンク転送を優先させて、シンク転送を受信していた。しかしながら、この実施形態では、ファイルプッシュ転送要求を、シンク転送よりも優先する。そのため、図2の撮像装置1の通信ミドルウェア303は、機器内アプリケーション305に対して、自身の転送を優先させるため(ファイルプッシュ転送サービスの実行許可のため)StartAckを送る(S409)点に特徴がある。   Conventionally, sync transfer is received with priority given to sync transfer from the PC 2 in the initiator mode. However, in this embodiment, the file push transfer request has priority over the sync transfer. Therefore, the communication middleware 303 of the imaging apparatus 1 in FIG. 2 is characterized in that it sends StartAck to the in-device application 305 in order to prioritize its own transfer (to permit execution of the file push transfer service) (S409). is there.

図4において、はじめから、撮像装置1の動作を説明する。S501で、撮像像装置1側は応答モードで動作するので、「No」を選択し、S502で接続表示(Connction Ind.)をPC2から受信する。次に、S506において、撮像装置1は、通信の相手方であるPC2の起動要望のサービスがあるかどうかを判断する。もしサービスが要求されていなければ、S510に進む。もしサービスの要求があれば、S507でそのサービスが、ファイルプッシュサービスであるかどうかを判断する。もしファイルプッシュサービスでなければ、S510へ進む。   In FIG. 4, the operation of the imaging apparatus 1 will be described from the beginning. In S501, since the imaging image apparatus 1 side operates in the response mode, “No” is selected, and connection display (Connection Ind.) Is received from the PC 2 in S502. In step S <b> 506, the imaging apparatus 1 determines whether there is a service for requesting activation of the PC 2 that is a communication partner. If no service is requested, the process proceeds to S510. If there is a service request, it is determined in step S507 whether the service is a file push service. If it is not a file push service, the process proceeds to S510.

このサービスの要求が、ファイルプッシュサービスであれば、撮像装置1は、PC2のサービスを優先させるが、この例では、PC2のサービスの要求は、シンクサービスである。従って、S511へ進み、撮像装置1自身の起動要求サービスであるファイルプッシュ転送サービスの実行許可を通知する。この動作は、撮像装置1の通信ミドルウェア303が機器内アプリケーション305に通知することにより行なわれる(S409)。   If the request for this service is a file push service, the imaging apparatus 1 gives priority to the service of the PC 2. In this example, the request for the service of the PC 2 is a sink service. Accordingly, the process proceeds to S511 to notify the execution permission of the file push transfer service which is the activation request service of the imaging apparatus 1 itself. This operation is performed when the communication middleware 303 of the imaging apparatus 1 notifies the in-device application 305 (S409).

図4において、はじめから、PC2の動作について説明する。S501で、PC2はイニシエータとして動作する。従って、S502で、接続要求を撮像装置1へ送信する。S504で、PC2(のメッセージ受信手段)は、撮像装置1からの接続受託メッセージを受信する(S408)。従来は、PC2は、接続受託メッセージを受け取った時点で、撮像装置1へACKを返して、自身のシンク転送の許可を与えて、シンク転送を開始していた。しかしながら、本実施形態では、以下のように、PC2はシンク転送をすぐには行なわず、プッシュ転送を優先するように動作する。   In FIG. 4, the operation of the PC 2 will be described from the beginning. In S501, the PC 2 operates as an initiator. Accordingly, a connection request is transmitted to the imaging apparatus 1 in S502. In S504, the PC 2 (the message receiving means) receives the connection entrustment message from the imaging device 1 (S408). Conventionally, when the PC 2 receives the connection entrustment message, the PC 2 returns an ACK to the imaging apparatus 1 and grants its own sync transfer permission to start sync transfer. However, in the present embodiment, as described below, the PC 2 does not immediately perform sync transfer but operates to give priority to push transfer.

つまり、まずS505で自身の要求サービスを撮像装置1が認識しているかどうかを判断する。この判断は、撮像装置1が接続受託メッセージの中に含まれるファイルシンクサービスの要求を確認して接続受託メッセージをPC2へ返したこと、そして、PC2が接続受託メッセージにプッシュサービスの要求が含まれること、を確認することで行なわれる。そしてS506で、PC2は、撮像装置1(対向機)からファイルプッシュ転送サービスの起動要望があることを確認する。   That is, first, in S505, it is determined whether or not the imaging apparatus 1 recognizes its own requested service. This determination is made when the imaging apparatus 1 confirms the request for the file sink service included in the connection entrustment message and returns the connection entrustment message to the PC 2, and the PC 2 includes the push service request in the connection entrustment message. It is done by confirming that. In step S506, the PC 2 confirms that there is a request for activation of the file push transfer service from the imaging device 1 (opposite device).

次に、S507において、PC2は、撮像装置1のサービスの要求がファイルプッシュサービスであるかどうかを判断する。この例では、撮像装置1は、ファイルプッシュサービスの起動要求を行なっている。従って、接続受託メッセージの情報パラメータの1つである起動要望(ファイルプッシュの起動要望)を確認する。そして、PC2は、S508へ進み、起動要望情報の内容に従って、自身の起動要望サービスである、ファイルシンクサービスの起動延期を通知する(S410)。この動作は、通信ミドルウェア309が機器内アプリケーションへ通知することにより行なわれる。S510において、PC2は、撮像装置1からのデータペイロードがアイドルとなる時間を規定期間に対して計側する。   In step S <b> 507, the PC 2 determines whether the service request for the imaging apparatus 1 is a file push service. In this example, the imaging device 1 makes a request for starting a file push service. Therefore, the activation request (file push activation request), which is one of the information parameters of the connection entrustment message, is confirmed. Then, the PC 2 proceeds to S508, and notifies the activation delay of the file sink service, which is its own activation request service, according to the content of the activation request information (S410). This operation is performed when the communication middleware 309 notifies the in-device application. In S510, the PC 2 measures the time during which the data payload from the imaging device 1 is idle with respect to the specified period.

この後、S509で、撮像装置1始動のファイルプッシュ転送サービス(S411〜S415)が実行される。つまり、ファイルプッシュ転送サービスのディスカバリが行なわれる(S411)。そして、撮像装置1は、PC2の転送先フォルダの存在確認処理を実行する(S412)。その後、撮像装置はPC2の転送先フォルダを選択し(S413、S414)、対象ファイルをプッシュ転送する(S415)。   Thereafter, in S509, the file push transfer service (S411 to S415) for starting the imaging apparatus 1 is executed. That is, discovery of the file push transfer service is performed (S411). Then, the imaging apparatus 1 executes a transfer destination folder existence confirmation process of the PC 2 (S412). Thereafter, the imaging apparatus selects a transfer destination folder of the PC 2 (S413, S414), and push-transfers the target file (S415).

PC2(の転送受信の手段)が撮像装置1による転送対象ファイルの転送を受信し、全ての完了後、ファイルプッシュサービスに伴うデータペイロードの通信が無くなり、アイドル状態となる。S509において、PC2は、撮像装置1からのデータペイロードのアイドルの時間が規定期間継続したことを計側する。S510にて、PC2は、実行延期中のファイルシンクサービスの起動を通知する(S417)。この動作は、PC2内の通信ミドルウェア309が機器内アプリケーション311へ通知することにより行なわれる。   The PC 2 (the transfer receiving means) receives the transfer of the transfer target file by the imaging apparatus 1 and after all the data is transferred, there is no communication of the data payload accompanying the file push service, and an idle state is entered. In step S509, the PC 2 measures that the idle time of the data payload from the imaging device 1 has continued for a specified period. In S510, the PC 2 notifies activation of the file sink service whose execution has been postponed (S417). This operation is performed when the communication middleware 309 in the PC 2 notifies the in-device application 311.

この後、S512で、PC2始動のファイルシンク転送サービス(S418〜S422)が実行される。このために、ファイルシンク転送サービスのディスカバリ(S418)後に、撮像装置1側のシンク対象フォルダの存在確認処理(S419)を実行する。すなわち、PC2は、撮像装置1のシンク対象フォルダ内にあるすべてのファイル名とファイル更新日を確認し(S419)、自身のシンクフォルダ内の、プッシュ転送で受信したファイルを含むすべてのファイルの名称とファイルの更新日時と比較する。(尚、本実施例では、撮像装置1から送信された同一ファイル名のファイルが、PC2のシンクフォルダに格納されると、更新日の新しいファイルにより、旧いファイルが書き換えられると仮定している。)そして、撮像装置1のシンク対象フォルダ内のファイルで、PC2に存在しないか、或は最新でないファイルを、転送対象ファイルとして選択し(S421)、選択されたファイルが撮影装置からPC2へプル転送(S422)される。   Thereafter, in S512, a file sync transfer service (S418 to S422) started by PC2 is executed. Therefore, after the discovery of the file sync transfer service (S418), the sync target folder existence confirmation process (S419) on the imaging device 1 side is executed. That is, the PC 2 confirms all file names and file update dates in the sync target folder of the image capturing apparatus 1 (S419), and names of all files including files received by push transfer in its sync folder. And the file modification date. (In this embodiment, it is assumed that when a file having the same file name transmitted from the imaging apparatus 1 is stored in the sync folder of the PC 2, the old file is rewritten with the new file on the update date. Then, a file in the sync target folder of the image pickup apparatus 1 that does not exist on the PC 2 or is not the latest file is selected as a transfer target file (S421), and the selected file is pulled-transferred from the photographing apparatus to the PC 2 (S422).

以上のように、PC2へのプッシュ転送サービスを希望する撮像装置1と、シンク転送サービスを希望するPC2との間で転送させる場合、起動される連繋サービスの順序を、プッシュ転送サービスを優先し、その後シンク転送サービスを実行するように制御する。実施形態1では、このように動作させることにより、画像ファイルの重複転送を防止することが出来るので、これまでのような画像ファイル転送による通信資源および情報記憶資源の浪費を避けることができる。   As described above, when the transfer is performed between the imaging device 1 that desires the push transfer service to the PC 2 and the PC 2 that desires the sync transfer service, the push transfer service is given priority over the order of the linked services to be activated, Thereafter, control is performed to execute the sync transfer service. In the first embodiment, since the image file can be prevented from being duplicated by operating in this way, it is possible to avoid waste of communication resources and information storage resources due to image file transfer as in the past.

<実施形態2>
実施形態1においては、撮像装置1およびPC2の双方の機器にサービスネゴシエーション機能が実装されている例を示した。しかしながら、少なくとも、ファイルのシンク転送サービスを要望する機器側にサービスネゴシエーション機能が実装されていれば、同等の効果が得られるので、この実施例を実施形態2で説明する。つまり、実施形態2においては、ファイルのシンク転送サービスを要望する機器であるPC2にサービスネゴシエーション機能が実装されており、撮像装置1には実装されていない例を示す。以下、サービスネゴシエーション機能を持たない機器をレガシータイプの機器という。PC2側が、イニシエータモードで、撮像装置1が応答モードで起動するのは、実施形態1と同様である。
<Embodiment 2>
In the first embodiment, an example in which the service negotiation function is implemented in both the imaging device 1 and the PC 2 has been described. However, this embodiment will be described in the second embodiment because the same effect can be obtained if the service negotiation function is mounted at least on the device side that desires the file sink transfer service. That is, in the second embodiment, an example is shown in which the service negotiation function is implemented in the PC 2 that is a device that requests a file sync transfer service, but not in the imaging apparatus 1. Hereinafter, a device that does not have a service negotiation function is referred to as a legacy type device. The PC 2 side is activated in the initiator mode and the imaging device 1 is activated in the response mode, as in the first embodiment.

図5は、実施形態2の同一ファイルに対するプッシュ転送サービスおよびシンクプル転送サービスの同時起動時の制御シーケンスチャート例を示す。以下、図5のシーケンスチャートおよび図4のフローチャートを用いて、実施形態2の動作フローについて説明する。   FIG. 5 shows an example of a control sequence chart at the time of simultaneous activation of the push transfer service and the sync pull transfer service for the same file according to the second embodiment. The operation flow of the second embodiment will be described below using the sequence chart of FIG. 5 and the flowchart of FIG.

ユーザ操作により、PC2にある撮影済み画像格納フォルダのファイルのシンク転送サービスがPC2に要求され、PC2はこの要求を受付ける。これにより、PC2内のファイルシンクサービス用のファイル送受信アプリケーション312は、通信ミドルウェア309に対してサービスのシンクスタート要求を行なう(S601)。   As a result of the user operation, a sync transfer service for a file in the captured image storage folder in the PC 2 is requested to the PC 2, and the PC 2 accepts this request. As a result, the file transmission / reception application 312 for the file sync service in the PC 2 makes a service sync start request to the communication middleware 309 (S601).

また撮像装置1に対しても、ユーザ操作により、選択した画像ファイルをPC2の撮影済み画像格納フォルダ内へ転送するファイルプッシュサービスが要求され、撮像装置1はこの要求を受付ける。撮像装置1内のファイルプッシュ転送サービス用のファイル送受信アプリケーション306は、通信ミドルウェア303にサービスのプッシュスタート要求を行なう(S602)。   The image pickup apparatus 1 is also requested by a user operation for a file push service for transferring the selected image file into the taken image storage folder of the PC 2, and the image pickup apparatus 1 accepts this request. The file transmission / reception application 306 for the file push transfer service in the imaging device 1 makes a service push start request to the communication middleware 303 (S602).

図4のステップS501で、ファイルサービスのシンクスタート要求601を受付けたPC2が、イニシエータモードで動作する。S502で、PC2は、通信ミドルウェア309を介して、シンク転送サービスのため、撮像装置1へ接続要求を行なう。ステップS502において、接続要求メッセージの送信(S603、S604)に併せて、PC2側のファイルシンク転送サービスを含む起動要望サービス情報を情報パラメータにて通知する。   In step S501 of FIG. 4, the PC 2 that has received the file service sync start request 601 operates in the initiator mode. In step S <b> 502, the PC 2 issues a connection request to the imaging apparatus 1 for the sink transfer service via the communication middleware 309. In step S502, along with the transmission of the connection request message (S603, S604), the activation request service information including the file sync transfer service on the PC 2 side is notified by the information parameter.

次に、図4により、撮像装置側1の動作を説明する。撮像装置1は、ファイルプッシュ転送サービスのプッシュスタート要求602を受付けていると仮定している。従って、S501で、撮像装置1は、PC2から接続要求を受信し、応答モードで動作する。ステップ503で、近接無線通信媒体経由での接続表示の受信を待ち受ける(S605)。実施形態2では、撮像装置1はレガシー機器なので、通信の相手方、この場合、PC2から送られた起動要望サービスの情報を認識できない。このため、撮像装置1は、転送要求パラメータを含まないレガシータイプ(既存)の接続受諾メッセージの送信をPC2に対して行なう(S606、S607)。レガシータイプの撮像装置1は、自身の起動要望サービス情報であるファイルプッシュ転送サービス情報、ファイルシンクサービスの認識情報は付加しない接続受諾メッセージを送信する。   Next, the operation of the imaging apparatus side 1 will be described with reference to FIG. It is assumed that the imaging apparatus 1 receives a push start request 602 of the file push transfer service. Accordingly, in S501, the imaging apparatus 1 receives a connection request from the PC 2 and operates in the response mode. In step 503, reception of a connection display via the proximity wireless communication medium is awaited (S605). In the second embodiment, since the imaging device 1 is a legacy device, the information on the activation request service sent from the communication partner, in this case, the PC 2 cannot be recognized. Therefore, the imaging apparatus 1 transmits a legacy type (existing) connection acceptance message not including the transfer request parameter to the PC 2 (S606, S607). The legacy-type imaging apparatus 1 transmits a connection acceptance message that does not add file push transfer service information, which is its activation request service information, and file sync service recognition information.

撮像装置1は、通信の相手方であるPC2に起動要望のサービスの存在が認識できないが、近接無線通信路300の設定完了を契機にして、自身の起動要求サービスであるファイルプッシュ転送サービスの実行許可を通知する(S609)する。この動作は、撮像装置1の通信ミドルウェア303が機器内アプリケーション305に実行許可を通知することで行なわれる。   The imaging apparatus 1 cannot recognize the presence of the activation request service in the PC 2 that is the other party of communication, but when the setting of the close proximity wireless communication path 300 is completed, execution permission of the file push transfer service that is its activation request service is permitted. Is notified (S609). This operation is performed when the communication middleware 303 of the imaging apparatus 1 notifies the in-device application 305 of execution permission.

さて、次に、図4におけるPC2の動作について説明する。S504にて、PC2は、撮像装置1からの接続受諾表示の受信を行なう(S608)。このメッセージがレガシーであることから、PC2は、通信の相手方である撮像装置1が、自身のファイルシンクサービスの起動要望を認識していないこと、および撮像装置1がレガシーモードで動作している機器であることを認識する。   Next, the operation of the PC 2 in FIG. 4 will be described. In S504, the PC 2 receives a connection acceptance display from the imaging device 1 (S608). Since this message is legacy, the PC 2 recognizes that the image capturing apparatus 1 that is the other party of communication does not recognize its own file sync service activation request, and that the image capturing apparatus 1 is operating in the legacy mode. Recognize that.

S505において、PC2は、対向機である撮像装置1が自機の要求サービスを認識していないこと判断し、S508で、自身の起動要望サービスである、ファイルシンクサービスの起動延期を通知する(S610)。この動作は、PC2の通信ミドルウェア309が機器内アプリケーション311に起動延期を通知することで行なわれる。   In step S505, the PC 2 determines that the imaging apparatus 1 that is the opposite device does not recognize the request service of the own device, and in step S508, notifies the startup delay of the file sink service that is its startup request service (S610). ). This operation is performed when the communication middleware 309 of the PC 2 notifies the in-device application 311 of the postponement of activation.

S509において、PC2は、データペイロードのアイドルの時間を規定期間に対して計側開始する。これと並行して、S509で、撮像装置1の始動によるPC2へのファイルプッシュ転送サービス(S611〜S615)が実行される。つまり、撮像装置1は、ファイルプッシュ転送サービスのディスカバリ(S611)が完了すると、PC2側の転送先フォルダの存在確認処理を実行する(S612)。この後、転送先フォルダを決定し(S613)、そのフォルダを選択する(S614)。そして、撮像装置1は、PC2へ対象ファイルをプッシュ転送する(S615)。   In S509, the PC 2 starts to measure the idle time of the data payload with respect to the specified period. In parallel with this, a file push transfer service (S611 to S615) to the PC 2 by the startup of the imaging apparatus 1 is executed in S509. That is, when the discovery of the file push transfer service (S611) is completed, the imaging apparatus 1 executes a transfer destination folder existence confirmation process on the PC 2 side (S612). Thereafter, the transfer destination folder is determined (S613), and the folder is selected (S614). Then, the imaging device 1 push-transfers the target file to the PC 2 (S615).

撮像装置1による転送対象ファイルの転送が全て終了すると、ファイルプッシュサービスに伴うデータペイロードの通信が無くなりアイドル状態となる。また、撮像装置1がファイルプッシュサービスを実行しなかった場合は、撮像装置1からのデータペイロードの通信は無いためにアイドル状態となる。   When all the transfer of the transfer target file by the imaging device 1 is completed, communication of the data payload accompanying the file push service is lost and the idle state is set. Further, when the image pickup apparatus 1 does not execute the file push service, the data payload from the image pickup apparatus 1 is not communicated, and the idle state is set.

S510において、PC2は、撮像装置1からのデータペイロードのアイドルの時間が規定期間だけ継続したことを計側する。S511にて、PC2は、実行延期中のファイルシンクサービスの起動を通知する(S617)。この動作は、PC2内の通信ミドルウェア309が機器内アプリケーション311へ通知することにより行なわれる。   In S510, the PC 2 measures that the idle time of the data payload from the imaging device 1 has continued for a specified period. In S511, the PC 2 notifies the activation of the file sink service whose execution has been postponed (S617). This operation is performed when the communication middleware 309 in the PC 2 notifies the in-device application 311.

この後、S512で、PC2の始動によるファイルシンク転送サービス(S618〜S622)が実行される。つまり、ファイルシンク転送サービスのディスカバリ(S618)の後に、PC2は、撮像装置1側のシンク対象フォルダの存在確認処理(S619)を実行する。   Thereafter, in S512, a file sync transfer service (S618 to S622) by the start of the PC 2 is executed. That is, after the discovery of the file sync transfer service (S618), the PC 2 executes a sync target folder existence confirmation process (S619) on the imaging device 1 side.

すなわち、PC2は、撮像装置1のシンク対象フォルダ内にあるすべてのファイル名とファイル更新日を確認し(S619)、自身のシンクフォルダ内の、プッシュ転送で受信したファイルを含むすべてのファイルとファイル更新日と比較する。(尚、本実施例では、撮像装置1から送信された同一ファイル名のファイルが、PC2のシンクフォルダに格納されると、更新日の新しいファイルにより、旧いファイルが書き換えられると仮定している。)そして、撮像装置1のシンク対象フォルダ内のファイルで、PC2に存在しないファイルおよび最新でないファイルを、転送対象ファイルとして選択し(S621)、選択されたファイルが撮影装置からPC2へプル転送(S622)される。   That is, the PC 2 confirms all file names and file update dates in the sync target folder of the image capturing apparatus 1 (S619), and all files and files including files received by push transfer in its sync folder. Compare with renewal date. (In this embodiment, it is assumed that when a file having the same file name transmitted from the imaging apparatus 1 is stored in the sync folder of the PC 2, the old file is rewritten with the new file on the update date. Then, among the files in the sync target folder of the imaging device 1, a file that does not exist on the PC 2 and a file that is not the latest are selected as transfer target files (S621), and the selected file is pulled and transferred from the photographing device to the PC 2 (S622). )

以上のように、プッシュ転送サービスを希望する撮像装置1と、シンク転送サービスを希望するPC2との間で転送させる場合、起動される連繋サービスの順序をレガシーな機器のプッシュ転送サービスを優先し、その後PC2側のシンク転送サービスを実行する。   As described above, when the transfer is performed between the imaging device 1 that desires the push transfer service and the PC 2 that desires the sync transfer service, priority is given to the push transfer service of the legacy device in the order of the linked services to be activated, Thereafter, the sink transfer service on the PC 2 side is executed.

実施形態2では、このように動作させることにより、ファイルのシンク転送サービスを要望する機器にサービスネゴシエーション機能を備えることにより、冗長な画像ファイル転送を未然に防止することができる。この構成をとることで、これまでのように冗長な画像ファイルの重複転送による通信資源および情報記憶資源の浪費を避けることができる。   In the second embodiment, by operating in this manner, a device that requests a file sync transfer service is provided with a service negotiation function, thereby preventing redundant image file transfer. By adopting this configuration, it is possible to avoid wasting communication resources and information storage resources due to redundant transfer of redundant image files as before.

<実施形態3>
実施例形態3においては、ファイルのシンク転送サービスを要望する機器であるPC2にのみサービスネゴシエーション機能が実装され、かつ、PC2側のファイルのシンク転送サービスのみが要望されている例を示す。
<Embodiment 3>
In the third embodiment, an example is shown in which the service negotiation function is implemented only in the PC 2 that is a device that requests the file sync transfer service, and only the file sync transfer service on the PC 2 side is required.

図6は、実施形態3のシンクファイル転送サービスだけが起動される場合の制御シーケンスの例を示す。図4および図6を用いて本実施形態の動作を説明する。   FIG. 6 shows an example of a control sequence when only the sync file transfer service of the third embodiment is activated. The operation of this embodiment will be described with reference to FIGS.

ユーザ操作により、PC2にある撮影済み画像格納フォルダのファイルのシンク転送サービスがPC2に要求され、PC2はこの要求を受付ける。これにより、PC2内のファイルシンクサービス用のファイル送受信アプリケーション312は、通信ミドルウェア309に対してサービスのシンクスタート要求を行なう(S701)。   As a result of the user operation, a sync transfer service for a file in the captured image storage folder in the PC 2 is requested to the PC 2, and the PC 2 accepts this request. As a result, the file transmission / reception application 312 for the file sync service in the PC 2 makes a service sync start request to the communication middleware 309 (S701).

この実施形態では、撮像装置1に対して、ユーザの操作による、機器連繋サービスのスタート要求は行なわれない。図4においてPC2の動作を説明する。ステップS501で、ファイルシンクサービスのシンクスタート要求701を受付けたPC2は、イニシエータモード動作を行なう(S501)。そして、ステップS502で、接続要求メッセージの撮像装置1への送信(S703、S704)に併せて、PC側のファイルシンクサービスに関する起動要望サービス情報(ファイルシンクサービス)を撮像装置1へ情報パラメータにて通知する。   In this embodiment, the start request for the device connection service is not made to the imaging device 1 by the user's operation. The operation of the PC 2 will be described with reference to FIG. In step S501, the PC 2 receiving the sync start request 701 of the file sync service performs an initiator mode operation (S501). In step S502, together with the transmission of the connection request message to the image pickup apparatus 1 (S703, S704), the activation request service information (file sync service) related to the file sync service on the PC side is sent to the image pickup apparatus 1 as an information parameter. Notice.

次に、図4を用いて撮像装置1の動作を説明する。S501で、撮像装置1は応答モードで動作する。ステップS503で、近接無線通信媒体経由での接続表示の受信(S705)を待ち受けるが、この実施形態では、撮像装置1はレガシー機器と仮定しているので、通信の相手方からの起動要望サービスの情報を送ってもその情報を認識できない。このため、撮像装置1は、(ファイル転送サービス認識情報を付加しない)既存の接続受諾メッセージの送信を行なう(S706、S707)。   Next, the operation of the imaging apparatus 1 will be described with reference to FIG. In S501, the imaging apparatus 1 operates in the response mode. In step S503, reception of a connection display via a close proximity wireless communication medium (S705) is awaited. In this embodiment, since the imaging apparatus 1 is assumed to be a legacy device, information on the activation request service from the other party of communication. I cannot recognize the information even if I send it. Therefore, the imaging apparatus 1 transmits an existing connection acceptance message (not adding file transfer service recognition information) (S706, S707).

これに対して、PC2は、ステップS504で、撮像装置1からの接続受諾表示の受信を行なう(S708)。そして、PC2は、撮像装置1がPC2のファイルシンクサービスの起動要望を認識していないこと、およびレガシーモードの動作状態にあることを、レガシーの接続受託表示を受信することで認識する。   On the other hand, the PC 2 receives a connection acceptance display from the imaging device 1 in step S504 (S708). Then, the PC 2 recognizes that the imaging device 1 has not recognized the activation request of the file sync service of the PC 2 and is in the legacy mode operation state by receiving the legacy connection commission display.

ステップS505で、PC2は、対向機である撮像装置1が自機の要求サービスを認識していないこと判断し、S508で、自身の起動要望サービスである、ファイルシンクサービスの起動延期を通知する(S710)。この動作は、PC2内の通信ミドルウェア309が機器内アプリケーション311へ通知することにより行なわれる。この後、ステップS509で、データペイロードのアイドルの継続する時間を計測する。撮像装置1側は、何ら連繋通信サービスを起動しない。従って、撮像装置1によるデータペイロードの通信は、はじめから存在しない。   In step S505, the PC 2 determines that the imaging device 1 that is the opposite device does not recognize the requested service of the own device, and notifies the activation delay of the file sink service that is its own activation request service in S508 ( S710). This operation is performed when the communication middleware 309 in the PC 2 notifies the in-device application 311. Thereafter, in step S509, the data payload idle time is measured. The imaging device 1 side does not activate any communication service. Accordingly, there is no data payload communication by the imaging device 1 from the beginning.

ステップS509において、PC2は撮像装置1のデータペイロードのアイドル継続時間が規定時間を越えることを確認した後(S716)、ステップS510で、実行延期中のファイルシンクサービスの起動を通知する(S717)。   In step S509, the PC 2 confirms that the idle duration of the data payload of the imaging device 1 exceeds the specified time (S716), and then in step S510, notifies the activation of the file sink service whose execution has been postponed (S717).

この後、PC2始動のファイルシンク転送サービスが実行される(S718〜S722)。つまり、PC2は、ファイルシンク転送サービスのディスカバリ後に(S718)、撮像装置1側のシンク対象フォルダの存在確認処理を実行する(S719)。そして、撮像装置1のシンク対象フォルダ内のファイルで、PC2に存在しないファイルおよび最新でないファイルを、転送対象ファイルとして選択し(S721)、選択されたファイルが撮影装置からPC2へプル転送(S722)される。   Thereafter, a file sync transfer service started by the PC 2 is executed (S718 to S722). That is, after discovery of the file sync transfer service (S718), the PC 2 executes a sync target folder existence confirmation process on the imaging device 1 side (S719). Then, among the files in the sync target folder of the imaging device 1, a file that does not exist on the PC 2 and a file that is not the latest are selected as transfer target files (S721), and the selected file is pulled and transferred from the photographing device to the PC 2 (S722). Is done.

以上のように、実施形態3では、撮像装置1は、撮影済みの最新画像を記憶しているが、ファイル転送サービスを要望していない場合について説明した。つまり、PC2側のみが撮影済み画像ファイル格納フォルダ内のファイルのシンク転送サービスを要望している。このような条件の下、ネゴシエーション機能を備える構成をとることで、この撮像装置1がたとえレガシー機器であっても、PC2は、要望している撮像装置1へのシンク転送サービスを問題なく起動できるという効果を生み出すことができる。   As described above, in the third embodiment, the imaging apparatus 1 stores the latest captured image, but the case where the file transfer service is not requested has been described. That is, only the PC 2 side desires a sync transfer service for files in the captured image file storage folder. By adopting a configuration having a negotiation function under such conditions, even if the imaging device 1 is a legacy device, the PC 2 can start the desired sink transfer service to the imaging device 1 without any problem. Can produce the effect.

<実施形態4>
実施形態1〜3においては、双方の機器にて要望しているサービスを選択的に、順次起動させることにより、転送ファイルの重複を予防する例を示した。このような形態のほかに、双方から転送サービスの要望があるとき、一方の転送サービスを排他的に起動し、他方の転送サービスの起動を禁止し、他方の転送を中止する方法を実施形態4として説明する。
<Embodiment 4>
In the first to third embodiments, an example has been shown in which duplication of transfer files is prevented by selectively starting sequentially the services requested by both devices. In addition to such a mode, when there is a request for a transfer service from both sides, a method for exclusively starting one transfer service, prohibiting the other transfer service from starting, and canceling the other transfer is described in Embodiment 4. Will be described.

排他起動処理の条件として、シンク転送サービスの優先度をプッシュ転送よりも低く判定して、重複するファイル転送を避けるための実施形態を、図7のフローチャートと図8のシーケンスの図に示す。   As a condition for exclusive activation processing, an embodiment for determining the priority of the sink transfer service to be lower than that of push transfer and avoiding duplicate file transfer is shown in the flowchart of FIG. 7 and the sequence diagram of FIG.

まずユーザ操作により、PC2にある撮影済み画像格納フォルダのファイルのシンク転送サービスがPC2に要求され、PC2はこの要求を受付ける。これにより、PC2内のファイルシンクサービス用のファイル送受信アプリケーション312は、通信ミドルウェア309に対してサービスのシンクスタート要求を行なう(S901)。   First, a user operation requests the PC 2 for a sync transfer service of a file in the captured image storage folder in the PC 2, and the PC 2 accepts this request. As a result, the file transmission / reception application 312 for the file sync service in the PC 2 makes a service sync start request to the communication middleware 309 (S901).

また撮像装置1に対しても、ユーザ操作により、選択した画像ファイルをPC2の撮影済み画像格納フォルダ内へ転送するファイルプッシュサービスが要求され、撮像装置1はこの要求を受付ける。撮像装置1内のファイルプッシュ転送サービス用のファイル送受信アプリケーション306は、通信ミドルウェア303にサービスのプッシュスタート要求を行なう(S902)。   The image pickup apparatus 1 is also requested by a user operation for a file push service for transferring the selected image file into the taken image storage folder of the PC 2, and the image pickup apparatus 1 accepts this request. The file transmission / reception application 306 for the file push transfer service in the imaging device 1 makes a service push start request to the communication middleware 303 (S902).

図7において、ファイルサービスのシンクスタート要求を受付けたPC2が、S801で、イニシエータモード動作する。そして、S802で、PC2は、通信ミドルウェア309を介して、シンク転送サービスのための撮像装置1への接続要求メッセージの送信(S903、S904)に併せて、PC2側のファイルシンクサービスの起動要望サービス情報を情報パラメータにて通知する。   In FIG. 7, the PC 2 that received the file service sync start request operates in the initiator mode in S801. In step S802, the PC 2 sends a connection request message to the image capturing apparatus 1 for the sync transfer service via the communication middleware 309 (S903, S904), and the PC 2 side file sync service activation request service. Information is notified by an information parameter.

また、図7において、ステップ801で、撮像装置1は、ユーザからファイルプッシュ転送サービスのプッシュスタート要求を受付けた後、応答モードで動作する。そしてS803で、近接無線通信媒体経由での接続表示(Connec.Ind)の受信を待ち受ける(S905)。そしてステップS806で、接続表示とともに送られてきた、通信の相手方のPC2における起動要望サービスの情報(転送パラメータ)を確認し、対向機に起動サービス要求があるかどうかを判断する。この実施形態では、PC2は、ファイルシンク転送サービスを要望しているので、S807で、対向機のサービスがファイルシンク転送であることを認識する。撮像装置1は、PC2の起動要望がファイルシンク転送サービスであり、自身の起動要望であるプッシュ転送の方が優先すべきであることを認識し、自身の起動要求サービスであるファイルプッシュ転送サービスの実行許可を通知する(S909)。この動作は、撮像装置1内の通信ミドルウェア303が機器内アプリケーション305へ通知することにより行なわれる。   In FIG. 7, in step 801, the imaging apparatus 1 operates in a response mode after receiving a push start request for a file push transfer service from a user. In step S803, reception of a connection display (Connec. Ind) via the close proximity wireless communication medium is awaited (S905). In step S806, the information (transfer parameter) of the activation request service in the PC 2 of the communication partner sent along with the connection display is confirmed, and it is determined whether there is an activation service request in the opposite device. In this embodiment, since the PC 2 requests the file sync transfer service, in S807, the PC 2 recognizes that the service of the opposite device is the file sync transfer. The imaging apparatus 1 recognizes that the activation request of the PC 2 is the file sync transfer service, and the push transfer that is the activation request of the PC 2 should be given priority, and the image push device of the file push transfer service that is the activation request service of itself. The execution permission is notified (S909). This operation is performed when the communication middleware 303 in the imaging apparatus 1 notifies the in-device application 305.

また、撮像装置1は、自身の起動要望サービス情報であるファイルプッシュ転送サービス情報を接続受諾要求(Accept Request)の送信に併せて、自身のファイルプッシュ転送の要望を示す情報パラメータをPC2へ通知する(S906,S907)。   In addition, the image pickup apparatus 1 notifies the PC 2 of an information parameter indicating a request for its own file push transfer, together with transmission of a connection acceptance request (Accept Request), file push transfer service information that is its own activation request service information. (S906, S907).

S804で、PC2は接続受諾表示(Accept Ind.)の受信を行なう(S908)。S805で、PC2は、自身のシンク転送サービスの要望が撮像装置1側で認識しているかどうかを確認する。この場合、接続受諾表示メッセージは、転送の要望を示すパラメータと共に返送されているので、認識されていると判断する。S806で、PC2は、通信の相手方である撮像装置1が自身に対するファイルプッシュ転送サービスを行なう要望があることを認識する。S807で、PC2は、そのサービスがファイルプッシュサービスであり、優先すべき対象サービスであることを接続受諾表示メッセージの情報パラメータにより認識する(S908)。   In S804, the PC 2 receives a connection acceptance display (Accept Ind.) (S908). In step S805, the PC 2 confirms whether the request for its own sink transfer service is recognized on the imaging apparatus 1 side. In this case, since the connection acceptance display message is returned together with the parameter indicating the request for transfer, it is determined that it is recognized. In step S806, the PC 2 recognizes that there is a request that the imaging apparatus 1 that is the other party of communication has a file push transfer service for itself. In S807, the PC 2 recognizes from the information parameter of the connection acceptance display message that the service is a file push service and should be prioritized (S908).

ステップS809で、PC2は、相手方である撮像装置1の起動要求サービスであるファイルプッシュ転送サービスを優先し、自身の起動要求サービスをキャンセルする(S908)。撮像装置1は、自身の始動するファイルプッシュ転送サービス(S911〜S915)を実行する。つまり、撮像装置1は、ファイルプッシュ転送サービスのディスカバリ(S911)が完了すると、PC2側の転送先フォルダの存在確認処理を実行する(S912)。この後、転送先フォルダを決定し(S913)、そのフォルダを選択する(S914)。そして、撮像装置1は、PC2へ対象ファイルをプッシュ転送する(S915)。   In step S809, the PC 2 prioritizes the file push transfer service, which is the activation request service of the imaging device 1 that is the counterpart, and cancels its own activation request service (S908). The imaging apparatus 1 executes a file push transfer service (S911 to S915) started by itself. That is, when the discovery of the file push transfer service (S911) is completed, the imaging apparatus 1 executes a transfer destination folder existence confirmation process on the PC 2 side (S912). Thereafter, a transfer destination folder is determined (S913), and the folder is selected (S914). Then, the imaging apparatus 1 push-transfers the target file to the PC 2 (S915).

このような制御方法により、1つのファイル転送サービスが完結した後に、起動されなかったファイル転送サービスを行なう起動側の機器、つまりPC2で、要望ファイル転送サービス、つまりファイルシンク転送が未実行であった旨を表示する。   By such a control method, the requested file transfer service, that is, the file sync transfer, has not been executed on the start side device that performs the file transfer service that has not been started, that is, the PC 2 after one file transfer service is completed. A message is displayed.

上記処理により、冗長な画像ファイル転送を未然に防止することができ、画像ファイル転送のために浪費される、通信資源、情報記憶資源の無駄を排除することが出来る。   By the above processing, redundant image file transfer can be prevented in advance, and waste of communication resources and information storage resources that are wasted for image file transfer can be eliminated.

Claims (6)

外部通信装置と接続に応じてシンク転送を行なう通信装置であって、
部通信装置通信する通信手段と、
前記通信手段により前記外部通信装置と接続した際に、該外部通信装置が要求する通信サービスを判定する判定手段と、
前記判定手段により前記外部通信装置がファイルのプッシュ転送サービスを要求していると判定した場合に、前記プッシュ転送サービスの後に前記外部通信装置とシンク転送を実行し、前記判定手段により前記外部通信装置が前記プッシュ転送サービスと異なる通信サービスを要求していると判定した場合に、当該要求された通信サービスの実行の前に前記外部装置と前記シンク転送を実行する実行手段と、
を備えることを特徴とする通信装置。
A communication device that performs sync transfer according to connection with an external communication device,
Communication means for communicating with the external communication device,
When connected to the external communication apparatus by said communication means, determining means for communication services external communication device requests,
When the determination unit determines that the external communication device requests a file push transfer service, the external communication device performs sync transfer with the external communication device after the push transfer service, and the determination unit performs the external communication device. Execution means for executing the sink transfer with the external device before the execution of the requested communication service when it is determined that the communication service is different from the push transfer service ,
A communication apparatus comprising:
前記実行手段は、前記プッシュ転送サービスが開始された後に、前記外部通信装置からのデータが送られてこない期間が規定期間継続した場合に、前記外部通信装置に格納されているファイルと前記プッシュ転送サービスにより受信したファイルを含む前記通信装置に格納されているファイルとを比較し、該外部通信装置に存在し、かつ、前記通信装置に存在しないファイルを、前記通信手段を介して前記外部通信装置から前記通信装置へシンク転送することを特徴とする請求項1記載の通信装置。The execution means includes the file stored in the external communication device and the push transfer when a period in which data from the external communication device is not sent continues for a specified period after the push transfer service is started. A file stored in the communication device including a file received by a service is compared, and a file that exists in the external communication device and does not exist in the communication device is connected to the external communication device via the communication unit. The communication apparatus according to claim 1, wherein the sink transfer is performed to the communication apparatus. 前記実行手段は、前記外部通信装置に格納されたファイルの名称および更新日時と、前記通信装置に格納されたファイルの名称および更新日時とを比較することを特徴とする請求項1に記載の通信装置。 2. The communication according to claim 1, wherein the execution unit compares a file name and update date and time stored in the external communication device with a file name and update date and time stored in the communication device. apparatus. 前記判定手段は、前記外部通信装置に送信した接続要求に対する応答に含まれる情報に基づいて、記外部通信装置がファイルのプッシュ転送を要求しているかを判定することを特徴とする請求項1に記載の通信装置。 The determination means according to claim 1, characterized in that to determine on the basis of the information contained in the response to the external communication apparatus has transmitted the connection request, the previous Kigaibu communication device requesting a push transfer files The communication apparatus as described in. 前記判定手段は、前記外部通信装置がサービスネゴシエーション機能を有する装置か否かを更に判定し、The determination means further determines whether or not the external communication device is a device having a service negotiation function,
前記判定手段により前記外部通信装置がサービスネゴシエーション機能を有する装置でないと判定した場合に、前記実行手段は、前記シンク転送の実行を延期することを特徴とする請求項1に記載の通信装置。The communication device according to claim 1, wherein when the determination unit determines that the external communication device is not a device having a service negotiation function, the execution unit postpones the execution of the sync transfer.
外部通信装置と接続に応じてシンク転送を行なう通信装置を制御する方法であって、
通信手段が外部通信装置と通信する通信工程と、
判定手段が、前記通信手段により外部通信装置と接続した際に、該外部通信装置が要求する通信サービスを判定する判定工程と、
実行手段が、前記判定手段により前記外部通信装置がファイルのプッシュ転送サービスを要求していると判定した場合に、前記プッシュ転送サービスの後に前記外部通信装置とシンク転送を実行し、前記判定手段により前記外部通信装置が前記プッシュ転送サービスと異なる通信サービスを要求していると判定した場合に、当該要求された通信サービスの実行の前に前記外部装置と前記シンク転送を実行する実行工程と、
有することを特徴とする方法。
A method of controlling a communication device that performs sync transfer according to connection with an external communication device,
A communication step in which the communication means communicates with the external communication device;
A determination step of determining a communication service requested by the external communication device when the determination unit is connected to the external communication device by the communication unit;
When the execution unit determines that the external communication device is requesting a file push transfer service by the determination unit, the execution unit executes sync transfer with the external communication device after the push transfer service. An execution step of executing the sink transfer with the external device before execution of the requested communication service when it is determined that the external communication device is requesting a communication service different from the push transfer service;
Method characterized by having a.
JP2010000794A 2010-01-05 2010-01-05 COMMUNICATION DEVICE AND ITS CONTROL METHOD Expired - Fee Related JP5430410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010000794A JP5430410B2 (en) 2010-01-05 2010-01-05 COMMUNICATION DEVICE AND ITS CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010000794A JP5430410B2 (en) 2010-01-05 2010-01-05 COMMUNICATION DEVICE AND ITS CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2011141623A JP2011141623A (en) 2011-07-21
JP5430410B2 true JP5430410B2 (en) 2014-02-26

Family

ID=44457441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010000794A Expired - Fee Related JP5430410B2 (en) 2010-01-05 2010-01-05 COMMUNICATION DEVICE AND ITS CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP5430410B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917745B (en) * 1999-05-17 2013-05-01 艾利森电话股份有限公司 Capability negotiation system, apparatus and method in a telecommunications network
JP2001352360A (en) * 2000-06-06 2001-12-21 Yamaha Corp Call transmission method, line terminator and recording medium
JP4577803B2 (en) * 2000-08-30 2010-11-10 富士通株式会社 COMMUNICATION METHOD AND TRANSMITTER
US7395446B2 (en) * 2004-05-03 2008-07-01 Microsoft Corporation Systems and methods for the implementation of a peer-to-peer rule-based pull autonomous synchronization system
JP4345796B2 (en) * 2006-09-29 2009-10-14 ブラザー工業株式会社 COMMUNICATION METHOD, COMMUNICATION SYSTEM AND SERVER, CLIENT AND COMPUTER PROGRAM
EP1944944A1 (en) * 2007-01-12 2008-07-16 Thomson Licensing System and method for combining pull and push modes
JP2008283373A (en) * 2007-05-09 2008-11-20 Sharp Corp Facsimile machine

Also Published As

Publication number Publication date
JP2011141623A (en) 2011-07-21

Similar Documents

Publication Publication Date Title
JP4878218B2 (en) Imaging apparatus having communication function, control method thereof, and program
CN105306768B (en) Information processing device and control method thereof
JP5943623B2 (en) Image forming apparatus, control method thereof, and program
KR101761102B1 (en) Communication apparatus, method of controlling the same, computer program, and computer-readable storage medium
US20160127581A1 (en) Communication system, communication apparatus, method of controlling the same, information processing apparatus, method of controlling the same and storage medium
JP6512982B2 (en) Communication device, control method of communication device, and program
EP2846524A2 (en) Wireless communication apparatus, wireless communication method, program, and storage medium
JP5171436B2 (en) COMMUNICATION DEVICE, DATA COMMUNICATION SYSTEM, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2016034084A (en) Management device, management system, control method for management device, control method for management system, and program
KR20180064979A (en) Communication system, image forming apparatus, method of controlling the same, and storage medium
JP2017038356A (en) Information processing apparatus, information processing apparatus control method, image forming apparatus, image forming apparatus control method, information processing system, and program
JP6116345B2 (en) Information processing apparatus, information processing system, and information processing method
JP2005161768A (en) Image formation device, image formation system, image formation method, image-formation control program and recording medium in which image formation control program is recorded while computer reading being possible
JP2014197741A (en) Radio communication device, radio communication method, radio communication device control program, and radio communication system
JP5430410B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP2014204187A (en) Communication terminal, image forming device, control method thereof, program, and communication system
JP6271944B2 (en) Image processing apparatus, information processing apparatus, data processing method for image processing apparatus, data processing method for information processing apparatus, and program
JP2007081566A (en) Relay device and relay method
JP2016081450A (en) Communication equipment, control method for communication equipment, and computer program
JP2016201058A (en) Information processing device, control method of the same, and program
JP2017055366A (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2017139660A (en) Information processing apparatus, information processing method, and information processing program
JP2022103934A (en) Electronics
JP6869656B2 (en) Transmitter, receiver, and communication system
JP2015115011A (en) Communication apparatus, apparatus setting device, imaging device and control method, system, and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131007

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: 20131105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131203

R151 Written notification of patent or utility model registration

Ref document number: 5430410

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees