JP2020166374A - Computer program for information processing device, and information processing device - Google Patents

Computer program for information processing device, and information processing device Download PDF

Info

Publication number
JP2020166374A
JP2020166374A JP2019064158A JP2019064158A JP2020166374A JP 2020166374 A JP2020166374 A JP 2020166374A JP 2019064158 A JP2019064158 A JP 2019064158A JP 2019064158 A JP2019064158 A JP 2019064158A JP 2020166374 A JP2020166374 A JP 2020166374A
Authority
JP
Japan
Prior art keywords
orderable
information
acquired
unit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019064158A
Other languages
Japanese (ja)
Inventor
和希 辻
Kazuki Tsuji
和希 辻
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2019064158A priority Critical patent/JP2020166374A/en
Publication of JP2020166374A publication Critical patent/JP2020166374A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a technology capable of improving convenience of a contracting party who has made a contract in which upper limit of the number of orders of articles in a prescribed period is determined.SOLUTION: In a state in which a contract is made for determining the upper limit of the number of orders of articles in a prescribed period, a computer program causes a computer of an information processing device to function as an acquiring unit for acquiring the allowed number of orders, and an output unit for outputting order allowed information indicating that the articles are allowed, when the number of allowed orders is acquired after prescribed timing in the prescribed period and the number of the allowed orders is one or more. When the number of allowed orders acquired is zero, an output control unit does not allow the output unit to output the order allowed information. When the number of allowed orders is acquired before the prescribed timing in the prescribed period, the output control unit does not allow the output unit to output the order allowed information even if the number of the allowed orders acquired is one or more.SELECTED DRAWING: Figure 3

Description

本明細書では、発注可能情報を出力可能な情報処理装置に関する技術を開示する。 This specification discloses a technique relating to an information processing device capable of outputting orderable information.

特許文献1には、OA機器とアダプタ装置とホストコンピュータと外部システムとを備える管理システムが開示されている。アダプタ装置は、OA機器によって規定量の消耗品が使用される場合に、消耗品の使用に関する情報をホストコンピュータに送信する。ホストコンピュータは、アダプタ装置から受信される情報を利用して想定在庫量を特定し、想定在庫量が契約で定められた在庫量より少なくなったことを検出すると、発注情報を外部システムへ通知する。 Patent Document 1 discloses a management system including an OA device, an adapter device, a host computer, and an external system. The adapter device sends information about the use of consumables to the host computer when a specified amount of consumables are used by the OA equipment. The host computer identifies the estimated inventory amount using the information received from the adapter device, and when it detects that the estimated inventory amount is less than the inventory amount specified in the contract, it notifies the external system of the ordering information. ..

特開平11−352846号公報JP-A-11-352846A

所定期間内の発注可能な商品の上限数が決められている契約が存在することが想定される。本明細書では、このような契約を締結している契約者の利便性を向上させることができる技術を提供する。 It is assumed that there is a contract in which the maximum number of products that can be ordered within a predetermined period is set. The present specification provides a technique capable of improving the convenience of a contractor who has concluded such a contract.

本明細書では、情報処理装置のためのコンピュータプログラムを開示する。当該コンピュータプログラムは、前記情報処理装置のコンピュータを、所定期間内に発注可能な商品の上限数が決められている契約が締結されている状態において、発注可能数を取得する取得部であって、前記発注可能数は、前記所定期間の始期から現在までに発注された商品の数を前記上限数から減算することによって得られる数である、前記取得部と、前記所定期間内の所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が1以上である場合に、前記商品を発注可能であることを示す発注可能情報を出力部に出力させる出力制御部と、として機能させ、前記出力制御部は、取得済みの前記発注可能数がゼロである場合に、前記発注可能情報を前記出力部に出力させず、前記所定期間内の前記所定のタイミングよりも前に前記発注可能数が取得される場合に、取得済みの前記発注可能数が1以上であっても、前記発注可能情報を前記出力部に出力させない。 This specification discloses a computer program for an information processing device. The computer program is an acquisition unit that acquires the number of items that can be ordered from the computer of the information processing device in a state where a contract is concluded in which the maximum number of items that can be ordered within a predetermined period is determined. The orderable number is a number obtained by subtracting the number of products ordered from the start of the predetermined period to the present from the upper limit number, after the acquisition unit and a predetermined timing within the predetermined period. An output control unit that outputs orderable information indicating that the product can be ordered to the output unit when the orderable number is acquired and the acquired orderable number is 1 or more. When the acquired orderable number is zero, the output control unit does not output the orderable information to the output unit, and before the predetermined timing within the predetermined period. When the orderable number is acquired, the orderable information is not output to the output unit even if the acquired orderable number is 1 or more.

上記の構成によると、情報処理装置は、所定期間内の所定のタイミング以降に発注可能数を取得し、かつ、取得済みの発注可能数が1以上である場合に、商品を発注可能であることを示す発注可能情報を出力部に出力させる。このため、所定期間内に発注可能な商品の上限数が決められている契約を締結している契約者は、商品を発注可能であることを知ることができる。従って、契約者の利便性を向上させることができる。 According to the above configuration, the information processing apparatus can order a product when the orderable quantity is acquired after a predetermined timing within a predetermined period and the acquired orderable quantity is 1 or more. The orderable information indicating is output to the output unit. Therefore, a contractor who has concluded a contract in which the maximum number of products that can be ordered within a predetermined period is determined can know that the products can be ordered. Therefore, the convenience of the contractor can be improved.

上記の当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体、及び、情報処理装置そのものも新規で有用である。 The computer-readable recording medium that stores the above-mentioned computer program and the information processing apparatus itself are also new and useful.

通信システムの構成を示す。The configuration of the communication system is shown. 発注プロセスのシーケンス図を示す。The sequence diagram of the ordering process is shown. 通知処理のフローチャートを示す。The flowchart of notification processing is shown. 通知プロセスのシーケンス図を示す。The sequence diagram of the notification process is shown. 端末装置に表示される画面の一例を示す。An example of the screen displayed on the terminal device is shown. 第2実施例に係るサーバ処理を示す。The server processing according to the second embodiment is shown.

(実施例)
(通信システム2の構成;図1)
図1に示すように、通信システム2は、プリンタ10と、携帯端末100と、管理サーバ200と、販売サーバ300と、を備える。各装置10、100、200、300は、インターネット4に接続されている。
(Example)
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a printer 10, a mobile terminal 100, a management server 200, and a sales server 300. Each device 10, 100, 200, 300 is connected to the Internet 4.

(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺装置(即ちPC等の周辺装置)である。なお、プリンタ10は、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、通信インターフェース(以下ではインターフェースを「I/F」と記載する)16と、印刷実行部20と、制御部30と、を備える。プリンタ10には、シリアル番号SN1が割当てられている。シリアル番号は、複数個のプリンタが製造される際に、各プリンタに割り当てられるユニークな文字列である。
(Configuration of printer 10)
The printer 10 is a peripheral device (that is, a peripheral device such as a PC) capable of executing a printing function. The printer 10 may be a multifunctional machine capable of executing a scanning function, a fax function, and the like in addition to the printing function. The printer 10 includes an operation unit 12, a display unit 14, a communication interface (hereinafter, the interface is referred to as “I / F”) 16, a print execution unit 20, and a control unit 30. The printer 10 is assigned the serial number SN1. The serial number is a unique character string assigned to each printer when a plurality of printers are manufactured.

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。通信I/F16は、インターネット4に接続されている。通信I/F16は、無線I/Fであってもよいし、有線I/Fであってもよい。 The operation unit 12 includes a plurality of keys. The user can input various instructions to the printer 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The communication I / F 16 is connected to the Internet 4. The communication I / F 16 may be a wireless I / F or a wired I / F.

印刷実行部20は、インクジェット方式の印刷機構である。印刷実行部20には、インクを収容するカートリッジ20aが装着される。印刷実行部20は、カートリッジ20a内のインクを利用して、印刷を実行する。 The print execution unit 20 is an inkjet printing mechanism. A cartridge 20a for accommodating ink is mounted on the print execution unit 20. The print execution unit 20 executes printing by using the ink in the cartridge 20a.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に記憶されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、印刷実行部20に装着されているカートリッジ20aの残量を示す残量情報38を記憶する。CPU32は、印刷機能を実行する際に、カートリッジ20a内のインクの使用量を算出し、残量情報38から算出済みの使用量を減算して、残量情報38を更新する。また、CPU32は、印刷実行部20に新品のカートリッジ20aが装着されると、残量情報38を100%に更新する。 The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program 36 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, and the like. The memory 34 stores the remaining amount information 38 indicating the remaining amount of the cartridge 20a mounted on the print execution unit 20. When the printing function is executed, the CPU 32 calculates the amount of ink used in the cartridge 20a, subtracts the calculated amount of use from the remaining amount information 38, and updates the remaining amount information 38. Further, when a new cartridge 20a is attached to the print execution unit 20, the CPU 32 updates the remaining amount information 38 to 100%.

(携帯端末100の構成)
携帯端末100は、例えば、携帯電話、スマートフォン、PDA、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末100は、操作部112と、表示部114と、通信I/F116と、制御部130と、を備える。
(Configuration of mobile terminal 100)
The mobile terminal 100 is, for example, a portable terminal device such as a mobile phone, a smartphone, a PDA, a portable music playback device, or a portable moving image playback device. The mobile terminal 100 includes an operation unit 112, a display unit 114, a communication I / F 116, and a control unit 130.

操作部112は、複数のキーを備える。ユーザは、操作部112を操作することによって、様々な指示を携帯端末100に入力することができる。表示部114は、様々な情報を表示するためのディスプレイである。表示部114は、いわゆるタッチパネル(即ち操作部)としても機能する。通信I/F116は、インターネット4に接続されている。 The operation unit 112 includes a plurality of keys. The user can input various instructions to the mobile terminal 100 by operating the operation unit 112. The display unit 114 is a display for displaying various information. The display unit 114 also functions as a so-called touch panel (that is, an operation unit). The communication I / F 116 is connected to the Internet 4.

制御部130は、CPU132とメモリ134とを備える。CPU132は、メモリ134に格納されているOS(Operating Systemの略)プログラム136に従って、様々な処理を実行する。OSプログラム136は、携帯端末100の種々の基本的な動作を制御するためのプログラムである。また、メモリ134は、サービスアプリ138を格納する。サービスアプリ138は、プリンタ10のベンダによって提供されるアプリケーションであり、例えば、インターネット上のサーバから携帯端末100にインストールされる。サービスアプリ138は、プリンタ10の印刷実行部20に装着されているカートリッジ20aの残量情報を表示部114に表示させるためのアプリケーションである。また、サービスアプリ138は、通知サービスを提供するアプリケーションでもある。 The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes according to the OS (abbreviation of Operating System) program 136 stored in the memory 134. The OS program 136 is a program for controlling various basic operations of the mobile terminal 100. The memory 134 also stores the service application 138. The service application 138 is an application provided by the vendor of the printer 10, and is installed on the mobile terminal 100 from a server on the Internet, for example. The service application 138 is an application for displaying the remaining amount information of the cartridge 20a mounted on the print execution unit 20 of the printer 10 on the display unit 114. The service application 138 is also an application that provides a notification service.

(管理サーバ200の構成)
管理サーバ200は、インターネット上に設置されるサーバであり、例えば、プリンタ10のベンダによって提供されるサーバである。管理サーバ200は、CPU232とメモリ234とを備える。CPU232は、メモリ234に記憶されているプログラム236に従って、様々な処理を実行する。メモリ234は、複数個の契約情報CI1、CI2を記憶する。契約情報CI1、CI2は、月額契約サービスに関する情報であり、シリアル番号と、上限数と、発注可能数と、残量情報と、が対応付けて記憶されている。月額契約サービスは、プリンタ10のベンダによって提供されるサービスである。月額契約サービスは、1ヶ月単位の契約であり、1ヶ月の期間において、一定の金額で、予め定められた数の商品を発注することができるサービスである。本実施例では、月額契約サービスの対象となる商品は、カートリッジ20aである。なお、変形例では、月額契約サービスの対象となる商品が、トナーカートリッジ、感光体ドラム等であってもよい。上限数は、1ヶ月に発注可能なカートリッジ20aの上限数である。発注可能数は、当月中に発注可能なカートリッジ20aの残りの数である。
(Configuration of Management Server 200)
The management server 200 is a server installed on the Internet, for example, a server provided by the vendor of the printer 10. The management server 200 includes a CPU 232 and a memory 234. The CPU 232 executes various processes according to the program 236 stored in the memory 234. The memory 234 stores a plurality of contract information CI1 and CI2. The contract information CI1 and CI2 are information related to the monthly contract service, and the serial number, the upper limit number, the orderable number, and the remaining amount information are stored in association with each other. The monthly contract service is a service provided by the vendor of the printer 10. The monthly contract service is a monthly contract, and is a service that allows a predetermined number of products to be ordered for a fixed amount of money in a one-month period. In this embodiment, the product covered by the monthly contract service is the cartridge 20a. In the modified example, the product covered by the monthly contract service may be a toner cartridge, a photoconductor drum, or the like. The upper limit is the upper limit of the cartridges 20a that can be ordered in one month. The orderable quantity is the remaining number of cartridges 20a that can be ordered during the current month.

(販売サーバ300の構成)
販売サーバ300は、プリンタ10の消耗品(例えば、インクカートリッジ、トナーカートリッジ、感光体ドラム等)を含む様々な商品を販売するベンダ(例えばAmazon(登録商標))によってインターネット4上に設置されるサーバである。なお、販売サーバ300は、プリンタ10のベンダによって提供されるサーバであってもよい。販売サーバ300のメモリ334には、複数個の販売管理情報SMI1、SMI2が記憶されている。販売管理情報SMIでは、アカウント情報と、住所情報と、シリアル番号と、が対応づけられている。アカウント情報は、販売サーバ300にログインするための情報である。住所情報は、商品の発送先の住所を示す。
(Configuration of sales server 300)
The sales server 300 is a server installed on the Internet 4 by a vendor (for example, Amazon®) that sells various products including consumables (for example, ink cartridges, toner cartridges, photoconductor drums, etc.) of the printer 10. Is. The sales server 300 may be a server provided by the vendor of the printer 10. A plurality of sales management information SMI1 and SMI2 are stored in the memory 334 of the sales server 300. In the sales management information SMI, account information, address information, and serial number are associated with each other. The account information is information for logging in to the sales server 300. The address information indicates the shipping address of the product.

(月額契約締結プロセス)
プリンタ10及び携帯端末100のユーザは、月額契約を締結することによって、上述の月額契約サービスを受けることができる。月額契約が締結される際に実行される処理について簡単に説明する。
(Monthly contract conclusion process)
The user of the printer 10 and the mobile terminal 100 can receive the above-mentioned monthly contract service by concluding a monthly contract. A brief description of the processing performed when a monthly contract is concluded.

まず、携帯端末100は、管理サーバ200へのログインの指示をユーザから受け付けると、トップ画面要求を管理サーバ200に送信し、管理サーバ200からトップ画面データを管理サーバ200から受信し、トップ画面を表示部114に表示する。図示省略しているが、当該画面は、月額契約の申し込みを選択するための契約ボタン、シリアル番号入力欄、上限数入力欄等を含む。携帯端末100は、シリアル番号SN1のシリアル番号入力欄への入力、上限数「5個」の上限数入力欄への入力、及び、契約ボタンの選択をユーザから受け付けると、シリアル番号SN1と上限数「5個」を含む契約要求を管理サーバ200に送信する。管理サーバ200は、携帯端末100から契約要求を受信すると、上限数UN1、発注可能数PN1、及び、残量情報RI1を含む契約情報CI1を生成し、受信済みのシリアル番号SN1を契約情報CI1に記憶する。また、管理サーバ200は、受信済みの上限数「5個」を上限数UN1として契約情報CI1に記憶する。この時点において、発注可能数PN1は「5個」であり、残量情報RI1は「空」の状態である。そして、管理サーバ200は、シリアル番号SN1を販売サーバ300に送信する。販売サーバ300は、管理サーバ200からシリアル番号SN1を受信すると、シリアル番号SN1を一時的に記憶する。また、管理サーバ200は、販売サーバ300のURL「http://saleserver.co.jp」を携帯端末100に送信する。 First, when the mobile terminal 100 receives an instruction to log in to the management server 200 from the user, it transmits a top screen request to the management server 200, receives top screen data from the management server 200 from the management server 200, and displays the top screen. It is displayed on the display unit 114. Although not shown, the screen includes a contract button for selecting a monthly contract application, a serial number input field, a maximum number input field, and the like. When the mobile terminal 100 receives input from the user in the serial number input field of the serial number SN1, input in the maximum number input field of the maximum number "5", and selection of the contract button from the user, the serial number SN1 and the maximum number A contract request including "5" is transmitted to the management server 200. When the management server 200 receives the contract request from the mobile terminal 100, the management server 200 generates the contract information CI1 including the upper limit number UN1, the orderable number PN1, and the remaining amount information RI1, and converts the received serial number SN1 into the contract information CI1. Remember. Further, the management server 200 stores the received upper limit number "5" as the upper limit number UN1 in the contract information CI1. At this point, the orderable number PN1 is "5" and the remaining amount information RI1 is "empty". Then, the management server 200 transmits the serial number SN1 to the sales server 300. When the sales server 300 receives the serial number SN1 from the management server 200, the sales server 300 temporarily stores the serial number SN1. In addition, the management server 200 transmits the URL "http://saleserver.co.jp" of the sales server 300 to the mobile terminal 100.

携帯端末100は、管理サーバ200から販売サーバ300のURLを受信すると、当該URLを宛先としてログインページ要求を販売サーバ300に送信し、販売サーバ300からログイン画面データを受信し、ログイン画面を表示する。そして、携帯端末100は、ログイン画面へのアカウント情報AI1の入力をユーザから受け付けると、登録ページ要求を販売サーバ300に送信し、販売サーバ300から登録画面データを受信し、登録画面を表示する。図示省略しているが、当該画面は、住所情報入力欄を含む。携帯端末100は、住所情報AD1の住所情報入力欄への入力を受け付けると、住所情報AD1を販売サーバ300に送信する。 When the mobile terminal 100 receives the URL of the sales server 300 from the management server 200, it sends a login page request to the sales server 300 with the URL as the destination, receives the login screen data from the sales server 300, and displays the login screen. .. Then, when the mobile terminal 100 receives the input of the account information AI1 on the login screen from the user, the mobile terminal 100 sends a registration page request to the sales server 300, receives the registration screen data from the sales server 300, and displays the registration screen. Although not shown, the screen includes an address information input field. When the mobile terminal 100 receives the input to the address information input field of the address information AD1, the mobile terminal 100 transmits the address information AD1 to the sales server 300.

販売サーバ300は、携帯端末100から住所情報AD1を受信すると、管理サーバ200から受信されたシリアル番号SN1と、携帯端末100から受信された住所情報AD1と、をログイン済みアカウント情報AI1に対応付けて販売管理情報SMI1に記憶する。これにより、月額契約締結プロセスが終了する。即ち、プリンタ10及び携帯端末100のユーザは、1ヶ月の期間において、一定の金額で、上限数「5個」のカートリッジ20aを発注することができる。 When the sales server 300 receives the address information AD1 from the mobile terminal 100, the sales server 300 associates the serial number SN1 received from the management server 200 with the address information AD1 received from the mobile terminal 100 with the logged-in account information AI1. Stored in the sales management information SMI1. This completes the monthly contract conclusion process. That is, the user of the printer 10 and the mobile terminal 100 can order the upper limit number of "5" cartridges 20a for a fixed amount of money in a period of one month.

(通知サービス登録プロセス)
続いて、サービスアプリ138によって提供される通知サービスを登録する際に実行される処理について説明する。まず、携帯端末100は、サービスアプリ138を起動させるための操作をユーザから受け付けると、サービスアプリ138を起動させる。携帯端末100によって実行される以降の各処理は、サービスアプリ138によって実現される。携帯端末100は、シリアル番号入力欄を含む通知サービス登録画面を表示部114に表示させ、シリアル番号SN1のシリアル番号入力欄への入力をユーザから受け付けると、入力済みのシリアル番号SN1を管理サーバ200に送信する。管理サーバ200は、シリアル番号SN1を受信すると、受信済みのシリアル番号SN1と一致するシリアル番号を含む契約情報CI1がメモリ234に記憶されていると判断し、第1のアクセストークンを生成し、第1のアクセストークンを携帯端末100に送信する。携帯端末100は、管理サーバ200から、第1のアクセストークンを受信すると、第1のアクセストークンをメモリ134に記憶させる。これにより、通知サービス登録プロセスが終了する。その後、携帯端末100は、定期的に、第1のアクセストークンを利用して、消耗品情報要求を管理サーバ200に送信する。なお、以降の処理では、携帯端末100から管理サーバ200に送信される全ての信号には第1のアクセストークンが含まれ、管理サーバ200において第1のトークンアクセスを利用した認証が実行される。以降の処理では、これらの説明及び図示を省略する。
(Notification service registration process)
Next, the process executed when registering the notification service provided by the service application 138 will be described. First, when the mobile terminal 100 receives an operation for activating the service application 138 from the user, the mobile terminal 100 activates the service application 138. Each subsequent process executed by the mobile terminal 100 is realized by the service application 138. When the mobile terminal 100 displays the notification service registration screen including the serial number input field on the display unit 114 and receives the input of the serial number SN1 into the serial number input field from the user, the mobile terminal 100 receives the input serial number SN1 from the management server 200. Send to. When the management server 200 receives the serial number SN1, it determines that the contract information CI1 including the serial number matching the received serial number SN1 is stored in the memory 234, generates the first access token, and generates the first access token. The access token of 1 is transmitted to the mobile terminal 100. When the mobile terminal 100 receives the first access token from the management server 200, the mobile terminal 100 stores the first access token in the memory 134. This ends the notification service registration process. After that, the mobile terminal 100 periodically sends a consumables information request to the management server 200 by using the first access token. In the subsequent processing, all the signals transmitted from the mobile terminal 100 to the management server 200 include the first access token, and the management server 200 executes the authentication using the first token access. In the subsequent processing, these description and illustration will be omitted.

(プリンタ登録プロセス)
続いて、プリンタ10を管理サーバ200に登録する際に実行される処理について説明する。プリンタ10は、電源ON指示の入力をユーザから受け付けると、プリンタ10に割当てられているシリアル番号SN1を管理サーバ200に送信する。管理サーバ200は、プリンタ10からシリアル番号SN1を受信すると、受信済みのシリアル番号SN1と一致するシリアル番号を含む契約情報CI1がメモリ234に記憶されていると判断し、第2のアクセストークンを生成し、第2のアクセストークンをプリンタ10に送信する。プリンタ10は、管理サーバ200から第2のアクセストークンを受信すると、第2のアクセストークンをメモリ34に記憶させる。これにより、プリンタ登録プロセスが終了する。その後、プリンタ10は、定期的に、第2のアクセストークンを利用して、カートリッジ20aの残量情報を管理サーバ200に送信する。なお、以降の処理では、プリンタ10から管理サーバ200に送信される全ての信号には第2のアクセストークンが含まれ、管理サーバ200において第2のトークンアクセスを利用した認証が実行される。以降の処理では、これらの説明及び図示を省略する。
(Printer registration process)
Subsequently, the process executed when the printer 10 is registered in the management server 200 will be described. When the printer 10 receives the input of the power ON instruction from the user, the printer 10 transmits the serial number SN1 assigned to the printer 10 to the management server 200. When the management server 200 receives the serial number SN1 from the printer 10, it determines that the contract information CI1 including the serial number matching the received serial number SN1 is stored in the memory 234, and generates a second access token. Then, the second access token is transmitted to the printer 10. When the printer 10 receives the second access token from the management server 200, the printer 10 stores the second access token in the memory 34. This ends the printer registration process. After that, the printer 10 periodically transmits the remaining amount information of the cartridge 20a to the management server 200 by using the second access token. In the subsequent processing, all the signals transmitted from the printer 10 to the management server 200 include the second access token, and the management server 200 executes the authentication using the second token access. In the subsequent processing, these description and illustration will be omitted.

(発注プロセス;図2)
続いて、図2を参照して、本実施例の通信システム2によって実現される発注プロセスについて説明する。図2の初期状態は、上述の月額契約締結プロセス、通知サービス登録プロセス、及び、プリンタ登録プロセスが終了した後の状態である。即ち、管理サーバ200のメモリ234には、契約情報CI1が記憶されている。また、販売サーバ300のメモリ334には、販売管理情報SMI1が記憶されている。また、契約情報CI1の上限数UN1、発注可能数PN1、残量情報RI1には、それぞれ、「5[個/月]」、「4[個]」、「30[%]」が記憶されている。
(Ordering process; Figure 2)
Subsequently, the ordering process realized by the communication system 2 of this embodiment will be described with reference to FIG. The initial state of FIG. 2 is a state after the above-mentioned monthly contract conclusion process, notification service registration process, and printer registration process are completed. That is, the contract information CI1 is stored in the memory 234 of the management server 200. Further, the sales management information SMI1 is stored in the memory 334 of the sales server 300. In addition, "5 [pieces / month]", "4 [pieces]", and "30 [%]" are stored in the upper limit number UN1 of the contract information CI1, the number of orders that can be ordered PN1, and the remaining amount information RI1, respectively. There is.

携帯端末100は、T10において、販売サーバ300にログインするためのログイン操作を携帯端末100のユーザから受け付けると、T12において、ログイン要求を販売サーバ300に送信し、T14において、販売サーバ300からログイン画面データを受信し、T16において、ログイン画面を表示する。図示省略しているが、ログイン画面は、アカウント情報入力欄を含む。 When the mobile terminal 100 receives a login operation for logging in to the sales server 300 at T10 from the user of the mobile terminal 100, the mobile terminal 100 transmits a login request to the sales server 300 at T12, and a login screen from the sales server 300 at T14. The data is received and the login screen is displayed at T16. Although not shown, the login screen includes an account information input field.

携帯端末100は、T18において、ログイン画面内のアカウント情報入力欄へのアカウント情報AI1の入力をユーザから受け付けると、T20において、発注要求を販売サーバ300に送信し、T22において、販売サーバ300から発注画面データを受信し、T24において、発注画面を表示する。図示省略しているが、発注画面は、発注するカートリッジの型番を選択する型番選択欄と、発注するカートリッジの数を選択する発注数選択欄と、を含む。携帯端末100は、T26において、型番「BK01」及び発注数「1」の選択を受け付けると、T28において、型番「BK01」及び発注数「1」を含む発注情報を販売サーバ300に送信する。 When the mobile terminal 100 receives the input of the account information AI1 in the account information input field in the login screen from the user at T18, the mobile terminal 100 transmits an order request to the sales server 300 at T20, and orders from the sales server 300 at T22. The screen data is received and the ordering screen is displayed at T24. Although not shown, the ordering screen includes a model number selection field for selecting the model number of the cartridge to be ordered and an order quantity selection field for selecting the number of cartridges to be ordered. When the mobile terminal 100 accepts the selection of the model number "BK01" and the number of orders "1" at T26, the mobile terminal 100 transmits the order information including the model number "BK01" and the number of orders "1" to the sales server 300 at T28.

販売サーバ300は、T28において、携帯端末100から発注情報を受信すると、メモリ334内のログイン済アカウント情報AI1を含む販売管理情報SMI1を特定する。そして、販売サーバ300は、販売管理情報SMI1内の住所情報AD1を特定し、T30において、特定済みの住所情報AD1によって示される住所に、型番「BK01」が割り当てられているカートリッジ20aを発送するための発送処理を実行し、T32において、発注完了通知を携帯端末100に送信する。また、販売サーバ300は、販売管理情報SMI1内のシリアル番号SN1を特定し、T40において、特定済みのシリアル番号SN1と、発注数「1」と、を含む発注完了情報を管理サーバ200に送信する。 When the sales server 300 receives the order information from the mobile terminal 100 in the T28, the sales server 300 identifies the sales management information SMI1 including the logged-in account information AI1 in the memory 334. Then, the sales server 300 identifies the address information AD1 in the sales management information SMI1 and ships the cartridge 20a to which the model number "BK01" is assigned to the address indicated by the identified address information AD1 in T30. Is executed, and at T32, an order completion notification is transmitted to the mobile terminal 100. Further, the sales server 300 identifies the serial number SN1 in the sales management information SMI1, and in T40, transmits the order completion information including the specified serial number SN1 and the number of orders "1" to the management server 200. ..

管理サーバ200は、T40において、販売サーバ300から発注完了情報を受信すると、発注完了情報内のシリアル番号SN1を特定し、メモリ234内の特定済みのシリアル番号SN1を含む契約情報CI1を特定する。そして、管理サーバ200は、特定済みの契約情報CI1内の発注可能数「4」及び発注完了情報内の発注数「1」を特定し、T42において、特定済みの発注可能数「4」から特定済みの発注数「1」を減算し、新たな発注可能数「3」を算出する。そして、管理サーバ200は、T44において、算出済みの発注可能数「3」を発注可能数PN1として記憶する。このように、携帯端末100のユーザによって、カートリッジ20aを発注するための操作が実行されると、管理サーバ200の発注可能数PN1が更新される。 When the management server 200 receives the order completion information from the sales server 300 in the T40, the management server 200 identifies the serial number SN1 in the order completion information and specifies the contract information CI1 including the specified serial number SN1 in the memory 234. Then, the management server 200 specifies the orderable number "4" in the specified contract information CI1 and the orderable number "1" in the order completion information, and specifies from the specified orderable number "4" in T42. Subtract the completed order quantity "1" to calculate a new orderable quantity "3". Then, the management server 200 stores the calculated orderable number "3" as the orderable number PN1 in the T44. In this way, when the user of the mobile terminal 100 executes the operation for ordering the cartridge 20a, the orderable number PN1 of the management server 200 is updated.

(通知処理;図3)
続いて、図3を参照して、携帯端末100のCPU132がサービスアプリ138に従って実行する処理について説明する。上述の通知サービス登録プロセスが完了すると、図3の処理が開始される。
(Notification processing; Fig. 3)
Subsequently, with reference to FIG. 3, a process executed by the CPU 132 of the mobile terminal 100 according to the service application 138 will be described. When the above notification service registration process is completed, the process of FIG. 3 is started.

S10において、CPU132は、メモリ134に記憶されているシリアル番号SN1を含む消耗品情報要求を管理サーバ200に送信する。消耗品情報要求は、当該要求内のシリアル番号SN1に対応する発注可能数及び残量情報を含む消耗品情報の送信を管理サーバ200に要求するための信号である。 In S10, the CPU 132 transmits a consumables information request including the serial number SN1 stored in the memory 134 to the management server 200. The consumables information request is a signal for requesting the management server 200 to transmit consumables information including orderable number and remaining amount information corresponding to the serial number SN1 in the request.

S12において、CPU132は、管理サーバ200から、発注可能数及び残量情報を含む消耗品情報を受信する。S14において、CPU132は、S12で受信された消耗品情報をシリアル番号SN1に対応付けてメモリ134に記憶させる。 In S12, the CPU 132 receives consumables information including orderable quantity and remaining amount information from the management server 200. In S14, the CPU 132 stores the consumables information received in S12 in the memory 134 in association with the serial number SN1.

S16において、CPU132は、今日の日付が、月末日まで5日以内であるのか否かを判断する。例えば、今月が3月である場合、CPU132は、今日の日付が26日以降であるのか否かを判断する。CPU132は、今日の日付が月末日まで5日以内である場合(S16でYES)に、S18に進み、今日の日付が月末日まで5日以内でない場合(S16でNO)に、S18、S20をスキップして、S30に進む。 In S16, the CPU 132 determines whether or not today's date is within 5 days until the end of the month. For example, if this month is March, the CPU 132 determines whether today's date is after the 26th. The CPU 132 proceeds to S18 when today's date is within 5 days until the end of the month (YES in S16), and when today's date is not within 5 days until the end of the month (NO in S16), S18 and S20 are set. Skip and proceed to S30.

S18において、CPU132は、S12で受信された消耗品情報内の発注可能数が「1個」以上であるのか否かを判断する。CPU132は、発注可能数が「1個」以上である場合(S18でYES)に、S20に進み、発注可能数が「0個」である場合(S18でNO)、S20をスキップして、S30に進む。 In S18, the CPU 132 determines whether or not the number of consumables that can be ordered in the consumables information received in S12 is "1" or more. When the orderable quantity is "1" or more (YES in S18), the CPU 132 proceeds to S20, and when the orderable quantity is "0" (NO in S18), skips S20 and S30. Proceed to.

S20において、CPU132は、ポップアップ画像D1を表示部114に表示させる。図5に示されるように、画像D1は、当月内に発注可能なカートリッジ20aが残っていることを示すメッセージM1と、販売サーバ300にアクセスするためのURL「http://saleserver.co.jp」を含むハイパーリンクL1と、を含む。メッセージM1は、S12で受信された消耗品情報内の発注可能数も含む。ポップアップ画像D1を表示部114に表示させることが、サービスアプリ138によって提供される通知サービスである。なお、ユーザは、サービスアプリ138を利用して、メモリ134に記憶されている残量情報(S14参照)を表示部114に表示させることができる。従って、ユーザは、プリンタ10の印刷実行部20に装着されているカートリッジ20aの残量情報を容易に確認することができる。 In S20, the CPU 132 causes the display unit 114 to display the pop-up image D1. As shown in FIG. 5, the image D1 shows a message M1 indicating that the cartridge 20a that can be ordered within the current month remains, and a URL “http://saleserver.co.jp” for accessing the sales server 300. Includes hyperlink L1 and. The message M1 also includes the orderable number in the consumables information received in S12. Displaying the pop-up image D1 on the display unit 114 is a notification service provided by the service application 138. The user can use the service application 138 to display the remaining amount information (see S14) stored in the memory 134 on the display unit 114. Therefore, the user can easily check the remaining amount information of the cartridge 20a mounted on the print execution unit 20 of the printer 10.

S30において、CPU132は、消耗品情報要求を管理サーバ200に送信してから、第1所定時間(例えば、24時間)が経過することを監視する。CPU132は、消耗品情報要求を管理サーバ200に送信してから第1所定時間が経過する場合に、S30でYESと判断し、S10に戻る。即ち、CPU132は、第1所定時間が経過する毎に、消耗品情報要求を管理サーバ200に送信する。 In S30, the CPU 132 monitors that the first predetermined time (for example, 24 hours) has elapsed since the consumables information request was transmitted to the management server 200. When the first predetermined time elapses after transmitting the consumables information request to the management server 200, the CPU 132 determines YES in S30 and returns to S10. That is, the CPU 132 transmits a consumables information request to the management server 200 every time the first predetermined time elapses.

(通知プロセス;図4)
続いて、図4を参照して、図3の通知処理によって実現される通知プロセスについて説明する。本プロセスでは、図3のS30の第1所定時間が「24時間」であり、かつ、管理サーバ200が、24時間毎にプリンタ10からプリンタ情報を取得する状況を想定する。図4の初期状態は、図2の後の状態である。また、携帯端末100は、「3月24日 12:00」に、消耗品情報要求を管理サーバ200に送信することに応じて、管理サーバ200から、発注可能数「3個」及び残量情報「32%」を含む消耗品情報を受信し、発注可能数「3個」及び残量情報「32%」をメモリ134に記憶させている。また、管理サーバ200は、「3月24日 15:00」に、プリンタ10から、残量情報「30%」を含むプリンタ情報を受信している。このため、管理サーバ200の契約情報CI1内の発注可能数PN1、残量情報RI1には、それぞれ、「3個」、「30%」が記憶されている。
(Notification process; Figure 4)
Subsequently, with reference to FIG. 4, the notification process realized by the notification process of FIG. 3 will be described. In this process, it is assumed that the first predetermined time in S30 of FIG. 3 is "24 hours" and the management server 200 acquires printer information from the printer 10 every 24 hours. The initial state of FIG. 4 is the state after FIG. In addition, the mobile terminal 100 can order "3 pieces" and the remaining amount information from the management server 200 in response to transmitting the consumables information request to the management server 200 at "12:00 on March 24". Consumables information including "32%" is received, and the orderable number "3 pieces" and the remaining amount information "32%" are stored in the memory 134. Further, the management server 200 receives the printer information including the remaining amount information "30%" from the printer 10 at "15:00 on March 24". Therefore, "3" and "30%" are stored in the orderable number PN1 and the remaining amount information RI1 in the contract information CI1 of the management server 200, respectively.

携帯端末100は、現在日時が「3月25日 12:00」になると、消耗品情報要求を管理サーバ200に送信してから、第1所定時間(即ち24時間)が経過したと判断し(S30でYES)、T110において、シリアル番号SN1を含む消耗品情報要求を管理サーバ200に送信する(S10)。 When the current date and time is "12:00 on March 25", the mobile terminal 100 determines that the first predetermined time (that is, 24 hours) has passed since the consumables information request was transmitted to the management server 200 (that is, 24 hours). YES in S30), in T110, a consumables information request including the serial number SN1 is transmitted to the management server 200 (S10).

管理サーバ200は、T110において、携帯端末100から消耗品情報要求を受信すると、当該要求内のシリアル番号SN1を特定し、メモリ234内の複数個の契約情報CIの中から、特定済みのシリアル番号SN1を含む契約情報CI1を特定する。そして、管理サーバ200は、特定済みの契約情報CI1内の発注可能数PN1(「3個」)及び残量情報RI1(「30%」)を特定し、T112において、特定済みの発注可能数「3個」と特定済みの残量情報「30%」とを含む消耗品情報を携帯端末100に送信する。 When the management server 200 receives the consumables information request from the mobile terminal 100 in the T110, the management server 200 identifies the serial number SN1 in the request, and the specified serial number is selected from a plurality of contract information CIs in the memory 234. The contract information CI1 including the SN1 is specified. Then, the management server 200 specifies the orderable number PN1 (“3 pieces”) and the remaining amount information RI1 (“30%”) in the specified contract information CI1, and in T112, the specified orderable number “ Consumables information including "3 pieces" and the specified remaining amount information "30%" is transmitted to the mobile terminal 100.

携帯端末100は、T112において、管理サーバ200から消耗品情報を受信すると(S12)、T114において、消耗品情報内の発注可能数「3個」及び残量情報「30%」をメモリ134に記憶させる(S14)。そして、携帯端末100は、今日の日付「3月25日」が、月末日「3月31日」から5日以内でないと判断し(S16でNO)、消耗品情報要求を管理サーバ200に送信してから、第1所定時間(即ち24時間)が経過することを監視する(S30)。 When the mobile terminal 100 receives the consumables information from the management server 200 at T112 (S12), the mobile terminal 100 stores the orderable number "3" and the remaining amount information "30%" in the consumables information in the memory 134 at T114. (S14). Then, the mobile terminal 100 determines that today's date "March 25" is not within 5 days from the last day "March 31" (NO in S16), and transmits a consumables information request to the management server 200. Then, it is monitored that the first predetermined time (that is, 24 hours) has elapsed (S30).

その後、現在日時が「3月25日 15:00」になると、管理サーバ200は、T120において、プリンタ10から、シリアル番号SN1と残量情報「28%」とを含むプリンタ情報を受信する。管理サーバ200は、プリンタ情報内のシリアル番号SN1を特定し、メモリ234内の複数個の契約情報CIの中から、特定済みのシリアル番号SN1を含む契約情報CI1を特定する。そして、管理サーバ200は、プリンタ情報内の残量情報「28%」を特定し、T122において、特定済みの残量情報「28%」を契約情報CI1内の残量情報RI1として記憶する。 After that, when the current date and time becomes "15:00 on March 25", the management server 200 receives the printer information including the serial number SN1 and the remaining amount information "28%" from the printer 10 at the T120. The management server 200 specifies the serial number SN1 in the printer information, and specifies the contract information CI1 including the specified serial number SN1 from the plurality of contract information CIs in the memory 234. Then, the management server 200 specifies the remaining amount information "28%" in the printer information, and in T122, stores the specified remaining amount information "28%" as the remaining amount information RI1 in the contract information CI1.

その後、現在日時が「3月26日 12:00」になると、携帯端末100は、消耗品情報要求を管理サーバ200に送信してから、第1所定時間が経過したと判断し(S30でYES)、T130において、シリアル番号SN1を含む消耗品情報要求を管理サーバ200に送信する(S10)。T132、T134は、残量情報RI1内の情報が異なる点を除いて、T112、T114と同様である。そして、携帯端末100は、今日の日付「3月26日」が、月末日「3月31日」から5日以内であると判断し(S16でYES)、S132で受信した消耗品情報内の発注可能数「3個」が「1個」以上であると判断し(S18でYES)、T136において、ポップアップ画像D1(図5参照)を表示する(S18)。これにより、携帯端末100のユーザ(即ち契約者)は、当月内に発注可能なカートリッジ20aが残っていることを知ることができる。従って、契約者は、当月内に発注可能なカートリッジ20aを余すことなく発注し得る。 After that, when the current date and time becomes "12:00 on March 26", the mobile terminal 100 determines that the first predetermined time has elapsed since the consumables information request was transmitted to the management server 200 (YES in S30). ), At T130, a consumables information request including the serial number SN1 is transmitted to the management server 200 (S10). T132 and T134 are the same as T112 and T114 except that the information in the remaining amount information RI1 is different. Then, the mobile terminal 100 determines that today's date "March 26" is within 5 days from the last day "March 31" (YES in S16), and is included in the consumables information received in S132. It is determined that the orderable number "3 pieces" is "1 piece" or more (YES in S18), and the pop-up image D1 (see FIG. 5) is displayed in T136 (S18). As a result, the user (that is, the contractor) of the mobile terminal 100 can know that the cartridge 20a that can be ordered within the current month remains. Therefore, the contractor can order all the cartridges 20a that can be ordered within the current month.

(本実施例の効果)
本実施例によると、携帯端末100は、当月内の月末日から5日以内に発注可能数を取得し(図3のS12)、かつ、取得済みの発注可能数が「1個」以上である場合(S18でYES)に、当月内に発注可能なカートリッジ20aが残っていることを示すメッセージM1を表示部114に表示させる(S20)。このため、月額契約を締結している契約者は、当月内にカートリッジ20aを発注可能であることを知ることができる。従って、契約者の利便性を向上させることができる。
(Effect of this example)
According to this embodiment, the mobile terminal 100 acquires the orderable number within 5 days from the last day of the current month (S12 in FIG. 3), and the acquired orderable number is "1" or more. In the case (YES in S18), a message M1 indicating that the cartridge 20a that can be ordered within the current month remains is displayed on the display unit 114 (S20). Therefore, the contractor who has concluded the monthly contract can know that the cartridge 20a can be ordered within the current month. Therefore, the convenience of the contractor can be improved.

(対応関係)
携帯端末100が、「情報処理装置」及び「端末装置」の一例である。カートリッジ20aが、「商品」及び「プリンタで利用される消耗品」の一例である。1ヶ月が、「所定期間」の一例である。月末日まで5日以内が、「所定のタイミング」の一例である。メッセージM1が、「発注可能情報」の一例である。携帯端末100の表示部114が、「出力部」の一例である。ポップアップ画像D1が、「通知画面」の一例である。ポップアップ画像D1内のURL「http://saleserver.co.jp」が、「位置情報」の一例である。
(Correspondence)
The mobile terminal 100 is an example of an "information processing device" and a "terminal device". The cartridge 20a is an example of a "commodity" and a "consumable item used in a printer". One month is an example of a "predetermined period". Within 5 days until the end of the month is an example of "predetermined timing". Message M1 is an example of "orderable information". The display unit 114 of the mobile terminal 100 is an example of the “output unit”. The pop-up image D1 is an example of the “notification screen”. The URL "http://saleserver.co.jp" in the pop-up image D1 is an example of "location information".

図3のS12で実行される処理が、「取得部」で実行される処理の一例である。図3のS20で実行される処理が、「出力制御部」で実行される処理の一例である。 The process executed in S12 of FIG. 3 is an example of the process executed in the “acquisition unit”. The process executed in S20 of FIG. 3 is an example of the process executed by the “output control unit”.

(第2実施例)
本実施例では、携帯端末100、及び、管理サーバ200によって実行される処理が第1実施例と異なる。なお、本実施例の通信システム2においても、図2の発注プロセスと同様の処理が実現される。即ち、管理サーバ200は、T40において、販売サーバ300から発注完了情報を受信し、T42において、新たな発注可能数「3」を算出し、T44において、算出済みの発注可能数「3」を発注可能数PN1として記憶する。
(Second Example)
In this embodiment, the processing executed by the mobile terminal 100 and the management server 200 is different from that in the first embodiment. In the communication system 2 of this embodiment, the same process as the ordering process of FIG. 2 is realized. That is, the management server 200 receives the order completion information from the sales server 300 at T40, calculates a new orderable number "3" at T42, and orders the calculated orderable number "3" at T44. Store as a possible number PN1.

(通知処理;図3)
本実施例の通知処理では、CPU132は、S14が終了すると、S16〜S26の処理を実行せず、S30の処理を実行する。
(Notification processing; Fig. 3)
In the notification process of this embodiment, when S14 is completed, the CPU 132 does not execute the processes of S16 to S26, but executes the process of S30.

(サーバ処理;図6)
続いて、図6を参照して、本実施例の管理サーバ200のCPU232によって実行されるサーバ処理について説明する。上述の通知サービス登録プロセスが完了すると、図6の処理が開始される。なお、CPU232は、メモリ234内の複数個の契約情報CIのそれぞれを利用して、サーバ処理を実行する。以下では、メモリ234内の契約情報CI1を利用して実行されるサーバ処理を説明する。
(Server processing; Fig. 6)
Subsequently, with reference to FIG. 6, the server processing executed by the CPU 232 of the management server 200 of this embodiment will be described. When the above notification service registration process is completed, the process of FIG. 6 is started. The CPU 232 executes server processing by using each of the plurality of contract information CIs in the memory 234. The server processing executed by using the contract information CI1 in the memory 234 will be described below.

S210において、CPU232は、契約情報CI1内の発注可能数PN1を取得する。 In S210, the CPU 232 acquires the orderable number PN1 in the contract information CI1.

S212において、CPU232は、今日の日付が、月末日まで5日以内であるのか否かを判断する。CPU232は、今日の日付が月末日まで5日以内である場合(S212でYES)に、S214に進み、今日の日付が月末日まで5日以内でない場合(S212でNO)に、S214、S216をスキップして、S220に進む。 In S212, the CPU 232 determines whether or not today's date is within 5 days until the end of the month. The CPU 232 proceeds to S214 when today's date is within 5 days until the end of the month (YES in S212), and when today's date is not within 5 days until the end of the month (NO in S212), S214 and S216 are set. Skip and proceed to S220.

S214において、CPU232は、S210で取得した発注可能数が「1個」以上であるのか否かを判断する。CPU232は、発注可能数が「1個」以上である場合(S214でYES)に、S216に進み、発注可能数が「0個」である場合(S214でNO)に、S216をスキップして、S220に進む。 In S214, the CPU 232 determines whether or not the orderable number acquired in S210 is "1" or more. The CPU 232 proceeds to S216 when the orderable quantity is "1" or more (YES in S214), and skips S216 when the orderable quantity is "0" (NO in S214). Proceed to S220.

S216において、CPU232は、S210で取得した発注可能数を含む発注可能情報を携帯端末100のサービスアプリ138に送信する。携帯端末100は、管理サーバ200から発注可能情報を受信すると、ポップアップ画像D1(図5参照)を表示部114に表示させる。従って、契約者は、当月内に発注可能なカートリッジ20aが残っていることを知ることができる。なお、変形例では、CPU232は、携帯端末100を利用するユーザのメールアドレス宛に、メッセージM1を含むメールを送信してもよい。 In S216, the CPU 232 transmits the orderable information including the orderable number acquired in S210 to the service application 138 of the mobile terminal 100. When the mobile terminal 100 receives the orderable information from the management server 200, the mobile terminal 100 displays the pop-up image D1 (see FIG. 5) on the display unit 114. Therefore, the contractor can know that the cartridge 20a that can be ordered within the current month remains. In the modified example, the CPU 232 may send an e-mail including the message M1 to the e-mail address of the user who uses the mobile terminal 100.

S220において、CPU232は、S210で契約情報CI1内の発注可能数PN1を取得してから、第2所定時間(例えば24時間)が経過することを監視する。CPU232は、契約情報CI1内の発注可能数PN1を取得してから第2所定時間が経過する場合に、S220でYESと判断し、S210に戻る。即ち、CPU232は、第2所定時間が経過する毎に、発注可能数を取得する。 In S220, the CPU 232 monitors that a second predetermined time (for example, 24 hours) has elapsed since the orderable number PN1 in the contract information CI1 was acquired in S210. When the second predetermined time elapses after acquiring the orderable number PN1 in the contract information CI1, the CPU 232 determines YES in S220 and returns to S210. That is, the CPU 232 acquires the orderable number every time the second predetermined time elapses.

(本実施例の効果)
本実施例によると、管理サーバ200は、当月内の月末日から5日以内に発注可能数を取得し(図6のS210)、かつ、取得済みの発注可能数が「1個」以上である場合(S212)に、取得済みの発注可能数を携帯端末100の表示部114に表示させる。このため、月額契約を締結している契約者は、当月内にカートリッジ20aを発注可能であることを知ることができる。従って、契約者の利便性を向上させることができる。
(Effect of this example)
According to this embodiment, the management server 200 acquires the orderable number within 5 days from the last day of the current month (S210 in FIG. 6), and the acquired orderable number is "1" or more. In the case (S212), the acquired orderable number is displayed on the display unit 114 of the mobile terminal 100. Therefore, the contractor who has concluded the monthly contract can know that the cartridge 20a can be ordered within the current month. Therefore, the convenience of the contractor can be improved.

(対応関係)
管理サーバ200、携帯端末100が、それぞれ、「情報処理装置」、「端末装置」の一例である。携帯端末100の表示部114が、「出力部」の一例である。図6のS210で実行される処理が、「取得部」で実行される処理の一例である。図6のS216で実行される処理が、「出力制御部」で実行される処理の一例である。
(Correspondence)
The management server 200 and the mobile terminal 100 are examples of an "information processing device" and a "terminal device", respectively. The display unit 114 of the mobile terminal 100 is an example of the “output unit”. The process executed in S210 of FIG. 6 is an example of the process executed in the “acquisition unit”. The process executed in S216 of FIG. 6 is an example of the process executed by the “output control unit”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Although specific examples of the present invention have been described in detail above, these are merely examples and do not limit the scope of claims. The techniques described in the claims include various modifications and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.

(変形例1)プリンタ10が、「情報処理装置」の一例であってもよい。本変形例では、プリンタ10は、管理サーバ200から発注可能数を受信する。そして、プリンタ10は、月末日から5日以内において、管理サーバ200から受信される発注可能数が「1個」以上である場合に、当月内に発注可能なカートリッジ20aが残っていることを示すメッセージM1を表示部14に表示させる。また、別の変形例では、携帯端末100と管理サーバ200とを含むシステムが、「情報処理装置」の一例であってもよい。 (Modification 1) The printer 10 may be an example of an “information processing device”. In this modification, the printer 10 receives the orderable number from the management server 200. Then, the printer 10 indicates that the cartridge 20a that can be ordered remains within the current month when the number of orders that can be ordered received from the management server 200 is "1" or more within 5 days from the last day of the month. The message M1 is displayed on the display unit 14. Further, in another modification, the system including the mobile terminal 100 and the management server 200 may be an example of the "information processing device".

(変形例2)「所定期間」は、1ヶ月に限定されず、1週間、1年、10日等であってもよい。 (Modification 2) The “predetermined period” is not limited to one month, and may be one week, one year, ten days, or the like.

(変形例3)「所定のタイミング」は、月末日の5日前に限定されず、月末日の10日前、1週間前等であってもよい。一般的に言うと、「所定のタイミング」は、「所定期間」の始期より後のタイミングであればよい。 (Modification 3) The “predetermined timing” is not limited to 5 days before the end of the month, but may be 10 days before the end of the month, 1 week before, or the like. Generally speaking, the "predetermined timing" may be a timing after the start of the "predetermined period".

(変形例4)「所定のタイミング」が、契約者によって設定可能であってもよい。例えば、第1実施例において、携帯端末100のユーザが、携帯端末100を操作することによって、S16でYESと判断されるタイミングを変更可能であってもよい。 (Modification 4) The “predetermined timing” may be set by the contractor. For example, in the first embodiment, the user of the mobile terminal 100 may be able to change the timing determined to be YES in S16 by operating the mobile terminal 100.

(変形例5)「商品」は、プリンタ10の消耗品に限定されず、ミシン、カメラ等に利用される製品であってもよい。 (Modification 5) The “product” is not limited to the consumables of the printer 10, and may be a product used for a sewing machine, a camera, or the like.

(変形例6)上記の各実施例では、図2〜図6の各処理がソフトウェア(即ちプログラム36)によって実現されるが、これらの各処理のうちの少なくとも1つが論理回路等のハードウェアによって実現されてもよい。 (Modification 6) In each of the above embodiments, each process of FIGS. 2 to 6 is realized by software (that is, program 36), but at least one of these processes is performed by hardware such as a logic circuit. It may be realized.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 In addition, the technical elements described in the present specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in the present specification or drawings achieve a plurality of objectives at the same time, and achieving one of the objectives itself has technical usefulness.

2:通信システム、4:インターネット、10:プリンタ、12:操作部、14:表示部、16:通信I/F、20:印刷実行部、20a:カートリッジ、30:制御部、32:CPU、34:メモリ、36:プログラム、38:残量情報、100:携帯端末、112:操作部、114:表示部、116:通信I/F、130:制御部、132:CPU、134:メモリ、136:OSプログラム、138:サービスアプリ、200:管理サーバ、232:CPU、234:メモリ、236:プログラム、300:販売サーバ、334:メモリ 2: Communication system, 4: Internet, 10: Printer, 12: Operation unit, 14: Display unit, 16: Communication I / F, 20: Print execution unit, 20a: Cartridge, 30: Control unit, 32: CPU, 34 : Memory, 36: Program, 38: Remaining amount information, 100: Mobile terminal, 112: Operation unit, 114: Display unit, 116: Communication I / F, 130: Control unit, 132: CPU, 134: Memory, 136: OS program, 138: service application, 200: management server, 232: CPU, 234: memory, 236: program, 300: sales server, 334: memory

Claims (7)

情報処理装置のためのコンピュータプログラムであって、
前記情報処理装置のコンピュータを、
所定期間内に発注可能な商品の上限数が決められている契約が締結されている状態において、発注可能数を取得する取得部であって、前記発注可能数は、前記所定期間の始期から現在までに発注された商品の数を前記上限数から減算することによって得られる数である、前記取得部と、
前記所定期間内の所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が1以上である場合に、前記商品を発注可能であることを示す発注可能情報を出力部に出力させる出力制御部と、として機能させ、
前記出力制御部は、
取得済みの前記発注可能数がゼロである場合に、前記発注可能情報を前記出力部に出力させず、
前記所定期間内の前記所定のタイミングよりも前に前記発注可能数が取得される場合に、取得済みの前記発注可能数が1以上であっても、前記発注可能情報を前記出力部に出力させない、
コンピュータプログラム。
A computer program for information processing equipment
The computer of the information processing device
An acquisition unit that acquires the number of items that can be ordered in a state where a contract has been concluded in which the maximum number of products that can be ordered within a predetermined period is determined, and the number of items that can be ordered is currently from the beginning of the predetermined period. The acquisition unit, which is the number obtained by subtracting the number of products ordered up to the above from the upper limit number,
When the orderable quantity is acquired after a predetermined timing within the predetermined period and the acquired orderable quantity is 1 or more, the orderable information indicating that the product can be ordered is output. To function as an output control unit that outputs to the unit,
The output control unit
When the acquired orderable number is zero, the orderable information is not output to the output unit.
When the orderable quantity is acquired before the predetermined timing within the predetermined period, the orderable information is not output to the output unit even if the acquired orderable quantity is 1 or more. ,
Computer program.
前記情報処理装置は、前記契約を締結している契約者によって利用される端末装置であり、
前記出力部は、前記端末装置の表示部であり、
前記出力制御部は、前記所定期間内の前記所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が1以上である場合に、前記発注可能情報を含む通知画面を前記表示部に表示させる、請求項1に記載のコンピュータプログラム。
The information processing device is a terminal device used by a contractor who has concluded the contract.
The output unit is a display unit of the terminal device, and is
The output control unit is a notification screen including the orderable information when the orderable number is acquired after the predetermined timing within the predetermined period and the acquired orderable number is 1 or more. The computer program according to claim 1, wherein the computer program is displayed on the display unit.
前記情報処理装置は、管理サーバであり、
前記取得部は、前記管理サーバのメモリから前記発注可能数を取得し、
前記出力部は、前記契約を締結している契約者によって利用される端末装置の表示部であり、
前記出力制御部は、前記所定期間内の前記所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が1以上である場合に、前記発注可能情報を前記端末装置に送信することによって、前記発注可能情報を含む通知画面を前記表示部に表示させる、請求項1に記載のコンピュータプログラム。
The information processing device is a management server.
The acquisition unit acquires the orderable number from the memory of the management server.
The output unit is a display unit of a terminal device used by a contractor who has concluded the contract.
When the orderable number is acquired after the predetermined timing within the predetermined period and the acquired orderable number is 1 or more, the output control unit outputs the orderable information to the terminal device. The computer program according to claim 1, wherein a notification screen including the orderable information is displayed on the display unit by transmitting to.
前記コンピュータプログラムは、さらに、前記コンピュータを、
前記商品を販売する販売サーバから、前記商品の発注数を含む発注完了情報であって、前記商品の発注が完了したことを示す前記発注完了情報を受信する受信部と、
前記販売サーバから前記発注完了情報が受信される場合に、現在の前記発注可能数から前記発注数を減算することによって新たな前記発注可能数を算出する算出部と、
算出済みの前記新たな発注可能数を前記メモリに記憶させる記憶制御部と、を備える、請求項3に記載のコンピュータプログラム。
The computer program further comprises the computer.
A receiving unit that receives order completion information including the number of orders for the product from the sales server that sells the product, indicating that the order for the product has been completed.
When the order completion information is received from the sales server, a calculation unit that calculates a new orderable number by subtracting the orderable number from the current orderable number.
The computer program according to claim 3, further comprising a storage control unit that stores the calculated new orderable number in the memory.
前記通知画面は、前記商品を販売する販売サーバにアクセスするための位置情報を含む、請求項2〜4のいずれか一項に記載のコンピュータプログラム。 The computer program according to any one of claims 2 to 4, wherein the notification screen includes location information for accessing a sales server that sells the product. 前記商品は、プリンタで利用される消耗品である、請求項1〜5のいずれか一項に記載のコンピュータプログラム。 The computer program according to any one of claims 1 to 5, wherein the product is a consumable item used in a printer. 情報処理装置であって、
所定期間内に発注可能な商品の上限数が決められている契約が締結されている状態において、発注可能数を取得する取得部であって、前記発注可能数は、前記所定期間の始期から現在までに発注された商品の数を前記上限数から減算することによって得られる数である、前記取得部と、
前記所定期間内の所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が1以上である場合に、前記商品を発注可能であることを示す発注可能情報を出力部に出力させる出力制御部と、を備え、
前記出力制御部は、
取得済みの前記発注可能数がゼロである場合に、前記発注可能情報を前記出力部に出力させず、
前記所定期間内の前記所定のタイミングよりも前に前記発注可能数が取得される場合に、取得済みの前記発注可能数が1以上であっても、前記発注可能情報を前記出力部に出力させない、
情報処理装置。
It is an information processing device
An acquisition unit that acquires the number of items that can be ordered in a state where a contract has been concluded in which the maximum number of products that can be ordered within a predetermined period is determined, and the number of items that can be ordered is currently from the beginning of the predetermined period. The acquisition unit, which is the number obtained by subtracting the number of products ordered up to the above from the upper limit number,
When the orderable quantity is acquired after a predetermined timing within the predetermined period and the acquired orderable quantity is 1 or more, the orderable information indicating that the product can be ordered is output. It is equipped with an output control unit that outputs to the unit.
The output control unit
When the acquired orderable number is zero, the orderable information is not output to the output unit.
When the orderable quantity is acquired before the predetermined timing within the predetermined period, the orderable information is not output to the output unit even if the acquired orderable quantity is 1 or more. ,
Information processing device.
JP2019064158A 2019-03-28 2019-03-28 Computer program for information processing device, and information processing device Pending JP2020166374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019064158A JP2020166374A (en) 2019-03-28 2019-03-28 Computer program for information processing device, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019064158A JP2020166374A (en) 2019-03-28 2019-03-28 Computer program for information processing device, and information processing device

Publications (1)

Publication Number Publication Date
JP2020166374A true JP2020166374A (en) 2020-10-08

Family

ID=72716130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019064158A Pending JP2020166374A (en) 2019-03-28 2019-03-28 Computer program for information processing device, and information processing device

Country Status (1)

Country Link
JP (1) JP2020166374A (en)

Similar Documents

Publication Publication Date Title
US9007623B2 (en) System and method for enabling a mobile customizable EIP interface to access multi-function devices
US20160179447A1 (en) Image forming apparatus and image forming system
JP2018106529A (en) Management server, and computer programs for management server and terminal device
US20150120935A1 (en) Information processing apparatus and method, information processing system, and non-transitory computer readable medium
JP6776869B2 (en) server
US11171954B2 (en) Server and non-transitory computer-readable recording medium storing computer-readable instructions for server
US11645024B2 (en) Resuming print job by using accounting information
JP2021064141A (en) Information processing system, service providing device, information processing method, and program
US20200076978A1 (en) Management server, information processing system, and information processing method
JP2020166374A (en) Computer program for information processing device, and information processing device
US20160048357A1 (en) Printer driver and application decoupling using event centric registration model
JP7272049B2 (en) server and computer program for server
JP2022086664A (en) Information processing apparatus and application software
JP6907865B2 (en) Control device
US11169955B2 (en) Remote device configurations
US20230093083A1 (en) System and processing apparatus
JP7163588B2 (en) DISPLAY DATA GENERATION DEVICE, DISPLAY DATA GENERATION METHOD, PROGRAM AND INFORMATION PROCESSING SYSTEM
JP7095531B2 (en) Information processing equipment, information processing system, information processing method and program
US11687296B2 (en) Communication system, non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, and method performed by terminal device
JP2023172573A (en) Server, printer, and application program for terminal device
US11175865B2 (en) Information processing apparatus and non-transitory computer readable medium storing program
JP2019040337A (en) Printing management system, management device and printer
US20240040054A1 (en) Server, non-transitory computer-readable recording medium storing computer-readable instructions for server, method performed by server, communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method performed by communication device
JP2024046004A (en) Computer program for a terminal device, terminal device, and method executed by the terminal device
JP2018107658A (en) program