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
JP7828237B2 - System, method and program - Google Patents
[go: Go Back, main page]

JP7828237B2 - System, method and program - Google Patents

System, method and program

Info

Publication number
JP7828237B2
JP7828237B2 JP2022087880A JP2022087880A JP7828237B2 JP 7828237 B2 JP7828237 B2 JP 7828237B2 JP 2022087880 A JP2022087880 A JP 2022087880A JP 2022087880 A JP2022087880 A JP 2022087880A JP 7828237 B2 JP7828237 B2 JP 7828237B2
Authority
JP
Japan
Prior art keywords
application
server
request
information
web
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
Application number
JP2022087880A
Other languages
Japanese (ja)
Other versions
JP2023175440A (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 JP2022087880A priority Critical patent/JP7828237B2/en
Publication of JP2023175440A publication Critical patent/JP2023175440A/en
Application granted granted Critical
Publication of JP7828237B2 publication Critical patent/JP7828237B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、システム、方法およびプログラムに関する。 The present invention relates to a system, method, and program.

Webアプリケーションで作成された作品のデータを、端末装置にインストールされたアプリケーションに取り込み、印刷装置から出力させる画像処理システムが知られている。特許文献1には、サーバと印刷装置間で直接印刷データを送受信する構成が記載されている。特許文献1では、プリンタの認証トークンと画像データとを紐づけてサーバで管理し、プリンタからサーバに対して、過去に印刷されたデータを要求可能にすることが記載されている。 An image processing system is known in which data for a work created using a web application is imported into an application installed on a terminal device and output from a printing device. Patent Document 1 describes a configuration in which print data is sent and received directly between a server and a printing device. Patent Document 1 also describes how a printer's authentication token is linked to image data and managed by the server, allowing the printer to request previously printed data from the server.

特開2015-179361号公報Japanese Patent Application Laid-Open No. 2015-179361

Webアプリケーションで作成されたデータを、装置にインストールされているアプリケーションを介して処理する場合において利便性を向上させることとセキュリティを確保することとが求められる。 When processing data created by a web application via an application installed on a device, it is necessary to improve convenience and ensure security.

本発明は、Webアプリケーションで作成されたデータをアプリケーションを介して処理する場合に利便性の向上とセキュリティの確保を実現する仕組みを提供することを目的とする。 The present invention aims to provide a mechanism that improves convenience and ensures security when processing data created by a web application via the application.

上記課題を解決するため、本発明に係るプログラムは、情報処理装置のコンピュータを、Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにおいて、前記サーバに対して一時的な認証情報を要求する第1要求手段、前記Webアプリケーションにおいて、前記第1要求手段による要求に応じて前記サーバから送信された前記認証情報を受信する第1受信手段、前記情報処理装置にインストールされており前記処理を実行するアプリケーションにおいて、前記第1受信手段により受信した前記認証情報を取得する第1取得手段、前記アプリケーションにおいて、前記サーバに対して前記認証情報を用いて前記ユーザに対して発行されているアカウント情報を要求する第2要求手段、前記アプリケーションにおいて、前記第2要求手段による要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得手段、前記アプリケーションにおいて、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理手段、として機能させる。 To solve the above problem, the program of the present invention causes a computer of an information processing device to function as follows: in the web application, when an instruction to process data stored on a server providing the web application is received from a user on a web application screen displayed by a web browser, a first request means in the web application that requests temporary authentication information from the server; a first receiving means in the web application that receives the authentication information sent from the server in response to the request by the first request means; a first acquisition means in an application installed on the information processing device and executing the process that acquires the authentication information received by the first receiving means; a second request means in the application that requests account information issued to the user from the server using the authentication information; a second acquisition means in the application that acquires and holds the account information sent from the server in response to the request by the second request means; and a processing means in the application that acquires and processes the data from the server using the account information.

本発明によれば、Webアプリケーションで作成されたデータを印刷アプリケーションを介して印刷させる場合に利便性の向上とセキュリティの確保を実現することができる。 This invention makes it possible to improve convenience and ensure security when printing data created in a web application via a print application.

印刷処理システムの構成を示す図である。FIG. 1 illustrates a configuration of a print processing system. 端末装置のハードウエア構成を示すブロック図である。FIG. 2 is a block diagram showing the hardware configuration of a terminal device. 印刷装置のハードウエア構成を示すブロック図である。FIG. 2 is a block diagram showing the hardware configuration of the printing apparatus. Webサーバのハードウエア構成を示すブロック図である。FIG. 2 is a block diagram showing the hardware configuration of a Web server. Webサーバのソフトウエア構成を示すブロック図である。FIG. 2 is a block diagram showing the software configuration of a Web server. 端末装置のソフトウエア構成を示すブロック図である。FIG. 2 is a block diagram showing the software configuration of the terminal device. Webアプリケーションの画面を示す図である。FIG. 10 is a diagram showing a screen of a web application. 印刷アプリケーションの画面を示す図である。FIG. 10 is a diagram illustrating a screen of a printing application. Webアプリケーションでポスター画像を作成するまでのシーケンス図である。FIG. 10 is a sequence diagram showing a process for creating a poster image using a web application. 印刷アプリケーションにより印刷を行う際のシーケンス図である。FIG. 10 is a sequence diagram illustrating a printing process performed by a printing application. ゲストIDを復元する処理を示すシーケンス図である。FIG. 10 is a sequence diagram showing a process of restoring a guest ID.

以下、添付図面を参照して実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 The following describes the embodiments in detail with reference to the attached drawings. Note that the following embodiments do not limit the scope of the claimed invention. While the embodiments describe multiple features, not all of these features are necessarily essential to the invention, and multiple features may be combined in any desired manner. Furthermore, in the attached drawings, the same reference numbers are used to designate identical or similar components, and redundant explanations will be omitted.

[第1実施形態]
図1は、本実施形態に係る印刷処理システムの構成の一例を示す図である。印刷処理システムは、端末装置101、印刷装置102、Webサーバ103を含んで構成され、ユーザは、Webサーバ103から提供されたWebアプリケーションで作成したデータを印刷アプリケーションを介して印刷させることができる。端末装置101は、例えばスマートフォン、PC(Personal Computer)、タブレット端末、携帯電話、PDA(Personal Digital Assistant)等の情報処理装置である。印刷装置102は、インク等の記録剤を紙等の記録媒体に付加することで、記録媒体上に画像を形成する(印刷する)プリンタである。印刷装置102は、複写機能、FAX機能、印刷機能等の複数の機能を備える複合機であってもよい。なお、本実施形態では、印刷装置102は、インクジェット記録方式によって印刷を行う装置であるものとするが、この形態に限られず、例えば、電子写真方式や熱昇華方式によって印刷を行う装置であっても良い。
[First embodiment]
FIG. 1 illustrates an example of the configuration of a print processing system according to this embodiment. The print processing system includes a terminal device 101, a printing device 102, and a web server 103. A user can print data created using a web application provided by the web server 103 via the printing application. The terminal device 101 is an information processing device such as a smartphone, a personal computer (PC), a tablet device, a mobile phone, or a personal digital assistant (PDA). The printing device 102 is a printer that applies a recording agent such as ink to a recording medium such as paper to form (print) an image on the recording medium. The printing device 102 may also be a multifunction device equipped with multiple functions, such as a copying function, a fax function, and a printing function. Note that in this embodiment, the printing device 102 is assumed to be a device that prints using an inkjet recording method. However, the present invention is not limited to this configuration and may be a device that prints using an electrophotographic method or a thermal dye sublimation method, for example.

端末装置101は、アクセスポイント100が構築したネットワークを介して印刷装置102と通信する。端末装置101には、後述する印刷アプリケーション等のプログラムが格納される。よって、印刷アプリケーションを用いて印刷データが、ネットワークを介して端末装置101から印刷装置102へ送信される。また、アクセスポイント100は、例えば無線LANルータとして機能し、端末装置101は、この無線LANルータを介してインターネットに接続される。よって、端末装置101は、後述するWebアプリケーションを制御するためのWebサーバ103と、インターネット経由で通信することが可能である。なお、端末装置101と印刷装置102は、各々アクセスポイント100と有線LANで接続されていても良い。また、端末装置101と印刷装置102は、互いに有線LANで接続されていても良い。 The terminal device 101 communicates with the printing device 102 via a network established by the access point 100. The terminal device 101 stores programs such as a printing application, which will be described later. Therefore, print data is sent from the terminal device 101 to the printing device 102 via the network using the printing application. The access point 100 also functions as, for example, a wireless LAN router, and the terminal device 101 is connected to the Internet via this wireless LAN router. Therefore, the terminal device 101 can communicate via the Internet with a web server 103, which controls a web application, which will be described later. The terminal device 101 and the printing device 102 may each be connected to the access point 100 via a wired LAN. The terminal device 101 and the printing device 102 may also be connected to each other via a wired LAN.

図2は、端末装置101のハードウエア構成の一例を示すブロック図である。端末装置101は、一例として、入力インタフェース201、CPU202、ROM203、表示部204、RAM205、外部記憶装置206、通信部207、近距離無線通信部208を有する。なお、以降図2乃至図4に示すブロックは、例えば内部バスを用いて相互に接続される。また、図2乃至図4においては、複数のブロックが1つのブロックにまとめられてもよいし、1つのブロックが2つ以上のブロックに分割されてもよい。 Figure 2 is a block diagram showing an example of the hardware configuration of the terminal device 101. As an example, the terminal device 101 has an input interface 201, a CPU 202, a ROM 203, a display unit 204, a RAM 205, an external storage device 206, a communication unit 207, and a short-range wireless communication unit 208. Note that the blocks shown in Figures 2 to 4 below are interconnected using, for example, an internal bus. Also, in Figures 2 to 4, multiple blocks may be combined into a single block, or a single block may be divided into two or more blocks.

CPU202は、システム制御部であり、装置全体を統括的に制御する。RAM205は、例えば、バックアップ電源を必要とするSRAM(Static RAM)等で構成される。なお、RAM205は、不図示のデータバックアップ用の一次電池によってデータが保持されるため、プログラム制御変数等のデータを揮発させずに記憶することができる。端末装置101の設定情報や管理データ等を記憶するメモリエリアもRAM205に設けられている。また、RAM205は、CPU202の主メモリ及びワークメモリとしても用いられる。ROM203は、CPU202が実行する制御プログラムやデータテーブル、OSプログラム等の固定データを記憶する。また、上記の印刷アプリケーションも記憶されている。本実施形態における端末装置101の動作は、例えば、CPU202がROM203に記憶されたプログラムをRAM205に読み出して実行することにより実現される。 The CPU 202 is a system control unit that controls the entire device. The RAM 205 is composed of, for example, static RAM (SRAM), which requires a backup power source. Because the RAM 205 uses a primary battery (not shown) for data backup, it can store data such as program control variables without volatilizing them. The RAM 205 also has a memory area for storing configuration information and management data for the terminal device 101. The RAM 205 is also used as the main memory and work memory for the CPU 202. The ROM 203 stores fixed data such as control programs, data tables, and OS programs executed by the CPU 202. The ROM 203 also stores the printing application described above. The operation of the terminal device 101 in this embodiment is realized, for example, by the CPU 202 reading programs stored in the ROM 203 into the RAM 205 and executing them.

表示部204は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、各種データに基づくUI画面を表示する。なお、表示部204は、タッチディスプレイ等で構成されてユーザから各種入力を受け付ける機能を有していても良い。すなわち、表示部204は、ユーザからのデータ入力や動作指示を受け付けるためのインタフェースであり、物理キーボードやボタン、タッチパネル等で構成される操作パネルであっても良い。 The display unit 204 is composed of an LED (light-emitting diode) or LCD (liquid crystal display), and displays a UI screen based on various data. The display unit 204 may also be composed of a touch display or the like, and have the function of accepting various inputs from the user. In other words, the display unit 204 is an interface for accepting data inputs and operational instructions from the user, and may also be an operation panel composed of a physical keyboard, buttons, touch panel, etc.

通信部207は、所定の無線通信方式に従って通信を行うための回路やアンテナを含んで構成される。例えば、通信部207は、アクセスポイント100に無線接続することが可能である。また、通信部207は、一時的に使用されるアクセスポイントとして動作する場合もある。本実施形態で使用される無線通信は、IEEE802.11規格シリーズに準拠した無線LANの無線通信方式(Wi-Fi)に従って動作する通信であっても良いし、他の無線通信方式に従って動作する通信であってもよい。 The communication unit 207 includes a circuit and an antenna for communicating according to a specified wireless communication method. For example, the communication unit 207 can wirelessly connect to the access point 100. The communication unit 207 may also operate as a temporary access point. The wireless communication used in this embodiment may be communication that operates according to a wireless LAN wireless communication method (Wi-Fi) that complies with the IEEE 802.11 standard series, or communication that operates according to another wireless communication method.

近距離無線通信部208は、端末装置101と一定の近距離範囲内に存在する他の装置と近距離無線通信を実行する。なお、近距離無線通信部208は、通信部207と異なる無線通信方式によって通信を行う。通信方式としては、例えば、Near Field Communication(NFC)、Bluetooth(登録商標) Classic、Bluetooth Low Energy(BLE)、Wi-Fi Aware等が挙げられる。 The short-range wireless communication unit 208 performs short-range wireless communication with other devices that are within a certain short-range range of the terminal device 101. Note that the short-range wireless communication unit 208 communicates using a wireless communication method different from that used by the communication unit 207. Examples of communication methods include Near Field Communication (NFC), Bluetooth (registered trademark) Classic, Bluetooth Low Energy (BLE), and Wi-Fi Aware.

図3は、印刷装置102のハードウエア構成の一例を示すブロック図である。印刷装置102において、印刷機能はプリンタ部301で実現され、スキャナ機能はスキャナ部302で実現され、ストレージ機能はメモリカード装着部303及びメモリカード304で実現される。プリンタ部301は、外部から受信した画像データやメモリカード304に格納されている画像データに基づいて印刷を実行する。また、プリンタ部301は、インク残量や用紙残量等の消耗品情報を管理している。スキャナ部302は、原稿台(不図示)にセットされた原稿を光学的に読み取って電子データに変換する。変換された電子データは、更に指定されたファイル形式に変換され、変換された画像データは、ネットワーク経由で外部装置に送信、或いはHDD等の保存領域(不図示)に格納される。また、コピー機能は、原稿台にセットされた原稿をスキャナ部302で読み取って生成された画像データがプリンタ部301へ転送され、プリンタ部301が記録媒体上にその画像データに基づく画像を印刷することで実現される。 Figure 3 is a block diagram showing an example of the hardware configuration of the printing device 102. In the printing device 102, the printing function is realized by the printer unit 301, the scanner function is realized by the scanner unit 302, and the storage function is realized by the memory card insertion unit 303 and memory card 304. The printer unit 301 executes printing based on image data received from an external device or image data stored on the memory card 304. The printer unit 301 also manages consumable information such as remaining ink and paper. The scanner unit 302 optically reads an original placed on a platen (not shown) and converts it into electronic data. The converted electronic data is further converted into a specified file format, and the converted image data is sent to an external device via a network or stored in a storage area (not shown) such as a HDD. The copy function is realized by the scanner unit 302 reading an original placed on the platen and generating image data, which is then transferred to the printer unit 301, which then prints an image based on the image data on a recording medium.

メモリカード装着部303に装着されたメモリカード304には、各種ファイルデータが格納される。このファイルデータは、ネットワークを介した外部装置が読み出して編集することが可能である。また、外部装置は、メモリカード304にファイルデータを格納することが可能である。 Various file data are stored on the memory card 304 inserted into the memory card insertion section 303. This file data can be read and edited by an external device via a network. The external device can also store file data on the memory card 304.

更に、印刷装置102は、CPU305、プログラムメモリ306、ワークメモリ307、表示部308、操作部309、ネットワーク通信部310、ネットワーク接続部311、フラッシュメモリ312を備える。CPU305は、印刷装置102内の各部を統括的に制御するためのプロセッサである。プログラムメモリ306は、ROMなどで構成され、各種プログラムコードや、Webサーバ103と通信するためのアプリケーション314が記憶されている。また、アプリケーション314は、プリンタ部301にアクセスして消耗品情報を取得することが可能であり、例えば、所定のタイミングにおいてWebサーバ103に消耗品残量を送信する。ワークメモリ307は、RAMなどで構成され、各サービス実行時に画像データなどを一時格納したり、バッファリングしたりする。本実施形態における印刷装置102の動作は、例えば、CPU305がROMに記憶されたプログラムをRAMに読み出して実行することにより実現される。 The printing device 102 further comprises a CPU 305, program memory 306, work memory 307, display unit 308, operation unit 309, network communication unit 310, network connection unit 311, and flash memory 312. The CPU 305 is a processor that provides overall control of each unit within the printing device 102. The program memory 306 is composed of ROM or the like, and stores various program codes and an application 314 for communicating with the web server 103. The application 314 can also access the printer unit 301 to obtain consumable information, for example, by sending the remaining amount of consumables to the web server 103 at a predetermined timing. The work memory 307 is composed of RAM or the like, and temporarily stores and buffers image data and the like when each service is executed. The operation of the printing device 102 in this embodiment is realized, for example, by the CPU 305 reading programs stored in ROM into RAM and executing them.

表示部308は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、各種データに基づくUI画面を表示する。操作部309は、ユーザが各種の入力操作を行うためのスイッチ等からなる。ネットワーク通信部310は、ネットワーク接続部311を介してインターネット等のネットワークと接続され、各種通信を行う。なお、ネットワーク通信部310は、例えば有線LANや無線LANによって外部と通信する。ネットワーク通信部310が有線LAN対応の場合のネットワーク接続部311は例えば、有線LANのケーブルを接続するためのコネクタであり、ネットワーク通信部310が無線LAN対応の場合のネットワーク接続部311は例えばアンテナである。なお、ネットワーク接続部311は、有線LANおよび無線LANの両者に対応していても良い。本実施形態では、ネットワーク通信部310は、無線LANに対応しており、IEEE802.11規格シリーズに準拠した無線LANの無線通信方式に従ってアクセスポイント100と接続するものとする。フラッシュメモリ312は、ネットワーク通信部310が受信した画像データなどを記憶するための不揮発性メモリである。そして、上述した各部は、バス313で相互に接続される。 The display unit 308 is composed of LEDs (light-emitting diodes) and LCDs (liquid crystal displays), and displays UI screens based on various data. The operation unit 309 is composed of switches and other devices that allow the user to perform various input operations. The network communication unit 310 is connected to a network such as the Internet via the network connection unit 311 and performs various communications. The network communication unit 310 communicates with the outside world, for example, via a wired LAN or wireless LAN. If the network communication unit 310 is compatible with a wired LAN, the network connection unit 311 is, for example, a connector for connecting a wired LAN cable. If the network communication unit 310 is compatible with a wireless LAN, the network connection unit 311 is, for example, an antenna. The network connection unit 311 may be compatible with both wired and wireless LANs. In this embodiment, the network communication unit 310 is compatible with a wireless LAN and connects to the access point 100 in accordance with a wireless LAN wireless communication method compliant with the IEEE 802.11 standard series. Flash memory 312 is a non-volatile memory for storing image data received by network communication unit 310. The above-mentioned units are interconnected via bus 313.

なお本実施形態においてさらに、印刷装置102は、特色インクを用いて印刷可能な印刷装置であっても良い。特色インクとは、特色(以下、「スポットカラー」とも称する。)を発現するインクであり、例えば、印刷時に発現する色でSRGBの色空間では表示不可能なインクである。つまり、印刷装置102は、通常のインク以外のスポットカラーのインク(つまり、特色インクであり、以下、「スポットカラーインク」とも称する。)を用いた印刷であるスポットカラー印刷が可能な構成となっている。「通常のインク」とは、プロセスカラー(通常色)の印刷を行うためのインクであり、プロセスカラーの基本となるシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)等の色のインクである。なおプロセスカラーとは、CMYKのうちの1つの色、またはCMYKのうちの2以上の色の組み合わせによって表現される色である。また本実施形態では、スポットカラーインクとして、蛍光ピンクのインク、蛍光オレンジのインクが用いられる。すなわちスポットカラーとは、プロセスカラーとは異なる色であり、CMYKのうちの1つの色、またはCMYKのうちの2以上の色の組み合わせだけでは表現できない色である。しかしながら、この形態に限定されず、スポットカラーインクの数や色は、任意のものであって良く、蛍光色でない色のインクを使用しても良い。例えば、スポットカラーインクとして、ヴァイオレットのインク、グリーンのインク、オレンジのインク、金色のインク、銀色のインク等が用いられても良い。また、他の金属色のインクが用いられても良い。さらに、特色インクと他のインク(例えば通常のインク)とが調合されたインクも特色インクとして扱われても良い。また本実施形態では、画像データのうち特色で印刷されるオブジェクトには、それが特色で印刷されることを示す情報(特色情報と呼ぶ)が関連付けられている。そして、特色情報が付加されている画素は、当該画素のRGB値に対応する特色によって印刷が行われる。なお、特色に対応する画素のRGB値は、通常のインクのみによって表現される色(すなわち、通常色)に対応する画素のRGB値としても利用されうる。言い換えれば、特色に対応する画素のRGB値と同じRGB値が、通常のインクのみによって表現される色に対応する画素にも設定されることがある。その場合において、当該RGB値の画素の印刷に特殊なインクを用いるか否かは、特色情報が付加されているか否かによって制御される。 In this embodiment, the printing device 102 may also be capable of printing using spot color inks. Spot color inks are inks that produce spot colors (hereinafter also referred to as "spot colors"). For example, these are colors that are produced during printing and cannot be displayed in the SRGB color space. In other words, the printing device 102 is configured to perform spot color printing, which is printing using spot color inks other than regular inks (i.e., spot color inks, hereinafter also referred to as "spot color inks"). "Regular inks" are inks used to print process colors (regular colors), such as cyan (C), magenta (M), yellow (Y), and black (K), which are the basis of process colors. Note that a process color is a color expressed using one color from the CMYK palette, or a combination of two or more colors from the CMYK palette. In this embodiment, fluorescent pink ink and fluorescent orange ink are used as spot color inks. In other words, spot colors are colors that differ from process colors and cannot be expressed using only one CMYK color or a combination of two or more CMYK colors. However, this is not limited to this example, and the number and colors of spot color inks may be arbitrary, and non-fluorescent inks may also be used. For example, violet ink, green ink, orange ink, gold ink, silver ink, etc. may be used as spot color inks. Other metallic inks may also be used. Furthermore, inks blended with spot color inks and other inks (e.g., regular inks) may also be treated as spot color inks. In this embodiment, objects in the image data that are to be printed in spot colors are associated with information indicating that they will be printed in spot colors (referred to as spot color information). Pixels to which spot color information is added are printed using the spot color corresponding to the RGB values of the pixel. The RGB values of pixels corresponding to spot colors can also be used as the RGB values of pixels corresponding to colors expressed using regular inks alone (i.e., regular colors). In other words, the same RGB values as those of a pixel corresponding to a spot color may also be set for a pixel corresponding to a color expressed using only regular ink. In such cases, whether or not special ink is used to print the pixel with that RGB value is controlled by whether or not spot color information has been added.

図4は、Webサーバ103のハードウエア構成の一例を示すブロック図である。CPU401は、装置を統括的に制御するためのプロセッサである。ディスク装置402は、CPU401が読み出すアプリケーションプログラム412やデータベース413やOSの他、各種ファイルを格納する。外部記憶メディア読取装置403は、SDカードなどの外部記憶媒体に記憶されたファイルなどの情報を読み出すための装置である。メモリ404は、RAMなどで構成され、CPU401が必要に応じてデータの一時的格納やバッファリング等を行う。本実施形態におけるWebサーバ103の動作は、例えば、CPU401がディスク装置402に記憶されたプログラムをメモリ404に読み出して実行することにより実現される。 Figure 4 is a block diagram showing an example of the hardware configuration of the web server 103. The CPU 401 is a processor that provides overall control of the device. The disk device 402 stores various files, as well as application programs 412, databases 413, and the OS that are read by the CPU 401. The external storage media reader 403 is a device for reading information such as files stored on external storage media such as SD cards. The memory 404 is composed of RAM or the like, and is used by the CPU 401 to temporarily store and buffer data as needed. In this embodiment, the operation of the web server 103 is realized, for example, by the CPU 401 reading a program stored in the disk device 402 into the memory 404 and executing it.

表示部405は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、各種データに基づくUI画面を表示する。操作部406は、ユーザが各種入力操作を行うためのキーボードやマウスなどからなる。ネットワーク通信部407は、ネットワーク接続部408を介してインターネット等のネットワークと接続され、各種の通信を行う。なお、ネットワーク通信部407は、例えば有線LANや無線LANによって通信する。ネットワーク通信部407が有線LAN対応の場合のネットワーク接続部408は例えば、有線LANのケーブルを接続するためのコネクタであり、ネットワーク通信部407が無線LAN対応の場合のネットワーク接続部408は例えばアンテナである。なお、ネットワーク接続部408は、有線LANおよび無線LANの両者に対応していても良い。USB(Universal Serial Bus)通信部410は、各種周辺装置とUSB接続部411を介して接続され、USB規格によって各種通信を行う。そして、上述の各部はバス409で相互に接続される。なおWebサーバ103は、1又は複数のサーバによって構成されるサーバシステムであっても良い。すなわち例えば、複数のサーバが連携して動作することで、1つのWebサーバ103として機能しても良い。 The display unit 405 is composed of LEDs (light-emitting diodes) and LCDs (liquid crystal displays), and displays UI screens based on various data. The operation unit 406 is composed of a keyboard, mouse, and other devices that allow the user to perform various input operations. The network communication unit 407 is connected to a network such as the Internet via a network connection unit 408, and performs various communications. The network communication unit 407 communicates, for example, via a wired LAN or wireless LAN. If the network communication unit 407 is compatible with a wired LAN, the network connection unit 408 is, for example, a connector for connecting a wired LAN cable, and if the network communication unit 407 is compatible with a wireless LAN, the network connection unit 408 is, for example, an antenna. The network connection unit 408 may be compatible with both wired LAN and wireless LAN. The USB (Universal Serial Bus) communication unit 410 is connected to various peripheral devices via a USB connection unit 411, and performs various communications according to the USB standard. The above-mentioned components are interconnected via a bus 409. The web server 103 may also be a server system made up of one or more servers. That is, for example, multiple servers may work in conjunction with one another to function as a single web server 103.

