JP2010061429A - Data processor and program - Google Patents

Data processor and program Download PDF

Info

Publication number
JP2010061429A
JP2010061429A JP2008226896A JP2008226896A JP2010061429A JP 2010061429 A JP2010061429 A JP 2010061429A JP 2008226896 A JP2008226896 A JP 2008226896A JP 2008226896 A JP2008226896 A JP 2008226896A JP 2010061429 A JP2010061429 A JP 2010061429A
Authority
JP
Japan
Prior art keywords
external storage
identification information
storage device
data
data processing
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.)
Granted
Application number
JP2008226896A
Other languages
Japanese (ja)
Other versions
JP5151827B2 (en
Inventor
Hironobu Kumagai
浩伸 熊谷
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 JP2008226896A priority Critical patent/JP5151827B2/en
Publication of JP2010061429A publication Critical patent/JP2010061429A/en
Application granted granted Critical
Publication of JP5151827B2 publication Critical patent/JP5151827B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable a data processor permitted to perform access to each of external storage devices to perform access to the external storage devices, and to prevent unauthorized copy of the external storage device, and to reduce a workload of information storage on the external storage device. <P>SOLUTION: A PC terminal 20A includes: a connection means to which an external storage device 30A is connected; an identification information storage means for storing an MAC address 501; and a control means for acquiring a serial NO310 and a setting file 400 from the external storage device 30A, and for acquiring an MAC address 501 from the identification information storage means, and for, when there exists the combination of the acquired serial NO310 and the MAC address 501 in the setting file 400, achieving data processing by performing access to a basic application program 370 and menu information 360 stored in the external storage device 30A. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、データ処理装置及びプログラムに関する。   The present invention relates to a data processing apparatus and a program.

従来、アプリケーションプログラム又はデータが記憶された半導体メモリ等の外部記憶装置と、PC(Personal Computer)等のデータ処理装置と、を有するシステムが知られている。データ処理装置は、外部記憶装置が接続されると、この外部記憶装置に記憶されたアプリケーションプログラム又はデータにアクセス(情報の読み出し又は書き込み)を行っていた。   Conventionally, a system having an external storage device such as a semiconductor memory in which an application program or data is stored and a data processing device such as a PC (Personal Computer) is known. When the external storage device is connected, the data processing device accesses (reads or writes information) an application program or data stored in the external storage device.

また、所定のアプリケーションプログラム又はデータと、このアプリケーションプログラム又はデータのアクセスを許可する端末装置を識別する端末IDと、を記憶媒体に記憶するデータ配布装置が考えられている(例えば、特許文献1参照)。この端末IDは、記憶媒体を識別する媒体番号に対応付けられている。端末装置において、記憶媒体がセットされると、自己の端末IDと、この記録媒体に記録された端末IDと、が一致するか否かが判別され、一致する場合に、この記録媒体に記憶された端末IDに対応するアプリケーションプログラム又はデータのアクセスが可能となる。
特許第3463239号公報
Further, a data distribution apparatus that stores a predetermined application program or data and a terminal ID for identifying a terminal apparatus that permits access to the application program or data in a storage medium is considered (for example, see Patent Document 1). ). This terminal ID is associated with a medium number for identifying the storage medium. In the terminal device, when the storage medium is set, it is determined whether or not the terminal ID of the terminal device and the terminal ID recorded on the recording medium match. The application program or data corresponding to the terminal ID can be accessed.
Japanese Patent No. 3463239

しかし、従来の構成では、データ配布装置が、アプリケーションプログラム又はデータ等を記憶媒体に記憶した後は、媒体番号が参照されない。よって、記憶媒体に記憶された情報(媒体番号、端末ID、アプリケーションプログラム又はデータ)を、別の記憶媒体にコピーすれば、コピー元の記憶媒体にアクセス許可された端末装置が、コピー先の記憶媒体にアクセス可能であった。このため、特定の記憶媒体にアクセスできる端末装置を設定しても、それ以外の記憶媒体への不正なコピーがなされるおそれがあった。   However, in the conventional configuration, the medium number is not referred to after the data distribution apparatus stores the application program or data in the storage medium. Therefore, if the information (medium number, terminal ID, application program or data) stored in the storage medium is copied to another storage medium, the terminal device permitted to access the copy source storage medium stores the copy destination storage. The media was accessible. For this reason, even if a terminal device that can access a specific storage medium is set, there is a possibility that unauthorized copying to another storage medium may be performed.

また、従来の構成では、端末毎に異なる記憶媒体のアクセスを許可する設定にすると、各記憶媒体に記憶する情報の内容(端末ID)が異なる。このため、記憶媒体毎に情報を記憶する場合に、各記憶媒体の媒体番号をユーザが確認し、その媒体番号に応じて記録する端末IDを分けて記憶させる必要があった。よって、ユーザが記憶媒体へ情報を記憶させる作業負担が大きくなるおそれがあった。特に、端末の台数が多いと、その作業負担がより大きくなる。   In the conventional configuration, if the setting is made to allow access to different storage media for each terminal, the contents of information stored in each storage medium (terminal ID) are different. For this reason, when information is stored for each storage medium, it is necessary for the user to check the medium number of each storage medium and to store the terminal IDs to be recorded separately according to the medium number. Therefore, there is a possibility that the work load for the user to store information in the storage medium is increased. In particular, when the number of terminals is large, the work load becomes larger.

本発明の課題は、複数の外部記憶装置に対して、各外部記憶装置にアクセス許可されたデータ処理装置がアクセスするとともに、外部記憶装置の不正コピーを防止し、外部記憶装置への情報記憶の作業負担を低減することである。   It is an object of the present invention to access a plurality of external storage devices by a data processing device permitted to access each external storage device, prevent unauthorized copying of the external storage device, and store information in the external storage device. It is to reduce the work load.

上記課題を解決するために、請求項1に記載の発明のデータ処理装置は、
複数の外部記憶装置を識別する複数の第1の識別情報、及び当該各外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報の組合せを有する第1のテーブルと、自己の外部記憶装置を識別する第1の識別情報と、データ処理に用いられるプログラム及びデータの少なくとも一つと、が記憶された外部記憶装置が接続される接続手段と、
自己のデータ処理装置を識別する第2の識別情報を記憶する識別情報記憶手段と、
前記接続手段に接続された外部記憶装置から当該外部記憶装置の第1の識別情報と前記第1のテーブルとを取得し、前記識別情報記憶手段から第2の識別情報を取得し、当該取得した第1の識別情報及び第2の識別情報の組合せが前記第1のテーブルに存在するか否かを判別し、当該第1の識別情報及び第2の識別情報の組合せが存在する場合に、前記接続されている外部記憶装置に記憶されるプログラム及びデータの少なくとも一つにアクセスしてデータ処理を行う制御手段と、を備える。
In order to solve the above-described problem, a data processing device according to claim 1 is provided.
A first table having a combination of a plurality of first identification information for identifying a plurality of external storage devices and a plurality of second identification information for identifying data processing devices permitted to access the respective external storage devices; Connection means to which an external storage device storing first identification information for identifying its own external storage device and at least one of a program and data used for data processing is connected;
Identification information storage means for storing second identification information for identifying its own data processing device;
Obtaining the first identification information and the first table of the external storage device from the external storage device connected to the connection means, obtaining the second identification information from the identification information storage means, and obtaining It is determined whether or not a combination of the first identification information and the second identification information exists in the first table, and when the combination of the first identification information and the second identification information exists, Control means for accessing and processing at least one of a program and data stored in a connected external storage device.

請求項2に記載の発明は、請求項1に記載のデータ処理装置において、
前記外部記憶装置は、複数のデータ処理装置を識別する複数の第2の識別情報と、当該各データ処理装置に実行が許可された複数の処理の処理内容と、の組合せを有する第2のテーブルが記憶され、
前記制御手段は、前記接続手段に接続された外部記憶装置から第2のテーブルを取得し、前記接続された外部記憶装置から取得された第1の識別情報と、前記識別情報記憶手段から取得された第2の識別情報と、の組合せが前記第1のテーブルに存在する場合に、当該第2の識別情報に対応する処理内容が前記第2のテーブルに記述されている否かを確認し、当該処理内容が記述されている場合に、前記接続手段に接続されている外部記憶装置に記憶された当該処理内容に対応するプログラム及びデータの少なくとも一つにアクセスする制御手段と、を備える。
The invention according to claim 2 is the data processing device according to claim 1,
The external storage device is a second table having a combination of a plurality of pieces of second identification information for identifying a plurality of data processing devices, and processing contents of a plurality of processes permitted to be executed by the respective data processing devices. Is remembered,
The control means acquires a second table from an external storage device connected to the connection means, and acquires the first identification information acquired from the connected external storage device and the identification information storage means. When the combination of the second identification information and the second identification information exists in the first table, check whether or not the processing content corresponding to the second identification information is described in the second table, Control means for accessing at least one of a program and data corresponding to the processing content stored in the external storage device connected to the connection means when the processing content is described.

請求項3に記載の発明は、請求項2に記載のデータ処理装置において、
前記接続手段に接続された複数の外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報と、前記複数のデータ処理装置を識別する複数の第2の識別情報、及び当該各データ処理装置に実行が許可された複数の処理の処理内容の組合せと、の入力を受け付ける入力手段を備え、
前記制御手段は、前記接続された複数の外部記憶装置から第1の識別情報を取得し、当該取得した複数の第1の識別情報及び前記入力された複数の第2の識別情報の組合せから第1のテーブルを生成し、前記入力された複数の第2の識別情報及び複数の処理内容の組合せから第2のテーブルを生成し、当該生成した第1のテーブル及び第2のテーブルを前記接続手段に新たに接続された外部記憶装置に記憶する。
The invention according to claim 3 is the data processing apparatus according to claim 2,
A plurality of second identification information for identifying data processing devices permitted to access a plurality of external storage devices connected to the connection means; a plurality of second identification information for identifying the plurality of data processing devices; And an input means for receiving an input of a combination of processing contents of a plurality of processes permitted to be executed by each data processing device,
The control means obtains first identification information from the plurality of connected external storage devices, and obtains the first identification information from a combination of the obtained plurality of first identification information and the inputted plurality of second identification information. 1 table is generated, a second table is generated from the combination of the plurality of inputted second identification information and a plurality of processing contents, and the generated first table and second table are connected to the connection means. Is stored in the newly connected external storage device.

請求項4に記載の発明は、請求項2又は3に記載のデータ処理装置において、
第1のデータベースと、当該第1のデータベースの更新に応じて発番される連番を示す第1の連番情報と、を記憶するデータベース記憶手段を備え、
前記接続手段に接続された前記外部記憶装置は、前記第1のデータベースに対応する第2のデータベースと、当該第2のデータベースの更新に応じて発番される連番を示す第2の連番情報と、を記憶し、
前記制御手段は、前記接続された外部記憶装置から取得された第1の識別情報と、前記識別情報記憶手段から取得された第2の識別情報と、の組合せが前記第1のテーブルに含まれ、当該第2の識別情報に対応する処理内容がデータ同期処理である場合に、前記第1の連番情報に応じて前記第2のデータベースの同期対象のデータの連番を更新し、前記第1のデータベースを当該同期対象のデータで更新し、当該第1のデータベースの更新に応じて前記第1の連番情報を更新し、前記第2のデータベースを前記第1のデータベースで上書きし、前記第1の連番情報に応じて前記第2の連番情報を更新する。
The invention according to claim 4 is the data processing apparatus according to claim 2 or 3,
Database storage means for storing a first database and first serial number information indicating a serial number issued in response to the update of the first database;
The external storage device connected to the connection means includes a second database corresponding to the first database, and a second serial number indicating a serial number issued in response to the update of the second database. Memorize information,
The control means includes a combination of first identification information acquired from the connected external storage device and second identification information acquired from the identification information storage means in the first table. When the processing content corresponding to the second identification information is data synchronization processing, the serial number of the synchronization target data in the second database is updated according to the first serial number information, and the second Updating one database with the data to be synchronized, updating the first serial number information in accordance with the update of the first database, overwriting the second database with the first database, The second serial number information is updated according to the first serial number information.

請求項5に記載の発明のプログラムは、
コンピュータを、
複数の外部記憶装置を識別する複数の第1の識別情報、及び当該各外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報の組合せを有する第1のテーブルと、自己の外部記憶装置を識別する第1の識別情報と、データ処理に用いられるプログラム及びデータの少なくとも一つと、が記憶された外部記憶装置が接続される接続手段、
自己のデータ処理装置を識別する第2の識別情報を記憶する識別情報記憶手段、
前記接続手段に接続された外部記憶装置から当該外部記憶装置の第1の識別情報と前記第1のテーブルとを取得し、前記識別情報記憶手段から第2の識別情報を取得し、当該取得した第1の識別情報及び第2の識別情報の組合せが前記第1のテーブルに存在するか否かを判別し、当該第1の識別情報及び第2の識別情報の組合せが存在する場合に、前記接続されている外部記憶装置に記憶されるプログラム及びデータの少なくとも一つにアクセスしてデータ処理を行う制御手段、
として機能させる。
The program of the invention described in claim 5 is:
Computer
A first table having a combination of a plurality of first identification information for identifying a plurality of external storage devices and a plurality of second identification information for identifying data processing devices permitted to access the respective external storage devices; Connection means to which an external storage device storing first identification information for identifying its own external storage device and at least one of a program and data used for data processing is connected;
Identification information storage means for storing second identification information for identifying its own data processing device;
Obtaining the first identification information and the first table of the external storage device from the external storage device connected to the connection means, obtaining the second identification information from the identification information storage means, and obtaining It is determined whether or not a combination of the first identification information and the second identification information exists in the first table, and when the combination of the first identification information and the second identification information exists, Control means for performing data processing by accessing at least one of a program and data stored in a connected external storage device;
To function as.

本発明によれば、複数の外部記憶装置に対して、各外部記憶装置にアクセス許可されたデータ処理装置がアクセスできるとともに、外部記憶装置の記憶内容を別の外部記憶装置にコピーしてもコピー先の外部記憶装置へアクセスができないため、外部記憶装置の不正コピーを防止でき、外部記憶装置毎に同じ第1のテーブルを記憶すればよいため、外部記憶装置への情報記憶の作業負担を低減できる。   According to the present invention, a plurality of external storage devices can be accessed by a data processing device that is permitted to access each external storage device, and even if the storage contents of the external storage device are copied to another external storage device Since the previous external storage device cannot be accessed, unauthorized copying of the external storage device can be prevented and the same first table only needs to be stored for each external storage device, thus reducing the work burden of storing information in the external storage device it can.

以下、添付図面を参照して本発明に係る好適な実施の形態を詳細に説明する。なお、本発明は、図示例に限定されるものではない。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings. The present invention is not limited to the illustrated example.

先ず、図1〜図3を参照して本発明に係る実施の形態の装置構成を説明する。図1に、本実施の形態のデータ処理システム1の構成を示す。図2に、サーバ端末10の内部構成を示す。図3に、PC端末20Aの内部構成を示す。   First, an apparatus configuration according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows a configuration of a data processing system 1 according to the present embodiment. FIG. 2 shows the internal configuration of the server terminal 10. FIG. 3 shows the internal configuration of the PC terminal 20A.

図1に示す本実施の形態のデータ処理システム1は、各種の業務支援のためのデータ処理を行うシステムである。このデータ処理は、所定業務の各担当者によるデータ入力を受け付けるデータ入力処理や、入力されたデータの管理処理である。データ処理システム1は、データ処理装置としてのサーバ端末10、PC端末20A,20B,20C,20Dと、外部記憶装置30A,30B,30C,30D,30Eと、を備える。   A data processing system 1 according to the present embodiment shown in FIG. 1 is a system that performs data processing for various business support. This data processing is data input processing that accepts data input by each person in charge of a predetermined job, and management processing of input data. The data processing system 1 includes a server terminal 10 as data processing devices, PC terminals 20A, 20B, 20C, and 20D, and external storage devices 30A, 30B, 30C, 30D, and 30E.

サーバ端末10は、担当者のデータ入力を受け付けるとともに、サーバ端末10及びPC端末20A〜20Dにおいて入力されたデータを管理するサーバである。PC端末20A〜20Dは、それぞれ、担当者のデータ入力を受け付けるノートPC等のスタンドアロン端末である。   The server terminal 10 is a server that receives data input from a person in charge and manages data input in the server terminal 10 and the PC terminals 20A to 20D. Each of the PC terminals 20A to 20D is a stand-alone terminal such as a notebook PC that receives data input from a person in charge.

外部記憶装置30A〜30Eは、それぞれ、サーバ端末10及びPC端末20A〜20Dに接続可能な半導体メモリとしてのUSB(Universal Serial Bus)メモリである。USBメモリは、電気的にデータの読み出し及び書き込みが可能なメモリである。また、サーバ端末10、PC端末20A〜20Dの台数を、5台としたが、これに限定されるものではなく、他の複数の台数としてもよい。また、外部記憶装置30A〜30Eの台数を、5台としたが、これに限定されるものではなく、他の複数の台数としてもよい。   The external storage devices 30A to 30E are USB (Universal Serial Bus) memories as semiconductor memories that can be connected to the server terminal 10 and the PC terminals 20A to 20D, respectively. The USB memory is a memory that can electrically read and write data. Further, the number of server terminals 10 and PC terminals 20A to 20D is five, but is not limited to this, and may be other plural numbers. Moreover, although the number of external storage devices 30A to 30E is five, it is not limited to this and may be other plural numbers.

次いで、図2を参照して、サーバ端末10の内部構成を説明する。図2に示すように、サーバ端末10は、制御手段としてのCPU11、入力手段としての入力部12、RAM13、表示部14、データベース記憶手段としての記憶部15、識別情報記憶手段としての通信部16、接続手段としての接続部17、計時部18等を備え、各部がバス19を介して接続されている。   Next, the internal configuration of the server terminal 10 will be described with reference to FIG. As shown in FIG. 2, the server terminal 10 includes a CPU 11 as a control unit, an input unit 12 as an input unit, a RAM 13, a display unit 14, a storage unit 15 as a database storage unit, and a communication unit 16 as an identification information storage unit. , A connecting portion 17 as a connecting means, a time measuring portion 18 and the like are provided, and each portion is connected via a bus 19.

CPU11は、サーバ端末10の各部を中央制御する。CPU11は、記憶部15、又は接続中の外部記憶装置30A〜30Eに記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM13に展開し、RAM13に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each unit of the server terminal 10. The CPU 11 develops a program specified from the system program and various application programs stored in the storage unit 15 or the connected external storage devices 30A to 30E in the RAM 13, and cooperates with the program expanded in the RAM 13. Various processes are executed by operation.

CPU11は、設定プログラムに基づいて、接続された外部記憶装置30A〜30Eから取得された第1の識別情報としてのシリアルNOと、入力部12により入力されたサーバ端末10、PC端末20A〜20Dの第2の識別情報としてのMACアドレスの組合せと、入力部12により入力された複数のMACアドレス、及び複数の処理内容の組合せと、の入力を受け付ける。そして、CPU11は、前記入力された複数のシリアルNO及び複数のMACアドレスの組合せから装置設定ファイルを生成し、前記入力された複数のMACアドレス及び複数の処理内容の組合せから処理設定ファイルを生成して外部記憶装置30A〜30Eに記憶する。   Based on the setting program, the CPU 11 has the serial NO as the first identification information acquired from the connected external storage devices 30A to 30E, and the server terminal 10 and the PC terminals 20A to 20D input by the input unit 12. The input of the combination of the MAC address as the second identification information, the plurality of MAC addresses input by the input unit 12, and the combination of the plurality of processing contents is accepted. Then, the CPU 11 generates a device setting file from the combination of the plurality of input serial numbers and a plurality of MAC addresses, and generates a process setting file from the combination of the plurality of input MAC addresses and a plurality of processing contents. And stored in the external storage devices 30A to 30E.

CPU11は、接続確認サービスプログラムに基づいて、外部記憶装置30A〜30Eが接続部17に接続されると、接続中の外部記憶装置から装置設定ファイル、処理設定ファイル及びシリアルNOを取得し、通信部16からMACアドレスを取得し、取得したシリアルNO及びMACアドレスの組合せが、装置設定ファイルに存在するか否かを判別する。CPU11は、組合せが存在する場合に、このMACアドレスに対応する処理内容を処理設定ファイルから取得し、この処理内容に応じて接続中の外部記憶装置にアクセスして、データ同期処理、メニュー起動処理又は業務アプリケーション起動処理を実行する。   When the external storage devices 30A to 30E are connected to the connection unit 17 based on the connection confirmation service program, the CPU 11 acquires a device setting file, a processing setting file, and a serial number from the connected external storage device, and a communication unit The MAC address is acquired from 16, and it is determined whether or not the combination of the acquired serial NO and MAC address exists in the device setting file. When there is a combination, the CPU 11 acquires the processing content corresponding to the MAC address from the processing setting file, accesses the connected external storage device according to the processing content, and performs data synchronization processing and menu activation processing. Alternatively, business application start processing is executed.

入力部12は、文字等の入力キーを有するキーボードと、マウス等のポインティングデバイスとを備え、ユーザからの各種キー操作入力及び位置操作入力を受け付け、その操作入力情報をCPU11に出力する。   The input unit 12 includes a keyboard having input keys such as characters and a pointing device such as a mouse, receives various key operation inputs and position operation inputs from the user, and outputs the operation input information to the CPU 11.

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

表示部14は、LCD(Liquid Crystal Display)、ELD(ElectroLuminescent Display)等で構成され、CPU11からの表示信号に従って各種表示を行う。   The display unit 14 includes an LCD (Liquid Crystal Display), an ELD (ElectroLuminescent Display), and the like, and performs various displays according to a display signal from the CPU 11.

記憶部15は、HDD(Hard Disc Drive)等により構成され、各種プログラム、各種データが記憶されるとともいに、読み出し及び書き込み可能である記憶部である。記憶部15は、後述する連番情報110、DB(データベース)120、設定プログラム130、接続認識サービスプログラム140を記憶する。   The storage unit 15 is configured by an HDD (Hard Disc Drive) or the like, and stores various programs and various data and is readable and writable. The storage unit 15 stores serial number information 110, a DB (database) 120, a setting program 130, and a connection recognition service program 140, which will be described later.

通信部16は、LAN(Local Area Network)、WAN(Wide Area Network)等の通信ネットワーク上の外部機器との通信を仲介するネットワークカード等の回路部である。しかし、この通信ネットワークには、PC端末20A〜20Dが接続されていないものとする。また、通信機器としての通信部16は、世界中の通信ネットワーク機器でユニークなMAC(Media Access Control )アドレスが予め設定されている。通信部16は、CPU11の要求に応じて、MACアドレスをCPU11に出力する。通信部16のMACアドレスは、サーバ端末10を識別するMACアドレスとなる。   The communication unit 16 is a circuit unit such as a network card that mediates communication with an external device on a communication network such as a LAN (Local Area Network) or a WAN (Wide Area Network). However, it is assumed that the PC terminals 20A to 20D are not connected to this communication network. The communication unit 16 as a communication device is preset with a unique MAC (Media Access Control) address in communication network devices around the world. The communication unit 16 outputs a MAC address to the CPU 11 in response to a request from the CPU 11. The MAC address of the communication unit 16 is a MAC address that identifies the server terminal 10.

接続部17は、外部記憶装置30A〜30Eが接続され、外部記憶装置30A〜30Eへのアクセスを仲介する回路部である。接続部17は、USBメモリとしての外部記憶装置30A〜30Eが接続されるUSBスロットを含む。   The connection unit 17 is a circuit unit that is connected to the external storage devices 30A to 30E and mediates access to the external storage devices 30A to 30E. The connection unit 17 includes a USB slot to which external storage devices 30A to 30E as USB memories are connected.

計時部18は、CPU11の要求により、現在の日付及び時刻を示す日時情報を生成してCPU11に出力する。   The time measuring unit 18 generates date / time information indicating the current date and time according to a request from the CPU 11 and outputs the date / time information to the CPU 11.

次いで、図3を参照して、PC端末20Aの内部構成を説明する。ここでは、PC端末20Aの内部構成について説明するが、PC端末20B〜20Dの内部構成についても同様である。   Next, an internal configuration of the PC terminal 20A will be described with reference to FIG. Although the internal configuration of the PC terminal 20A will be described here, the same applies to the internal configurations of the PC terminals 20B to 20D.

図3に示すように、PC端末20Aは、CPU21、入力部22、RAM23、表示部24、記憶部25、通信部26、接続部27、計時部28等を備え、各部がバス29を介して接続されている。   As illustrated in FIG. 3, the PC terminal 20 </ b> A includes a CPU 21, an input unit 22, a RAM 23, a display unit 24, a storage unit 25, a communication unit 26, a connection unit 27, a timekeeping unit 28, and the like. It is connected.

CPU21、入力部22、RAM23、表示部24、記憶部25、通信部26、接続部27、計時部28は、それぞれ、サーバ端末10のCPU11、入力部12、RAM13、表示部14、記憶部15、通信部16、接続部17、計時部18と同様の構成であり、説明の重複を避けるため、異なる部分を主として説明する。   The CPU 21, the input unit 22, the RAM 23, the display unit 24, the storage unit 25, the communication unit 26, the connection unit 27, and the time measuring unit 28 are respectively the CPU 11, the input unit 12, the RAM 13, the display unit 14, and the storage unit 15 of the server terminal 10. The communication unit 16, the connection unit 17, and the time measuring unit 18 have the same configuration, and different parts are mainly described in order to avoid duplication of description.

CPU21は、記憶部25に記憶された接続認識サービスプログラム210との協働により、接続認識サービス処理が実行される。この接続認識サービス処理には、データ同期処理が含まれない。記憶部25は、後述する接続認識サービスプログラム210を記憶する。   The CPU 21 executes connection recognition service processing in cooperation with the connection recognition service program 210 stored in the storage unit 25. This connection recognition service process does not include a data synchronization process. The storage unit 25 stores a connection recognition service program 210 to be described later.

通信部26は、通信ネットワーク上の外部機器との通信を仲介するネットワークカード等の回路部である。しかし、通信部26には、通信ネットワークが接続されていないものとする。また、通信機器としての通信部26は、MACアドレスが予め設定されており、CPU11の要求に応じて、このMACアドレスをCPU11に出力する。通信部26のMACアドレスは、PC端末20Aを識別するMACアドレスとなる。   The communication unit 26 is a circuit unit such as a network card that mediates communication with an external device on the communication network. However, it is assumed that a communication network is not connected to the communication unit 26. The communication unit 26 as a communication device has a MAC address set in advance, and outputs this MAC address to the CPU 11 in response to a request from the CPU 11. The MAC address of the communication unit 26 is a MAC address that identifies the PC terminal 20A.

次に、図4及び図5を参照して、サーバ端末10、PC端末20A、外部記憶装置30Aに記憶されるプログラム及びデータを説明する。図4(a)に、サーバ端末10に記憶されるプログラム及びデータを示す。図4(b)に、PC端末20Aに記憶されるプログラム及びデータを示す。図4(c)に、外部記憶装置30Aに記憶されるプログラム及びデータを示す。図5(a)に、装置設定ファイル330の構成を示す。図5(b)に、処理設定ファイル340の構成を示す。   Next, programs and data stored in the server terminal 10, the PC terminal 20A, and the external storage device 30A will be described with reference to FIGS. FIG. 4A shows programs and data stored in the server terminal 10. FIG. 4B shows programs and data stored in the PC terminal 20A. FIG. 4C shows programs and data stored in the external storage device 30A. FIG. 5A shows the configuration of the device setting file 330. FIG. 5B shows the configuration of the process setting file 340.

ここでは、PC端末20Aに記憶されるプログラム及びデータを説明するが、PC端末20B〜20Dに記憶されるプログラム及びデータも同様である。また、外部記憶装置30Aに記憶されるプログラム及びデータを説明するが、外部記憶装置30B〜30Eに記憶されるプログラム及びデータも同様である。   Here, although the program and data memorize | stored in 20 A of PC terminals are demonstrated, the program and data memorize | stored in PC terminal 20B-20D are the same. Further, although the program and data stored in the external storage device 30A will be described, the same applies to the program and data stored in the external storage devices 30B to 30E.

図4(a)に示すように、サーバ端末10の記憶部15には、連番情報110、DB120、設定プログラム130、接続認識サービスプログラム140が記憶されている。   As shown in FIG. 4A, serial number information 110, DB 120, setting program 130, and connection recognition service program 140 are stored in the storage unit 15 of the server terminal 10.

連番情報110は、DB120のデータ更新に対応する該当項目の連番の情報である。該当項目とは、データとして連番が付与される項目であり、例えば、得意先コード、システム伝票番号等の項目である。ここでは、連番情報110は、DB120の該当項目で次のデータ更新に発番が予約される連番の情報とする。しかし、これに限定されるものではなく、連番情報110は、DB120のデータ更新で発番された最新の連番の情報としてもよい。   The serial number information 110 is information on the serial number of the corresponding item corresponding to the data update of the DB 120. The corresponding item is an item to which a serial number is assigned as data, for example, a customer code, a system slip number, or the like. Here, the serial number information 110 is information on a serial number that is reserved for the next data update in the corresponding item of the DB 120. However, the present invention is not limited to this, and the serial number information 110 may be information on the latest serial number issued by updating the data in the DB 120.

DB120は、発注伝票入力データ、受注伝票入力データ等のユーザにより入力されたデータのデータベースである。DB120は、例えば、データ更新日時の日時設定ファイル、得意先マスタ、伝票合計、伝票明細等のファイルを有し、各ファイルがレコードを有するものとする。   The DB 120 is a database of data input by the user such as order slip input data and order slip input data. The DB 120 includes, for example, files such as a data update date / time setting file, a customer master, a slip total, and slip details, and each file has a record.

設定プログラム130は、設定処理を実行するためのプログラムである。接続認識サービスプログラム140は、接続認識サービス処理を実行するためのプログラムである。   The setting program 130 is a program for executing setting processing. The connection recognition service program 140 is a program for executing connection recognition service processing.

図4(b)に示すように、PC端末20Aの記憶部25には、接続認識サービスプログラム210が記憶されている。接続認識サービスプログラム210は、接続認識サービス処理を実行するためのプログラムである。   As shown in FIG. 4B, a connection recognition service program 210 is stored in the storage unit 25 of the PC terminal 20A. The connection recognition service program 210 is a program for executing connection recognition service processing.

図4(c)に示すように、外部記憶装置30Aには、シリアルNO310、連番情報320、設定ファイル400、DB350、メニュー情報360、基本アプリケーションプログラム370、業務アプリケーションプログラム380が記憶されている。設定ファイル400は、第1のテーブルとしての装置設定ファイル330、第2のテーブルとしての処理設定ファイル340を含む。但し、シリアルNO310が、外部記憶装置30A内の書き換えが不可能な記憶領域に記憶されているものとし、他の情報は、外部記憶装置30A内の書き換えが可能な記憶領域に記憶されているものとする。   As shown in FIG. 4C, the external storage device 30A stores serial NO 310, serial number information 320, setting file 400, DB 350, menu information 360, basic application program 370, and business application program 380. The setting file 400 includes a device setting file 330 as a first table and a processing setting file 340 as a second table. However, the serial NO 310 is stored in a non-rewritable storage area in the external storage device 30A, and other information is stored in a rewritable storage area in the external storage device 30A. And

シリアルNO310は、外部記憶装置30Aの製造番号であり、外部記憶装置30Aを識別するためのユニークな情報である。連番情報320は、DB350のデータ更新に対応する該当項目の連番の情報である。ここでは、連番情報320は、DB350の該当項目で次のデータ更新に発番が予約される連番の情報とする。しかし、これに限定されるものではなく、連番情報320は、DB350のデータ更新で発番された最新の連番の情報としてもよい。   The serial number 310 is a serial number of the external storage device 30A, and is unique information for identifying the external storage device 30A. The serial number information 320 is information on the serial number of the corresponding item corresponding to the data update of the DB 350. Here, the serial number information 320 is information on the serial number in which the number is reserved for the next data update in the corresponding item of the DB 350. However, the present invention is not limited to this, and the serial number information 320 may be information on the latest serial number issued by data update in the DB 350.

装置設定ファイル330、処理設定ファイル340は、ユーザの設定入力により生成される情報を含む。装置設定ファイル330は、外部記憶装置30A〜30Eと、外部記憶装置30A〜30E内の情報にそれぞれアクセス許可設定された装置(サーバ端末10、PC端末20A〜20D)と、の組合せを示す情報である。処理設定ファイル340は、外部記憶装置30A〜30Eと、外部記憶装置30A〜30Eにそれぞれ実行が許可設定された処理の処理内容と、の組合せを示す情報である。   The device setting file 330 and the process setting file 340 include information generated by user setting input. The device setting file 330 is information indicating a combination of the external storage devices 30A to 30E and devices (server terminal 10 and PC terminals 20A to 20D) whose access permission is set for the information in the external storage devices 30A to 30E. is there. The process setting file 340 is information indicating a combination of the external storage devices 30A to 30E and the processing contents of the processes that are permitted to be executed in the external storage devices 30A to 30E.

DB350は、発注伝票入力データ、受注伝票入力データ等、ユーザにより操作入力されたデータのデータベースであり、DB120と同一のデータ内容を含む。しかし、外部記憶装置30A〜30Eを用いたデータ入力によるDB350のデータ内容の更新により、DB350とDB120とのデータ内容との差分が発生する。このため、データ同期処理により、DB350とDB120とが同期される。また、DB350は、前回のDB350更新日時のデータを含む前回更新日時ファイルが含まれる。   The DB 350 is a database of data input by the user such as order slip input data and order slip input data, and includes the same data contents as the DB 120. However, a difference between the data contents of the DB 350 and the DB 120 is generated by updating the data contents of the DB 350 by data input using the external storage devices 30A to 30E. For this reason, DB350 and DB120 are synchronized by data synchronization processing. The DB 350 includes a previous update date / time file including data of the previous DB350 update date / time.

メニュー情報360は、各種業務アプリケーションのメニュー画面表示に用いる情報である。メニュー情報360は、例えば、発注伝票入力、受注伝票入力のメニュー画面表示に用いる情報である。メニュー情報360のメニューは、営業担当者、仕入担当者で別のメニュー画面が用意されているものとする。また、営業担当者のメニューは、営業担当者aと営業担当者bとで別のメニュー画面が用意されているものとする。   The menu information 360 is information used for displaying a menu screen of various business applications. The menu information 360 is information used for menu screen display of order slip input and order slip input, for example. As for the menu of the menu information 360, it is assumed that another menu screen is prepared for the sales staff and the purchasing staff. Further, it is assumed that different menu screens are prepared for the sales representative a and the sales representative b for the sales representative menu.

基本アプリケーションプログラム370は、メニュー画面表示や、業務アプリケーションプログラム380を実行するための基本となるプログラムである。業務アプリケーションプログラム380は、伝票データ入力処理、データ同期処理等の各種業務アプリケーションを実行するためのプログラムである。各種業務アプリケーションは、メニュー画面におけるユーザのメニュー選択入力に応じて実行される。   The basic application program 370 is a basic program for displaying the menu screen and executing the business application program 380. The business application program 380 is a program for executing various business applications such as slip data input processing and data synchronization processing. Various business applications are executed in response to a user's menu selection input on the menu screen.

図5(a)に示すように、装置設定ファイル330は、シリアルNO331、MACアドレス332の項目を有する。シリアルNO331は、外部記憶装置30A〜30Eを識別する番号である。外部記憶装置30A,30B,30C,30D,30EのシリアルNOは、順に、SER123456-01,SER123457-01,SER9876543-01,SER0111111-01,SER0111112-01であるものとする。また、外部記憶装置30A,30B,30C,30D,30Eは、順に、営業担当者a用、営業担当者b用、仕入れ担当者c用、データ入力担当者d用、データ入力担当者e用の外部記憶装置とする。なお、一つのシリアルNO331に複数のMACアドレス332が対応してもよく、一つのMACアドレス332に複数のシリアルNO331が対応してもよい。   As illustrated in FIG. 5A, the device setting file 330 includes items of a serial number 331 and a MAC address 332. The serial number 331 is a number for identifying the external storage devices 30A to 30E. The serial numbers of the external storage devices 30A, 30B, 30C, 30D, and 30E are SER123456-01, SER123457-01, SER9876543-01, SER0111111-01, and SER0111112-01 in this order. The external storage devices 30A, 30B, 30C, 30D, and 30E are for sales representative a, sales representative b, stocking person c, data input person d, and data input person e, respectively. An external storage device is used. A plurality of MAC addresses 332 may correspond to one serial NO 331, and a plurality of serial NOs 331 may correspond to one MAC address 332.

MACアドレス332は、シリアルNO331に対応する外部記憶装置30A〜30Eにアクセスが許可されている端末(サーバ端末10、PC端末20A〜20D)のMACアドレスである。サーバ端末10、PC端末20A,20B,20C,20DのMACアドレスは、順に、00:00:00:00:00:04、00:00:00:00:00:01、00:00:00:00:00:02、00:00:00:00:00:03、00:00:00:00:00:05である。   The MAC address 332 is a MAC address of a terminal (server terminal 10 or PC terminal 20A to 20D) that is permitted to access the external storage devices 30A to 30E corresponding to the serial NO 331. The MAC addresses of the server terminal 10 and the PC terminals 20A, 20B, 20C, and 20D are 00: 00: 00: 00: 00: 04, 00: 00: 00: 00: 00: 01, and 00:00:00: 00:00:02, 00: 00: 00: 00: 00: 03, 00: 00: 00: 00: 00: 05.

図5(b)に示すように、処理設定ファイル340は、MACアドレス341、処理内容342の項目を有する。MACアドレス341は、サーバ端末10、PC端末20A〜20Dを識別する情報である。処理内容342は、MACアドレス331に対応する端末(サーバ端末10、PC端末20A〜20D)に実行が許可された処理の内容を示す情報である。なお、一つのMACアドレス341に複数の処理内容342が対応してもよく、一つの処理内容342に複数のMACアドレス341が対応してもよい。   As illustrated in FIG. 5B, the process setting file 340 includes items of a MAC address 341 and a process content 342. The MAC address 341 is information for identifying the server terminal 10 and the PC terminals 20A to 20D. The processing content 342 is information indicating the content of processing permitted to be executed by the terminal (server terminal 10 or PC terminals 20A to 20D) corresponding to the MAC address 331. A plurality of processing contents 342 may correspond to one MAC address 341, and a plurality of MAC addresses 341 may correspond to one processing contents 342.

次に、図6〜図8を参照して、データ処理システム1の動作を説明する。図6に、サーバ端末10で実行される設定処理の流れを示す。図7に、サーバ端末10で実行される接続認識サービス処理の流れを示す。図8に、接続認識サービス処理のデータ同期処理の流れを示す。   Next, the operation of the data processing system 1 will be described with reference to FIGS. FIG. 6 shows a flow of setting processing executed by the server terminal 10. FIG. 7 shows a flow of connection recognition service processing executed by the server terminal 10. FIG. 8 shows a flow of data synchronization processing of the connection recognition service processing.

図6を参照して、サーバ端末10で実行される設定処理を説明する。設定処理は、ユーザからの操作入力に応じて、設定ファイル400(装置設定ファイル330、処理設定ファイル340)を生成して外部記憶装置30A〜30Eに記憶する処理である。   With reference to FIG. 6, the setting process performed in the server terminal 10 is demonstrated. The setting process is a process of generating a setting file 400 (device setting file 330, process setting file 340) and storing the setting files 400 in the external storage devices 30A to 30E in response to an operation input from the user.

サーバ端末10において、例えば、ユーザから入力部12を介して設定処理の実行指示が入力されたことをトリガとして、記憶部15から読み出されてRAM13に適宜展開された設定プログラム130と、CPU11との協働により、設定処理が実行される。   In the server terminal 10, for example, a setting program 130 read from the storage unit 15 and appropriately expanded in the RAM 13 triggered by the input of a setting process execution instruction from the user via the input unit 12, the CPU 11, The setting process is executed by the cooperation.

先ず、入力部12により、ユーザからの、サーバ端末10及びPC端末20A〜20DのMACアドレスの入力が受け付けられる(ステップS11)。ユーザは、サーバ端末10及びPC端末20A〜20Dの通信部16,26のMACアドレスを予め取得しておくものとする。   First, the input unit 12 accepts input of MAC addresses of the server terminal 10 and the PC terminals 20A to 20D from the user (step S11). It is assumed that the user acquires the MAC addresses of the communication units 16 and 26 of the server terminal 10 and the PC terminals 20A to 20D in advance.

そして、入力部12により、ユーザからの、ステップS11で入力された各MACアドレスに対応する処理の内容の入力が受け付けられ、MACアドレスと処理内容との組合せとして設定される(ステップS12)。そして、全てのサーバ端末10及びPC端末20A〜20Dについて、MACアドレスと処理内容との組合せが設定されたか否かが判別される(ステップS13)。そして、全端末のMACアドレスと処理内容との組合せが設定されていない場合(ステップS13;NO)、ステップS11に移行される。   And the input of the content of the process corresponding to each MAC address input by step S11 from a user is received by the input part 12, and it sets as a combination of a MAC address and process content (step S12). And it is discriminate | determined whether the combination of a MAC address and process content was set about all the server terminals 10 and PC terminal 20A-20D (step S13). And when the combination of the MAC address of all the terminals and the processing content is not set (step S13; NO), it transfers to step S11.

全端末のMACアドレスと処理内容との組合せが設定された場合(ステップS13;YES)、外部記憶装置30A〜30Eのうちの未接続の一つの外部記憶装置が接続部17に接続されたか否かが判別される(ステップS14)。未接続の一つの外部記憶装置が接続されていない場合(ステップS14;NO)、ステップS14に移行される。   If a combination of the MAC addresses of all the terminals and the processing content is set (step S13; YES), whether or not one unconnected external storage device among the external storage devices 30A to 30E is connected to the connection unit 17 Is determined (step S14). If one unconnected external storage device is not connected (step S14; NO), the process proceeds to step S14.

ステップS14において、ユーザは、ステップS14で未接続の外部記憶装置30A〜30Eのいずれか一つを接続部17に接続する。   In step S <b> 14, the user connects any one of the external storage devices 30 </ b> A to 30 </ b> E not connected in step S <b> 14 to the connection unit 17.

未接続の一つの外部記憶装置が接続された場合(ステップS14;YES)、接続中の外部記憶装置のシリアルNO310が読み出される(ステップS15)。そして、入力部12により、ユーザからの、ステップS15で読み出されたシリアルNOに対応するMACアドレスの選択入力が受け付けられ、シリアルNOとMACアドレスとの組合せとして設定される(ステップS16)。そして、全ての外部記憶装置30A〜30Eについて、シリアルNOとMACアドレスとの組合せが設定されたか否かが判別される(ステップS17)。全ての外部記憶装置のシリアルNOとMACアドレスとの組合せが設定されていない場合(ステップS17;NO)、ステップS14に移行される。   When one unconnected external storage device is connected (step S14; YES), the serial NO 310 of the connected external storage device is read (step S15). Then, the input unit 12 receives a selection input of the MAC address corresponding to the serial NO read in step S15 from the user, and is set as a combination of the serial NO and the MAC address (step S16). Then, for all the external storage devices 30A to 30E, it is determined whether or not a combination of serial NO and MAC address has been set (step S17). If the combination of serial numbers and MAC addresses of all external storage devices is not set (step S17; NO), the process proceeds to step S14.

全ての外部記憶装置のシリアルNOとMACアドレスとの組合せが設定された場合(ステップS17;YES)、外部記憶装置30A〜30Eのうちの設定ファイル400が未記憶の一つの外部記憶装置が接続部17に接続されたか否かが判別される(ステップS18)。設定ファイル400が未記憶の一つの外部記憶装置が接続されていない場合(ステップS18;NO)、ステップS18に移行される。   When combinations of serial numbers and MAC addresses of all external storage devices are set (step S17; YES), one external storage device in which the setting file 400 is not stored among the external storage devices 30A to 30E is connected. It is determined whether or not it is connected to 17 (step S18). When one external storage device not storing the setting file 400 is not connected (step S18; NO), the process proceeds to step S18.

つまり、ステップS14〜S17において、設定ファイル400(装置設定ファイル330)生成のために、ユーザにより、全ての外部記憶装置30A〜30Eが順に一つずつ接続部17に接続される。そして、ステップS18〜S20において、上記生成された設定ファイル400を記憶するために、ユーザにより、全ての外部記憶装置30A〜30Eが順に一つずつ接続部17に接続される。   That is, in steps S14 to S17, in order to generate the setting file 400 (device setting file 330), the user connects all the external storage devices 30A to 30E to the connection unit 17 one by one in order. In steps S18 to S20, in order to store the generated setting file 400, the user connects all the external storage devices 30A to 30E to the connection unit 17 one by one in order.

設定ファイル400が未記憶の一つの外部記憶装置が接続された場合(ステップS18;YES)、ステップS12で設定されたMACアドレスと処理内容との組合せと、ステップS16で設定されたシリアルNOとMACアドレスとの組合せとが、それぞれ、処理設定ファイル340、装置設定ファイル330として、接続中の外部記憶装置に記憶される(ステップS19)。そして、全ての外部記憶装置30A〜30Eについて、設定ファイル400(装置設定ファイル330、処理設定ファイル340)が記憶されたか否かが判別される(ステップS20)。全ての外部記憶装置に設定ファイル400が記憶されていない場合(ステップS20;NO)、ステップS18に移行される。全ての外部記憶装置に設定ファイル400が記憶された場合(ステップS20;YES)、設定処理が終了する。   When one external storage device that has not been stored in the setting file 400 is connected (step S18; YES), the combination of the MAC address and processing content set in step S12, and the serial NO and MAC set in step S16 The combinations with the addresses are stored in the connected external storage device as the processing setting file 340 and the device setting file 330, respectively (step S19). Then, it is determined whether or not the setting file 400 (device setting file 330, process setting file 340) has been stored for all the external storage devices 30A to 30E (step S20). When the setting file 400 is not stored in all the external storage devices (step S20; NO), the process proceeds to step S18. When the setting file 400 is stored in all external storage devices (step S20; YES), the setting process ends.

なお、処理設定ファイル340の処理内容342に対応する各種データ及び各種アプリケーションプログラムは、例えば、設定処理の後に、外部記憶装置30A〜30Eに記憶される。この各種データ及び各種アプリケーションプログラムは、全ての外部記憶装置30A〜30Eで同一のものとすることができる。具体的には、外部記憶装置30A〜30Eに、それぞれ同じ、連番情報320、DB350、メニュー情報360、基本アプリケーションプログラム370、業務アプリケーションプログラム380が記憶される。   Note that various data and various application programs corresponding to the processing content 342 of the processing setting file 340 are stored in the external storage devices 30A to 30E after the setting processing, for example. The various data and various application programs can be the same in all the external storage devices 30A to 30E. Specifically, the same serial number information 320, DB 350, menu information 360, basic application program 370, and business application program 380 are stored in the external storage devices 30A to 30E, respectively.

次いで、図7及び図8を参照して、サーバ端末10で実行される接続認識サービス処理を説明する。接続認識サービス処理は、外部記憶装置30A〜30Eの一つが接続部17に接続され、接続された外部記憶装置が使用許可されたものである場合に、その外部記憶装置のアクセス許可された情報(データ及びアプリケーションプログラム)にアクセスして各種サービスを提供する処理である。   Next, the connection recognition service process executed by the server terminal 10 will be described with reference to FIGS. In the connection recognition service process, when one of the external storage devices 30A to 30E is connected to the connection unit 17 and the connected external storage device is permitted to be used, the access permitted information of the external storage device ( Data and application programs) to provide various services.

サーバ端末10において、例えば、電源がオンされたこと、又はユーザから入力部12を介して接続認識サービス処理の実行指示が入力されたことをトリガとして、記憶部15から読み出されてRAM13に適宜展開された接続認識サービスプログラム140と、CPU11との協働により、設定処理が実行される。   In the server terminal 10, for example, when the power is turned on or the execution instruction of the connection recognition service process is input from the user via the input unit 12, the data is read from the storage unit 15 and appropriately stored in the RAM 13. A setting process is executed in cooperation with the developed connection recognition service program 140 and the CPU 11.

先ず、外部記憶装置が接続部17に接続開始されたか否かが判別される(ステップS31)。外部記憶装置が接続開始された場合(ステップS31;YES)、接続中の外部記憶装置に設定ファイル400が記憶されているか否かにより、接続中の外部記憶装置が処理対象である(外部記憶装置30A〜30Eである)か否かが判別される(ステップS32)。接続中の外部記憶装置が処理対象でない場合(ステップS32;NO)、ステップS31に移行される。   First, it is determined whether or not the external storage device has been connected to the connection unit 17 (step S31). When the connection of the external storage device is started (step S31; YES), the connected external storage device is a processing target depending on whether or not the setting file 400 is stored in the connected external storage device (external storage device). 30A-30E) is determined (step S32). If the connected external storage device is not a processing target (step S32; NO), the process proceeds to step S31.

接続中の外部記憶装置が処理対象である場合(ステップS32;YES)、設定ファイル400から装置設定ファイル330及び処理設定ファイル340が読み出される(ステップS33)。そして、通信部16からMACアドレスが取得され、接続中の外部記憶装置からシリアルNO310が読み出され、取得したMACアドレスと、読み出したシリアルNO310との組合せが、ステップS33で読み出した装置設定ファイル330のシリアルNO331に対応するMACアドレス332として存在するか否かが確認される(ステップS34)。   When the connected external storage device is the processing target (step S32; YES), the device setting file 330 and the processing setting file 340 are read from the setting file 400 (step S33). Then, the MAC address is acquired from the communication unit 16, the serial NO 310 is read from the connected external storage device, and the combination of the acquired MAC address and the read serial NO 310 is the device setting file 330 read in step S33. It is confirmed whether or not there is a MAC address 332 corresponding to the serial number 331 (step S34).

そして、ステップS33の確認結果に応じて、自機のMACアドレスと、接続中の外部記憶装置のシリアルNO310との組合せが、装置設定ファイル330に存在するか否かが判別される(ステップS35)。MACアドレスとシリアルNO310との組合せが装置設定ファイル330に存在しない場合(ステップS35;NO)、ステップS31に移行される。   Then, according to the confirmation result in step S33, it is determined whether or not the combination of the MAC address of the own device and the serial NO 310 of the connected external storage device exists in the device setting file 330 (step S35). . When the combination of the MAC address and the serial number 310 does not exist in the device setting file 330 (step S35; NO), the process proceeds to step S31.

MACアドレスとシリアルNO310との組合せが装置設定ファイル330に存在する場合(ステップS35;YES)、このMACアドレスに対応する処理内容が、ステップS33で読み出した処理設定ファイル340のMACアドレス341に対応する処理内容342として記述されているか否かが確認される(ステップS36)。   When the combination of the MAC address and the serial number 310 exists in the device setting file 330 (step S35; YES), the processing content corresponding to the MAC address corresponds to the MAC address 341 of the processing setting file 340 read in step S33. It is confirmed whether it is described as the processing content 342 (step S36).

そして、ステップS36の確認結果に応じて、処理内容342としてデータ同期処理が設定されているか否かが判別される(ステップS37)。データ同期処理が設定されている場合(ステップS37;YES)、データ同期処理が実行され(ステップS38)、ステップS31に移行される。ステップS38のデータ同期処理は、詳細に後述される。   Then, according to the confirmation result in step S36, it is determined whether or not the data synchronization processing is set as the processing content 342 (step S37). When the data synchronization process is set (step S37; YES), the data synchronization process is executed (step S38), and the process proceeds to step S31. The data synchronization process in step S38 will be described later in detail.

データ同期処理が設定されていない場合(ステップS37;NO)、ステップS36の確認結果に応じて、処理内容342としてメニュー起動処理が設定されているか否かが判別される(ステップS39)。メニュー起動処理が設定されている場合(ステップS39;YES)、メニュー起動処理が実行され(ステップS40)、ステップS31に移行される。メニュー起動処理では、接続中の外部記憶装置から基本アプリケーションプログラム370及びメニュー情報360が読み出され、基本アプリケーションプログラム370の実行により、処理内容342に対応するメニュー情報360のデータを用いたメニュー画面が表示部14に表示され、入力部12によりメニュー選択入力が受け付けられる。   When the data synchronization processing is not set (step S37; NO), it is determined whether or not the menu activation processing is set as the processing content 342 according to the confirmation result of step S36 (step S39). When the menu activation process is set (step S39; YES), the menu activation process is executed (step S40), and the process proceeds to step S31. In the menu activation process, the basic application program 370 and the menu information 360 are read from the connected external storage device, and by executing the basic application program 370, a menu screen using the data of the menu information 360 corresponding to the processing content 342 is displayed. It is displayed on the display unit 14 and a menu selection input is accepted by the input unit 12.

メニュー起動処理が設定されていない場合(ステップS39;NO)、ステップS36の確認結果に応じて、処理内容342として業務アプリケーション起動処理が設定されているか否かが判別される(ステップS41)。業務アプリケーション起動処理は、データ同期処理以外で、業務アプリケーションプログラム380を用いて業務アプリケーションを起動する処理であり、例えば、DB120のための伝票データ入力処理である。また、業務アプリケーションは、例えば、メニュー画面で選択入力されるメニューに対応する処理である。   If the menu activation process is not set (step S39; NO), it is determined whether the business application activation process is set as the process content 342 according to the confirmation result of step S36 (step S41). The business application startup process is a process for starting a business application using the business application program 380 other than the data synchronization process, and is, for example, a slip data input process for the DB 120. The business application is a process corresponding to a menu selected and input on a menu screen, for example.

業務アプリケーション起動処理が設定されている場合(ステップS41;YES)、業務アプリケーション起動処理が実行され(ステップS42)、ステップS31に移行される。業務アプリケーション起動処理が設定されていない場合(ステップS41;NO)、ステップS31に移行される。業務アプリ起動起動処理では、接続中の外部記憶装置から基本アプリケーションプログラム370及び業務アプリケーションプログラム380が読み出され、基本アプリケーションプログラム370及び業務アプリケーションプログラム380の実行により、処理内容342に対応する各種業務アプリケーション起動処理が実行される。   When the business application activation process is set (step S41; YES), the business application activation process is executed (step S42), and the process proceeds to step S31. When the business application activation process is not set (step S41; NO), the process proceeds to step S31. In the business application activation start process, the basic application program 370 and the business application program 380 are read from the connected external storage device, and various business applications corresponding to the processing content 342 are executed by executing the basic application program 370 and the business application program 380. Startup processing is executed.

外部記憶装置が接続開始されていない場合(ステップS31;NO)、接続中の外部記憶装置が取り外されるか否かが判別される(ステップS43)。例えば、入力部12により、ユーザからの外部記憶装置の取り外しの指示入力が受け付けられたか否かにより判別される。   If the external storage device has not started connection (step S31; NO), it is determined whether or not the connected external storage device is removed (step S43). For example, the determination is made based on whether or not the input unit 12 has received an instruction to remove the external storage device from the user.

外部記憶装置が取り外されない場合(ステップS43;NO)、ステップS31に移行される。外部記憶装置が取り外される場合(ステップS43;YES)、接続中の外部記憶装置に設定ファイル400が記憶されているか否かにより、接続中の外部記憶装置が処理対象であるか否かが判別される(ステップS44)。接続中の外部記憶装置が処理対象でない場合(ステップS44;NO)、ステップS31に移行される。   When the external storage device is not removed (step S43; NO), the process proceeds to step S31. When the external storage device is removed (step S43; YES), it is determined whether or not the connected external storage device is a processing target depending on whether or not the setting file 400 is stored in the connected external storage device. (Step S44). When the connected external storage device is not a processing target (step S44; NO), the process proceeds to step S31.

接続中の外部記憶装置が処理対象である場合(ステップS44;YES)、ステップS42で起動された各種業務アプリケーション(ステップS38のデータ同期処理を含む)が実行中であるか否かが判別される(ステップS45)。業務アプリケーションが実行中でない場合(ステップS45;NO)、ステップS31に移行される。   If the connected external storage device is the processing target (step S44; YES), it is determined whether or not the various business applications started in step S42 (including the data synchronization processing in step S38) are being executed. (Step S45). When the business application is not being executed (step S45; NO), the process proceeds to step S31.

業務アプリケーションが実行中である場合(ステップS45;YES)、実行中の業務アプリケーションを終了する旨が表示部14に表示され、当該実行中の業務アプリケーションプログラムの実行が終了され(ステップS46)、ステップS31に移行される。   When the business application is being executed (step S45; YES), the display unit 14 displays that the business application being executed is to be ended, and the execution of the business application program being executed is ended (step S46). The process proceeds to S31.

ここで、ステップS38のデータ同期処理を詳細に説明する。図8に示すように、先ず、接続中の外部記憶装置に記憶されたDB350内の前回同期日時が読み出される(ステップS381)。そして、ステップS381で読み出された前回同期日時以降のデータが、同期データとして、接続中の外部記憶装置のDB350から読み出される(ステップS382)。同期データとは、DB350に記憶された伝票データ等の同期対象のデータである。同期データは、DB350のデータ構造と同様に、各ファイル内の項目毎のデータとして読み出される。   Here, the data synchronization processing in step S38 will be described in detail. As shown in FIG. 8, first, the previous synchronization date and time in the DB 350 stored in the connected external storage device is read (step S381). Then, the data after the previous synchronization date and time read in step S381 is read from the DB 350 of the connected external storage device as synchronization data (step S382). The synchronization data is synchronization target data such as slip data stored in the DB 350. Similar to the data structure of the DB 350, the synchronization data is read as data for each item in each file.

そして、ステップS382により読み出された同期データが各ファイルに分けられる(ステップS383)。そして、ステップS383で分けられたファイルのうち、ステップS388で選択されているファイル、又は最初のファイルが、選択中のファイルとして、各レコードに分けられる(ステップS384)。そして、記憶部15に記憶された連番情報110が読み出され、選択中のファイルのレコードのうち、ステップS386で選択されているレコード、又は最初のレコードが、選択中のレコードとして、連番情報110に応じて、該当項目の値が置換される(ステップS385)。選択中のレコードの項目が、文字情報等であり、連番情報110の該当項目でない場合は、変換されない。   Then, the synchronization data read in step S382 is divided into files (step S383). Of the files divided in step S383, the file selected in step S388 or the first file is divided into each record as the selected file (step S384). Then, the serial number information 110 stored in the storage unit 15 is read, and the record selected in step S386 or the first record among the records of the selected file is the serial number as the selected record. Depending on the information 110, the value of the corresponding item is replaced (step S385). When the item of the record being selected is character information or the like and is not a corresponding item of the serial number information 110, the item is not converted.

そして、選択中のファイルの未選択の次のレコードが選択される(ステップS386)。そして、ステップS386で選択するレコードがないか否かが判別される(ステップS387)。選択するレコードがある場合(ステップS387;NO)、ステップS385に移行される。選択するレコードがない場合(ステップS387;YES)、同期データの未選択の次のファイルが選択される(ステップS388)。そして、ステップS388で選択するファイルがないか否かが判別される(ステップS389)。選択するファイルがある場合(ステップS389;NO)、ステップS384に移行される。   Then, the next unselected record of the selected file is selected (step S386). Then, it is determined whether or not there is a record to be selected in step S386 (step S387). If there is a record to be selected (step S387; NO), the process proceeds to step S385. If there is no record to select (step S387; YES), the next file that has not been selected for synchronization data is selected (step S388). Then, it is determined whether or not there is a file to be selected in step S388 (step S389). If there is a file to be selected (step S389; NO), the process proceeds to step S384.

選択するファイルがない場合(ステップS389;YES)、同期データがDB120に追加されて更新され、この更新に応じて、連番情報110が最新の連番情報に更新される(ステップS390)。そして、同期データ追加後のDB120の各ファイルの各レコードが、接続中の外部記憶装置のDB350の各ファイルの各レコードに上書きされる(ステップS391)。   If there is no file to select (step S389; YES), the synchronization data is added to the DB 120 and updated, and the serial number information 110 is updated to the latest serial number information in accordance with this update (step S390). Then, each record of each file of DB 120 after the addition of the synchronization data is overwritten with each record of each file of DB 350 of the connected external storage device (step S391).

そして、同期データ追加後の連番情報110で、接続中の外部記憶装置の連番情報320が上書きされる(ステップS392)。そして、計時部18から現在日時情報が取得され、その現在日時情報が、DB350内の前回更新日時ファイルに上書きされ(ステップS393)、データ同期処理が終了する。   Then, the serial number information 320 of the connected external storage device is overwritten with the serial number information 110 after the addition of the synchronization data (step S392). Then, the current date and time information is acquired from the time measuring unit 18, and the current date and time information is overwritten on the previous update date and time file in the DB 350 (step S393), and the data synchronization process ends.

なお、サーバ端末10で実行される接続認識サービス処理を説明したが、PC端末20A〜20Dでも同様に、接続認識サービスプログラム210に基づいて接続認識サービス処理が実行される。但し、PC端末20A〜20Dでは、DBのデータ同期処理が実行されないので、接続認識サービス処理におけるステップS37及びステップS38が実行されない。   Although the connection recognition service process executed on the server terminal 10 has been described, the connection recognition service process is executed on the PC terminals 20A to 20D based on the connection recognition service program 210 in the same manner. However, since the DB data synchronization processing is not executed in the PC terminals 20A to 20D, Steps S37 and S38 in the connection recognition service processing are not executed.

次いで、図9及び図10を参照して、接続認識サービス処理の具体例を説明する。図9(a)に、外部記憶装置30Aが接続されたPC端末20Aにおけるメニュー処理起動時のデータの流れを示す。図9(b)に、外部記憶装置30Dが接続されたPC端末20Dにおける伝票入力処理起動時のデータの流れを示す。図10に、外部記憶装置30Dが接続されたサーバ端末10におけるデータ同期処理実行時のデータの流れを示す。   Next, a specific example of the connection recognition service process will be described with reference to FIGS. 9 and 10. FIG. 9A shows a data flow when the menu process is activated in the PC terminal 20A to which the external storage device 30A is connected. FIG. 9B shows a data flow when the slip input process is started in the PC terminal 20D to which the external storage device 30D is connected. FIG. 10 shows a data flow when the data synchronization process is executed in the server terminal 10 to which the external storage device 30D is connected.

図9(a)に示すように、PC端末20Aの接続部27に、外部記憶装置30Aが接続される場合を考える。図5(a),(b)の装置設定ファイル330及び処理設定ファイル340に示されるように、PC端末20A及び外部記憶装置30Aの組合せに対応して、処理内容342に、営業担当者aメニュー起動の処理が設定されている。そして、PC端末20Aで接続認識サービス処理が実行される。   Consider the case where an external storage device 30A is connected to the connection unit 27 of the PC terminal 20A as shown in FIG. As shown in the apparatus setting file 330 and the process setting file 340 in FIGS. 5A and 5B, the sales person a menu is included in the processing contents 342 corresponding to the combination of the PC terminal 20A and the external storage device 30A. Startup processing is set. Then, the connection recognition service process is executed on the PC terminal 20A.

PC端末20Aにおいて、ステップS33に対応して外部記憶装置30Aの設定ファイル400が読み出され、ステップS34に対応して通信部26からPC端末20AのMACアドレス501が取得され、ステップS36に対応して取得した情報に応じて処理内容が確認され、ステップS40が実行される。そして、ステップS40に対応して外部記憶装置30Aの基本アプリケーションプログラム370及びメニュー情報360が読み出され、これらの情報を用いて営業担当者a用のメニューが起動される。   In the PC terminal 20A, the setting file 400 of the external storage device 30A is read corresponding to step S33, the MAC address 501 of the PC terminal 20A is acquired from the communication unit 26 corresponding to step S34, and corresponding to step S36. The processing content is confirmed according to the acquired information, and step S40 is executed. Corresponding to step S40, the basic application program 370 and menu information 360 of the external storage device 30A are read, and the menu for the sales representative a is started using these information.

また、図9(b)に示すように、PC端末20Dの接続部27に、外部記憶装置30Dが接続される場合を考える。図5(a),(b)の装置設定ファイル330及び処理設定ファイル340に示されるように、PC端末20D及び外部記憶装置30Dの組合せに対応して、売上伝票入力アプリケーション起動の処理が設定されている。そして、PC端末20Dで接続認識サービス処理が実行される。   Further, as shown in FIG. 9B, consider a case where an external storage device 30D is connected to the connection unit 27 of the PC terminal 20D. As shown in the apparatus setting file 330 and the process setting file 340 in FIGS. 5A and 5B, the sales slip input application activation process is set corresponding to the combination of the PC terminal 20D and the external storage device 30D. ing. Then, the connection recognition service process is executed on the PC terminal 20D.

PC端末20Dにおいて、ステップS33に対応して外部記憶装置30Dの設定ファイル400が読み出され、ステップS34に対応して通信部26からPC端末20DのMACアドレス502が取得され、ステップS36に対応して取得した情報に応じて処理内容が確認され、ステップS42が実行される。そして、ステップS42に対応して外部記憶装置30Dの基本アプリケーションプログラム370及び業務アプリケーションプログラム380が読み出され、これらの情報を用いて、DB350の売上伝票データを更新するための伝票入力担当者d用の業務アプリケーションの一つである売上伝票入力アプリケーションが起動される。売上伝票入力アプリケーションにより、伝票入力担当者dにより売上伝票データが入力され、その入力データがDB350に記憶される。   In the PC terminal 20D, the setting file 400 of the external storage device 30D is read corresponding to step S33, the MAC address 502 of the PC terminal 20D is acquired from the communication unit 26 corresponding to step S34, and corresponding to step S36. The processing content is confirmed according to the acquired information, and step S42 is executed. Then, the basic application program 370 and the business application program 380 of the external storage device 30D are read in correspondence with step S42, and the slip input person d for updating the sales slip data in the DB 350 is read using these information. The sales slip input application which is one of the business applications is started. Sales slip data is input by the sales slip input application d by the sales slip input application d, and the input data is stored in the DB 350.

また、図10に示すように、サーバ端末10の接続部17に、図9(b)で売上伝票データ入力によりDB350が更新された外部記憶装置30Dが接続される場合を考える。図5(a),(b)の装置設定ファイル330及び処理設定ファイル340に示されるように、サーバ端末10及び外部記憶装置30Dの組合せに対応して、データ同期処理が設定されている。そして、サーバ端末10で接続認識サービス処理が実行される。   Further, as shown in FIG. 10, consider a case where the external storage device 30 </ b> D whose DB 350 is updated by the sales slip data input in FIG. 9B is connected to the connection unit 17 of the server terminal 10. As shown in the device setting file 330 and the processing setting file 340 in FIGS. 5A and 5B, data synchronization processing is set corresponding to the combination of the server terminal 10 and the external storage device 30D. Then, connection recognition service processing is executed at the server terminal 10.

サーバ端末10において、ステップS33に対応して外部記憶装置30Dの設定ファイル400が読み出され、ステップS34に対応してサーバ端末10のMACアドレス503が取得され、ステップS36に対応して取得した情報に応じて処理内容が確認され、ステップS38が実行される。そして、ステップS38に対応して外部記憶装置30Dの基本アプリケーションプログラム370及び業務アプリケーションプログラム380が読み出され、これらの情報を用いて、伝票入力担当者d用のデータ同期処理が実行される。サーバ端末10において、データ同期処理では、連番情報110に基づいてDB350の同期データの連番が変更され、同期データの内容がDB120に追加され、連番情報110が変更され、そのデータ追加後のDB120でDB350が上書きされ変更後の連番情報110で連番情報320が変更される。   In the server terminal 10, the setting file 400 of the external storage device 30D is read corresponding to step S33, the MAC address 503 of the server terminal 10 is acquired corresponding to step S34, and the information acquired corresponding to step S36 Accordingly, the processing content is confirmed, and step S38 is executed. Then, the basic application program 370 and the business application program 380 of the external storage device 30D are read in correspondence with step S38, and the data synchronization process for the slip input person d is executed using these pieces of information. In the server terminal 10, in the data synchronization process, the serial number of the synchronous data in the DB 350 is changed based on the serial number information 110, the content of the synchronous data is added to the DB 120, the serial number information 110 is changed, and the data is added. The DB 350 is overwritten with the DB 120 and the serial number information 320 is changed with the changed serial number information 110.

次いで、図11及び図12を参照して、データ同期処理の具体例を説明する。図11(a)に、データ同期処理実行前の外部記憶装置30DのDB350のファイル及び連番情報320を示す。図11(b)に、データ同期処理実行後のサーバ端末10のDB120のファイル及び連番情報110を示す。図12に、データ同期処理実行後の外部記憶装置30DのDB350のファイル及び連番情報320を示す。   Next, a specific example of data synchronization processing will be described with reference to FIGS. 11 and 12. FIG. 11A shows the files and serial number information 320 in the DB 350 of the external storage device 30D before the data synchronization process is executed. FIG. 11B shows the DB 120 file and serial number information 110 of the server terminal 10 after the execution of the data synchronization process. FIG. 12 shows the files and serial number information 320 in the DB 350 of the external storage device 30D after execution of the data synchronization processing.

予め、外部記憶装置30D,30Eが順にサーバ端末10に接続され、外部記憶装置30D,30Eの各DB350がサーバ端末10のDB120とデータ同期がとられたものとする。そして、外部記憶装置30EがPC端末20Dに接続され、売上伝票データ入力が行われてDB350が更新され、その外部記憶装置30Eがサーバ端末10に接続され、外部記憶装置30EのDB350がサーバ端末10のDB120とデータ同期がとられたものとする。その後、外部記憶装置30DがPC端末20Dに接続されて売上伝票データ入力が行われDB350が更新されたものとする。   Assume that the external storage devices 30D and 30E are connected to the server terminal 10 in advance, and the DBs 350 of the external storage devices 30D and 30E are synchronized with the DB 120 of the server terminal 10 in advance. Then, the external storage device 30E is connected to the PC terminal 20D, the sales slip data is input and the DB 350 is updated, the external storage device 30E is connected to the server terminal 10, and the DB 350 of the external storage device 30E is connected to the server terminal 10. It is assumed that data synchronization with the DB 120 is performed. Thereafter, it is assumed that the external storage device 30D is connected to the PC terminal 20D, the sales slip data is input, and the DB 350 is updated.

このとき、図11(a)に示すように、外部記憶装置30DのDB350に、日時設定ファイル610、ファイルとしての得意先マスタ620、伝票合計630、伝票明細640が記憶されているものとする。データ入力により、得意先マスタ620、伝票合計630、伝票明細640の該当項目の得意先コード、売上伝票番号のレコードは、順に、連番000020、100010まで発番されている。連番情報320の該当項目としての得意先コード、売上伝票番号は、順に、000021、100011(発番+1)にカウントアップされている。但し、図11(a)では、データ入力に応じて、追加、更新されたレコードのみ示されているものとし、図11(b)、図12でも同様とする。   At this time, as shown in FIG. 11A, it is assumed that the date and time setting file 610, the customer master 620 as a file, the slip total 630, and the slip details 640 are stored in the DB 350 of the external storage device 30D. As a result of the data input, the customer master 620, the slip total 630, the customer code of the corresponding item of the slip details 640, and the sales slip number records are numbered sequentially to serial numbers 0,020 and 100010. The customer code and the sales slip number as corresponding items of the serial number information 320 are sequentially counted up to 000021 and 100011 (calling number + 1). However, in FIG. 11A, only the added and updated records are shown according to the data input, and the same applies to FIGS. 11B and 12.

また、サーバ端末10の記憶部15には、上記のような外部記憶装置30Eによるデータ入力及びデータ同期により、更新されたDB120及び連番情報110が記憶されている。このデータ入力及びデータ同期により、DB120の該当項目として得意先コード、売上伝票番号は、順に、000022、100014まで発番されているものとする。このため、連番情報110の該当項目の得意先コード、売上伝票番号は、順に、000023、100015(発番+1)にカウントアップされているものとする。   The storage unit 15 of the server terminal 10 stores the updated DB 120 and serial number information 110 by data input and data synchronization by the external storage device 30E as described above. As a result of this data input and data synchronization, it is assumed that the customer code and the sales slip number are numbered up to 000022 and 100014 in this order as corresponding items in the DB 120. For this reason, it is assumed that the customer code and sales slip number of the corresponding item in the serial number information 110 are sequentially counted up to 000023 and 100015 (calling number + 1).

その後、サーバ端末10で接続認識サービス処理が実行され、外部記憶装置30Dがサーバ端末10に接続され、ステップS42のデータ同期処理が実行されたものとする。サーバ端末10において、ステップS381に対応してDB350から日時設定ファイル610の前回同期日時が読み出される。そして、ステップS382に対応して前回同期日時以降の得意先マスタ620、伝票合計630、伝票明細640のレコードが同期データとしてDB350から読み出される。   Thereafter, it is assumed that the connection recognition service process is executed at the server terminal 10, the external storage device 30D is connected to the server terminal 10, and the data synchronization process at step S42 is executed. In the server terminal 10, the previous synchronization date / time of the date / time setting file 610 is read from the DB 350 corresponding to step S <b> 381. Corresponding to step S382, records of the customer master 620, the slip total 630, and the slip details 640 after the previous synchronization date and time are read from the DB 350 as synchronization data.

そして、ステップS385に対応して、連番情報110に応じて、同期データの得意先マスタ620、伝票合計630、伝票明細640の該当項目としての得意先コード、売上伝票番号は、順に、000023、100015にカウントアップされる。そして、ステップS390に対応して、図12に示すように、サーバ端末10のDB120に同期データが追加され、サーバ端末10のDB120には、得意先マスタ710、伝票合計720、伝票明細730が記憶され、連番情報110が更新される。得意先マスタ710、伝票合計720、伝票明細730の該当項目としての得意先コード、売上伝票番号は、順に、000023、100015にカウントアップされる。また、連番情報110の該当項目としての得意先コード、売上伝票番号は、順に、000024、100016にカウントアップされる。   Corresponding to step S385, according to the serial number information 110, the customer data 620 of the synchronous data, the slip total 630, the customer code as the corresponding item of the slip details 640, and the sales slip number are 000023, It is counted up to 100015. Then, corresponding to step S390, as shown in FIG. 12, synchronous data is added to the DB 120 of the server terminal 10, and the customer master 710, the slip total 720, and the slip details 730 are stored in the DB 120 of the server terminal 10. Then, the serial number information 110 is updated. The customer master 710, the slip total 720, the customer code as the corresponding items of the slip details 730, and the sales slip number are sequentially counted up to 000023 and 100015, respectively. Further, the customer code and the sales slip number as corresponding items of the serial number information 110 are sequentially counted up to 00024 and 100016.

そして、ステップS391に対応して、DB350のデータ内容が、DB120のデータ内容で上書きされ、図12に示す得意先マスタ620、伝票合計630、伝票明細640に更新される。得意先マスタ620、伝票合計630、伝票明細640の該当項目としての得意先コード、売上伝票番号は、順に、000023、100015にカウントアップされる。   Corresponding to step S391, the data content of the DB 350 is overwritten with the data content of the DB 120, and updated to the customer master 620, the slip total 630, and the slip details 640 shown in FIG. The customer code and sales slip number as corresponding items of the customer master 620, the slip total 630, and the slip description 640 are counted up to 000023 and 100015, respectively.

そして、ステップS392に対応して、連番情報110に応じて、図12に示す連番情報320が更新される。連番情報320の該当項目としての得意先コード、売上伝票番号は、順に、000024、100016にカウントアップされる。そして、ステップS393に対応して、DB350の日時設定ファイル610の前回同期日時が、計時部18からの現在日時情報に更新される。   Then, corresponding to step S392, the serial number information 320 shown in FIG. 12 is updated according to the serial number information 110. The customer code and the sales slip number as corresponding items of the serial number information 320 are sequentially counted up to 00024 and 100016. Corresponding to step S393, the previous synchronization date and time of the date and time setting file 610 of the DB 350 is updated to the current date and time information from the time measuring unit 18.

以上、本実施の形態によれば、サーバ端末10は、外部記憶装置30A〜30Eが接続されると、接続中の外部記憶装置から装置設定ファイル330、処理設定ファイル340、及びシリアルNOを取得し、通信部16からMACアドレスを取得し、取得したシリアルNO及びMACアドレスの組合せが装置設定ファイル330に含まれる(存在する)か否かを判別する。サーバ端末10は、その組合せが存在する場合に、このMACアドレスに対応する処理内容を処理設定ファイル340から取得し、この処理内容に応じて接続中の外部記憶装置にアクセスしてメニュー起動、業務アプリケーション起動又はデータ同期処理を行う。例えば、取得した処理内容がメニュー起動処理である場合に、接続中の外部記憶装置から基本アプリケーションプログラム370及びメニュー情報360が読み出され、基本アプリケーションプログラム370が実行され、メニュー情報360を用いてメニュー画面が表示部14に表示される。データ同期処理以外は、PC端末20A〜20Dでも同様である。   As described above, according to the present embodiment, when the external storage devices 30A to 30E are connected, the server terminal 10 acquires the device setting file 330, the processing setting file 340, and the serial number from the connected external storage device. The MAC address is acquired from the communication unit 16, and it is determined whether or not the combination of the acquired serial NO and MAC address is included (exists) in the device setting file 330. If the combination exists, the server terminal 10 acquires the processing content corresponding to the MAC address from the processing setting file 340, accesses the connected external storage device according to the processing content, starts the menu, Perform application startup or data synchronization processing. For example, when the acquired processing content is a menu activation process, the basic application program 370 and the menu information 360 are read from the connected external storage device, the basic application program 370 is executed, and the menu information 360 is used for the menu. A screen is displayed on the display unit 14. The same applies to the PC terminals 20A to 20D except for the data synchronization processing.

このため、装置設定ファイル330により、外部記憶装置30A〜30Eに対して、各外部記憶装置にアクセス許可されたサーバ端末10、PC端末20A〜20Dがアクセスできる。また、外部記憶装置30A〜30Eに記憶された情報を別の外部記憶装置にコピーしても第三者がコピー先の外部記憶装置へアクセスができないため、外部記憶装置の不正コピーを防止できる。また、外部記憶装置30A〜30Eに同じ情報(連番情報320、設定ファイル400、メニュー情報360、基本アプリケーションプログラム370、業務アプリケーションプログラム380、装置設定ファイル330)を記憶すればよいため、ユーザによる外部記憶装置30A〜30Eへの情報記憶の作業負担を低減できる。   Therefore, the server setting file 330 allows the server terminals 10 and the PC terminals 20A to 20D that are permitted to access the external storage devices to the external storage devices 30A to 30E. Further, even if the information stored in the external storage devices 30A to 30E is copied to another external storage device, the third party cannot access the copy destination external storage device, so that unauthorized copying of the external storage device can be prevented. Further, since the same information (serial number information 320, setting file 400, menu information 360, basic application program 370, business application program 380, device setting file 330) may be stored in the external storage devices 30A to 30E, the external information by the user can be stored. The work burden of information storage in the storage devices 30A to 30E can be reduced.

また、サーバ端末10、PC20A〜20Dにおいて、処理設定ファイル340により、MACアドレス341(サーバ端末10、PC端末20A〜20D)毎に、接続中の外部記憶装置の異なる情報へのアクセスを伴う処理内容342のデータ処理を実行できる。   Further, in the server terminal 10 and the PCs 20A to 20D, the processing contents accompanying access to different information of the connected external storage device for each MAC address 341 (the server terminal 10 and the PC terminals 20A to 20D) by the processing setting file 340. 342 data processing can be executed.

また、サーバ端末10は、設定処理により、接続された外部記憶装置30A〜30Eから取得されたシリアルNO310、及び入力部12により入力された外部記憶装置30A〜30Eにアクセスが許可されたサーバ端末10、PC端末20A〜20DのMACアドレスの組合せと、入力部12により入力された複数のMACアドレス、及びサーバ端末10、PC端末20A〜20Dに実行が許可された複数の処理内容の組合せと、の入力を受け付ける。そして、サーバ端末10は、前記入力された複数のシリアルNO及び複数のMACアドレスの組合せから装置設定ファイル330を生成し、前記入力された複数のMACアドレス及び複数の処理内容の組合せから処理設定ファイル340を生成して外部記憶装置30A〜30Eに記憶する。このため、設定ファイル400を容易に生成できて、外部記憶装置30A〜30Eに記憶できる。   Further, the server terminal 10 is permitted to access the serial NO 310 acquired from the connected external storage devices 30A to 30E and the external storage devices 30A to 30E input by the input unit 12 by the setting process. A combination of MAC addresses of the PC terminals 20A to 20D, a plurality of MAC addresses input by the input unit 12, and a combination of a plurality of processing contents permitted to be executed by the server terminal 10 and the PC terminals 20A to 20D. Accept input. Then, the server terminal 10 generates a device setting file 330 from the combination of the plurality of input serial numbers and the plurality of MAC addresses, and the process setting file from the combination of the plurality of input MAC addresses and the plurality of processing contents. 340 is generated and stored in the external storage devices 30A to 30E. For this reason, the setting file 400 can be easily generated and stored in the external storage devices 30A to 30E.

また、サーバ端末10は、データ同期処理により、外部記憶装置30Dが接続された場合に、連番情報110に応じてDB350の前回同期日時以降の同期データの該当項目のレコードの連番を更新し、DB120に同期データを追加して更新し、DB120の更新に応じて連番情報110を更新し、DB350をDB120のデータ内容で上書きし、連番情報110に応じて連番情報320を更新する。このため、ユーザがデータの重複の確認をすることなく、外部記憶装置30DのDB350及び連番情報320と、サーバ端末10のDB120及び連番情報110と、を容易且つ確実に同期させることができる。   Further, when the external storage device 30D is connected by the data synchronization process, the server terminal 10 updates the serial number of the record of the corresponding item of the synchronous data after the previous synchronization date and time of the DB 350 according to the serial number information 110. The synchronous data is added to the DB 120 and updated, the serial number information 110 is updated according to the update of the DB 120, the DB 350 is overwritten with the data content of the DB 120, and the serial number information 320 is updated according to the serial number information 110. . For this reason, the DB 350 and serial number information 320 of the external storage device 30D and the DB 120 and serial number information 110 of the server terminal 10 can be easily and reliably synchronized without the user confirming data duplication. .

なお、上記実施の形態における記述は、本発明に係るデータ処理装置及びプログラムの一例であり、これに限定されるものではない。   The description in the above embodiment is an example of the data processing apparatus and the program according to the present invention, and the present invention is not limited to this.

例えば、上記実施の形態では、外部記憶装置30A〜30Eに、設定ファイル400として装置設定ファイル330及び処理設定ファイル340を記憶する構成としたが、これに限定されるものではない。例えば、設定ファイル400として装置設定ファイル330のみを記憶する構成してもよい。この場合にも、装置設定ファイル330により、外部記憶装置30A〜30Eに対して、各外部記憶装置にアクセス許可されたサーバ端末10、PC端末20A〜20Dがアクセスできるとともに、外部記憶装置の不正コピーを防止できる。さらに、外部記憶装置30A〜30Eで、同一の装置設定ファイル330を記憶すればよいため、外部記憶装置30A〜30Eへの情報記憶の作業負担を低減できる。特に、アクセス対象のプログラム及びデータを同一とすれば、外部記憶装置30A〜30Eに同じ情報を記憶すればよいため、ユーザによる外部記憶装置30A〜30Eへの情報記憶の作業負担をさらに低減できる。   For example, in the above-described embodiment, the device setting file 330 and the processing setting file 340 are stored as the setting file 400 in the external storage devices 30A to 30E. However, the present invention is not limited to this. For example, only the device setting file 330 may be stored as the setting file 400. Also in this case, the device setting file 330 allows the external storage devices 30A to 30E to be accessed by the server terminal 10 and the PC terminals 20A to 20D that are permitted to access the external storage devices, and unauthorized copying of the external storage devices. Can be prevented. Furthermore, since the same device setting file 330 may be stored in the external storage devices 30A to 30E, the work load of information storage in the external storage devices 30A to 30E can be reduced. In particular, if the programs and data to be accessed are the same, the same information only needs to be stored in the external storage devices 30A to 30E, so that the burden of information storage on the external storage devices 30A to 30E by the user can be further reduced.

また、外部記憶装置30A〜30Eに記憶されるアクセス対象の情報は、プログラム及びデータの少なくとも一つとしてもよい。また、設定処理において、サーバ端末10のCPU11は、設定ファイル400と、DB350等のアクセス対象の情報と、の少なくとも一つを暗号化して外部記憶装置30A〜30Eに記憶することが好ましい。さらに、外部記憶装置30A〜30Eに記憶する情報全てを暗号化する構成としてもよい。サーバ端末10、PC端末20A〜20Dにおいて、外部記憶装置30A〜30Eから暗号化された情報を読み出す場合には、復号化が行われる。   Further, the access target information stored in the external storage devices 30A to 30E may be at least one of a program and data. In the setting process, it is preferable that the CPU 11 of the server terminal 10 encrypts and stores at least one of the setting file 400 and information to be accessed such as the DB 350 in the external storage devices 30A to 30E. Further, all the information stored in the external storage devices 30A to 30E may be encrypted. When the server terminal 10 and the PC terminals 20A to 20D read the encrypted information from the external storage devices 30A to 30E, decryption is performed.

また、設定処理は、サーバ端末10で実行される構成としたが、PC20A〜20Dで実行される構成としてもよい。   The setting process is configured to be executed by the server terminal 10, but may be configured to be executed by the PCs 20A to 20D.

また、上記実施の形態では、接続部17又は27に、外部記憶装置が同時に1台接続されるものとしたが、これに限定されるものではなく、同時に複数台接続される構成としてもよい。特に、データ同期処理において、外部記憶装置を同時に複数台同期する場合に、データを入力した日時の順に連番を再割り当てすることで、連番と、データ入力日時との順序を合致させることができる。   In the above embodiment, one external storage device is connected to the connection unit 17 or 27 at the same time. However, the present invention is not limited to this, and a configuration in which a plurality of external storage devices are connected at the same time is also possible. In particular, when synchronizing multiple external storage devices at the same time in data synchronization processing, it is possible to match the order of the serial number and the data input date and time by reassigning the serial number in the order of the data input date and time. it can.

また、上記実施の形態では、処理設定ファイル340において、一つのMACアドレス341に一つの処理内容342を対応させる構成としたが、これに限定されるものではなく、一つのMACアドレスに複数の処理の処理内容を対応させる構成としてもよい。また、MACアドレスに処理のパラメータを対応させる構成としてもよい。例えば、データ同期処理において、同期するDBの種類や範囲等を、端末毎や、外部記憶装置毎に設定できるようにすることによって、必要なデータのみの同期を行わせることが可能となる。   In the above embodiment, the processing setting file 340 has a configuration in which one processing content 342 is associated with one MAC address 341. However, the present invention is not limited to this, and a plurality of processing is performed for one MAC address. It is good also as a structure which respond | corresponds. Further, a configuration may be adopted in which processing parameters are associated with MAC addresses. For example, in the data synchronization process, it is possible to synchronize only necessary data by enabling the type and range of the DB to be synchronized to be set for each terminal or for each external storage device.

また、上記実施の形態の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体として記憶部15,25を使用した例を開示したが、この例に限定されない。
その他のコンピュータ読み取り可能な媒体として、フラッシュメモリ等の不揮発性メモリ、CD-ROM等の可搬型記録媒体を適用することが可能である。
また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In the description of the above embodiment, the example in which the storage units 15 and 25 are used as the computer-readable medium of the program according to the present invention is disclosed, but the present invention is not limited to this example.
As other computer-readable media, a non-volatile memory such as a flash memory and a portable recording medium such as a CD-ROM can be applied.
A carrier wave is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.

また、上記実施の形態における、データ処理システム1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。   Moreover, it is needless to say that the detailed configuration and detailed operation of each component of the data processing system 1 in the above embodiment can be appropriately changed without departing from the gist of the present invention.

本発明に係る実施の形態のデータ処理システムの構成を示す図である。It is a figure which shows the structure of the data processing system of embodiment which concerns on this invention. サーバ端末の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a server terminal. PC端末の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of PC terminal. (a)は、サーバ端末に記憶されるプログラム及びデータを示す図である。(b)は、PC端末に記憶されるプログラム及びデータを示す図である。(c)は、外部記憶装置に記憶されるプログラム及びデータを示す図である。(A) is a figure showing a program and data memorized by a server terminal. (B) is a figure which shows the program and data which are memorize | stored in PC terminal. (C) is a diagram showing programs and data stored in the external storage device. (a)は、装置設定ファイルの構成を示す図である。(b)は、処理設定ファイルの構成を示す図である。(A) is a figure which shows the structure of an apparatus setting file. (B) is a figure which shows the structure of a process setting file. サーバ端末で実行される設定処理を示すフローチャートである。It is a flowchart which shows the setting process performed with a server terminal. サーバ端末で実行される接続認識サービス処理を示すフローチャートである。It is a flowchart which shows the connection recognition service process performed with a server terminal. 接続認識サービス処理のデータ同期処理を示すフローチャートである。It is a flowchart which shows the data synchronization process of a connection recognition service process. (a)は、外部記憶装置が接続されたPC端末におけるメニュー処理起動時のデータの流れを示す図である。(b)は、外部記憶装置が接続されたPC端末における伝票入力処理起動時のデータの流れを示す図である。(A) is a figure which shows the data flow at the time of the menu process start in the PC terminal to which the external storage device was connected. (B) is a figure which shows the data flow at the time of the slip input process starting in the PC terminal to which the external storage device was connected. 外部記憶装置が接続されたサーバ端末におけるデータ同期処理実行時のデータの流れを示す図である。It is a figure which shows the data flow at the time of the data synchronous process execution in the server terminal to which the external storage device was connected. (a)は、データ同期処理実行前の外部記憶装置のDBのファイル及び連番情報を示す図である。(b)は、データ同期処理実行後のサーバ端末のDBのファイル及び連番情報を示す図である。(A) is a figure which shows the file and serial number information of DB of the external storage device before execution of a data synchronous process. (B) is a diagram showing the DB file and serial number information of the server terminal after execution of the data synchronization processing. データ同期処理実行後の外部記憶装置のDBのファイル及び連番情報を示す図である。It is a figure which shows the file and serial number information of DB of the external storage device after execution of a data synchronous process.

符号の説明Explanation of symbols

1 データ処理システム
10 サーバ端末
20A〜20D PC端末
11,21 CPU
12,22 入力部
13,23 RAM
14,24 表示部
15,25 記憶部
16,26 通信部
17,27 接続部
18,28 計時部
19,29 バス
30A〜30E 外部記憶装置
1 Data Processing System 10 Server Terminals 20A to 20D PC Terminals 11 and 21 CPU
12, 22 Input unit 13, 23 RAM
14, 24 Display unit 15, 25 Storage unit 16, 26 Communication unit 17, 27 Connection unit 18, 28 Timing unit 19, 29 Bus 30A-30E External storage device

Claims (5)

複数の外部記憶装置を識別する複数の第1の識別情報、及び当該各外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報の組合せを有する第1のテーブルと、自己の外部記憶装置を識別する第1の識別情報と、データ処理に用いられるプログラム及びデータの少なくとも一つと、が記憶された外部記憶装置が接続される接続手段と、
自己のデータ処理装置を識別する第2の識別情報を記憶する識別情報記憶手段と、
前記接続手段に接続された外部記憶装置から当該外部記憶装置の第1の識別情報と前記第1のテーブルとを取得し、前記識別情報記憶手段から第2の識別情報を取得し、当該取得した第1の識別情報及び第2の識別情報の組合せが前記第1のテーブルに存在するか否かを判別し、当該第1の識別情報及び第2の識別情報の組合せが存在する場合に、前記接続されている外部記憶装置に記憶されるプログラム及びデータの少なくとも一つにアクセスしてデータ処理を行う制御手段と、を備えるデータ処理装置。
A first table having a combination of a plurality of first identification information for identifying a plurality of external storage devices and a plurality of second identification information for identifying data processing devices permitted to access the respective external storage devices; Connection means to which an external storage device storing first identification information for identifying its own external storage device and at least one of a program and data used for data processing is connected;
Identification information storage means for storing second identification information for identifying its own data processing device;
Obtaining the first identification information and the first table of the external storage device from the external storage device connected to the connection means, obtaining the second identification information from the identification information storage means, and obtaining It is determined whether or not a combination of the first identification information and the second identification information exists in the first table, and when the combination of the first identification information and the second identification information exists, A data processing apparatus comprising: control means for performing data processing by accessing at least one of a program and data stored in a connected external storage device.
前記外部記憶装置は、複数のデータ処理装置を識別する複数の第2の識別情報と、当該各データ処理装置に実行が許可された複数の処理の処理内容と、の組合せを有する第2のテーブルが記憶され、
前記制御手段は、前記接続手段に接続された外部記憶装置から第2のテーブルを取得し、前記接続された外部記憶装置から取得された第1の識別情報と、前記識別情報記憶手段から取得された第2の識別情報と、の組合せが前記第1のテーブルに存在する場合に、当該第2の識別情報に対応する処理内容が前記第2のテーブルに記述されている否かを確認し、当該処理内容が記述されている場合に、前記接続手段に接続されている外部記憶装置に記憶された当該処理内容に対応するプログラム及びデータの少なくとも一つにアクセスする制御手段と、を備える請求項1に記載のデータ処理装置。
The external storage device is a second table having a combination of a plurality of pieces of second identification information for identifying a plurality of data processing devices, and processing contents of a plurality of processes permitted to be executed by the respective data processing devices. Is remembered,
The control means acquires a second table from an external storage device connected to the connection means, and acquires the first identification information acquired from the connected external storage device and the identification information storage means. When the combination of the second identification information and the second identification information exists in the first table, check whether or not the processing content corresponding to the second identification information is described in the second table, And a control means for accessing at least one of a program and data corresponding to the processing content stored in an external storage device connected to the connection means when the processing content is described. The data processing apparatus according to 1.
前記接続手段に接続された複数の外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報と、前記複数のデータ処理装置を識別する複数の第2の識別情報、及び当該各データ処理装置に実行が許可された複数の処理の処理内容の組合せと、の入力を受け付ける入力手段を備え、
前記制御手段は、前記接続された複数の外部記憶装置から第1の識別情報を取得し、当該取得した複数の第1の識別情報及び前記入力された複数の第2の識別情報の組合せから第1のテーブルを生成し、前記入力された複数の第2の識別情報及び複数の処理内容の組合せから第2のテーブルを生成し、当該生成した第1のテーブル及び第2のテーブルを前記接続手段に新たに接続された外部記憶装置に記憶する請求項2に記載のデータ処理装置。
A plurality of second identification information for identifying data processing devices permitted to access a plurality of external storage devices connected to the connection means; a plurality of second identification information for identifying the plurality of data processing devices; And an input means for receiving an input of a combination of processing contents of a plurality of processes permitted to be executed by each data processing device,
The control means obtains first identification information from the plurality of connected external storage devices, and obtains the first identification information from a combination of the obtained plurality of first identification information and the inputted plurality of second identification information. 1 table is generated, a second table is generated from the combination of the plurality of inputted second identification information and a plurality of processing contents, and the generated first table and second table are connected to the connection means. The data processing device according to claim 2, wherein the data processing device is stored in an external storage device newly connected.
第1のデータベースと、当該第1のデータベースの更新に応じて発番される連番を示す第1の連番情報と、を記憶するデータベース記憶手段を備え、
前記接続手段に接続された前記外部記憶装置は、前記第1のデータベースに対応する第2のデータベースと、当該第2のデータベースの更新に応じて発番される連番を示す第2の連番情報と、を記憶し、
前記制御手段は、前記接続された外部記憶装置から取得された第1の識別情報と、前記識別情報記憶手段から取得された第2の識別情報と、の組合せが前記第1のテーブルに含まれ、当該第2の識別情報に対応する処理内容がデータ同期処理である場合に、前記第1の連番情報に応じて前記第2のデータベースの同期対象のデータの連番を更新し、前記第1のデータベースを当該同期対象のデータで更新し、当該第1のデータベースの更新に応じて前記第1の連番情報を更新し、前記第2のデータベースを前記第1のデータベースで上書きし、前記第1の連番情報に応じて前記第2の連番情報を更新する請求項2又は3に記載のデータ処理装置。
Database storage means for storing a first database and first serial number information indicating a serial number issued in response to the update of the first database;
The external storage device connected to the connection means includes a second database corresponding to the first database, and a second serial number indicating a serial number issued in response to the update of the second database. Memorize information,
The control means includes a combination of first identification information acquired from the connected external storage device and second identification information acquired from the identification information storage means in the first table. When the processing content corresponding to the second identification information is data synchronization processing, the serial number of the synchronization target data in the second database is updated according to the first serial number information, and the second Updating one database with the data to be synchronized, updating the first serial number information in accordance with the update of the first database, overwriting the second database with the first database, The data processing apparatus according to claim 2 or 3, wherein the second serial number information is updated according to the first serial number information.
コンピュータを、
複数の外部記憶装置を識別する複数の第1の識別情報、及び当該各外部記憶装置にアクセスが許可されたデータ処理装置を識別する複数の第2の識別情報の組合せを有する第1のテーブルと、自己の外部記憶装置を識別する第1の識別情報と、データ処理に用いられるプログラム及びデータの少なくとも一つと、が記憶された外部記憶装置が接続される接続手段、
自己のデータ処理装置を識別する第2の識別情報を記憶する識別情報記憶手段、
前記接続手段に接続された外部記憶装置から当該外部記憶装置の第1の識別情報と前記第1のテーブルとを取得し、前記識別情報記憶手段から第2の識別情報を取得し、当該取得した第1の識別情報及び第2の識別情報の組合せが前記第1のテーブルに存在するか否かを判別し、当該第1の識別情報及び第2の識別情報の組合せが存在する場合に、前記接続されている外部記憶装置に記憶されるプログラム及びデータの少なくとも一つにアクセスしてデータ処理を行う制御手段、
として機能させるためのプログラム。
Computer
A first table having a combination of a plurality of first identification information for identifying a plurality of external storage devices and a plurality of second identification information for identifying data processing devices permitted to access the respective external storage devices; Connection means to which an external storage device storing first identification information for identifying its own external storage device and at least one of a program and data used for data processing is connected;
Identification information storage means for storing second identification information for identifying its own data processing device;
Obtaining the first identification information and the first table of the external storage device from the external storage device connected to the connection means, obtaining the second identification information from the identification information storage means, and obtaining It is determined whether or not a combination of the first identification information and the second identification information exists in the first table, and when the combination of the first identification information and the second identification information exists, Control means for performing data processing by accessing at least one of a program and data stored in a connected external storage device;
Program to function as.
JP2008226896A 2008-09-04 2008-09-04 Data processing apparatus and program Expired - Fee Related JP5151827B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008226896A JP5151827B2 (en) 2008-09-04 2008-09-04 Data processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008226896A JP5151827B2 (en) 2008-09-04 2008-09-04 Data processing apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012261787A Division JP5569580B2 (en) 2012-11-30 2012-11-30 Data processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2010061429A true JP2010061429A (en) 2010-03-18
JP5151827B2 JP5151827B2 (en) 2013-02-27

Family

ID=42188160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008226896A Expired - Fee Related JP5151827B2 (en) 2008-09-04 2008-09-04 Data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5151827B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2843581A1 (en) 2013-08-27 2015-03-04 Digital Electronics Corporation Programmable display device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311083A (en) * 1999-04-28 2000-11-07 Casio Comput Co Ltd Portable terminal equipment, data distributing device and method and system for accessing data
JP2006065829A (en) * 2004-07-30 2006-03-09 Fujitsu Social Science Laboratory Ltd Simple medium use management system, computer, simple medium use management method, simple medium use management program, and program for simple medium use

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311083A (en) * 1999-04-28 2000-11-07 Casio Comput Co Ltd Portable terminal equipment, data distributing device and method and system for accessing data
JP2006065829A (en) * 2004-07-30 2006-03-09 Fujitsu Social Science Laboratory Ltd Simple medium use management system, computer, simple medium use management method, simple medium use management program, and program for simple medium use

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2843581A1 (en) 2013-08-27 2015-03-04 Digital Electronics Corporation Programmable display device
US9715503B2 (en) 2013-08-27 2017-07-25 Digital Electronics Corporation Programmable display device

Also Published As

Publication number Publication date
JP5151827B2 (en) 2013-02-27

Similar Documents

Publication Publication Date Title
US20080027742A1 (en) Information processing method, information processing apparatus, computer program and storage medium
US9135427B2 (en) Authentication using a subset of a user-known code sequence
JP2006079592A (en) Authentication system, card and authentication method
KR20110021183A (en) Computer system, control method thereof and recording medium storing computer program thereof
CA2840158C (en) Information processing device, control method therefor, program, and information storage medium
JP5151827B2 (en) Data processing apparatus and program
JP2010514037A (en) Data management method and device in distributed environment
JP5350644B2 (en) Data management system, data management device, information processing device, and computer program
JP5569580B2 (en) Data processing apparatus and program
JP5584548B2 (en) Storage medium for program and license management, server and computer system
JP2005267307A (en) Screen formation device, method, program and storage medium
JP2005339273A (en) Electronic apparatus
JP2009282794A (en) Device for restricting number of use
JP5353557B2 (en) Information processing apparatus, access method, and program
JP2009258960A (en) File management device
JP5443231B2 (en) Information processing apparatus, information processing method, and program
JP2019128867A (en) Design information managing system, design information managing method, and program
WO2022064865A1 (en) Receipt server, information processing method, and program storage medium
JP2003296638A (en) Document control system, pre-reading demonstrating method and program
JP4484617B2 (en) Recording medium guarantee method, guarantee management program, and guarantee processing program
JP2005209069A (en) Database controller
JP2006252177A (en) Card-updating apparatus, card-updating system, card-updating method, card-updating program, storage medium and ic card
JP6519150B2 (en) Program, control device and control method
JP2022066016A (en) Image management system, image management method, and program
JP2024010265A (en) Program, information processing device, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110530

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120727

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120927

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121119

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5151827

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees