JP5884850B2 - Information distribution apparatus and program - Google Patents

Information distribution apparatus and program Download PDF

Info

Publication number
JP5884850B2
JP5884850B2 JP2014062882A JP2014062882A JP5884850B2 JP 5884850 B2 JP5884850 B2 JP 5884850B2 JP 2014062882 A JP2014062882 A JP 2014062882A JP 2014062882 A JP2014062882 A JP 2014062882A JP 5884850 B2 JP5884850 B2 JP 5884850B2
Authority
JP
Japan
Prior art keywords
program
data
information
distribution
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014062882A
Other languages
Japanese (ja)
Other versions
JP2014139825A (en
Inventor
新堂 幸博
幸博 新堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2014062882A priority Critical patent/JP5884850B2/en
Publication of JP2014139825A publication Critical patent/JP2014139825A/en
Application granted granted Critical
Publication of JP5884850B2 publication Critical patent/JP5884850B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、情報配信装置及びプログラムに関する。 The present invention relates to an information distribution apparatus and a program.

従来、インターネット等の通信ネットワークを介してサーバ装置から端末機器へ向けてプログラム(ソフトウエア)を配信する各種システムが知られている。   2. Description of the Related Art Conventionally, various systems for distributing a program (software) from a server device to a terminal device via a communication network such as the Internet are known.

例えば、特許文献1には、端末からサーバ側にアプリケーション要求を送信すると、サーバ装置側から端末に対してアプリケーションソフトウエアをダウンロードの形で配信し、端末側で受信したアプリケーションソフトウエアを使ってデータ処理ができるようにしたソフトウエア配信システムが記載されている。   For example, in Patent Document 1, when an application request is transmitted from the terminal to the server side, application software is distributed from the server device side to the terminal in the form of download, and data is received using the application software received on the terminal side. A software distribution system capable of processing is described.

また、特許文献2には、ソフトウエアを再結合可能な複数のセグメントデータに分割して所定のサイトに登録しておき、ユーザ端末がサイトにリンクしたことが検出されるたびに複数のセグメントデータのそれぞれをひとつずつユーザ端末に送信することで、大容量データのソフトウエアであってもユーザにストレスを与えずに送信することができるようにした技術が記載されている。   Patent Document 2 discloses that software is divided into a plurality of recombinable segment data and registered in a predetermined site, and each time a user terminal is detected to be linked to a site, a plurality of segment data is recorded. A technique is described in which each of the above is transmitted to a user terminal one by one so that even large-capacity data software can be transmitted without stressing the user.

また、特許文献3には、分散システムにおけるソフトウエア配信方式が記載されている。   Patent Document 3 describes a software distribution method in a distributed system.

特開2005−18604号公報Japanese Patent Laid-Open No. 2005-18604 特開2002−99476号公報JP 2002-99476 A 特開平8−95880号公報JP-A-8-95880

ところで、店舗に設置されるECR(売上データ処理装置)や決済端末等の端末機器は、同一の会社が構える店舗間であっても店舗毎に機種が異なり、搭載されるプログラムが店舗毎に異なる場合がある。また、同じ店舗であってもフロア毎に端末機器の機種が異なり、フロア毎に搭載されるプログラムが異なる場合がある。また、同じ機種の端末機器であっても、端末機器によって仕向け等が異なり、搭載されるプログラムが異なる場合がある。   By the way, terminal devices such as ECR (sales data processing device) and payment terminals installed in stores are different for each store even between stores set by the same company, and installed programs are different for each store. There is a case. In addition, even in the same store, the terminal device model is different for each floor, and the program installed on each floor may be different. In addition, even for terminal devices of the same model, the destination or the like differs depending on the terminal device, and the installed program may be different.

しかしながら、従来のプログラムの配信技術においては、サーバ等のデータ管理装置は端末からの要求に応じてプログラムを配信しているだけであり、店舗に設置される端末機器のように、搭載されるプログラムの種類がまちまちである複数の端末機器のプログラムを最新の状態となるように更新させることはできなかった。   However, in the conventional program distribution technology, a data management device such as a server only distributes a program in response to a request from a terminal, and the program installed like a terminal device installed in a store It was not possible to update the programs of a plurality of terminal devices of various types to the latest state.

本発明の課題は、複数の端末機器に対する情報配信を制限することで、ネットワーク負荷やシステム負荷を抑制することである。 An object of the present invention is to suppress network load and system load by restricting information distribution to a plurality of terminal devices .

請求項1は、複数の端末機器に対して情報を配信する情報配信装置であって、配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段と、前記判別手段で即時配信が必要な端末機器が存在すると判別された場合には、当該端末機器の電源立ち上げ時に前記配信すべき情報を先に配信すべく制御する第1制御手段と、前記判別手段で即時配信が必要でない端末機器に対しては、前記第1制御手段による情報配信の後にあって前記配信すべき情報を配信すべく制御する第2制御手段と、を具備したことを特徴とする。
請求項2は、複数の端末機器に対して情報を配信する情報配信装置であって、配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段と、前記即時配信が必要な端末機器に対しては、当該端末機器での処理開始に際して、即時配信の必要な情報を配信制御する制御手段と、を具備したことを特徴とする


Claim 1 is an information distribution apparatus for distributing information to a plurality of terminal devices, and when there is information to be distributed, a terminal that requires immediate distribution of the information among the plurality of terminal devices When it is determined that there is a terminal device that needs immediate distribution by the determination unit and a determination unit that determines a device, control is performed to distribute the information to be distributed first when the power of the terminal device is turned on. A first control unit; and a second control unit that controls to distribute the information to be distributed after the information distribution by the first control unit to a terminal device that does not require immediate distribution by the determination unit. It is characterized by comprising.
Claim 2 is an information distribution device for distributing information to a plurality of terminal devices, and when there is information to be distributed, a terminal that requires immediate distribution of the information among the plurality of terminal devices A determining unit that determines a device; and a control unit that controls distribution of information that needs immediate distribution when the terminal device starts processing for the terminal device that needs immediate distribution. to.


本発明によれば、複数の端末機器に対する情報配信を制限することで、ネットワーク負荷やシステム負荷を抑制することができる。


According to the present invention, network load and system load can be suppressed by restricting information distribution to a plurality of terminal devices .


本発明の実施形態におけるプログラム配信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the program delivery system in embodiment of this invention. 図1のデータ管理装置の内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the data management apparatus of FIG. 図2のCPU11と記憶部に記憶されているアプリケーションプログラムとの協働により実現される機能の構成例を示す図である。It is a figure which shows the structural example of the function implement | achieved by cooperation with CPU11 of FIG. 2 and the application program memorize | stored in the memory | storage part. (a)は、図2のストアサービスマスタ記憶部のデータ格納例を示す図であり、(b)は、図2のプログラム配信情報記憶部のデータ格納例を示す図であり、(c)は、図2のプログラムデータ記憶部のデータ格納例を示す図である。(A) is a figure which shows the data storage example of the store service master memory | storage part of FIG. 2, (b) is a figure which shows the data storage example of the program delivery information storage part of FIG. 2, (c) is FIG. 3 is a diagram illustrating a data storage example of a program data storage unit in FIG. 2. 図1のECRの内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of ECR of FIG. 図3のプログラムデータ登録部により実行されるプログラムデータ登録処理を示すフローチャートである。It is a flowchart which shows the program data registration process performed by the program data registration part of FIG. 図3のプログラム配信情報登録部により実行されるプログラム配信情報登録処理を示すフローチャートである。It is a flowchart which shows the program delivery information registration process performed by the program delivery information registration part of FIG. 図5のCPUにより実行される閉設処理を示すフローチャートである。It is a flowchart which shows the closing process performed by CPU of FIG. 図3のストアサービスポート制御部により実行されるサービス提供処理を示すフローチャートである。It is a flowchart which shows the service provision process performed by the store service port control part of FIG. 図3の認証制御部により実行される認証処理を示すフローチャートである。It is a flowchart which shows the authentication process performed by the authentication control part of FIG. 図3のプログラム配信確認部により実行されるプログラム配信確認処理を示すフローチャートである。It is a flowchart which shows the program delivery confirmation process performed by the program delivery confirmation part of FIG. 図3のプログラム配信部により実行されるプログラム配信処理を示すフローチャートである。It is a flowchart which shows the program delivery process performed by the program delivery part of FIG. 実施形態2におけるプログラム配信情報記憶部のデータ格納例を示す図である。It is a figure which shows the example of data storage of the program delivery information storage part in Embodiment 2. 実施形態2において図3のプログラム配信情報登録部により実行されるプログラム配信情報登録処理Bを示すフローチャートである。It is a flowchart which shows the program delivery information registration process B performed by the program delivery information registration part of FIG. 3 in Embodiment 2. 実施形態3におけるプログラム配信情報記憶部のデータ格納例を示す図である。It is a figure which shows the example of data storage of the program delivery information storage part in Embodiment 3. 実施形態3において図3のプログラム配信確認部により実行されるプログラム配信確認処理Bを示すフローチャートである。It is a flowchart which shows the program delivery confirmation process B performed by the program delivery confirmation part of FIG. 3 in Embodiment 3. 実施形態4において図2のCPU11と記憶部に記憶されているアプリケーションプログラムとの協働により実現される機能の構成例を示す図である。FIG. 10 is a diagram illustrating a configuration example of functions realized by cooperation of the CPU 11 of FIG. 2 and an application program stored in a storage unit in the fourth embodiment. 実施形態4において図17の電文制御部201において実行される電文解釈処理を示すフローチャートである。18 is a flowchart illustrating message interpretation processing executed by the message control unit 201 in FIG. 17 in the fourth embodiment. 実施形態4において図17のプログラム配信部204において実行されるプログラム配信処理Bを示すフローチャートである。18 is a flowchart illustrating a program distribution process B executed by the program distribution unit 204 of FIG. 17 in the fourth embodiment. 実施形態4において図17の暗号制御部205において実行されるプログラムデータ暗号処理を示すフローチャートである。18 is a flowchart showing program data encryption processing executed by the encryption control unit 205 of FIG. 17 in Embodiment 4.

〔実施形態1〕
まず、本発明の実施形態1について説明する。
図1に、実施形態1におけるプログラム配信システム1の構成例を示す。図1に示すように、プログラム配信システム1は、データ管理装置10と、端末機器としてのECR(Electronic Cash Resister)20(20A〜20D)とが通信ネットワークNを介してデータ送受信可能に接続されて構成されている。通信ネットワークNは、例えば、WAN(Wide Area Network)やインターネット等の通信ネットワークにより構成されるが、LAN(Local Area Network)等を含めてもよく、電話回線、専用線、移動体通信網、通信衛星網、CATV(Cable Television)回線、インターネットプロバイダ等を含めてもよい。また、ECR20の台数は、ここでは20A〜20Dの4台として図示しているが、特に限定されない。
Embodiment 1
First, Embodiment 1 of the present invention will be described.
FIG. 1 shows a configuration example of a program distribution system 1 in the first embodiment. As shown in FIG. 1, a program distribution system 1 includes a data management device 10 and an ECR (Electronic Cash Resister) 20 (20A to 20D) as terminal devices connected via a communication network N so as to be able to transmit and receive data. It is configured. The communication network N is configured by a communication network such as a WAN (Wide Area Network) or the Internet, for example, but may include a LAN (Local Area Network) or the like, and may include a telephone line, a dedicated line, a mobile communication network, a communication A satellite network, CATV (Cable Television) line, Internet provider, etc. may be included. Moreover, although the number of ECR20 is illustrated as four units 20A-20D here, it is not specifically limited.

データ管理装置10は、通信ネットワークNを介して接続された各ECR20に対応する最新バージョンのプログラムデータを記憶するとともに、ECR20毎に、搭載されているプログラムの種類やそのプログラムの最新バージョンを示すプログラム管理コード等を記憶、管理しており、各ECR20からの要求に応じて、プログラムの配信確認やプログラムデータの配信等を行う。
ECR20は、店舗に設けられ、オペレータの操作に基づいて商品取引の登録処理(取引された日時、商品名、商品の売上個数、売上金額のデータ、担当者等の登録処理)、点検処理、精算処理、店舗内の売上集計等を行う売上データ処理装置である。ECR20としては、例えば、電子レジスタ等が適用可能である。
The data management apparatus 10 stores the latest version of program data corresponding to each ECR 20 connected via the communication network N, and for each ECR 20, a program indicating the type of installed program and the latest version of the program. A management code and the like are stored and managed, and in response to a request from each ECR 20, program distribution confirmation, program data distribution, and the like are performed.
The ECR 20 is provided in the store, and the merchandise transaction registration process (transaction date and time, merchandise name, merchandise sales quantity, sales amount data, registration process of the person in charge, etc.), inspection process, and settlement based on the operation of the operator This is a sales data processing device that performs processing, total sales in a store, and the like. As the ECR 20, for example, an electronic register or the like can be applied.

以下、プログラム配信システム1を構成する各装置について説明する。
まず、データ管理装置10について説明する。
図2に、データ管理装置10の内部構成例を示す。図2に示すように、データ管理装置10は、CPU(Central Processing Unit)11と、入力部12と、RAM(Random Access Memory)13と、表示部14と、記憶部15と、通信部16と、計時部17と、を備えて構成され、各部はバス18を介して接続されて構成されている。
Hereinafter, each apparatus which comprises the program delivery system 1 is demonstrated.
First, the data management apparatus 10 will be described.
FIG. 2 shows an internal configuration example of the data management apparatus 10. As shown in FIG. 2, the data management device 10 includes a CPU (Central Processing Unit) 11, an input unit 12, a RAM (Random Access Memory) 13, a display unit 14, a storage unit 15, and a communication unit 16. The time measuring unit 17 is configured to be connected to each other via a bus 18.

CPU11は、データ管理装置10の各部を集中制御する。CPU11は、記憶部15に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM13に展開し、RAM13に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each unit of the data management apparatus 10. The CPU 11 expands a program designated from the system program and various application programs stored in the storage unit 15 in the RAM 13 and executes various processes in cooperation with the program expanded in the RAM 13.

図3に、CPU11と、記憶部15に記憶されている各種アプリケーションプログラムとの協働により実現される機能構成例を示す。図3に示すように、CPU11とプログラムとの協働により、登録手段としてのストアサービス情報登録部100、ストアサービスポート制御部200が実現される。
ストアサービス情報登録部100は、より詳細には、ストアサービスマスタ登録部101、プログラムデータ登録部102及びプログラム配信情報登録部103により構成される。
ストアサービスマスタ登録部101は、入力部12からの入力に基づいて、データ管理装置10におけるプログラム配信対象となるECR20に関するマスタ情報をストアサービスマスタ記憶部151に登録する。
プログラムデータ登録部102は、後述するプログラムデータ登録処理を実行し、入力部12からの入力に基づいて、ECR20の少なくとも一つに配信するプログラムデータ及びその属性情報をプログラムデータ記憶部153に登録する。
プログラム配信情報登録部103は、ストアサービスマスタ登録部101によってマスタ情報の登録が行われた際に、マスタ情報が登録されたECR20についてのプログラムの配信確認を行うための情報(プログラム配信情報)をプログラム配信情報記憶部152に登録する。また、プログラム配信情報登録部103は、プログラムデータ登録部102によってプログラムデータが登録された際に、プログラム配信情報をプログラム配信情報記憶部152に登録する。
FIG. 3 shows a functional configuration example realized by cooperation of the CPU 11 and various application programs stored in the storage unit 15. As shown in FIG. 3, the store service information registration unit 100 and the store service port control unit 200 as registration means are realized by the cooperation of the CPU 11 and the program.
More specifically, the store service information registration unit 100 includes a store service master registration unit 101, a program data registration unit 102, and a program distribution information registration unit 103.
Based on the input from the input unit 12, the store service master registration unit 101 registers the master information regarding the ECR 20 that is a program distribution target in the data management apparatus 10 in the store service master storage unit 151.
The program data registration unit 102 executes program data registration processing to be described later, and registers program data to be distributed to at least one of the ECRs 20 and attribute information thereof in the program data storage unit 153 based on an input from the input unit 12. .
When the master information is registered by the store service master registration unit 101, the program distribution information registration unit 103 provides information (program distribution information) for confirming the program distribution for the ECR 20 in which the master information is registered. Register in the program distribution information storage unit 152. The program distribution information registration unit 103 registers the program distribution information in the program distribution information storage unit 152 when the program data is registered by the program data registration unit 102.

ストアサービスポート制御部200は、より詳細には、電文制御部201、認証制御部202、プログラム配信確認部203、プログラム配信部204により構成される。
電文制御部201は、通信部16を介して受信された通信データのプロトコル処理を行い、通信データに含まれる要求データの解釈を行う。
認証手段としての認証制御部202は、後述する認証処理を実行し、ストアサービスマスタ記憶部151に登録されているマスタ情報を参照し、通信部16を介して接続されたECR20の認証を行う。
配信確認手段としてのプログラム配信確認部203は、後述するプログラム配信確認処理を実行し、プログラム配信確認の要求元のECR20に対するプログラム配信情報をプログラム配信情報記憶部152から取得しプログラムの配信が必要であるか否かを判断し、結果を要求元のECR20に送信する。
配信手段としてのプログラム配信部204は、後述するプログラム配信処理を実行し、プログラムデータ記憶部153に記憶されているプログラムデータを読み出して、プログラムの配信要求元のECR20に送信する。
More specifically, the store service port control unit 200 includes a message control unit 201, an authentication control unit 202, a program distribution confirmation unit 203, and a program distribution unit 204.
The message control unit 201 performs protocol processing of communication data received via the communication unit 16 and interprets request data included in the communication data.
The authentication control unit 202 serving as an authentication unit executes an authentication process to be described later, refers to master information registered in the store service master storage unit 151, and authenticates the ECR 20 connected via the communication unit 16.
The program distribution confirmation unit 203 as a distribution confirmation unit executes a program distribution confirmation process to be described later, acquires program distribution information for the ECR 20 that is the request source of the program distribution confirmation from the program distribution information storage unit 152, and needs to distribute the program. It is determined whether or not there is, and the result is transmitted to the requesting ECR 20.
The program distribution unit 204 serving as a distribution unit executes a program distribution process to be described later, reads program data stored in the program data storage unit 153, and transmits the program data to the ECR 20 that is the distribution request source of the program.

入力部12は、カーソルキー、文字、数字入力キー及び各種機能キーなどを備えたキーボードを含む構成とし、操作者により各キーが押下された操作信号をCPU11に出力する。また、入力部12は、マウス等のポインティングデバイスを含み、位置入力信号を受け付けてCPU11に送信することとしてもよい。   The input unit 12 includes a keyboard having cursor keys, characters, numeric input keys, various function keys, and the like, and outputs an operation signal indicating that each key is pressed by the operator to the CPU 11. The input unit 12 may include a pointing device such as a mouse, and may receive a position input signal and transmit it to the CPU 11.

RAM13は、揮発性のメモリである。また、RAM13は、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納するワークエリアを有する。   The RAM 13 is a volatile memory. The RAM 13 has a work area for storing various programs to be executed and data related to these various programs.

表示部14は、LCD(Liquid Crystal Display)、CRT(Cathode Ray Tube)等で構成され、CPU11からの表示制御信号に従って画面表示を行う。   The display unit 14 includes an LCD (Liquid Crystal Display), a CRT (Cathode Ray Tube), and the like, and performs screen display according to a display control signal from the CPU 11.

記憶部15は、HDD(Hard Disk Drive)等により構成され、各種プログラム及び各種データを読み出し及び書き込み可能に記憶する。本実施形態において、記憶部15は、図2に示すように、ストアサービスマスタ記憶部151、配信情報記憶手段としてのプログラム配信情報記憶部152、プログラム記憶手段としてのプログラムデータ記憶部153を有している。   The storage unit 15 includes an HDD (Hard Disk Drive) or the like, and stores various programs and various data in a readable and writable manner. In this embodiment, as shown in FIG. 2, the storage unit 15 includes a store service master storage unit 151, a program distribution information storage unit 152 as a distribution information storage unit, and a program data storage unit 153 as a program storage unit. ing.

図4(a)に、ストアサービスマスタ記憶部151のデータ格納例を示す。ストアサービスマスタ記憶部151は、登録された各ECR20についてのマスタ情報を記憶するものであり、図4(a)に示すように、「端末機器コード」フィールド、「グループコード」フィールド、「会社コード」フィールド、「店舗コード」フィールド、「機種コード」フィールド、「接続区分」フィールドを有する。
「端末機器コード」フィールドは、ECR20に一意に割り当てられた端末機器コードを格納する。「グループコード」フィールドは、ECR20を予め定められた基準に従って分類したときの分類区分を示すグループコードを格納する。「会社コード」フィールドは、ECR20を設置している会社を表す会社コードを格納する。「店舗コード」フィールドは、ECR20を設置している店舗を表す店舗コードを格納する。「機種コード」フィールドは、ECR20の端末機種を表す機種コードを格納する。機種コードは、上位3桁からなり、機種に一意に割り当てられたメジャーコードと、下位3桁からなり、仕向けを示すマイナーコードから構成される。「接続区分」フィールドは、ECR20の接続可否を示すフラグ(接続可であれば「1」、不可であれば「0」)を格納する。
FIG. 4A shows an example of data storage in the store service master storage unit 151. The store service master storage unit 151 stores master information for each registered ECR 20, and as shown in FIG. 4A, a “terminal device code” field, a “group code” field, a “company code” ”Field,“ store code ”field,“ model code ”field, and“ connection classification ”field.
The “terminal device code” field stores a terminal device code uniquely assigned to the ECR 20. The “group code” field stores a group code indicating a classification category when the ECR 20 is classified according to a predetermined standard. The “company code” field stores a company code representing a company in which the ECR 20 is installed. The “store code” field stores a store code representing a store where the ECR 20 is installed. The “model code” field stores a model code representing the terminal model of the ECR 20. The model code is composed of the upper 3 digits, and is composed of a major code uniquely assigned to the model and a lower 3 digits and a minor code indicating the destination. The “connection classification” field stores a flag indicating whether or not the ECR 20 can be connected (“1” if connection is possible, “0” if connection is not possible).

図4(b)に、プログラム配信情報記憶部152のデータ格納例を示す。プログラム配信情報記憶部152は、プログラム配信対象となる各ECR20に搭載されているプログラム毎のプログラム配信情報を記憶するものであり、図4(b)に示すように、「端末機器コード」フィールド、「グループコード」フィールド、「会社コード」フィールド、「店舗コード」フィールド、「プログラム識別コード」フィールド、「プログラム管理コード」フィールドを有する。
「端末機器コード」フィールドは、プログラムの配信対象となるECR20の端末機器コードを格納する。「グループコード」フィールドはグループコードを、「会社コード」フィールドは会社コードを、「店舗コード」フィールドは、店舗コードをそれぞれ格納する。「プログラム識別コード」フィールドは、プログラムの種類を表すプログラム識別コードを格納する。「プログラム管理コード」フィールドは、配信すべきプログラムのバージョンを示すプログラム管理コードを格納する。
なお、配信すべきプログラムのバージョンとは、即ち、最新バージョンである。また、各ECR20には、機能毎の複数種類のプログラムが搭載されており、プログラム識別コードは、機能毎のプログラムの種類を表す。
FIG. 4B shows an example of data storage in the program distribution information storage unit 152. The program distribution information storage unit 152 stores program distribution information for each program installed in each ECR 20 that is a program distribution target. As illustrated in FIG. 4B, the “terminal device code” field, It has a “group code” field, a “company code” field, a “store code” field, a “program identification code” field, and a “program management code” field.
The “terminal device code” field stores a terminal device code of the ECR 20 that is a distribution target of the program. The “group code” field stores a group code, the “company code” field stores a company code, and the “store code” field stores a store code. The “program identification code” field stores a program identification code representing the type of program. The “program management code” field stores a program management code indicating the version of the program to be distributed.
Note that the version of the program to be distributed is the latest version. Each ECR 20 is loaded with a plurality of types of programs for each function, and the program identification code represents the type of program for each function.

図4(c)に、プログラムデータ記憶部153のデータ格納例を示す。プログラムデータ記憶部153は、配信すべきプログラムのプログラムデータとそのプログラムの属性情報を記憶するものであり、図4(c)に示すように、「機種コード」フィールド、「プログラム識別コード」フィールド、「プログラム管理コード」フィールド、「プログラムデータサイズ」フィールド、「プログラムデータ」フィールドを有する。
「機種コード」フィールドは、プログラムデータに対応するECR20の機種コードを格納する。「プログラム識別コード」フィールドは、プログラムの種類を表すプログラム識別コードを格納する。「プログラム管理コード」フィールドは、プログラムの最新バージョンを示すプログラム管理コードを格納する。「プログラムデータサイズ」フィールドは、プログラムデータのサイズを表す情報を格納する。「プログラムデータ」フィールドは、プログラムデータを格納する。
FIG. 4C shows an example of data storage in the program data storage unit 153. The program data storage unit 153 stores program data of a program to be distributed and attribute information of the program. As shown in FIG. 4C, a “model code” field, a “program identification code” field, It has a “program management code” field, a “program data size” field, and a “program data” field.
The “model code” field stores the model code of the ECR 20 corresponding to the program data. The “program identification code” field stores a program identification code representing the type of program. The “program management code” field stores a program management code indicating the latest version of the program. The “program data size” field stores information indicating the size of the program data. The “program data” field stores program data.

なお、上述のように、機種コードは、機種に一意に割り当てられたメジャーコードと、仕向けを示すマイナーコードから構成されている。図4(c)に示すように、プログラムデータ記憶部153において、プログラムデータは、機種コード及びプログラム識別コードの組み合わせ毎に格納され、管理されている。即ち、機種が同じであっても仕向けが異なるECR20同士では、異なるプログラムデータを配信することができるようになっている。   As described above, the model code is composed of a major code uniquely assigned to the model and a minor code indicating the destination. As shown in FIG. 4C, in the program data storage unit 153, the program data is stored and managed for each combination of the model code and the program identification code. That is, even if the model is the same, different program data can be distributed between ECRs 20 with different destinations.

通信部16は、モデム、TA(Terminal Adapter)、ルータ、ネットワークカード等により構成される。通信部16は、接続される通信ネットワークN上の等の外部機器とデータ送受信を行う。
計時部17は、計時回路を内蔵し、現在時刻及び現在日付を計時してCPU11に出力する。
The communication unit 16 includes a modem, a TA (Terminal Adapter), a router, a network card, and the like. The communication unit 16 transmits / receives data to / from an external device such as on the connected communication network N.
The timer unit 17 has a built-in timer circuit, measures the current time and the current date, and outputs them to the CPU 11.

次いで、端末機器としてのECR20の構成を説明する。
図5に、ECR20の内部構成例を示す。図5に示すように、ECR20は、CPU21と、入力部22と、RAM23と、表示部24と、記憶部25と、通信部26と、計時部27と、ドロア28と、プリント部29aと、を備えて構成され、各部はバス29bを介して接続されて構成されている。
Next, the configuration of the ECR 20 as a terminal device will be described.
FIG. 5 shows an internal configuration example of the ECR 20. As shown in FIG. 5, the ECR 20 includes a CPU 21, an input unit 22, a RAM 23, a display unit 24, a storage unit 25, a communication unit 26, a timing unit 27, a drawer 28, a print unit 29a, Each part is configured to be connected via a bus 29b.

CPU21、RAM23、通信部26については、それぞれ、データ管理装置10のCPU11、RAM13、通信部16の構成と同様であり、異なる部分を主として説明する。   The CPU 21, RAM 23, and communication unit 26 are the same as the configurations of the CPU 11, RAM 13, and communication unit 16 of the data management apparatus 10, respectively, and different parts will be mainly described.

CPU21は、ECR20の各部を集中制御する。CPU21は、記憶部25に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM23に展開し、RAM23に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 21 centrally controls each part of the ECR 20. The CPU 21 develops a program designated from the system program and various application programs stored in the storage unit 25 in the RAM 23, and executes various processes in cooperation with the program expanded in the RAM 23.

例えば、CPU21は、オペレータによる入力部22の操作に応じて各種アプリケーションプログラムを読み出して、読み出したアプリケーションプログラムとの協働により、商品取引の登録処理、点検処理、精算処理、店舗内の売上集計処理等を行う。   For example, the CPU 21 reads out various application programs in accordance with the operation of the input unit 22 by the operator, and cooperates with the read-out application program to register a product transaction, check processing, checkout processing, store sales total processing in the store Etc.

また、CPU21は、開設時、即ち、入力部22の電源キーが操作され電源がONされた際に、開設処理プログラムを読み出して、読み出したプログラムとの協働により開設処理を実行する。即ち、CPU21は、データ管理装置10に接続してプログラム配信確認要求を送信し、データ管理装置10から受信したプログラム配信確認応答にプログラム更新の必要があることを示す情報が含まれているか否かを判断し、プログラム更新の必要があることを示す情報が含まれていると判断されると、データ管理装置10にプログラム配信要求を送信してプログラムデータを取得し、取得したプログラムデータによりプログラムを更新(インストール)する。   The CPU 21 reads the opening process program at the time of opening, that is, when the power key of the input unit 22 is operated and the power is turned on, and executes the opening process in cooperation with the read program. That is, the CPU 21 connects to the data management apparatus 10 to transmit a program distribution confirmation request, and whether or not the program distribution confirmation response received from the data management apparatus 10 includes information indicating that the program needs to be updated. If it is determined that the information indicating that the program needs to be updated is included, a program distribution request is transmitted to the data management apparatus 10 to acquire the program data, and the program is acquired by the acquired program data. Update (install).

また、CPU21は、入力部22により閉設が指示された際に、閉設処理プログラムを読み出して、読み出したプログラムとの協働により閉設処理(図8参照)を実行する。   Further, the CPU 21 reads the closing process program when the input unit 22 instructs closing, and executes the closing process (see FIG. 8) in cooperation with the read program.

入力部22は、電源キー、カーソルキー、文字、数字入力キー及び各種機能キーなどを備えたレジ用のキーボードを含む構成とし、操作者により各キーが押下された操作信号をCPU21に出力する。表示部24は、LCD等で構成され、CPU21からの表示制御信号に従って画面表示を行う。入力部22は、表示部24と一体的にタッチパネルを構成することとしてもよい。また、入力部22は、商品に設けられたバーコードを読み取るバーコードリーダやバーコードスキャナ等を備えることとしてもよい。   The input unit 22 includes a cash register keyboard including a power key, cursor keys, characters, numeric input keys, various function keys, and the like, and outputs an operation signal to the CPU 21 when each key is pressed by the operator. The display unit 24 is composed of an LCD or the like, and performs screen display according to a display control signal from the CPU 21. The input unit 22 may be configured as a touch panel integrally with the display unit 24. Further, the input unit 22 may include a barcode reader, a barcode scanner, or the like that reads a barcode provided on the product.

記憶部25は、フラッシュメモリ等により構成される。記憶部25は、各種プログラム及び売上データやECR20のマスタ情報(端末機器コード、グループコード、会社コード、店舗コード、機種コード等)を始めとする各種データを読み出し及び書き込み可能に記憶する。また、記憶部25は、HDD等により構成してもよい。   The storage unit 25 is configured by a flash memory or the like. The storage unit 25 stores various types of data such as various programs and sales data, and master information (terminal device code, group code, company code, store code, model code, etc.) of the ECR 20 in a readable and writable manner. The storage unit 25 may be configured with an HDD or the like.

通信部26は、通信ネットワークN上のデータ管理装置10等の外部機器とデータ送受信を行う。
計時部27は、計時回路を内蔵し、現在時刻及び現在日付を計時してCPU21に出力する。
The communication unit 26 transmits / receives data to / from an external device such as the data management device 10 on the communication network N.
The timer unit 27 has a built-in timer circuit, measures the current time and the current date, and outputs them to the CPU 21.

ドロア28は、硬貨や紙幣等の現金を収納する引出しである。ドロア28は、例えば、CPU21の指示により、引出しを開ける。   The drawer 28 is a drawer that stores cash such as coins and banknotes. The drawer 28 opens the drawer, for example, according to an instruction from the CPU 21.

プリント部29aは、例えば、サーマルプリンタであり、レシート用、ジャーナル用のロール紙を有し、CPU21から入力される指示に従って、各ロール紙に対して金額等のデータをプリントアウトする。   The printing unit 29a is, for example, a thermal printer, and has receipt and journal roll papers, and prints out data such as the amount of money on each roll paper in accordance with an instruction input from the CPU 21.

次に、実施形態1におけるデータ管理装置10、ECR20の主要な動作についてフローチャートを参照して詳細に説明する。   Next, main operations of the data management apparatus 10 and the ECR 20 in the first embodiment will be described in detail with reference to flowcharts.

(プログラムデータ登録処理)
図6に、データ管理装置10のプログラムデータ登録部102により実行されるプログラムデータ登録処理のフローを示す。なお、登録対象のプログラムデータのファイルは、記憶部15に格納されているものとする。
(Program data registration process)
FIG. 6 shows a flow of program data registration processing executed by the program data registration unit 102 of the data management apparatus 10. It is assumed that the program data file to be registered is stored in the storage unit 15.

まず、表示部14にプログラム登録画面(図示せず)が表示され、登録するプログラムデータが格納されているディレクトリ情報や、登録するプログラムデータの属性情報、即ち、機種コード、プログラム識別コード、プログラム管理コード等の入力部12からの入力が受け付けられる(ステップS1)。   First, a program registration screen (not shown) is displayed on the display unit 14, and directory information in which program data to be registered is stored, and attribute information of program data to be registered, that is, model code, program identification code, program management An input from the input unit 12 such as a code is accepted (step S1).

次いで、登録対象のプログラムデータがRAM13に読み出され、プログラムデータサイズが取得される(ステップS2)。   Next, the program data to be registered is read into the RAM 13 and the program data size is acquired (step S2).

次いで、プログラムデータ記憶部153に、登録対象のプログラムデータの属性情報、即ち、ステップS1で入力された機種コード、プログラム識別コード、プログラム管理コード及びステップS2で取得されたプログラムデータサイズが登録されるとともに、RAM13に読み出されたプログラムデータが登録される(ステップS3)。   Next, the attribute information of the program data to be registered, that is, the model code, the program identification code, the program management code, and the program data size acquired in step S2 are registered in the program data storage unit 153. At the same time, the read program data is registered in the RAM 13 (step S3).

プログラムデータの登録が終了すると、プログラム配信情報登録部103によりプログラム配信情報登録処理が実行され(ステップS4)、本処理は終了する。   When the registration of the program data is completed, the program distribution information registration unit 103 executes a program distribution information registration process (step S4), and this process ends.

図7に、ステップS4においてプログラム配信情報登録部103により実行されるプログラム配信情報登録処理のフローを示す。
プログラム配信情報登録処理においては、まず、ストアサービスマスタ記憶部151において、ステップS3で登録されたプログラムデータの機種コードを有するレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS101)。
FIG. 7 shows a flow of program distribution information registration processing executed by the program distribution information registration unit 103 in step S4.
In the program distribution information registration process, first, a record having the model code of the program data registered in step S3 is searched in the store service master storage unit 151, and the searched record is read to the RAM 13 (step S101). .

次いで、プログラム配信情報記憶部152において、ステップS101で検索された各レコードの端末機器コード及び登録されたプログラムデータのプログラム識別コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS102)。   Next, in the program distribution information storage unit 152, a record including the terminal device code of each record retrieved in step S101 and the program identification code of the registered program data is retrieved, and the retrieved record is read into the RAM 13 ( Step S102).

次いで、ステップS102でRAMに読み出されたレコードのプログラム管理コードが登録されたプログラムデータのプログラム管理コードに変更され、変更された内容によりプログラム配信情報記憶部152のプログラム配信情報が更新され(ステップS103)、本処理は終了する。   Next, the program management code of the record read into the RAM in step S102 is changed to the program management code of the registered program data, and the program distribution information in the program distribution information storage unit 152 is updated with the changed contents (step S102). S103), the process ends.

上記プログラムデータ登録処理により、新しいバージョンのプログラムデータがプログラムデータ記憶部153に登録されると、新しいバージョンのプログラムデータを配信すべきECR20についてのプログラム配信情報記憶部152におけるプログラム管理コードを自動的に更新することができる。   When a new version of program data is registered in the program data storage unit 153 by the program data registration process, the program management code in the program distribution information storage unit 152 for the ECR 20 to which the new version of program data is to be distributed is automatically set. Can be updated.

(閉設処理)
図8に、各ECR20のCPU21において実行される閉設処理のフローを示す。当該処理は、店舗における業務終了時に入力部22により閉設の指示が入力された際に実行される。
まず、通信部26によりデータ管理装置10への通信接続が行われる(ステップS11)。次いで、1日の売上データのジャーナルへの印字、1日の売上データの保存、リセット等の精算処理が行われる(ステップS12)。
(Closed processing)
FIG. 8 shows a flow of the closing process executed by the CPU 21 of each ECR 20. This process is executed when a closing instruction is input by the input unit 22 at the end of the business in the store.
First, communication connection to the data management apparatus 10 is performed by the communication unit 26 (step S11). Next, settlement processing such as printing of daily sales data in a journal, saving of daily sales data, resetting, etc. is performed (step S12).

次いで、通信部26によりデータ管理装置10にプログラム配信確認要求が送信され(ステップS13)、データ管理装置10からのプログラム配信確認応答が受信される(ステップS14)。   Next, a program distribution confirmation request is transmitted to the data management apparatus 10 by the communication unit 26 (step S13), and a program distribution confirmation response from the data management apparatus 10 is received (step S14).

ここで、ECR20からデータ管理装置10に各種要求を送信するにあたっては、予め定められた形式の要求データが送信されることによって行われる。要求データは、ヘッダ部とデータ部を有している。ヘッダ部には、ECR20とデータ管理装置10とでデータ通信を行う際に必要な情報、例えば、あて先(データ管理装置10)の通信ネットワークN上のアドレスや送信元の通信ネットワークN上のアドレス等が含まれる。また、データ部についての暗号化情報等を含めてもよい。データ部には、要求の種類(例えば、プログラム配信確認、プログラム配信等)、各種要求を行うにあたってデータ管理装置10に引き渡すパラメータ等が含まれる。   Here, when various requests are transmitted from the ECR 20 to the data management apparatus 10, request data in a predetermined format is transmitted. The request data has a header part and a data part. The header portion includes information necessary for data communication between the ECR 20 and the data management device 10, such as an address on the communication network N of the destination (data management device 10), an address on the communication network N of the transmission source, and the like. Is included. Further, encryption information about the data portion may be included. The data part includes the type of request (for example, program distribution confirmation, program distribution, etc.), parameters delivered to the data management apparatus 10 when making various requests, and the like.

例えば、認証要求データのデータ部には、ECR20の端末機器コードが含まれる。プログラム配信確認要求データのデータ部には、ECR20の端末機器コード、記憶部25に記憶されている各プログラムのプログラム識別コード及びプログラム管理コードが含まれる。配信要求データのデータ部には、ECR20の端末機器コード、機種コード、配信を要求するプログラムのプログラム識別コード及びプログラム管理コードが含まれる。   For example, the data part of the authentication request data includes the terminal device code of ECR20. The data part of the program distribution confirmation request data includes a terminal device code of the ECR 20, a program identification code of each program stored in the storage unit 25, and a program management code. The data part of the distribution request data includes a terminal device code of the ECR 20, a model code, a program identification code of a program that requests distribution, and a program management code.

同様に、データ管理装置10からECR20に各種応答を送信するにあたっては、予め定められた形式の応答データが送信される。応答データは、ヘッダ部とデータ部を有している。ヘッダ部には、ECR20とデータ管理装置10とでデータ通信を行う際に必要な情報等が含まれる。また、データ部についての暗号化情報等を含めてもよい。データ部には、応答内容(例えば、プログラム配信確認要求に対する応答の場合は、プログラム識別コード毎の配信確認情報(プログラムの配信が必要であるか否かを示す情報)、プログラム配信要求に対する応答の場合は、プログラムデータ)等が含まれる。   Similarly, when various responses are transmitted from the data management apparatus 10 to the ECR 20, response data in a predetermined format is transmitted. The response data has a header part and a data part. The header part includes information necessary for data communication between the ECR 20 and the data management apparatus 10. Further, encryption information about the data portion may be included. In the data portion, the response content (for example, in the case of a response to a program distribution confirmation request, distribution confirmation information for each program identification code (information indicating whether or not the program distribution is necessary), a response to the program distribution request In this case, program data) is included.

プログラム配信確認応答が受信されると、ステップS15〜S21のループ1の処理が、受信された応答データに含まれるプログラム数分(プログラム識別コード数分)繰り返し実行される。   When the program delivery confirmation response is received, the processing of loop 1 in steps S15 to S21 is repeatedly executed for the number of programs (the number of program identification codes) included in the received response data.

まず、応答データから一のプログラム識別コードに対応する配信確認情報が取り出され(ステップS16)、プログラムの配信(更新)が必要であるか否かが判断され、プログラムの配信(更新)が必要であると判断されると(ステップS17;YES)、通信部26によりデータ管理装置10にプログラム配信要求が送信される(ステップS18)。プログラム配信要求にあたっては、配信要求データがデータ管理装置10に送信される。通信部26によりデータ管理装置10からのプログラム配信応答の応答データ、即ち、プログラムデータが受信されると(ステップS19)、配信されたプログラムデータにより記憶部25に記憶されているプログラムが更新(インストール)され(ステップS20)、応答データにおける次のプログラム識別コードに対応する配信確認情報についてのループ1の処理に移行する。
なお、データ管理装置10から送信されるプログラムデータには、プログラムデータの属性情報が含まれ、ECR20においてプログラムデータのプログラム識別コードやプログラム管理コードを認識できるようになっている。
First, distribution confirmation information corresponding to one program identification code is extracted from the response data (step S16), it is determined whether or not program distribution (update) is necessary, and program distribution (update) is necessary. If it is determined that there is (step S17; YES), a program distribution request is transmitted to the data management device 10 by the communication unit 26 (step S18). In requesting program distribution, distribution request data is transmitted to the data management apparatus 10. When response data of a program distribution response from the data management device 10, that is, program data is received by the communication unit 26 (step S 19), the program stored in the storage unit 25 is updated (installed) with the distributed program data. (Step S20), the process proceeds to the loop 1 process for the delivery confirmation information corresponding to the next program identification code in the response data.
The program data transmitted from the data management apparatus 10 includes program data attribute information, and the ECR 20 can recognize the program identification code and the program management code of the program data.

一方、プログラムの配信(更新)が必要ではないと判断されると(ステップS17;NO)、次のプログラム識別コードに対応する配信確認情報についてのループ1の処理に移行する。   On the other hand, if it is determined that program distribution (update) is not necessary (step S17; NO), the process proceeds to loop 1 processing for distribution confirmation information corresponding to the next program identification code.

受信した応答データに含まれるプログラム数分(プログラム識別コード数分)のループ1の処理が終了すると(ステップS21)、通信部26によりデータ管理装置10との接続が切断され(ステップS22)、本処理は終了する。   When the processing of the loop 1 corresponding to the number of programs included in the received response data (the number of program identification codes) is completed (step S21), the communication unit 26 is disconnected from the data management device 10 (step S22). The process ends.

なお、各ECR20において、電源ON時に実行される開設処理は、上述のステップS12の処理を行わない他は、図8を用いて説明した閉設処理と同様である。   In each ECR 20, the opening process executed when the power is turned on is the same as the closing process described with reference to FIG. 8 except that the process of step S12 described above is not performed.

上述の閉設処理及び開設処理により、ECR20は、開設時と閉設時にプログラムの配信(更新)が必要であるか否かをデータ管理装置10に問い合わせ、必要である場合にプログラムデータの配信要求を行ってプログラムを更新することができる。   Through the above-described closing process and opening process, the ECR 20 inquires of the data management apparatus 10 whether or not program distribution (update) is necessary at the time of opening and closing, and if necessary, a program data distribution request. To update the program.

(サービス提供処理)
図9に、データ管理装置10のストアサービスポート制御部200により実行されるサービス提供処理のフローを示す。当該処理は、上述のECR20における閉設処理、開設処理に対応してデータ管理装置10側で実行される処理である。
(Service provision processing)
FIG. 9 shows a flow of service providing processing executed by the store service port control unit 200 of the data management apparatus 10. This process is a process executed on the data management apparatus 10 side corresponding to the closing process and the opening process in the ECR 20 described above.

まず、通信部16によりECR20からの接続要求が受信されると、接続要求に応じてECR20との接続が開始される(ステップS31)。次いで、通信部16によりECR20からの要求データの受信が待機され(ステップS32)、要求データが受信されると(ステップS32;YES)、電文制御部201により要求データの電文解析処理が行われ、要求された処理の内容が特定される(ステップS33)。   First, when the communication unit 16 receives a connection request from the ECR 20, connection with the ECR 20 is started in response to the connection request (step S31). Next, the communication unit 16 waits for reception of request data from the ECR 20 (step S32). When the request data is received (step S32; YES), the message control unit 201 performs message analysis processing of the request data, The content of the requested process is specified (step S33).

電文制御部201による解析の結果、受信された要求データの内容が認証要求であると判断されると(ステップS34;認証要求)、認証制御部202により図10に示す認証処理が実行される(ステップS35)。   As a result of the analysis by the message control unit 201, when it is determined that the content of the received request data is an authentication request (step S34; authentication request), the authentication control unit 202 executes the authentication process shown in FIG. Step S35).

図10に、図9のステップS35において認証制御部202により実行される認証処理のフローを示す。
認証処理においては、まず、ストアサービスマスタ記憶部151において、要求データに含まれる端末機器コードを有するレコードが検索処理される(ステップS201)。検索の結果、要求データに含まれる端末機器コードを有するレコードがストアサービスマスタ記憶部151に存在しないと判断されると(ステップS202;NO)、通信部16を介して接続されたECR20に認証NGである旨が応答され(ステップS205)、処理は図9のステップS32に戻る。
FIG. 10 shows a flow of authentication processing executed by the authentication control unit 202 in step S35 of FIG.
In the authentication process, first, a record having a terminal device code included in the request data is searched in the store service master storage unit 151 (step S201). As a result of the search, if it is determined that the record having the terminal device code included in the request data does not exist in the store service master storage unit 151 (step S202; NO), authentication NG to the ECR 20 connected via the communication unit 16 is performed. (Step S205), and the process returns to step S32 in FIG.

検索の結果、要求データの端末機器コードを含むレコードがストアサービスマスタ記憶部151に存在すると判断されると(ステップS202;YES)、当該レコードの接続区分が参照され、接続区分が“1”である場合(ステップS203;YES)、通信部16を介して接続されたECR20に認証OKである旨が応答され(ステップS204)、処理は図9のステップS32に戻る。接続区分が“0”である場合(ステップS203;NO)、通信部16を介して接続されたECR20に認証NGである旨が応答され(ステップS205)、処理は図9のステップS32に戻る。   As a result of the search, if it is determined that a record including the terminal device code of the request data exists in the store service master storage unit 151 (step S202; YES), the connection classification of the record is referred to and the connection classification is “1”. If there is any (step S203; YES), the ECR 20 connected via the communication unit 16 is notified that the authentication is OK (step S204), and the process returns to step S32 in FIG. When the connection classification is “0” (step S203; NO), the ECR 20 connected via the communication unit 16 is responded to the authentication NG (step S205), and the process returns to step S32 in FIG.

図9に戻り、電文制御部201による解析の結果、受信された要求データの内容がプログラム配信確認要求であると判断されると(ステップS34;プログラム配信確認要求)、プログラム配信確認部203により図11に示すプログラム配信確認処理が実行される(ステップS36)。なお、プログラム配信確認処理及びプログラム配信処理は、接続されているECR20が上述の認証処理において認証OKとされた場合にのみ実行される。   Returning to FIG. 9, if it is determined that the content of the received request data is a program distribution confirmation request as a result of analysis by the message control unit 201 (step S34; program distribution confirmation request), the program distribution confirmation unit 203 11 is executed (step S36). The program distribution confirmation process and the program distribution process are executed only when the connected ECR 20 is authenticated in the above authentication process.

図11に、図9のステップS36においてプログラム配信確認部203により実行されるプログラム配信確認処理のフローを示す。
プログラム配信確認処理においては、まず、プログラム配信情報記憶部152において、要求データに含まれる端末機器コードを有するレコードが検索処理され、要求データに含まれる端末機器コードを有するレコードがRAM13に読み出される(ステップS301)。
FIG. 11 shows a flow of the program distribution confirmation process executed by the program distribution confirmation unit 203 in step S36 of FIG.
In the program distribution confirmation process, first, a record having a terminal device code included in the request data is searched in the program distribution information storage unit 152, and a record having the terminal device code included in the request data is read to the RAM 13 ( Step S301).

次いで、ステップS302〜S308のループ2の処理が、受信された要求データに含まれるプログラム識別コード数分(プログラムの種類数分)繰り返し実行される。   Next, the processing of loop 2 in steps S302 to S308 is repeatedly executed for the number of program identification codes (the number of types of programs) included in the received request data.

まず、受信された要求データから一のプログラム識別コード及び当該プログラム識別コードに対応するプログラム管理コードが取り出される(ステップS303)。次いで、取り出されたプログラム識別コードを有するプログラム配信情報のレコードがRAM13に存在するか否かが判断され、存在しないと判断されると(ステップS304;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示すプログラム配信確認情報が応答データに設定され(ステップS307)、次のプログラム識別コードについてのループ2の処理に移行する。   First, one program identification code and a program management code corresponding to the program identification code are extracted from the received request data (step S303). Next, it is determined whether or not a record of program distribution information having the extracted program identification code exists in the RAM 13, and if it is determined that the record does not exist (step S304; NO), the type of the type corresponding to the program identification code is determined. It is determined that program distribution is not necessary, program distribution confirmation information indicating that program distribution of the program identification code is not necessary is set in the response data (step S307), and loop 2 processing for the next program identification code Migrate to

一方、ステップS303において取り出されたプログラム識別コードを有するプログラム配信情報のレコードがRAM13に存在すると判断されると(ステップS304;YES)、要求データから取り出された当該プログラム識別コードに対応するプログラム管理コードがステップS301でRAM13に読み出された当該プログラム識別コードを有するレコードにおけるプログラム管理コードと異なるか否かが判断され、異なると判断されると(ステップS305;YES)、プログラムの配信が必要であると判定され、当該プログラム識別コードに対応する種類のプログラムの配信が必要であることを示すプログラム配信確認情報が応答データに設定され(ステップS306)、次のプログラム識別コードについてのループ2の処理に移行する。   On the other hand, if it is determined that the record of the program distribution information having the program identification code extracted in step S303 exists in the RAM 13 (step S304; YES), the program management code corresponding to the program identification code extracted from the request data Is determined to be different from the program management code in the record having the program identification code read to the RAM 13 in step S301. If it is determined that it is different (step S305; YES), it is necessary to distribute the program. The program delivery confirmation information indicating that the delivery of the program of the type corresponding to the program identification code is necessary is set in the response data (step S306), and the processing of loop 2 for the next program identification code is performed. Row.

一方、要求データから取り出された当該プログラム識別コードに対応するプログラム管理コードがステップS301でRAM13に読み出された当該プログラム識別コードを有するレコードにおけるプログラム管理コードと同一であると判断されると(ステップS305;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示すプログラム配信確認情報が応答データに設定され(ステップS307)、次のプログラム識別コードについてのループ2の処理に移行する。   On the other hand, when it is determined that the program management code corresponding to the program identification code extracted from the request data is the same as the program management code in the record having the program identification code read to the RAM 13 in step S301 (step S301). S305; NO), it is determined that it is not necessary to distribute the program of the type corresponding to the program identification code, and program distribution confirmation information indicating that the program distribution of the program identification code is unnecessary is set in the response data (step In step S307, the process proceeds to loop 2 for the next program identification code.

受信した要求データに含まれる全てのプログラム識別コードについてのループ2の処理が終了すると(ステップS308)、設定された応答データが通信部16により接続されたECR20に送信され(ステップS309)、処理は図9のステップS32に移行する。   When the processing of loop 2 for all the program identification codes included in the received request data is completed (step S308), the set response data is transmitted to the ECR 20 connected by the communication unit 16 (step S309), and the processing is Control proceeds to step S32 in FIG.

図9に戻り、電文制御部201による解析の結果、受信された要求データの内容がプログラム配信要求であると判断されると(ステップS34;プログラム配信要求)、プログラム配信部204により図12に示すプログラム配信処理が実行される(ステップS37)。   Returning to FIG. 9, as a result of the analysis by the message control unit 201, if it is determined that the content of the received request data is a program distribution request (step S34; program distribution request), the program distribution unit 204 shows that in FIG. A program distribution process is executed (step S37).

図12に、図9のステップS37においてプログラム配信部204により実行されるプログラム配信処理のフローを示す。
プログラム配信処理においては、まず、プログラムデータ記憶部153において、要求データに含まれる機種コード、プログラム識別コード及びプログラム管理コードと一致する属性情報を有するプログラムデータが検索処理され、該当するプログラムデータが読み出される(ステップS401)。
FIG. 12 shows a flow of program distribution processing executed by the program distribution unit 204 in step S37 of FIG.
In the program distribution process, first, in the program data storage unit 153, program data having attribute information that matches the model code, the program identification code, and the program management code included in the request data is searched and the corresponding program data is read out. (Step S401).

次いで、読み出されたプログラムデータが応答データに設定され、通信部16により接続された認証されたECR20に送信される(ステップS402)。そして、処理は図9のステップS32に戻る。   Next, the read program data is set as response data and transmitted to the authenticated ECR 20 connected by the communication unit 16 (step S402). Then, the process returns to step S32 in FIG.

図9に戻り、電文制御部201による解析の結果、受信された要求データの内容が切断要求であると判断されると(ステップS34;切断要求)、通信部16によりECR20との通信が切断され(ステップS38)、本処理は終了する。   Returning to FIG. 9, when it is determined that the content of the received request data is a disconnection request as a result of analysis by the message control unit 201 (step S34; disconnection request), the communication unit 16 disconnects the communication with the ECR20. (Step S38), this process ends.

以上説明したように、プログラム配信システム1においては、データ管理装置10によりプログラム配信対象のECR20に搭載されているプログラムの種類と、配信すべき最新のバージョンを示すプログラム管理コードをプログラム配信情報記憶部152に記憶しており、各ECR20により開設時と閉設時にプログラムの配信確認要求が送信されると、送信元のECR20に搭載された各プログラムのバージョンとその最新のバージョンを示す情報とを比較し、異なる場合に、配信が必要である旨を接続したECR20に応答する。ECR20では、データ管理装置10からプログラムの配信が必要であると応答された場合に、データ管理装置10に該当するプログラムの配信要求を行ってプログラムデータを取得し更新する。
従って、通信ネットワークNに接続された複数のECR20のそれぞれに、ECR20に応じた最新のプログラムを配信することができ、各ECR20は、常に最新のプログラムで動作することが可能となる。
As described above, in the program distribution system 1, the program management information indicating the type of program installed in the ECR 20 to be distributed by the data management apparatus 10 and the latest version to be distributed is stored in the program distribution information storage unit. 152, when a program distribution confirmation request is transmitted by each ECR 20 at the time of opening and closing, the version of each program installed in the source ECR 20 is compared with the information indicating the latest version. If they are different, it responds to the connected ECR 20 that distribution is necessary. In the ECR 20, when a response is received from the data management apparatus 10 that the program needs to be distributed, a program distribution request is made to the data management apparatus 10 to acquire and update the program data.
Therefore, the latest program corresponding to the ECR 20 can be distributed to each of the plurality of ECRs 20 connected to the communication network N, and each ECR 20 can always operate with the latest program.

〔実施形態2〕
以下、本発明の実施形態2について説明する。
実施形態1においては、プログラムデータ登録部102により新しいバージョンのプログラムデータがプログラムデータ記憶部153に登録されると、プログラム配信情報登録部103は、プログラム配信情報登録処理を行って、バージョンアップ前の同種のプログラムが搭載されたECR20の全てのプログラム配信情報のプログラム管理コードを新しいバージョンを示すプログラム管理コードに変更した。しかし、ECR20の開設と閉設が所定時間帯に集中する場合、一度に該当する全てのECR20のプログラム管理コードを変更してしまうとデータ管理装置10へのプログラム配信要求が集中し、ネットワーク負荷やシステム負荷が大きくなる。
そこで、実施形態2においては、データ管理装置10へのプログラム配信要求が集中することを防ぐため、一度に行うプログラム配信情報の更新対象を制限することで、ネットワーク負荷やシステム負荷を抑制する。
[Embodiment 2]
Hereinafter, Embodiment 2 of the present invention will be described.
In the first embodiment, when a new version of program data is registered in the program data storage unit 153 by the program data registration unit 102, the program distribution information registration unit 103 performs a program distribution information registration process, and performs the pre-upgrade version processing. The program management code of all program distribution information of the ECR 20 in which the same kind of program is installed is changed to a program management code indicating a new version. However, when the opening and closing of the ECR 20 are concentrated in a predetermined time zone, if the program management codes of all corresponding ECRs 20 are changed at once, the program distribution requests to the data management apparatus 10 are concentrated, and the network load or Increases system load.
Therefore, in the second embodiment, in order to prevent the concentration of program distribution requests to the data management apparatus 10, network load and system load are suppressed by restricting update targets of program distribution information performed at a time.

図13に、実施形態2におけるプログラム配信情報記憶部152のデータ格納例を示す。図13に示すように、本実施形態におけるプログラム配信情報記憶部152は、実施形態1において図4(b)を用いて説明した各フィールドのほか、「配信実績」フィールドを有する。「配信実績」フィールドは、プログラムデータの更新後、そのプログラムデータを配信済みであることを示す配信実績情報(未配信フラグ“0”、配信済みフラグ“1”)を格納する。   FIG. 13 shows a data storage example of the program distribution information storage unit 152 in the second embodiment. As illustrated in FIG. 13, the program distribution information storage unit 152 according to the present embodiment includes a “delivery result” field in addition to the fields described with reference to FIG. 4B in the first embodiment. The “delivery record” field stores distribution record information (undelivered flag “0”, distributed flag “1”) indicating that the program data has been distributed after the program data is updated.

実施形態2におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   Other configurations in the second embodiment are the same as those described in the first embodiment, and thus description thereof is omitted.

次に、実施形態2における動作について説明する。
実施形態2においては、プログラム配信処理と、プログラムデータ登録処理のステップS4(図6参照)で実行されるプログラム配信情報登録処理が実施形態1と異なる。
Next, the operation in the second embodiment will be described.
In the second embodiment, the program distribution information registration process executed in step S4 (see FIG. 6) of the program distribution process and the program data registration process is different from that in the first embodiment.

実施形態2におけるプログラム配信処理では、図12で説明したステップS402の処理の後に、プログラム配信情報記憶部152における、プログラムデータの配信対象となったECR20の端末機器コード及び配信したプログラムのプログラム識別コードを有するレコードの「配信実績」フィールドに“1”が設定される処理が行われる。   In the program distribution process according to the second embodiment, after the process of step S402 described in FIG. 12, the terminal device code of the ECR 20 that is the distribution target of the program data and the program identification code of the distributed program in the program distribution information storage unit 152 A process is performed in which “1” is set in the “delivery result” field of the record having.

実施形態2におけるプログラム配信情報登録処理(実施形態1と区別するためプログラム配信情報登録処理Bとする)では、図14に示すフローで処理が行われる。なお、以下の説明では、グループコードを所定範囲毎(例えば、001〜100、101〜200、201〜300、・・・)にまとめてプログラム配信対象のECR20をグループに分割し、グループ毎にプログラム配信情報のプログラム管理コードを更新していくものとして説明する。   In the program distribution information registration process (referred to as program distribution information registration process B in order to distinguish from the first embodiment) in the second embodiment, the process is performed according to the flow shown in FIG. In the following description, group codes are grouped into predetermined ranges (for example, 001 to 100, 101 to 200, 201 to 300,...), And the program distribution target ECR 20 is divided into groups. A description will be given assuming that the program management code of the distribution information is updated.

プログラム配信情報登録処理Bにおいては、まず、ストアサービスマスタ記憶部151において、図6に示すプログラムデータ登録処理のステップS3で登録された機種コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS501)。   In the program distribution information registration process B, first, in the store service master storage unit 151, a record including the model code registered in step S3 of the program data registration process shown in FIG. (Step S501).

次いで、プログラム配信情報記憶部152において、ステップS501で検索された各レコードの端末機器コード及び登録されたプログラムデータのプログラム識別コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS502)。   Next, in the program distribution information storage unit 152, a record including the terminal device code of each record retrieved in step S501 and the program identification code of the registered program data is retrieved, and the retrieved record is read to the RAM 13 ( Step S502).

次いで、ステップS502でRAM13に読み出されたレコードが予め定められたグループコードの範囲毎のグループに分割され(ステップS503)、グループコードが所定範囲の(例えば、001〜100)グループに属するレコードのプログラム管理コードが、新たに登録されたプログラムデータのプログラム管理コードに変更され、更に、配信実績フィールドが“0”に初期化され、変更された内容によりプログラム配信情報記憶部152の情報が更新される(ステップS504)。また、更新時に計時部17により出力された日時情報が更新日時としてRAM13に記憶される(ステップS505)。   Next, the records read to the RAM 13 in step S502 are divided into groups for each predetermined group code range (step S503), and records belonging to groups in a predetermined range (for example, 001 to 100) are recorded. The program management code is changed to the program management code of the newly registered program data, the distribution result field is initialized to “0”, and the information in the program distribution information storage unit 152 is updated with the changed contents. (Step S504). Further, the date and time information output by the time measuring unit 17 at the time of update is stored in the RAM 13 as an update date and time (step S505).

次いで、ステップS506〜S513のループ3の処理が、全てのグループの更新完了まで繰り返し実行される。   Next, the processing of loop 3 in steps S506 to S513 is repeatedly executed until the update of all groups is completed.

まず、所定時間(例えば、1時間)スリープ状態とされ(ステップS507)、次いで、前回更新対象となったグループのプログラム配信情報の更新から所定期間(例えば、3日間)経過したか否かが判断され、所定期間が経過したと判断されると(ステップS508;YES)、処理はステップS511に移行する。   First, a sleep state is set for a predetermined time (for example, 1 hour) (step S507), and then it is determined whether or not a predetermined period (for example, 3 days) has elapsed since the update of the program distribution information of the group to be updated last time. If it is determined that the predetermined period has elapsed (step S508; YES), the process proceeds to step S511.

前回更新対象となったグループのプログラム配信情報の更新から所定期間経過していないと判断されると(ステップS508;NO)、前回更新対象となったグループコードをもつプログラム配信情報のレコードがプログラム配信情報記憶部152から取得され(ステップS509)、「配信実績」フィールドが“1”のレコードが予め定められた割合(例えば、80%)を超えているか否かが判断される(ステップS510)。配信実績のフラグが“1”のレコードが予め定められた割合を超えていると判断されると(ステップS510;YES)、処理はステップS511に移行する。「配信実績」フィールドが“1”のレコードが予め定められた割合を超えていないと判断されると(ステップS510;NO)、次のループ3の処理が実行される。   If it is determined that the predetermined period has not elapsed since the update of the program distribution information of the group that was updated last time (step S508; NO), the record of the program distribution information having the group code that was updated last time is the program distribution. It is acquired from the information storage unit 152 (step S509), and it is determined whether or not the record in which the “delivery result” field is “1” exceeds a predetermined ratio (for example, 80%) (step S510). If it is determined that the record with the distribution result flag “1” exceeds the predetermined ratio (step S510; YES), the process proceeds to step S511. If it is determined that the record whose “delivery record” field is “1” does not exceed a predetermined ratio (step S510; NO), the processing of the next loop 3 is executed.

ステップS511においては、ステップS502でRAM13に読み出されたレコードのうち、次に更新対象となるグループに該当するグループコードをもつレコードのプログラム管理コードが、新たに登録されたプログラムデータのプログラム管理コードに変更され、更に、配信実績フィールドが“0”に初期化され、変更された内容によりプログラム配信情報記憶部152の情報が更新される。また、RAM13に記憶されている更新日時がステップS510における更新時に計時部17により出力された日時情報により更新され(ステップS512)、次のループ3の処理が実行される。   In step S511, the program management code of the record having the group code corresponding to the group to be updated next among the records read to the RAM 13 in step S502 is the program management code of the newly registered program data. In addition, the distribution result field is initialized to “0”, and the information in the program distribution information storage unit 152 is updated with the changed contents. Further, the update date and time stored in the RAM 13 is updated with the date and time information output by the time measuring unit 17 at the time of update in step S510 (step S512), and the processing of the next loop 3 is executed.

全てのグループについての更新が終了すると(ステップS513)、本処理は終了する。   When the update for all the groups is completed (step S513), this process ends.

以上説明したように、実施形態2においては、データ管理装置10において新たなバージョンのプログラムデータがプログラムデータ記憶部153に登録されたときの該当するプログラム配信情報の更新対象を所定のグループコード範囲のグループに制限し、更新後所定期間が経過した後、又は、更新したグループのプログラム配信実績が所定の割合を超えたときに次のグループのプログラム配信情報の更新を行う。このように、プログラム配信情報の更新がグループ毎に時間をずらして行われるので、データ管理装置10へのプログラム配信要求が集中することを防ぎ、ネットワーク負荷やシステム負荷を抑制することができる。   As described above, in the second embodiment, the update target of the corresponding program distribution information when a new version of program data is registered in the program data storage unit 153 in the data management apparatus 10 is within a predetermined group code range. Restricted to a group, the program distribution information of the next group is updated after a predetermined period after update or when the program distribution performance of the updated group exceeds a predetermined ratio. As described above, since the program distribution information is updated at different times for each group, it is possible to prevent concentration of program distribution requests to the data management apparatus 10 and to suppress network load and system load.

〔実施形態3〕
以下、本発明の実施形態3について説明する。
実施形態1、2においては、ECR20は、開設時と閉設時にデータ管理装置10に接続し自己が搭載しているプログラムの配信確認要求を行って、必要であれば該当するプログラムのプログラムデータを配信要求してプログラムの更新を行うこととして説明した。このように構成することにより、ECR20の全てのプログラムを常に最新とすることができる。しかしながら、プログラムデータのダウンロード及びインストールには時間がかかるため、開設時に電源を立ち上げてもなかなか稼動できないことがある。そこで、実施形態3においては、開設時に即時に更新が必要なプログラムのみ配信を行い、それ以外は閉設時にプログラムの配信を行う。
[Embodiment 3]
Hereinafter, Embodiment 3 of the present invention will be described.
In the first and second embodiments, the ECR 20 connects to the data management apparatus 10 at the time of opening and closing, makes a distribution confirmation request for the program installed therein, and if necessary, obtains program data of the corresponding program. It has been described that the program is updated upon request for distribution. By configuring in this way, all the programs of the ECR 20 can always be updated. However, since it takes time to download and install the program data, it may be difficult to operate even if the power is turned on at the time of opening. Therefore, in the third embodiment, only the program that needs to be updated immediately at the time of establishment is distributed, and the program is distributed at the time of closing other than that.

図15に、実施形態3におけるプログラム配信情報記憶部152のデータ格納例を示す。図15に示すように、本実施形態におけるプログラム配信情報記憶部152は、実施形態1において図4(b)を用いて説明した各フィールドのほか、「配信タイミング」フィールドを有する。「配信タイミング」フィールドは、配信タイミング情報(即時に配信すべきプログラムについては“即時”、即時に配信する必要のないプログラムについては“通常”)を格納する。   FIG. 15 shows a data storage example of the program distribution information storage unit 152 in the third embodiment. As shown in FIG. 15, the program distribution information storage unit 152 according to the present embodiment includes a “distribution timing” field in addition to the fields described with reference to FIG. 4B in the first embodiment. The “distribution timing” field stores distribution timing information (“immediate” for a program to be distributed immediately, “normal” for a program that does not need to be distributed immediately).

実施形態3におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   Other configurations in the third embodiment are the same as those described in the first embodiment, and thus the description thereof is omitted.

次に、実施形態3における動作について説明する。
実施形態3においては、ECR20で実行される閉設処理及び開設処理においてデータ管理装置10に送信されるプログラム配信確認要求の要求データには、閉設処理であるか又は開設処理であるかを示す情報が含まれることが実施形態1と異なる。
Next, the operation in the third embodiment will be described.
In the third embodiment, the request data of the program distribution confirmation request transmitted to the data management apparatus 10 in the closing process and opening process executed by the ECR 20 indicates whether it is a closing process or an opening process. It is different from the first embodiment that information is included.

また、データ管理装置10において実行されるプログラムデータ登録処理と、図9のサービス提供処理のステップS36で実行されるプログラム配信確認処理が実施形態1と異なる。   Further, the program data registration process executed in the data management apparatus 10 and the program distribution confirmation process executed in step S36 of the service providing process in FIG. 9 are different from those in the first embodiment.

実施形態3におけるプログラムデータ登録処理では、図6のステップS1において、登録するプログラムデータの機種コード、プログラム識別コード及びプログラム確認コードとともに、登録するプログラムデータが即時の配信が必要であるか否かの情報が入力される。即時にする場合は、例えば、重大な障害等により早急にプログラムを更新する必要がある場合等が該当する。そして、図7のステップS103において、プログラム配信情報のプログラム管理コードが登録されたプログラムデータのプログラム管理コードに変更されるとともに、ステップS1で入力された“即時”又は“通常”の情報が配信タイミング情報として「配信タイミング」フィールドに追加され、追加、変更された内容によりプログラム配信情報記憶部152が更新される。   In the program data registration process according to the third embodiment, whether or not the program data to be registered needs immediate distribution together with the model code, program identification code, and program confirmation code of the program data to be registered in step S1 of FIG. Information is entered. Immediately corresponds to a case where the program needs to be updated immediately due to a serious failure, for example. In step S103 of FIG. 7, the program management code of the program distribution information is changed to the program management code of the registered program data, and the “immediate” or “normal” information input in step S1 is the distribution timing. Information is added to the “distribution timing” field, and the program distribution information storage unit 152 is updated with the added or changed contents.

また、実施形態3におけるプログラム配信確認処理(実施形態1と区別するためプログラム配信確認処理Bとする)では、図16に示すフローで処理が行われる。   Further, in the program distribution confirmation process in the third embodiment (the program distribution confirmation process B is distinguished from the first embodiment), the process is performed according to the flow shown in FIG.

プログラム配信確認処理Bにおいては、まず、プログラム配信情報記憶部152において、要求データに含まれる端末機器コードを有するレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS601)。   In the program distribution confirmation process B, first, a record having a terminal device code included in the request data is retrieved in the program distribution information storage unit 152, and the retrieved record is read into the RAM 13 (step S601).

次いで、ステップS602〜S609のループ4の処理が、受信された要求データに含まれるプログラム識別コード数分(プログラムの種類数分)繰り返し実行される。   Next, the process of loop 4 in steps S602 to S609 is repeatedly executed for the number of program identification codes (the number of types of programs) included in the received request data.

まず、受信された要求データからプログラム識別コード及び当該プログラム識別コードに対応するプログラム管理コードが取り出される(ステップS603)。次いで、取り出されたプログラム識別コードを有するプログラム配信情報のレコードがRAM13に存在するか否かが判断され、存在しないと判断されると(ステップS604;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示す配信確認情報が応答データに設定され(ステップS608)、要求データに含まれる次のプログラム識別コードについてのループ4の処理に移行する。   First, a program identification code and a program management code corresponding to the program identification code are extracted from the received request data (step S603). Next, it is determined whether or not the record of the program distribution information having the extracted program identification code exists in the RAM 13, and if it is determined that it does not exist (step S604; NO), the type corresponding to the program identification code is determined. It is determined that program distribution is not necessary, distribution confirmation information indicating that program distribution of the program identification code is not necessary is set in the response data (step S608), and the next program identification code included in the request data is determined. The process proceeds to loop 4 processing.

一方、ステップS603において取り出されたプログラム識別コードを有するプログラム配信情報のレコードがRAM13に存在すると判断されると(ステップS604;YES)、要求データから取り出された当該プログラム識別コードに対応するプログラム管理コードが、ステップS601でRAM13に読み出された当該プログラム識別コードを有するレコードのプログラム管理コードと異なるか否かが判断され、異ならない(同一である)と判断されると(ステップS605;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示す配信確認情報が応答データに設定され(ステップS608)、要求データに含まれる次のプログラム識別コードについてのループ4の処理に移行する。   On the other hand, if it is determined that the record of the program distribution information having the program identification code extracted in step S603 is present in the RAM 13 (step S604; YES), the program management code corresponding to the program identification code extracted from the request data Is determined to be different from the program management code of the record having the program identification code read to the RAM 13 in step S601 (NO in step S605). It is determined that it is not necessary to distribute the type of program corresponding to the program identification code, distribution confirmation information indicating that program distribution of the program identification code is unnecessary is set in the response data (step S608), and the request data includes Next step included The process proceeds to loop 4 for Gram identification code.

要求データから取り出された当該プログラム識別コードに対応するプログラム管理コードがステップS601でRAM13に読み出された当該プログラム識別コードを有するレコードのプログラム管理コードと異なると判断されると(ステップS605;YES)、要求データ及びステップS601でRAM13に読み出された当該プログラム識別コードを含むレコードの配信タイミング情報に基づき、接続されたECR20が閉設時であるか又は即時配信が必要なプログラムであるかの何れかに該当するか否かが判断される(ステップS606)。   If it is determined that the program management code corresponding to the program identification code extracted from the request data is different from the program management code of the record having the program identification code read to the RAM 13 in step S601 (step S605; YES). Based on the request data and the delivery timing information of the record including the program identification code read to the RAM 13 in step S601, either the connected ECR 20 is closed or is a program that requires immediate delivery. It is determined whether or not this is true (step S606).

接続されたECR20が閉設時であるか又は即時配信が必要なプログラムであるかの何れかに該当すると判断されると(ステップS606;YES)、プログラムの配信が必要であると判定され、当該プログラム識別コードに対応する種類のプログラムの配信が必要であることを示す配信確認情報が応答データに設定され(ステップS607)、要求データに含まれる次のプログラム識別コードについてのループ4の処理に移行する。   If it is determined that the connected ECR 20 is closed or the program requires immediate distribution (step S606; YES), it is determined that the program needs to be distributed. Distribution confirmation information indicating that it is necessary to distribute the type of program corresponding to the program identification code is set in the response data (step S607), and the processing proceeds to loop 4 for the next program identification code included in the request data. To do.

接続されたECR20が閉設時であるか又は即時配信が必要なプログラムであるかの何れにも該当しないと判断されると(ステップS606;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示す配信確認情報が応答データに設定され(ステップS608)、要求データに含まれる次のプログラム識別コードについてのループ4の処理に移行する。   If it is determined that the connected ECR 20 is not closed or is a program that requires immediate distribution (step S606; NO), the type of program corresponding to the program identification code is determined. It is determined that distribution is not necessary, distribution confirmation information indicating that program distribution of the program identification code is unnecessary is set in the response data (step S608), and loop 4 for the next program identification code included in the request data Move on to processing.

受信した要求データに含まれる全てのプログラム識別コードについてのループ4の処理が終了すると(ステップS609)、設定された応答データが通信部16により接続されたECR20に送信され(ステップS610)、処理は図9のステップS32に移行する。   When the processing of loop 4 for all the program identification codes included in the received request data is completed (step S609), the set response data is transmitted to the ECR 20 connected by the communication unit 16 (step S610), and the processing is Control proceeds to step S32 in FIG.

以上説明したように、実施形態3のプログラム配信確認処理においては、ECR20が閉設時に配信確認要求を行った場合又は配信確認要求したプログラムの配信タイミングがプログラム配信情報記憶部152において即時に設定されている場合に、配信が必要であることを示す配信確認情報が応答データに設定される。従って、開設時には即時に更新が必要なプログラムの更新のみが行われ、それ以外は閉設時に更新が行われることとなるので、ユーザの利便性を損なわずにプログラムの更新を行うことが可能となる。   As described above, in the program distribution confirmation processing according to the third embodiment, when the ECR 20 makes a distribution confirmation request when the ECR 20 is closed, or the distribution timing of the program that requested the distribution confirmation is immediately set in the program distribution information storage unit 152. In this case, distribution confirmation information indicating that distribution is necessary is set in the response data. Therefore, only the programs that need to be updated immediately are opened at the time of opening, and other updates are performed at the time of closing, so that it is possible to update the programs without impairing the convenience of the user. Become.

〔実施形態4〕
以下、本発明の実施形態4について説明する。
実施形態4においては、ECR20とデータ管理装置10との間で送受信するデータ(例えば、要求データやプログラムデータ)を暗号化する。
[Embodiment 4]
Embodiment 4 of the present invention will be described below.
In the fourth embodiment, data (for example, request data and program data) transmitted and received between the ECR 20 and the data management apparatus 10 is encrypted.

図17に、実施形態4におけるデータ管理装置10のCPU11と、記憶部15に記憶されている各種アプリケーションプログラムとの協働により実現される機能構成例を示す。
図17に示すように、実施形態4において、ストアサービスポート制御部200は、暗号制御部205を含んで構成されている。暗号制御部205においては、ECR20から送信された要求データの復号や、ECR20に送信するプログラムデータの暗号化等を行う。
FIG. 17 shows a functional configuration example realized by the cooperation of the CPU 11 of the data management apparatus 10 according to the fourth embodiment and various application programs stored in the storage unit 15.
As shown in FIG. 17, in the fourth embodiment, the store service port control unit 200 includes an encryption control unit 205. The encryption control unit 205 performs decryption of request data transmitted from the ECR 20, encryption of program data transmitted to the ECR 20, and the like.

また、実施形態4において、各ECR20とデータ管理装置10は予め各暗号方式に使用する暗号鍵を交換しており、記憶部15は、各ECR20の端末機器コードと暗号鍵とを対応付けて記憶している。   In the fourth embodiment, each ECR 20 and the data management apparatus 10 exchange encryption keys used for each encryption method in advance, and the storage unit 15 stores the terminal device code and encryption key of each ECR 20 in association with each other. doing.

また、ECR20は、入力部22の操作によりデータ管理装置10とデータ通信を行う際の暗号強度を設定することができるようになっている。具体的には、RSA(Rivest Shamir Adleman)、T−DES(Triple DES)、DES(Data Encryption Standard)、平文の中からユーザの所望する暗号強度の暗号方式を設定することができるようになっている。ECR20においては、RSA、T−DES、DESのそれぞれの暗号方式でデータの暗号化、復号を行う暗号処理プログラムが記憶されており、CPU21と暗号処理プログラムとの協働により、データの暗号化、復号を行うことができるようになっている。   Further, the ECR 20 can set the encryption strength when performing data communication with the data management apparatus 10 by operating the input unit 22. Specifically, it is possible to set the encryption method of the encryption strength desired by the user from among RSA (Rivest Shamir Adleman), T-DES (Triple DES), DES (Data Encryption Standard), and plaintext. Yes. The ECR 20 stores encryption processing programs for encrypting and decrypting data using the RSA, T-DES, and DES encryption methods, and the data encryption and decryption are performed in cooperation with the CPU 21 and the encryption processing program. Decoding can be performed.

実施形態4におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   Other configurations in the fourth embodiment are the same as those described in the first embodiment, and thus the description thereof is omitted.

次に、実施形態4における動作について説明する。
実施形態4において、ECR20で閉設処理、開設処理を行ってデータ管理装置10にプログラム配信要求及びプログラム送信要求を行う際には、予め設定された暗号方式の暗号処理プログラムが読み出され、要求データのデータ部が予め設定された暗号方式で暗号化された後、通信部26を介してデータ管理装置10に送信される。
Next, the operation in the fourth embodiment will be described.
In the fourth embodiment, when performing a closing process and an opening process in the ECR 20 and making a program distribution request and a program transmission request to the data management apparatus 10, an encryption processing program of a preset encryption method is read and the request After the data part of the data is encrypted by a preset encryption method, it is transmitted to the data management apparatus 10 via the communication part 26.

データ管理装置10においては、図9に示したサービス提供処理において、ECR20からの要求が受信されると、ステップS33において、電文制御部201により図18に示す電文解釈処理が実行される。   In the data management apparatus 10, when a request from the ECR 20 is received in the service providing process shown in FIG. 9, the message control unit 201 executes the message interpretation process shown in FIG. 18 in step S33.

電文解釈処理では、まず、ステップS32で受信された要求データのヘッダ部の暗号化情報が参照され(ステップS701)、要求データを暗号化している暗号方式が判断される(ステップS702)。要求データの暗号方式がRSAであると判断されると(ステップS702;RSA)、暗号制御部205により要求元のECR20の暗号鍵(公開鍵)を用いて要求データのデータ部がRSAのアルゴリズムにより復号され(ステップS703)、処理はステップS706に移行する。   In the message interpretation process, first, the encryption information in the header portion of the request data received in step S32 is referred to (step S701), and the encryption method that encrypts the request data is determined (step S702). When it is determined that the encryption method of the request data is RSA (step S702; RSA), the encryption control unit 205 uses the encryption key (public key) of the request source ECR 20 to change the data portion of the request data according to the RSA algorithm. Decoding is performed (step S703), and the process proceeds to step S706.

一方、要求データの暗号方式がT−DESであると判断されると(ステップS702;T−DES)、暗号制御部205により要求元のECR20の暗号鍵を用いて電文のデータ部がT−DESアルゴリズムにより復号され(ステップS704)、処理はステップS706に移行する。   On the other hand, if it is determined that the encryption method of the request data is T-DES (step S702; T-DES), the encryption control unit 205 uses the encryption key of the request source ECR 20 to convert the data portion of the message to T-DES. Decoded by the algorithm (step S704), the process proceeds to step S706.

一方、要求データの暗号方式がDESであると判断されると(ステップS702;DES)、暗号制御部205により要求元のECR20の暗号鍵を用いて要求データのデータ部がDESアルゴリズムにより復号され(ステップS705)、処理はステップS706に移行する。   On the other hand, when it is determined that the encryption method of the request data is DES (step S702; DES), the encryption control unit 205 decrypts the data portion of the request data by the DES algorithm using the encryption key of the requesting ECR 20 ( In step S705), the process proceeds to step S706.

要求データが平文であると判断されると(ステップS702;平文)、処理はステップS706に移行する。   If it is determined that the request data is plain text (step S702; plain text), the process proceeds to step S706.

ステップS706においては、復号された又は平文の要求データが電文制御部201により解析され、要求された処理の内容が特定され(ステップS706)、処理は図9のステップS34に移行し、ステップS34以降の処理が実行される。   In step S706, the decrypted or plaintext request data is analyzed by the message control unit 201, and the content of the requested process is specified (step S706). The process proceeds to step S34 in FIG. The process is executed.

本実施形態において、ステップS706で特定された要求がプログラム配信処理の場合、図6のステップS4においては、図19に示すプログラム配信処理(実施形態1と区別するため、プログラム配信処理Bとする)が実行される。   In the present embodiment, when the request specified in step S706 is a program distribution process, in step S4 of FIG. 6, the program distribution process shown in FIG. 19 (to be distinguished from the first embodiment, the program distribution process B). Is executed.

プログラム配信処理Bにおいては、まず、プログラムデータ記憶部153において、要求データに含まれる機種コード、プログラム識別コード及びプログラム管理コードと一致する属性情報を有するプログラムデータが検索処理され、該当するプログラムデータが読み出される(ステップS801)。   In the program distribution process B, first, program data having attribute information matching the model code, program identification code, and program management code included in the request data is searched in the program data storage unit 153, and the corresponding program data is found. Read is performed (step S801).

次いで、暗号制御部205によりプログラムデータ暗号処理が実行され、読み出されたプログラムデータが暗号化される(ステップS802)。   Next, program data encryption processing is executed by the encryption control unit 205, and the read program data is encrypted (step S802).

図20に、図19のステップS802で実行されるプログラムデータ暗号処理を示す。 プログラムデータ暗号処理では、ECR20から受信された要求データの暗号方式が判断される。要求データの暗号方式がRSAであると判断されると(ステップS901;RSA)、暗号制御部205により図19のステップS801において読み出されたプログラムデータが要求元のECR20の暗号鍵を用いてRSAアルゴリズムにより暗号化され(ステップS902)、処理は図19のステップS803に移行する。   FIG. 20 shows the program data encryption process executed in step S802 of FIG. In the program data encryption process, the encryption method of the request data received from the ECR 20 is determined. If it is determined that the encryption method of the request data is RSA (step S901; RSA), the program data read by the encryption control unit 205 in step S801 of FIG. 19 is RSA using the encryption key of the request source ECR20. Encryption is performed by the algorithm (step S902), and the process proceeds to step S803 in FIG.

一方、要求データの暗号方式がT−DESであると判断されると(ステップS901;T−DES)、暗号制御部205によりステップS801において読み出されたプログラムデータが要求元のECR20の暗号鍵を用いてT−DESアルゴリズムにより暗号化され(ステップS903)、処理は図19のステップS803に移行する。   On the other hand, when it is determined that the encryption method of the request data is T-DES (step S901; T-DES), the program data read out in step S801 by the encryption control unit 205 uses the encryption key of the requesting ECR 20 as an encryption key. The data is encrypted using the T-DES algorithm (step S903), and the process proceeds to step S803 in FIG.

一方、要求データの暗号方式がDESであると判断されると(ステップS901;DES)、暗号制御部205によりステップS801において読み出されたプログラムデータが要求元のECR20の暗号鍵を用いてDESアルゴリズムにより暗号化され(ステップS904)、処理は図19のステップS803に移行する。   On the other hand, if it is determined that the encryption method of the request data is DES (step S901; DES), the program data read out in step S801 by the encryption control unit 205 uses the encryption key of the requesting ECR 20 to create a DES algorithm. (Step S904), and the process proceeds to step S803 in FIG.

一方、要求データが平文であると判断されると(ステップS901;平文)、処理は図19のステップS803に移行する。   On the other hand, if it is determined that the request data is plain text (step S901; plain text), the process proceeds to step S803 in FIG.

図19のステップS803においては、平文又は暗号化されたプログラムデータが応答データに設定され、通信部16により接続されたECR20に送信される(ステップS803)。そして、処理は図9のステップS32に戻る。   In step S803 of FIG. 19, plain text or encrypted program data is set as response data and transmitted to the ECR 20 connected by the communication unit 16 (step S803). Then, the process returns to step S32 in FIG.

以上説明したように、実施形態4においては、データ管理装置10は、プログラムデータを配信先のECR20に応じた暗号強度で暗号化して送信する。従って、各ECR20に要求されるセキュリティのレベルに応じて暗号強度を変えてプログラムデータを暗号化して送信することができ、暗号化処理にかかる負荷と安全性のバランスをとりながら、効率よくプログラムデータの配信を行うことが可能となる。   As described above, in the fourth embodiment, the data management apparatus 10 encrypts and transmits the program data with the encryption strength corresponding to the distribution destination ECR 20. Therefore, the program data can be encrypted and transmitted with the encryption strength changed according to the level of security required for each ECR 20, and the program data can be efficiently transmitted while balancing the load on the encryption process and the safety. Can be delivered.

なお、実施形態4においては、各ECR20で設定した暗号方式で要求データを暗号化して送信すると、データ管理装置10側で要求データの暗号方式を特定し、その暗号方式でプログラムデータを暗号化して要求元のECR20に送信することとし、ECR20に応じた暗号化方式でプログラムコードを暗号化することとしたが、これに限定されない。
例えば、ECR20の機種コード毎に予め暗号方式が定められており、データ管理装置10は、要求元のECR20の機種コードをストアサービスマスタ記憶部151を参照して特定し、特定した機種コードに応じた暗号化方式で配信するプログラムデータを暗号化するようにしてもよい。このようにすれば、ECR20の機種毎に要求されるセキュリティのレベルに応じた暗号強度でプログラムデータを暗号化して送信することができ、暗号化処理にかかる負荷と安全性のバランスをとりながら、効率よくプログラムデータの配信を行うことが可能となる。
また、例えば、プログラムの種類毎に予め暗号方式が定められており、データ管理装置10は、配信要求されたプログラムデータの種類に応じた暗号化方式で配信するプログラムデータを暗号化するようにしてもよい。このようにすれば、各プログラムに要求されるセキュリティのレベルに応じた暗号強度でプログラムデータを暗号化して送信することができ、暗号化処理にかかる負荷と安全性のバランスをとりながら、効率よくプログラムデータの配信を行うことが可能となる。
In the fourth embodiment, when the request data is encrypted and transmitted by the encryption method set in each ECR 20, the data management apparatus 10 specifies the encryption method of the request data and encrypts the program data by the encryption method. The transmission is made to the requesting ECR 20 and the program code is encrypted by an encryption method corresponding to the ECR 20, but the present invention is not limited to this.
For example, an encryption method is determined in advance for each model code of the ECR 20, and the data management apparatus 10 specifies the model code of the requesting ECR 20 with reference to the store service master storage unit 151, and responds to the specified model code. The program data distributed by the encryption method may be encrypted. In this way, the program data can be encrypted and transmitted with the encryption strength corresponding to the level of security required for each model of the ECR 20, and while balancing the load on the encryption process and the safety, It becomes possible to distribute program data efficiently.
Further, for example, an encryption method is predetermined for each type of program, and the data management apparatus 10 encrypts program data to be distributed by an encryption method according to the type of program data requested for distribution. Also good. In this way, program data can be encrypted and transmitted with the encryption strength corresponding to the security level required for each program, and the load on the encryption process and the safety can be balanced and efficiently Program data can be distributed.

なお、上記各実施の形態における記述は、本発明に係るプログラム配信システム1の好適な一例であり、これに限定されるものではない。
例えば、上記実施形態においては、端末機器をECR20とした場合を例にとり説明したが、これに限定されず、例えば、端末機器を店舗において顧客のクレジットカードのカード情報を読み取り、そのカード情報を含む決済データ及び決済承認要求をカード会社の装置に送信する決済端末とし、データ管理装置10により決済端末にプログラムの配信を行う構成としてもよい。
Note that the description in each of the above embodiments is a preferred example of the program distribution system 1 according to the present invention, and the present invention is not limited to this.
For example, in the above-described embodiment, the case where the terminal device is ECR20 has been described as an example. However, the present invention is not limited to this. For example, the terminal device reads the card information of the customer's credit card in the store and includes the card information. A payment terminal that transmits payment data and a payment approval request to a card company device may be used, and a program may be distributed to the payment terminal by the data management device 10.

また、上記実施形態においては、或る種類のプログラムの最新バージョンのプログラムデータが新たに登録されると、プログラム配信情報記憶部152に記憶された当該プログラムを搭載した全てのECR20についてのプログラム管理コードを更新することとしたが、特定の端末機器コードや会社コード、店舗コードをもつECR20のみ個別に更新することとしてもよい。このようにすれば、例えば、障害が発生したECR20に障害発生時の監視用プログラムを配信する等の限定した配信が可能となる。   In the above embodiment, when the latest version of program data of a certain type of program is newly registered, the program management code for all ECRs 20 loaded with the program stored in the program distribution information storage unit 152 is stored. However, only the ECR 20 having a specific terminal device code, company code, or store code may be updated individually. In this way, for example, limited distribution such as distribution of the monitoring program at the time of the failure to the ECR 20 where the failure has occurred becomes possible.

また、実施形態4においては、固定の暗号鍵で暗号化及び復号を行うこととしたが、データ管理装置10において暗号鍵を定期的に更新し、かつ、配信するプログラムの中に更新した暗号鍵を埋め込んで配信するようにしてもよい。これにより、データ管理装置10とECR20との間での通信の安全性を高めることが可能となる。   In the fourth embodiment, encryption and decryption are performed using a fixed encryption key. However, the encryption key is periodically updated in the data management apparatus 10 and updated in the program to be distributed. You may make it deliver by embedding. Thereby, it is possible to improve the safety of communication between the data management apparatus 10 and the ECR 20.

その他、プログラム配信システム1を構成する各装置の細部構成及び細部動作に関しても、発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of each device constituting the program distribution system 1 can be changed as appropriate without departing from the spirit of the invention.

1 プログラム配信システム
10 データ管理装置
11 CPU
12 入力部
13 RAM
14 表示部
15 記憶部
151 ストアサービスマスタ記憶部
152 プログラム配信情報記憶部
153 プログラムデータ記憶部
16 通信部
17 計時部
18 バス
20 ECR
21 CPU
22 入力部
23 RAM
24 表示部
25 記憶部
26 通信部
27 計時部
28 ドロア
29a プリント部
29b バス
100 ストアサービス情報登録部
101 ストアサービスマスタ登録部
102 プログラムデータ登録部
103 プログラム配信情報登録部
200 ストアサービスポート制御部
201 電文制御部
202 認証制御部
203 プログラム配信確認部
204 プログラム配信部
205 暗号制御部
1 Program Distribution System 10 Data Management Device 11 CPU
12 Input unit 13 RAM
14 Display unit 15 Storage unit 151 Store service master storage unit 152 Program distribution information storage unit 153 Program data storage unit 16 Communication unit 17 Timekeeping unit 18 Bus 20 ECR
21 CPU
22 Input unit 23 RAM
24 display unit 25 storage unit 26 communication unit 27 timing unit 28 drawer 29a print unit 29b bus 100 store service information registration unit 101 store service master registration unit 102 program data registration unit 103 program distribution information registration unit 200 store service port control unit 201 telegram Control unit 202 Authentication control unit 203 Program distribution confirmation unit 204 Program distribution unit 205 Cryptographic control unit

Claims (7)

複数の端末機器に対して情報を配信する情報配信装置であって、
配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段と、
前記判別手段で即時配信が必要な端末機器が存在すると判別された場合には、当該端末機器の電源立ち上げ時に前記配信すべき情報を先に配信すべく制御する第1制御手段と、
前記判別手段で即時配信が必要でない端末機器に対しては、前記第1制御手段による情報配信の後にあって前記配信すべき情報を配信すべく制御する第2制御手段と、
を具備したことを特徴とする情報配信装置。
An information distribution device that distributes information to a plurality of terminal devices,
A discriminating means for discriminating a terminal device that needs immediate delivery of the information among the plurality of terminal devices when there is information to be distributed;
A first control unit that controls to distribute the information to be distributed first when the terminal device is powered on when it is determined by the determining unit that there is a terminal device that needs immediate distribution;
A second control means for controlling to distribute the information to be distributed after the information distribution by the first control means for a terminal device that does not require immediate distribution by the determination means;
An information distribution apparatus comprising:
複数の端末機器に対して情報を配信する情報配信装置であって、
配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段と、
前記即時配信が必要な端末機器に対しては、当該端末機器での処理開始に際して前記情報を配信制御する制御手段と、
を具備したことを特徴とする情報配信装置。
An information distribution device that distributes information to a plurality of terminal devices,
A discriminating means for discriminating a terminal device that needs immediate delivery of the information among the plurality of terminal devices when there is information to be distributed;
For a terminal device that requires immediate distribution, control means for controlling distribution of the information when processing is started at the terminal device;
An information distribution apparatus comprising:
前記即時配信が必要でない端末機器に対しては、前記制御手段による情報配信の後にあって前記情報を配信制御する第2制御手段と、
を更に具備したことを特徴とする請求項2に記載の情報配信装置。
For terminal devices that do not require immediate distribution, second control means for controlling distribution of the information after information distribution by the control means;
The information distribution apparatus according to claim 2, further comprising:
前記即時配信が必要でない前記端末機器に対しては、当該端末機器での処理終了に際して前記情報を配信制御する第2制御手段と、
を更に具備したことを特徴とする請求項2に記載の情報配信装置。
For the terminal device that does not require immediate distribution, second control means for controlling the distribution of the information upon termination of processing in the terminal device;
The information distribution apparatus according to claim 2, further comprising:
前記判別手段は、前記複数の端末機器の内で即時配信が必要な情報の存在する端末装置を、前記即時配信が必要な端末装置として判別する、
ことを特徴とする請求項1〜4の何れかに記載の情報配信装置。
The determining means determines a terminal device having information that needs immediate delivery among the plurality of terminal devices as a terminal device that needs immediate delivery.
The information distribution apparatus according to claim 1, wherein the information distribution apparatus is an information distribution apparatus.
複数の端末機器に対して情報を配信する情報配信装置のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段、
前記判別手段で即時配信が必要な端末機器が存在すると判別された場合には、当該端末機器の電源立ち上げ時に前記配信すべき情報を先に配信すべく制御する第1制御手段、
前記判別手段で即時配信が必要でない端末機器に対しては、前記第1制御手段による情報配信の後にあって前記配信すべき情報を配信すべく制御する第2制御手段、
として機能させるようにしたプログラム。
A program for controlling a computer of an information distribution apparatus that distributes information to a plurality of terminal devices,
The computer,
A discriminating means for discriminating a terminal device that needs immediate distribution of the information among the plurality of terminal devices when there is information to be distributed;
A first control unit that controls to distribute the information to be distributed first when the terminal device is powered on when it is determined that there is a terminal device that needs immediate distribution;
A second control means for controlling to distribute the information to be distributed after the information distribution by the first control means for a terminal device that does not require immediate distribution by the determination means;
A program designed to function as
複数の端末機器に対して情報を配信する情報配信装置のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
配信すべき情報が存在する場合に、前記複数の端末機器の内でその情報の即時配信が必要な端末機器を判別する判別手段、
前記即時配信が必要な端末機器に対しては、当該端末機器での処理開始に際して、即時配信の必要な情報を配信制御する制御手段、
として機能させるようにしたプログラム。
A program for controlling a computer of an information distribution apparatus that distributes information to a plurality of terminal devices,
The computer,
A discriminating means for discriminating a terminal device that needs immediate distribution of the information among the plurality of terminal devices when there is information to be distributed;
For a terminal device that requires immediate delivery, a control unit that controls delivery of information that requires immediate delivery at the start of processing in the terminal device;
A program designed to function as
JP2014062882A 2014-03-26 2014-03-26 Information distribution apparatus and program Active JP5884850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014062882A JP5884850B2 (en) 2014-03-26 2014-03-26 Information distribution apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014062882A JP5884850B2 (en) 2014-03-26 2014-03-26 Information distribution apparatus and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013036074A Division JP5565486B2 (en) 2013-02-26 2013-02-26 Data management apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016023307A Division JP6525270B2 (en) 2016-02-10 2016-02-10 Information distribution device and program

Publications (2)

Publication Number Publication Date
JP2014139825A JP2014139825A (en) 2014-07-31
JP5884850B2 true JP5884850B2 (en) 2016-03-15

Family

ID=51416462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014062882A Active JP5884850B2 (en) 2014-03-26 2014-03-26 Information distribution apparatus and program

Country Status (1)

Country Link
JP (1) JP5884850B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898256B2 (en) * 2004-07-13 2014-11-25 International Business Machines Corporation Prioritization of application component distribution
JP4891605B2 (en) * 2005-12-12 2012-03-07 株式会社東芝 Software management system and software distribution server

Also Published As

Publication number Publication date
JP2014139825A (en) 2014-07-31

Similar Documents

Publication Publication Date Title
JP6655147B2 (en) Payment system
JP5211586B2 (en) Data management apparatus and program
EP2905739A1 (en) Electronic bills management system and electronic bills management method
US10713678B2 (en) Method, system and mobile device for providing user rewards
EP2976739B1 (en) A method and system for transferring data
JP5331834B2 (en) Information processing system, reading terminal and processing terminal
JP5565486B2 (en) Data management apparatus and program
KR102464357B1 (en) Apparatus for generating barcode using homomorphic encryption and Method thereof
US9923968B2 (en) Network system and control method of a network system, and a control device
JP5884850B2 (en) Information distribution apparatus and program
US11694202B2 (en) Transaction certification management system, transaction certification management apparatus, and transaction certification processing method
JP6525270B2 (en) Information distribution device and program
US20220150228A1 (en) Computer systems and methods including html browser authorisation approaches
JP7156888B2 (en) Payment processing method
JP7167771B2 (en) File management device, file management program, and file management system
JP6223907B2 (en) One-stop application system, one-stop application method and program
KR101980432B1 (en) Apparatus and method for managing personal information
JP2013092996A (en) Image forming system, image forming apparatus, and program
JP2005332090A (en) User authentication system and user authentication program
KR101823241B1 (en) System and method for opening concurrently account of multiple financial institute through integrating process of non-faced account opening
KR20120009742A (en) Receipt transmission and inquiry system, and method of the same
JP2006293746A (en) Management server, and management method
JP2020067883A (en) System, method, and program for managing user attribute information
JP2022128813A (en) Preliminary input system, provision method of personal information and program
JP2009059068A (en) Network system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140421

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150825

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151006

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160125

R150 Certificate of patent or registration of utility model

Ref document number: 5884850

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150