図5は、Webサーバ103のソフトウエア構成の一例を示すブロック図である。フロントエンド502は、主に端末装置101のWebブラウザの表示制御を行う。具体的には、フロントエンド502は、Webブラウザ上で実行されるプログラム(JavaScript)を管理・保持する。より具体的には、ブラウザでのユーザ操作を制御するUI(ユーザインタフェース)制御部504、アプリケーションで作成するポスター等の作品編集の処理を行うポスター編集部503、ユーザ認証を行うユーザ認証部507を実行するためのプログラム(JavaScript)を管理・保持する。そしてフロントエンド502は、端末装置101に送信される(ダウンロードされる)ことで、端末装置101のWebブラウザに、上記プログラムによる表示を行わせる。すなわち端末装置101は、上記プログラムを受信した場合に、当該プログラムを用いて、Webブラウザ上に当該プログラムに対応する画面を表示する。バックエンド505は、ユーザ管理部506、ユーザ認証部507、コンテンツ管理部508、レンダリング処理部509を含んで構成される。ユーザ管理部506は、ユーザを識別するユーザ情報を管理する。例えば、cookieに含まれるユーザ情報が管理される。ユーザ認証部507は、ユーザ情報に関連付けてユーザごとに一意な識別子を発行する。識別子はアカウント情報であり、例えば後述するゲストIDである。コンテンツ管理部508は、アプリケーションで作成された画像データ等のコンテンツの管理を行う。レンダリング処理部509は、コンテンツ管理部508に管理されているコンテンツに対してレンダリング処理を行う。なおフロントエンド502と、バックエンド505は別々のサーバによって保持されていても良い。 Figure 5 is a block diagram showing an example of the software configuration of the web server 103. The front end 502 mainly controls the display of the web browser of the terminal device 101. Specifically, the front end 502 manages and stores programs (JavaScript) executed on the web browser. More specifically, it manages and stores programs (JavaScript) for executing a UI (user interface) control unit 504 that controls user operations on the browser, a poster editing unit 503 that processes editing of works such as posters created by the application, and a user authentication unit 507 that performs user authentication. The front end 502 is then sent (downloaded) to the terminal device 101, causing the web browser of the terminal device 101 to display the above programs. In other words, when the terminal device 101 receives the above programs, it uses the programs to display a screen corresponding to the programs on the web browser. The backend 505 is composed of a user management unit 506, a user authentication unit 507, a content management unit 508, and a rendering processing unit 509. The user management unit 506 manages user information that identifies users. For example, user information contained in cookies is managed. The user authentication unit 507 issues a unique identifier for each user in association with the user information. The identifier is account information, such as a guest ID (described below). The content management unit 508 manages content such as image data created by an application. The rendering processing unit 509 performs rendering processing on content managed by the content management unit 508. Note that the frontend 502 and the backend 505 may be held by separate servers.

図6(a)は、端末装置101がPCの場合のソフトウエア構成の一例を示すブロック図である。Webブラウザ601は、Webブラウザであり、例えば、「Internet Explorer」「Microsoft Edge」「Google Chrome」「Firefox」「Safari」が用いられても良い。なお端末装置101は、Webブラウザ601によって所定のURLを用いてWebサーバ103にアクセスすることで、フロントエンド502をダウンロードする。そして、フロントエンド502を、Webブラウザ601上で動作させる。すなわち、フロントエンド502がダウンロードされた状態では、フロントエンド502も端末装置101のソフトウエア構成の一部となる。 Figure 6(a) is a block diagram showing an example of the software configuration when the terminal device 101 is a PC. The web browser 601 is a web browser, and may be, for example, Internet Explorer, Microsoft Edge, Google Chrome, Firefox, or Safari. The terminal device 101 downloads the front end 502 by accessing the web server 103 using a specific URL with the web browser 601. The front end 502 then runs on the web browser 601. In other words, once the front end 502 has been downloaded, it also becomes part of the software configuration of the terminal device 101.

印刷アプリケーション602は、ユーザにより設定された印刷設定に基づいて印刷を行うためのアプリケーションプログラム(以下、単にアプリケーション)であり、印刷設定処理部603、サムネイル表示部604を含んで構成される。例えば、印刷アプリケーション602は、Webアプリケーション501と対応づけられたネイティブアプリケーションであり、Webアプリケーション501により作成されたコンテンツデータを印刷装置に印刷させるためのアプリケーションである。印刷設定処理部603は、印刷設定を行う。サムネイル表示部604は、ユーザにより作成されたポスター画像のデータ(ポスターデータ)に基づいてサムネイル表示を行う。本実施形態では、印刷アプリケーション602は、Webサーバ103とは異なるサーバから、端末装置101にダウンロード及びインストールが実行されることにより、端末装置101に保存される。端末装置101がPCの場合、印刷装置102で印刷させるための印刷データの生成処理は、プリンタドライバ605が行う。プリンタドライバ605は、プリンタの機種情報606、印刷データ生成処理部607を含んで構成される。プリンタドライバ605は、プリンタのベンダにより配布され、ユーザがインストールすることにより使用することが可能である。また、プリンタドライバ605は、OSに同梱されている場合もある。機種情報606には、プリンタ毎の印刷時に使用可能な設定情報等が格納されている。使用可能な設定情報とは、例えば、給紙方法の設定値、用紙の種類等である。 The print application 602 is an application program (hereinafter simply referred to as the application) for printing based on print settings set by the user, and includes a print setting processing unit 603 and a thumbnail display unit 604. For example, the print application 602 is a native application associated with the web application 501, and is an application for causing a printing device to print content data created by the web application 501. The print setting processing unit 603 performs print settings. The thumbnail display unit 604 displays thumbnails based on poster image data (poster data) created by the user. In this embodiment, the print application 602 is downloaded and installed to the terminal device 101 from a server different from the web server 103, and is then saved in the terminal device 101. When the terminal device 101 is a PC, the printer driver 605 generates print data for printing on the printing device 102. The printer driver 605 includes printer model information 606 and a print data generation processing unit 607. The printer driver 605 is distributed by the printer vendor and can be used by the user after installation. The printer driver 605 may also be included with the OS. The model information 606 stores setting information that can be used when printing for each printer. Usable setting information includes, for example, the paper feed method setting and paper type.

図6(b)は、端末装置101がモバイル端末の場合のソフトウエア構成の一例を示すブロック図である。図6(a)との差分について説明する。端末装置101がモバイル端末の場合は、プリンタドライバ605が存在しない。そのため、端末装置101には、印刷データ生成処理を行う印刷処理モジュール608が構成される。印刷処理モジュール608は、機種情報取得処理部609を含む。機種情報取得処理部609は、印刷装置102から機種情報606を取得する。なお、取得された機種情報606は、例えば外部記憶装置206に格納される。 Figure 6(b) is a block diagram showing an example of the software configuration when the terminal device 101 is a mobile terminal. The differences from Figure 6(a) will be explained. When the terminal device 101 is a mobile terminal, the printer driver 605 does not exist. Therefore, the terminal device 101 is configured with a print processing module 608 that performs print data generation processing. The print processing module 608 includes a model information acquisition processing unit 609. The model information acquisition processing unit 609 acquires model information 606 from the printing device 102. The acquired model information 606 is stored, for example, in the external storage device 206.

図7は、フロントエンド502のUI制御部504によってWebブラウザ601に表示されるWebアプリケーション501の画面の一例を示す図である。なお当該画面は、上述したように、フロントエンド502が保持するプログラムによって、端末装置101のブラウザに表示される。本実施形態では、ポスター画像を作成して印刷するためのWebアプリケーションを例に説明する。領域701は、ポスター画像のテンプレートが一覧表示される領域である。領域702は、ポスター画像に貼り付け可能な写真が一覧表示される領域である。領域703は、ポスター画像に貼り付け可能なクリップアートが一覧表示される領域である。例えば領域701の一覧からユーザが所望のテンプレートを選択すると、編集エリア704に選択されたテンプレートが表示され、編集可能な状態となる。ユーザは、編集エリア704に表示されたテンプレートに対して編集を行い、ポスターデータを生成することが可能である。領域702と領域703それぞれの一覧からユーザが所望のオブジェクトを選択すると、その選択されたオブジェクトが編集エリア704に表示されているテンプレートに重ねて表示される。ユーザにより保存ボタン705が押下されると、ユーザが作成したポスターデータがコンテンツ管理部508にコンテンツとして保存される。ユーザにより印刷ボタン706が押下されると、後述する印刷アプリケーション602が起動される。ユーザ情報復元ボタン707については後述する。 Figure 7 shows an example of a screen of the web application 501 displayed on the web browser 601 by the UI control unit 504 of the front end 502. As described above, this screen is displayed on the browser of the terminal device 101 by a program stored in the front end 502. In this embodiment, a web application for creating and printing a poster image will be described as an example. Area 701 is an area where a list of poster image templates is displayed. Area 702 is an area where a list of photos that can be pasted on the poster image is displayed. Area 703 is an area where a list of clip art that can be pasted on the poster image is displayed. For example, when a user selects a desired template from the list in area 701, the selected template is displayed in editing area 704 and becomes editable. The user can edit the template displayed in editing area 704 and generate poster data. When a user selects a desired object from the list in each of areas 702 and 703, the selected object is displayed superimposed on the template displayed in editing area 704. When the user presses the save button 705, the poster data created by the user is saved as content in the content management unit 508. When the user presses the print button 706, the print application 602, which will be described later, is launched. The user information restore button 707 will be described later.

図8は、印刷アプリケーション602の画面の一例を示す図である。本画面は印刷アプリケーション602の画面であることから、Webブラウザ601が用いられずに表示される画面である。プレビュー表示エリア801には、バックエンド505によって作成されたポスターデータのサムネイルが表示される。プリンタ選択ボタン802は、ユーザが所望のプリンタを選択するためのボタンであり、押下されると、接続されているプリンタの一覧が表示される。プレビュー表示エリア801にポスターデータのサムネイルが表示された状態で印刷ボタン803がユーザにより押下されると、プリンタ選択803で選択されたプリンタにポスター画像を印刷させる処理が開始される。 Figure 8 shows an example of the screen of the print application 602. Because this screen is the screen of the print application 602, it is displayed without using the web browser 601. The preview display area 801 displays a thumbnail of the poster data created by the backend 505. The printer selection button 802 is a button that allows the user to select the desired printer, and when pressed, a list of connected printers is displayed. When the user presses the print button 803 while a thumbnail of the poster data is displayed in the preview display area 801, processing begins to print the poster image on the printer selected in the printer selection 803.

図1で示した印刷処理システムでは、ユーザが端末装置101のWebブラウザ601を用いてWebアプリケーション501上でポスター画像を作成する。作成されたポスター画像は、印刷アプリケーション602を用いて記録媒体上に印刷される。 In the print processing system shown in Figure 1, a user creates a poster image on the web application 501 using the web browser 601 of the terminal device 101. The created poster image is printed on a recording medium using the print application 602.

図9は、ユーザがWebブラウザ601を用いてWebアプリケーション501にアクセスし、ユーザに対応したIDが発行されるまでのシーケンスを示す図である。ユーザに対応したIDが発行されると、ユーザは、Webアプリケーション501上でポスター画像を作成可能な状態となる。なお、図9では、端末装置101のWebブラウザ601を介してユーザ操作を受け付けるフロントエンド502と、Webサーバ103側のバックエンド505との間のシーケンスとして示されている。なおフロントエンド502の処理は、端末装置101にフロントエンド502がダウンロードされた状態で実行されるものとする。すなわち、フロントエンド502の処理は、端末装置101がフロントエンド502によって実行する処理に相当する。より具体的には、フロントエンド502の処理は、CPU202がROM203等に格納されたフロントエンド502やWebブラウザ601等のプログラムを実行することで実現される。またバックエンド505の処理は、バックエンド505によってWebサーバ103が実行する処理に相当する。より具体的には、バックエンド505の処理は、CPU401がディスク装置402等に格納されたバックエンド505等のプログラムを実行することで実現される。 Figure 9 shows the sequence from when a user accesses the web application 501 using the web browser 601 until an ID corresponding to the user is issued. Once an ID corresponding to the user is issued, the user is able to create a poster image on the web application 501. Note that Figure 9 shows the sequence between the front end 502, which accepts user operations via the web browser 601 of the terminal device 101, and the back end 505 on the web server 103 side. Note that the processing of the front end 502 is executed after the front end 502 has been downloaded to the terminal device 101. In other words, the processing of the front end 502 corresponds to the processing executed by the front end 502 on the terminal device 101. More specifically, the processing of the front end 502 is realized by the CPU 202 executing programs such as the front end 502 and the web browser 601 stored in the ROM 203, etc. The processing of the back end 505 corresponds to the processing executed by the web server 103 via the back end 505. More specifically, backend 505 processing is realized by the CPU 401 executing programs such as backend 505 stored in the disk device 402, etc.

S901において、ユーザは、端末装置101のWebブラウザ601を用いて、Webアプリケーション501にアクセスする。Webアプリケーション501へのアクセスは、例えばWebブラウザ601がユーザによるURIの指定入力を受け付けることにより行われる。 In S901, the user accesses the web application 501 using the web browser 601 of the terminal device 101. Access to the web application 501 is performed, for example, by the web browser 601 accepting a URI specification input by the user.

S902において、フロントエンド502は、Webブラウザ601を介して受け付けたWebページのリクエストをバックエンド505に送信する。また、Webページのリクエストが送信される際、Webブラウザ601によりユーザ情報を含むcookie等もWebサーバ103(バックエンド505)に送信される。例えば、従前に図9の処理が行われていた場合には、S902で送信されるユーザ情報には後述するゲストIDが含まれる。 In S902, the front end 502 sends the web page request received via the web browser 601 to the back end 505. When the web page request is sent, the web browser 601 also sends a cookie or the like containing user information to the web server 103 (back end 505). For example, if the processing in Figure 9 has been performed previously, the user information sent in S902 includes a guest ID, which will be described later.

S903において、バックエンド505は、フロントエンド502からのWebページのリクエストにユーザ情報が含まれているか否かを判定する。そして、ユーザ情報が含まれていると判定した場合にはさらに、バックエンド505は、ユーザ管理部506に当該ユーザ情報が存在するか否かを判定する。 In S903, the backend 505 determines whether the web page request from the frontend 502 includes user information. If it is determined that user information is included, the backend 505 further determines whether the user information exists in the user management unit 506.

S904において、バックエンド505は、S902で送信されたWebページのリクエストにユーザ情報が含まれていないと判定した場合、もしくは、Webページのリクエストに含まれるユーザ情報がユーザ管理部506に存在しないと判定した場合には、ユーザ認証部507によりユーザ識別子(以下、ゲストID(もしくはゲストアカウント)と呼ぶ)を発行してユーザ管理部506に保存する。 In S904, if the backend 505 determines that the web page request sent in S902 does not contain user information, or if it determines that the user information contained in the web page request does not exist in the user management unit 506, the user authentication unit 507 issues a user identifier (hereinafter referred to as a guest ID (or guest account)) and stores it in the user management unit 506.

S905において、バックエンド505は、Webページおよび発行したゲストIDをフロントエンド502に送信する。S906において、フロントエンド502は、バックエンド505から受信したゲストIDをWebブラウザ601に保存する。 In S905, the backend 505 sends the web page and the issued guest ID to the frontend 502. In S906, the frontend 502 saves the guest ID received from the backend 505 in the web browser 601.

以後、ユーザがWebアプリケーション501にアクセスする際には、Webブラウザ601に保存されているゲストIDがユーザ情報としてバックエンド505に送信される。バックエンド505は、そのゲストIDにより、アクセスしたユーザが同一のユーザであることを認識することができる。このように、本実施形態では、ユーザは、Webアプリケーション501へのログイン操作を行う必要がなく、ログインを行うためにアカウント作成を行う必要がないので、利便性を向上させることができる。 Thereafter, when the user accesses the web application 501, the guest ID stored in the web browser 601 is sent to the backend 505 as user information. The backend 505 can recognize that the accessing user is the same user based on the guest ID. In this way, in this embodiment, the user does not need to perform a login operation to the web application 501, and there is no need to create an account to log in, thereby improving convenience.

ゲストIDが発行されてWebブラウザ601に保存されると、Webアプリケーション501上でユーザによりポスター画像が作成可能となる。作成されたポスター画像のデータ(ポスターデータ)は、ユーザ指示に応じて、印刷アプリケーション602を介して印刷される。Webブラウザ601を用いてWebアプリケーション501上でユーザにより作成されたポスターデータは、バックエンド505に保存されている。そのため、印刷アプリケーション602は、印刷を行うためには、バックエンド505に、ユーザが作成したポスターデータを問い合わせて取得する必要がある。本実施形態では、ポスターデータを取得する際に、S904でバックエンド505により発行され且つS906でWebブラウザ601に保存されているゲストIDが用いられる。ここで、ゲストIDはユーザ識別に用いられるセキュアな情報であるので、その漏洩の可能性を抑えることができる仕組みが求められる。 Once a guest ID is issued and saved in the web browser 601, the user can create a poster image on the web application 501. The data for the created poster image (poster data) is printed via the print application 602 in accordance with a user instruction. Poster data created by the user on the web application 501 using the web browser 601 is saved in the backend 505. Therefore, in order to print, the print application 602 must query the backend 505 to acquire the poster data created by the user. In this embodiment, when acquiring the poster data, the guest ID issued by the backend 505 in S904 and saved in the web browser 601 in S906 is used. Here, since the guest ID is secure information used to identify the user, a mechanism is required that can reduce the possibility of its leakage.

そこで、本実施形態では、一時認証情報(以下、ワンタイムパスワードと呼ぶ)を用いる。ワンタイムパスワードを用いることで、Webブラウザ601のゲストIDを安全に印刷アプリケーション602に渡すことができる。 For this reason, this embodiment uses temporary authentication information (hereinafter referred to as a one-time password). By using a one-time password, the guest ID of the web browser 601 can be securely passed to the print application 602.

図10は、ワンタイムパスワードを用いてWebブラウザ601のゲストIDを印刷アプリケーション602に渡す処理を示すフローチャートである。なお、図10において、フロントエンド502と印刷アプリケーション602の間のシーケンスは、端末装置101内において行われる。なおフロントエンド502の処理は、端末装置101にフロントエンド502がダウンロードされた状態で実行されるものとする。すなわち、フロントエンド502の処理は、端末装置101がフロントエンド502によって実行する処理に相当する。より具体的には、フロントエンド502の処理は、CPU202がROM203等に格納されたフロントエンド502やWebブラウザ601等のプログラムを実行することで実現される。また印刷アプリケーション602の処理は、端末装置101が印刷アプリケーション602によって実行する処理に相当する。より具体的には、印刷アプリケーション602の処理は、CPU202がROM203等に格納された印刷アプリケーション602等のプログラムを実行することで実現される。またバックエンド505の処理は、バックエンド505によってWebサーバ103が実行する処理に相当する。より具体的には、バックエンド505の処理は、CPU401がディスク装置402等に格納されたバックエンド505等のプログラムを実行することで実現される。 Figure 10 is a flowchart showing the process of passing the guest ID of the web browser 601 to the print application 602 using a one-time password. Note that in Figure 10, the sequence between the front end 502 and the print application 602 is performed within the terminal device 101. Note that the processing of the front end 502 is executed with the front end 502 downloaded to the terminal device 101. In other words, the processing of the front end 502 corresponds to the processing executed by the terminal device 101 using the front end 502. More specifically, the processing of the front end 502 is realized by the CPU 202 executing programs such as the front end 502 and the web browser 601 stored in the ROM 203, etc. Furthermore, the processing of the print application 602 corresponds to the processing executed by the terminal device 101 using the print application 602. More specifically, the processing of the print application 602 is realized by the CPU 202 executing programs such as the print application 602 stored in the ROM 203, etc. Furthermore, the processing of the backend 505 corresponds to the processing executed by the web server 103 via the backend 505. More specifically, the processing of the backend 505 is realized by the CPU 401 executing a program such as the backend 505 stored in the disk device 402 or the like.

S1001において、ユーザは、端末装置101のWebブラウザ601で表示されるWebアプリケーション501の画面上の印刷ボタン706を押下する。S1002において、フロントエンド502は、バックエンド505に、印刷対象のポスターデータの印刷ジョブの作成を依頼する。また、フロントエンド502は、S1003において、URLスキーマで印刷アプリケーション602を起動する。 In S1001, the user presses the print button 706 on the screen of the web application 501 displayed on the web browser 601 of the terminal device 101. In S1002, the front end 502 requests the back end 505 to create a print job for the poster data to be printed. In addition, in S1003, the front end 502 launches the print application 602 using the URL schema.

印刷アプリケーション602を起動することが初回である場合などには、印刷アプリケーション602には、ユーザ情報(ゲストID)が存在しない。その場合、S1004~S1012の処理により、フロントエンド502から渡されたワンタイムパスワードを用いて、バックエンド505経由でゲストIDを取得する。一方、ユーザ情報(ゲストID)が存在する場合にはS1003からS1013に進み、ゲストIDを用いてバックエンド505へのポスターデータのリクエストが、印刷アプリケーション602からバックエンド505に送信される。 If this is the first time the print application 602 is launched, the print application 602 does not have user information (guest ID). In this case, the processes of S1004 to S1012 use the one-time password passed from the front end 502 to obtain the guest ID via the back end 505. On the other hand, if user information (guest ID) does exist, the process proceeds from S1003 to S1013, and a request for poster data is sent from the print application 602 to the back end 505 using the guest ID.

S1004において、印刷アプリケーション602は、Webブラウザ601を起動する。なお、このとき既に、Webブラウザ601によりWebサーバ103との間でゲストIDによるセッションは確立されている。Webブラウザ601が印刷アプリケーション602により起動された後、S1005において、フロントエンド502は、Webブラウザ601が保持しているゲストIDを付加してバックエンド505にワンタイムパスワードのリクエストを送信する。なお、S1003及びS1004では、フロントエンド502は、Webブラウザ601に保持されているゲストIDを印刷アプリケーション602に渡さない。 In S1004, the print application 602 launches the web browser 601. At this time, a session using the guest ID has already been established between the web browser 601 and the web server 103. After the web browser 601 is launched by the print application 602, in S1005 the front end 502 adds the guest ID held by the web browser 601 and sends a one-time password request to the back end 505. In S1003 and S1004, the front end 502 does not pass the guest ID held in the web browser 601 to the print application 602.

S1006において、バックエンド505は、フロントエンド502から受信したゲストIDのユーザに紐づけられたワンタイムパスワードを生成(発行)する。そして、S1007において、バックエンド505は、生成したワンタイムパスワードをフロントエンド502に送信する。 In S1006, the backend 505 generates (issues) a one-time password associated with the user of the guest ID received from the frontend 502. Then, in S1007, the backend 505 sends the generated one-time password to the frontend 502.

S1008において、フロントエンド502は、URLスキーマにワンタイムパスワードを付加して印刷アプリケーション602を起動する。フロントエンド502は、この起動動作により、ワンタイムパスワードを印刷アプリケーション602に渡す。このようにして、印刷アプリケーション602は、バックエンド505でゲストIDに紐付けられて発行されたワンタイムパスワードを、フロントエンド502を介して取得する。S1008でも、フロントエンド502は、Webブラウザ601に保持されているゲストIDを印刷アプリケーション602に渡さない。 In S1008, the front end 502 adds the one-time password to the URL schema and launches the print application 602. Through this launch operation, the front end 502 passes the one-time password to the print application 602. In this way, the print application 602 obtains, via the front end 502, the one-time password that was issued in the back end 505 and associated with the guest ID. Also in S1008, the front end 502 does not pass the guest ID held in the web browser 601 to the print application 602.

S1009において、印刷アプリケーション602は、バックエンド505から取得したワンタイムパスワードを用いて、直接、バックエンド505にゲストIDのリクエストを送信する。本実施形態では、印刷アプリケーション602は、ワンタイムパスワードをフロントエンド502から渡されると、バックエンド505に対して、そのワンタイムパスワードと、認証鍵と、ゲストIDのリクエストとを送信するように構成されている。ここで、認証鍵とは、印刷アプリケーション602とバックエンド505との間で規定されており、印刷アプリケーション602に予め組み込まれている。即ち、バックエンド505は、ワンタイムパスワードを受け付けても、正規の認証鍵を受け付けなければ、ゲストIDを返信しない。例えば印刷アプリケーション602が偽の印刷アプリケーションであった場合には、S1009で認証鍵が送信されないかもしくは偽の認証鍵が送信されることになる。その場合、バックエンド505は、ゲストIDを返信しない。また、本実施形態では、フロントエンド502から印刷アプリケーション602にゲストIDを直接渡すことがない。従って、本実施形態によれば、ゲストIDの漏洩の可能性を抑えることができる。また、認証鍵の送信は、ワンタイムパスワードで規定される期限内に限られることになるので、認証鍵の外部ネットワークへの流出の機会を抑えることができる。 In S1009, the print application 602 uses the one-time password acquired from the backend 505 to directly send a request for a guest ID to the backend 505. In this embodiment, when the print application 602 receives a one-time password from the frontend 502, it is configured to send the one-time password, an authentication key, and a request for a guest ID to the backend 505. Here, the authentication key is defined between the print application 602 and the backend 505 and is pre-installed in the print application 602. In other words, even if the backend 505 receives a one-time password, it will not return a guest ID unless it also receives a legitimate authentication key. For example, if the print application 602 is a fake print application, either no authentication key will be sent in S1009 or a fake authentication key will be sent. In this case, the backend 505 will not return a guest ID. Furthermore, in this embodiment, the frontend 502 does not directly pass the guest ID to the print application 602. Therefore, this embodiment reduces the possibility of the guest ID being leaked. Additionally, the transmission of the authentication key is limited to the expiration date specified by the one-time password, reducing the chances of the authentication key leaking to external networks.

S1010において、ワンタイムパスワードを受信したバックエンド505は、ワンタイムパスワードに紐づけられたゲストIDを取得する。そして、S1011において、バックエンド505は、印刷アプリケーション602に、S1010で取得したゲストIDを送信する。なお、ここでは、印刷アプリケーション602が正規の印刷アプリケーションであることを前提としている。しかしながら、印刷アプリケーション602が偽の印刷アプリケーションである場合には、上記の認証鍵による認証が失敗となるので、S1011でのゲストIDの送信は行われない。S1012において、印刷アプリケーション602は、バックエンド502から送信されたゲストIDを保存する。 In S1010, the backend 505 receives the one-time password and acquires the guest ID linked to the one-time password. Then, in S1011, the backend 505 sends the guest ID acquired in S1010 to the print application 602. Note that it is assumed here that the print application 602 is a legitimate print application. However, if the print application 602 is a fake print application, authentication using the above authentication key will fail, and the guest ID will not be sent in S1011. In S1012, the print application 602 saves the guest ID sent from the backend 502.

このように、本実施形態では、バックエンド505で発行されたワンタイムパスワードを用いることで、フロントエンド502に保存されているゲストIDをバックエンド505を介して印刷アプリケーション602に安全に渡すことができる。 In this way, in this embodiment, by using a one-time password issued by the backend 505, the guest ID stored in the frontend 502 can be securely passed to the print application 602 via the backend 505.

S1013において、印刷アプリケーション602は、S1012で保存されたゲストIDを用いてバックエンド505に対して、ポスターデータのリクエストを送信する。S1014において、バックエンド505は、S1002で依頼された印刷ジョブのポスターデータをレンダリングし、印刷ジョブとともにポスターデータを印刷アプリケーション602に送信する。S1016において、印刷アプリケーション602は、印刷装置102に印刷ジョブを投入し、S1015で受信したポスターデータに基づいてポスター画像を記録媒体上に印刷させる。 In S1013, the print application 602 sends a request for poster data to the backend 505 using the guest ID saved in S1012. In S1014, the backend 505 renders the poster data for the print job requested in S1002 and sends the poster data along with the print job to the print application 602. In S1016, the print application 602 submits a print job to the printing device 102, which prints a poster image on a recording medium based on the poster data received in S1015.

以上のように、本実施形態によれば、ユーザは、Webアプリケーション501及び印刷アプリケーション602に、事前に作成したアカウントへのログイン無しに、Webアプリケーション501上で作成されたポスターデータを印刷することが可能である。そのため、印刷アプリケーション602とWebアプリケーション501とを紐づけるためのアカウントを事前に作成する必要がなく、利便性を向上させることができる。なお印刷アプリケーション602とWebアプリケーション501との紐づけとはすなわち、Webアプリケーション501上で作成されたポスターデータを印刷アプリケーション602によって印刷可能な状態とすることである。また、本実施形態では、紐づけのためにユーザが事前にアカウントを生成する必要がないため、事前にユーザにより生成されたアカウントを管理する管理サーバとの通信無しに、印刷アプリケーション602とWebアプリケーション501とを紐づけることができる。言い換えれば、バックエンド505を有するWebサーバ103とフロントエンド502及び印刷アプリケーション602を有する端末装置101との間の通信だけで、印刷アプリケーション602とWebアプリケーション501とを紐づけることができる。また、ユーザを個別に認証する認証サーバを不要とすることができ、印刷までの構成を簡易化することができる。また、ユーザを識別するためのゲストIDを安全に印刷アプリケーション602に渡すことができる。 As described above, according to this embodiment, a user can print poster data created on the web application 501 without logging in to a previously created account in the web application 501 and the print application 602. This eliminates the need to create an account in advance to link the print application 602 to the web application 501, improving convenience. Linking the print application 602 to the web application 501 means making the poster data created on the web application 501 printable by the print application 602. Furthermore, in this embodiment, the user does not need to create an account in advance for linking, so the print application 602 and the web application 501 can be linked without communicating with a management server that manages accounts previously created by the user. In other words, the print application 602 and the web application 501 can be linked simply by communication between the web server 103 having the backend 505 and the terminal device 101 having the frontend 502 and the print application 602. This also eliminates the need for an authentication server that authenticates users individually, simplifying the configuration leading up to printing. Furthermore, the guest ID used to identify the user can be securely passed to the print application 602.

なお、本実施形態では、印刷装置102で印刷させる印刷データの一例としてポスターデータを説明したが、ポスターデータに限られない。ポスター印刷のような大判印刷用のデータでなく、例えば葉書等の比較的小さいサイズの印刷データであっても良い。ユーザがWebアプリケーション501上で作成した画像データを、印刷アプリケーション602により印刷装置102で印刷可能な構成であれば、本実施形態の動作を適用することができる。 In this embodiment, poster data has been described as an example of print data to be printed by the printing device 102, but it is not limited to poster data. It is not limited to data for large-format printing such as poster printing, but may also be print data of a relatively small size, such as a postcard. The operation of this embodiment can be applied as long as the configuration allows image data created by the user on the web application 501 to be printed on the printing device 102 using the print application 602.

[第2実施形態]
以下、第1実施形態と異なる点について第2実施形態を説明する。図9では、バックエンド505は、cokkie等のWebブラウザ601に保存されたユーザ情報でユーザを判別していた。そのため、Webブラウザ601の履歴が削除されたり、ユーザが端末装置101にインストールされている別のブラウザを使用したりしたケースにおいて、別ユーザとして扱われてしまう。具体的には、S902でユーザ情報が送信されないので、バックエンド505で新規ゲストIDが発行されてしまい、S905においてフロントエンド502に新しいゲストIDが返却されてWebブラウザ601に保存される。すると、フロントエンド502では、バックエンド505で保存されている旧ゲストIDで作成されたデータを表示できなくなってしまう。そこで、本実施形態では、旧ゲストIDを保存している印刷アプリケーション602を用いて、Webブラウザ601に旧ゲストIDを復元させる処理を行う。
Second Embodiment
The second embodiment will be described below, focusing on differences from the first embodiment. In FIG. 9 , the backend 505 identifies users based on user information, such as cookies, stored in the web browser 601. Therefore, if the web browser 601 history is deleted or the user uses a different browser installed on the terminal device 101, the user is treated as a different user. Specifically, because user information is not sent in S902, a new guest ID is issued in the backend 505, and the new guest ID is returned to the frontend 502 and saved in the web browser 601 in S905. This means that the frontend 502 cannot display data created using the old guest ID saved in the backend 505. Therefore, in this embodiment, a process is performed to restore the old guest ID to the web browser 601 using the print application 602 that saves the old guest ID.

図11は、印刷アプリケーション602を用いてWebブラウザ601のゲストIDを復元させる処理を示すシーケンス図である。なお、図11において、フロントエンド502と印刷アプリケーション602の間のシーケンスは、端末装置101内において行われる。本実施形態では、前提として、印刷アプリケーション602には第1実施形態の動作によりゲストID(第1ゲストID)が保存されており、Webブラウザ601には上記のケースによりゲストIDが保存されていないものとする。 Figure 11 is a sequence diagram showing the process of restoring the guest ID of the web browser 601 using the print application 602. Note that in Figure 11, the sequence between the front end 502 and the print application 602 is performed within the terminal device 101. In this embodiment, it is assumed that the guest ID (first guest ID) is stored in the print application 602 by the operation of the first embodiment, and that the guest ID is not stored in the web browser 601 due to the above case.

S1101において、ユーザは、端末装置101のWebブラウザ601を用いて、Webアプリケーション501にアクセスする。Webアプリケーション501へのアクセスは、例えばWebブラウザ601がユーザによるURIの指定入力を受け付けることにより行われる。 In S1101, the user accesses the web application 501 using the web browser 601 of the terminal device 101. Access to the web application 501 is performed, for example, by the web browser 601 accepting a URI specification input by the user.

S1102において、フロントエンド502は、Webブラウザ601を介して受け付けたWebページのリクエストをバックエンド505に送信する。また、Webページのリクエストが送信される際、Webブラウザ601によりユーザ情報を含むcookie等もWebサーバ103(バックエンド505)に送信される。 In S1102, the front end 502 sends the web page request received via the web browser 601 to the back end 505. When the web page request is sent, the web browser 601 also sends a cookie or the like containing user information to the web server 103 (back end 505).

S1102でWebページのリクエストが送信される際、送信される情報にゲストIDは含まれていない。そのため、S1103において、バックエンド505は、新規ユーザとみなして新しいゲストID(第2ゲストID)を発行し、S1104において、Webページおよび発行した第2ゲストIDをフロントエンド502に送信する。フロントエンド502は、バックエンド505から受信した第2ゲストIDをWebブラウザ601に保存する。 When a web page request is sent in S1102, the sent information does not include a guest ID. Therefore, in S1103, the backend 505 considers the user to be a new user and issues a new guest ID (second guest ID), and in S1104 sends the web page and the issued second guest ID to the frontend 502. The frontend 502 saves the second guest ID received from the backend 505 in the web browser 601.

この時点で、Webブラウザ601には第1ゲストIDが保存されておらず、フロントエンド502では、第1ゲストIDで作成されたポスターデータを表示することができない。本実施形態では、そのような場合においても、ユーザ情報復元ボタン707の押下により、第1ゲストIDをWebブラウザ601に復活させ、フロントエンド502で、第1ゲストIDで作成されたポスターデータを表示させることが可能となる。 At this point, the first guest ID is not saved in the web browser 601, and the front end 502 cannot display the poster data created with the first guest ID. In this embodiment, even in such a case, pressing the user information restore button 707 restores the first guest ID to the web browser 601, making it possible to display the poster data created with the first guest ID on the front end 502.

S1105において、ユーザは、Webブラウザ601で表示されるWebアプリケーション501の画面上のユーザ情報復元ボタン707を押下する。S1106において、フロントエンド502は、URLスキーマに第2ゲストIDを付加して印刷アプリケーション602を起動する。 In S1105, the user presses the user information restore button 707 on the screen of the web application 501 displayed in the web browser 601. In S1106, the front end 502 adds the second guest ID to the URL schema and launches the print application 602.

S1107において、印刷アプリケーション602は、起動後に、第1ゲストIDを読み込む。この時、印刷アプリケーション602は、S1106でフロントエンド502から受信した第2ゲストIDを保存しても良いし、破棄しても良い。保存して複数のゲストIDを管理可能とする場合、S1107では、復元可能なゲストIDを印刷アプリケーション602の画面に一覧表示し、復元したいゲストIDをユーザが選択可能としても良い。S1108において、印刷アプリケーション602は、Webブラウザ601を起動し、S1107で読み込んだ第1ゲストIDをWebブラウザ601に共有させる。 In S1107, after startup, the print application 602 reads the first guest ID. At this time, the print application 602 may save or discard the second guest ID received from the front end 502 in S1106. If multiple guest IDs are saved and can be managed, in S1107, the print application 602 may display a list of guest IDs that can be restored on its screen, allowing the user to select the guest ID they wish to restore. In S1108, the print application 602 launches the web browser 601 and shares the first guest ID read in S1107 with the web browser 601.

S1109において、Webブラウザ601は、S1108で印刷アプリケーション602と共有した第1ゲストIDを用いてバックエンド505に、ポスターデータのリクエストを送信する。S1110において、バックエンド505は、第1ゲストIDに対応するポスターデータを読み込み、S1111において、フロントエンド502に送信する。これにより、フロントエンド502は、第1ゲストIDで識別されるユーザにより作成されたデータを表示することが可能となる。S1112において、フロントエンド502は、S1108で印刷アプリケーション602と共有した第1ゲストIDをWebブラウザ601に保存する。 In S1109, the web browser 601 sends a request for poster data to the backend 505 using the first guest ID shared with the print application 602 in S1108. In S1110, the backend 505 reads the poster data corresponding to the first guest ID and sends it to the frontend 502 in S1111. This enables the frontend 502 to display data created by the user identified by the first guest ID. In S1112, the frontend 502 saves the first guest ID shared with the print application 602 in S1108 in the web browser 601.

以上のように、本実施形態によれば、新たなWebブラウザの使用により一度失効したゲストIDを印刷アプリケーション602から復元させ、過去のゲストIDで作成したポスターデータに再度アクセス可能とすることができる。 As described above, according to this embodiment, a guest ID that has once expired can be restored from the print application 602 by using a new web browser, making it possible to access poster data created with a previous guest ID again.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention can also be realized by supplying a program that realizes one or more of the functions of the above-described embodiments to a system or device via a network or storage medium, and having one or more processors in the computer of that system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that realizes one or more functions.

本実施形態の開示は、以下のプログラム、システムおよび方法を含む。
(項目1)
情報処理装置のコンピュータを、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにおいて、前記サーバに対して一時的な認証情報を要求する第1要求手段、
前記Webアプリケーションにおいて、前記第1要求手段による要求に応じて前記サーバから送信された前記認証情報を受信する第1受信手段、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにおいて、前記第1受信手段により受信した前記認証情報を取得する第1取得手段、
前記アプリケーションにおいて、前記サーバに対して前記認証情報を用いて前記ユーザに対して発行されているアカウント情報を要求する第2要求手段、
前記アプリケーションにおいて、前記第2要求手段による要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得手段、
前記アプリケーションにおいて、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理手段、
として機能させるためのプログラム。
(項目2)
前記第1取得手段による前記認証情報の取得が行われる前に、前記アプリケーションにより前記Webブラウザが起動されていることを特徴とする項目1に記載のプログラム。
(項目3)
前記アプリケーションは、前記アカウント情報を前記Webアプリケーションのバックエンドから取得し、前記Webアプリケーションのフロントエンドからは取得しないことを特徴とする項目1又は2に記載のプログラム。
(項目4)
前記第1要求手段による前記認証情報の要求は、前記アプリケーションに前記アカウント情報が保持されていない場合に行われることを特徴とする項目1乃至3のいずれか1項に記載のプログラム。
(項目5)
前記Webアプリケーションにおいて、前記サーバで前記ユーザに対して発行された前記アカウント情報を受信する受信手段、としてさらにコンピュータを機能させる項目1乃至4のいずれか1項に記載のプログラム。
(項目6)
前記アプリケーションに前記アカウント情報が保持されている状態で、前記受信手段により前記アカウント情報と異なる第2アカウント情報を前記サーバから受信した場合、前記Webアプリケーションにおいて前記アプリケーションを起動する起動手段、
前記Webアプリケーションにおいて、前記起動手段により起動された前記アプリケーションから前記アカウント情報を取得する第3取得手段、
としてさらにコンピュータを機能させる項目5に記載のプログラム。
(項目7)
前記起動手段は、前記Webアプリケーションの画面上で前記ユーザからの指示を受け付けることにより、前記アプリケーションを起動することを特徴とする項目6に記載のプログラム。
(項目8)
前記Webアプリケーションにおいて、前記第3取得手段により取得した前記アカウント情報を用いて前記サーバから前記データを取得する第4取得手段、としてさらにコンピュータを機能させる項目6又は7に記載のプログラム。
(項目9)
前記アカウント情報は、ゲストアカウントであることを特徴とする項目1乃至8のいずれか1項に記載のプログラム。
(項目10)
前記Webアプリケーションは、コンテンツを作成するためのWebアプリケーションであることを特徴とする項目1乃至9のいずれか1項に記載のプログラム。
(項目11)
前記アプリケーションは、前記Webアプリケーションにより作成されたコンテンツを印刷装置で印刷させるためのネイティブアプリケーションであることを特徴とする項目1乃至10のいずれか1項に記載のプログラム。
(項目12)
サーバと情報処理装置とを含むシステムであって、
前記情報処理装置は、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求手段と、
前記Webアプリケーションにより、前記第1要求手段による要求に応じて前記サーバから送信された前記認証情報を受信する第1受信手段と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信手段により受信した前記認証情報を取得する第1取得手段と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求手段と、
前記アプリケーションにより、前記第2要求手段による要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得手段と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理手段と、を備え、
前記サーバは、
前記Webブラウザによる前記サーバへのアクセスで用いられる情報に基づいて、前記アカウント情報を発行する発行手段と、
前記第1要求手段による要求に応じて、前記アカウント情報に対応する前記認証情報を生成して前記情報処理装置に送信する第1送信手段と、
前記第2要求手段による要求に応じて、前記アカウント情報を前記情報処理装置に送信する第2送信手段と、を備える、
ことを特徴とするシステム。
(項目13)
前記Webブラウザによる前記サーバへのアクセスで用いられる情報は、cookieであることを特徴とする項目12に記載のシステム。
(項目14)
情報処理装置において実行される方法であって、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求工程と、
前記Webアプリケーションにより、前記第1要求工程における要求に応じて前記サーバから送信された前記認証情報を受信する第1受信工程と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信工程において受信した前記認証情報を取得する第1取得工程と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求工程と、
前記アプリケーションにより、前記第2要求工程における要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得工程と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理工程と、
を有する方法。
(項目15)
サーバと情報処理装置とを含むシステムにおいて実行される方法であって、
前記情報処理装置において、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求工程と、
前記Webアプリケーションにより、前記第1要求工程における要求に応じて前記サーバから送信された前記認証情報を受信する第1受信工程と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信工程において受信した前記認証情報を取得する第1取得工程と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求工程と、
前記アプリケーションにより、前記第2要求工程における要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得工程と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理工程と、
前記サーバにおいて、
前記Webブラウザによる前記サーバへのアクセスで用いられる情報に基づいて、前記アカウント情報を発行する発行工程と、
前記第1要求工程における要求に応じて、前記アカウント情報に対応する前記認証情報を生成して前記情報処理装置に送信する第1送信工程と、
前記第2要求工程における要求に応じて、前記アカウント情報を前記情報処理装置に送信する第2送信工程と、
を有することを特徴とする方法。
The disclosure of the present embodiment includes the following programs, systems, and methods.
(Item 1)
The computer of the information processing device,
a first request means for, when an instruction to process data stored in a server that provides a web application is received from a user on a screen of the web application displayed by a web browser, requesting temporary authentication information from the server in the web application;
a first receiving means, in the web application, for receiving the authentication information transmitted from the server in response to the request made by the first requesting means;
a first acquisition means for acquiring the authentication information received by the first reception means, in an application that is installed in the information processing device and that executes the process;
a second request means, in the application, for requesting account information issued to the user from the server using the authentication information;
a second acquisition means, in the application, for acquiring and holding the account information transmitted from the server in response to the request made by the second request means;
a processing means in the application for acquiring the data from the server using the account information and processing the data;
A program to function as a
(Item 2)
2. The program according to item 1, wherein the web browser is started by the application before the first acquisition unit acquires the authentication information.
(Item 3)
3. The program according to item 1 or 2, wherein the application obtains the account information from a back end of the web application, and does not obtain the account information from a front end of the web application.
(Item 4)
4. The program according to claim 1, wherein the request for authentication information by the first request means is made when the account information is not held in the application.
(Item 5)
5. The program according to any one of items 1 to 4, further causing a computer to function as a receiving unit for receiving the account information issued to the user by the server in the web application.
(Item 6)
a launching means for launching the application in the web application when the receiving means receives second account information different from the account information from the server while the account information is held in the application;
a third acquisition means for acquiring the account information from the application started by the starting means, in the web application;
6. The program according to item 5, further causing a computer to function as:
(Item 7)
7. The program according to item 6, wherein the launching means launches the application by accepting an instruction from the user on a screen of the web application.
(Item 8)
8. The program according to item 6 or 7, further causing a computer to function as a fourth acquisition means in the web application that acquires the data from the server using the account information acquired by the third acquisition means.
(Item 9)
9. The program according to any one of items 1 to 8, wherein the account information is a guest account.
(Item 10)
10. The program according to any one of items 1 to 9, wherein the web application is a web application for creating content.
(Item 11)
11. The program according to any one of items 1 to 10, wherein the application is a native application for causing a printing device to print content created by the web application.
(Item 12)
A system including a server and an information processing device,
The information processing device includes:
a first request means for, when an instruction to process data stored in a server that provides a web application is received from a user on a screen of the web application displayed by a web browser, requesting temporary authentication information from the server by the web application;
a first receiving means for receiving, by the web application, the authentication information transmitted from the server in response to the request made by the first requesting means;
a first acquisition means for acquiring the authentication information received by the first reception means by an application that is installed on the information processing device and that executes the process;
a second request means for requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition means for acquiring and storing the account information transmitted from the server in response to a request from the second request means by the application;
a processing means for acquiring the data from the server using the account information by the application and processing the data;
The server
an issuing means for issuing the account information based on information used in accessing the server by the web browser;
a first transmitting means for generating the authentication information corresponding to the account information in response to a request from the first requesting means and transmitting the generated authentication information to the information processing device;
and second transmission means for transmitting the account information to the information processing device in response to a request from the second request means.
A system characterized by:
(Item 13)
Item 13. The system according to item 12, wherein the information used in accessing the server by the web browser is a cookie.
(Item 14)
A method executed in an information processing device,
a first request step of requesting temporary authentication information from a server that provides a web application when an instruction to process data stored in the server is received from a user on a screen of the web application displayed by a web browser;
a first receiving step of receiving, by the web application, the authentication information transmitted from the server in response to the request made in the first requesting step;
a first acquisition step of acquiring the authentication information received in the first reception step by an application that is installed in the information processing device and that executes the process;
a second request step of requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition step of acquiring and storing the account information transmitted from the server in response to the request in the second request step by the application;
a processing step of acquiring the data from the server using the account information by the application and processing the data;
A method having the following.
(Item 15)
A method executed in a system including a server and an information processing device,
In the information processing device,
a first request step of requesting temporary authentication information from a server that provides a web application when an instruction to process data stored in the server is received from a user on a screen of the web application displayed by a web browser;
a first receiving step of receiving, by the web application, the authentication information transmitted from the server in response to the request made in the first requesting step;
a first acquisition step of acquiring the authentication information received in the first reception step by an application that is installed in the information processing device and that executes the process;
a second request step of requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition step of acquiring and storing the account information transmitted from the server in response to the request in the second request step by the application;
a processing step of acquiring the data from the server using the account information by the application and processing the data;
In the server,
an issuing step of issuing the account information based on information used in accessing the server by the web browser;
a first transmission step of generating the authentication information corresponding to the account information in response to the request in the first request step and transmitting the authentication information to the information processing device;
a second transmitting step of transmitting the account information to the information processing device in response to the request in the second requesting step;
A method comprising:

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Therefore, the following claims are appended to clarify the scope of the invention.

101 端末装置: 102 印刷装置: 103 Webサーバ: 202、305、401 CPU 101 Terminal device: 102 Printing device: 103 Web server: 202, 305, 401 CPU

Claims (15)

情報処理装置のコンピュータを、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにおいて、前記サーバに対して一時的な認証情報を要求する第1要求手段、
前記Webアプリケーションにおいて、前記第1要求手段による要求に応じて前記サーバから送信された前記認証情報を受信する第1受信手段、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにおいて、前記第1受信手段により受信した前記認証情報を取得する第1取得手段、
前記アプリケーションにおいて、前記サーバに対して前記認証情報を用いて前記ユーザに対して発行されているアカウント情報を要求する第2要求手段、
前記アプリケーションにおいて、前記第2要求手段による要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得手段、
前記アプリケーションにおいて、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理手段、
として機能させるためのプログラム。
The computer of the information processing device,
a first request means for, when an instruction to process data stored in a server that provides a web application is received from a user on a screen of the web application displayed by a web browser, requesting temporary authentication information from the server in the web application;
a first receiving means, in the web application, for receiving the authentication information transmitted from the server in response to the request made by the first requesting means;
a first acquisition means for acquiring the authentication information received by the first reception means, in an application that is installed in the information processing device and that executes the process;
a second request means, in the application, for requesting account information issued to the user from the server using the authentication information;
a second acquisition means, in the application, for acquiring and holding the account information transmitted from the server in response to the request made by the second request means;
a processing means in the application for acquiring the data from the server using the account information and processing the data;
A program to function as a
前記第1取得手段による前記認証情報の取得が行われる前に、前記アプリケーションにより前記Webブラウザが起動されていることを特徴とする請求項1に記載のプログラム。 The program described in claim 1, characterized in that the web browser is launched by the application before the first acquisition means acquires the authentication information. 前記アプリケーションは、前記アカウント情報を前記Webアプリケーションのバックエンドから取得し、前記Webアプリケーションのフロントエンドからは取得しないことを特徴とする請求項1又は2に記載のプログラム。 The program described in claim 1 or 2, characterized in that the application obtains the account information from the backend of the web application, and not from the frontend of the web application. 前記第1要求手段による前記認証情報の要求は、前記アプリケーションに前記アカウント情報が保持されていない場合に行われることを特徴とする請求項1又は2に記載のプログラム。 The program described in claim 1 or 2, characterized in that the request for authentication information by the first request means is made when the account information is not stored in the application. 前記Webアプリケーションにおいて、前記サーバで前記ユーザに対して発行された前記アカウント情報を受信する受信手段、としてさらにコンピュータを機能させる請求項1又は2に記載のプログラム。 The program described in claim 1 or 2 further causes a computer to function as a receiving means for receiving the account information issued to the user by the server in the web application. 前記アプリケーションに前記アカウント情報が保持されている状態で、前記受信手段により前記アカウント情報と異なる第2アカウント情報を前記サーバから受信した場合、前記Webアプリケーションにおいて前記アプリケーションを起動する起動手段、
前記Webアプリケーションにおいて、前記起動手段により起動された前記アプリケーションから前記アカウント情報を取得する第3取得手段、
としてさらにコンピュータを機能させる請求項5に記載のプログラム。
a launching means for launching the application in the web application when the receiving means receives second account information different from the account information from the server while the account information is held in the application;
a third acquisition means for acquiring the account information from the application started by the starting means, in the web application;
6. The program according to claim 5, further causing a computer to function as:
前記起動手段は、前記Webアプリケーションの画面上で前記ユーザからの指示を受け付けることにより、前記アプリケーションを起動することを特徴とする請求項6に記載のプログラム。 The program described in claim 6, characterized in that the launching means launches the application by accepting an instruction from the user on the screen of the web application. 前記Webアプリケーションにおいて、前記第3取得手段により取得した前記アカウント情報を用いて前記サーバから前記データを取得する第4取得手段、としてさらにコンピュータを機能させる請求項6に記載のプログラム。 The program described in claim 6 further causes the computer to function as a fourth acquisition means in the web application that acquires the data from the server using the account information acquired by the third acquisition means. 前記アカウント情報は、ゲストアカウントであることを特徴とする請求項1又は2に記載のプログラム。 The program described in claim 1 or 2, characterized in that the account information is a guest account. 前記Webアプリケーションは、コンテンツを作成するためのWebアプリケーションであることを特徴とする請求項1又は2に記載のプログラム。 The program described in claim 1 or 2, characterized in that the web application is a web application for creating content. 前記アプリケーションは、前記Webアプリケーションにより作成されたコンテンツを印刷装置で印刷させるためのネイティブアプリケーションであることを特徴とする請求項1又は2に記載のプログラム。 The program described in claim 1 or 2, characterized in that the application is a native application for printing content created by the web application on a printing device. サーバと情報処理装置とを含むシステムであって、
前記情報処理装置は、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求手段と、
前記Webアプリケーションにより、前記第1要求手段による要求に応じて前記サーバから送信された前記認証情報を受信する第1受信手段と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信手段により受信した前記認証情報を取得する第1取得手段と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求手段と、
前記アプリケーションにより、前記第2要求手段による要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得手段と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理手段と、を備え、
前記サーバは、
前記Webブラウザによる前記サーバへのアクセスで用いられる情報に基づいて、前記アカウント情報を発行する発行手段と、
前記第1要求手段による要求に応じて、前記アカウント情報に対応する前記認証情報を生成して前記情報処理装置に送信する第1送信手段と、
前記第2要求手段による要求に応じて、前記アカウント情報を前記情報処理装置に送信する第2送信手段と、を備える、
ことを特徴とするシステム。
A system including a server and an information processing device,
The information processing device includes:
a first request means for, when an instruction to process data stored in a server that provides a web application is received from a user on a screen of the web application displayed by a web browser, requesting temporary authentication information from the server by the web application;
a first receiving means for receiving, by the web application, the authentication information transmitted from the server in response to the request made by the first requesting means;
a first acquisition means for acquiring the authentication information received by the first reception means by an application that is installed on the information processing device and that executes the process;
a second request means for requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition means for acquiring and storing the account information transmitted from the server in response to a request from the second request means by the application;
a processing means for acquiring the data from the server using the account information by the application and processing the data;
The server
an issuing means for issuing the account information based on information used in accessing the server by the web browser;
a first transmitting means for generating the authentication information corresponding to the account information in response to a request from the first requesting means and transmitting the generated authentication information to the information processing device;
and second transmission means for transmitting the account information to the information processing device in response to a request from the second request means.
A system characterized by:
前記Webブラウザによる前記サーバへのアクセスで用いられる情報は、cookieであることを特徴とする請求項12に記載のシステム。 The system described in claim 12, characterized in that the information used by the web browser to access the server is a cookie. 情報処理装置において実行される方法であって、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求工程と、
前記Webアプリケーションにより、前記第1要求工程における要求に応じて前記サーバから送信された前記認証情報を受信する第1受信工程と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信工程において受信した前記認証情報を取得する第1取得工程と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求工程と、
前記アプリケーションにより、前記第2要求工程における要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得工程と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理工程と、
を有する方法。
A method executed in an information processing device,
a first request step of requesting temporary authentication information from a server that provides a web application when an instruction to process data stored in the server is received from a user on a screen of the web application displayed by a web browser;
a first receiving step of receiving, by the web application, the authentication information transmitted from the server in response to the request made in the first requesting step;
a first acquisition step of acquiring the authentication information received in the first reception step by an application that is installed in the information processing device and that executes the process;
a second request step of requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition step of acquiring and storing the account information transmitted from the server in response to the request in the second request step by the application;
a processing step of acquiring the data from the server using the account information by the application and processing the data;
A method having the following.
サーバと情報処理装置とを含むシステムにおいて実行される方法であって、
前記情報処理装置において、
Webブラウザにより表示されたWebアプリケーションの画面上で、前記Webアプリケーションを提供するサーバに格納されたデータの処理の指示をユーザから受け付けた場合、前記Webアプリケーションにより、前記サーバに対して一時的な認証情報を要求する第1要求工程と、
前記Webアプリケーションにより、前記第1要求工程における要求に応じて前記サーバから送信された前記認証情報を受信する第1受信工程と、
前記情報処理装置にインストールされており前記処理を実行するアプリケーションにより、前記第1受信工程において受信した前記認証情報を取得する第1取得工程と、
前記アプリケーションにより、前記サーバに対して前記認証情報を用いて前記ユーザに発行されているアカウント情報を要求する第2要求工程と、
前記アプリケーションにより、前記第2要求工程における要求に応じて前記サーバから送信された前記アカウント情報を取得して保持する第2取得工程と、
前記アプリケーションにより、前記アカウント情報を用いて前記サーバから前記データを取得して処理する処理工程と、
前記サーバにおいて、
前記Webブラウザによる前記サーバへのアクセスで用いられる情報に基づいて、前記アカウント情報を発行する発行工程と、
前記第1要求工程における要求に応じて、前記アカウント情報に対応する前記認証情報を生成して前記情報処理装置に送信する第1送信工程と、
前記第2要求工程における要求に応じて、前記アカウント情報を前記情報処理装置に送信する第2送信工程と、
を有することを特徴とする方法。
A method executed in a system including a server and an information processing device,
In the information processing device,
a first request step of requesting temporary authentication information from a server that provides a web application when an instruction to process data stored in the server is received from a user on a screen of the web application displayed by a web browser;
a first receiving step of receiving, by the web application, the authentication information transmitted from the server in response to the request made in the first requesting step;
a first acquisition step of acquiring the authentication information received in the first reception step by an application that is installed in the information processing device and that executes the process;
a second request step of requesting account information issued to the user from the server using the authentication information by the application;
a second acquisition step of acquiring and storing the account information transmitted from the server in response to the request in the second request step by the application;
a processing step of acquiring the data from the server using the account information by the application and processing the data;
In the server,
an issuing step of issuing the account information based on information used in accessing the server by the web browser;
a first transmission step of generating the authentication information corresponding to the account information in response to the request in the first request step and transmitting the authentication information to the information processing device;
a second transmitting step of transmitting the account information to the information processing device in response to the request in the second requesting step;
A method comprising:
JP2022087880A 2022-05-30 2022-05-30 System, method and program Active JP7828237B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022087880A JP7828237B2 (en) 2022-05-30 2022-05-30 System, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022087880A JP7828237B2 (en) 2022-05-30 2022-05-30 System, method and program

Publications (2)

Publication Number Publication Date
JP2023175440A JP2023175440A (en) 2023-12-12
JP7828237B2 true JP7828237B2 (en) 2026-03-11

Family

ID=89121208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022087880A Active JP7828237B2 (en) 2022-05-30 2022-05-30 System, method and program

Country Status (1)

Country Link
JP (1) JP7828237B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127352A1 (en) 2014-10-31 2016-05-05 Vmware, Inc. Step-up authentication for single sign-on
US20170142111A1 (en) 2015-11-17 2017-05-18 Avaya Inc. Accessing local information based on a browser session

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127352A1 (en) 2014-10-31 2016-05-05 Vmware, Inc. Step-up authentication for single sign-on
US20170142111A1 (en) 2015-11-17 2017-05-18 Avaya Inc. Accessing local information based on a browser session

Also Published As

Publication number Publication date
JP2023175440A (en) 2023-12-12

Similar Documents

Publication Publication Date Title
US10628099B2 (en) Multifunctional image processing apparatus with user registration features
JP7571270B2 (en) SERVER SYSTEM, PRINTING APPARATUS, CONTROL METHOD, AND COMMUNICATION SYSTEM
US20120117629A1 (en) Relay apparatus, communication apparatus and relay method
JP4889664B2 (en) Manual providing method, peripheral device, and control program
JP6759258B2 (en) Information processing device and control method
JP2012037986A (en) Image forming apparatus, control method thereof, and image forming system
JP2009296474A (en) Image processing apparatus, image processing method, and image processing program
US9026532B2 (en) Image forming apparatus and file management system
CN113873091B (en) Image processing device and control method of image processing device
JP7532563B2 (en) System and method for control
US20140002856A1 (en) Image forming apparatus, image forming system, and image forming method
JP4333053B2 (en) Image forming apparatus, printing method, program, and recording medium
JP6188466B2 (en) Image processing apparatus, authentication method thereof, and program
JP7828237B2 (en) System, method and program
JP2008182699A (en) Document processing system and method
CN114125165A (en) System and image processing apparatus
JP2015036859A (en) Information processing apparatus, information processing method, processing apparatus, processing method, and program
JP2013251711A (en) Control apparatus
KR102835303B1 (en) Server, control method, and storage medium
JP7790927B2 (en) Printing system and method
JP2024051187A (en) Printing method, printing system and program
JP7679253B2 (en) Image processing system, terminal device, server device, control method thereof, program, and storage medium
JP7845057B2 (en) Printing system
JP2026047652A (en) Information processing device, information processing method, and program
JP2007199771A (en) Information processing apparatus, image forming apparatus, data processing system, information processing method, storage medium, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20260121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260227

R150 Certificate of patent or registration of utility model

Ref document number: 7828237

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150