JP2004188719A - Accumulated data process - Google Patents

Accumulated data process Download PDF

Info

Publication number
JP2004188719A
JP2004188719A JP2002358168A JP2002358168A JP2004188719A JP 2004188719 A JP2004188719 A JP 2004188719A JP 2002358168 A JP2002358168 A JP 2002358168A JP 2002358168 A JP2002358168 A JP 2002358168A JP 2004188719 A JP2004188719 A JP 2004188719A
Authority
JP
Japan
Prior art keywords
data
accumulation
parallel
time
interface
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.)
Withdrawn
Application number
JP2002358168A
Other languages
Japanese (ja)
Inventor
Tokiko Watanabe
期子 渡邉
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 JP2002358168A priority Critical patent/JP2004188719A/en
Publication of JP2004188719A publication Critical patent/JP2004188719A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To determine processes which can be performed in parallel by accurately estimating a data accumulated time in a data receiving wherein the original data cannot be understood unless all the data have been collected, and to shorten the processing time for equipment by performing the parallel execution. <P>SOLUTION: This device is equipped with a means which accumulates an interface having an object exchanging protocol and objects, and a means which acquires information of the sizes and the kinds or the like of the objects prior to the start of an object transfer according to the object exchanging protocol. The device is also equipped with a means for determining processes which can be performed in parallel with an accumulating process in response to the means which judges the accumulation of an object from the kind, and a means which estimates a period of time required for the accumulation from the size of the object. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、オブジェクト交換プロトコルを有するインターフェイスを搭載した機器に関し、機器がある条件において一定の処理を必要としている場合に関する処理方法である。
【0002】
【従来の技術】
圧縮データなどのようにデータが全て揃わないと本来のデータが理解できない場合、データを一度蓄積する必要がある。この蓄積にかかる時間を有効に利用する為には蓄積期間の正確な時間が必要になってくる。しかし、従来のインターフェイスではデータを受信する場合、受信データの大きさを事前に知る事ができないので正確な時間を予め算出する事が出来なかった。その為、この蓄積期間を有効に利用できないという問題点があった。
【0003】
【発明が解決しようとする課題】
本発明は、オブジェクト交換プロトコルを用いたインターフェイスを搭載した機器に関し、前記インターフェイスより受信したデータを蓄積する場合に蓄積期間の正確な時間を算出し蓄積期間を有効に利用するものである。
【0004】
【課題を解決するための手段】
上記の目的を達成するために、本発明は以下の構成からなる。
【0005】
すなわち、オブジェクト交換プロトコルを有するインターフェイスとオブジェクトを蓄積する手段、オブジェクト交換プロトコルに準じてオブジェクト転送開始前にオブジェクトの大きさ、種類などの情報を取得する手段、種類からオブジェクトの蓄積を判断する手段およびオブジェクトの大きさから蓄積にかかる時間を推測する手段と蓄積時間に応じて、蓄積処理と並列に実行可能な処理を決定する手段を備えた装置。
【0006】
【発明の実施の形態】
以下では、本発明の実施例を詳細に説明する。
【0007】
本発明の実施形態を図1インクジェットプリンタの構成を用いて説明する。なお本発明は実施の形態を適用する装置はインクジェットプリンタに限定するものではなく各種装置に応用できるものである。
【0008】
図1は本発明に適応可能な通常に構成されているインクジェットプリンタ(B)でありコンピュータ(A)とオブジェクト交換プロトコルを有したインターフェイス部によってコンピュータ(A)からの印刷データを受信し、データを記憶する受信バッファ(RAM)、受信バッファに記憶されたデータを解析する解析部(CPU、ROM)解析部により解析されたデータに基づき印刷を実行するプリンタエンジンで構成されている。
【0009】
オブジェクト交換プロトコルを有したインターフェイスの一つに赤外線を用いたIrOBEX通信がある。実施例1ではこのIrOBEX通信を備えたインクジェットプリンタとして説明していく。しかしこのオブジェクト交換プロトコルを有したインターフェイスはこれに限定されるものではない。
【0010】
図1のインターフェイス部において赤外線を用いたIrOBEX通信をサポートしている。
【0011】
IrOBEX通信プロトコルに準じて送信されたオブジェクトを受信バッファ(RAM)に記憶している。
【0012】
IrOBEX通信は図2のようにIrOBEX(Infrared Object Exchange Protocol)通信プロトコルに準じてIrDA通信におけるIrLAP層(Infrared Link Access Protocol)(A),IrLMP層(Infrared Link Manager Protocol)(B),TinyTP層(Flow Control)(C),IAS層(Information Access Service)(D)のプロトコルをサポートしてIrOBEX通信を行っている。この通信では各層が下位(IrLAP層)より順じプロトコルに従いコネクト処理を行っていくことで通信が確立している。
【0013】
次に図1と図2を参照し、図3を用いて本実施形態の動作について説明する。
【0014】
ステップ3−1では図2のIrDAの各プロトコルにおけるコネクト処理により通信が順じ確立されてゆきIrOBEXプロトコルに準じたIrOBEXコネクトコマンドを受信する。
【0015】
ステップ3−2ではステップ3−1で受信したIrOBEXコネクトコマンドの中に以降送信されるオブジェクトの大きさや種類の情報があるか、その他の条件を抽出する。この時これらの情報はIrOBEXプロトコルに準じたヘッダ情報により獲得する。オブジェクトの大きさ情報はLengthヘッダ、種類の情報はNameヘッダやTypeヘッダなどから獲得できる。
【0016】
ステップ3−3ではステップ3−2で得た情報を元に機器の条件に合ったIrOBEXコネクトレスポンスで応答を行う。
【0017】
ステップ3−4ではステップ3−2で大きさ、種類情報が獲得できたならばステップ3−6へ進み、獲得できなかった場合はステップ3−5へ進む。ステップ3−5ではオブジェクト送信までに付加されるヘッダ情報から必要な情報を取得しにいく。取得できたならばステップ3−6へ進む。大きさ情報を取得出来ない場合はステップ3−10へ進み、種類情報を取得できない場合は蓄積処理を行わずステップ3−11へ進む。
【0018】
ステップ3−6では必要なオブジェクトの種類の情報からオブジェクトを蓄積するべきデータであるかそうでないかを判断する。蓄積するデータとしてはJPEG方式で圧縮されたデータなどがある。蓄積データである場合はステップ3−7へ、違う場合はステップ3−11へ進む。
【0019】
ステップ3−7ではオブジェクトの大きさと現在の通信速度からオブジェクト蓄積にかかる時間を算出する。ステップ3−8ではステップ3−7で算出された蓄積時間とインクジェットプリンタが印刷前に行えるいくつかの処理の処理時間とを比較し実行可能ならばステップ3−9へ進み蓄積処理と並列に実行する。(双方の処理が終了したならばステップ3−11へ進む。)並列実行不可能な時間であれば何も行わずステップ3−10へ進む。この時のインクジェットプリンタが印刷前に行えるいくつかの処理についてはヘッドをクリーニングする手段を持っている場合はクリーニングを、またメインタンクとサブタンクを備えインクを供給していく手段を持っている場合はインク供給などを行う事が可能である。これらの処理を従来例のように印刷開始前に行う、もしくは印刷中に行った場合と本実施例で行った場合との時間系を図4に示す。
【0020】
ステップ3−10では並列に他の処理を行うことなく蓄積処理のみ行う。
【0021】
ステップ3−11では蓄積処理と並列処理が終了したのでオブジェクトデータを解析部に渡して印刷を開始する。
【0022】
【発明の効果】
以上、説明した実施例によれば、オブジェクト交換プロトコルを有したインターフェイスからのデータ受信によって予めデータ蓄積時間が予測できるので、その間にプリンタがクリーニングやインク供給処理と言った必要処理を前倒しで先に処理する事が可能になり図4の時間系による従来例と実施例の比較からもわかる通り印刷にかかる時間を短縮する事が可能になる。実施例では機器がプリンタであるので印刷時間の短縮になるが他の機器においても処理時間の短縮につながるものとなる。
【図面の簡単な説明】
【図1】実施例の構成図。
【図2】赤外線を用いたIrOBEX通信構成図。
【図3】実施例の動作図。
【図4】従来例と実施例の比較図。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a device equipped with an interface having an object exchange protocol, and relates to a processing method in a case where the device requires certain processing under certain conditions.
[0002]
[Prior art]
If the original data cannot be understood unless all the data is collected, such as compressed data, it is necessary to accumulate the data once. In order to effectively use the time required for the accumulation, an accurate time of the accumulation period is required. However, when data is received by the conventional interface, the size of the received data cannot be known in advance, so that an accurate time cannot be calculated in advance. Therefore, there is a problem that this accumulation period cannot be used effectively.
[0003]
[Problems to be solved by the invention]
The present invention relates to a device equipped with an interface using an object exchange protocol, wherein when accumulating data received from the interface, an accurate time of the accumulation period is calculated and the accumulation period is used effectively.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the present invention has the following configurations.
[0005]
Means for storing an interface having an object exchange protocol and an object, means for acquiring information such as the size and type of an object before the start of object transfer according to the object exchange protocol, means for judging the accumulation of an object from the type, and An apparatus comprising: means for estimating the time required for storage from the size of an object; and means for determining processing that can be executed in parallel with the storage processing in accordance with the storage time.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail.
[0007]
An embodiment of the present invention will be described with reference to FIG. It should be noted that the device to which the present invention is applied is not limited to an inkjet printer, but can be applied to various devices.
[0008]
FIG. 1 shows a conventional ink jet printer (B) applicable to the present invention, which receives print data from a computer (A) through an interface having a computer (A) and an object exchange protocol, and transmits the data. It comprises a receiving buffer (RAM) for storing, and a printer engine for executing printing based on data analyzed by an analyzing unit (CPU, ROM) analyzing the data stored in the receiving buffer.
[0009]
One of the interfaces having the object exchange protocol is IrOBEX communication using infrared rays. The first embodiment will be described as an ink jet printer provided with this IrOBEX communication. However, the interface having the object exchange protocol is not limited to this.
[0010]
The interface section of FIG. 1 supports IrOBEX communication using infrared rays.
[0011]
An object transmitted according to the IrOBEX communication protocol is stored in a reception buffer (RAM).
[0012]
As shown in FIG. 2, the IrOBEX communication is based on an IrOBEX (Infrared Object Exchange Protocol) communication protocol, and is based on an IrLAP layer (Infrared Link Access Protocol) (A) and an IrLMP layer (InfraredPlayer) in IrDA communication in IrDA communication. Flow control (C) and IAS layer (Information Access Service) (D) are supported to perform IrOBEX communication. In this communication, communication is established by each layer performing a connect process according to a protocol in order from the lower layer (IrLAP layer).
[0013]
Next, the operation of this embodiment will be described with reference to FIGS.
[0014]
In step 3-1, communication is established in sequence by the connection processing in each IrDA protocol of FIG. 2, and an IrOBEX connect command conforming to the IrOBEX protocol is received.
[0015]
In step 3-2, the IrOBEX connect command received in step 3-1 includes information on the size and type of the object to be transmitted thereafter, and other conditions are extracted. At this time, these pieces of information are obtained by header information conforming to the IrOBEX protocol. Object size information can be obtained from a Length header, and type information can be obtained from a Name header or a Type header.
[0016]
In step 3-3, a response is made with an IrOBEX connect response matching the conditions of the device based on the information obtained in step 3-2.
[0017]
In step 3-4, if the size and type information can be obtained in step 3-2, the process proceeds to step 3-6, and if not, the process proceeds to step 3-5. In step 3-5, necessary information is obtained from the header information added until the object is transmitted. If acquired, the process proceeds to step 3-6. If the size information cannot be obtained, the process proceeds to step 3-10. If the type information cannot be obtained, the process proceeds to step 3-11 without performing the accumulation process.
[0018]
In step 3-6, it is determined from the information on the required object type whether the data is to store the object or not. The data to be stored includes data compressed by the JPEG method. If the data is stored data, the process proceeds to step 3-7; otherwise, the process proceeds to step 3-11.
[0019]
In step 3-7, the time required for storing the object is calculated from the size of the object and the current communication speed. In step 3-8, the accumulation time calculated in step 3-7 is compared with the processing time of some processes that can be performed by the inkjet printer before printing. If it is possible to execute the process, the process proceeds to step 3-9 and is executed in parallel with the accumulation process. I do. (If both processes are completed, the process proceeds to step 3-11.) If the parallel execution is not possible, nothing is performed and the process proceeds to step 3-10. For some processing that the inkjet printer can perform before printing at this time, if you have a means to clean the head, clean it.If you have a means to supply ink with a main tank and sub tank, It is possible to supply ink and the like. FIG. 4 shows a time system when these processes are performed before the printing is started as in the conventional example, or when the processes are performed during the printing and in the present embodiment.
[0020]
In step 3-10, only accumulation processing is performed without performing other processing in parallel.
[0021]
In step 3-11, since the accumulation processing and the parallel processing have been completed, the object data is passed to the analysis unit and printing is started.
[0022]
【The invention's effect】
According to the above-described embodiment, the data storage time can be predicted in advance by receiving data from the interface having the object exchange protocol. In the meantime, the printer performs necessary processing such as cleaning and ink supply processing earlier in advance. Processing can be performed, and the time required for printing can be reduced as can be seen from a comparison between the conventional example and the embodiment based on the time system shown in FIG. In the embodiment, since the device is a printer, the printing time is reduced, but the processing time is also reduced in other devices.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an embodiment.
FIG. 2 is a configuration diagram of IrOBEX communication using infrared rays.
FIG. 3 is an operation diagram of the embodiment.
FIG. 4 is a comparative diagram of a conventional example and an example.

Claims (2)

オブジェクト交換プロトコルを有するインターフェイスを搭載した機器において、オブジェクトを蓄積する手段を備える時、オブジェクト蓄積期間中に機器の必要とする処理を並列に行う事を特徴としている。In a device equipped with an interface having an object exchange protocol, when a means for storing an object is provided, processing required by the device is performed in parallel during the object storage period. オブジェクト交換プロトコルを有するインターフェイスを搭載した機器において、オブジェクト交換プロトコルに準じてオブジェクト転送開始前にオブジェクトの大きさ、種類などの情報を取得する手段を備える時、種類からオブジェクトの蓄積が必要か、大きさから蓄積にかかる時間を推測し、蓄積時間に応じて蓄積処理と並列に実行可能な処理を決定する事を特徴としている。When a device equipped with an interface having an object exchange protocol is provided with means for acquiring information such as the size and type of the object before the start of the object transfer according to the object exchange protocol, it is necessary to accumulate the object based on the type. It is characterized by estimating the time required for accumulation from the above, and determining a process that can be executed in parallel with the accumulation process according to the accumulation time.
JP2002358168A 2002-12-10 2002-12-10 Accumulated data process Withdrawn JP2004188719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002358168A JP2004188719A (en) 2002-12-10 2002-12-10 Accumulated data process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002358168A JP2004188719A (en) 2002-12-10 2002-12-10 Accumulated data process

Publications (1)

Publication Number Publication Date
JP2004188719A true JP2004188719A (en) 2004-07-08

Family

ID=32757969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002358168A Withdrawn JP2004188719A (en) 2002-12-10 2002-12-10 Accumulated data process

Country Status (1)

Country Link
JP (1) JP2004188719A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165439A (en) * 2009-01-19 2010-07-29 Seiko Epson Corp Medium processing apparatus, method of controlling the same, and program
JP2010165432A (en) * 2009-01-19 2010-07-29 Seiko Epson Corp Medium processing apparatus, method of controlling the same, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165439A (en) * 2009-01-19 2010-07-29 Seiko Epson Corp Medium processing apparatus, method of controlling the same, and program
JP2010165432A (en) * 2009-01-19 2010-07-29 Seiko Epson Corp Medium processing apparatus, method of controlling the same, and program

Similar Documents

Publication Publication Date Title
US8520239B2 (en) Printing control method and apparatus of a printing process with different working stages
CN102147718A (en) Print job management apparatus, print job management method, and image forming apparatus
JP2007052544A (en) Information processor, power mode switching method, and power mode switching program
EP1489553A3 (en) Printer error recovery process and device
JP2004188719A (en) Accumulated data process
JP5899713B2 (en) Printing apparatus and printing method
JP3958016B2 (en) Network printer device
JP5899712B2 (en) Printing apparatus and printing method
US20140132996A1 (en) Communication apparatus having fax function, control method therefor, and storage medium
CN101430639B (en) Method and apparatus for processing content system data stream
JPH08305512A (en) Printer, print system and print method using the print system
JP3490179B2 (en) Print system, server device, and processing method of server device
JP2002103750A (en) Printer system
JP2009053841A (en) Image forming system and image forming apparatus
JP3608464B2 (en) Image forming apparatus, logical image forming apparatus, and print processing method
JPH07121318A (en) Remote printing system
JPH0981334A (en) Information processor and its data transfer method
JP3725701B2 (en) Image forming apparatus having facsimile function
JP3091679U (en) Printer
JP3432174B2 (en) Frame reception processing method
JP2006123261A (en) Printing apparatus and printing method
JPH11175269A (en) Host device
JP2002007085A (en) Printing processor and printing processing method
JPH09204278A (en) Printing system and print processing method
JP2003345534A (en) Printer system and its printing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307