JP3170834U - DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents

DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDF

Info

Publication number
JP3170834U
JP3170834U JP2011002619U JP2011002619U JP3170834U JP 3170834 U JP3170834 U JP 3170834U JP 2011002619 U JP2011002619 U JP 2011002619U JP 2011002619 U JP2011002619 U JP 2011002619U JP 3170834 U JP3170834 U JP 3170834U
Authority
JP
Japan
Prior art keywords
data
item
layout
resource
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011002619U
Other languages
Japanese (ja)
Inventor
明彦 八島
明彦 八島
均 三幣
均 三幣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Social Science Labs Ltd
Original Assignee
Fujitsu Social Science Labs 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 Fujitsu Social Science Labs Ltd filed Critical Fujitsu Social Science Labs Ltd
Priority to JP2011002619U priority Critical patent/JP3170834U/en
Application granted granted Critical
Publication of JP3170834U publication Critical patent/JP3170834U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

【課題】大規模業務処理システムにおいて、通信電文や業務マスタのレイアウト変更に伴う改修を不要とし、既存システムの容易な再構築を可能にするデータ処理装置を提供する。【解決手段】個別業務アプリ10から呼び出されるデータ管理部品モジュール20は、電文や業務マスタ16などの外部から固定のレイアウトで入力されるデータを、予めレイアウトごとに設定されたレイアウト変換方法を示すナビゲーションテーブル記憶部30に格納されたナビゲーション情報に従って内部データ形式に変換して内部形式データ記憶部21に保持し、個別業務アプリ10に対して、内部データ形式に変換されたデータの参照、更新、削除の処理機能を提供し、個別業務アプリ10がそれらのデータを、レイアウト可変で扱うことができるようにする。【選択図】図1In a large-scale business processing system, there is provided a data processing apparatus that eliminates the need for modification associated with a layout change of a communication message or a business master and enables an easy reconstruction of an existing system. A data management component module 20 called from an individual business application 10 is a navigation that indicates a layout conversion method in which data inputted in a fixed layout from outside such as a telegram or a business master 16 is set in advance for each layout. According to the navigation information stored in the table storage unit 30, the data is converted into the internal data format and stored in the internal format data storage unit 21, and the individual business application 10 references, updates, and deletes the data converted into the internal data format The individual business application 10 can handle these data with variable layout. [Selection] Figure 1

Description

本考案は,レイアウト変換機能を有するデータ処理装置およびデータ管理部品プログラムとそのプログラムを記録した記録媒体に関し,特に,多数の業務アプリケーションプログラム(以下,業務アプリという)が存在するシステムにおいて,通信電文や業務マスタのレイアウト変更に伴う改修を不要とし,既存システムの容易な再構築を可能にするためのコンピュータ技術に関する。 The present invention relates to a data processing device having a layout conversion function, a data management component program, and a recording medium on which the program is recorded, and particularly in a system in which a large number of business application programs (hereinafter referred to as business applications) exist. The present invention relates to a computer technology for making it possible to easily reconstruct an existing system without the need for refurbishment due to a layout change of a business master.

図15は,従来システムの例を示す図である。サーバ100は,複数の個別業務アプリ110を搭載し,これらの個別業務アプリ110によって各種の業務処理を遂行する。サーバ100は,ネットワークを介して複数のクライアント40または他のコンピュータ・システム(以下,他システムという)41に接続され,クライアント40または他システム41との間でそれぞれ電文を送受信することにより,業務処理を行う。通信パッケージ113は,クライアント40または他システム41との通信プロトコルに応じた通信制御を行うモジュールである。電文制御部114は,電文の送受信先に応じた電文の振り分け制御を行うモジュールである。 FIG. 15 is a diagram illustrating an example of a conventional system. The server 100 is equipped with a plurality of individual business applications 110 and performs various business processes by these individual business applications 110. The server 100 is connected to a plurality of clients 40 or other computer systems (hereinafter referred to as other systems) 41 via a network, and transmits / receives messages to / from the clients 40 or other systems 41, thereby performing business processing. I do. The communication package 113 is a module that performs communication control according to a communication protocol with the client 40 or another system 41. The message control unit 114 is a module that performs message distribution control according to a message transmission / reception destination.

各クライアント40または他システム41との間の電文は,それぞれシステムまたは業務ごとに予めデータのレイアウト(フォーマット)が決められており,例えば個別業務アプリ110が異なれば,電文のレイアウトも異なっていることが多かった。 The message between each client 40 or other system 41 has a data layout (format) determined in advance for each system or business. For example, if the individual business application 110 is different, the message layout is also different. There were many.

業務マスタ116は,個別業務アプリ110による業務処理において参照または更新されるデータベースであり,アクセス部品115は,業務マスタ116へアクセスするためのデータベース管理システムが提供するプログラム群である。業務マスタ116に格納されるデータのレイアウト,すなわちデータベースの各レコードも予め固定的に決められており,各個別業務アプリ110は,データのレイアウトを意識して業務処理を遂行していた。 The business master 116 is a database that is referred to or updated in business processing by the individual business application 110, and the access component 115 is a program group provided by the database management system for accessing the business master 116. The layout of data stored in the business master 116, that is, each record in the database, is also fixedly determined in advance, and each individual business application 110 executes business processing in consideration of the data layout.

したがって,従来,電文や業務マスタ116のレイアウト変更が必要になると,それに伴い,個別業務アプリ110を必ず改修しなければならなかった。 Therefore, conventionally, when it is necessary to change the layout of the electronic message or the business master 116, the individual business application 110 must be repaired accordingly.

また,このようなサーバ100のシステムは,規模が大きくなればなるほど,長い年月にわたって継続的に使用されることが多いため,機能改良や機能拡張または新しい他のシステムとの接続などに伴い,個別業務アプリ110の本数が増え,プログラム資産が膨大なものになる傾向がある。これらの多数の個別業務アプリ110の中には,類似したプログラムが多数存在し,もし,システムの再構築によって,類似する個別業務アプリ110の統合・共通化を図ることができれば,プログラム資産の数量を削減し,プログラム群の保守を含むプログラム資産の管理が容易になると考えられるが,電文や業務マスタ116のデータのレイアウトの相違から,共通化を図るのは大規模システムにおいては極めて難しい状況にあるのが現状である。 Also, as the system of such a server 100 becomes larger, it is often used continuously for many years. Therefore, along with function improvement, function expansion, or connection with another new system, There is a tendency that the number of individual business applications 110 increases and program resources become enormous. Among these many individual business applications 110, there are many similar programs. If the similar individual business applications 110 can be integrated and standardized by reconstructing the system, the number of program assets Although it is considered that the management of program assets including the maintenance of the program group becomes easy, it is extremely difficult to make common in large-scale systems due to the difference in the data layout of the telegram and the business master 116. There is the present situation.

業務処理アプリケーションの新規導入や,改版・改修の影響が少なく,人事異動,組織変更に柔軟に対応できる業務処理システムの統合管理方式を実現するものとして,下記の特許文献1に記載された技術がある。しかし,この技術は,主としてユーザインタフェースの統一化や簡略化を図るものであり,クライアントや他システムのとの間のインタフェースに影響を与えないで,段階的に既存システムを再構築するような場合に用いることができる技術ではない。 The technology described in Patent Document 1 below is a technology that realizes an integrated management system for business processing systems that can be flexibly adapted to personnel changes and organizational changes with little impact from new introductions, revisions, and modifications of business processing applications. is there. However, this technology is mainly intended to unify and simplify the user interface, and in cases where an existing system is reconstructed step by step without affecting the interface between the client and other systems. It is not a technique that can be used for this.

また,統合システムに統合が容易な形式のシステムアーキテクチャに基づいて管理システムを構築し,重複機能の共通化,データ連動に対する高信頼度化,および機能の拡張性に対する高い柔軟性を備えるシステムを実現するものとして,下記の特許文献2に記載された管理システムのデータ階層構造およびデータ階層構築方法がある。しかし,この技術も,クライアントや他システムのとの間のインタフェースに影響を与えないで,段階的に既存システムを再構築するような場合に用いることができる技術ではない。
特開2000−250872号公報 特開2003−91634号公報
In addition, a management system is built based on a system architecture that can be easily integrated into an integrated system, and a system with high duplication function, high reliability for data linkage, and high flexibility for function expansion is realized. There is a data hierarchy structure and a data hierarchy construction method of the management system described in Patent Document 2 below. However, this technique is also not a technique that can be used when an existing system is reconstructed step by step without affecting the interface between the client and other systems.
JP 2000-250872 A JP 2003-91634 A

例えば,図15に示すシステムにおいて,あるクライアント40からくる電文Xが“項目a,項目b,項目c”の順番のレイアウトA1であり,他のクライアント40からくる電文Yが“項目a,項目c,項目b”の順番のレイアウトA2であったとする。この場合,電文X,Yの実質的な内容はa,b,cというように同じであっても,電文X,YのレイアウトがA1,A2と異なるため,従来,それぞれ異なる個別業務アプリ(A1)110および個別業務アプリ(A2)110で各電文が処理されていた。 For example, in the system shown in FIG. 15, a message X coming from a client 40 has a layout A1 in the order of “item a, item b, item c”, and a message Y coming from another client 40 is “item a, item c”. , Item b ″ in the order of layout A2. In this case, even if the substantial contents of the messages X and Y are the same as a, b, and c, the layout of the messages X and Y is different from that of A1 and A2. ) 110 and the individual business application (A2) 110, each message was processed.

サーバ100のシステムを再構築し,ほとんど類似する機能を持つ個別業務アプリ(A1)110および個別業務アプリ(A2)110を一つに統合して,プログラム資源の整理を図る方法の一つとして考えられるのは,クライアント40側の電文X,Yのいずれかのレイアウトを変更して,レイアウトA1またはA2のいずれか一つに統合することである。 Reconstructing the system of the server 100 and consolidating the individual business application (A1) 110 and the individual business application (A2) 110 having almost similar functions into one, and considered as one method for organizing program resources What is done is to change the layout of one of the messages X, Y on the client 40 side and integrate it into one of the layouts A1 or A2.

しかしながら,クライアント40や他システム41などとの電文の外部インタフェースは,必ずしもいつも容易に変更することができるとは限らず,外部条件によっては非常に変更が困難である場合や変更ができない場合がある。例えば,クライアント40や他システム41の数が数百台〜数千台というように数が多い場合や,クライアント40や他システム41において送受信する電文がさらに他のサーバ・システムでも同じ固定のレイアウトで利用されているような場合である。 However, the external interface of a message with the client 40 or another system 41 cannot always be easily changed, and it may be difficult or impossible to change depending on external conditions. . For example, when the number of clients 40 and other systems 41 is large, such as hundreds to thousands, or messages transmitted and received in the clients 40 and other systems 41 are the same fixed layout in other server systems. This is the case.

クライアント40や他システム41などとの電文の外部インタフェースに影響を与えないで,すなわち各クライアント40や他システム41の電文のレイアウトは既存の形式のままで,類似した個別業務アプリ110を一本化することができれば,非常に膨大になり過ぎたプログラム資産の整理・統合が実用的なレベルで実現可能になると考えられる。特に,外部インタフェースに影響を与えないで,プログラム資産の整理・統合が可能になれば,既存のサーバ100の膨大なプログラム資産からなるシステムを段階的に再構築することができるようになり,一度にすべてのシステムを置き換えるような必要がなくなるため,継続的にしかも安全にシステム全体の改版を行うこともできるようになると考えられる。 Without affecting the external interface of messages with the client 40 or other system 41, that is, the message layout of each client 40 or other system 41 remains in the existing format, and a similar individual business application 110 is unified. If it can be done, it will be possible to organize and integrate program assets that have become too large at a practical level. In particular, if it becomes possible to organize and integrate program assets without affecting the external interface, it becomes possible to reconstruct a system consisting of a huge amount of program assets of the existing server 100 in stages. This eliminates the need to replace all systems in the system, so that the entire system can be revised continuously and safely.

また,新しい個別業務アプリを開発し,システムに追加する場合にも,電文のレイアウトが可変であれば,異なるレイアウトの電文を送受信する複数のクライアントや他システムにも新しい個別業務アプリが対応することができ,個別業務アプリの共通化,汎用化が可能になると考えられる。 In addition, when a new individual business application is developed and added to the system, if the message layout is variable, the new individual business application must support multiple clients and other systems that send and receive messages with different layouts. It will be possible to make individual business applications common and general.

以上では,電文のレイアウトに関する問題を述べたが,電文のレイアウトに限らず,業務マスタ116におけるデータのレイアウト,すなわちレコードのデータ形式(レコードフォーマット等)の違いについても,同様にプログラム資産が増大化する原因の一つとなっている。個別業務アプリ110が,業務マスタ116におけるデータの物理的なデータ構成であるレイアウトを意識することなく,論理的な識別情報だけでデータ処理を行うことができれば,システムの再構築による個別業務アプリ110の統合が可能になると考えられる。 In the above, the problem regarding the message layout has been described. However, not only the message layout but also the data layout in the business master 116, that is, the difference in the record data format (record format, etc.), the program resources are similarly increased. It is one of the causes. If the individual business application 110 can perform data processing with only logical identification information without being conscious of the layout that is the physical data structure of the data in the business master 116, the individual business application 110 by reconfiguring the system. Can be integrated.

さらにまた,各個別業務アプリ110に共通化した処理を,統一的に行うことができるような仕組みがあれば,無駄なプログラム資産のさらなる削減が可能になる。 Furthermore, if there is a mechanism that can perform the processing common to the individual business applications 110 in a unified manner, it is possible to further reduce useless program assets.

本考案は,従来システムにおける電文/業務マスタのレイアウトの相違が,業務アプリの共通化を阻害し,プログラム資産の増加を招いているという問題,また,電文/業務マスタのレイアウトの変更で,プログラム資産の改修が発生するという問題,また,他システムインタフェースや共通の業務マスタの変更要件による束縛から,容易にプログラムを整備することができないという問題の解決を図り,特に,段階的に多数の個別業務アプリからなるシステムの再構築を可能とする手段を提供することを目的とする。 The present invention has the problem that the difference in the layout of the telegram / business master in the conventional system hinders the common use of business applications, leading to an increase in program resources, and the change in the layout of the telegram / business master, Solves the problem of asset renovation, and the problem that the program cannot be easily maintained due to the constraints imposed by the change requirements of other system interfaces and common business masters. An object is to provide a means for enabling the reconstruction of a system composed of business applications.

本考案は,上記課題を解決するため,電文や業務マスタなどの外部から固定のレイアウトで入力されるデータを,予めレイアウトごとに設定されたレイアウト変換方法を示すナビゲーション情報に従って内部データ形式に変換して保持し,個別業務アプリに対して,内部データ形式に変換されたデータの参照,更新,削除の処理機能を提供し,個別業務アプリがそれらのデータを,レイアウト可変で扱うことができるようにするためのデータ管理部品処理手段をデータ処理装置に組み込み,各個別業務アプリが,データ管理部品処理手段を利用することによってデータをアクセスするようにしたことを特徴とする。 In order to solve the above problems, the present invention converts data input from a fixed layout such as a telegram or business master into an internal data format according to navigation information indicating a layout conversion method set in advance for each layout. The function to refer to, update, and delete the data converted into the internal data format is provided to the individual business application so that the individual business application can handle the data with variable layout. The data management component processing means for executing the data management device is incorporated in the data processing apparatus, and each individual business application accesses the data by using the data management component processing means.

詳しくは,本考案は,端末もしくは他のコンピュータシステムまたは外部記憶装置との間で,それぞれ予め定められたレイアウトに従って構成されたデータを入出力し,アプリケーションプログラムを実行するプロセスによってデータを処理するデータ処理装置において,前記レイアウトのデータ構成情報と,前記レイアウトとは独立した当該データ処理装置内で保持される内部データ形式を定めるデータ構成情報との対応情報を,レイアウト変換のナビゲーション情報として記憶するナビゲーション情報記憶手段と,前記アプリケーションプログラムのプロセスによって呼び出され,端末もしくは他のコンピュータシステムまたは外部記憶装置から入力されたデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,前記入力されたデータのレイアウトに対応する前記内部データ形式のデータに変換して内部のデータ記憶部に格納するレイアウト変換の処理を行い,端末もしくは他のコンピュータシステムまたは外部記憶装置へデータを出力する際に,前記内部のデータ記憶部に格納されている出力対象となっている内部データ形式のデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,出力先のレイアウトに対応するデータに変換して出力する処理を行い,かつ,前記アプリケーションプログラムのプロセスからの要求に従って,前記内部のデータ記憶部に格納されたデータの少なくとも参照,更新または削除の処理を行うデータ管理部品処理手段とを備えることを特徴とする。 Specifically, the present invention is a data processing device that inputs / outputs data configured according to a predetermined layout to / from a terminal, another computer system, or an external storage device, and processes the data by a process that executes an application program. Navigation that stores correspondence information between data configuration information of the layout and data configuration information that defines an internal data format held in the data processing device independent of the layout, as navigation information for layout conversion. Data stored in the navigation information storage means is stored in the information storage means and data input by a process of the application program and input from a terminal or another computer system or an external storage device. The data is transferred to a terminal or another computer system or an external storage device by performing layout conversion processing for converting into data in the internal data format corresponding to the layout of the input data and storing the data in an internal data storage unit. When outputting, the data in the internal data format to be output stored in the internal data storage unit is converted into data corresponding to the output destination layout according to the navigation information stored in the navigation information storage means. Data management component processing means for performing conversion and output processing, and performing at least reference, update or deletion processing of data stored in the internal data storage unit in accordance with a request from the process of the application program It is characterized by providing.

また,上記レイアウト変換機能を有するデータ処理装置において,前記内部データ形式のデータには,前記レイアウト変換時に,各データを一意に識別するリソースIDと,各データにおける個々の項目を一意に識別するアイテムIDとが付与され,前記リソースIDは,前記レイアウトの種別に応じたハッシュ値によってアクセスされるリソースハッシュテーブルによって管理され,前記アイテムIDは,前記各リソースIDごとの各アイテム種別に応じたハッシュ値によってアクセスされるアイテムハッシュテーブルによって管理され,前記内部データ形式のデータは,前記アイテムハッシュテーブルの配下に接続される領域に各アイテムのデータ値が格納される構成で管理されることを特徴とする。 In the data processing apparatus having the layout conversion function, the data in the internal data format includes, in the layout conversion, a resource ID for uniquely identifying each data and an item for uniquely identifying each item in each data. The resource ID is managed by a resource hash table accessed by a hash value corresponding to the layout type, and the item ID is a hash value corresponding to each item type for each resource ID The data is managed by an item hash table accessed by the method, and the data in the internal data format is managed in a configuration in which the data value of each item is stored in an area connected under the item hash table. .

また,上記レイアウト変換機能を有するデータ処理装置において,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,暗号化するか否かを示す設定情報を含み,前記データ管理部品処理手段は,前記内部データ形式のデータの項目に対し暗号化する旨の情報が設定されている場合に,レイアウトの変換時にその項目を暗号化して前記内部のデータ記憶部に格納し,前記アプリケーションプログラムのプロセスからのアクセス時および前記内部データ形式から所定のレイアウトへの逆変換時に,その項目を復号化して出力する暗号化/復号化変換手段を有することを特徴とする。 In the data processing apparatus having the layout conversion function, the navigation information stored in the navigation information storage means includes setting information indicating whether or not to encrypt each data item in the internal data format, The data management component processing means encrypts the item when the data item in the internal data format is encrypted and stores it in the internal data storage unit when converting the layout. And an encryption / decryption conversion means for decrypting and outputting the item at the time of access from the process of the application program and at the time of reverse conversion from the internal data format to a predetermined layout.

また,上記レイアウト変換機能を有するデータ処理装置において,前
記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記レイアウトごとに,データが圧縮されているか否かを示す設定情報を含み,前記データ管理部品処理手段は,変換対象となっているレイアウトに対し,データが圧縮されている旨の情報が設定されている場合に,そのデータを非圧縮状態に復元してからレイアウト変換の処理を行う圧縮/非圧縮変換手段を有することを特徴とする。
In the data processing apparatus having the layout conversion function, the navigation information stored in the navigation information storage means includes setting information indicating whether or not data is compressed for each layout, and the data management component The processing means compresses / compresses the layout conversion process after restoring the data to an uncompressed state when information indicating that the data is compressed is set for the layout to be converted. It has a non-compression conversion means.

また,上記レイアウト変換機能を有するデータ処理装置において,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,入力項目をチェックする場合の条件に関する設定情報を含み,前記データ管理部品処理手段は,前記内部データ形式のデータの項目に対し,入力項目をチェックする場合の条件に関する設定情報が設定されている場合に,設定されている条件に従って,レイアウト変換対象となっているデータの項目が正しいかどうかのチェックを行う入力項目チェック手段を有することを特徴とする。 In the data processing apparatus having the layout conversion function, the navigation information stored in the navigation information storage means includes setting information related to conditions for checking input items for each data item in the internal data format. The data management component processing means, when setting information regarding conditions for checking input items is set for the data items in the internal data format, It is characterized by having input item check means for checking whether or not the data item is correct.

以上のレイアウト変換機能を有するデータ処理装置は,コンピュータとソフトウェアプログラムとによって実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録して提供することも,ネットワークを通して提供することも可能である。 The data processing apparatus having the above-described layout conversion function can be realized by a computer and a software program, and can be provided by recording the program on a computer-readable recording medium or via a network. is there.

本考案によれば,電文や業務マスタのデータのレイアウトを,個別業務アプリが意識する必要がなくなるので,業務処理の共通化が容易になる。また,電文や業務マスタのデータのレイアウト変更において,個別業務アプリが変更項目を直接使用しない場合には,個別業務アプリの改修は不要となる。したがって,システムの保守性が向上する。 According to the present invention, it is not necessary for the individual business application to be aware of the data layout of the message and the business master, so that business processing can be easily shared. In addition, when the individual business application does not directly use the change item when changing the data layout of the message or the business master, the individual business application need not be modified. Therefore, system maintainability is improved.

特に,各レイアウトごとのレイアウト変換に関するナビゲーション情報の設定によって,既存の電文や業務マスタのデータのレイアウトを変更することなく,段階的に個別業務アプリの統廃合,改良を行うことができるので,大規模業務処理システムにおける現実的なシステムの再構築手法として,本考案は有用である。 In particular, by setting navigation information related to layout conversion for each layout, individual business applications can be consolidated, improved, and improved in stages without changing the layout of existing telegrams and business master data. The present invention is useful as a realistic system reconstruction method in business processing systems.

図1は,本考案の実施の形態を示すシステム構成の概要図である。サーバ1は,複数の個別業務アプリ10を搭載し,これらの個別業務アプリ10によって各種の業務処理を遂行する。サーバ1は,ネットワークを介して複数のクライアント40または他システム41に接続され,クライアント40または他システム41との間でそれぞれ電文を送受信することにより,業務処理を行う。 FIG. 1 is a schematic diagram of a system configuration showing an embodiment of the present invention. The server 1 is equipped with a plurality of individual business applications 10, and performs various business processes by these individual business applications 10. The server 1 is connected to a plurality of clients 40 or other systems 41 via a network, and performs business processing by transmitting and receiving messages to and from the clients 40 or other systems 41, respectively.

通信パッケージ13は,クライアント40または他システム41との通信プロトコルに応じた通信制御を行うモジュールである。電文制御部14は,電文の送受信先に応じた電文の振り分け制御を行うモジュールである。 The communication package 13 is a module that performs communication control according to a communication protocol with the client 40 or another system 41. The message control unit 14 is a module that performs message distribution control according to a message transmission / reception destination.

業務マスタ16は,個別業務アプリ10による業務処理において参照または更新されるデータベースであり,アクセス部品15は,業務マスタ16へアクセスするためのデータベース管理システムが提供するプログラム群である。 The business master 16 is a database that is referred to or updated in business processing by the individual business application 10, and the access component 15 is a program group provided by the database management system for accessing the business master 16.

各クライアント40または他システム41との間の電文は,それぞれシステムまたは業務ごとに予めデータのレイアウト(フォーマット)が決められている。また,業務マスタ16に格納されるデータのレイアウト,すなわちデータベースの各レコードのフォーマット等も予め固定的に決められている。 The message between each client 40 or another system 41 has a predetermined data layout (format) for each system or business. In addition, the layout of data stored in the business master 16, that is, the format of each record in the database is fixedly determined in advance.

以上のクライアント40,他システム41,通信パッケージ13,電文制御部14,アクセス部品15,業務マスタ16は,図15を用いて説明した従来システムのものと同様である。 The client 40, the other system 41, the communication package 13, the message control unit 14, the access component 15, and the business master 16 are the same as those of the conventional system described with reference to FIG.

本考案では,個別業務アプリ10が,予め固定的に定められている電文のレイアウトおよび業務マスタ16のデータのレイアウトを意識しないで,電文および業務マスタのデータの作成,参照,更新,削除などの処理を行うことができるように,主にレイアウトの変換と,各個別業務アプリ10に共通な処理を行うための,データ管理部品モジュール20が設けられている。データ管理部品モジュール20は,電文の入出力時や業務マスタ16のデータの入出力時に呼び出されて,電文および業務マスタ16のデータのレイアウト変換を行う。ナビゲーションテーブル記憶部30には,後に詳しく説明するように,このレイアウト変換に必要となる各種のテーブルが記憶されている。 In the present invention, the individual business application 10 can create, refer to, update, and delete data of the telegram and the business master without being conscious of the fixed message layout and the data layout of the business master 16. A data management component module 20 for mainly performing layout conversion and processing common to the individual business applications 10 is provided so that processing can be performed. The data management component module 20 is called when a message is input / output or when data of the business master 16 is input / output, and performs layout conversion of the data of the message and the business master 16. The navigation table storage unit 30 stores various tables necessary for this layout conversion, as will be described in detail later.

予め固定的に定められている電文のレイアウトおよび業務マスタ16に格納されているデータのレイアウトを,ここでは外部形式または外部データ形式と呼ぶ。データ管理部品モジュール20が行うレイアウト変換とは,個別業務アプリ10がデータを入力するときに,外部形式のデータを統一的に定められた内部形式(内部データ形式ともいう)に変換して保持し,また,個別業務アプリ10がデータを出力するときに,前記内部形式のデータを出力先に応じた外部形式に変換して出力することである。なお,本明細書においては,後者の変換をレイアウトの逆変換ということもある。 The telegram layout fixedly determined in advance and the layout of data stored in the business master 16 are referred to herein as an external format or an external data format. The layout conversion performed by the data management component module 20 means that when the individual business application 10 inputs data, the data in the external format is converted into an internally defined internal format (also referred to as an internal data format) and held. In addition, when the individual business application 10 outputs data, the data in the internal format is converted into an external format corresponding to the output destination and output. In the present specification, the latter conversion may be referred to as layout reverse conversion.

一つの電文や業務マスタ16のレコードを単位とするデータの内容をリソースといい,リソース中の個々の項目をアイテムという。外部形式では,一つの電文や業務マスタ16のレコードにおけるアイテムの物理的な位置やサイズ,すなわちレイアウトが固定的に定められているのに対し,内部形式では,各アイテムの物理的な位置やサイズが捨象された情報として保持される。このような外部形式から内部形式への変換,また内部形式から外部形式への変換のための情報は,ナビゲーションテーブルとして,ナビゲーションテーブル記憶部30に予め登録しておく。外部形式から内部形式へのデータの変換を,データの正規化という。具体的には,以下のとおりである。 The content of data in units of one message or business master 16 record is called a resource, and each item in the resource is called an item. In the external format, the physical position and size of items in a single message and business master 16 record, that is, the layout is fixed, whereas in the internal format, the physical position and size of each item. Is retained as information that has been discarded. Information for such conversion from the external format to the internal format and from the internal format to the external format is registered in advance in the navigation table storage unit 30 as a navigation table. Data conversion from external format to internal format is called data normalization. Specifically, it is as follows.

内部形式では,アイテムの物理的な位置を個別業務アプリ10が意識しなくてもデータにアクセスできるように,個々のアイテムを識別するアイテムIDでそのデータを参照,更新することができるようにする。また,内部形式においては,アイテムのサイズはナビゲーションテーブルによって定められる。ナビゲーションテーブルには,複数の個別業務アプリ10が共通に利用するアイテムに対して,それらが必要とするサイズの最大サイズを予測してサイズ情報を設定してもよい。また,共通化のために,必要に応じてデータ形式を変換する情報をナビゲーションテーブルに設定しておくようにしてもよい。例えば,数値データを2進数で保持するか,文字型データで保持するか,内部10進形式で保持するかというような情報である。 In the internal format, the data can be referred to and updated by the item ID for identifying each item so that the data can be accessed without the individual business application 10 being aware of the physical position of the item. . In the internal format, the item size is determined by the navigation table. In the navigation table, the size information may be set by predicting the maximum size required for the items commonly used by the plurality of individual business applications 10. For commonality, information for converting the data format may be set in the navigation table as necessary. For example, it is information such as whether numeric data is held in binary, character-type data, or internal decimal format.

個別業務アプリ10における主プロセス11は,個別業務アプリ10における全体の制御を司るメインのプログラム実行部であり,サブプロセス12は,各電文に応じて主プロセス11から呼び出され,業務マスタ16の参照,更新等の具体的な業務処理を行うプログラムの実行部である。一般に,個別業務アプリ10は,一つの主プロセス11と複数のサブプロセス12とを有する。 The main process 11 in the individual business application 10 is a main program execution unit that controls the entire operation in the individual business application 10, and the sub-process 12 is called from the main process 11 according to each message, and refers to the business master 16. , An execution unit of a program for performing specific business processing such as updating. In general, the individual business application 10 has one main process 11 and a plurality of sub-processes 12.

図1に示すシステムにおいて,個別業務アプリ10が,あるクライアント40から通信パッケージ13,電文制御部14を介して,一つの電文を受信すると,個別業務アプリ10における主プロセス11は,データ管理部品モジュール20を呼び出し,受信した電文のレイアウト変換を指示する。データ管理部品モジュール20は,ナビゲーションテーブル記憶部30に格納されたナビゲーションテーブルを参照し,受信した電文のデータを外部形式から内部形式に変換して,内部形式データ記憶部21に保持する。このとき,内部形式に変換された電文のデータに対して,データを一意に識別するためのリソースIDが付与される。 In the system shown in FIG. 1, when the individual business application 10 receives one message from a client 40 via the communication package 13 and the message control unit 14, the main process 11 in the individual business application 10 executes the data management component module. 20 is called to instruct layout conversion of the received message. The data management component module 20 refers to the navigation table stored in the navigation table storage unit 30, converts the received telegram data from the external format to the internal format, and holds it in the internal format data storage unit 21. At this time, a resource ID for uniquely identifying the data is assigned to the message data converted into the internal format.

主プロセス11は,その電文を処理するサブプロセス12を呼び出す。サブプロセス12は,データ管理部品モジュール20が提供する検索機能を使用して,処理対象とする内部形式に変換された電文のリソースIDを取得する。以後,サブプロセス12は,そのリソースIDにより,データ管理部品モジュール20を介してその電文のデータにアクセスする。したがって,サブプロセス12は,電文の物理的なレイアウトを意識することなく,電文のデータを処理することができる。すなわち,電文のレイアウトが変わっても,ナビゲーションテーブルを変更するだけで,自動的に新しい外部形式から正規化された内部形式へのデータの変換が行われるため,サブプロセス12は,レイアウトの変更前と同様にデータを使用することができ,レイアウト可変になる。 The main process 11 calls a sub-process 12 that processes the message. The subprocess 12 uses the search function provided by the data management component module 20 to acquire the resource ID of the message converted into the internal format to be processed. Thereafter, the sub-process 12 accesses the data of the message via the data management component module 20 with the resource ID. Therefore, the subprocess 12 can process the data of the message without being aware of the physical layout of the message. In other words, even if the message layout changes, the data is automatically converted from the new external format to the normalized internal format simply by changing the navigation table. Data can be used in the same way as in, and the layout becomes variable.

電文を個別業務アプリ10が作成し,個別業務アプリ10からクライアント40または他システム41へ送信する場合,サブプロセス12は,データ管理部品モジュール20を用いて内部形式で電文のデータを作成する。内部形式で作成されたデータは,電文の送信時にナビゲーションテーブルに従って外部形式に変換され,電文制御部14を通して出力される。 When the individual business application 10 creates a message and transmits the message from the individual business application 10 to the client 40 or the other system 41, the sub-process 12 uses the data management component module 20 to create message data in an internal format. The data created in the internal format is converted into the external format according to the navigation table when the message is transmitted, and is output through the message control unit 14.

上記処理において,主プロセス11からサブプロセス12を呼び出すときに,パラメータでリソースIDを引き渡すようにしてもよい。しかし,本実施の形態のように,主プロセス11とサブプロセス12との入出力パラメータにリソースIDを用いないようにすれば,サブプロセス12の独立性を高め,共通化がさらに容易になる。この場合,サブプロセス12では,後述するデータ管理部品モジュール20の検索機能を使用して電文のデータを示すリソースIDを取得するが,主プロセス11が戻り電文を編集する場合にも,同様に検索機能で戻り電文のデータのリソースIDを取得し,戻り電文を編集することになる。 In the above processing, when calling the sub-process 12 from the main process 11, the resource ID may be delivered by a parameter. However, if the resource ID is not used for the input / output parameters between the main process 11 and the sub-process 12 as in the present embodiment, the independence of the sub-process 12 is enhanced and the sharing is further facilitated. In this case, the sub-process 12 uses the search function of the data management component module 20, which will be described later, to acquire a resource ID indicating the data of the message, but when the main process 11 edits the return message, the search is performed in the same manner. The function acquires the resource ID of the data of the return message and edits the return message.

個別業務アプリ10において,業務マスタ16のレコードを参照,更新する場合にも,同様にナビゲーションテーブルを利用することにより,入出力データの外部形式から内部形式への変換およびその逆変換が行われる。 In the individual business application 10, when the record of the business master 16 is referred to and updated, the input / output data is converted from the external format to the internal format and vice versa by using the navigation table.

例えば,サブプロセス12が,電文を処理するために業務マスタ16のデータを参照する場合,データ管理部品モジュール20を呼び出すことにより,業務マスタ16へのアクセスを行う。データ管理部品モジュール20は,アクセス部品15を使用して業務マスタ16のデータを読み込み,そのデータを業務マスタ16のレコードフォーマットである外部形式から,ナビゲーションテーブルで指定された内部形式に変換して,内部形式データ記憶部21に格納する。サブプロセス12は,その内部形式に変換されたデータを利用する。一方,サブプロセス12が業務マスタ16にデータを書き込む場合,同様にデータ管理部品モジュール20を呼び出す。データ管理部品モジュール20は,内部形式で保持しているデータをナビゲーションテーブルに従って外部形式に変換し,アクセス部品15を用いて業務マスタ16に書き込む。 For example, when the sub-process 12 refers to the data of the business master 16 in order to process a message, the business master 16 is accessed by calling the data management component module 20. The data management component module 20 reads the data of the business master 16 using the access component 15, converts the data from the external format which is the record format of the business master 16 to the internal format specified in the navigation table, The data is stored in the internal format data storage unit 21. The sub-process 12 uses the data converted into the internal format. On the other hand, when the sub-process 12 writes data to the business master 16, the data management component module 20 is similarly called. The data management component module 20 converts the data held in the internal format into an external format according to the navigation table, and writes it in the business master 16 using the access component 15.

ナビゲーションテーブルには,電文または業務マスタ16のレコードのレイアウト変換を行うか行わないかの情報も設定可能になっており,ナビゲーションテーブルにレイアウト変換不要が設定されている場合には,データ管理部品モジュール20は,外部形式から内部形式への変換,および内部形式から外部形式への変換は行わない。この場合,個別業務アプリ10は,電文のレイアウトおよび業務マスタ16のデータのレイアウトに従った処理を行う。すなわち,従来システムと同様のレイアウトを意識した処理を行う。 In the navigation table, it is also possible to set information on whether or not to perform layout conversion of the record of the message or the business master 16, and if the layout table does not require layout conversion, the data management component module 20 does not convert the external format to the internal format, and does not convert the internal format to the external format. In this case, the individual business application 10 performs processing in accordance with the message layout and the data layout of the business master 16. That is, processing is performed with the same layout as the conventional system.

したがって,個別業務アプリ10を段階的に改版していくような場合に,改版前には,ナビゲーションテーブルにレイアウト変換不要を設定しておき,既存の個別業務アプリ10のプログラムによって業務処理を遂行し,改版後には,ナビゲーションテーブルにレイアウト変換要を設定して,レイアウト可変とした新しい個別業務アプリ10のプログラムによって業務処理を遂行することができるようになる。このようなレイアウト変換の処理手段を用いることにより,既存のプログラムと新しいプログラムとが混在した状態でシステムを運用することができ,段階的なシステムの再構築が可能になる。 Therefore, when the individual business application 10 is revised in stages, the layout table need not be converted into the navigation table before the revision, and the business process is executed by the program of the existing individual business application 10. After the revision, it becomes possible to execute the business process by the program of the new individual business application 10 in which the layout conversion necessity is set in the navigation table and the layout is variable. By using such layout conversion processing means, the system can be operated in a state where existing programs and new programs are mixed, and a system can be reconstructed in stages.

図2は,本考案に関連する部分の詳細な構成例を示す図である。
図2において,図1と同符号のものは図1に示すものに対応する。
FIG. 2 is a diagram showing a detailed configuration example of a portion related to the present invention.
2, the same reference numerals as those in FIG. 1 correspond to those shown in FIG.

データ管理部品モジュール20は,レイアウト変換部22,運転管理部23,ログ編集部24,入力項目チェック部25,圧縮/非圧縮変換部26,暗号化/復号化変換部27を備える。ログ情報記憶部28は,ログ編集部24によって編集されたログ情報を記憶する装置である。個別業務アプリ10における共通部品群29は,個別業務アプリ10がデータ管理部品モジュール20の機能を利用するための種々のプログラム部品であり,個別業務アプリ10のプログラムとデータ管理部品モジュール20とのソフトウェアインタフェースである。実装上は,例えばマクロ命令,関数呼出し,またはサブルーチン呼出しなどによって実現される。 The data management component module 20 includes a layout conversion unit 22, an operation management unit 23, a log editing unit 24, an input item check unit 25, a compression / non-compression conversion unit 26, and an encryption / decryption conversion unit 27. The log information storage unit 28 is a device that stores log information edited by the log editing unit 24. The common component group 29 in the individual business application 10 is various program components for the individual business application 10 to use the functions of the data management component module 20. Software of the program of the individual business application 10 and the data management component module 20 is used. Interface. Implementation is realized by, for example, a macro instruction, a function call, or a subroutine call.

レイアウト変換部22は,上述したように,ナビゲーションテーブル記憶部30に格納されたナビゲーションテーブルに従って,電文や業務マスタ16のデータを,外部形式から内部形式に変換して内部形式データ記憶部21に格納する処理,また,内部形式データ記憶部21に格納された内部形式のデータを,外部形式に変換して出力するための変換処理を行う。さらに,レイアウト変換部22は,レイアウトの変換に付随して,入力項目チェック部25,圧縮/非圧縮変換部26,暗号化/復号化変換部27を呼び出すことにより,それぞれ入力項目チェック,データの圧縮/非圧縮,データの暗号化/復号化のための処理を行わせるための処理機能を持つ。 As described above, the layout conversion unit 22 converts the data of the message and the business master 16 from the external format to the internal format according to the navigation table stored in the navigation table storage unit 30, and stores the data in the internal format data storage unit 21. And a conversion process for converting the internal format data stored in the internal format data storage unit 21 into an external format and outputting it. Further, the layout conversion unit 22 calls the input item check unit 25, the compression / non-compression conversion unit 26, and the encryption / decryption conversion unit 27 in association with the layout conversion, thereby checking the input item and data respectively. It has a processing function for performing processing for compression / non-compression and data encryption / decryption.

運転管理部23は,レイアウト変換のためのテーブルをメモリに展開する初期設定処理や,統計情報の照会に対する処理,ログ解析情報の照会に対する処理などを行う。ログ編集部24は,レイアウト変換に伴う各種のログ情報,例えば不正電文の情報やデータ使用情報などを収集し,ログ情報記憶部28に格納する処理を行う。入力項目チェック部25は,ナビゲーションテーブルに入力項目をチェックすることが指定されている場合に,設定されたチェック条件に従って,入力項目の形式が正しいかどうかをチェックする。また,圧縮/非圧縮変換部26は,ナビゲーションテーブルに従って,レイアウト変換時におけるデータの領域単位に圧縮または非圧縮の処理を行う。暗号化/復号化変換部27は,ナビゲーションテーブルに従って,レイアウト変換時にデータの項目単位に暗号化または復号化の処理を行う。 The operation management unit 23 performs initial setting processing for developing a table for layout conversion in a memory, processing for querying statistical information, processing for querying log analysis information, and the like. The log editing unit 24 collects various types of log information associated with layout conversion, such as information on illegal telegrams and data usage information, and stores the information in the log information storage unit 28. The input item check unit 25 checks whether or not the format of the input item is correct according to the set check condition when it is specified to check the input item in the navigation table. Further, the compression / non-compression conversion unit 26 performs compression or non-compression processing in units of data areas at the time of layout conversion according to the navigation table. The encryption / decryption conversion unit 27 performs encryption or decryption processing for each data item in layout conversion according to the navigation table.

ナビゲーションテーブル記憶部30には,レイアウト変換のための各種のテーブルが予め登録され,記憶される。このナビゲーションテーブルの作成・登録は,管理用端末50から行われる。システムの開発者または管理者は,各種の電文のレイアウトや業務マスタ16のレコードのレイアウト情報,および入力項目チェックの要否,データの圧縮/非圧縮の要否,データの暗号化/復号化の要否などが記載された設計書56をもとに,管理用端末50からナビゲーションテーブルの作成に必要な情報を入力する。 In the navigation table storage unit 30, various tables for layout conversion are registered and stored in advance. Creation / registration of this navigation table is performed from the management terminal 50. The system developer or administrator can check the layout of various messages, the layout information of the records of the business master 16, the necessity of input item check, the necessity of data compression / non-compression, the encryption / decryption of data. Information necessary for creating a navigation table is input from the management terminal 50 based on the design document 56 in which necessity is described.

管理用端末50の条件入力画面表示部51は,ナビゲーションテーブルに設定する情報を入力するための画面を表示する。条件入力部52は,表示した条件入力画面から入力されたレイアウト変換条件の情報を取得する。ナビゲーションテーブル生成部53は,条件入力部52によって入力された情報をもとに,詳しくは後述する各種のナビゲーションテーブルを生成し,ナビゲーションテーブル記憶部30に格納する。これらのナビゲーションテーブルの生成処理は,GUIGraphical User Interface)を用いて行われるので,レイアウトの変換に必要な情報を容易に入力することができる。 The condition input screen display unit 51 of the management terminal 50 displays a screen for inputting information to be set in the navigation table. The condition input unit 52 acquires information on the layout conversion condition input from the displayed condition input screen. The navigation table generating unit 53 generates various navigation tables, which will be described in detail later, based on the information input by the condition input unit 52 and stores the generated navigation tables in the navigation table storage unit 30. Since the navigation table generation processing is performed using a GUI Graphical User Interface, information necessary for layout conversion can be easily input.

また,設計書56のデータが電子化されている場合には,そのデータから直接的にナビゲーションテーブルを自動生成することもできる。なお,このようなテーブルの自動生成プログラムは,入力情報と出力情報とが明らかであれば,容易に作成することができるので,ここではテーブル自動生成方法の詳細な処理手続きの説明は省略する。この場合,設計ドキュメントからナビゲーションテーブルを自動生成することにより,テーブルの設定誤りが防止され,高品質化が可能になる。また,テーブルのメンテナンスの運用稼動コストを削減することができる。 If the data of the design document 56 is digitized, a navigation table can be automatically generated directly from the data. Such an automatic table generation program can be easily created if the input information and the output information are clear. Therefore, detailed description of the table automatic generation method is omitted here. In this case, by automatically generating a navigation table from the design document, table setting errors can be prevented and high quality can be achieved. In addition, the operation and operation cost of table maintenance can be reduced.

また,管理用端末50は,統計情報照会部54および解析情報照会部55を備える。統計情報照会部54は,データ管理部品モジュール20の運転管理部23に対し,データ使用状況や各種メモリ情報等の問い合わせを行い,その問い合わせ結果を出力する。また,解析情報照会部55は,例えば個別アプリ10がシグナル等で異常終了した場合に,その時点のアクセス・データ等の解析情報を運転管理部23に照会し,異常の原因を解析するための解析情報を運転管理部23から受け取り,出力する。これにより,トラブル解析を容易に行うことができるようになる。 The management terminal 50 includes a statistical information inquiry unit 54 and an analysis information inquiry unit 55. The statistical information inquiry unit 54 inquires of the operation management unit 23 of the data management component module 20 about the data usage status and various memory information, and outputs the inquiry result. Also, the analysis information inquiry unit 55, for example, when the individual application 10 is abnormally terminated due to a signal or the like, inquires the operation management unit 23 for analysis information such as access data at that time, and analyzes the cause of the abnormality The analysis information is received from the operation management unit 23 and output. As a result, trouble analysis can be easily performed.

統計情報照会部54によって,電文種類ごとの件数を統計情報として収集することができるので,データの負荷分散を目的にナビゲーションテーブルの最適化(ハッシュ値の最適値設定)が可能になる。また,統計情報照会部54によって,項目ごとにユーザ入力誤り(電文の誤り)などの件数を統計情報として収集することにより,誤操作防止を目的とした画面仕様の改善などに統計情報を活用することができる。すなわち,ユーザ入力誤りの集中傾向を分析し,例えば「項目の入力方法を,直接入力から選択入力に変える」とか,「クライアント上の入力チェック機能を補完し,誤入力そのものを抑止する」というように,画面入力仕様の改善に活かすことができる。 Since the statistical information inquiry unit 54 can collect the number of cases for each message type as statistical information, it is possible to optimize the navigation table (set the optimum value of the hash value) for the purpose of data load distribution. In addition, the statistical information inquiry unit 54 collects the number of user input errors (message errors) and the like as statistical information for each item, thereby utilizing the statistical information to improve screen specifications for the purpose of preventing erroneous operations. Can do. In other words, analyze the concentration tendency of user input errors, such as “change the input method of items from direct input to selection input” or “supplement the input check function on the client and suppress erroneous input itself”. In addition, it can be used to improve screen input specifications.

図2に示すデータ管理部品モジュール20を,個別業務アプリ10から共通部品群29を介して利用することができるようにすることにより,以下のような効果がある。(1) 電文や業務マスタ16のデータのレイアウトを,個別業務アプリ10が意識する必要がないので,業務処理の共通化が容易になり,保守性が向上する。(2) 電文や業務マスタ16のデータのレイアウト変更において,個別業務アプリ10が変更項目を直接使用しない場合には,個別業務アプリ10の改修は不要となり,保守性が向上する。 (3) ナビゲーションテーブルで暗号化の対象/対象外が設定可能であるため,例えば氏名,電話番号,口座番号等の個人情報に該当する項目を,ナビゲーションテーブルへの設定だけで暗号化することができ,個別業務アプリ10の改修を行わないで,個人情報等に対するセキュリティレベルを上げることができるようになる。業務マスタ16は,ナビゲーションテーブルの条件に従って暗号化したデータを格納し,個別業務アプリ10では,自動的に復号されたデータを利用することができるようにすることも可能であるため,個別業務アプリ10における暗号化データの利用を容易化することができる。(4) データ管理部品モジュール20において,ナビゲーションテーブルへの設定条件により,入力項目チェックがレイアウト変換時に自動的に行われるため,個別業務アプリ10が個々に入力項目チェックのロジックを持つ必要がなくなり,個別業務アプリ10が簡素化され保守性が向上する。(5) ナビゲーションテーブルに従って,領域の圧縮/非圧縮が自動的に行われるため,個別業務アプリ10が個々に圧縮/非圧縮のロジックを持つ必要がなく,保守性が向上する。 By making it possible to use the data management component module 20 shown in FIG. 2 from the individual business application 10 via the common component group 29, there are the following effects. (1) Since the individual business application 10 does not need to be aware of the data layout of the message and the business master 16, business processing can be easily shared and maintainability is improved. (2) If the individual business application 10 does not directly use the change item in changing the data layout of the message or the business master 16, the individual business application 10 does not need to be modified, and the maintainability is improved. (3) Since it is possible to set whether or not to be encrypted in the navigation table, items corresponding to personal information such as name, phone number, account number, etc. can be encrypted only by setting in the navigation table. It is possible to increase the security level for personal information and the like without modifying the individual business application 10. The business master 16 stores data encrypted according to the conditions of the navigation table, and the individual business application 10 can use the automatically decrypted data. The use of the encrypted data in 10 can be facilitated. (4) In the data management component module 20, the input item check is automatically performed at the time of layout conversion according to the setting conditions in the navigation table, so that the individual business application 10 does not need to have the input item check logic individually. The individual business application 10 is simplified and the maintainability is improved. (5) Since the compression / non-compression of the area is automatically performed according to the navigation table, the individual business application 10 does not need to have the compression / non-compression logic individually, and the maintainability is improved.

図3は,ナビゲーションテーブルとして用いられる各テーブルのデータ構成の例を示す図である。レイアウト変換方法を示すナビゲーション情報が登録されるナビゲーションテーブルとして,本実施の形態では,図3に示すような電文管理テーブル31,業務マスタ管理テーブル32,アクション管理テーブル33,レイアウト変換テーブル34,アイテム管理テーブル35,条件設定テーブル36が用いられる。 FIG. 3 is a diagram illustrating an example of the data configuration of each table used as a navigation table. In this embodiment, as a navigation table in which navigation information indicating a layout conversion method is registered, a message management table 31, a business master management table 32, an action management table 33, a layout conversion table 34, and item management as shown in FIG. A table 35 and a condition setting table 36 are used.

各テーブルは,ナビゲーションテーブル記憶部30に記憶される。図中,矢印に沿って(1:1)と記載されているのは,テーブルが1対1の関係であることを示し,矢印に沿って(1:n)と記載されているのは,テーブルが1対n(nは1以上の整数)の関係であることを示す。また,各テーブルにおいて,(キー)と記載された項目は,そのテーブルにおいてユニークなキーとなる項目であることを示す。また,各テーブルにおいて,(n)と記載された項目は,1つのテーブルに同じ項目がn個繰り返されることを示す。 Each table is stored in the navigation table storage unit 30. In the figure, (1: 1) along the arrow indicates that the table has a one-to-one relationship, and (1: n) along the arrow indicates Indicates that the table has a 1-to-n relationship (n is an integer of 1 or more). In each table, an item described as (key) indicates an item that is a unique key in the table. In each table, an item described as (n) indicates that the same item is repeated n times in one table.

電文管理テーブル31は,業務の種類および電文の種類ごとに用意されるテーブルであり,業務ID,電文ID,およびレイアウト変換方法を識別するアクションIDなどの情報から構成される。業務IDは,電文を処理する業務を識別する識別情報である。電文IDは,電文の種類を識別する識別情報である。アクションIDは,対応するアクション管理テーブル33を特定する情報である。 The message management table 31 is a table prepared for each job type and each message type, and includes information such as a job ID, a message ID, and an action ID for identifying a layout conversion method. The business ID is identification information for identifying a business that processes a message. The message ID is identification information for identifying the type of message. The action ID is information for specifying the corresponding action management table 33.

業務マスタ管理テーブル32は,業務マスタ16を管理するテーブルであり,業務マスタID,DBアクセスID,アクションIDなどの情報から構成される。業務マスタIDは,業務マスタ16を識別する情報である。DBアクセスIDは,業務マスタ16のデータベースを識別する識別情報である。アクションIDは,対応するアクション管理テーブル33を特定する情報である。なお,電文管理テーブル31と業務マスタ管理テーブル32は,それぞれ電文および業務マスタ16ごとに用意されるテーブルであるので,ナビゲーションテーブル記憶部30とは別に,例えば電文制御部14またはアクセス部品15と個別業務アプリ10との間のインタフェース部(システム固有部)で参照するテーブルとして設けてもよい。 The business master management table 32 is a table for managing the business master 16 and includes information such as a business master ID, a DB access ID, and an action ID. The business master ID is information for identifying the business master 16. The DB access ID is identification information for identifying the business master 16 database. The action ID is information for specifying the corresponding action management table 33. Since the message management table 31 and the business master management table 32 are prepared for each message and the business master 16, respectively, for example, separately from the navigation table storage unit 30, the message control unit 14 or the access component 15 is individually provided. You may provide as a table referred in the interface part (system specific part) between the business applications 10. FIG.

アクション管理テーブル33は,電文や業務マスタ16に対して,どのようなレイアウト変換方法を用いるかを示すアクションを管理するテーブルであり,アクションID,レイアウト種別,レイアウト変換要否,入力項目チェック要否,暗号化機能要否などの情報から構成される。アクションIDは,電文または業務マスタ16に対するレイアウト変換のポリシーを特定する情報である。レイアウト種別は,電文または業務マスタ16のレイアウトを特定する情報である。レイアウト変換要否は,電文または業務マスタ16のレイアウト変換を行うか否かを示す情報である。入力項目チェック要否は,電文または業務マスタ16のデータの入力項目チェックを行うか否かを示す情報である。暗号化機能要否は,電文または業務マスタ16のデータの暗号化を行うか否かを示す情報である。 The action management table 33 is a table for managing an action indicating what kind of layout conversion method is used for the message or the business master 16, and includes action ID, layout type, layout conversion necessity, and input item check necessity. , And information such as the necessity of the encryption function. The action ID is information for specifying a layout conversion policy for the message or the business master 16. The layout type is information for specifying the layout of the message or the business master 16. The necessity of layout conversion is information indicating whether to perform layout conversion of the electronic message or the business master 16. The input item check necessity is information indicating whether or not to check the input item of data of the message or the business master 16. The necessity of the encryption function is information indicating whether or not the data of the message or the business master 16 is to be encrypted.

レイアウト変換テーブル34は,レイアウト変換対象のデータ構成情報を管理するテーブルである。レイアウト種別,レイアウト区分,レイアウトハッシュ値,外部領域数,変換区分,外部内部変換領域ID,内部外部変換領域ID,初期値,外部領域位置,外部領域サイズ,領域繰返し数などの情報から構成される。 The layout conversion table 34 is a table for managing data configuration information to be subjected to layout conversion. Consists of information such as layout type, layout classification, layout hash value, number of external areas, conversion classification, external internal conversion area ID, internal external conversion area ID, initial value, external area position, external area size, and area repetition count .

レイアウト種別は,レイアウトを特定する情報である。レイアウト区分は,そのレイアウトが何に関するレイアウトなのかを示す情報である。レイアウト区分は,本実施の形態では,レイアウト区分の値に応じて, 1:電文, 2:業務マスタ, 3:作業域, 4:電文(圧縮済み),となっている。レイアウト区分=4の場合には,入力電文のデータが圧縮されているので,非圧縮後にレイアウト変換を行う。 The layout type is information for specifying a layout. The layout classification is information indicating what the layout is related to. In the present embodiment, the layout divisions are 1: telegram, 2: business master, 3: work area, 4: telegram (compressed) according to the value of the layout division. When the layout classification = 4, the input message data is compressed, so layout conversion is performed after non-compression.

レイアウトハッシュ値は,内部形式に変換されたリソース(電文等)の管理に必要となる情報である。レイアウトハッシュ値の詳細は後述する。外部領域数は,外部形式のデータの項目の種類数を示す情報である。以下の情報は,データの項目ごとの情報となる。 The layout hash value is information necessary for managing resources (such as messages) converted into an internal format. Details of the layout hash value will be described later. The number of external areas is information indicating the number of types of data items in the external format. The following information is information for each data item.

変換区分は,レイアウト変換時にその項目のデータを転送(コピー)するのか別に固定値を設定するのかなどを指定する情報である。外部内部変換領域IDは,外部形式から内部形式にレイアウト変換を行う場合に,内部形式のデータに設定するアイテム種別を示す情報である。内部外部変換領域IDは,内部形式から外部形式にレイアウト変換を行う場合に,外部形式のデータとして設定する内部形式のデータのアイテム種別を示す情報である。初期値は,その項目に初期値として設定する値の情報である。外部領域
位置は,その項目の外部領域での位置を示す情報である。外部領域サイズは,その項目の外部領域でのサイズを示す情報である。領域繰返し数は,その項目のデータの数を示す情報である。
The conversion category is information for designating whether to transfer (copy) the data of the item at the time of layout conversion or to set a fixed value separately. The external internal conversion area ID is information indicating the item type set in the internal format data when performing layout conversion from the external format to the internal format. The internal / external conversion area ID is information indicating the item type of internal format data set as external format data when performing layout conversion from the internal format to the external format. The initial value is information on a value set as an initial value for the item. The external area position is information indicating the position of the item in the external area. The external area size is information indicating the size of the item in the external area. The area repetition count is information indicating the number of data items.

アイテム管理テーブル35は,内部形式に変換されるデータの項目を示すアイテムのデータ構成情報を管理するテーブルである。レイアウト種別,アイテム種別,領域条件(暗号化要否など),領域属性,領域サイズ,コードチェック条件,相関チェック条件などの情報から構成される。 The item management table 35 is a table for managing data configuration information of items indicating data items to be converted into an internal format. Consists of information such as layout type, item type, area condition (necessity of encryption, etc.), area attribute, area size, code check condition, correlation check condition.

レイアウト種別は,そのアイテムが変換されるときのレイアウトを特定する情報である。アイテム種別は,個々のアイテムをユニークに識別する識別情報である。領域条件は,そのアイテムのアイテム値(データ)の暗号化の要否等を指定する情報である。領域条件は,本実施の形態では領域条件の値に応じて, 1:暗号化項目(内部形式へのレイアウト変換時に暗号化する), 2:暗号化項目(暗号化済み), 0:暗号化の対象外,となっている。領域条件=1,2の場合,個別業務アプリ10から参照要求があったときには該当アイテムを復号化して引き渡す。また,個別業務アプリ10からの更新要求があったときには該当アイテムを暗号化して内部形式データ記憶部21に格納する。この領域条件により,例えば個人情報のような場合,メモリ上の内部領域を含め,暗号化し,個別業務アプリ10が処理するときにだけ復号する。 The layout type is information for specifying a layout when the item is converted. The item type is identification information that uniquely identifies each item. The area condition is information that specifies whether or not the item value (data) of the item needs to be encrypted. In this embodiment, the area condition is set according to the value of the area condition: 1: Encrypted item (encrypted when converting the layout to the internal format), 2: Encrypted item (encrypted), 0: Encrypted It is excluded from. In the case of area conditions = 1, 2, when there is a reference request from the individual business application 10, the corresponding item is decrypted and delivered. When there is an update request from the individual business application 10, the corresponding item is encrypted and stored in the internal format data storage unit 21. With this area condition, for example, in the case of personal information, the internal area on the memory is encrypted and decrypted only when the individual business application 10 processes.

クライアント40/他システム41が非暗号化で,領域条件=1のケースでは,電文(非暗号化状態),内部形式のデータ(暗号化状態),個別業務アプリ10のアクセスデータ(非暗号化状態),業務マスタ16のデータ(暗号化状態)となる。 In the case where the client 40 / other system 41 is not encrypted and the area condition = 1, a message (unencrypted state), data in an internal format (encrypted state), access data of the individual business application 10 (unencrypted state) ), Data of the business master 16 (encrypted state).

クライアント40/他システム41が暗号化で,領域条件=2のケースでは,電文(暗号状態),内部形式のデータ(暗号化状態),個別業務アプリ10のアクセスデータ(非暗号化状態),業務マスタ16のデータ(暗号化状態)となる。 In the case where the client 40 / other system 41 is encrypted and the area condition = 2, the message (encrypted state), the internal format data (encrypted state), the access data of the individual business application 10 (unencrypted state), the business It becomes the data (encrypted state) of the master 16.

領域属性は,アイテムの属性(文字,数値など)を示す情報である。領域サイズは,内部形式でのアイテムの領域のサイズを示す情報である。コードチェック条件は,アクション管理テーブル33において入力項目チェック要となっている場合に,入力項目のコードが正しい範囲内のものになっているかどうかをチェックする条件を示す情報である。後述する条件設定テーブル36の一つをポイントする。また,相関チェック条件は,アクション管理テーブル33において入力項目チェック要となっている場合に,入力項目が他の項目との関係で正しいかどうかをチェックする条件を示す情報である。後述する条件設定テーブル36の一つをポイントする。コードチェック条件または相関チェック条件として,条件設定テーブル36が指定されている場合,その条件設定テーブル36を使用して入力項目チェックが行われる。 The area attribute is information indicating an item attribute (character, numerical value, etc.). The area size is information indicating the size of the item area in the internal format. The code check condition is information indicating a condition for checking whether or not the code of the input item is within the correct range when the input item check is required in the action management table 33. Point to one of the condition setting tables 36 to be described later. The correlation check condition is information indicating a condition for checking whether the input item is correct in relation to other items when the input item check is required in the action management table 33. Point to one of the condition setting tables 36 to be described later. When the condition setting table 36 is specified as the code check condition or the correlation check condition, the input item check is performed using the condition setting table 36.

条件設定テーブル36は,検索の条件やソートの条件および前述した入力項目チェックの条件を設定するテーブルであり,条件設定ID,条件区分,レイアウト種別,アイテム種別,アイテム値,比較条件,チェック方法,連結条件(AND,OR),次条件設定IDなどの情報から構成される。 The condition setting table 36 is a table for setting search conditions, sorting conditions, and the above-described input item check conditions. The condition setting ID, condition classification, layout type, item type, item value, comparison condition, check method, It is composed of information such as a connection condition (AND, OR) and a next condition setting ID.

条件設定IDは,各条件設定を一意に識別する情報である。条件区分は,設定された条件が何の条件(検索条件やソート条件など)であるかを示す情報である。レイアウト種別は,条件として指定されたレイアウト種別を示す情報である。アイテム種別は,条件として指定されたアイテム種別を示す情報である。アイテム値は,条件として指定されたアイテムの値を示す情報である。比較条件は,例えば=,≠,<,≦,>,≧など,アイテム値をどのように比較するかを示す情報である。 The condition setting ID is information for uniquely identifying each condition setting. The condition classification is information indicating what condition (search condition, sort condition, etc.) the set condition is. The layout type is information indicating the layout type specified as a condition. The item type is information indicating the item type specified as the condition. The item value is information indicating the value of the item specified as the condition. The comparison condition is information indicating how the item values are compared, for example, =, ≠, <, ≦,>, ≧, and the like.

チェック方法は,例えば相関チェック条件に従った入力項目チェックのために,専用のチェックプログラムを利用する必要があるような場合に,そのチェックプログラムを呼び出すためのプログラムを指定する情報である。連結条件は,複数の条件設定テーブル36で条件を指定する場合に,他の条件設定テーブル36とどのように連結されるか(AND条件,OR条件かなど)を示す情報である。次条件設定IDは,他の条件設定テーブル36と連結される場合に,連結先となる条件設定テーブル36の条件設定IDを指定する情報である。 The check method is information for designating a program for calling a check program when it is necessary to use a dedicated check program, for example, for input item check according to the correlation check condition. The concatenation condition is information indicating how to concatenate with other condition setting tables 36 (AND condition, OR condition, etc.) when conditions are specified in a plurality of condition setting tables 36. The next condition setting ID is information that specifies the condition setting ID of the condition setting table 36 that is a connection destination when the next condition setting ID is connected to another condition setting table 36.

図4は,リソース入力時のレイアウト変換の例を説明する図である。電文などのリソースは,外部形式のデータであり,データ管理部品モジュール20によって,内部形式のデータにレイアウト変換され,内部形式データ記憶部21に記憶される。 FIG. 4 is a diagram for explaining an example of layout conversion at the time of resource input. A resource such as a message is data in an external format, and the data management component module 20 performs layout conversion to data in an internal format and stores it in the internal format data storage unit 21.

図5は,内部形式のデータの構成の例を示す図である。ここで,図5を用いて,図4に示されている各データの構成の例を説明しておく。図5(A)はリソースハッシュテーブル210の構成例を示し,図5(B)はリソース情報211の構成例を示し,図5(C)はリソースID212の構成例を示す。また,図5(D)はアイテムハッシュテーブル213の構成例を示し,図5(E)はアイテム情報214の構成例を示し,図5(F)はアイテムID215の構成例を示す。 FIG. 5 is a diagram showing an example of the structure of data in the internal format. Here, an example of the configuration of each data shown in FIG. 4 will be described with reference to FIG. 5A shows a configuration example of the resource hash table 210, FIG. 5B shows a configuration example of the resource information 211, and FIG. 5C shows a configuration example of the resource ID 212. 5D shows a configuration example of the item hash table 213, FIG. 5E shows a configuration example of the item information 214, and FIG. 5F shows a configuration example of the item ID 215.

図5(A)に示すように,リソースハッシュテーブル210では,エントリごとに,件数,ポインタの情報が記録される。件数は,そのエントリに属するリソースの件数である。ポインタは,そのエントリに属するリソースのうち,先頭のリソース情報211の領域へのポインタである。件数の初期値は0であり,ポインタの初期値はnullである。リソース情報211をリソースハッシュテーブル210のどのエントリに接続するかは,レイアウトハッシュ値によって決める。本実施の形態におけるレイアウトハッシュ値は,あるキーとなる情報からランダムに定める値ではなく,予めレイアウト種別ごとにシステム開発者または管理者が決める値であり,リソースハッシュテーブル210の何番目のエントリであるかを示すエントリ番号(No.)である。 As shown in FIG. 5A, in the resource hash table 210, information on the number of items and pointers is recorded for each entry. The number of items is the number of resources belonging to the entry. The pointer is a pointer to the area of the head resource information 211 among the resources belonging to the entry. The initial value of the number of cases is 0, and the initial value of the pointer is null. The entry in the resource hash table 210 to which the resource information 211 is connected is determined by the layout hash value. The layout hash value in the present embodiment is not a value that is randomly determined from certain key information, but is a value that is determined in advance by the system developer or administrator for each layout type. This is an entry number (No.) indicating whether or not there is.

リソースハッシュテーブル210の使用により,各リソースへのアクセス性能のバラツキをなくすことができる。また,レイアウト変換テーブル34におけるレイアウトハッシュ値を変更することで,プログラムの改修を行わずに,リソースハッシュテーブル210配下の資源分散を行うことが可能となる。 By using the resource hash table 210, it is possible to eliminate variations in access performance to each resource. Further, by changing the layout hash value in the layout conversion table 34, it becomes possible to distribute resources under the resource hash table 210 without modifying the program.

リソース情報211は,図5(B)に示すように,リソースID212,次ポインタ,下位ポインタの情報から構成される。リソースID212は,そのリソースを一意に識別する識別情報である。次ポインタは,そのリソースの次にリソースハッシュテーブル210の同じエントリに属することになったリソースのリソース情報211の領域へのポインタである。下位ポインタは,そのリソースに属するアイテムを管理するためのアイテムハッシュテーブル213の領域へのポインタである。そのリソースの後にリソースハッシュテーブル210の同じエントリに属するリソースがまだ入力されていない場合には,次ポインタはnullとなる。 As shown in FIG. 5B, the resource information 211 includes resource ID 212, next pointer, and lower pointer information. The resource ID 212 is identification information that uniquely identifies the resource. The next pointer is a pointer to the area of the resource information 211 of the resource that belongs to the same entry in the resource hash table 210 next to the resource. The lower pointer is a pointer to an area of the item hash table 213 for managing items belonging to the resource. If a resource that belongs to the same entry in the resource hash table 210 has not yet been input after that resource, the next pointer is null.

リソースID212は,図5(C)に示すように,レイアウト種別,リソース通番,レイアウトハッシュ値の情報から構成される。レイアウト種別は,そのリソースのレイアウト種別である。リソース通番は,リソースハッシュテーブル210内で一意の値である。ここでは,入力された順に1,2,... とリソース通番を設定するものとする。レイアウトハッシュ値は,レイアウト種別をもとにレイアウト変換テーブル34から得られる値である。リソースID212にレイアウトハッシュ値を持たせることにより,個別業務アプリ10がテーブルを参照せずに各アイテムにアクセスすることを可能とする。 As shown in FIG. 5C, the resource ID 212 includes information on the layout type, resource serial number, and layout hash value. The layout type is the layout type of the resource. The resource sequence number is a unique value in the resource hash table 210. Here, the resource serial numbers are set in the order of input 1, 2,. The layout hash value is a value obtained from the layout conversion table 34 based on the layout type. By giving the resource ID 212 a layout hash value, the individual business application 10 can access each item without referring to the table.

図5(D)に示すように,アイテムハッシュテーブル213では,エントリごとに,件数,ポインタの情報が記録される。件数は,そのエントリに属するアイテムの件数である。ポインタは,そのエントリに属する先頭のアイテム情報214の領域へのポインタである。アイテム情報214を,アイテムハッシュテーブル213におけるどのエントリに接続するかは,アイテムハッシュ値によって決められる。アイテムハッシュ値は,アイテム種別から予め定められた計算式によって算出される。アイテムハッシュテーブル213の使用により,各アイテムへのアクセス性能のバラツキをなくすことができる。 As shown in FIG. 5D, in the item hash table 213, information on the number of items and pointers is recorded for each entry. The number of items is the number of items belonging to the entry. The pointer is a pointer to the area of the head item information 214 belonging to the entry. The entry in the item hash table 213 to which the item information 214 is connected is determined by the item hash value. The item hash value is calculated by a predetermined calculation formula from the item type. By using the item hash table 213, it is possible to eliminate variations in access performance to each item.

アイテム情報214は,図5(E)に示すように,アイテムID215,アイテム値,次ポインタの情報から構成される。アイテムID215は,そのアイテムを一意に識別する識別情報である。アイテム値は,そのアイテムの持つ実際のデータ値である。次ポインタは,そのアイテムの次にアイテムハッシュテーブル213の同じエントリに属することになったアイテム情報214の領域へのポインタである。そのアイテムの後にアイテムハッシュテーブル213の同じエントリに属するアイテムがない場合には,次ポインタはnullとなる。 As shown in FIG. 5E, the item information 214 includes item ID 215, item value, and next pointer information. The item ID 215 is identification information that uniquely identifies the item. The item value is the actual data value that the item has. The next pointer is a pointer to the area of the item information 214 that belongs to the same entry in the item hash table 213 next to the item. If there is no item that belongs to the same entry in the item hash table 213 after the item, the next pointer is null.

アイテムID215は,図5(F)に示すように,レイアウト種別,リソース通番,レイアウトハッシュ値,アイテム種別,アイテム通番,領域条件の情報から構成される。レイアウト種別は,そのアイテムが属するリソースのレイアウト種別である。リソース通番は,そのアイテムが属するリソースのリソース通番である。レイアウトハッシュ値は,そのアイテムが属するリソースのレイアウトハッシュ値である。アイテム種別は,そのアイテムの項目名などの種別である。アイテム通番は,アイテムハッシュテーブル213内で各アイテムに一意に付与される番号である。領域条件は,そのアイテムに設定された暗号化要否等の情報である。 As shown in FIG. 5F, the item ID 215 includes layout type, resource sequence number, layout hash value, item type, item sequence number, and area condition information. The layout type is the layout type of the resource to which the item belongs. The resource sequence number is the resource sequence number of the resource to which the item belongs. The layout hash value is the layout hash value of the resource to which the item belongs. The item type is a type such as an item name of the item. The item serial number is a number uniquely assigned to each item in the item hash table 213. The area condition is information such as the necessity of encryption set for the item.

以下,図5に示すような各データの構成を踏まえて,図4に示すリソース入力時のレイアウト変換の例を説明する。 Hereinafter, an example of layout conversion at the time of resource input shown in FIG. 4 will be described based on the configuration of each data as shown in FIG.

図4において,リソース(1),(2),(3)は,レイアウト種別Aのデータであり,アイテム種別A,B,C,Dのアイテムからなる。リソース(4)は,レイアウト種別Bのデータであり,アイテム種別A,Eのアイテムからなる。リソース(5),(6)は,レイアウト種別Cのデータであり,アイテム種別F,G,Hのアイテムからなる。 In FIG. 4, resources (1), (2), and (3) are data of layout type A, and are composed of items of item types A, B, C, and D. Resource (4) is data of layout type B, and consists of items of item types A and E. Resources (5) and (6) are data of layout type C, and consist of items of item types F, G, and H.

データ管理部品モジュール20は,その起動時に,予めリソースハッシュテーブル210の領域を動的に確保し,初期化しておく。リソースハッシュテーブル210の領域は,レイアウト変換テーブル34の各レコードのリソースハッシュ値の最大値分の領域を確保する。ここでは,エントリ1〜4の領域が確保されている。 The data management component module 20 dynamically secures and initializes an area of the resource hash table 210 in advance when starting up. The area of the resource hash table 210 secures an area for the maximum value of the resource hash value of each record of the layout conversion table 34. Here, the areas of entries 1 to 4 are secured.

最初にリソース(1)が入力されると,そのリソース(1)のリソース情報211の領域が動的に確保される。リソース(1)のレイアウト種別はAであるので,そのレイアウト種別Aでレイアウト変換テーブル34を検索し,レイアウトハッシュ値を取得する。取得されたレイアウトハッシュ値に該当するリソースハッシュテーブル210のエントリが1であるものとすると,エントリ1のポインタ部に,確保されたリソース(1)のリソース情報211の領域のアドレスが設定され,エントリ1の件数がインクリメント(0→1)される。また,リソース通番のインクリメント(0→1)が行われ,そのリソース通番とレイアウト種別とレイアウトハッシュ値とからリソース(1)のリソースID212が作成される。作成されたリソースID212は,リソース(1)のリソース情報211に設定される。なお,リソース(1)のリソース情報211の次ポインタは,この時点で初期値(null)である。 When resource (1) is input first, the area of resource information 211 of the resource (1) is dynamically secured. Since the layout type of resource (1) is A, the layout conversion table 34 is searched with the layout type A, and the layout hash value is acquired. Assuming that the entry of the resource hash table 210 corresponding to the acquired layout hash value is 1, the address of the area of the resource information 211 of the reserved resource (1) is set in the pointer portion of the entry 1, and the entry The number of 1 is incremented (0 → 1). Further, the resource sequence number is incremented (0 → 1), and the resource ID 212 of the resource (1) is created from the resource sequence number, the layout type, and the layout hash value. The created resource ID 212 is set in the resource information 211 of the resource (1). The next pointer of the resource information 211 of the resource (1) is an initial value (null) at this time.

本実施の形態では,アイテムハッシュテーブル213とアイテム情報214の格納領域は,連続領域として動的に確保する。そこで,レイアウト変換テーブル34と各アイテム管理テーブル35とから,アイテムハッシュテーブル213と全アイテム情報214との格納領域のサイズを計算し,メモリから動的に領域を確保する。リソース(1)の場合には,アイテムハッシュテーブル213としてエントリ1〜3の領域が確保され,エントリ1に属するアイテム情報214の領域
としてアイテム種別Aの領域が,エントリ2に属するアイテム情報214の領域としてアイテム種別B,Dの領域が,エントリ3に属するアイテム情報214の領域としてアイテム種別Cの領域が確保される。
In the present embodiment, the storage area for the item hash table 213 and the item information 214 is dynamically secured as a continuous area. Therefore, the storage area size of the item hash table 213 and all item information 214 is calculated from the layout conversion table 34 and each item management table 35, and the area is dynamically secured from the memory. In the case of resource (1), the areas of entries 1 to 3 are secured as the item hash table 213, the area of item type A as the area of item information 214 belonging to entry 1, and the area of item information 214 belonging to entry 2 The area of item type B and D is secured, and the area of item type C is secured as the area of item information 214 belonging to entry 3.

アイテムハッシュテーブル213の各エントリのポインタに,それぞれ先頭のアイテム情報214の領域のアドレスが設定され,アイテム種別Bのアイテム情報214の次ポインタに,アイテム種別Dのアイテム情報214の領域のアドレスが設定される。アイテムハッシュテーブル213の各エントリの件数に,それぞれ属するアイテムの件数が設定される。また,リソース(1)のリソース情報211の下位ポインタに,確保されたアイテムハッシュテーブル213の領域のアドレスが設定される。 The address of the area of the first item information 214 is set to the pointer of each entry in the item hash table 213, and the address of the area of the item information 214 of item type D is set to the next pointer of the item information 214 of item type B. Is done. The number of items belonging to each of the entries in the item hash table 213 is set. Further, the address of the area of the reserved item hash table 213 is set in the lower pointer of the resource information 211 of the resource (1).

リソース(1)のリソースID212,レイアウト変換テーブル34,アイテム管理テーブル35をもとに,各アイテム情報214にアイテムID215が設定される。また,リソース(1)の各アイテムの値(データ)が,各アイテム情報214のアイテム値に設定される。 An item ID 215 is set in each item information 214 based on the resource ID 212, the layout conversion table 34, and the item management table 35 of the resource (1). Further, the value (data) of each item of the resource (1) is set as the item value of each item information 214.

次にリソース(2)が入力されると,そのリソース(2)のリソース情報211の領域が動的に確保される。リソース(2)のレイアウト種別はAであるので,リソース(1)と同じリソースハッシュテーブル210のエントリ1に属することになる。リソースハッシュテーブル210のエントリ1のポインタにはすでにリソース(1)のリソース情報211の領域のアドレスが設定されているので,リソース(1)のリソース情報211の次ポインタに,リソース(2)のリソース情報211の領域のアドレスが設定される。リソースハッシュテーブル210のエントリ1の件数がインクリメント(1→2)される。また,リソース通番がインクリメント(1→2)され,リソース(2)のリソースID212のリソース通番は2となる。リソース(1)の場合と同様に,アイテムに関する処理を行う。 Next, when the resource (2) is input, the area of the resource information 211 of the resource (2) is dynamically secured. Since the layout type of resource (2) is A, it belongs to entry 1 of the same resource hash table 210 as resource (1). Since the address of the resource information 211 area of the resource (1) is already set in the pointer of the entry 1 of the resource hash table 210, the resource of the resource (2) is set to the next pointer of the resource information 211 of the resource (1). The address of the information 211 area is set. The number of entries 1 in the resource hash table 210 is incremented (1 → 2). Further, the resource sequence number is incremented (1 → 2), and the resource sequence number of the resource ID 212 of the resource (2) becomes 2. Similar to the case of the resource (1), processing related to the item is performed.

次にリソース(4)が入力されると,そのリソース(4)のリソース情報211の領域が動的に確保される。リソース(4)のレイアウト種別はBであるので,そのレイアウト種別Bでレイアウト変換テーブル34を検索し,レイアウトハッシュ値を取得する。取得されたレイアウトハッシュ値に該当するリソースハッシュテーブル210のエントリが3であるものとすると,エントリ3のポインタに,確保されたリソース(4)のリソース情報211の領域のアドレスが設定され,エントリ3の件数がインクリメント(0→1)される。また,リソース通番がインクリメント(2→3)され,リソース(4)のリソースID212のリソース通番は3となる。リソース(1)の場合と同様に,アイテムに関する処理を行う。 Next, when the resource (4) is input, the area of the resource information 211 of the resource (4) is dynamically secured. Since the layout type of the resource (4) is B, the layout conversion table 34 is searched with the layout type B, and the layout hash value is acquired. Assuming that the entry of the resource hash table 210 corresponding to the acquired layout hash value is 3, the address of the resource information 211 area of the reserved resource (4) is set in the pointer of the entry 3, and the entry 3 Is incremented (0 → 1). Further, the resource sequence number is incremented (2 → 3), and the resource sequence number of the resource ID 212 of the resource (4) becomes 3. Similar to the case of the resource (1), processing related to the item is performed.

次にリソース(3)が入力されると,そのリソース(3)のリソース情報211の領域が動的に確保される。リソース(3)のレイアウト種別はAであるので,リソース(1)と同じリソースハッシュテーブル210のエントリ1に属することになる。リソースハッシュテーブル210のエントリ1のポインタにはすでにリソース(1)のリソース情報211の領域のアドレスが設定されているので,リソース(2)のリソース情報211の次ポインタに,リソース(3)のリソース情報211の領域のアドレスが設定される。リソースハッシュテーブル210のエントリ1の件数がインクリメント(2→3)される。また,リソース通番がインクリメント(3→4)され,リソース(3)のリソースID212のリソース通番は4となる。リソース(1)の場合と同様に,アイテムに関する処理を行う。 Next, when the resource (3) is input, the area of the resource information 211 of the resource (3) is dynamically secured. Since the layout type of resource (3) is A, it belongs to entry 1 of the same resource hash table 210 as resource (1). Since the address of the resource information 211 of the resource (1) is already set in the pointer of the entry 1 of the resource hash table 210, the resource of the resource (3) is set to the next pointer of the resource information 211 of the resource (2). The address of the information 211 area is set. The number of entries 1 in the resource hash table 210 is incremented (2 → 3). Further, the resource sequence number is incremented (3 → 4), and the resource sequence number of the resource ID 212 of the resource (3) becomes 4. Similar to the case of the resource (1), processing related to the item is performed.

次にリソース(5)が入力されると,そのリソース(5)のリソース情報211の領域が動的に確保される。リソース(5)のレイアウト種別はCであるので,そのレイアウト種別Cでレイアウト変換テーブル34を検索し,レイアウトハッシュ値を取得する。ここで,取得されたレイアウトハッシュ値に該当するリソースハッシュテーブル210のエントリが,レイアウト種別がBであるリソース(4)と同じ3であるものとする。リソースハッシュテーブル210のエントリ3のポインタにはすでにリソース(4)のリソース情報211の領域のアドレスが設定されているので,リソース(4)のリソース情報211の次ポインタに,リソース(5)のリソース情報211の領域のアドレスが設定される。リソースハッシュテーブル210のエントリ3の件数がインクリメント(1→2)される。また,リソース通番がインクリメント(4→5)され,リソース(5)のリソースID212のリソース通番は5となる。リソース(1)の場合と同様に,アイテムに関する処理を行う。 Next, when the resource (5) is input, the area of the resource information 211 of the resource (5) is dynamically secured. Since the layout type of the resource (5) is C, the layout conversion table 34 is searched with the layout type C, and the layout hash value is acquired. Here, it is assumed that the entry of the resource hash table 210 corresponding to the acquired layout hash value is 3, which is the same as the resource (4) whose layout type is B. Since the address of the resource information 211 of the resource (4) is already set in the pointer of the entry 3 of the resource hash table 210, the resource of the resource (5) is set to the next pointer of the resource information 211 of the resource (4). The address of the information 211 area is set. The number of entries 3 in the resource hash table 210 is incremented (1 → 2). Further, the resource sequence number is incremented (4 → 5), and the resource sequence number of the resource ID 212 of the resource (5) becomes 5. Similar to the case of the resource (1), processing related to the item is performed.

次にリソース(6)が入力されると,そのリソース(6)のリソース情報211の領域が動的に確保される。リソース(6)のレイアウト種別はCであるので,リソース(5)と同じリソースハッシュテーブル210のエントリ3に属することになる。リソースハッシュテーブル210のエントリ3のポインタにはすでにリソース(4)のリソース情報211の領域のアドレスが設定されているので,リソース(5)のリソース情報211の次ポインタに,リソース(6)のリソース情報211の領域のアドレスが設定される。リソースハッシュテーブル210のエントリ3の件数がインクリメント(2→3)される。また,リソース通番がインクリメント(5→6)され,リソース(6)のリソースID212のリソース通番は6となる。リソース(1)の場合と同様に,アイテムに関する処理を行う。 Next, when the resource (6) is input, the area of the resource information 211 of the resource (6) is dynamically secured. Since the layout type of the resource (6) is C, it belongs to the entry 3 of the same resource hash table 210 as the resource (5). Since the address of the resource information 211 of the resource (4) is already set in the pointer of the entry 3 of the resource hash table 210, the resource of the resource (6) is added to the next pointer of the resource information 211 of the resource (5). The address of the information 211 area is set. The number of entries 3 in the resource hash table 210 is incremented (2 → 3). Further, the resource sequence number is incremented (5 → 6), and the resource sequence number of the resource ID 212 of the resource (6) becomes 6. Similar to the case of the resource (1), processing related to the item is performed.

以上の処理により,図4に示すように,外部形式のデータがデータ管理部品モジュール20によって内部形式のデータにレイアウト変換され,内部形式データ記憶部21に記憶される。図4の例では,リソースハッシュテーブル210,アイテムハッシュテーブル213を用いることにより,アクセス性能のバラツキをなくしている。 With the above processing, as shown in FIG. 4, the external format data is layout-converted to the internal format data by the data management component module 20 and stored in the internal format data storage unit 21. In the example of FIG. 4, variation in access performance is eliminated by using the resource hash table 210 and the item hash table 213.

図6は,運転管理部23が行う運転管理処理フローチャートである。図6の運転管理処理は,レイアウト変換処理のための準備を行う処理であり,データ管理部品モジュール20の初回起動時に実行される。 FIG. 6 is a flowchart of operation management processing performed by the operation management unit 23. The operation management process of FIG. 6 is a process for preparing for the layout conversion process, and is executed when the data management component module 20 is first activated.

運転管理部23は,ナビゲーションテーブル記憶部30のナビゲーションテーブル(電文管理テーブル31,業務マスタ管理テーブル32,アクション管理テーブル33,レイアウト変換テーブル34,アイテム管理テーブル35,条件設定テーブル36)を,メモリに展開する(ステップS10)。 The operation management unit 23 stores the navigation table (the message management table 31, the business master management table 32, the action management table 33, the layout conversion table 34, the item management table 35, the condition setting table 36) of the navigation table storage unit 30 in the memory. Expand (step S10).

次に,レイアウト変換テーブル34からレイアウトハッシュ値の最大値を取得し(ステップS11),取得した最大値分のリソースハッシュテーブル210の領域を動的に確保する(ステップS12)。確保したリソースハッシュテーブル210の領域を初期化し(ステップS13),処理を終了する。 Next, the maximum value of the layout hash value is acquired from the layout conversion table 34 (step S11), and an area of the resource hash table 210 corresponding to the acquired maximum value is dynamically secured (step S12). The area of the secured resource hash table 210 is initialized (step S13), and the process ends.

図7は,レイアウト変換部22が行うレイアウト変換処理フローチャートである。図7のレイアウト変換処理は,入力された外部形式のデータであるリソースを,内部形式のデータに展開する処理の例である。なお,ここでは説明を簡単にするために,暗号化/復号化変換の処理,圧縮/非圧縮変換の処理,入力項目チェックの処理は省略している。電文についてのレイアウト変換の例を説明するが,業務マスタ16のデータのレイアウト変換も同様である。 FIG. 7 is a flowchart of the layout conversion process performed by the layout conversion unit 22. The layout conversion process of FIG. 7 is an example of a process for expanding the resource, which is input external format data, into internal format data. In order to simplify the description, encryption / decryption conversion processing, compression / non-compression conversion processing, and input item check processing are omitted here. An example of layout conversion for a message will be described, but the same applies to layout conversion of data in the business master 16.

レイアウト変換部22は,入力されたリソースの電文IDで電文管理テーブル31を検索し,アクションIDを取得する(ステップS20)。取得したアクションIDでアクション管理テーブル33を検索し,レイアウト種別を取得する(ステップS21)。取得したレイアウト種別でレイアウト変換テーブル34を検索し,該当するレイアウト変換テーブル34を抽出する(ステップS22)。リソース情報211の領域を動的に確保する(ステップS23)。 The layout conversion unit 22 searches the message management table 31 with the message ID of the input resource, and acquires the action ID (step S20). The action management table 33 is searched with the acquired action ID, and the layout type is acquired (step S21). The layout conversion table 34 is searched with the acquired layout type, and the corresponding layout conversion table 34 is extracted (step S22). The area of the resource information 211 is dynamically secured (step S23).

ステップS22で抽出されたレイアウト変換テーブル34に保持されたレイアウトハッシュ値に該当するリソースハッシュテーブル210のエントリのポインタがnullであれば(ステップS24),ステップS23で動的に確保されたリソース情報211の領域のアドレスを該当エントリのポインタに設定する(ステップS25)。 If the pointer of the entry of the resource hash table 210 corresponding to the layout hash value held in the layout conversion table 34 extracted in step S22 is null (step S24), the resource information 211 dynamically secured in step S23 Is set in the pointer of the corresponding entry (step S25).

ステップS22で抽出されたレイアウト変換テーブル34に保持されたレイアウトハッシュ値に該当するリソースハッシュテーブル210のエントリのポインタがnullでなければ(ステップS24),エントリのポインタからリンクを追い,最終のリソース情報211の次ポインタに,ステップS23で動的に確保されたリソース情報211の領域のアドレスを設定する(ステップS26)。 If the pointer of the entry of the resource hash table 210 corresponding to the layout hash value held in the layout conversion table 34 extracted in step S22 is not null (step S24), the link is traced from the pointer of the entry, and the final resource information The address of the area of the resource information 211 dynamically secured in step S23 is set in the next pointer of 211 (step S26).

アイテムハッシュテーブル213とアイテム情報214の格納領域のサイズを計算し,アイテムハッシュテーブル213とアイテム情報214の格納領域を動的に確保する(ステップS27)。 The size of the storage area for the item hash table 213 and the item information 214 is calculated, and the storage area for the item hash table 213 and the item information 214 is dynamically secured (step S27).

ステップS22で抽出されたレイアウト変換テーブル34の情報をリソース情報211の領域に設定し,リソース情報211を編集する(ステップS28)。リソース通番をインクリメントし,リソース情報211の領域に設定し,リソース情報211を編集する(ステップS29)。アイテムハッシュテーブル213の領域のアドレスを,リソース情報211の領域に設定し,リソース情報211を編集する(ステップS30)。 The information of the layout conversion table 34 extracted in step S22 is set in the area of the resource information 211, and the resource information 211 is edited (step S28). The resource serial number is incremented, set in the area of the resource information 211, and the resource information 211 is edited (step S29). The address of the area of the item hash table 213 is set in the area of the resource information 211, and the resource information 211 is edited (step S30).

アイテムハッシュテーブル213の各エントリのポインタに,それぞれ属するアイテムのアイテム情報214の領域のアドレスを設定する(ステップS31)。このとき,複数のアイテムが同じエントリに属する場合には,アイテム情報214の次ポインタを用いてつないでいく。ステップS22で抽出されたレイアウト変換テーブル34を参照し,入力されたリソースの値を切り出して,各アイテム情報214に設定する(ステップS32)。リソースハッシュテーブル210の該当リソースが属するエントリの件数をインクリメントする(ステップS33)。 The address of the item information 214 area of the item belonging to each entry is set in the pointer of each entry in the item hash table 213 (step S31). At this time, when a plurality of items belong to the same entry, the next pointer of the item information 214 is used for connection. The layout conversion table 34 extracted in step S22 is referred to, and the input resource value is cut out and set in each item information 214 (step S32). The number of entries to which the corresponding resource belongs in the resource hash table 210 is incremented (step S33).

なお,ここでは説明を簡単化したが,実際にはステップ32のリソースの値を切り出す処理において,アクション管理テーブル33および各アイテム管理テーブル35の設定情報に従って,必要であれば,入力項目チェック部25の呼び出し,圧縮/非圧縮変換部26の呼び出し,暗号化/復号化変換部27の呼び出しを行い,アイテム情報214に設定するアイテム値について,入力項目チェックの処理,非圧縮の処理,暗号化の処理などを行う。また,ログ編集部24は,随時,トラブル解析等に有用な情報をログ情報として編集し出力する処理を行う。 Although the description has been simplified here, in practice, in the process of extracting the resource value in step 32, the input item check unit 25, if necessary, according to the setting information of the action management table 33 and each item management table 35. , The compression / non-compression conversion unit 26, the encryption / decryption conversion unit 27, and the item value set in the item information 214, input item check processing, non-compression processing, encryption Perform processing. In addition, the log editing unit 24 performs processing for editing and outputting information useful for trouble analysis as log information at any time.

図8,図9は,外部形式のデータから内部形式のデータへのレイアウト変換を説明する図である。図8は,レイアウト変換テーブル34,アイテム管理テーブル35の具体例を示し,図9は,図8のテーブルに従って,外部形式のデータ(レイアウト固定)を内部形式のデータ(レイアウト可変)に変換する例を示す。ここでは,電文を内部形式のデータに変換する例を説明する。 8 and 9 are diagrams for explaining layout conversion from external format data to internal format data. FIG. 8 shows specific examples of the layout conversion table 34 and the item management table 35. FIG. 9 shows an example of converting external format data (fixed layout) into internal format data (layout variable) according to the table of FIG. Indicates. Here, an example in which a message is converted into internal format data will be described.

図8(A)は,単純転送を示すレイアウト変換テーブル34,アイテム管理テーブル35である。単純転送では,外部形式の領域から内部形式の領域にそのままデータ値を複写する。図8(A)のレイアウト変換テーブル34とアイテム管理テーブル35とにより,図9に示すように,A項目の値“AA”が,内部形式のアイテム種別“R00A”のアイテム値に複写される。 FIG. 8A shows a layout conversion table 34 and an item management table 35 indicating simple transfer. In simple transfer, the data value is copied as it is from the external format area to the internal format area. With the layout conversion table 34 and the item management table 35 in FIG. 8A, as shown in FIG. 9, the value “AA” of the A item is copied to the item value of the item type “R00A” in the internal format.

図8(B)は,繰返し転送を示すレイアウト変換テーブル34,アイテム管理テーブル35である。繰返し転送では,複数データの項目を外部形式の領域から内部形式の領域に設定する。図8(B)のレイアウト変換テーブル34では,領域繰返し数として3が設定されている。そのため,図8(B)のレイアウト変換テーブル34とアイテム管理テーブル35とにより,図9に示すように,B項目−1,B項目−2,B項目−3のそれぞれの値“100”,“200”,“300”が,内部形式の3つのアイテム種別“R00B”のアイテム値に,繰返し設定される。 FIG. 8B shows a layout conversion table 34 and an item management table 35 indicating repeated transfer. In repeated transfer, multiple data items are set from the external format area to the internal format area. In the layout conversion table 34 of FIG. 8B, 3 is set as the area repetition number. For this reason, the layout conversion table 34 and the item management table 35 shown in FIG. 8B are used to set the values “100”, “100” for the B item-1, B item-2, and B item-3, respectively, as shown in FIG. “200” and “300” are repeatedly set as the item values of the three item types “R00B” in the internal format.

図8(C)は,固定値設定を示すレイアウト変換テーブル34,アイテム管理テーブル35である。固定値設定では,固定値を内部形式の領域に設定する。図8(C)のレイアウト変換テーブル34では,変換区分が2(固定値設定)に設定され,初期値として“1234”が設定されている。図9の外部形式のデータに示すように,C項目はダミーエントリとなっている。すなわち,外部領域サイズが0であり,実際には存在しない。しかし,内部形式では,個別業務アプリ10の処理において,例えば互換性や共通化のために必要とするため,図8(C)のレイアウト変換テーブル34とアイテム管理テーブル35とにより,図9に示すように,内部形式のアイテム種別“R00C”のアイテム値に,固定値として,任意の値の“1234”を設定できるようにしている。   FIG. 8C shows a layout conversion table 34 and an item management table 35 showing fixed value settings. In the fixed value setting, the fixed value is set in the internal format area. In the layout conversion table 34 of FIG. 8C, the conversion classification is set to 2 (fixed value setting), and “1234” is set as the initial value. As shown in the external format data in FIG. 9, the C item is a dummy entry. That is, the external area size is 0 and does not actually exist. However, in the internal format, it is necessary for compatibility and commonization in the processing of the individual business application 10, so that the layout conversion table 34 and the item management table 35 in FIG. As described above, an arbitrary value “1234” can be set as a fixed value in the item value of the item type “R00C” in the internal format.

図8(D)は,領域切り捨てを示すレイアウト変換テーブル34,アイテム管理テーブル35である。領域切り捨てでは,内部形式の領域サイズに合わせて外部形式のデータを切り捨てて設定する。図8(D)のレイアウト変換テーブル34では,外部領域サイズが3となっている。これに対して図8(D)のアイテム管理テーブル35では,領域サイズが2となっている。図8(D)のレイアウト変換テーブル34とアイテム管理テーブル35とにより,図9に示すように,D項目の値“BBB”が内部形式の領域サイズ2に合わせて切り捨てられ,アイテム種別“R00D”のアイテム値に“BB”として設定される。 FIG. 8D shows a layout conversion table 34 and an item management table 35 indicating area truncation. In area truncation, data in the external format is truncated and set according to the area size in the internal format. In the layout conversion table 34 of FIG. 8D, the external area size is 3. In contrast, in the item management table 35 of FIG. With the layout conversion table 34 and the item management table 35 in FIG. 8D, as shown in FIG. 9, the value “BBB” of the D item is rounded down to the area size 2 of the internal format, and the item type “R00D” The item value of “BB” is set as “BB”.

図8(E)は,暗号化項目を示すレイアウト変換テーブル34,アイテム管理テーブル35である。暗号化項目では,内部形式の領域への設定時に暗号化を行う。図8(E)のアイテム管理テーブル35では,領域条件が1(内部変換時に暗号化)となっている。図8(E)のレイアウト変換テーブル34とアイテム管理テーブル35とにより,図9に示すように,E項目の値“123456”が暗号化され,アイテム種別“R00E”のアイテム値に“XXXXXX”として設定される。 FIG. 8E shows a layout conversion table 34 and an item management table 35 indicating encrypted items. In the encryption item, encryption is performed when the internal format area is set. In the item management table 35 in FIG. 8E, the area condition is 1 (encrypted during internal conversion). As shown in FIG. 9, the value “123456” of the E item is encrypted by the layout conversion table 34 and the item management table 35 of FIG. 8E, and the item value of the item type “R00E” is set as “XXXXXXX”. Is set.

図10,図11は,内部形式のデータから外部形式のデータへのレイアウト変換を説明する図である。図10は,レイアウト変換テーブル34,アイテム管理テーブル35の具体例を示し,図11は,図10のテーブルに従って,内部形式のデータ(レイアウト可変)を外部形式のデータ(レイアウト固定)に変換する例を示す。ここでは,内部形式のデータを外部形式である業務マスタ16のレコードに変換する例を説明する。 10 and 11 are diagrams for explaining layout conversion from internal format data to external format data. FIG. 10 shows specific examples of the layout conversion table 34 and the item management table 35. FIG. 11 shows an example of converting internal format data (variable layout) to external format data (layout fixed) according to the table of FIG. Indicates. Here, an example in which data in the internal format is converted into a record of the business master 16 in the external format will be described.

図10(A)は,単純転送を示すレイアウト変換テーブル34,アイテム管理テーブル35である。単純転送では,内部形式の領域から外部形式の領域にそのままデータ値を複写する。図10(A)のレイアウト変換テーブル34,アイテム管理テーブル35により,図11に示すように,アイテム種別“R00A”のアイテム値“AA”が,外部形式のA項目に複写される。 FIG. 10A shows a layout conversion table 34 and an item management table 35 indicating simple transfer. In simple transfer, data values are copied as they are from the internal format area to the external format area. As shown in FIG. 11, the item value “AA” of the item type “R00A” is copied to the A item in the external format by the layout conversion table 34 and the item management table 35 in FIG.

図10(B)は,繰返し転送を示すレイアウト変換テーブル34,アイテム管理テーブル35である。繰返し転送では,複数データのアイテム種別を内部形式の領域から外部形式の領域に設定する。図10(B)のレイアウト変換テーブル34では,領域繰返し数として3が設定されている。そのため,図10(B)のレイアウト変換テーブル34,アイテム管理テーブル35により,図11に示すように,3つのアイテム種別“R00B”のアイテム値“100”,“200”,“300”が,それぞれ外部形式のB項目−1,B項目−2,B項目−3に繰返し設定される。 FIG. 10B shows a layout conversion table 34 and an item management table 35 indicating repeated transfer. In repeated transfer, the item type of multiple data is set from an internal format area to an external format area. In the layout conversion table 34 in FIG. 10B, 3 is set as the area repetition number. Therefore, according to the layout conversion table 34 and the item management table 35 in FIG. 10B, the item values “100”, “200”, and “300” of the three item types “R00B” are respectively shown in FIG. Repeatedly set to external item B item-1, B item-2, and B item-3.

図10(C)は,固定値設定を示すレイアウト変換テーブル34,アイテム管理テーブル35である。内部形式の領域への設定時に固定値設定を行った場合には,外部形式の領域への設定は行わない。図10(C)のレイアウト変換テーブル34では,変換区分が2(固定値設定)に設定されている。そのため,図10(C)のレイアウト変換テーブル34,アイテム管理テーブル35により,図11に示すように,外部形式のデータでは,C項目はダミーエントリとなる。 FIG. 10C shows a layout conversion table 34 and an item management table 35 showing fixed value settings. If a fixed value is set when setting the internal format area, the external format area is not set. In the layout conversion table 34 of FIG. 10C, the conversion classification is set to 2 (fixed value setting). Therefore, according to the layout conversion table 34 and the item management table 35 in FIG. 10C, the C item becomes a dummy entry in the external format data as shown in FIG.

図10(D)は,内部変換時と異なる領域を示すレイアウト変換テーブル34,アイテム管理テーブル35である。内部変換時と異なる領域では,アイテム種別を変えて外部形式の領域に設定する。図10(D)のレイアウト変換テーブル34では,外部内部変換領域IDが“R00D”であるのに対し,内部外部変換領域IDが“R00A”となっている。図10(D)のレイアウト変換テーブル34,アイテム管理テーブル35により,図11に示すように,アイテム種別“R00D”のアイテム値“BB”ではなく,アイテム種別“R00A”のアイテム値“AA”が,外部形式のD項目に設定される。 FIG. 10D shows a layout conversion table 34 and an item management table 35 showing areas different from those at the time of internal conversion. In an area different from the internal conversion area, the item type is changed and set to an external format area. In the layout conversion table 34 of FIG. 10D, the external internal conversion area ID is “R00D”, whereas the internal / external conversion area ID is “R00A”. According to the layout conversion table 34 and the item management table 35 in FIG. 10D, as shown in FIG. 11, the item value “AA” of the item type “R00A” is not the item value “BB” of the item type “R00D”. , D item in external format.

図10(E)は,暗号化項目を示すレイアウト変換テーブル34,アイテム管理テーブル35である。アイテム管理テーブル35の領域条件の値が1または2の暗号化項目の場合,内部形式の領域では暗号化済みのアイテム値を保持する。したがって,アイテム種別“R00E”のアイテム値は,すでに暗号済みの状態であるので,図10(D)のレイアウト変換テーブル34,アイテム管理テーブル35により,図11に示すように,アイテム種別“R00E”のアイテム値“XXXXXX”が,外部形式のE項目に設定される。なお,領域条件の値が2の暗号化項目は,外部形式において暗号化された値が保持されることを示す。 FIG. 10E shows a layout conversion table 34 and an item management table 35 indicating encrypted items. When the area condition value of the item management table 35 is an encrypted item of 1 or 2, the encrypted item value is held in the internal format area. Accordingly, since the item value of the item type “R00E” has already been encrypted, the item type “R00E” as shown in FIG. 11 is obtained from the layout conversion table 34 and the item management table 35 of FIG. The item value “XXXXXXX” is set in the E item of the external format. It should be noted that an encrypted item whose area condition value is 2 indicates that an encrypted value in the external format is held.

図12は,個別業務アプリと内部形式のデータとの関連を説明する図である。ここでは,入力電文,業務マスタ16,出力電文のそれぞれについて,個別業務アプリ10が内部形式のデータをどのように扱うかを説明する。個別業務アプリ10の入出力インタフェースは,リソースID212を用いてデータへのアクセスを行う。このため,個別業務アプリ10は,電文や業務マスタ16のレイアウトを意識したコーディングが不要となる。 FIG. 12 is a diagram for explaining the relationship between an individual business application and data in an internal format. Here, how the individual business application 10 handles the data in the internal format for each of the input message, the business master 16 and the output message will be described. The input / output interface of the individual business application 10 uses the resource ID 212 to access data. For this reason, the individual business application 10 does not require coding in consideration of the message and the layout of the business master 16.

まず,入力電文について説明する。入力電文があると,個別業務アプリ10の主プロセス11は,電文取込機能により,データ管理部品モジュール20を用いて,入力電文を内部形式に変換する(手順a)。これにより,例えば図12の内部形式データ記憶部21に示すように,リソースハッシュテーブル210のエントリ1配下に,入力電文が内部形式で展開されることになる。 First, the input message will be described. When there is an input message, the main process 11 of the individual business application 10 converts the input message into an internal format using the data management component module 20 by the message capture function (procedure a). Thereby, for example, as shown in the internal format data storage unit 21 of FIG. 12, the input message is expanded in the internal format under entry 1 of the resource hash table 210.

主プロセス11は,内部形式に変換された入力電文を処理するために,入力電文の種類に応じたサブプロセス12の呼び出しを行う(手順b)。個別業務アプリ10のサブプロセス12は,リソース検索機能により,入力電文のリソースID212を検索する(手順c)。入力電文を特定する検索条件を指定することにより,入力電文のリソースID212を取得することができる。また,サブプロセス12は,リソース参照機能とアイテム参照機能により,入力電文のアイテムAを参照する(手順d)。アイテム参照機能では,入力電文のアイテムAのアイテムID215を指定することにより,そのアイテムのアイテム値を得ることができる。 The main process 11 calls the sub-process 12 according to the type of the input message in order to process the input message converted into the internal format (procedure b). The sub-process 12 of the individual business application 10 searches the resource ID 212 of the input message using the resource search function (procedure c). By specifying a search condition for specifying an input message, the resource ID 212 of the input message can be acquired. The sub-process 12 refers to the item A of the input message by using the resource reference function and the item reference function (procedure d). In the item reference function, by specifying the item ID 215 of the item A of the input message, the item value of the item can be obtained.

次に,業務マスタ16のアクセスについて説明する。サブプロセス12は,アクセス部品15を用い,アイテムAのアイテム値をキーに業務マスタ16を参照する(手順e)。ここでは,アイテムAのアイテム値を含む業務マスタ16のリソースが検出されたものとする。サブプロセス12は,業務マスタ取込機能により,業務マスタ16を内部形式に変換する(手順f)。この例では,図12の内部形式データ記憶部21に示すように,リソースハッシュテーブル210のエントリ3配下に,業務マスタ16が内部形式で展開されるものとする。 Next, access to the business master 16 will be described. The sub-process 12 uses the access component 15 and refers to the business master 16 using the item value of item A as a key (procedure e). Here, it is assumed that the resource of the business master 16 including the item value of the item A is detected. The sub-process 12 converts the business master 16 into an internal format using the business master fetch function (procedure f). In this example, it is assumed that the business master 16 is expanded in the internal format under entry 3 of the resource hash table 210 as shown in the internal format data storage unit 21 of FIG.

次に,出力電文について説明する。サブプロセス12は,リソース作成機能により,出力電文のリソースを作成する(手順g)。この例では,図12の内部形式データ記憶部21に示すように,リソースハッシュテーブル210のエントリ4配下に,出力電文のリソースが内部形式で作成されている。リソース作成時のアイテム情報は,初期値となる。サブプロセス12は,アイテム更新機能により,出力電文のアイテムを更新する(手順h)。このとき,アイテムID215で更新するアイテムを指定し,該当するアイテムのアイテム情報のアイテム値を更新する。 Next, the output message will be described. The sub-process 12 creates an output message resource by the resource creation function (procedure g). In this example, as shown in the internal format data storage unit 21 of FIG. 12, the resource of the output message is created in the internal format under entry 4 of the resource hash table 210. Item information at the time of resource creation is the initial value. The sub-process 12 updates the item of the output message by the item update function (procedure h). At this time, the item to be updated is specified by the item ID 215, and the item value of the item information of the corresponding item is updated.

サブプロセス12から主プロセスに戻る(手順i)。主プロセス11は,電文編集機能により,出力電文を外部形式に変換する(手順j)。このとき,出力電文のリソースID212で内部形式のデータを指定し,外部形式のデータに変換する。 Return from the sub-process 12 to the main process (procedure i). The main process 11 converts the output message into an external format by the message editing function (procedure j). At this time, data in the internal format is designated by the resource ID 212 of the output message, and converted to data in the external format.

図13は,個別業務アプリが利用可能なデータ管理部品モジュール20の機能を説明する図である。個別業務アプリ10は,共通部品群29を用いることにより,図13に示すような様々なデータ管理部品モジュール20が提供する機能を利用することができる。これらの「機能」は,関数,サブルーチンもしくはマクロ命令と読み替えてもよい。例えば,電文取込機能は,電文取込関数と読み替えることができ,個別業務アプリ10が電文取込関数を発行することにより,データ管理部品モジュール20内の電文取込プログラムが電文取込の処理を実現するようになっている。 FIG. 13 is a diagram illustrating functions of the data management component module 20 that can be used by the individual business application. By using the common component group 29, the individual business application 10 can use functions provided by various data management component modules 20 as shown in FIG. These “functions” may be read as functions, subroutines, or macro instructions. For example, the message capture function can be read as a message capture function, and when the individual business application 10 issues a message capture function, the message capture program in the data management component module 20 can process the message capture. Has come to be realized.

図13に示すように,データ管理部品モジュール20による外部内部変換としては,電文取込機能,業務マスタ取込機能がある。電文取込機能は,電文領域のデータをサーバの内部形式にレイアウト変換し,リソースID212を返却する機能である。業務ID,電文ID,電文領域を入力パラメータとし,リソースID212を返却値とする。業務マスタ取込機能は,業務マスタ領域のデータをサーバの内部形式にレイアウト変換し,リソースID212を返却する。業務マスタID,DBアクセスID,業務マスタ領域を入力パラメータとし,リソースID212を返却値とする。 As shown in FIG. 13, the external internal conversion by the data management component module 20 includes a message capturing function and a business master capturing function. The message capture function is a function that converts the data in the message area into the internal format of the server and returns the resource ID 212. The business ID, message ID, and message area are input parameters, and the resource ID 212 is a return value. The business master capture function converts the layout of the business master area data into the internal format of the server and returns the resource ID 212. The business master ID, DB access ID, and business master area are input parameters, and the resource ID 212 is a return value.

内部外部変換としては,電文編集機能,業務マスタ編集機能がある。電文編集機能は,電文領域のデータを外部形式にレイアウト変換し,電文領域を返却する機能である。リソースID212を入力パラメータとし,業務ID,電文ID,電文領域を返却値とする。業務マスタ編集機能は,業務マスタ領域のデータを外部形式にレイアウト変換し,業務マスタ領域を返却する機能である。リソースID212を入力パラメータとし,業務マスタID,DBアクセスID,業務マスタ領域を返却値とする。 The internal / external conversion includes a message editing function and a business master editing function. The message editing function is a function for converting the layout of the message area data into an external format and returning the message area. The resource ID 212 is an input parameter, and the business ID, message ID, and message area are return values. The business master editing function is a function for converting the business master area data into an external format and returning the business master area. The resource ID 212 is an input parameter, and the business master ID, DB access ID, and business master area are return values.

検索機能としては,リソース検索機能がある。リソース検索機能は,検索条件に該当するリソースを,ソート条件の順序で検索する機能である。ソート条件は任意であり,ソート条件が指定されていれば,検索結果のリソースID212をソート条件の順序で出力する。検索条件,ソート条件を入力パラメータとし,1または複数のリソースID212を返却値とする。 There is a resource search function as a search function. The resource search function is a function for searching for resources corresponding to the search conditions in the order of the sort conditions. The sort condition is arbitrary, and if the sort condition is specified, the resource ID 212 of the search result is output in the order of the sort condition. Search conditions and sort conditions are input parameters, and one or more resource IDs 212 are return values.

参照機能としては,リソース参照機能,アイテム参照機能がある。リソース参照機能は,指定されたリソース配下のアイテムを参照する機能である。リソースID212を入力パラメータとし,リソース配下のアイテムID215,アイテム値を返却値とする。アイテム参照機能は,指定されたアイテムのアイテム値を参照する機能である。アイテムID215を入力パラメータとし,アイテム値を返却値とする。 The reference function includes a resource reference function and an item reference function. The resource reference function refers to an item under a specified resource. The resource ID 212 is set as an input parameter, and the item ID 215 and item value under the resource are set as return values. The item reference function is a function for referring to an item value of a specified item. The item ID 215 is an input parameter, and the item value is a return value.

更新機能としては,リソース作成機能,リソース複写機能,アイテム更新機能がある。リソース作成機能は,リソース通番を払出し,新規にリソースを作成する機能である。このとき,作成されるリソース配下の各アイテムは,初期値で作成される。レイアウト種別を入力パラメータとし,リソースID212を返却値とする。リソース複写機能は,複写元のリソースから複写先のリソースに,各アイテムを複写する機能である。複写元のリソースID212,複写先のリソースID212を入力パラメータとする。アイテム更新機能は,指定されたアイテムの作成や更新を行う機能である。アイテムID215,アイテム値を入力パラメータとする。 The update function includes a resource creation function, a resource copy function, and an item update function. The resource creation function is a function for issuing a resource serial number and creating a new resource. At this time, each item under the created resource is created with an initial value. The layout type is an input parameter, and the resource ID 212 is a return value. The resource copy function is a function for copying each item from a copy source resource to a copy destination resource. The copy source resource ID 212 and the copy destination resource ID 212 are input parameters. The item update function is a function for creating or updating a specified item. The item ID 215 and the item value are input parameters.

削除機能としては,リソース削除機能,アイテム削除機能がある。リソース削除機能は,検索条件に
該当するリソースを削除する機能である。検索条件を入力パラメータとし,削除したリソースID212を返却値とする。アイテム削除機能は,指定されたアイテムを削除する機能である。アイテムID215を入力パラメータとする。
The deletion function includes a resource deletion function and an item deletion function. The resource deletion function is a function for deleting resources corresponding to the search condition. The search condition is an input parameter, and the deleted resource ID 212 is a return value. The item deletion function is a function for deleting a specified item. The item ID 215 is an input parameter.

条件設定としては,条件設定機能,条件解除機能がある。条件設定機能は,検索条件またはソート条件を設定する機能である。条件区分,条件設定値を入力パラメータとし,条件設定IDを返却値とする。条件区分は,検索条件であるかソート条件であるかの区分を示す。条件解除機能は,設定済みの検索条件またはソート条件を解除する機能である。条件設定IDを入力パラメータとする。 Condition setting includes a condition setting function and a condition cancellation function. The condition setting function is a function for setting a search condition or a sort condition. The condition classification and condition setting value are input parameters, and the condition setting ID is a return value. The condition category indicates the category of the search condition or the sort condition. The condition cancel function is a function for canceling a set search condition or sort condition. The condition setting ID is an input parameter.

図14は,条件設定機能による検索条件の例を示す図である。ここでは,図13に示す条件設定機能を用いて検索条件を設定する例を説明する。検索条件は,条件設定テーブル36(図3参照)に設定される。なお,図14の例では,条件設定ID,条件区分,レイアウト種別,チェック方法の情報は省略されており,次条件設定IDは,次ポインタとして示している。 FIG. 14 is a diagram illustrating an example of search conditions by the condition setting function. Here, an example in which search conditions are set using the condition setting function shown in FIG. 13 will be described. The search condition is set in the condition setting table 36 (see FIG. 3). In the example of FIG. 14, information on the condition setting ID, condition classification, layout type, and check method is omitted, and the next condition setting ID is indicated as a next pointer.

図14(a)は,アイテム種別Aのアイテム値が10以上かつ20未満であるリソースを対象とする検索条件の例である。(a1)の条件設定テーブル36では,アイテム種別がA,アイテム値が10,比較条件が≧(〜以上)であることから,アイテム種別Aのアイテム値が10以上という条件が示されている。また,(a1)の条件設定テーブル36の次ポインタで指定された(a2)の条件設定テーブル36では,アイテム種別がA,アイテム値が20,比較条件が<(〜未満)であることから,アイテム種別Aのアイテム値が20未満という条件が示されている。 FIG. 14A shows an example of a search condition for a resource whose item value of item type A is 10 or more and less than 20. In the condition setting table 36 of (a1), since the item type is A, the item value is 10, and the comparison condition is ≧ (˜or higher), the condition that the item value of the item type A is 10 or higher is indicated. In the condition setting table 36 of (a2) designated by the next pointer of the condition setting table 36 of (a1), the item type is A, the item value is 20, and the comparison condition is <(less than). The condition that the item value of item type A is less than 20 is shown.

(a1)の条件設定テーブル36の連結条件がAND条件であることから,(a1)の条件設定テーブル36と,(a2)の条件設定テーブル36とがAND条件で連結されていることがわかる。したがって,これらの2つの条件設定テーブル36のAND条件から,アイテム種別Aのアイテム値が10以上,かつ,20未満という条件が設定されていることになる。 Since the connection condition of the condition setting table 36 in (a1) is an AND condition, it can be seen that the condition setting table 36 in (a1) and the condition setting table 36 in (a2) are connected with an AND condition. Therefore, the condition that the item value of item type A is 10 or more and less than 20 is set from the AND condition of these two condition setting tables 36.

図14(b)は,アイテム種別Bのアイテム値が30またはアイテム種別Cのアイテム値が40であるリソースを対象とする検索条件の例である。(b1)の条件設定テーブル36では,アイテム種別がB,アイテム値が30,比較条件が=であることから,アイテム種別Bのアイテム値が30という条件が示されている。また,(b1)の条件設定テーブル36の次ポインタで指定された(b2)の条件設定テーブル36では,アイテム種別がC,アイテム値が40,比較条件が=であることから,アイテム種別Cのアイテム値が40という条件が示されている。 FIG. 14B is an example of a search condition for a resource whose item value of item type B is 30 or whose item value of item type C is 40. In the condition setting table 36 of (b1), since the item type is B, the item value is 30, and the comparison condition is =, the condition that the item value of the item type B is 30 is shown. In the condition setting table 36 of (b2) designated by the next pointer of the condition setting table 36 of (b1), the item type is C, the item value is 40, and the comparison condition is =. The condition that the item value is 40 is shown.

(b1)の条件設定テーブル36の連結条件がOR条件であることから,(b1)の条件設定テーブル36と(b2)の条件設定テーブル36とがOR条件で連結されていることがわかる。したがって,これらの2つの条件設定テーブル36のOR条件から,アイテム種別Bのアイテム値が30,または,アイテム種別Cのアイテム値が40という条件が設定されていることになる。 Since the connection condition of the condition setting table 36 of (b1) is the OR condition, it can be seen that the condition setting table 36 of (b1) and the condition setting table 36 of (b2) are connected by the OR condition. Therefore, the condition that the item value of item type B is 30 or the item value of item type C is 40 is set from the OR condition of these two condition setting tables 36.

本考案のレイアウト変換機能を有するデータ処理装置およびデータ管理部品プログラムは,多数の業務アプリケーションプログラムによって,多種類の電文や各種のデータベースのレコードを処理するシステムに用いることができる。また,例えばX会社とY会社とが合併し,X会社が使用していたコンピュータ・システムとY会社が使用していたコンピュータ・システムとを一つのシステムに統合するような場合に,この統合のためのシステムの再構築を容易化するための現実的な技術的解法となり得る。 The data processing apparatus and data management component program having the layout conversion function of the present invention can be used in a system that processes a large number of kinds of electronic messages and various database records by a large number of business application programs. Also, for example, when the X company and the Y company merge and the computer system used by the X company and the computer system used by the Y company are integrated into one system, this integration Therefore, it can be a realistic technical solution for facilitating the reconstruction of the system.

本考案の実施の形態を示すシステム構成の概要図である。It is a schematic diagram of a system configuration showing an embodiment of the present invention. 本考案に関連する部分の詳細な構成例を示す図である。It is a figure which shows the detailed structural example of the part relevant to this invention. 各テーブルのデータ構成の例を示す図である。It is a figure which shows the example of a data structure of each table. リソース入力時のレイアウト変換の例を説明する図である。It is a figure explaining the example of the layout conversion at the time of resource input. 内部形式のデータの構成の例を示す図である。It is a figure which shows the example of a structure of the data of an internal format. 運転管理処理フローチャートである。It is a driving | operation management processing flowchart. レイアウト変換処理フローチャートである。It is a layout conversion process flowchart. 外部形式のデータから内部形式のデータへのレイアウト変換を説明する図である。It is a figure explaining layout conversion from external format data to internal format data. 外部形式のデータから内部形式のデータへのレイアウト変換を説明する図である。It is a figure explaining layout conversion from external format data to internal format data. 内部形式のデータから外部形式のデータへのレイアウト変換を説明する図である。It is a figure explaining the layout conversion from the data of an internal format to the data of an external format. 内部形式のデータから外部形式のデータへのレイアウト変換を説明する図である。It is a figure explaining the layout conversion from the data of an internal format to the data of an external format. 個別業務アプリと内部形式のデータとの関連を説明する図である。It is a figure explaining the relationship between an individual business application and the data of an internal format. 個別業務アプリが利用可能なデータ管理部品モジュールの機能を説明する図である。It is a figure explaining the function of the data management component module which can use an individual business application. 条件設定機能による検索条件の例を示す図である。It is a figure which shows the example of the search conditions by a condition setting function. 従来システムの例を示す図である。It is a figure which shows the example of a conventional system.

1 サーバ(CPU/メモリ) 10 個別業務アプリ 11 主プロセス 12 サブプロセス 13 通信パッケージ 14 電文制御部 15 アクセス部品 16 業務マスタ 20 データ管理部品モジュール 21 内部形式データ記憶部 22 レイアウト変換部 23 運転管理部 24 ログ編集部 25 入力項目チェック部 26 圧縮/非圧縮変換部 27 暗号化/復号化変換部 28 ログ情報記憶部 29 共通部品群 30 ナビゲーションテーブル記憶部 31 電文管理テーブル 32 業務マスタ管理テーブル 33 アクション管理テーブル 34 レイアウト変換テーブル 35 アイテム管理テーブル 36 条件設定テーブル 40 クライアント 41 他システム 50 管理用端末 51 条件入力画面表示部 52 条件入力部 53 ナビゲーションテーブル生成部 54 統計情報照会部 55 解析情報照会部 56 設計書 210 リソースハッシュテーブル 211 リソース情報 212 リソースID 213 アイテムハッシュテーブル 214 アイテム情報 215 アイテムID
DESCRIPTION OF SYMBOLS 1 Server (CPU / memory) 10 Individual business application 11 Main process 12 Sub process 13 Communication package 14 Message control part 15 Access part 16 Business master 20 Data management part module 21 Internal format data storage part 22 Layout conversion part 23 Operation management part 24 Log editing unit 25 Input item check unit 26 Compression / non-compression conversion unit 27 Encryption / decryption conversion unit 28 Log information storage unit 29 Common component group 30 Navigation table storage unit 31 Message management table 32 Business master management table 33 Action management table 34 Layout Conversion Table 35 Item Management Table 36 Condition Setting Table 40 Client 41 Other System 50 Management Terminal 51 Condition Input Screen Display Unit 52 Condition Input Unit 53 Navigation Table Generation Unit 5 Statistical information inquiry unit 55 analyzing information inquiry unit 56 design document 210 resource hash table 211 resource information 212 resource ID 213 items hash table 214 item information 215 Item ID

Claims (11)

端末もしくは他のコンピュータシステムまたは外部記憶装置との間で,それぞれ予め定められたレイアウトに従って構成されたデータを入出力し,アプリケーションプログラムを実行するプロセスによってデータを処理するデータ処理装置において,前記レイアウトのデータ構成情報と,前記レイアウトとは独立した当該データ処理装置内で保持される内部データ形式を定めるデータ構成情報との対応情報を,レイアウト変換のナビゲーション情報として記憶するナビゲーション情報記憶手段と,前記アプリケーションプログラムのプロセスによって呼び出され,端末もしくは他のコンピュータシステムまたは外部記憶装置から入力されたデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,前記入力されたデータのレイアウトに対応する前記内部データ形式のデータに変換して内部のデータ記憶部に格納するレイアウト変換の処理を行い,端末もしくは他のコンピュータシステムまたは外部記憶装置へデータを出力する際に,前記内部のデータ記憶部に格納されている出力対象となっている内部データ形式のデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,出力先のレイアウトに対応するデータに変換して出力する処理を行い,かつ,前記アプリケーションプログラムのプロセスからの要求に従って,前記内部のデータ記憶部に格納されたデータの少なくとも参照,更新または削除の処理を行うデータ管理部品処理手段とを備えることを特徴とするレイアウト変換機能を有するデータ処理装置。 In a data processing apparatus that inputs / outputs data configured according to a predetermined layout to / from a terminal, another computer system, or an external storage device, and processes the data by a process that executes an application program, Navigation information storage means for storing correspondence information between data configuration information and data configuration information that defines an internal data format held in the data processing device independent of the layout, as navigation information for layout conversion, and the application Called by the program process and input from the terminal or other computer system or external storage device according to the navigation information stored in the navigation information storage means When the data is converted into data in the internal data format corresponding to the data layout and stored in the internal data storage unit, the data is output to a terminal or another computer system or an external storage device. Data in the internal data format to be output stored in the internal data storage unit is converted into data corresponding to the layout of the output destination according to the navigation information stored in the navigation information storage means, and output. Data management component processing means for performing processing and performing at least reference, update, or deletion processing of data stored in the internal data storage unit in accordance with a request from the process of the application program A data processing apparatus having a layout conversion function. 請求項1記載のレイアウト変換機能を有するデータ処理装置において,前記内部データ形式のデータには,前記レイアウト変換時に,各データを一意に識別するリソースIDと,各データにおける個々の項目を一意に識別するアイテムIDとが付与され,前記リソースIDは,前記レイアウトの種別に応じたハッシュ値によってアクセスされるリソースハッシュテーブルによって管理され,前記アイテムIDは,前記各リソースIDごとの各アイテム種別に応じたハッシュ値によってアクセスされるアイテムハッシュテーブルによって管理され,前記内部データ形式のデータは,前記アイテムハッシュテーブルの配下に接続される領域に各アイテムのデータ値が格納される構成で管理されることを特徴とするレイアウト変換機能を有するデータ処理装置。 2. A data processing apparatus having a layout conversion function according to claim 1, wherein the data in the internal data format includes a resource ID for uniquely identifying each data and a unique item for each data at the time of layout conversion. The resource ID is managed by a resource hash table accessed by a hash value corresponding to the layout type, and the item ID corresponds to each item type for each resource ID It is managed by an item hash table accessed by a hash value, and the data in the internal data format is managed by a configuration in which the data value of each item is stored in an area connected under the item hash table. Data with layout conversion function Processing apparatus. 請求項1または請求項2に記載のレイアウト変換機能を有するデータ処理装置において,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,暗号化するか否かを示す設定情報を含み,前記データ管理部品処理手段は,前記内部データ形式のデータの項目に対し暗号化する旨の情報が設定されている場合に,レイアウトの変換時にその項目を暗号化して前記内部のデータ記憶部に格納し,前記アプリケーションプログラムのプロセスからのアクセス時および前記内部データ形式から所定のレイアウトへの逆変換時に,その項目を復号化して出力する暗号化/復号化変換手段を有することを特徴とするレイアウト変換機能を有するデータ処理装置。 3. A data processing apparatus having a layout conversion function according to claim 1, wherein the navigation information stored in the navigation information storage means is encrypted for each data item in the internal data format. The data management component processing means encrypts the item at the time of layout conversion and converts the item when the information for encrypting the data item of the internal data format is set. An encryption / decryption conversion means for storing in an internal data storage unit and for decrypting and outputting the item upon access from the process of the application program and upon reverse conversion from the internal data format to a predetermined layout; A data processing apparatus having a layout conversion function. 請求項1,請求項2または請求項3に記載のレイアウト変換機能を有するデータ処理装置において,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記レイアウトごとに,データが圧縮されているか否かを示す設定情報を含み,前記データ管理部品処理手段は,変換対象となっているレイアウトに対し,データが圧縮されている旨の情報が設定されている場合に,そのデータを非圧縮状態に復元してからレイアウト変換の処理を行う圧縮/非圧縮変換手段を有することを特徴とするレイアウト変換機能を有するデータ処理装置。 4. A data processing apparatus having a layout conversion function according to claim 1, wherein the navigation information stored in the navigation information storage means is whether data is compressed for each layout. The data management component processing means restores the data to an uncompressed state when information indicating that the data is compressed is set for the layout to be converted. A data processing apparatus having a layout conversion function, characterized by comprising compression / non-compression conversion means for performing layout conversion processing thereafter. 請求項1から請求項4までのいずれか1項に記載のレイアウト変換機能を有するデータ処理装置において,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,入力項目をチェックする場合の条件に関する設定情報を含み,前記データ管理部品処理手段は,前記内部データ形式のデータの項目に対し,入力項目をチェックする場合の条件に関する設定情報が設定されている場合に,設定されている条件に従って,レイアウト変換対象となっているデータの項目が正しいかどうかのチェックを行う入力項目チェック手段を有することを特徴とするレイアウト変換機能を有するデータ処理装置。 5. The data processing apparatus having a layout conversion function according to claim 1, wherein the navigation information stored in the navigation information storage unit includes, for each item of data in the internal data format, Including setting information related to conditions for checking input items, and the data management component processing means has set information related to conditions for checking input items for data items in the internal data format A data processing apparatus having a layout conversion function, further comprising input item checking means for checking whether or not the data item to be subjected to layout conversion is correct in accordance with a set condition. 端末もしくは他のコンピュータシステムまたは外部記憶装置との間で,それぞれ予め定められたレイアウトに従って構成されたデータを入出力し,アプリケーションプログラムを実行するプロセスによってデータを処理するデータ処理装置のコンピュータに実行させるためのデータ管理部品プログラムであって,前記コンピュータを,前記レイアウトのデータ構成情報と,前記レイアウトとは独立した当該データ処理装置内で保持される内部データ形式を定めるデータ構成情報との対応情報を,レイアウト変換のナビゲーション情報として記憶するナビゲーション情報記憶手段と,前記アプリケーションプログラムのプロセスによって呼び出され,端末もしくは他のコンピュータシステムまたは外部記憶装置から入力されたデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,前記入力されたデータのレイアウトに対応する前記内部データ形式のデータに変換して内部のデータ記憶部に格納するレイアウト変換の処理を行い,端末もしくは他のコンピュータシステムまたは外部記憶装置へデータを出力する際に,前記内部のデータ記憶部に格納されている出力対象となっている内部データ形式のデータを,前記ナビゲーション情報記憶手段が記憶するナビゲーション情報に従って,出力先のレイアウトに対応するデータに変換して出力する処理を行い,かつ,前記アプリケーションプログラムのプロセスからの要求に従って,前記内部のデータ記憶部に格納されたデータの少なくとも参照,更新または削除の処理を行うデータ管理部品処理手段として,機能させるためのデータ管理部品プログラム。 Data input / output from / to a terminal or other computer system or external storage device according to a predetermined layout, respectively, and executed by a computer of a data processing device that processes data by a process of executing an application program A data management component program for providing the computer with correspondence information between the data configuration information of the layout and the data configuration information defining an internal data format held in the data processing device independent of the layout Navigation information storage means for storing navigation information for layout conversion, and data input from a terminal or other computer system or external storage device and called by the process of the application program. In accordance with the navigation information stored in the gate information storage means, the data is converted into data of the internal data format corresponding to the layout of the input data and stored in the internal data storage unit, and the terminal or other When outputting data to a computer system or an external storage device, the data in the internal data format to be output stored in the internal data storage unit is stored in accordance with the navigation information stored in the navigation information storage means. Processing to convert and output data corresponding to the layout of the output destination, and at least refer to, update, or delete data stored in the internal data storage unit in accordance with a request from the process of the application program As a data management component processing means , Data management parts program to function. 請求項6記載のデータ管理部品プログラムであって,前記内部データ形式のデータには,前記レイアウト変換時に,各データを一意に識別するリソースIDと,各データにおける個々の項目を一意に識別するアイテムIDとが付与され,前記リソースIDは,前記レイアウトの種別に応じたハッシュ値によってアクセスされるリソースハッシュテーブルによって管理され,前記アイテムIDは,前記各リソースIDごとの各アイテム種別に応じたハッシュ値によってアクセスされるアイテムハッシュテーブルによって管理され,前記内部データ形式のデータは,前記アイテムハッシュテーブルの配下に接続される領域に各アイテムのデータ値が格納される構成で管理され,前記コンピュータを,前記内部データ形式のデータの管理手段として機能させるためのデータ管理部品プログラム。 7. The data management component program according to claim 6, wherein the data in the internal data format includes a resource ID for uniquely identifying each data and an item for uniquely identifying each item in each data at the time of layout conversion. The resource ID is managed by a resource hash table accessed by a hash value corresponding to the layout type, and the item ID is a hash value corresponding to each item type for each resource ID Is managed by an item hash table accessed by the data, and the data in the internal data format is managed in a configuration in which the data value of each item is stored in an area connected under the item hash table, and the computer is As a means of managing internal data format data Data management parts program for performance. 請求項6または請求項7に記載のデータ管理部品プログラムであって,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,暗号化するか否かを示す設定情報を含み,前記コンピュータを,前記内部データ形式のデータの項目に対し暗号化する旨の情報が設定されている場合に,レイアウトの変換時にその項目を暗号化して前記内部のデータ記憶部に格納し,前記アプリケーションプログラムのプロセスからのアクセス時および前記内部データ形式から所定のレイアウトへの逆変換時に,その項目を復号化して出力する暗号化/復号化変換手段を有する前記データ管理部品処理手段として,機能させるためのデータ管理部品プログラム。 8. The data management component program according to claim 6 or 7, wherein the navigation information stored in the navigation information storage means indicates whether to encrypt each item of data in the internal data format. When setting information is included and information indicating that the computer is to be encrypted with respect to data items in the internal data format is set, the items are encrypted at the time of layout conversion and stored in the internal data storage unit. The data management component processing means having encryption / decryption conversion means for storing and decrypting and outputting the items when stored and accessed from the process of the application program and at the time of reverse conversion from the internal data format to a predetermined layout As a data management component program to function. 請求項6,請求項7または請求項8に記載のデータ管理部品プログラムであって,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記レイアウトごとに,データが圧縮されているか否かを示す設定情報を含み,前記コンピュータを,変換対象となっているレイアウトに対し,データが圧縮されている旨の情報が設定されている場合に,そのデータを非圧縮状態に復元してからレイアウト変換の処理を行う圧縮/非圧縮変換手段を有する前記データ管理部品処理手段として,機能させるためのデータ管理部品プログラム。 9. The data management component program according to claim 6, 7 or 8, wherein the navigation information stored in the navigation information storage means indicates whether data is compressed for each layout. If setting information is included and the computer is set with information indicating that the data is compressed for the layout to be converted, the data is restored to the uncompressed state before layout conversion. A data management component program for functioning as the data management component processing means having compression / non-compression conversion means for performing processing. 請求項6から請求項9までのいずれか1項に記載のデータ管理部品プログラムであって,前記ナビゲーション情報記憶手段に記憶されるナビゲーション情報は,前記内部データ形式のデータの項目ごとに,入力項目をチェックする場合の条件に関する設定情報を含み,前記コンピュータを,前記内部データ形式のデータの項目に対し,入力項目をチェックする場合の条件に関する設定情報が設定されている場合に,設定されている条件に従って,レイアウト変換対象となっているデータの項目が正しいかどうかのチェックを行う入力項目チェック手段を有する前記データ管理部品処理手段として,機能させるためのデータ管理部品プログラム。 The data management component program according to any one of claims 6 to 9, wherein the navigation information stored in the navigation information storage means is an input item for each data item in the internal data format. Is set when the setting information related to the condition for checking the input item is set for the data item in the internal data format. A data management component program for functioning as the data management component processing means having input item check means for checking whether the data item to be subjected to layout conversion is correct according to a condition. 請求項6から請求項10までのいずれか1項に記載のデータ管理部品プログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium on which the data management component program according to any one of claims 6 to 10 is recorded.
JP2011002619U 2011-05-12 2011-05-12 DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Expired - Fee Related JP3170834U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011002619U JP3170834U (en) 2011-05-12 2011-05-12 DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011002619U JP3170834U (en) 2011-05-12 2011-05-12 DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006187787A Continuation JP2008015870A (en) 2006-07-07 2006-07-07 Data processor having layout conversion function, data management part program, and recording medium recording its program

Publications (1)

Publication Number Publication Date
JP3170834U true JP3170834U (en) 2011-10-06

Family

ID=54881245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011002619U Expired - Fee Related JP3170834U (en) 2011-05-12 2011-05-12 DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Country Status (1)

Country Link
JP (1) JP3170834U (en)

Similar Documents

Publication Publication Date Title
JP3969467B2 (en) Network system, transmission / reception method, transmission device, reception device, and recording medium
EP2174434B1 (en) Unwired enterprise platform
US7386575B2 (en) System and method for synchronizing related data elements in disparate storage systems
CN103140845A (en) Method and apparatus for obtaining feedback from a device
JP2017521778A (en) Method, computer program, and exception engine for handling data quality exceptions
JP2005266916A (en) Server difference management system and control method for information processor
CN116010494A (en) Data exchange system supporting heterogeneous data sources
US20120254313A1 (en) Multiple Destinations for Mainframe Event Monitoring
WO2019079799A1 (en) System and method for data management
WO2013056032A2 (en) Analyzing client data stores
CN112988770A (en) Method and device for updating serial number, electronic equipment and storage medium
CN116468397A (en) Cloud data center equipment management system
CN112363997B (en) Data version management method, device and storage medium
KR20150136369A (en) Integration control system using log security and big-data
CN115176241A (en) System and method for tracking data lineage and recording lifecycle using distributed ledger
JP2012108889A (en) Distributed database system and distributed data processing system
JP2008015870A (en) Data processor having layout conversion function, data management part program, and recording medium recording its program
WO2021012554A1 (en) Method and apparatus for updating data field in block chain, medium, and electronic device
JP3170834U (en) DATA PROCESSING DEVICE HAVING LAYOUT CONVERSION FUNCTION, DATA MANAGEMENT COMPONENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2009069925A (en) Information processing system and information processing program
US20230261877A1 (en) Blockchain-based collaborative maintenance platform
CN101226529A (en) Information-processing apparatus, information-processing system, information-processing method
CN115033625A (en) Enterprise business data docking method and device and electronic equipment
CN112448972B (en) Data exchange and sharing platform
JP7385436B2 (en) management system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110802

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees