JP6525270B2 - Information distribution device and program - Google Patents

Information distribution device and program Download PDF

Info

Publication number
JP6525270B2
JP6525270B2 JP2016023307A JP2016023307A JP6525270B2 JP 6525270 B2 JP6525270 B2 JP 6525270B2 JP 2016023307 A JP2016023307 A JP 2016023307A JP 2016023307 A JP2016023307 A JP 2016023307A JP 6525270 B2 JP6525270 B2 JP 6525270B2
Authority
JP
Japan
Prior art keywords
program
data
information
distribution
terminal device
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.)
Expired - Fee Related
Application number
JP2016023307A
Other languages
Japanese (ja)
Other versions
JP2016122459A (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 JP2016023307A priority Critical patent/JP6525270B2/en
Publication of JP2016122459A publication Critical patent/JP2016122459A/en
Application granted granted Critical
Publication of JP6525270B2 publication Critical patent/JP6525270B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

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

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

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

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

特開2005−18604号公報JP, 2005-18604, A 特開2002−99476号公報Japanese Patent Laid-Open No. 2002-99476 特開平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 differ in model for each store even in stores owned by the same company, and programs installed are different in each store There is a case. Further, even in the same store, there are cases where the terminal device model is different for each floor, and the programs installed for each floor are different. Moreover, even if it is a terminal device of the same model, a destination etc. differ with terminal devices, and the program mounted may differ.

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

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

本発明に係る情報配信装置は、端末機器に対して情報を配信する情報配信装置であって、前記端末機器に対して所定の情報を配信制御するとともに、前記所定の情報の前記端末機器に対する配信タイミングが、前記端末機器の状態が処理開始時の第1特定状態にあるときと、前記端末機器の状態が処理終了時の第2特定状態にあるときとに、限定されるよう制御する制御手段と、前記端末機器に対して配信すべき前記所定の情報が複数存在する場合に、その複数の情報が、即時配信の必要な第1情報か、即時配信の必要ない第2情報か、を判別する判別手段と、を備え、前記制御手段は、即時配信の必要な前記第1情報については、その配信先となる端末機器の状態が前記第1特定状態であるか前記第2特定状態であるかにかかわらず配信を行うように制御し、即時配信の必要ない前記第2情報については、前記端末機器の状態が前記第1特定状態であるときには配信を避けるように且つ前記第2特定状態であるときに配信を行うよう制御する、ことを特徴とする。
また、本発明に係るプログラムは、端末機器に対して情報を配信する情報配信装置のコンピュータを制御するためのプログラムであって、前記コンピュータを、前記端末機器に対して所定の情報を配信制御するとともに、前記所定の情報の前記端末機器に対する配信タイミングが、前記端末機器の状態が処理開始時の第1特定状態にあるときと、前記端末機器の状態が処理終了時の第2特定状態にあるときとに、限定されるよう制御する制御手段、前記端末機器に対して配信すべき前記所定の情報が複数存在する場合に、その複数の情報が、即時配信の必要な第1情報か、即時配信の必要ない第2情報か、を判別する判別手段、として機能させ、前記制御手段は、即時配信の必要な前記第1情報については、その配信先となる端末機器の状態が前記第1特定状態であるか前記第2特定状態であるかにかかわらず配信を行うように制御し、即時配信の必要ない前記第2情報については、前記端末機器の状態が前記第1特定状態であるときには配信を避けるように且つ前記第2特定状態であるときに配信を行うよう制御する、ことを特徴とする。
An information distribution apparatus according to the present invention is an information distribution apparatus that distributes information to a terminal device, and controls distribution of predetermined information to the terminal device, and distributes the predetermined information to the terminal device. Control means for controlling such that the timing is limited when the state of the terminal device is in the first specific state at the start of processing and when the state of the terminal device is in the second specific state at the end of processing And, when there are a plurality of pieces of the predetermined information to be delivered to the terminal device, it is determined whether the plurality of pieces of information is the first information required for immediate delivery or the second information not required for immediate delivery And the control means is in the first specific state or in the second specific state with respect to the first information that requires immediate distribution, the terminal device serving as the distribution destination being the first specific state. or in the delivery regardless of Controlling the Migihitsuji, for unnecessary second information immediate delivery, and distributes when a and the second specific state so as to avoid delivery when the state of the terminal device is the first specific state controlled manner, characterized in that.
Further, a program according to the present invention is a program for controlling a computer of an information distribution apparatus that distributes information to a terminal device, and controls the computer to distribute predetermined information to the terminal device. At the same time, the delivery timing of the predetermined information to the terminal device is that the state of the terminal device is in the first specific state at the start of processing and the state of the terminal device is in the second specific state at the end of processing Sometimes, when there are a plurality of the predetermined information to be delivered to the terminal device, the control means for controlling so as to be limited, if the plurality of information is the first information required for the immediate delivery, immediately The control unit functions as a determination unit that determines whether the second information does not need to be distributed, and the control unit is configured to determine the state of the terminal device that is the distribution destination for the first information that requires immediate distribution. It is controlled to perform distribution regardless of whether it is the first specific state or the second specific state, and the state of the terminal device is the first specific state for the second information that does not require immediate distribution. And control to perform distribution when the second specific state is established.

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

According to the present invention, the network load and the system load can be suppressed by restricting the information distribution to the terminal device.

本発明の実施形態におけるプログラム配信システムの構成例を示すブロック図である。It is a block diagram showing an example of composition of a program delivery system in an embodiment of the present 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 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) FIG. 3 is a view showing an example of data storage of a program data storage unit of 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におけるプログラム配信情報記憶部のデータ格納例を示す図である。FIG. 18 is a diagram showing an example of data storage of a program delivery information storage unit in the second embodiment. 実施形態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. FIG. 実施形態3におけるプログラム配信情報記憶部のデータ格納例を示す図である。FIG. 18 is a diagram showing an example of data storage of a program delivery information storage unit in the third embodiment. 実施形態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. FIG. 実施形態4において図2のCPU11と記憶部に記憶されているアプリケーションプログラムとの協働により実現される機能の構成例を示す図である。FIG. 13 is a diagram showing an example of a configuration 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 showing a message interpretation process performed by the message control unit 201 of FIG. 17 in the fourth embodiment. 実施形態4において図17のプログラム配信部204において実行されるプログラム配信処理Bを示すフローチャートである。18 is a flowchart showing a program distribution process B executed by the program distribution unit 204 in 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 in FIG. 17 in the fourth embodiment.

〔実施形態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, the first embodiment of the present invention will be described.
FIG. 1 shows an example of the configuration of a program distribution system 1 according to the first embodiment. As shown in FIG. 1, in the program delivery system 1, a data management apparatus 10 and an ECR (Electronic Cash Resistor) 20 (20A to 20D) as a terminal device are connected so as to be able to transmit and receive data via a communication network N. It is configured. The communication network N is constituted by, for example, a communication network such as WAN (Wide Area Network) or the Internet, but may include LAN (Local Area Network) etc. A telephone line, a private line, a mobile communication network, communication Satellite networks, CATV (Cable Television) circuits, Internet providers, etc. may be included. Moreover, although the number of ECR 20 is illustrated as four units of 20A to 20D here, it is not particularly limited.

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

以下、プログラム配信システム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 device 10 will be described.
An example of the internal configuration of the data management device 10 is shown in FIG. As shown in FIG. 2, the data management apparatus 10 includes a central processing unit (CPU) 11, an input unit 12, a random access memory (RAM) 13, a display unit 14, a storage unit 15, and a communication unit 16. , And a timer unit 17, and each unit is connected via a bus 18 and configured.

CPU11は、データ管理装置10の各部を集中制御する。CPU11は、記憶部15に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM13に展開し、RAM13に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each part of the data management device 10. The CPU 11 expands a program designated from among 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 an example of a functional configuration realized by cooperation of the CPU 11 and various application programs stored in the storage unit 15. As shown in FIG. 3, a store service information registration unit 100 as a registration unit and a store service port control unit 200 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 delivery information registration unit 103.
Based on the input from the input unit 12, the store service master registration unit 101 registers, in the store service master storage unit 151, master information on the ECR 20 to be a program distribution target in the data management apparatus 10.
Program data registration unit 102 executes program data registration processing described later, and registers program data to be distributed to at least one of ECRs 20 and the attribute information thereof in program data storage unit 153 based on the input from input unit 12. .
The program delivery information registration unit 103 receives information (program delivery information) for performing delivery confirmation of the program for the ECR 20 in which the master information is registered when the store service master registration unit 101 registers the master information. It is registered in the program distribution information storage unit 152. When program data is registered by program data registration unit 102, program distribution information registration unit 103 registers program distribution information in program distribution information storage unit 152.

ストアサービスポート制御部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 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 delivery confirmation unit 203 as delivery confirmation means executes program delivery confirmation processing described later, acquires program delivery information for the ECR 20 that is the request source of the program delivery confirmation from the program delivery information storage unit 152, and needs delivery of the program. It judges whether or not there is, and sends the result to the request source ECR 20.
The program distribution unit 204 as a distribution unit executes program distribution processing described later, reads out 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 including cursor keys, characters, number input keys, various function keys, and the like, and outputs to the CPU 11 an operation signal with which each key is pressed by the operator. Further, 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. In addition, the RAM 13 has a work area for storing various programs to be executed, data related to the various programs, and the like.

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

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

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

図4(b)に、プログラム配信情報記憶部152のデータ格納例を示す。プログラム配信情報記憶部152は、プログラム配信対象となる各ECR20に搭載されているプログラム毎のプログラム配信情報を記憶するものであり、図4(b)に示すように、「端末機器コード」フィールド、「グループコード」フィールド、「会社コード」フィールド、「店舗コード」フィールド、「プログラム識別コード」フィールド、「プログラム管理コード」フィールドを有する。
「端末機器コード」フィールドは、プログラムの配信対象となるECR20の端末機器コードを格納する。「グループコード」フィールドはグループコードを、「会社コード」フィールドは会社コードを、「店舗コード」フィールドは、店舗コードをそれぞれ格納する。「プログラム識別コード」フィールドは、プログラムの種類を表すプログラム識別コードを格納する。「プログラム管理コード」フィールドは、配信すべきプログラムのバージョンを示すプログラム管理コードを格納する。
なお、配信すべきプログラムのバージョンとは、即ち、最新バージョンである。また、各ECR20には、機能毎の複数種類のプログラムが搭載されており、プログラム識別コードは、機能毎のプログラムの種類を表す。
FIG. 4B shows an example of data storage of the program delivery information storage unit 152. As shown in FIG. The program delivery information storage unit 152 stores program delivery information for each program installed in each ECR 20 to be a program delivery target, and as shown in FIG. 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 the terminal device code of the ECR 20 to which the program is to be distributed. 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 delivered.
The version of the program to be delivered 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 of 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, and 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 program data. The "program data" field stores program data.

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

通信部16は、モデム、TA(Terminal Adapter)、ルータ、ネットワークカード等により構成される。通信部16は、接続される通信ネットワークN上の等の外部機器とデータ送受信を行う。
計時部17は、計時回路を内蔵し、現在時刻及び現在日付を計時してCPU11に出力する。
The communication unit 16 is configured by a modem, a terminal adapter (TA), a router, a network card, and the like. The communication unit 16 exchanges data with an external device such as the communication network N to be connected.
The clock unit 17 incorporates a clock circuit, clocks the current time and the current date, and outputs the clock 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 example of the internal configuration 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 clock unit 27, a drawer 28, and a printing unit 29a. The respective units are connected via a bus 29b.

CPU21、RAM23、通信部26については、それぞれ、データ管理装置10のCPU11、RAM13、通信部16の構成と同様であり、異なる部分を主として説明する。   The CPU 21, the RAM 23, and the communication unit 26 are the same as the configurations of the CPU 11, the RAM 13, and the communication unit 16 of the data management device 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 among the system program and various application programs stored in the storage unit 25 in the RAM 23 and executes various processing in cooperation with the program developed in the RAM 23.

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

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

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

入力部22は、電源キー、カーソルキー、文字、数字入力キー及び各種機能キーなどを備えたレジ用のキーボードを含む構成とし、操作者により各キーが押下された操作信号をCPU21に出力する。表示部24は、LCD等で構成され、CPU21からの表示制御信号に従って画面表示を行う。入力部22は、表示部24と一体的にタッチパネルを構成することとしてもよい。また、入力部22は、商品に設けられたバーコードを読み取るバーコードリーダやバーコードスキャナ等を備えることとしてもよい。   The input unit 22 includes a keyboard for cash register provided with a power key, a cursor key, characters, numeric input keys, various function keys and the like, and outputs an operation signal with which each key is pressed by the operator to the CPU 21. The display unit 24 is configured by an LCD or the like, and performs screen display in accordance with a display control signal from the CPU 21. The input unit 22 may be integrated with the display unit 24 to configure a touch panel. In addition, the input unit 22 may include a barcode reader, a barcode scanner, or the like that reads a barcode provided on a 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 programs and sales data, and various data including master data (terminal device code, group code, company code, shop code, model code, etc.) of the ECR 20 in a readable and writable manner. Further, the storage unit 25 may be configured by an HDD or the like.

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

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

プリント部29aは、例えば、サーマルプリンタであり、レシート用、ジャーナル用のロール紙を有し、CPU21から入力される指示に従って、各ロール紙に対して金額等のデータをプリントアウトする。   The printing unit 29a is, for example, a thermal printer, has roll paper for receipt and journal, 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 device 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 file of program data 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 the program data to be registered is stored and attribute information of the 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, program data to be registered is read out to the RAM 13, and the program data size is acquired (step S2).

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

プログラムデータの登録が終了すると、プログラム配信情報登録部103によりプログラム配信情報登録処理が実行され(ステップS4)、本処理は終了する。   When the registration of the program data is completed, the program distribution information registration unit 103 executes the program distribution information registration process (step S4), and the 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 delivery information registration process, first, in the store service master storage unit 151, a record having a model code of program data registered in step S3 is retrieved, and the retrieved record is read into the RAM 13 (step S101). .

次いで、プログラム配信情報記憶部152において、ステップS101で検索された各レコードの端末機器コード及び登録されたプログラムデータのプログラム識別コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS102)。   Next, in the program delivery 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 out to the RAM in step S102 is changed to the program management code of the registered program data, and the program distribution information of the program distribution information storage unit 152 is updated with the changed contents (step S103), the process ends.

上記プログラムデータ登録処理により、新しいバージョンのプログラムデータがプログラムデータ記憶部153に登録されると、新しいバージョンのプログラムデータを配信すべきECR20についてのプログラム配信情報記憶部152におけるプログラム管理コードを自動的に更新することができる。   When program data of the new version 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 program data of the new version should be delivered is automatically made. It can be updated.

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

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

ここで、ECR20からデータ管理装置10に各種要求を送信するにあたっては、予め定められた形式の要求データが送信されることによって行われる。要求データは、ヘッダ部とデータ部を有している。ヘッダ部には、ECR20とデータ管理装置10とでデータ通信を行う際に必要な情報、例えば、あて先(データ管理装置10)の通信ネットワークN上のアドレスや送信元の通信ネットワークN上のアドレス等が含まれる。また、データ部についての暗号化情報等を含めてもよい。データ部には、要求の種類(例えば、プログラム配信確認、プログラム配信等)、各種要求を行うにあたってデータ管理装置10に引き渡すパラメータ等が含まれる。   Here, transmission of various requests from the ECR 20 to the data management apparatus 10 is performed by transmitting request data of a predetermined format. The request data has a header part and a data part. The header section contains information necessary for data communication between the ECR 20 and the data management apparatus 10. For example, the address on the communication network N of the destination (data management apparatus 10), the address on the communication network N of the transmission source, etc. Is included. In addition, encrypted information and the like for the data part may be included. The data section includes types of requests (for example, program distribution confirmation, program distribution, etc.), parameters to be 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 the ECR 20. The data portion of the program distribution confirmation request data includes the terminal device code of the ECR 20, the program identification code of each program stored in the storage unit 25, and the program management code. The data portion of the distribution request data includes a terminal device code of the ECR 20, a model code, a program identification code of a program requesting distribution, and a program management code.

同様に、データ管理装置10からECR20に各種応答を送信するにあたっては、予め定められた形式の応答データが送信される。応答データは、ヘッダ部とデータ部を有している。ヘッダ部には、ECR20とデータ管理装置10とでデータ通信を行う際に必要な情報等が含まれる。また、データ部についての暗号化情報等を含めてもよい。データ部には、応答内容(例えば、プログラム配信確認要求に対する応答の場合は、プログラム識別コード毎の配信確認情報(プログラムの配信が必要であるか否かを示す情報)、プログラム配信要求に対する応答の場合は、プログラムデータ)等が含まれる。   Similarly, when transmitting various responses from the data management device 10 to the ECR 20, response data of a predetermined format is transmitted. The response data has a header part and a data part. The header portion includes information and the like necessary when performing data communication between the ECR 20 and the data management device 10. In addition, encrypted information and the like for the data part may be included. In the data part, response contents (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 needs to be distributed)), a response to the program distribution request Program data etc. are included.

プログラム配信確認応答が受信されると、ステップS15〜S21のループ1の処理が、受信された応答データに含まれるプログラム数分(プログラム識別コード数分)繰り返し実行される。   When the program delivery confirmation response is received, the processing of loop 1 of steps S15 to S21 is repeatedly executed by 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, the delivery confirmation information corresponding to one program identification code is taken out from the response data (step S16), it is judged whether the delivery (update) of the program is necessary, and the delivery (update) of the program is necessary. If it is determined that there is (step S17; YES), the communication unit 26 transmits a program distribution request to the data management apparatus 10 (step S18). In the program distribution request, distribution request data is transmitted to the data management device 10. When the response data of the program distribution response from the data management apparatus 10, that is, the program data is received by the communication unit 26 (step S19), the program stored in the storage unit 25 is updated with the distributed program data (install (Step S20), and shifts to the processing of loop 1 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 attribute information of the program data, and the ECR 20 can recognize the program identification code of the program data and the program management code.

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

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

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

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

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

まず、通信部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, the 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), and when request data is received (step S32; YES), the message control unit 201 performs message analysis processing of request data, The content of the requested process is identified (step S33).

電文制御部201による解析の結果、受信された要求データの内容が認証要求であると判断されると(ステップS34;認証要求)、認証制御部202により図10に示す認証処理が実行される(ステップS35)。   As a result of analysis by the message control unit 201, if 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 the authentication process executed by the authentication control unit 202 in step S35 of FIG.
In the authentication process, first, in the store service master storage unit 151, a record having a terminal device code included in the request data is searched for (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), the authentication NG to the ECR 20 connected via the communication unit 16 Is notified (step S205), and the process returns to step S32 of 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 the record including the terminal device code of the request data is present in the store service master storage unit 151 (step S202; YES), the connection category of the record is referred to and the connection category is "1". If there is (YES in step S203), the ECR 20 connected via the communication unit 16 responds that the authentication is OK (step S204), and the process returns to step S32 in FIG. If the connection classification is "0" (step S203: NO), the ECR 20 connected via the communication unit 16 responds that the authentication is NG (step S205), and the process returns to step S32 of FIG.

図9に戻り、電文制御部201による解析の結果、受信された要求データの内容がプログラム配信確認要求であると判断されると(ステップS34;プログラム配信確認要求)、プログラム配信確認部203により図11に示すプログラム配信確認処理が実行される(ステップS36)。なお、プログラム配信確認処理及びプログラム配信処理は、接続されているECR20が上述の認証処理において認証OKとされた場合にのみ実行される。   Referring back to FIG. 9, when 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 Program distribution confirmation processing shown in 11 is executed (step S36). The program distribution confirmation process and the program distribution process are executed only when the connected ECR 20 is determined as the authentication OK in the above-described authentication process.

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

次いで、ステップS302〜S308のループ2の処理が、受信された要求データに含まれるプログラム識別コード数分(プログラムの種類数分)繰り返し実行される。   Next, the processing of loop 2 of steps S302 to S308 is repeatedly executed by 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 judged whether or not the record of program distribution information having the extracted program identification code exists in the RAM 13, and if it is judged that it does not exist (step S304; NO), the type of the program corresponding to the program identification code It is determined that program distribution is not necessary, and program distribution confirmation information indicating that program distribution of the program identification code is unnecessary is set in the response data (step S307), and the processing of loop 2 for the next program identification code is performed. Migrate to

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

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

受信した要求データに含まれる全てのプログラム識別コードについてのループ2の処理が終了すると(ステップS308)、設定された応答データが通信部16により接続されたECR20に送信され(ステップS309)、処理は図9のステップS32に移行する。   When the process of loop 2 for all 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 process It transfers to step S32 of FIG.

図9に戻り、電文制御部201による解析の結果、受信された要求データの内容がプログラム配信要求であると判断されると(ステップS34;プログラム配信要求)、プログラム配信部204により図12に示すプログラム配信処理が実行される(ステップS37)。   Referring back to FIG. 9, when it is determined that the content of the received request data is a program distribution request as a result of analysis by the message control unit 201 (step S34; program distribution request), the program distribution unit 204 displays it in FIG. Program distribution processing 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, program data storage unit 153 searches for program data having attribute information that matches the model code, program identification code, and program management code included in the request data, 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 is 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), communication with the ECR 20 is disconnected by the communication unit 16. (Step S38), the process ends.

以上説明したように、プログラム配信システム1においては、データ管理装置10によりプログラム配信対象のECR20に搭載されているプログラムの種類と、配信すべき最新のバージョンを示すプログラム管理コードをプログラム配信情報記憶部152に記憶しており、各ECR20により開設時と閉設時にプログラムの配信確認要求が送信されると、送信元のECR20に搭載された各プログラムのバージョンとその最新のバージョンを示す情報とを比較し、異なる場合に、配信が必要である旨を接続したECR20に応答する。ECR20では、データ管理装置10からプログラムの配信が必要であると応答された場合に、データ管理装置10に該当するプログラムの配信要求を行ってプログラムデータを取得し更新する。
従って、通信ネットワークNに接続された複数のECR20のそれぞれに、ECR20に応じた最新のプログラムを配信することができ、各ECR20は、常に最新のプログラムで動作することが可能となる。
As described above, in the program delivery system 1, the program delivery information storage unit is a program management code indicating the type of program installed in the ECR 20 that is the program delivery target by the data management apparatus 10 and the latest version to be delivered. When stored in 152 and each ECR 20 transmits a program distribution confirmation request at opening and closing, the version of each program installed in the sender ECR 20 is compared with the information indicating the latest version And if different, respond to the connected ECR 20 that delivery is required. In the ECR 20, when the data management device 10 responds that it is necessary to distribute the program, the ECR 20 makes a distribution request of the program corresponding to the data management device 10 and acquires and updates 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へのプログラム配信要求が集中することを防ぐため、一度に行うプログラム配信情報の更新対象を制限することで、ネットワーク負荷やシステム負荷を抑制する。
Second Embodiment
The second embodiment of the present invention will be described below.
In the first embodiment, when the program data registration unit 102 registers a new version of program data in the program data storage unit 153, the program distribution information registration unit 103 performs program distribution information registration processing, and before version upgrade. The program management code of all program distribution information of ECR 20 loaded with the same type of program was changed to a program management code indicating a new version. However, if the ECR 20 establishment and closure concentrate on a predetermined time zone, changing the program management code of all the ECRs 20 at one time concentrates program distribution requests to the data management apparatus 10, causing network load and so on. System load increases.
Therefore, in the second embodiment, in order to prevent concentration of program distribution requests to the data management apparatus 10, the network load and the system load are suppressed by restricting the update target of the program distribution information performed at one time.

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

実施形態2におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   The other configuration in the second embodiment is the same as that described in the first embodiment, so the description will be omitted.

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

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

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

プログラム配信情報登録処理Bにおいては、まず、ストアサービスマスタ記憶部151において、図6に示すプログラムデータ登録処理のステップS3で登録された機種コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS501)。   In program distribution information registration process B, first, in 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. 6 is searched, and the searched record is RAM 13 Is read out (step S501).

次いで、プログラム配信情報記憶部152において、ステップS501で検索された各レコードの端末機器コード及び登録されたプログラムデータのプログラム識別コードを含むレコードが検索処理され、検索されたレコードがRAM13に読み出される(ステップS502)。   Next, in the program delivery 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 into the RAM 13 ( Step S502).

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

まず、所定時間(例えば、1時間)スリープ状態とされ(ステップS507)、次いで、前回更新対象となったグループのプログラム配信情報の更新から所定期間(例えば、3日間)経過したか否かが判断され、所定期間が経過したと判断されると(ステップS508;YES)、処理はステップS511に移行する。   First, a sleep state is set for a predetermined time (for example, one hour) (step S507), and then it is determined whether or not a predetermined period (for example, three days) has elapsed from the update of 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 to be updated last time (step S508; NO), the record of the program distribution information having the group code to be updated last time is the program distribution It is determined whether or not the record having “1” in the “delivery record” field acquired from the information storage unit 152 exceeds a predetermined ratio (for example, 80%) (step S510). If it is determined that the record of which the distribution result flag is “1” exceeds the predetermined ratio (step S510; YES), the process proceeds to step S511. If it is determined that the record of the "delivery record" field is "1" does not exceed the 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, of the records read out to the RAM 13 in step S502, the program management code of the record having the group code corresponding to the next group to be updated is the program management code of the program data newly registered. Further, the distribution result field is initialized to "0", and the information of the program distribution information storage unit 152 is updated with the changed content. Further, the update date and time stored in the RAM 13 is updated by the date and time information output by the clock unit 17 at the time of updating 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), the process ends.

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

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

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

実施形態3におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   The other configuration in the third embodiment is the same as that described in the first embodiment, so the description will be 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 the opening process performed by the ECR 20 indicates whether the process is the closing process or the opening process. It differs from Embodiment 1 in that information is included.

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

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

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

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

次いで、ステップS602〜S609のループ4の処理が、受信された要求データに含まれるプログラム識別コード数分(プログラムの種類数分)繰り返し実行される。   Next, the processing of loop 4 of steps S602 to S609 is repeatedly executed by 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 judged whether or not the record of program distribution information having the extracted program identification code exists in the RAM 13, and if it is judged that it does not exist (step S604; NO), the type of the program corresponding to the program identification code It is determined that delivery of the program is not necessary, and delivery confirmation information indicating that program delivery of the program identification code is unnecessary is set in the response data (step S608), and the next program identification code included in the request data is Transfer to loop 4 processing.

一方、ステップS603において取り出されたプログラム識別コードを有するプログラム配信情報のレコードがRAM13に存在すると判断されると(ステップS604;YES)、要求データから取り出された当該プログラム識別コードに対応するプログラム管理コードが、ステップS601でRAM13に読み出された当該プログラム識別コードを有するレコードのプログラム管理コードと異なるか否かが判断され、異ならない(同一である)と判断されると(ステップS605;NO)、当該プログラム識別コードに対応する種類のプログラムの配信は必要ないと判定され、当該プログラム識別コードのプログラム配信が不要であることを示す配信確認情報が応答データに設定され(ステップS608)、要求データに含まれる次のプログラム識別コードについてのループ4の処理に移行する。   On the other hand, when it is determined that the record of program delivery information having the program identification code extracted in step S603 exists in the RAM 13 (step S604; YES), the program management code corresponding to the program identification code extracted from the request data Is judged to be different from (not identical to) the program management code of the record having the program identification code read out to the RAM 13 in step S601 (step S605; NO), It is determined that delivery of a program of the type corresponding to the program identification code is not necessary, and delivery confirmation information indicating that program delivery of the program identification code is unnecessary is set in the response data (step S608). Next program 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 out to the RAM 13 in step S601 (step S605; YES) According to the request data and the delivery timing information of the record including the program identification code read out to the RAM 13 in step S601, either the ECR 20 connected is closed or the program requires immediate delivery. It is determined whether or not it corresponds to (step S606).

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

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

受信した要求データに含まれる全てのプログラム識別コードについてのループ4の処理が終了すると(ステップS609)、設定された応答データが通信部16により接続されたECR20に送信され(ステップS610)、処理は図9のステップS32に移行する。   When the processing of loop 4 for all 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 It transfers to step S32 of FIG.

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

〔実施形態4〕
以下、本発明の実施形態4について説明する。
実施形態4においては、ECR20とデータ管理装置10との間で送受信するデータ(例えば、要求データやプログラムデータ)を暗号化する。
Embodiment 4
The fourth embodiment 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 an example of a functional configuration realized by cooperation of the CPU 11 of the data management apparatus 10 in 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 is configured to include an encryption control unit 205. The encryption control unit 205 performs decryption of request data transmitted from the ECR 20, encryption of program data to be 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 the encryption key used for each encryption method in advance, and the storage unit 15 stores the terminal device code of each ECR 20 and the encryption key 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 an encryption strength when performing data communication with the data management device 10 by the operation of the input unit 22. Specifically, it is possible to set an encryption method of the encryption strength desired by the user from RSA (Rivest Shamir Adleman), T-DES (Triple DES), DES (Data Encryption Standard), and plain text. There is. In the ECR 20, an encryption processing program for encrypting and decrypting data is stored in each encryption method of RSA, T-DES and DES, and the data encryption is performed by the cooperation of the CPU 21 and the encryption processing program, It is possible to perform decryption.

実施形態4におけるその他の構成は、実施形態1で説明したのと同様であるので説明を省略する。   The other configuration in the fourth embodiment is the same as that described in the first embodiment, so the description will be omitted.

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

データ管理装置10においては、図9に示したサービス提供処理において、ECR20からの要求が受信されると、ステップS33において、電文制御部201により図18に示す電文解釈処理が実行される。   In the data management device 10, when the request from the ECR 20 is received in the service providing process shown in FIG. 9, the message control process shown in FIG. 18 is executed by the message control unit 201 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). If 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 and the data portion of the request data uses the RSA algorithm. The decryption 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, when it is determined that the encryption method of 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 use T-DES for the data part of the message. The algorithm is decoded (step S704), and the process proceeds to step S706.

一方、要求データの暗号方式がDESであると判断されると(ステップS702;DES)、暗号制御部205により要求元のECR20の暗号鍵を用いて要求データのデータ部がDESアルゴリズムにより復号され(ステップS705)、処理はステップS706に移行する。   On the other hand, if 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 using the encryption key of the request source ECR 20 by the DES algorithm ( The process proceeds to step S706).

要求データが平文であると判断されると(ステップS702;平文)、処理はステップS706に移行する。   If it is determined that the request data is plaintext (step S702; plaintext), 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, the content of the requested process is specified (step S706), and the process proceeds to step S34 in FIG. Processing is performed.

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

プログラム配信処理Bにおいては、まず、プログラムデータ記憶部153において、要求データに含まれる機種コード、プログラム識別コード及びプログラム管理コードと一致する属性情報を有するプログラムデータが検索処理され、該当するプログラムデータが読み出される(ステップS801)。   In program distribution processing B, first, program data storage unit 153 searches for program data having attribute information that matches the model code, program identification code, and program management code included in the request data, and the corresponding program data is It is read out (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 system of request data received from the ECR 20 is determined. If it is determined that the encryption method of request data is RSA (step S901; RSA), the program data read out in step S801 of FIG. 19 by the encryption control unit 205 is RSA using the encryption key of the request source ECR 20. 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 request data is T-DES (step S901; T-DES), the program data read out in step S801 by the encryption control unit 205 is the encryption key of the ECR 20 of the request source. It is encrypted using the T-DES algorithm (step S 903), and the process proceeds to step S 803 in FIG.

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

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

図19のステップS803においては、平文又は暗号化されたプログラムデータが応答データに設定され、通信部16により接続されたECR20に送信される(ステップS803)。そして、処理は図9のステップS32に戻る。   In step S803 in FIG. 19, plaintext or encrypted program data is set as response data, and is 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 program data with an encryption strength corresponding to the ECR 20 of the distribution destination, and transmits the encrypted program data. Therefore, it is possible to encrypt and transmit program data by changing the encryption strength according to the level of security required for each ECR 20, and efficiently program data while balancing the load on the encryption processing and security. It is possible to deliver the

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

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

また、上記実施形態においては、或る種類のプログラムの最新バージョンのプログラムデータが新たに登録されると、プログラム配信情報記憶部152に記憶された当該プログラムを搭載した全てのECR20についてのプログラム管理コードを更新することとしたが、特定の端末機器コードや会社コード、店舗コードをもつECR20のみ個別に更新することとしてもよい。このようにすれば、例えば、障害が発生したECR20に障害発生時の監視用プログラムを配信する等の限定した配信が可能となる。   In the above embodiment, when program data of the latest version of a certain type of program is newly registered, the program management code for all the ECRs 20 loaded with the program stored in the program distribution information storage unit 152. 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 a monitoring program at the time of failure occurrence to the ECR 20 in which a 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 the encryption key updated in the distributed program May be embedded and delivered. This makes it possible to enhance the security of communication between the data management device 10 and the ECR 20.

その他、プログラム配信システム1を構成する各装置の細部構成及び細部動作に関しても、発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and the detailed operation of each device constituting the program delivery system 1 can be appropriately changed without departing from the scope 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 Delivery System 10 Data Management Device 11 CPU
12 Input section 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 Timing Unit 18 Bus 20 ECR
21 CPU
22 Input 23 RAM
24 display unit 25 storage unit 26 communication unit 27 clock 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 delivery information registration unit 200 store service port control unit 201 message Control unit 202 Authentication control unit 203 Program distribution confirmation unit 204 Program distribution unit 205 Encryption control unit

Claims (3)

端末機器に対して情報を配信する情報配信装置であって、
前記端末機器に対して所定の情報を配信制御するとともに、前記所定の情報の前記端末機器に対する配信タイミングが、前記端末機器の状態が処理開始時の第1特定状態にあるときと、前記端末機器の状態が処理終了時の第2特定状態にあるときとに、限定されるよう制御する制御手段と、
前記端末機器に対して配信すべき前記所定の情報が複数存在する場合に、その複数の情報が、即時配信の必要な第1情報か、即時配信の必要ない第2情報か、を判別する判別手段と、
を備え、
前記制御手段は、即時配信の必要な前記第1情報については、その配信先となる端末機器の状態が前記第1特定状態であるか前記第2特定状態であるかにかかわらず配信を行うように制御し、即時配信の必要ない前記第2情報については、前記端末機器の状態が前記第1特定状態であるときには配信を避けるように且つ前記第2特定状態であるときに配信を行うよう制御する、
ことを特徴とする情報配信装置。
An information delivery apparatus for delivering information to a terminal device, the information delivery apparatus comprising:
Distribution control of predetermined information to the terminal device, and distribution timing of the predetermined information to the terminal device, when the state of the terminal device is in a first specific state at the start of processing, and the terminal device Control means for controlling so as to be limited when the second specific state at the end of the process is present;
When there are a plurality of pieces of the predetermined information to be distributed to the terminal device, it is determined whether the plurality of pieces of information is the first information required for immediate distribution or the second information not required for immediate distribution Means,
Equipped with
It said control means for said first information required for immediate delivery, to perform delivery regardless of whether the destination to become terminal equipment state is the second specific state or a first specific state Control is performed, and the second information not requiring immediate distribution is controlled so as to avoid distribution when the state of the terminal device is in the first specific state and to perform distribution when in the second specific state Do,
An information delivery apparatus characterized by
前記制御手段は、複数の端末装置の内で、即時配信の必要な前記第1情報の配信先となる端末装置に対して当該第1情報の配信を行うよう制御する、
ことを特徴とする請求項1に記載の情報配信装置。
The control means controls, among a plurality of terminal devices, the delivery of the first information to the delivery destination of the first information that requires immediate delivery.
The information delivery apparatus according to claim 1,
端末機器に対して情報を配信する情報配信装置のコンピュータを制御するためのプログラムであって、A program for controlling a computer of an information distribution apparatus for distributing information to a terminal device, comprising:
前記コンピュータを、The computer,
前記端末機器に対して所定の情報を配信制御するとともに、前記所定の情報の前記端末機器に対する配信タイミングが、前記端末機器の状態が処理開始時の第1特定状態にあるときと、前記端末機器の状態が処理終了時の第2特定状態にあるときとに、限定されるよう制御する制御手段、Distribution control of predetermined information to the terminal device, and distribution timing of the predetermined information to the terminal device, when the state of the terminal device is in a first specific state at the start of processing, and the terminal device Control means for controlling so as to be limited when the second specific state at the end of the process is present,
前記端末機器に対して配信すべき前記所定の情報が複数存在する場合に、その複数の情報が、即時配信の必要な第1情報か、即時配信の必要ない第2情報か、を判別する判別手段、When there are a plurality of pieces of the predetermined information to be distributed to the terminal device, it is determined whether the plurality of pieces of information is the first information required for immediate distribution or the second information not required for immediate distribution means,
として機能させ、To act as
前記制御手段は、即時配信の必要な前記第1情報については、その配信先となる端末機器の状態が前記第1特定状態であるか前記第2特定状態であるかにかかわらず配信を行うように制御し、即時配信の必要ない前記第2情報については、前記端末機器の状態が前記第1特定状態であるときには配信を避けるように且つ前記第2特定状態であるときに配信を行うよう制御する、The control means distributes the first information that requires immediate distribution regardless of whether the state of the terminal device that is the distribution destination is the first specific state or the second specific state. Control is performed, and the second information not requiring immediate distribution is controlled so as to avoid distribution when the state of the terminal device is in the first specific state and to perform distribution when in the second specific state Do,
ことを特徴とするプログラム。A program characterized by
JP2016023307A 2016-02-10 2016-02-10 Information distribution device and program Expired - Fee Related JP6525270B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2016122459A JP2016122459A (en) 2016-07-07
JP6525270B2 true JP6525270B2 (en) 2019-06-05

Family

ID=56327477

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP6525270B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332783A (en) * 1993-05-19 1994-12-02 Nec Corp Local master controlling method
JP2002007292A (en) * 2000-06-16 2002-01-11 Sega Corp Notification system
JP2004038616A (en) * 2002-07-04 2004-02-05 Matsushita Electric Ind Co Ltd Software automatic updating device, software automatic updating method, and software automatic updating program
JP2006018359A (en) * 2004-06-30 2006-01-19 Sony Corp Client/server system, client terminal, updated information providing server, update processing program and updated information providing program
JP2007004316A (en) * 2005-06-22 2007-01-11 Nec Corp Program distribution system, program distribution server and program used for the same

Also Published As

Publication number Publication date
JP2016122459A (en) 2016-07-07

Similar Documents

Publication Publication Date Title
JP5110921B2 (en) Order accounting system
JP6655147B2 (en) Payment system
JP2004213469A (en) Image forming apparatus
JP5211586B2 (en) Data management apparatus and program
EP2905739A1 (en) Electronic bills management system and electronic bills management method
JP5331834B2 (en) Information processing system, reading terminal and processing terminal
JP6525270B2 (en) Information distribution device and program
JP5565486B2 (en) Data management apparatus and program
JP2010072837A (en) Operation branch system, operation branch terminal, and notification document distribution method and server in operation branch system
JP5884850B2 (en) Information distribution apparatus and program
JP5866972B2 (en) Image forming system, image forming apparatus, and program
US11694202B2 (en) Transaction certification management system, transaction certification management apparatus, and transaction certification processing method
JP6338564B2 (en) ATM reservation system and method
JP5629551B2 (en) Management system and management server
KR20020006309A (en) System to issue credit cards
JP4109486B2 (en) Equipment management system
JP7156888B2 (en) Payment processing method
KR20180116860A (en) Apparatus and method for managing personal information
JPWO2003048989A1 (en) Proxy support system, proxy support method, and proxy support program
JP4222889B2 (en) Printing network system and server device
JP2010250549A (en) Printing system and method
JP2022128813A (en) Preliminary input system, provision method of personal information and program
JP2015143938A (en) commodity sales management system
JP2020067883A (en) System, method, and program for managing user attribute information
JP5689194B1 (en) Method and system for providing predetermined identification information

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180530

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180607

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20180810

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190425

R150 Certificate of patent or registration of utility model

Ref document number: 6525270

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees