JP2006253854A - Data transfer device - Google Patents
Data transfer device Download PDFInfo
- Publication number
- JP2006253854A JP2006253854A JP2005064774A JP2005064774A JP2006253854A JP 2006253854 A JP2006253854 A JP 2006253854A JP 2005064774 A JP2005064774 A JP 2005064774A JP 2005064774 A JP2005064774 A JP 2005064774A JP 2006253854 A JP2006253854 A JP 2006253854A
- Authority
- JP
- Japan
- Prior art keywords
- communication setting
- numerical value
- setting information
- detected
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
この発明は、データ転送装置に関し、特にたとえばディジタルカメラに適用され、プリントすべきデータをプリンタに転送する、データ転送装置に関する。 The present invention relates to a data transfer apparatus, and more particularly to a data transfer apparatus that is applied to, for example, a digital camera and transfers data to be printed to a printer.
従来この種の装置の一例が、特許文献1に開示されている。この従来技術によれば、シャッタボタンが操作されると、被写界像を表す画像データを含む画像ファイルが、メモリ/LANカートリッジに設けられたCFメモリに記録される。記録された画像ファイルはその後、メモリ/LANカートリッジ内のワイヤレスLANカードによって、所望のサーバに送信される。
しかし、ワイヤレスLANの設定には、専門知識と煩わしい設定作業とが必要となる。従来技術は、この問題を解消する方策について何ら開示していない。 However, setting of the wireless LAN requires specialized knowledge and troublesome setting work. The prior art does not disclose any measures for solving this problem.
それゆえに、この発明の主たる目的は、通信設定の煩わしさを低減できる、データ転送装置を提供することである。 Therefore, a main object of the present invention is to provide a data transfer apparatus that can reduce the troublesomeness of communication settings.
請求項1の発明に従うデータ転送装置は、被写体を撮影する撮影手段(12)、撮影手段によって撮影された被写体像から文字情報を検出する検出手段(S45)、検出手段によって検出された文字情報が通信設定情報であるか否かを判別する第1判別手段(S75~S103)、第1判別手段の判別結果が肯定的であるとき検出手段によって検出された通信設定情報に対応する通信設定情報を作成する作成手段(S17)、および通信モードが選択されたとき検出手段によって検出された通信設定情報と作成手段によって作成された通信設定情報とを利用して所望の装置にデータを転送する転送手段(S167)を備える。 The data transfer apparatus according to the first aspect of the present invention includes a photographing means (12) for photographing a subject, a detecting means (S45) for detecting character information from a subject image photographed by the photographing means, and character information detected by the detecting means. First determination means (S75 to S103) for determining whether or not the communication setting information is present, and communication setting information corresponding to the communication setting information detected by the detection means when the determination result of the first determination means is affirmative Creation means for creating (S17) and transfer means for transferring data to a desired device using the communication setting information detected by the detection means when the communication mode is selected and the communication setting information created by the creation means (S167).
検出手段は、撮影手段によって撮影された被写体像から文字情報を検出する。検出手段によって検出された文字情報が通信設定情報であるか否かは、判別手段によって判別される。この判別結果が肯定的であれば、検出手段によって検出された通信設定情報に対応する通信設定情報が作成手段によって作成される。転送手段は、通信モードが選択されたとき、検出手段によって検出された通信設定情報と作成手段によって作成された通信設定情報とを利用して所望の装置にデータを転送する。 The detecting means detects character information from the subject image photographed by the photographing means. Whether the character information detected by the detecting means is communication setting information is determined by the determining means. If the determination result is affirmative, communication setting information corresponding to the communication setting information detected by the detection unit is generated by the generation unit. When the communication mode is selected, the transfer unit transfers data to a desired apparatus using the communication setting information detected by the detection unit and the communication setting information created by the creation unit.
撮影手段によって撮影された被写体像から文字情報つまり通信設定情報を検出し、検出された通信設定情報に対応する通信設定情報を作成するようにしたため、通信設定の煩わしさを低減できる。 Since text information, that is, communication setting information is detected from the subject image photographed by the photographing means, and communication setting information corresponding to the detected communication setting information is created, the troublesomeness of the communication setting can be reduced.
請求項2の発明に従うデータ転送装置は、請求項1に従属し、検出手段によって検出された通信設定情報および作成手段によって作成された通信設定情報はそれぞれ第1アドレス情報および第2アドレス情報を含み、作成手段は、第1アドレス情報が示す数値を検出する数値検出手段(S123)、および数値検出手段によって検出された数値とは異なる数値を第2アドレス情報に割り当てる数値割り当て手段(S125)を含む。
The data transfer device according to the invention of
検出手段によって検出された通信設定情報には第1アドレス情報が含まれ、作成手段によって作成された通信設定情報には第2アドレス情報が含まれる。第1アドレス情報が示す数値は数値検出手段によって検出され、第2アドレス情報には、数値検出手段によって検出された数値とは異なる数値が割り当てられる。
The communication setting information detected by the detecting means includes first address information, and the communication setting information created by the creating means includes second address information. A numerical value indicated by the first address information is detected by the numerical value detecting means, and a numerical value different from the numerical value detected by the numerical value detecting means is assigned to the second address information.
数値割り当て手段が第1アドレス情報とは異なる数値を第2アドレス情報に割り当てるので、検出手段によって検出された通信設定情報が所望の装置用の通信設定情報である場合にも、アドレス重複が回避され、データ転送が行える。 Since the numerical value assigning means assigns a numerical value different from the first address information to the second address information, address duplication is avoided even when the communication setting information detected by the detecting means is communication setting information for a desired apparatus. Data transfer can be performed.
請求項3の発明に従うデータ転送装置は、請求項2に従属し、数値割り当て手段は数値検出手段によって検出された数値に所定値を加減算する加減算手段(S143)を含む。
The data transfer apparatus according to the invention of
数値割り当て手段が数値検出手段によって検出された数値に所定値を加減算するので、数値検出手段によって検出された数値とは異なる数値を第2アドレス情報に割り当てることができる。 Since the numerical value assigning means adds or subtracts a predetermined value to the numerical value detected by the numerical value detecting means, a numerical value different from the numerical value detected by the numerical value detecting means can be assigned to the second address information.
請求項4の発明に従うデータ転送装置は、請求項3に従属し、数値割り当て手段は、加減算手段の加減算結果を表示する表示手段(S145)、表示手段によって表示された数値を増減する増減操作を受け付ける第1受付手段(S147)、増減操作による増減後の数値が数値検出手段によって検出された数値と一致するか否かを判別する第2判別手段(S153)、第2判別手段の判別結果が肯定的であるとき表示手段の表示を無効化する無効化手段(S151)、および表示手段によって表示された数値を第2アドレス情報に割り当てるべき数値に決定する決定操作を受け付ける第2受付手段(S149)をさらに含む。
The data transfer device according to the invention of
加減算手段の加減算結果は表示手段によって表示され、表示された数値を増減する増減操作が第1受付手段によって受け付けられる。かかる増減操作による増減後の数値が数値検出手段によって検出された数値と一致するか否かは第2判別手段によって判別され、この判別結果が肯定的であるとき、表示手段の表示は無効化手段によって無効化される。表示手段によって表示された数値を第2アドレス情報に割り当てるべき数値に決定する決定操作は、第2受付手段によって受け付けられる。 The addition / subtraction result of the addition / subtraction means is displayed by the display means, and an increase / decrease operation for increasing / decreasing the displayed numerical value is accepted by the first accepting means. Whether or not the numerical value after the increase / decrease by the increase / decrease operation matches the numerical value detected by the numerical value detection means is determined by the second determination means, and when the determination result is affirmative, the display on the display means is invalidated means Invalidated by. The determination operation for determining the numerical value displayed by the display means as the numerical value to be assigned to the second address information is received by the second receiving means.
数値検出手段によって検出された数値とは異なる所望の数値を第2アドレス情報に割り当てることができる。 A desired numerical value different from the numerical value detected by the numerical value detecting means can be assigned to the second address information.
請求項5の発明に従うデータ転送装置は、請求項1ないし4のいずれかに従属し、被写体は所望の装置用の通信設定情報が文字の態様で提示された面を含む。 A data transfer device according to a fifth aspect of the invention is dependent on any one of the first to fourth aspects, and the subject includes a surface on which communication setting information for a desired device is presented in a character form.
請求項6の発明に従うデータ転送装置は、請求項5に従属し、所望の装置はプリンタ(40)であり、被写体はプリンタ用の通信設定情報が印字された印刷面を含む。 A data transfer device according to a sixth aspect of the invention is dependent on the fifth aspect, wherein the desired device is a printer (40), and the subject includes a printing surface on which communication setting information for the printer is printed.
被写体像をプリンタで印刷する場合、予めプリンタ用の通信設定情報をプリンタで印刷して、印刷面を撮影しておくだけで、簡単に通信設定を行うことができる。 When printing a subject image with a printer, communication settings can be easily set by simply printing the communication setting information for the printer with the printer and photographing the printing surface in advance.
この発明によれば、通信設定の煩わしさを低減することができる。 According to this invention, the troublesomeness of communication setting can be reduced.
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、この実施例のディジタルカメラ10は、イメージセンサ12を含む。被写界の光学像は、イメージセンサ12の受光面つまり撮像面に照射され、撮像面では、光電変換によって被写体の光学像に対応する電荷つまり生画像信号が生成される。
Referring to FIG. 1, a
被写体のリアルタイム動画像つまりスルー画像をLCDモニタ24に表示するとき、CPU18は、プリ露光および間引き読み出しの繰り返しをイメージセンサ12に命令する。イメージセンサ12は、プリ露光とこれによって生成された生画像信号の間引き読み出しとを繰り返し実行する。イメージセンサ12からは、被写体の光学像に対応する低解像度の生画像信号が出力される。
When displaying a real-time moving image of a subject, that is, a through image, on the
出力された生画像信号は、信号処理回路14によってA/D変換,色分離,YUV変換などの処理を施され、YUV形式の画像データに変換される。変換された画像データはSDRAM26に書き込まれ、その後SDRAM26から読み出される。信号処理回路14は、読み出された画像データをNTSCフォーマットに従うコンポジットビデオ信号に変換し、変換されたコンポジットビデオ信号をLCDモニタ24に与える。この結果、被写体のスルー画像がモニタ画面に表示される。
The output raw image signal is subjected to processing such as A / D conversion, color separation, and YUV conversion by the
操作キー22によって撮像操作が行われると、システムコントローラ20がこれを受け付け、対応する信号をCPU18に入力する。この信号に応答して、CPU18は、本露光と、この本露光によって生成された全ての電荷の読み出しとを、イメージセンサ12に命令する。イメージセンサ12は、本露光とこれによって生成された全ての電荷つまり高解像度の生画像信号を出力する。出力された生画像信号は、信号処理回路14によってA/D変換,色分離,YUV変換などの処理を施され、YUV形式の画像データに変換される。変換された画像データはSDRAM26に書き込まれ、その後SDRAM26から読み出される。CPU18は、読み出された画像データを記録媒体28に記録する。
When an imaging operation is performed with the
こうして撮影された被写体の本画像は、LCDモニタ24に表示したりプリンタ40で印刷したりすることによって閲覧が可能となる。操作キー22によって再生操作が行われると、記録媒体28に記録された画像データが信号処理回路14に読み出される。信号処理回路14は、読み出された画像データをNTSCフォーマットに従うコンポジットビデオ信号に変換し、変換されたコンポジットビデオ信号をLCDモニタ24に出力する。この結果、本画像がモニタ画面に表示される。
The main image of the subject photographed in this way can be viewed by being displayed on the
被写体の本画像をプリンタ40で印刷する場合、ディジタルカメラ10をプリンタ40に接続する接続操作が必要となる。ディジタルカメラ10は無線LANコントローラ30を含み、プリンタ40は無線LAN機能を有しているため、必要な設定操作を行えば、両者は無線LANで接続される。ディジタルカメラ10では、CPU18が通信設定処理を実行する。
When the main image of the subject is printed by the
この通信設定処理では、プリンタ40側の通信設定情報が利用される。このため、プリンタ40用の通信設定情報は、プリンタ40自身によって予め紙面に印字される。プリンタ40用の通信設定情報が印字された印刷面を図2に示す。図2を参照して、“DHCPCD”はDHCPクライアント・デーモンを使用するか否か(0:使用しない,1:使用する)を示す。“IPADR”はIPアドレスを示す。“SUBNET”はサブネット・アドレスを示す。“GATEWAY”はゲートウェイ・アドレスを示す。“DNS”はDNS(Domain Name System)アドレスを示す。
In this communication setting process, communication setting information on the
“MODE”は通信モード(Adhoc/ Infrastructure/ WiFi Adhoc)を示す。“ESSID”はESSID(Extended Service Set Identifier)を示す。“CHANNEL”は通信チャネルを示す。“WEP”は(Wired Equivalent Privacy)を使用するか否か(0:使用しない,1:使用する)を示す。“WEPKEYLEN”はWEPKEY(暗号)のビット長(64/128)を示す。“WEPKEYID”はWEP KEY(暗号)の送信キー選択(1:WEPKEY1,2:WEPKEY2,3:WEPKEY3,4:WEPKEY4)を示す。“WEPKEY1”〜“WEPKEY4”は番号1〜4にそれぞれ対応するWEPKEY(暗号)を示す。
“MODE” indicates a communication mode (Adhoc / Infrastructure / WiFi Adhoc). “ESSID” indicates an ESSID (Extended Service Set Identifier). “CHANNEL” indicates a communication channel. “WEP” indicates whether (Wired Equivalent Privacy) is used (0: not used, 1: used). “WEPKEYLEN” indicates the bit length (64/128) of WEPKEY (encryption). “WEPKEYID” indicates WEP KEY (encryption) transmission key selection (1: WEPKEY1, 2: WEPKEY2, 3: WEPKEY3, 4: WEPKEY4). “WEPKEY1” to “WEPKEY4” indicate WEPKEYs (encryptions) corresponding to the
通信設定を行うとき、かかる印刷面がイメージセンサ12の前方に置かれる。この状態で操作キー22によって撮像操作が行われると、図2の画像が記録媒体28に記録される。この後に操作キー22を介して通信モードが選択されると、CPU18は、記録媒体28から図2の画像を取り込み、取り込まれた画像から通信設定情報を図3に示す要領で読み取る。
When the communication setting is performed, the printing surface is placed in front of the
図3を参照して、まず画像を行単位に切り分け、任意の1行の画像を読み出す。次に、読み出された1行の画像を文字単位に切り分け、任意の1文字を認識し、そして認識結果を保持する。1行分の文字を認識し終えると、他の1行について同様の処理を繰り返す。 Referring to FIG. 3, first, an image is cut into units of rows, and an arbitrary one-line image is read out. Next, the read image of one line is cut into character units, one arbitrary character is recognized, and the recognition result is held. When the recognition of one line of characters is completed, the same processing is repeated for the other one line.
なお、画像の行単位/文字単位への切り分けは、行領域/文字領域と、行間領域/字間領域との間に存在する空白量の差に基づいて行われる。この種の技術が記載された文献としては、例えば“DOCUMENTAT LAYUOUT ANALYSIS BY EXTENDED SPLIT DETECTION METHOD”,pp.406-415,Proceeding “Third International Association for Pattern Recognition Workshop on Document Analysis Systems”,November 4-6,1998(Hosted by International Association for Pattern Recognition TC-11)がある。 The image is divided into line units / character units based on the difference in the amount of white space existing between the line area / character area and the line space area / character space area. References describing this type of technology include, for example, “DOCUMENTAT LAYUOUT ANALYSIS BY EXTENDED SPLIT DETECTION METHOD”, pp. 406-415, Proceeding “Third International Association for Pattern Recognition Workshop on Document Analysis Systems”, November 4-6, 1998 (Hosted by International Association for Pattern Recognition TC-11).
また、文字認識は、各文字の特徴量が記述された認識辞書を予め記憶しておき、撮影文字の特徴量を認識辞書内の各文字の特徴量と比較することにより行う。文献としては、“マルチフォント印刷漢字認識のための粗分類”,pp.758-765,電子情報通信学会誌’79/11 Vol.J62-D No. 11 などがある。 Character recognition is performed by storing in advance a recognition dictionary in which the feature amount of each character is described, and comparing the feature amount of the photographed character with the feature amount of each character in the recognition dictionary. References include "Coarse classification for multi-font printed kanji recognition", pp. 758-765, IEICE Journal '79 / 11 Vol. J62-D No. 11.
図2の画像に含まれる全文字の認識が完了すると、フラッシュメモリ16には、図2の画像に対応する文字情報が保持される。CPU18は、保持された文字情報から、任意の通信設定情報を示す文字列たとえば“IPADR”を検出する。次に、“IPADR”で導かれる文字列つまりIPアドレス“192.168.10.21”を読み取り、結果を所定の書式に変換し、そして変換結果“0xC0”,“0xA8”,“0x0A”および“0x15”を保持する。全設定項目について同様の処理が行われ、これにより、フラッシュメモリ16には、図4に示す情報つまりプリンタ40用の通信設定情報が保持される結果となる。
When the recognition of all the characters included in the image of FIG. 2 is completed, the
この後CPU18は、フラッシュメモリ16に保持された通信設定情報の複製を同じフラッシュメモリ16内に生成する。次に、生成された通信設定情報から“IPADR”に対応する情報を取り出す。次に、取り出された情報つまりIPアドレスを別の値に変更する操作を受け付ける。そして、作成された通信設定情報内の“IPADR”情報を、変更されたIPアドレスで上書きする。この結果、生成された通信設定情報は、図5のように更新される。
Thereafter, the
図5を図4と比較しつつ参照して、IPアドレスは、“192.168.10.21”から“192.168.10.22”に変更されている。IPアドレス以外の情報は、図4のものと同一である。これがディジタルカメラ10用の通信設定情報として利用される。
Referring to FIG. 5 in comparison with FIG. 4, the IP address has been changed from “192.168.10.21” to “192.168.10.22”. Information other than the IP address is the same as that in FIG. This is used as communication setting information for the
こうしてプリンタ40用の通信設定情報を検出し、そして検出情報からディジタルカメラ10用の通信設定情報を作成し終えた後に、操作キー22によって転送操作が行われると、CPU18は、プリンタ40用の通信設定情報およびディジタルカメラ10用の通信設定情報に従って接続処理を行い、そして画像データを無線LANコントローラ30からプリンタ40に無線転送する。全ての転送処理が完了すると、切断処理を実行する。
After detecting the communication setting information for the
CPU18は、具体的にはμITRONなどのマルチタスクOSの制御下で、図6,図10および図11に示す無線LAN設定メインタスクと、図7に示す文字認識タスクと、図8および図9に示す通信設定情報検出タスクと、図12に示す無線転送タスクとを並列的に実行する。無線LAN設定メインタスクは操作キー22を介して通信モードが選択されたとき起動され、無線転送タスクは同じく転送操作が行われたときに起動される。文字認識タスクおよび通信設定情報検出タスクは、無線LAN設定メインタスクによって起動される。なお、これらのフロー図に対応するプログラムはフラッシュメモリ16に記憶される。
Specifically, under the control of a multitasking OS such as μITRON, the
図6を参照して、まずステップS1で変数Statusを“0”とし、次のステップS3でプリンタ用通信設置情報の画像データ(図2参照)を取り込む。そしてステップS5で文字認識タスクを起動し、ステップS7およびS9のループに入る。ステップS7では変数Statusが“1”であるか否かを判別し、ステップS9では変数Statusが“−1”であるか否かを判別する。 Referring to FIG. 6, first, variable Status is set to “0” in step S <b> 1, and image data (see FIG. 2) of printer communication installation information is captured in next step S <b> 3. In step S5, a character recognition task is activated, and a loop of steps S7 and S9 is entered. In step S7, it is determined whether or not the variable Status is “1”. In step S9, it is determined whether or not the variable Status is “−1”.
文字認識タスクによって変数Statusに“1”がセットされると、ステップS7からステップS11に移る。同じく変数Statusに“−1”がセットされると、ステップS9からステップS21に移る。 When the variable status is set to “1” by the character recognition task, the process proceeds from step S7 to step S11. Similarly, when “−1” is set in the variable Status, the process proceeds from step S9 to step S21.
ステップS11では、プリンタ用通信設定情報検出タスクを起動する。そしてステップS13およびS15のループに入る。ステップS13では変数Statusが“2”であるか否かを判別し、ステップS15では変数Statusが“−2”であるか否かを判別する。 In step S11, a printer communication setting information detection task is activated. Then, a loop of steps S13 and S15 is entered. In step S13, it is determined whether or not the variable Status is “2”. In step S15, it is determined whether or not the variable Status is “−2”.
プリンタ用通信設定情報検出タスクによって変数Statusに“2”がセットされると、ステップS13からステップS17に移る。同じく変数Statusに“−2”がセットされると、ステップS15からステップS21に移る。 When “2” is set to the variable Status by the printer communication setting information detection task, the process proceeds from step S13 to step S17. Similarly, when “−2” is set in the variable Status, the process proceeds from step S15 to step S21.
ステップS17では、ディジタルカメラ用通信設定情報作成処理(後述)を実行し、処理が完了するとステップS19に移って、変数Statusを“3”とする。そして、このタスクを終了する。 In step S17, a digital camera communication setting information creation process (described later) is executed. When the process is completed, the process proceeds to step S19, and the variable Status is set to “3”. Then, this task is finished.
ステップS21では、変数Statusの値(“−1”または“−2”)に応じたエラー処理を実行する。エラー処理が完了すると、このタスクを終了する。 In step S21, an error process is executed according to the value of variable Status ("-1" or "-2"). When the error processing is completed, this task is finished.
図7を参照して、ステップS31では、無線LAN設定メインタスクによって取り込まれた画像データを行単位に切り分ける。ステップS33では、変数LCNTに行数を設定する。ステップS35では、変数Lに“1”をセットする。ステップS37では、第L行に対応する画像を読み出す。ステップS39では、読み出され画像を文字単位に切り分ける。ステップS41では、変数CCNTに文字数を設定する。ステップS43では、変数Cに“1”をセットする。 Referring to FIG. 7, in step S31, the image data captured by the wireless LAN setting main task is segmented in units of rows. In step S33, the number of rows is set in the variable LCNT. In step S35, “1” is set to the variable L. In step S37, the image corresponding to the Lth row is read. In step S39, the read image is cut into character units. In step S41, the number of characters is set in the variable CCNT. In step S43, "1" is set to variable C.
ステップS45では、C番目の文字を認識し、かつ認識結果を保持する。ステップS47では、認識が成功したか否かを判別し、判別結果が否定的であればステップS49で変数Statusに“−1”をセットし、このタスクを終了する。 In step S45, the Cth character is recognized and the recognition result is held. In step S47, it is determined whether or not the recognition is successful. If the determination result is negative, "-1" is set to the variable Status in step S49, and this task is ended.
ステップS47の判別結果が肯定的であれば、ステップS51に移って変数Cをインクリメントする。ステップS53では、変数Cが変数CCNTよりも大きいか否かを判別し、判別結果が否定的であればステップ45に戻る。 If the determination result of step S47 is affirmative, it will move to step S51 and will increment the variable C. In step S53, it is determined whether or not the variable C is larger than the variable CCNT. If the determination result is negative, the process returns to step 45.
ステップS53の判別結果が肯定的であれば、ステップS55で変数Lをインクリメントする。ステップS57では、変数Lが変数LCNTよりも大きいか否かを判別し、判別結果が否定的であればステップS37に戻る。ステップS57の判別結果が肯定的であれば、ステップS59で変数Statusに“1”をセットし、このタスクを終了する。 If the determination result in step S53 is positive, the variable L is incremented in step S55. In step S57, it is determined whether or not the variable L is larger than the variable LCNT. If the determination result is negative, the process returns to step S37. If the determination result of step S57 is affirmative, "1" is set to the variable Status in step S59, and this task is ended.
図8を参照して、ステップS71では、変数Lに“1”を設定し、ステップS73では、第L行の先頭から“=”までの文字列を読み出す。そしてステップS75〜S103で、読み出された文字列が15種類の通信設定情報すなわち“DHCPCD”,“IPADR”,“SUBNET”,“GATEWAY”,“DNS”,“MODE”,“ESSID”,“CHANNEL”,“WEP”,“WEPKEYLEN”,“WEPKEYID”および“WEPKEY1”〜“WEPKEY4”のいずれか1つに該当するか否かを判別する。いずれにも該当しなければ、ステップS115に抜けて変数Statusに“−2”をセットし、このタスクを終了する。 Referring to FIG. 8, in step S71, variable L is set to “1”, and in step S73, a character string from the beginning of the Lth line to “=” is read. In steps S75 to S103, the read character string is converted into 15 types of communication setting information, that is, “DHCPCD”, “IPADR”, “SUBNET”, “GATEWAY”, “DNS”, “MODE”, “ESSID”, “ESSID”, It is determined whether or not any one of “CHANNEL”, “WEP”, “WEPKEYLEN”, “WEPKEYID”, and “WEPKEY1” to “WEPKEY4” is applicable. If none of these are true, the process goes to step S115 to set "-2" in the variable Status, and this task is terminated.
ステップS75〜S103のいずれか1つの判別結果が肯定的であれば、ステップS105に移る。図9を参照して、ステップS105では、第L行の“=”より後の文字列を読み出す。ステップS107では、読み出された文字列の書式をバイナリ形式に変換し(図3参照)、結果をフラッシュメモリ16に保持する。そしてステップS109で変数Lをインクリメントする。ステップS111では、変数Lの値が変数LCNTの値を超えたか否かを判別し、判別結果が否定的であればステップS73に戻る。
If the determination result of any one of steps S75 to S103 is affirmative, the process proceeds to step S105. Referring to FIG. 9, in step S105, the character string after “=” in the Lth line is read. In step S107, the format of the read character string is converted into a binary format (see FIG. 3), and the result is held in the
ステップS111の判別結果が肯定的であれば、ステップS113に移って、変数Statusに“2”をセットし、このタスクを終了する。 If the determination result in step S111 is affirmative, the process proceeds to step S113, where “2” is set in the variable Status, and this task is ended.
図10を参照して、ディジタルカメラ用通信設定情報作成処理では、まずステップS121で、プリンタ用通信設定情報をコピーする。ステップS123では、コピー先から“IPADR”に対応する情報を読み出す。ステップS125では、IPADR設定操作受け付け処理(後述)を実行する。この処理では、ディジタルカメラ10用に所望のアドレス値を入力する入力操作が、操作キー22を通して受け付けられる。このとき、コピー先の“IPADR”と全く同一のアドレス値は受け付けられない。
Referring to FIG. 10, in the digital camera communication setting information creation process, first, in step S121, printer communication setting information is copied. In step S123, information corresponding to “IPADR” is read from the copy destination. In step S125, an IPADR setting operation acceptance process (described later) is executed. In this processing, an input operation for inputting a desired address value for the
ステップS127では、コピー先の“IPADR”に対応する情報を、受け付けられたアドレス値に対応する情報で上書きする。なお、図4および図5に示した例では、“IPADR”の末尾バイト“0x15”が“0x16”で上書きされている。上書き後、上位層のルーチンに復帰する。 In step S127, the information corresponding to the copy destination “IPADR” is overwritten with the information corresponding to the accepted address value. In the example shown in FIGS. 4 and 5, the last byte “0x15” of “IPADR” is overwritten with “0x16”. After overwriting, return to the upper layer routine.
図11を参照して、IPADR設定操作受け付け処理では、まずステップS141で、パラメータの1つである“除外値”に、ステップS123で読み出された値(読み出し値)の下3桁をセットする。次のステップS143では、同じくパラメータの1つである“候補値”に、読み出し値の下3桁に所定値例えば“1”を加えた値をセットする。そしてステップS143で“候補値”をLCDモニタ24に表示し、ステップS147およびS149のループに入る。ステップS147では、操作キー22に含まれるUP/DOWNキーが押下されたか否かを判別し、ステップS149では、同じくOKキーが押下されたか否かを判別する。
Referring to FIG. 11, in the IPADR setting operation acceptance process, first, in step S141, the last three digits of the value (read value) read in step S123 are set in one of the parameters, “exclusion value”. . In the next step S143, a value obtained by adding a predetermined value, for example, “1” to the last three digits of the read value is set to “candidate value” which is also one of the parameters. In step S143, "candidate value" is displayed on the
UP/DOWNキーが押下されると、ステップS151で“候補値”をインクリメント/デクリメントする。ここで“候補値”の最小値は“0”であり、最大値は“255”である。UPキーを繰り返し押せば、“候補値”は“254”→“255”→“0”→“1”,“2”…のように巡回し、DOWNキーを繰り返し押せば、“候補値”は“2”→“1”→“0”→“255”,“254”…のように巡回する。 When the UP / DOWN key is pressed, the “candidate value” is incremented / decremented in step S151. Here, the minimum value of the “candidate value” is “0”, and the maximum value is “255”. If the UP key is repeatedly pressed, the “candidate value” cycles through “254” → “255” → “0” → “1”, “2”, etc. If the DOWN key is repeatedly pressed, the “candidate value” is It goes around like “2” → “1” → “0” → “255”, “254”.
続くステップS153では、“候補値”が“除外値”と一致するか否かを判別する。この判別結果が肯定的であればステップS151に戻り、否定的であればステップS145に戻る。従って、“除外値”が例えば“21”であれば、UPキーを繰り返し押下したとき、“候補値”は“19”→“20”→“22”→“23”…のように変化する。 In the subsequent step S153, it is determined whether or not the “candidate value” matches the “exclusion value”. If this determination result is affirmative, the process returns to step S151, and if negative, the process returns to step S145. Therefore, if the “exclusion value” is “21”, for example, when the UP key is repeatedly pressed, the “candidate value” changes as “19” → “20” → “22” → “23”.
OKキーが押下されると、ステップS149でYESと判別して、上位層のルーチンに復帰する。 If the OK key is pressed, YES is determined in the step S149, and the process returns to the upper layer routine.
図12を参照して、ステップS161では、変数Statusが“3”であるか否かを判別する。この判別結果が否定的であればステップS173に移り、肯定的であればステップS163に移る。 Referring to FIG. 12, in step S161, it is determined whether or not the variable Status is “3”. If this determination result is negative, the process proceeds to step S173, and if positive, the process proceeds to step S163.
ステップS163では接続処理を実行し、次のステップS165では接続の成否を判別する。接続に失敗すればステップS173に移り、成功すればステップS167に進む。ステップS167では、転送処理を実行する。具体的には、画像データを記録媒体28からSDRAM26に読み出し、読み出された画像データを無線LANコントローラ30から無線LANを通してプリンタ40に転送する。
In step S163, a connection process is executed, and in the next step S165, the success or failure of the connection is determined. If the connection fails, the process proceeds to step S173, and if successful, the process proceeds to step S167. In step S167, transfer processing is executed. Specifically, the image data is read from the
続くステップS169では、転送が完了したか否かを判別し、判別結果が否定的であればステップS167に戻る。転送が完了すると、ステップS169からステップS171に移り、切断処理を実行する。そしてこのタスクを終了する。 In subsequent step S169, it is determined whether or not the transfer is completed. If the determination result is negative, the process returns to step S167. When the transfer is completed, the process proceeds from step S169 to step S171, and a disconnection process is executed. Then, this task is finished.
ステップS173ではエラー処理を実行し、このタスクを終了する。なお、ステップS163の接続処理がIPアドレスの不正に起因して失敗した場合には、このエラー処理でもう一度、IPADR設定操作受け付け処理(図11参照)を実行してもよい。 In step S173, error processing is executed, and this task ends. If the connection process in step S163 fails due to an illegal IP address, the IPADR setting operation acceptance process (see FIG. 11) may be executed once again in this error process.
以上から明らかなように、この実施例では、CPU18は、通信モードが選択されたとき、記録媒体28に記録された被写体像から文字情報を検出し、検出された文字情報が通信設定情報であるか否かを判別し、判別結果が肯定的であれば検出された通信設定情報に対応する通信設定情報を作成する。そして転送操作が行われたとき、検出された通信設定情報と作成された通信設定情報とを利用して無線LANコントローラ30からプリンタ40に画像データを転送する。
As is apparent from the above, in this embodiment, when the communication mode is selected, the
予めプリンタ40でプリンタ40自身の通信設定情報を紙面に印字し、印刷面をディジタルカメラ10で撮影しておけば、画像データをプリンタ40に転送するときにCPU18が、撮影された被写界像から文字情報つまり通信設定情報を検出し、検出された通信設定情報に対応する通信設定情報を作成するため、通信設定の煩わしさを低減することができる。
If the
なお、この実施例では、プリンタ40用の通信設定情報を紙面に印字し、印刷面をディジタルカメラ10で撮影したが、プリンタ40にLCD等のディスプレイが設けられている場合には、同様の情報をディスプレイにテキスト表示し、表示面をディジタルカメラ10で撮影してもよい。
In this embodiment, the communication setting information for the
また、転送先は、プリンタ40に限らず、無線LAN付きパソコン,無線LAN付きハードディスク/DVDレコーダ,無線LAN付きディジタルテレビなど、無線LAN機能を備えているものであれば、どのような装置でもよい。転送対象も画像データに限らず、音声データ,プログラムデータなど様々なデータであってよい。
Further, the transfer destination is not limited to the
以上ではディジタルカメラ10を用いて説明したが、この発明は、例えば無線LAN/カメラ付きパソコン,カメラ付き携帯電話など、撮影機能を有する様々なデータ転送装置に適用できる。
Although the
10…ディジタルカメラ
12…イメージセンサ
14…信号処理回路
16…フラッシュメモリ
18…CPU
28…記録媒体
30…無線LANコントローラ
40…プリンタ
DESCRIPTION OF
28 ... Recording
Claims (6)
前記撮影手段によって撮影された被写体像から文字情報を検出する検出手段、
前記検出手段によって検出された文字情報が通信設定情報であるか否かを判別する第1判別手段、
前記第1判別手段の判別結果が肯定的であるとき前記検出手段によって検出された通信設定情報に対応する通信設定情報を作成する作成手段、および
通信モードが選択されたとき前記検出手段によって検出された通信設定情報と前記作成手段によって作成された通信設定情報とを利用して所望の装置にデータを転送する転送手段を備える、データ転送装置。 Photographing means for photographing the subject,
Detecting means for detecting character information from a subject image photographed by the photographing means;
First determination means for determining whether or not the character information detected by the detection means is communication setting information;
Creating means for creating communication setting information corresponding to the communication setting information detected by the detecting means when the determination result of the first determining means is positive, and detected by the detecting means when a communication mode is selected; A data transfer apparatus comprising transfer means for transferring data to a desired apparatus using the communication setting information and the communication setting information created by the creating means.
前記作成手段は、前記第1アドレス情報が示す数値を検出する数値検出手段、および前記数値検出手段によって検出された数値とは異なる数値を前記第2アドレス情報に割り当てる数値割り当て手段を含む、請求項1記載のデータ転送装置。 The communication setting information detected by the detecting means and the communication setting information created by the creating means include first address information and second address information, respectively.
The creation means includes numerical value detection means for detecting a numerical value indicated by the first address information, and numerical value assignment means for assigning a numerical value different from the numerical value detected by the numerical value detection means to the second address information. 1. The data transfer device according to 1.
前記被写体は前記プリンタ用の通信設定情報が印字された印刷面を含む、請求項5記載のデータ転送装置。 The desired device is a printer;
The data transfer apparatus according to claim 5, wherein the subject includes a printing surface on which communication setting information for the printer is printed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005064774A JP2006253854A (en) | 2005-03-09 | 2005-03-09 | Data transfer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005064774A JP2006253854A (en) | 2005-03-09 | 2005-03-09 | Data transfer device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006253854A true JP2006253854A (en) | 2006-09-21 |
Family
ID=37093894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005064774A Pending JP2006253854A (en) | 2005-03-09 | 2005-03-09 | Data transfer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006253854A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009021098A1 (en) * | 2007-08-08 | 2009-02-12 | Marschke Carl R | Building wall panels of hollow core construction |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003131838A (en) * | 2001-10-26 | 2003-05-09 | Canon Inc | Digital camera, driver storing method for printing control, storage medium, and computer program |
JP2004013718A (en) * | 2002-06-10 | 2004-01-15 | Sony Corp | Method for setting electronic equipment |
JP2004205465A (en) * | 2002-12-26 | 2004-07-22 | Seiko Precision Inc | Master clock system and master clock used for the same |
JP2004221908A (en) * | 2003-01-14 | 2004-08-05 | Sanyo Electric Co Ltd | Method for controlling display, photographed image output sysetm capable of using the method, display control device, liquid crystal projector, and digital camera |
JP2004328358A (en) * | 2003-04-24 | 2004-11-18 | Canon Inc | Host name setting method, program, and communication device |
JP2006001063A (en) * | 2004-06-16 | 2006-01-05 | Fuji Photo Film Co Ltd | Direct print system |
-
2005
- 2005-03-09 JP JP2005064774A patent/JP2006253854A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003131838A (en) * | 2001-10-26 | 2003-05-09 | Canon Inc | Digital camera, driver storing method for printing control, storage medium, and computer program |
JP2004013718A (en) * | 2002-06-10 | 2004-01-15 | Sony Corp | Method for setting electronic equipment |
JP2004205465A (en) * | 2002-12-26 | 2004-07-22 | Seiko Precision Inc | Master clock system and master clock used for the same |
JP2004221908A (en) * | 2003-01-14 | 2004-08-05 | Sanyo Electric Co Ltd | Method for controlling display, photographed image output sysetm capable of using the method, display control device, liquid crystal projector, and digital camera |
JP2004328358A (en) * | 2003-04-24 | 2004-11-18 | Canon Inc | Host name setting method, program, and communication device |
JP2006001063A (en) * | 2004-06-16 | 2006-01-05 | Fuji Photo Film Co Ltd | Direct print system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009021098A1 (en) * | 2007-08-08 | 2009-02-12 | Marschke Carl R | Building wall panels of hollow core construction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101611440B1 (en) | Method and apparatus for processing image | |
JP7187395B2 (en) | COMMUNICATION TERMINAL, COMMUNICATION TERMINAL CONTROL METHOD, AND COMMUNICATION SYSTEM | |
CN101165801B (en) | Image editing method for digital image processing apparatus | |
KR101560449B1 (en) | System and method for automatically classifying photograph | |
JP2010010938A (en) | Image processing apparatus, image processing method, program and computer-readable recording medium | |
US20120050568A1 (en) | Image capturing apparatus and control method of the same | |
JP2016181808A (en) | Image processing device, image processing method, program and recording medium | |
JP6435779B2 (en) | Information processing apparatus and information processing program | |
JP2005286941A (en) | Radio lan transmitter and its control method | |
US8526673B2 (en) | Apparatus, system and method for recognizing objects in images using transmitted dictionary data | |
US9027156B2 (en) | Transmission apparatus, transmission method, and recording medium | |
JP6191500B2 (en) | Image processing apparatus, image processing system, and image processing program | |
JP2019212963A (en) | Imaging apparatus, information processing apparatus, information processing method, and program | |
JP2006253854A (en) | Data transfer device | |
JP6988160B2 (en) | Information processing equipment and information processing programs | |
JP6023577B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM | |
JP6677117B2 (en) | Image processing apparatus, image processing system, and image processing program | |
JP2016126462A (en) | Authentication system, control method thereof, program, authentication server, control method thereof, and program | |
JPWO2018179555A1 (en) | Imaging device | |
JP6268950B2 (en) | Image processing system, image processing apparatus, image processing method, and image processing program | |
JP7087683B2 (en) | Image processing system and server equipment | |
JP2017111696A (en) | Information processing device, printing system, control method and program | |
JP2019194890A (en) | Authentication system, control method therefor, and program, and authentication server, control method therefor, and program | |
JP6705984B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP2005276016A (en) | File management device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100302 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100430 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100716 |