JP6960302B2 - 通信装置、通信方法、及びプログラム - Google Patents
通信装置、通信方法、及びプログラム Download PDFInfo
- Publication number
- JP6960302B2 JP6960302B2 JP2017206332A JP2017206332A JP6960302B2 JP 6960302 B2 JP6960302 B2 JP 6960302B2 JP 2017206332 A JP2017206332 A JP 2017206332A JP 2017206332 A JP2017206332 A JP 2017206332A JP 6960302 B2 JP6960302 B2 JP 6960302B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- information
- processing device
- image processing
- http
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00204—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
- H04N1/00209—Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax
- H04N1/00214—Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission
- H04N1/00217—Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission only involving computer data transmission protocols, e.g. SMTP, WAP or HTTP
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1206—Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1209—Improving or facilitating administration, e.g. print management resulting in adapted or bridged legacy communication protocols, e.g. emulation, protocol extension
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1284—Local printer device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00132—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
- H04N1/00169—Digital image input
- H04N1/00172—Digital image input directly from a still digital camera or from a storage medium mounted in a still digital camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/21—Intermediate information storage
- H04N1/2104—Intermediate information storage for one or a few pictures
- H04N1/2158—Intermediate information storage for one or a few pictures using a detachable storage unit
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/121—Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0037—Topological details of the connection
- H04N2201/0039—Connection via a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0094—Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Information Transfer Between Computers (AREA)
- Facsimiles In General (AREA)
Description
図1は情報処理装置と画像処理装置により構成される印刷システムの全体構成の概要を示すブロック図である。
(1)正常処理
図4は情報処理装置と画像処理装置との間で正常にHTTPパケットが送受信される場合のシーケンスを示す図である。なお、情報処理装置110と画像処理装置120はUSBケーブル130で接続されており、HTTPパケットはUSBバス306上でやりとりされるものとする。
図5は何らかの理由により管理アプリケーションもしくはHTTP通信モジュールの処理が途中終了し、画像処理装置がエンドポイント(入力)に書出した情報が取得されずに残る場合のシーケンス例を示す図である。処理途中終了の理由には、管理アプリケーション又はHTTP通信モジュールに処理の不備(レスポンス情報取得処理の未実行)や、アクセスバイオレーション等による管理アプリケーション又はHTTP通信モジュールの強制終了などがある。
図6はHTTP通信モジュールにおける通信制御処理を示すフローチャートである。
その後、ステップS606では、HTTP通信モジュール202は、取得したHTTPレスポンス情報に含まれるセッションIDを検出し、検出したセッションIDとステップS604で生成したセッションIDと比較する(S607)。
実施形態1では、HTTP通信モジュール202がセッションIDを生成し、拡張ヘッダにこの情報をセットしたHTTPリクエストを画像処理装置に送信する例を説明した。この実施形態では、アプリケーションがセッションIDを管理する例について説明する。
一般に、情報処理装置110上で動作するアプリケーションが複数あり、アプリケーションが画像処理装置120との通信を占有する必要がある場合、ミューテックスやセマフォといった仕組みを用いてアプリケーション間の処理を排他する方法が考えられる。
実施形態1〜3では、情報処理装置上で動作するアプリケーションが、画像処理装置と前に通信していたアプリケーションとの間の処理が未完了であることを検知または予測し、画像処理装置の処理を終了する方法について説明した。この実施形態では、このような検知または予測することなく、画像処理装置の処理を終了させる例について説明する。
119、125 入出力インタフェース(I/F)、120 画像処理装置、
123 プリンタエンジン、124 CPU、130 USBケーブル
Claims (11)
- 通信相手の装置との通信を確立して通信を行う通信装置であって、
前記通信相手の装置に所定の処理を実行させる場合、前記通信相手の装置との通信を一意に特定するための第1の情報を生成し、該第1の情報を前記通信相手の装置に送信する生成手段と、
前記通信相手の装置からの応答を受信し、前記応答に含まれる第2の情報と前記第1の情報が一致するかどうかを判断する判断手段と、
前記第1の情報と前記第2の情報とが一致しない場合には、前記所定の処理を実行できる状態で前記通信相手の装置を動作させるための指示を前記通信相手の装置に送信する指示手段とを有することを特徴とする通信装置。 - 前記第1の情報は、前記通信装置と前記通信相手の装置の間で用いられる通信のプロトコルに従って指定されるセッションIDであることを特徴とする請求項1に記載の通信装置。
- 前記第1の情報は、前記通信装置で実行されるアプリケーションによって生成されるセッションIDを示すパラメータであることを特徴とする請求項1に記載の通信装置。
- 前記通信相手の装置との通信を開始する前に、該通信を行うアプリケーションとは異なる他のアプリケーションが前記通信相手の装置の所有権を有しているかどうかを調べ、前記他のアプリケーションが所有権を有しているなら、該他のアプリケーションに該所有権を放棄させる解放手段をさらに有することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。
- 正常な通信が実行される場合、前記通信相手の装置は、前記通信装置から送信された前記第1の情報を前記第2の情報として前記応答を送信することを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。
- 前記通信相手の装置が前記所定の処理を実行できる状態とは、初期状態であることを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。
- 前記指示手段による指示に基づいて前記通信相手の装置は応答の情報を破棄することにより初期状態に戻ることを特徴とする請求項1乃至6のいずれか1項に記載の通信装置。
- 前記通信相手の装置とはUSBにより接続され、
前記通信相手の装置とはHTTP通信を行うことを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。 - 前記通信装置は、パーソナルコンピュータ、タブレット端末、スマートフォン、デジタルカメラを含む情報処理装置であり、
前記通信相手の装置は、前記情報処理装置によって生成された画像データに基づいて記録媒体に画像を印刷する単機能プリンタや多機能プリンタを含む画像処理装置であることを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。 - コンピュータに請求項1乃至9のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。
- 通信相手の装置との通信を確立して通信を行う通信方法であって、
前記通信相手の装置に所定の処理を実行させる場合、前記通信相手の装置との通信を一意に特定するための第1の情報を生成し、該第1の情報を前記通信相手の装置に送信する生成工程と、
前記通信相手の装置からの応答を受信し、前記応答に含まれる第2の情報と前記第1の情報が一致するかどうかを判断する判断工程と、
前記第1の情報と前記第2の情報とが一致しない場合には、前記所定の処理を実行できる状態で前記通信相手の装置を動作させるための指示を前記通信相手の装置に送信する指示工程とを有することを特徴とする通信方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017206332A JP6960302B2 (ja) | 2017-10-25 | 2017-10-25 | 通信装置、通信方法、及びプログラム |
US16/159,978 US10715685B2 (en) | 2017-10-25 | 2018-10-15 | Determining whether session IDs match and taking action accordingly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017206332A JP6960302B2 (ja) | 2017-10-25 | 2017-10-25 | 通信装置、通信方法、及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019079333A JP2019079333A (ja) | 2019-05-23 |
JP6960302B2 true JP6960302B2 (ja) | 2021-11-05 |
Family
ID=66170834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017206332A Active JP6960302B2 (ja) | 2017-10-25 | 2017-10-25 | 通信装置、通信方法、及びプログラム |
Country Status (2)
Country | Link |
---|---|
US (1) | US10715685B2 (ja) |
JP (1) | JP6960302B2 (ja) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005010913A (ja) * | 2003-06-17 | 2005-01-13 | Toshiba Corp | セッション管理方法 |
JP6167502B2 (ja) * | 2012-10-31 | 2017-07-26 | ブラザー工業株式会社 | 通信中継プログラム、通信中継装置、及び、画像処理装置 |
JP6075010B2 (ja) * | 2012-10-31 | 2017-02-08 | ブラザー工業株式会社 | 通信中継プログラム、及び、画像処理装置 |
JP6578849B2 (ja) * | 2015-09-24 | 2019-09-25 | 富士ゼロックス株式会社 | 情報処理装置及びプログラム |
JP6821373B2 (ja) * | 2016-10-06 | 2021-01-27 | キヤノン株式会社 | 画像処理装置、画像処理装置の制御方法、及びプログラム |
-
2017
- 2017-10-25 JP JP2017206332A patent/JP6960302B2/ja active Active
-
2018
- 2018-10-15 US US16/159,978 patent/US10715685B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US10715685B2 (en) | 2020-07-14 |
JP2019079333A (ja) | 2019-05-23 |
US20190124214A1 (en) | 2019-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6167502B2 (ja) | 通信中継プログラム、通信中継装置、及び、画像処理装置 | |
JP5377091B2 (ja) | 情報処理装置及びその制御方法 | |
JP6056795B2 (ja) | 画像処理システム、ゲートウェイ装置、ゲートウェイ装置の制御方法、ゲートウェイ装置の制御プログラム | |
CN111610939B (zh) | 图像形成设备及其控制方法和计算机可读存储介质 | |
JP2003316712A5 (ja) | ||
JP6062652B2 (ja) | 画像形成装置および情報処理装置 | |
JP5448691B2 (ja) | サーバ装置、クライアント装置、サーバ装置の制御方法、クライアント装置の制御方法、サーバ装置の制御プログラム及びクライアント装置の制御プログラム | |
JP3387466B2 (ja) | データ通信装置 | |
JP6960302B2 (ja) | 通信装置、通信方法、及びプログラム | |
CN107870823B (zh) | 电子装置和图像处理装置 | |
JP6366332B2 (ja) | プリントサーバ、制御方法およびコンピュータプログラム | |
JP2004021741A5 (ja) | ||
JP2005346739A (ja) | プリンタおよびプリンタジョブデータの転送方法 | |
JP2013049204A (ja) | 印刷装置、印刷方法 | |
JP5383415B2 (ja) | 通信装置及び通信装置の通信方法並びにプログラム | |
JP4892469B2 (ja) | 通信装置及びその制御方法、プログラム | |
JP4888099B2 (ja) | ネットワーク制御装置およびその制御方法 | |
JP6373087B2 (ja) | 情報処理装置と、その制御方法及びプログラム | |
JP4243831B2 (ja) | プリンタおよびプリンタジョブデータの転送方法 | |
JP6289094B2 (ja) | ネットワークインタフェース装置およびその制御方法 | |
JP2013059931A (ja) | データ処理装置、サーバー、データ処理方法 | |
JP5546189B2 (ja) | 画像形成装置、画像形成装置の制御方法及びプログラム | |
JP2006318359A (ja) | Usbシステム | |
JP4136687B2 (ja) | データ処理装置及びデータ処理方法 | |
JP7022508B2 (ja) | 通信装置、通信方法、及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201023 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210830 |
|
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: 20210910 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211011 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6960302 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |