JP2020166374A - Computer program for information processing device, and information processing device - Google Patents
Computer program for information processing device, and information processing device Download PDFInfo
- 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
Links
Images
Abstract
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. ..
所定期間内の発注可能な商品の上限数が決められている契約が存在することが想定される。本明細書では、このような契約を締結している契約者の利便性を向上させることができる技術を提供する。 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.
(実施例)
(通信システム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
(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺装置(即ちPC等の周辺装置)である。なお、プリンタ10は、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、通信インターフェース(以下ではインターフェースを「I/F」と記載する)16と、印刷実行部20と、制御部30と、を備える。プリンタ10には、シリアル番号SN1が割当てられている。シリアル番号は、複数個のプリンタが製造される際に、各プリンタに割り当てられるユニークな文字列である。
(Configuration of printer 10)
The
操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。通信I/F16は、インターネット4に接続されている。通信I/F16は、無線I/Fであってもよいし、有線I/Fであってもよい。
The
印刷実行部20は、インクジェット方式の印刷機構である。印刷実行部20には、インクを収容するカートリッジ20aが装着される。印刷実行部20は、カートリッジ20a内のインクを利用して、印刷を実行する。
The
制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に記憶されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、印刷実行部20に装着されているカートリッジ20aの残量を示す残量情報38を記憶する。CPU32は、印刷機能を実行する際に、カートリッジ20a内のインクの使用量を算出し、残量情報38から算出済みの使用量を減算して、残量情報38を更新する。また、CPU32は、印刷実行部20に新品のカートリッジ20aが装着されると、残量情報38を100%に更新する。
The
(携帯端末100の構成)
携帯端末100は、例えば、携帯電話、スマートフォン、PDA、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末100は、操作部112と、表示部114と、通信I/F116と、制御部130と、を備える。
(Configuration of mobile terminal 100)
The
操作部112は、複数のキーを備える。ユーザは、操作部112を操作することによって、様々な指示を携帯端末100に入力することができる。表示部114は、様々な情報を表示するためのディスプレイである。表示部114は、いわゆるタッチパネル(即ち操作部)としても機能する。通信I/F116は、インターネット4に接続されている。
The
制御部130は、CPU132とメモリ134とを備える。CPU132は、メモリ134に格納されているOS(Operating Systemの略)プログラム136に従って、様々な処理を実行する。OSプログラム136は、携帯端末100の種々の基本的な動作を制御するためのプログラムである。また、メモリ134は、サービスアプリ138を格納する。サービスアプリ138は、プリンタ10のベンダによって提供されるアプリケーションであり、例えば、インターネット上のサーバから携帯端末100にインストールされる。サービスアプリ138は、プリンタ10の印刷実行部20に装着されているカートリッジ20aの残量情報を表示部114に表示させるためのアプリケーションである。また、サービスアプリ138は、通知サービスを提供するアプリケーションでもある。
The
(管理サーバ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
(販売サーバ300の構成)
販売サーバ300は、プリンタ10の消耗品(例えば、インクカートリッジ、トナーカートリッジ、感光体ドラム等)を含む様々な商品を販売するベンダ(例えばAmazon(登録商標))によってインターネット4上に設置されるサーバである。なお、販売サーバ300は、プリンタ10のベンダによって提供されるサーバであってもよい。販売サーバ300のメモリ334には、複数個の販売管理情報SMI1、SMI2が記憶されている。販売管理情報SMIでは、アカウント情報と、住所情報と、シリアル番号と、が対応づけられている。アカウント情報は、販売サーバ300にログインするための情報である。住所情報は、商品の発送先の住所を示す。
(Configuration of sales server 300)
The
(月額契約締結プロセス)
プリンタ10及び携帯端末100のユーザは、月額契約を締結することによって、上述の月額契約サービスを受けることができる。月額契約が締結される際に実行される処理について簡単に説明する。
(Monthly contract conclusion process)
The user of the
まず、携帯端末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
携帯端末100は、管理サーバ200から販売サーバ300のURLを受信すると、当該URLを宛先としてログインページ要求を販売サーバ300に送信し、販売サーバ300からログイン画面データを受信し、ログイン画面を表示する。そして、携帯端末100は、ログイン画面へのアカウント情報AI1の入力をユーザから受け付けると、登録ページ要求を販売サーバ300に送信し、販売サーバ300から登録画面データを受信し、登録画面を表示する。図示省略しているが、当該画面は、住所情報入力欄を含む。携帯端末100は、住所情報AD1の住所情報入力欄への入力を受け付けると、住所情報AD1を販売サーバ300に送信する。
When the
販売サーバ300は、携帯端末100から住所情報AD1を受信すると、管理サーバ200から受信されたシリアル番号SN1と、携帯端末100から受信された住所情報AD1と、をログイン済みアカウント情報AI1に対応付けて販売管理情報SMI1に記憶する。これにより、月額契約締結プロセスが終了する。即ち、プリンタ10及び携帯端末100のユーザは、1ヶ月の期間において、一定の金額で、上限数「5個」のカートリッジ20aを発注することができる。
When the
(通知サービス登録プロセス)
続いて、サービスアプリ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
(プリンタ登録プロセス)
続いて、プリンタ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
(発注プロセス;図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
携帯端末100は、T10において、販売サーバ300にログインするためのログイン操作を携帯端末100のユーザから受け付けると、T12において、ログイン要求を販売サーバ300に送信し、T14において、販売サーバ300からログイン画面データを受信し、T16において、ログイン画面を表示する。図示省略しているが、ログイン画面は、アカウント情報入力欄を含む。
When the
携帯端末100は、T18において、ログイン画面内のアカウント情報入力欄へのアカウント情報AI1の入力をユーザから受け付けると、T20において、発注要求を販売サーバ300に送信し、T22において、販売サーバ300から発注画面データを受信し、T24において、発注画面を表示する。図示省略しているが、発注画面は、発注するカートリッジの型番を選択する型番選択欄と、発注するカートリッジの数を選択する発注数選択欄と、を含む。携帯端末100は、T26において、型番「BK01」及び発注数「1」の選択を受け付けると、T28において、型番「BK01」及び発注数「1」を含む発注情報を販売サーバ300に送信する。
When the
販売サーバ300は、T28において、携帯端末100から発注情報を受信すると、メモリ334内のログイン済アカウント情報AI1を含む販売管理情報SMI1を特定する。そして、販売サーバ300は、販売管理情報SMI1内の住所情報AD1を特定し、T30において、特定済みの住所情報AD1によって示される住所に、型番「BK01」が割り当てられているカートリッジ20aを発送するための発送処理を実行し、T32において、発注完了通知を携帯端末100に送信する。また、販売サーバ300は、販売管理情報SMI1内のシリアル番号SN1を特定し、T40において、特定済みのシリアル番号SN1と、発注数「1」と、を含む発注完了情報を管理サーバ200に送信する。
When the
管理サーバ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
(通知処理;図3)
続いて、図3を参照して、携帯端末100のCPU132がサービスアプリ138に従って実行する処理について説明する。上述の通知サービス登録プロセスが完了すると、図3の処理が開始される。
(Notification processing; Fig. 3)
Subsequently, with reference to FIG. 3, a process executed by the
S10において、CPU132は、メモリ134に記憶されているシリアル番号SN1を含む消耗品情報要求を管理サーバ200に送信する。消耗品情報要求は、当該要求内のシリアル番号SN1に対応する発注可能数及び残量情報を含む消耗品情報の送信を管理サーバ200に要求するための信号である。
In S10, the
S12において、CPU132は、管理サーバ200から、発注可能数及び残量情報を含む消耗品情報を受信する。S14において、CPU132は、S12で受信された消耗品情報をシリアル番号SN1に対応付けてメモリ134に記憶させる。
In S12, the
S16において、CPU132は、今日の日付が、月末日まで5日以内であるのか否かを判断する。例えば、今月が3月である場合、CPU132は、今日の日付が26日以降であるのか否かを判断する。CPU132は、今日の日付が月末日まで5日以内である場合(S16でYES)に、S18に進み、今日の日付が月末日まで5日以内でない場合(S16でNO)に、S18、S20をスキップして、S30に進む。
In S16, the
S18において、CPU132は、S12で受信された消耗品情報内の発注可能数が「1個」以上であるのか否かを判断する。CPU132は、発注可能数が「1個」以上である場合(S18でYES)に、S20に進み、発注可能数が「0個」である場合(S18でNO)、S20をスキップして、S30に進む。
In S18, the
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
S30において、CPU132は、消耗品情報要求を管理サーバ200に送信してから、第1所定時間(例えば、24時間)が経過することを監視する。CPU132は、消耗品情報要求を管理サーバ200に送信してから第1所定時間が経過する場合に、S30でYESと判断し、S10に戻る。即ち、CPU132は、第1所定時間が経過する毎に、消耗品情報要求を管理サーバ200に送信する。
In S30, the
(通知プロセス;図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
携帯端末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
管理サーバ200は、T110において、携帯端末100から消耗品情報要求を受信すると、当該要求内のシリアル番号SN1を特定し、メモリ234内の複数個の契約情報CIの中から、特定済みのシリアル番号SN1を含む契約情報CI1を特定する。そして、管理サーバ200は、特定済みの契約情報CI1内の発注可能数PN1(「3個」)及び残量情報RI1(「30%」)を特定し、T112において、特定済みの発注可能数「3個」と特定済みの残量情報「30%」とを含む消耗品情報を携帯端末100に送信する。
When the
携帯端末100は、T112において、管理サーバ200から消耗品情報を受信すると(S12)、T114において、消耗品情報内の発注可能数「3個」及び残量情報「30%」をメモリ134に記憶させる(S14)。そして、携帯端末100は、今日の日付「3月25日」が、月末日「3月31日」から5日以内でないと判断し(S16でNO)、消耗品情報要求を管理サーバ200に送信してから、第1所定時間(即ち24時間)が経過することを監視する(S30)。
When the
その後、現在日時が「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
その後、現在日時が「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
(本実施例の効果)
本実施例によると、携帯端末100は、当月内の月末日から5日以内に発注可能数を取得し(図3のS12)、かつ、取得済みの発注可能数が「1個」以上である場合(S18でYES)に、当月内に発注可能なカートリッジ20aが残っていることを示すメッセージM1を表示部114に表示させる(S20)。このため、月額契約を締結している契約者は、当月内にカートリッジ20aを発注可能であることを知ることができる。従って、契約者の利便性を向上させることができる。
(Effect of this example)
According to this embodiment, the
(対応関係)
携帯端末100が、「情報処理装置」及び「端末装置」の一例である。カートリッジ20aが、「商品」及び「プリンタで利用される消耗品」の一例である。1ヶ月が、「所定期間」の一例である。月末日まで5日以内が、「所定のタイミング」の一例である。メッセージM1が、「発注可能情報」の一例である。携帯端末100の表示部114が、「出力部」の一例である。ポップアップ画像D1が、「通知画面」の一例である。ポップアップ画像D1内のURL「http://saleserver.co.jp」が、「位置情報」の一例である。
(Correspondence)
The
図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
(通知処理;図3)
本実施例の通知処理では、CPU132は、S14が終了すると、S16〜S26の処理を実行せず、S30の処理を実行する。
(Notification processing; Fig. 3)
In the notification process of this embodiment, when S14 is completed, the
(サーバ処理;図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
S210において、CPU232は、契約情報CI1内の発注可能数PN1を取得する。
In S210, the
S212において、CPU232は、今日の日付が、月末日まで5日以内であるのか否かを判断する。CPU232は、今日の日付が月末日まで5日以内である場合(S212でYES)に、S214に進み、今日の日付が月末日まで5日以内でない場合(S212でNO)に、S214、S216をスキップして、S220に進む。
In S212, the
S214において、CPU232は、S210で取得した発注可能数が「1個」以上であるのか否かを判断する。CPU232は、発注可能数が「1個」以上である場合(S214でYES)に、S216に進み、発注可能数が「0個」である場合(S214でNO)に、S216をスキップして、S220に進む。
In S214, the
S216において、CPU232は、S210で取得した発注可能数を含む発注可能情報を携帯端末100のサービスアプリ138に送信する。携帯端末100は、管理サーバ200から発注可能情報を受信すると、ポップアップ画像D1(図5参照)を表示部114に表示させる。従って、契約者は、当月内に発注可能なカートリッジ20aが残っていることを知ることができる。なお、変形例では、CPU232は、携帯端末100を利用するユーザのメールアドレス宛に、メッセージM1を含むメールを送信してもよい。
In S216, the
S220において、CPU232は、S210で契約情報CI1内の発注可能数PN1を取得してから、第2所定時間(例えば24時間)が経過することを監視する。CPU232は、契約情報CI1内の発注可能数PN1を取得してから第2所定時間が経過する場合に、S220でYESと判断し、S210に戻る。即ち、CPU232は、第2所定時間が経過する毎に、発注可能数を取得する。
In S220, the
(本実施例の効果)
本実施例によると、管理サーバ200は、当月内の月末日から5日以内に発注可能数を取得し(図6のS210)、かつ、取得済みの発注可能数が「1個」以上である場合(S212)に、取得済みの発注可能数を携帯端末100の表示部114に表示させる。このため、月額契約を締結している契約者は、当月内にカートリッジ20aを発注可能であることを知ることができる。従って、契約者の利便性を向上させることができる。
(Effect of this example)
According to this embodiment, the
(対応関係)
管理サーバ200、携帯端末100が、それぞれ、「情報処理装置」、「端末装置」の一例である。携帯端末100の表示部114が、「出力部」の一例である。図6のS210で実行される処理が、「取得部」で実行される処理の一例である。図6のS216で実行される処理が、「出力制御部」で実行される処理の一例である。
(Correspondence)
The
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 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
(変形例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
(変形例5)「商品」は、プリンタ10の消耗品に限定されず、ミシン、カメラ等に利用される製品であってもよい。
(Modification 5) The “product” is not limited to the consumables of the
(変形例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.
所定期間内に発注可能な商品の上限数が決められている契約が締結されている状態において、発注可能数を取得する取得部であって、前記発注可能数は、前記所定期間の始期から現在までに発注された商品の数を前記上限数から減算することによって得られる数である、前記取得部と、
前記所定期間内の所定のタイミング以降に前記発注可能数が取得され、かつ、取得済みの前記発注可能数が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.
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) |
-
2019
- 2019-03-28 JP JP2019064158A patent/JP2020166374A/en active Pending
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 |