JP2009217763A - Method, device and program for format conversion of edi system - Google Patents

Method, device and program for format conversion of edi system Download PDF

Info

Publication number
JP2009217763A
JP2009217763A JP2008063486A JP2008063486A JP2009217763A JP 2009217763 A JP2009217763 A JP 2009217763A JP 2008063486 A JP2008063486 A JP 2008063486A JP 2008063486 A JP2008063486 A JP 2008063486A JP 2009217763 A JP2009217763 A JP 2009217763A
Authority
JP
Japan
Prior art keywords
data
format conversion
procedure
hierarchy
edi system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008063486A
Other languages
Japanese (ja)
Other versions
JP4738429B2 (en
Inventor
Naohiro Abe
直大 阿部
Satoshi Kitani
聡 木谷
啓輝 ▲高▼村
Keiki Takamura
Natsuma Matsunaga
夏磨 松永
Koji Hayakawa
晃司 早川
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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2008063486A priority Critical patent/JP4738429B2/en
Publication of JP2009217763A publication Critical patent/JP2009217763A/en
Application granted granted Critical
Publication of JP4738429B2 publication Critical patent/JP4738429B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem, wherein a request that it is of highest priority for distributing slip data cannot be responded in conventional EDI technologies, to make affairs more efficient and to enhance the reliability in an EDI system of distribution, or the like. <P>SOLUTION: In the EDI system, when format conversion processing is performed on electronic transaction data, presence/absence of unauthorized data in the electronic transaction data for format conversion is detected (step S705), when the unauthorized data is detected; the unauthorized data is removed from an object for the format conversion processing (step S712); and the electronic transaction data from which the unauthorized data is removed is output, by performing the format conversion (steps S703-S707, S702, S708, S709). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、EDI(Electronic Data Interchange)システム(電子データ変換システム)に係り、特に、EDIシステムにおける流通等の業務の効率化と信頼性の向上を図るのに好適な技術に関するものである。   The present invention relates to an EDI (Electronic Data Interchange) system (electronic data conversion system), and more particularly to a technique suitable for improving the efficiency and reliability of operations such as distribution in an EDI system.

現在、EDIシステムでは、全ての企業間取引で共通の伝票データフォーマットを使用できるようにするために、「メッセージ種別」、「メッセージ構造」、「データ項目」と「データ項目の意味」および「データ属性」を標準化した標準XML(Extensible Markup Language)フォーマットへと共通化が行われている。   Currently, in the EDI system, in order to be able to use a common slip data format for all business transactions, "message type", "message structure", "data item", "meaning of data item" and "data" The standardization ("Extensible Markup Language") format that standardizes "attributes" is performed.

しかしながら、現状、例えば流通業のEDIシステムにおいて使用されているデータフォーマットは、XML、固定長、CSV(Comma Separated Values)形式など、取引先により多種多様である。従って、流通EDIセンタでは、伝票データを取引先から受信し、他の取引先へと送信する際に、取引先毎に異なるフォーマットに変換する必要が生じている。   However, at present, for example, the data format used in the EDI system in the distribution industry varies depending on the business partner, such as XML, fixed length, CSV (Comma Separated Values) format, and the like. Therefore, in the distribution EDI center, when slip data is received from a business partner and transmitted to another business partner, it is necessary to convert the data into a different format for each business partner.

また、取引先毎に独自のコードを使用している場合やデータの表記形式が異なる場合も多く、必要に応じて適切なコード変換やデータ変換を行わなくてはならない。   Further, there are many cases in which a unique code is used for each business partner and the data notation format is different, and appropriate code conversion and data conversion must be performed as necessary.

以上により、特定の取引先、データフォーマットに限定しない汎用的な伝票データのフォーマット変換の仕組みが必要となる。   As described above, a format conversion mechanism for general-purpose slip data that is not limited to a specific business partner or data format is required.

フォーマット変換システムにおいて、正しくデータ変換を行うには、変換前の電子取引データが正しいフォーマットであることが前提となる。しかしながら、取引先毎に独自のコードを使用している場合が存在する現状では、独自であるが故に、企業ごとの電子取引データ作成者のミスが発生する可能性があり、想定されないデータを設定した状態で電子取引データを作成する状況が存在しうる。   In order to correctly convert data in the format conversion system, it is assumed that the electronic transaction data before conversion is in the correct format. However, in the current situation where there is a case where a unique code is used for each business partner, since it is unique, there is a possibility that the mistake of the electronic transaction data creator for each company may occur, and setting unexpected data There may be a situation where the electronic transaction data is created in the state.

電子取引データの作成時点でのデータ不正の場合は、EDIセンタとしてデータを修正することはできず、取引先によるデータの修正の実施と、データの再送信が必要となり、電子取引データの取引先への到着に大幅な遅延が生じる。   In the case of data fraud at the time of creation of electronic transaction data, the EDI Center cannot correct the data, and it is necessary for the business partner to correct the data and retransmit the data. There will be a significant delay in arriving at.

例えば、特許文献1においては、電子データ変換システムにおけるフォーマット修正方法および修正フォーマットによるデータ変換の再実行のためのデータ変換方法の提供の技術の記載がある。この技術は、不正データ部分にフラグを立て、不正データ修正後に正常データを再利用することにより、データ変換の再実行に要する時間が短縮されるというものである。   For example, Patent Literature 1 describes a technique for providing a format correction method in an electronic data conversion system and a data conversion method for re-execution of data conversion using the corrected format. In this technology, a flag is set for an illegal data portion, and normal data is reused after correcting illegal data, thereby reducing the time required for re-execution of data conversion.

しかし、流通EDIでは、伝票データが止まらずに流通することが最優先事項とされる要求があるため、正常データはできる限り留めないことが必要となる。上記技術で確かに不正データの修正および再実行の時間は短縮されるものの、一部の不正データの存在のために、正常データ部を含む電子取引データ全体が出力および送信されずに留まってしまい、業務が滞ってしまう。   However, in the distribution EDI, there is a request that the highest priority is to distribute the slip data without stopping. Therefore, it is necessary to keep normal data as much as possible. Although the above-mentioned technology certainly shortens the time to correct and re-execute illegal data, the entire electronic transaction data including the normal data part is not output and transmitted due to the presence of some illegal data. , Business will be delayed.

これでは、上記流通EDIにおいて伝票データを流通させることが最優先事項であるという要請に対応することはできない。   In this case, it is impossible to respond to the request that the distribution of slip data is the highest priority in the distribution EDI.

特開2001−60240号公報Japanese Patent Laid-Open No. 2001-60240

解決しようとする問題点は、従来の技術では、例えば流通EDIにおいて伝票データを流通させることが最優先事項であるという要請に対応することはできない点である。すなわち、従来の技術では、不正データが存在することをデータ作成者に伝達し、また正常データを再利用することにより、デバックの効率化、時間の短縮は実現できるものの、不正データと共に本来正常であるデータも出力されず留まってしまうため、業務が滞ってしまう。   The problem to be solved is that the prior art cannot respond to a request that distribution of slip data is the highest priority in distribution EDI, for example. That is, in the conventional technology, it is possible to improve the efficiency of debugging and shorten the time by transmitting the fact that illegal data exists to the data creator and reusing normal data. Because some data is not output and stays, business is delayed.

本発明の目的は、これら従来技術の課題を解決し、流通等のEDIシステムにおける業務の効率化と信頼性の向上を図ることである。   An object of the present invention is to solve these problems of the prior art and to improve the efficiency and reliability of business in an EDI system such as distribution.

上記目的を達成するため、本発明では、不正データと正常データを切り離し、正常データ部分のみに対してフォーマット変換処理を実行して出力する。これにより、有効な正常データは取引先へとリアルタイムで送信可能であり、不正データ部分のみを修正、再変換および再送信を行えばよく、流通EDIの業務効率化を実現することが可能である。
すなわち、本発明においては、フォーマット変換処理の実行時に、フォーマット変換後のデータを即座にファイル出力するのではなく、一時的に内部メモリに蓄積しておく。その際、内部メモリに蓄積するデータの範囲は、エラー時破棄の対象となる階層以下の範囲に限定し、入力ファイルの読み込みとメモリへの蓄積を繰り返し、蓄積した範囲のデータにそれ以上不正データが混在する可能性がなくなった時点でファイルへの出力を行う。以上により、伝票データの階層構造を崩すことなく、かつ、内部メモリを無駄に浪費することもなく正常データと不正データの切り分けが実現できる。
また、不正データが存在した場合は、メモリ上に蓄積された変換後のデータから、不正データ箇所を特定できる項目を抽出し、エラーリストファイルへ出力する。これにより、後からでも、不正データが存在するファイル上での位置を容易に特定することができる。
In order to achieve the above object, according to the present invention, illegal data and normal data are separated, and format conversion processing is executed only on the normal data portion and output. As a result, valid normal data can be transmitted to the business partner in real time, and only the illegal data portion needs to be corrected, reconverted and retransmitted, and it is possible to improve the operational efficiency of distribution EDI. .
That is, in the present invention, when format conversion processing is executed, the data after format conversion is not immediately output to a file, but temporarily stored in an internal memory. At that time, the range of data stored in the internal memory is limited to the range below the hierarchy that is to be discarded when an error occurs. Reading of the input file and storage in the memory are repeated, and the data in the stored range no longer contains invalid data. Output to a file when there is no possibility of mixing. As described above, normal data and illegal data can be separated without destroying the hierarchical structure of the slip data and without wasting the internal memory.
If invalid data exists, an item that can identify the illegal data location is extracted from the converted data stored in the memory, and is output to the error list file. Thereby, the position on the file where the illegal data exists can be easily specified even later.

本発明によれば、流通業務上における不正なデータのみ、または、不正なデータを含む一定範囲のデータのみを除外して、正常なデータは通常通りフォーマット変換し出力すること、および不正なデータ箇所を特定する情報を提供することができ、伝票データの取引先への到着の遅延が即座に欠品や在庫余剰などの不利益の誘発を招く恐れのある流通EDI業界の現実において、流通業務上使用可能な伝票データは出来る限りリアルタイムでの送信が可能であり、不正データ部分のみを修正、再変換および再送信を行えばよく、業務の効率化を実現し、信頼性の向上へとつながる。   According to the present invention, only illegal data in distribution business or only a certain range of data including illegal data is excluded, normal data is converted and output as usual, and illegal data locations In the reality of the distribution EDI industry, delays in arrival of slip data to business partners can cause inconveniences such as missing items and excess inventory. Usable slip data can be transmitted in real time as much as possible, and it is only necessary to correct, reconvert, and retransmit only the illegal data portion, thereby improving business efficiency and improving reliability.

以下、図を用いて本発明を実施するための最良の形態例を説明する。図1は、本発明に係るフォーマット変換装置を設けたEDIシステムの構成例を示すブロック図であり、図2は、図1における変換処理部の構成例を示すブロック図、図3は、図1における変換処理部による不正データ検知処理手順例を示す説明図、図4は、図1における変換処理部で取り扱うデータの階層構造例を示す説明図、図5は、図1における変換処理部による変換処理前後のデータの第1の階層構造例を示す説明図、図6は、図1における変換処理部による変換処理前後のデータの第2の階層構造例を示す説明図、図7は、図1における変換処理部の本発明に係るフォーマット変換処理手順例を示すフローチャートである。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of an EDI system provided with a format conversion apparatus according to the present invention, FIG. 2 is a block diagram showing a configuration example of a conversion processing unit in FIG. 1, and FIG. 4 is an explanatory diagram showing an example of illegal data detection processing procedure by the conversion processing unit in FIG. 4, FIG. 4 is an explanatory diagram showing an example of the hierarchical structure of data handled by the conversion processing unit in FIG. 1, and FIG. 5 is a conversion by the conversion processing unit in FIG. FIG. 6 is an explanatory diagram showing a first hierarchical structure example of data before and after processing, FIG. 6 is an explanatory diagram showing a second hierarchical structure example of data before and after the conversion processing by the conversion processing unit in FIG. 1, and FIG. 5 is a flowchart showing an example of a format conversion processing procedure according to the present invention of a conversion processing unit in FIG.

図1におけるEDIシステム(図中「EDIセンタ」と記載)103は、CPU(Central Processing Unit)や主メモリ、表示装置、入力装置、外部記憶装置からなるコンピュータ構成からなり、光ディスク駆動装置等を介してCD−ROM等の記憶媒体に記録されたプログラムやデータを外部記憶装置内にインストールした後、この外部記憶装置から主メモリに読み込みCPUで処理することにより、データ受信処理部104と、本発明のフォーマット変換装置としての変換処理部105、データ送信処理部106、通信部(図中「通信」と記載)107の各処理部の機能を実行する。   An EDI system (described as “EDI center” in FIG. 1) 103 in FIG. 1 has a computer configuration including a CPU (Central Processing Unit), a main memory, a display device, an input device, and an external storage device. After the program and data recorded in a storage medium such as a CD-ROM are installed in the external storage device, the program is read from the external storage device into the main memory and processed by the CPU, thereby the data reception processing unit 104 and the present invention. The function of each processing unit of the conversion processing unit 105, the data transmission processing unit 106, and the communication unit (described as “communication” in the figure) 107 as the format conversion apparatus is executed.

本例のEDIシステム103では、本発明のフォーマット変換装置としての変換処理部105により、電子取引データを、フォーマット変換処理を行う際、フォーマット変換対象の電子取引データにおける不正データの有無を検出し、不正データを検出した場合に、当該不正データをフォーマット変換処理の対象から取り除き、不正データを取り除いた電子取引データをフォーマット変換して出力する。   In the EDI system 103 of this example, when the electronic transaction data is subjected to the format conversion process by the conversion processing unit 105 as the format conversion apparatus of the present invention, the presence or absence of illegal data in the electronic transaction data to be converted is detected. When the unauthorized data is detected, the unauthorized data is removed from the format conversion target, and the electronic transaction data from which the unauthorized data is removed is format-converted and output.

尚、変換処理部105は、電子取引データのフォーマット変換に伴うコード変換を含むデータ編集処理を行う際に、当該データ内に、予め定められたデータ以外のデータが存在する場合に、不正なデータであると検出する。   In addition, when the data processing including code conversion accompanying the format conversion of electronic transaction data is performed, the conversion processing unit 105 generates illegal data if there is data other than predetermined data in the data. It detects that it is.

また、電子取引データは、階層構造からなり、変換処理部105は、不正データと共に、この不正データの下位層にあるデータを、フォーマット変換処理の対象から取り除く。   Further, the electronic transaction data has a hierarchical structure, and the conversion processing unit 105 removes the data in the lower layer of the illegal data together with the illegal data from the target of the format conversion process.

また、変換処理部105は、正常にフォーマット変換したデータ(正常データ)に関しては、一時的に記憶装置に蓄積しておき、蓄積した正常データと同じ階層における他のデータの全てが正常であると検出した後に、記憶装置に蓄積した正常データを変換後データとして出力する。   Further, the conversion processing unit 105 temporarily accumulates data (normal data) whose format has been normally converted in a storage device, and all other data in the same hierarchy as the accumulated normal data is normal. After detection, normal data accumulated in the storage device is output as converted data.

さらに、変換処理部105は、検出した不正データを特定する一覧情報(リスト)を生成して出力する。   Furthermore, the conversion processing unit 105 generates and outputs list information (list) that identifies the detected illegal data.

以下、このような処理を行うEDIシステム103の詳細を説明する。   Details of the EDI system 103 that performs such processing will be described below.

図1に示すように、EDIシステム103と取引先(1)101のコンピュータ端末装置(図中「基幹システム等」と記載)101a、および、EDIシステム103と取引先(2)102のコンピュータ端末装置(図中「基幹システム等」と記載)102aとは、それぞれの通信部(図中「通信」と記載)101b,102b,107を介して公衆回線等のネットワークにより接続され、互いに電子取引データの送受信を行う。   As shown in FIG. 1, the EDI system 103 and the computer terminal device of the business partner (1) 101 (described as “core system etc.” in the figure) 101a, and the EDI system 103 and the computer terminal device of the business customer (2) 102 (Denoted as “core system etc.” in the figure) 102a is connected by a network such as a public line via respective communication units (denoted as “communication” in the figure) 101b, 102b, 107, and electronic transaction data of each other. Send and receive.

EDIシステム103は、通信部107およびデータ受信処理部104により、取引先(1)101のコンピュータ端末装置101aより送信された電子取引データを受信し、変換処理部105により、取引先(2)102のコンピュータ端末装置102aで使用されるフォーマットへと変換処理を行い、データ送信処理部106と通信部107により、取引先(2)102へと送信する。   The EDI system 103 receives the electronic transaction data transmitted from the computer terminal device 101a of the business partner (1) 101 by the communication unit 107 and the data reception processing unit 104, and the business partner (2) 102 by the conversion processing unit 105. Is converted to a format used by the computer terminal device 102a, and is transmitted to the customer (2) 102 by the data transmission processing unit 106 and the communication unit 107.

その際、変換処理部105においては、取引先(1)101のコンピュータ端末装置101aより受信した電子取引データに、想定外の不正データが混在しているか否かを検出し、混在している場合は、その不正データを特定する情報をエラーリスト108としてファイル等へ出力すると共に、不正データ箇所以外の電子取引データについては取引先(2)102のコンピュータ端末装置102aへと送信する。   At that time, the conversion processing unit 105 detects whether or not unexpected illegal data is mixed in the electronic transaction data received from the computer terminal device 101a of the supplier (1) 101. Outputs the information specifying the unauthorized data to the file or the like as an error list 108, and transmits the electronic transaction data other than the illegal data portion to the computer terminal device 102a of the customer (2) 102.

出力したエラーリスト108は、取引先(1)101に対して、ファクシミリや、コンピュータ端末装置101aへの電子メール等の方法により通知する。このエラーリスト108を受信した取引先(1)101は、そのエラーリスト108に記載された不正データ箇所情報を基に、該当する不正データを修正し、修正データのみ、または、修正データを含む一定範囲のデータを、再び、コンピュータ端末装置101aによりEDIシステム103へと送信する。   The output error list 108 is notified to the business partner (1) 101 by a method such as facsimile or electronic mail to the computer terminal device 101a. The customer (1) 101 who has received this error list 108 corrects the corresponding illegal data based on the illegal data location information described in the error list 108, and includes only the corrected data or a fixed data including the corrected data. The range data is transmitted again to the EDI system 103 by the computer terminal device 101a.

コンピュータ端末装置101aからの修正データを受信すると、EDIシステム103は、変換処理部105により、取引先(2)102で使用されるフォーマットへと変換処理を行い、取引先(2)102のコンピュータ端末装置102aへと送信を行い、一連の電子取引データの中継処理を完了する。   When the correction data is received from the computer terminal device 101a, the EDI system 103 performs conversion processing into the format used by the customer (2) 102 by the conversion processing unit 105, and the computer terminal of the customer (2) 102 Transmission is performed to the device 102a, and a series of electronic transaction data relay processing is completed.

このような、図1におけるEDIシステム103におけるフォーマット変換処理の動作について、図2を用いてより詳細に説明する。   The operation of the format conversion process in the EDI system 103 in FIG. 1 will be described in detail with reference to FIG.

現在、流通業務上使用される電子取引データのファイル形式は、固定長形式(固定長伝票データファイル210a)、CSV形式(CSV伝票データファイル211a)、およびXML形式(XML伝票データファイル212a)が存在し、取引先(1)101のコンピュータ端末装置101aよりいずれのファイル形式の電子取引データを受信した場合でも、変換処理部105は、フォーマット変換処理部200aにより、それぞれに対応したフォーマット変換プログラムを用いて、共通に中間共通CSVデータファイル201へ変換を行い、この中間共通CSVデータファイル201の内容を中間共通CSVデータ用データベース202へ格納する。   Currently, there are fixed-length format (fixed-length slip data file 210a), CSV format (CSV slip data file 211a), and XML format (XML slip data file 212a) as file formats of electronic transaction data used for distribution business. Even when the electronic transaction data in any file format is received from the computer terminal device 101a of the business partner (1) 101, the conversion processing unit 105 uses the format conversion program corresponding to each by the format conversion processing unit 200a. The intermediate common CSV data file 201 is converted in common, and the contents of the intermediate common CSV data file 201 are stored in the intermediate common CSV data database 202.

そしてさらに、フォーマット変換処理部200bにより、それぞれに対応したフォーマット変換プログラムを用いて、中間共通CSVデータファイル201を、取引先(2)102の使用するファイル形式、つまり、固定長形式(固定長伝票データファイル210b)、CSV形式(CSV伝票データファイル211b)、およびXML形式(XML伝票データファイル212b)のいずれかへ変換し、通信部107を介して、取引先(2)102のコンピュータ端末装置102aに、フォーマット変換した電子取引データを送信する。   Further, the format conversion processing unit 200b uses the corresponding format conversion program to convert the intermediate common CSV data file 201 into a file format used by the customer (2) 102, that is, a fixed length format (fixed length slip). Data file 210b), CSV format (CSV slip data file 211b), and XML format (XML slip data file 212b) are converted into one of them, and the computer terminal device 102a of the customer (2) 102 via the communication unit 107 The electronic transaction data whose format has been converted is transmitted.

このフォーマット変換処理部200a,200bによるフォーマット変換処理中に、不正データの存在の有無の検出、および、検出した不正データを特定する情報の抽出を行い、エラーリストファイル203a,203bとして出力する。   During the format conversion processing by the format conversion processing units 200a and 200b, the presence / absence of illegal data is detected, and information for identifying the detected illegal data is extracted and output as error list files 203a and 203b.

以下、フォーマット変換処理部200a,200bにおける不正データの検出処理の概要について図3を用いて説明する。   Hereinafter, an outline of the illegal data detection process in the format conversion processing units 200a and 200b will be described with reference to FIG.

図3に示すように、電子取引データの変換処理、すなわち、変換前フォーマットデータ311から変換後フォーマットデータ312への変換処理は、フォーマット変換プログラム303により、変換に使用する電子取引データのデータ階層構造を定義した階層定義パラメータファイル301の設定内容、および、電子取引データ内の各伝票項目データの変換前後の各々の対応関係やデータの編集手順などを定義したスキーマ定義パラメータファイル302の設定内容に従い行われる。   As shown in FIG. 3, the electronic transaction data conversion process, that is, the conversion process from the pre-conversion format data 311 to the post-conversion format data 312 is performed by the format conversion program 303 by the data hierarchy structure of the electronic transaction data used for the conversion. In accordance with the setting contents of the hierarchy definition parameter file 301 that defines the data and the setting contents of the schema definition parameter file 302 that defines the correspondence between the slip item data in the electronic transaction data before and after conversion and the data editing procedure. Is called.

このフォーマット変換の際に、データのコード変換や数値表現形式の変換などのデータの編集が必要となる場合、流通業務上で必要なデータ編集機能を有したデータ編集モジュール304を適宜呼び出しながらフォーマット変換を実行する。   If it is necessary to edit data such as data code conversion or numeric expression format conversion at the time of this format conversion, the format conversion is performed while appropriately calling the data editing module 304 having a data editing function necessary for distribution work. Execute.

本例において、変換前の電子取引データに不正なデータが含まれていると判断する代表的な事例は、データのコード変換時に、想定外のコードが変換前電子取引データに含まれていた場合である。   In this example, the typical case of judging that the electronic transaction data before conversion contains illegal data is when an unexpected code is included in the electronic conversion data before conversion at the time of data code conversion It is.

データのコード変換は、データ編集モジュール304上で行われ、データ編集モジュール304は、予め設定されたコード変換表ファイル308の情報を基に、データのコード変換を実行するが、そのコード変換表ファイル308上に設定されていないコードが、変換前の電子取引データに存在する場合に、当該データが不正データであると判断し、不正データ存在通知305を、データ編集モジュール304の呼び出し元であるフォーマット変換プログラム303へと返す。   Data code conversion is performed on the data editing module 304, and the data editing module 304 executes code conversion of data based on information in the preset code conversion table file 308. The code conversion table file If a code not set on 308 exists in the electronic transaction data before conversion, it is determined that the data is illegal data, and the illegal data existence notification 305 is displayed in the format that is the caller of the data editing module 304 Return to the conversion program 303.

この不正データ存在通知305を受け取ったフォーマット変換プログラム303は、現在処理中のデータが不正データであるということを認識し、電子取引データからその不正データを特定するのに必要な伝票項目データを抽出し、不正データ特定情報306としてリスト化してエラーリストファイル307へ出力する。   The format conversion program 303 that has received the unauthorized data existence notification 305 recognizes that the data currently being processed is unauthorized data, and extracts slip item data necessary to identify the unauthorized data from the electronic transaction data. Then, the data is listed as invalid data specifying information 306 and output to the error list file 307.

次に、図4〜図6を用いて、EDIシステム103内の変換処理部105におけるフォーマット変換処理時に検出した不正データに対する階層単位でのスキップ処理について説明する。   Next, a skip process in units of hierarchies for illegal data detected during the format conversion process in the conversion processing unit 105 in the EDI system 103 will be described with reference to FIGS.

まず、不正データ検出時のフォーマット変換処理のデータ階層単位でのスキップ処理を説明する前提として、電子取引データにおけるデータの階層構造の概念について図4を用いて説明する。   First, as a premise for explaining skip processing in units of data hierarchies of format conversion processing at the time of detecting illegal data, the concept of the hierarchical structure of data in electronic transaction data will be explained using FIG.

データ階層とは、あるデータとデータとの間に主従関係を持たせ、意味的に関連するデータ同士を集団化させたデータ構造形態である。通常、集団化されたデータは必要に応じて複数回出現することが許される。   The data hierarchy is a data structure form in which a master-slave relationship is established between data and the data that are semantically related are grouped together. Normally, grouped data is allowed to appear multiple times as needed.

流通業で使用される伝票データを例に説明すると、図4に示すように、伝票番号や取引先名などから構成された、取引先ごとに生成されるデータの集団である伝票ヘッダ階層401と、明細番号や商品名、単価などから構成された、商品ごとに生成されるデータの集団である伝票明細階層402とが存在するといえる。   The slip data used in the distribution business will be described as an example. As shown in FIG. 4, a slip header hierarchy 401, which is a group of data generated for each business partner, composed of a slip number, a business partner name, etc. It can be said that there is a slip specification hierarchy 402 that is a group of data generated for each product, which is composed of a specification number, a product name, a unit price, and the like.

基本的には、伝票ヘッダ階層401は複数回出現することが許され(「伝票ヘッダ階層1」、「伝票ヘッダ階層2」、…、「伝票ヘッダ階層N」)、また、同一の伝票ヘッダ階層401の下に伝票明細階層402が複数回出現する(「伝票明細階層1」、「伝票明細階層2」、…、「伝票明細階層N」)ことが許される。   Basically, the slip header hierarchy 401 is allowed to appear multiple times (“slip header hierarchy 1”, “slip header hierarchy 2”,..., “Slip header hierarchy N”), and the same slip header hierarchy The slip detail hierarchy 402 is allowed to appear multiple times under “401” (“slip detail hierarchy 1”, “slip detail hierarchy 2”,..., “Slip detail hierarchy N”).

ただし、伝票ヘッダ階層401が出現していないにも関わらず、伝票明細階層402が出現することは許されない。以上がデータの階層構造の基本概念である。   However, although the slip header hierarchy 401 does not appear, the slip detail hierarchy 402 is not allowed to appear. The above is the basic concept of the hierarchical structure of data.

次に、図5および図6を用いて、スキップ処理および破棄するデータ階層の単位について説明する。   Next, the unit of the data hierarchy to be skipped and discarded will be described with reference to FIGS.

図5においては、データの破棄対象となる階層を「伝票明細階層」以下に設定し、符号506で示される「伝票明細階層4」に属する項目「欠品理由」のデータ507が不正な値であった場合の例を示している。   In FIG. 5, the hierarchy subject to data destruction is set to “slip detail hierarchy” or lower, and the data “507” of the item “reason for missing items” belonging to “slip detail hierarchy 4” indicated by reference numeral 506 is an incorrect value. An example is shown.

まず、「伝票ヘッダ階層1」501に属するデータ、および、この「伝票ヘッダ階層1」501に従ずる関係にある「伝票明細階層1」502、「伝票明細階層2」503に属するデータは、正常にフォーマット変換処理が行われ、「伝票ヘッダ階層1」509、および、それに従ずる「伝票明細階層1」510および「伝票明細階層2」511に属するデータとしてファイル出力される。   First, the data belonging to “slip header hierarchy 1” 501 and the data belonging to “slip header hierarchy 1” 502 and “slip detail hierarchy 2” 503 having a relationship according to this “slip header hierarchy 1” 501 are normal. The format conversion process is performed, and the file is output as data belonging to “slip header hierarchy 1” 509 and “slip detail hierarchy 1” 510 and “slip detail hierarchy 2” 511 according thereto.

次に、「欠品理由データ」507が不正な値であった場合、「伝票明細階層4」508に属するデータ全てが業務上利用不能となるため、「伝票明細階層4」506自体は不要となる。   Next, if the “missing part reason data” 507 is an invalid value, all data belonging to the “slip detail hierarchy 4” 508 becomes unusable for business, so that the “slip detail hierarchy 4” 506 itself is unnecessary. Become.

従って、「伝票ヘッダ階層2」504に属するデータ、および「伝票ヘッダ階層2」504に従ずる関係にある「伝票明細階層3」505に属するデータは、正常にフォーマット変換処理が行われファイル出力されるものの、「伝票明細階層4」506に属する全てのデータは変換後ファイルに出力されずに破棄される。   Accordingly, the data belonging to “slip header hierarchy 2” 504 and the data belonging to “slip header hierarchy 2” 504 having the relationship according to “slip header hierarchy 2” 504 are normally subjected to format conversion processing and output as a file. However, all the data belonging to “slip detail hierarchy 4” 506 is discarded without being output to the converted file.

そして、「伝票ヘッダ階層3」508以降のデータが正常にフォーマット変換処理され、最終的に、「伝票明細階層4」508に属するデータを除く全てのフォーマット変換後データがファイル出力される。   Then, the data after “slip header hierarchy 3” 508 is normally subjected to format conversion processing. Finally, all data after format conversion except for data belonging to “slip description hierarchy 4” 508 is output as a file.

一方、図6においては、データの破棄対象となる階層を、伝票ヘッダ階層以下に設定し、「伝票ヘッダ階層2」604に属する「納品区分データ」606が不正な値であった場合の例が示されている。   On the other hand, FIG. 6 shows an example in which the hierarchy to be discarded is set to the slip header hierarchy or lower and “delivery classification data” 606 belonging to “slip header hierarchy 2” 604 has an invalid value. It is shown.

まず、「伝票ヘッダ階層1」601に属するデータ、および、この「伝票ヘッダ階層1」601に従ずる関係にある「伝票明細階層1」602、並びに、「伝票明細階層2」603に属するデータは、正常にフォーマット変換処理が行われ、「伝票ヘッダ階層1」609、およびそれに従ずる「伝票明細階層1」610、並びに、「伝票明細階層2」611に属するデータとしてファイル出力される。   First, the data belonging to “slip header hierarchy 1” 601 and the “slip detail hierarchy 1” 602 and the data belonging to “slip detail hierarchy 2” 603 having a relationship according to this “slip header hierarchy 1” 601 are: Then, the format conversion process is normally performed, and the file is output as data belonging to “slip header hierarchy 1” 609, “slip detail hierarchy 1” 610, and “slip detail hierarchy 2” 611 according thereto.

これに対して、「納品区分データ」606が不正な値であると、「伝票ヘッダ階層2」604に属するデータの全てが業務上利用不能となるため、「伝票ヘッダ階層2」604自体が不要となり、それに従ずる「伝票明細階層3」606および「伝票明細階層4」607も併せて不要となる。   On the other hand, if the “delivery category data” 606 is an invalid value, all data belonging to the “slip header hierarchy 2” 604 becomes unusable for business, so the “slip header hierarchy 2” 604 itself is unnecessary. Accordingly, the “slip detail hierarchy 3” 606 and the “slip detail hierarchy 4” 607 are not required.

従って、「伝票ヘッダ階層2」604に属する全てのデータ、および、「伝票ヘッダ階層2」604に従ずる関係にある「伝票明細階層3」605および「伝票明細階層4」607に属する全てのデータが変換後ファイルに出力されずに破棄される。   Therefore, all the data belonging to “slip header hierarchy 2” 604 and all the data belonging to “slip detail hierarchy 3” 605 and “slip detail hierarchy 4” 607 having a relationship according to “slip header hierarchy 2” 604. Is discarded without being output to the file after conversion.

そして、「伝票ヘッダ階層3」608以降のデータが正常にフォーマット変換処理され、最終的に、「伝票ヘッダ階層2」604に属するデータ、および、この「伝票ヘッダ階層2」604に従ずる関係にある「伝票明細階層3」605および「伝票明細階層4」607に属するデータを除く全てのフォーマット変換後データがファイル出力される。   The data after “slip header hierarchy 3” 608 is normally subjected to format conversion processing. Finally, the data belonging to “slip header hierarchy 2” 604 and the relationship according to “slip header hierarchy 2” 604 are obtained. All data after format conversion except for data belonging to a certain “slip detail hierarchy 3” 605 and “slip detail hierarchy 4” 607 is output as a file.

尚、設定したデータの破棄対象階層よりも上位の階層で不正データが存在する場合は、フォーマット変換処理エラーとして、不正データが検出された時点でフォーマット変換処理自体を中止する。   If invalid data exists in a hierarchy higher than the set data discard target hierarchy, the format conversion process itself is stopped when the invalid data is detected as a format conversion process error.

例えば、図5において、データの破棄対象階層を伝票明細階層以下に設定し、それよりも上位の階層に位置する伝票ヘッダ階層に属する「納品区分データ」515が不正な値であった場合、その時点でフォーマット変換処理を中止し、「伝票ヘッダ階層2」504よりも後に出現するデータのフォーマット変換処理を実行せずに終了する。   For example, in FIG. 5, when the data discard target hierarchy is set to be lower than the slip detail hierarchy, and “delivery classification data” 515 belonging to the slip header hierarchy positioned higher than that is an invalid value, At this point, the format conversion process is stopped, and the process ends without executing the format conversion process for data that appears after the “slip header hierarchy 2” 504.

以上のように、データ階層単位でのデータの破棄処理において、ある階層内でデータの不正が、単数または複数存在した場合は、その階層に属するデータおよびその階層に従ずる階層に属するデータを一体となって全て破棄することにより、データ構造の矛盾等の発生等を防ぎ、不正データ破棄後もデータ構造の有効性を保つことができる。   As described above, in the data discarding process in units of data hierarchies, if one or more data frauds exist in a hierarchy, the data belonging to that hierarchy and the data belonging to the hierarchy following that hierarchy are integrated. By discarding all of them, it is possible to prevent the occurrence of inconsistencies in the data structure and the like, and to maintain the validity of the data structure even after discarding illegal data.

次に、図7を用いて、このような不正データ検出時のフォーマット変換処理のデータ階層単位でのスキップ処理および破棄処理について説明する。   Next, a skip process and a discard process for each data layer in the format conversion process at the time of detecting illegal data will be described with reference to FIG.

まず、変換前データから1行分のデータを読み込み(ステップS701)、読み込んだデータが、ユーザによって指定された不正データ破棄対象階層より下の階層に位置するデータであるか否かを判別する(ステップS702)。   First, one line of data is read from the pre-conversion data (step S701), and it is determined whether or not the read data is data located in a hierarchy lower than the illegal data discard target hierarchy specified by the user (step S701). Step S702).

不正データ破棄対象階層より下の階層に位置するデータであれば、ステップS703の処理に移り、不正データ破棄対象の階層以上の階層に位置するデータであった場合は、ステップS708の処理に移る。ここで、使用される階層の概念は、階層定義パラメータファイルに設定された内容を元に判断される。   If the data is located in a hierarchy lower than the illegal data discarding target hierarchy, the process proceeds to step S703. If the data is located in a hierarchy higher than the illegal data discarding target hierarchy, the process proceeds to step S708. Here, the concept of the hierarchy to be used is determined based on the contents set in the hierarchy definition parameter file.

ステップS703においては、階層定義パラメータファイルおよびスキーマ定義パラメータファイルに設定された内容を元に、変換前データに対するフォーマット変換処理を行う。そして、データの値の編集が必要な場合は、スキーマ定義パラメータファイルの設定内容に従いデータ編集処理を行う(ステップS704)。   In step S703, the format conversion process is performed on the pre-conversion data based on the contents set in the hierarchy definition parameter file and the schema definition parameter file. If data value editing is necessary, data editing processing is performed according to the setting contents of the schema definition parameter file (step S704).

このデータ編集処理中に不正データが検出されたか否かを判定し(ステップS705)、不正データが検出されなければ、変換後のデータを変換後データ格納用の内部メモリ(キャッシュメモリやメインメモリ等、CPUから直接アクセス可能な記憶装置)へ書き込む(ステップS706)。   It is determined whether or not illegal data is detected during the data editing process (step S705). If invalid data is not detected, the converted data is stored in the internal memory for storing the converted data (cache memory, main memory, etc.). Then, the data is written to a storage device that is directly accessible from the CPU (step S706).

尚、このステップS706の処理では、ファイルへの出力は行わない。なぜなら、このステップS706の処理の時点では、まだ現在処理中の階層内に不正データが混在しないということが確定しておらず、この処理の時点で変換前データファイル1行毎の単位でデータのファイル出力を行ってしまうと、後から同一階層の不正データが出現し、処理中の階層自体のデータファイル出力が全て不要となった場合にも、すでにデータがファイル出力されてしまっている状態となるからである。   In the process of step S706, output to a file is not performed. This is because at the time of the process of step S706, it is not yet determined that illegal data is not mixed in the hierarchy currently being processed, and at the time of this process, the data is stored in units of one line of the pre-conversion data file. When file output is performed, invalid data of the same level appears later, and even if all data file output of the layer being processed becomes unnecessary, the data has already been output to the file. Because it becomes.

従って、変換後のデータを実際にファイル出力する時点は、ステップS702での判定処理において、ステップS701の処理で読み込んだ変換前データの1行がユーザ指定の破棄対象階層と同じ階層かまたは、それよりも上の階層に位置するデータであった場合、すなわち、ステップS708の処理での段階となる。   Therefore, when the converted data is actually output to the file, in the determination process in step S702, one line of the pre-conversion data read in the process in step S701 is the same hierarchy as the discard target hierarchy specified by the user, or If the data is located in a higher hierarchy, that is, the stage in the process of step S708.

ステップS705の処理において不正データが検出された場合は、変換後データの内容から、不正データの箇所を特定するために必要となるデータを取得する(ステップS710)。尚、不正データの箇所を特定するために必要となるデータは、予めEDIセンタと取引先間で決定しておき、その決定されたデータを変換後データから取得する。   If illegal data is detected in the process of step S705, data necessary for specifying the location of the illegal data is acquired from the contents of the converted data (step S710). Note that the data necessary for specifying the location of the illegal data is determined in advance between the EDI center and the business partner, and the determined data is acquired from the converted data.

ステップS710の処理で取得した不正データ特定情報を、エラーリストファイルへ出力する(ステップS711)。そして、エラーリスト出力が行われた不正データを含む変換後データを、破棄する(ステップS712)。すなわち、不正データを含む変換後データに関しては、ステップS706での処理のように、変換後データ格納用の内部メモリへのデータ書き込みもファイル出力も行わない。   The illegal data specifying information acquired in step S710 is output to the error list file (step S711). Then, the converted data including the illegal data for which the error list is output is discarded (step S712). That is, with respect to the post-conversion data including illegal data, neither data writing nor file output to the internal memory for storing post-conversion data is performed as in the processing in step S706.

ステップS712において変換後データを破棄した後、もしくは、ステップS706において変換後データを内部メモリに蓄積した後、未処理変換前のデータの存在確認を行い(ステップS707)、まだ存在する場合は、再び、ステップS701の処理に移行し、変換前の次の1行を読み込み、存在しない場合には、そのまま一連のフォーマット変換処理を終了する。   After discarding the converted data in step S712 or accumulating the converted data in the internal memory in step S706, the presence of unprocessed data is confirmed (step S707). Then, the process proceeds to the process of step S701, and the next line before conversion is read. If it does not exist, the series of format conversion processes is terminated as it is.

ステップS708においては、変換後データの格納用の内部メモリの内容を全てファイル出力し、その後、ステップS708において、その変換後データ格納用の内部メモリの内容を削除する。   In step S708, all the contents of the internal memory for storing the converted data are output as a file, and then in step S708, the contents of the internal memory for storing the converted data are deleted.

以上、図1〜図7を用いて説明したように、本例では、EDIシステムのフォーマット変換処理において、不正データと正常データを切り離し、正常データ部分のみに対してフォーマット変換処理を実行して出力する。これにより、有効な正常データは取引先へとリアルタイムで送信可能であり、不正データ部分のみを修正、再変換および再送信を行えばよく、流通EDIの業務効率化を実現することが可能である。   As described above with reference to FIGS. 1 to 7, in this example, in the format conversion process of the EDI system, illegal data and normal data are separated, and the format conversion process is executed on only the normal data part and output. To do. As a result, valid normal data can be transmitted to the business partner in real time, and only the illegal data portion needs to be corrected, reconverted and retransmitted, and it is possible to improve the operational efficiency of distribution EDI. .

より具体的には、フォーマット変換処理の実行時に、フォーマット変換後のデータを即座にファイル出力するのではなく、一時的に内部メモリに蓄積しておく。その際、内部メモリに蓄積するデータの範囲は、エラー時破棄の対象となる階層以下の範囲に限定し、入力ファイルの読み込みとメモリへの蓄積を繰り返し、蓄積した範囲のデータにそれ以上不正データが混在する可能性がなくなった時点でファイルへの出力を行う。これにより、伝票データの階層構造を崩すことなく、かつ、内部メモリを無駄に浪費することもなく正常データと不正データの切り分けが実現できる。また、不正データが存在した場合は、メモリ上に蓄積された変換後のデータから、不正データ箇所を特定できる項目を抽出し、エラーリストファイルへ出力する。これにより、後からでも、不正データが存在するファイル上での位置を容易に特定することができる。   More specifically, when the format conversion process is executed, the data after the format conversion is not immediately output to a file, but temporarily stored in the internal memory. At that time, the range of data stored in the internal memory is limited to the range below the hierarchy that is to be discarded when an error occurs. Reading of the input file and storage in the memory are repeated, and the data in the stored range no longer contains invalid data. Output to a file when there is no possibility of mixing. Thereby, normal data and illegal data can be separated without destroying the hierarchical structure of the slip data and without wasting the internal memory. If invalid data exists, an item that can identify the illegal data location is extracted from the converted data stored in the memory and output to the error list file. Thereby, it is possible to easily specify the position on the file where the illegal data exists even later.

このように、本例によれば、流通業務上不正なデータのみ、または、不正なデータを含む一定範囲のデータを除外して、正常なデータは通常通りフォーマット変換し出力すること、および不正なデータ箇所を特定する情報を提供することにより、伝票データの取引先への到着の遅延が即座に欠品や在庫余剰などの不利益の誘発を招く恐れのある流通EDI業界の現実において、流通業務上使用可能な伝票データは出来る限りリアルタイムでの送信が可能であり、不正データ部分のみを修正、再変換および再送信を行えばよく、業務の効率化を実現し、信頼性の向上へとつながる。   As described above, according to this example, only data that is illegal in distribution business or a certain range of data including illegal data is excluded, normal data is converted and output as usual, and illegal data is output. In the reality of the distribution EDI industry, delays in arrival of slip data to business partners can lead to inconveniences such as missing items and excess inventory by providing information that identifies data locations. The voucher data that can be used can be transmitted in real time as much as possible, and only the illegal data part needs to be corrected, reconverted, and retransmitted, improving the efficiency of business and improving the reliability. .

尚、本発明は、図1〜図7を用いて説明した例に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、本例では、流通業の伝票情報を持つ電子取引データのフォーマット変換処理を行うEDIシステムを例として説明したが、他の業種での電子取引データのフォーマット変換処理を行うEDIシステムであっても良い。   In addition, this invention is not limited to the example demonstrated using FIGS. 1-7, A various change is possible in the range which does not deviate from the summary. For example, in this example, an EDI system that performs format conversion processing of electronic transaction data having slip information of a distribution business has been described as an example. However, an EDI system that performs format conversion processing of electronic transaction data in other industries is described. Also good.

また、本例のコンピュータ構成例に関しても、キーボードや光ディスクの駆動装置の無いコンピュータ構成としても良い。また、本例では、光ディスクを記録媒体として用いているが、FD(Flexible Disk)等を記録媒体として用いることでも良い。また、プログラムのインストールに関しても、通信装置を介してネットワーク経由でプログラムをダウンロードしてインストールすることでも良い。   The computer configuration example of this example may also be a computer configuration without a keyboard or optical disk drive. In this example, an optical disk is used as a recording medium. However, an FD (Flexible Disk) or the like may be used as a recording medium. As for the program installation, the program may be downloaded and installed via a network via a communication device.

本発明に係るフォーマット変換装置を設けたEDIシステムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the EDI system which provided the format conversion apparatus which concerns on this invention. 図1における変換処理部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conversion process part in FIG. 図1における変換処理部による不正データ検知処理手順例を示す説明図である。It is explanatory drawing which shows the example of an unauthorized data detection process procedure by the conversion process part in FIG. 図1における変換処理部で取り扱うデータの階層構造例を示す説明図である。It is explanatory drawing which shows the hierarchical structure example of the data handled by the conversion process part in FIG. 図1における変換処理部による変換処理前後のデータの第1の階層構造例を示す説明図である。It is explanatory drawing which shows the 1st hierarchical structure example of the data before and behind the conversion process by the conversion process part in FIG. 図1における変換処理部による変換処理前後のデータの第2の階層構造例を示す説明図である。It is explanatory drawing which shows the 2nd hierarchical structure example of the data before and behind the conversion process by the conversion process part in FIG. 図1における変換処理部の本発明に係るフォーマット変換処理手順例を示すフローチャートである。It is a flowchart which shows the example of a format conversion process procedure which concerns on this invention of the conversion process part in FIG.

符号の説明Explanation of symbols

101:取引先(1)、101a,102a:。
101b,102b:通信部、
103:EDIシステム、104:データ受信処理部、105:変換処理部(フォーマット変換装置)、106:データ送信処理部、107:通信部、108:エラーリスト、200a,200b:フォーマット変換処理部、201:中間共通CSVデータファイル、202:中間共通CSVデータ用データベース、203a,203b:エラーリストファイル、210a,210b:固定長伝票データファイル、211a,211b:CSV伝票データファイル、212a,212b:XML伝票データファイル、301:階層定義パラメータファイル、302:スキーマ定義パラメータファイル、303:フォーマット変換プログラム、304:データ編集モジュール、305:不正データ存在通知、306:不正データ特定情報、307:エラーリスト、308:コード変換表ファイル、311:変換前フォーマットデータ、312:正常に変換された変換後フォーマットデータ、401:伝票ヘッダ階層(1)〜(N)、402:伝票明細階層(1)〜(N)、501:伝票ヘッダ階層(1)、502:伝票明細階層(1)、503:伝票明細階層(2)、504:伝票ヘッダ階層(2)、505:伝票明細階層(3)、506:伝票明細階層(4)、507:欠品理由(不正データ)、508:伝票ヘッダ階層(3)、509:伝票ヘッダ階層(1)、510:伝票明細階層(1)、511:伝票明細階層(2)、512:伝票ヘッダ階層(2)、513:伝票明細階層(3)、514:伝票ヘッダ階層(3)、601:伝票ヘッダ階層(1)、602:伝票明細階層(1)、603:伝票明細階層(2)、604:伝票ヘッダ階層(2)、605:伝票明細階層(3)、606:納品区分(不正データ)、607:伝票明細階層(4)、608:伝票ヘッダ階層(3)、609:伝票ヘッダ階層(1)、610:伝票明細階層(1)、611:伝票明細階層(2)、612:伝票ヘッダ階層(3)。
101: Customer (1), 101a, 102a :.
101b, 102b: communication unit,
103: EDI system 104: Data reception processing unit 105: Conversion processing unit (format conversion apparatus) 106: Data transmission processing unit 107: Communication unit 108: Error list 200a, 200b: Format conversion processing unit 201 : Intermediate common CSV data file, 202: intermediate common CSV data database, 203a, 203b: error list file, 210a, 210b: fixed length slip data file, 211a, 211b: CSV slip data file, 212a, 212b: XML slip data File, 301: hierarchy definition parameter file, 302: schema definition parameter file, 303: format conversion program, 304: data editing module, 305: invalid data existence notification, 306: illegal data specifying information, 30 : Error list, 308: Code conversion table file, 311: Format data before conversion, 312: Format data after conversion successfully converted, 401: Slip header hierarchy (1) to (N), 402: Slip detail hierarchy (1 ) To (N), 501: slip header hierarchy (1), 502: slip detail hierarchy (1), 503: slip detail hierarchy (2), 504: slip header hierarchy (2), 505: slip detail hierarchy (3) 506: slip detail hierarchy (4), 507: reason for missing item (illegal data), 508: slip header hierarchy (3), 509: slip header hierarchy (1), 510: slip detail hierarchy (1), 511: slip Detail hierarchy (2), 512: slip header hierarchy (2), 513: slip detail hierarchy (3), 514: slip header hierarchy (3), 601: slip header hierarchy (1), 602: slip detail hierarchy ( ): 603: slip detail hierarchy (2), 604: slip header hierarchy (2), 605: slip detail hierarchy (3), 606: delivery category (incorrect data), 607: slip detail hierarchy (4), 608: slip Header hierarchy (3), 609: slip header hierarchy (1), 610: slip detail hierarchy (1), 611: slip detail hierarchy (2), 612: slip header hierarchy (3).

Claims (7)

プログラムされたコンピュータ処理により、電子取引データを、フォーマット変換処理を行ってネットワーク中継するEDIシステムのフォーマット変換処理方法であって、
プログラムされたコンピュータ処理実行手順として、
フォーマット変換対象の電子取引データにおける不正データの有無を検出する第1の手順と、
該第1の手順で不正データを検出した場合に、当該不正データをフォーマット変換処理の対象から取り除く第2の手順と、
該第2の手順で不正データを取り除いた電子取引データをフォーマット変換して出力する第3の手順と
を含むことを特徴とするEDIシステムのフォーマット変換方法。
A format conversion processing method for an EDI system in which electronic transaction data is subjected to format conversion processing and relayed to a network by programmed computer processing,
As a programmed computer processing execution procedure,
A first procedure for detecting the presence or absence of unauthorized data in electronic transaction data subject to format conversion;
A second procedure for removing illegal data from the target of format conversion processing when illegal data is detected in the first procedure;
A format conversion method for an EDI system, comprising: a third procedure for converting the format of electronic transaction data from which illegal data has been removed in the second procedure and outputting the data.
請求項1に記載のEDIシステムのフォーマット変換方法であって、
上記第1の手順では、
上記電子取引データのフォーマット変換に伴うコード変換を含むデータ編集処理を行う際に、当該データ内に、予め定められたデータ以外のデータが存在する場合に、不正なデータであると検出することを特徴とするEDIシステムのフォーマット変換方法。
A format conversion method for an EDI system according to claim 1,
In the first procedure,
When performing data editing processing including code conversion accompanying the format conversion of the electronic transaction data, if there is data other than predetermined data in the data, detecting that the data is invalid A format conversion method for an EDI system.
請求項1もしくは請求項2のいずれかに記載のEDIシステムのフォーマット変換方法であって、
上記電子取引データは、階層構造からなり、
上記第2の手順では、上記不正データと共に、該不正データの下位層にあるデータを、フォーマット変換処理の対象から取り除く
ことを特徴とするEDIシステムのフォーマット変換方法。
A method for converting the format of an EDI system according to claim 1 or 2,
The electronic transaction data has a hierarchical structure,
In the second procedure, a format conversion method for an EDI system is characterized in that, together with the illegal data, data in a lower layer of the illegal data is removed from the target of format conversion processing.
請求項3に記載のEDIシステムのフォーマット変換方法であって、
プログラムされたコンピュータ処理実行手順として、
上記第3の手順でフォーマット変換したデータを正常データとして一時的に記憶装置に蓄積する手順と、
蓄積した正常データと同じ階層における他のデータの全てが上記第1の手順により正常であると検出された後、上記記憶装置に蓄積した正常データを変換後データとして出力する手順と
を含むことを特徴とするEDIシステムのフォーマット変換方法。
A format conversion method for an EDI system according to claim 3,
As a programmed computer processing execution procedure,
A procedure for temporarily storing the data subjected to format conversion in the third procedure as normal data in a storage device;
And a procedure for outputting normal data stored in the storage device as converted data after all the other data in the same hierarchy as the stored normal data is detected to be normal by the first procedure. A format conversion method for an EDI system.
請求項1から請求項4のいずれかに記載のEDIシステムのフォーマット変換方法であって、
プログラムされたコンピュータ処理実行手順として、
上記第1の手順で検出した不正データを特定する一覧情報を生成して出力する手順を
含むことを特徴とするEDIシステムのフォーマット変換方法。
A method for converting the format of an EDI system according to any one of claims 1 to 4,
As a programmed computer processing execution procedure,
A format conversion method for an EDI system, including a procedure for generating and outputting list information for specifying illegal data detected in the first procedure.
コンピュータに、請求項1から請求項5のいずれかに記載のEDIシステムのフォーマット変換方法における各手順を実行させるためのプログラム。   The program for making a computer perform each procedure in the format conversion method of the EDI system in any one of Claims 1-5. プログラムされたコンピュータ処理により、
流通業の伝票情報を持つ電子取引データを、フォーマット変換処理を行って中継するEDIシステムのフォーマット変換装置であって、
プログラムされたコンピュータ処理実行手段として、
請求項1から請求項5のいずれかに記載のEDIシステムのフォーマット変換方法における各手順を実行する手段を具備したことを特徴とするEDIシステムのフォーマット変換装置。
By programmed computer processing
A format conversion device of an EDI system that relays electronic transaction data having slip information of a distribution business by performing format conversion processing,
As programmed computer processing execution means
6. An EDI system format conversion apparatus comprising means for executing each procedure in the EDI system format conversion method according to claim 1.
JP2008063486A 2008-03-13 2008-03-13 EDI system format conversion method, apparatus and program Active JP4738429B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008063486A JP4738429B2 (en) 2008-03-13 2008-03-13 EDI system format conversion method, apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008063486A JP4738429B2 (en) 2008-03-13 2008-03-13 EDI system format conversion method, apparatus and program

Publications (2)

Publication Number Publication Date
JP2009217763A true JP2009217763A (en) 2009-09-24
JP4738429B2 JP4738429B2 (en) 2011-08-03

Family

ID=41189504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008063486A Active JP4738429B2 (en) 2008-03-13 2008-03-13 EDI system format conversion method, apparatus and program

Country Status (1)

Country Link
JP (1) JP4738429B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014010770A (en) * 2012-07-02 2014-01-20 Fuji Xerox Co Ltd Relay device
JP2014532230A (en) * 2011-09-28 2014-12-04 エレメンタム エスシーエム (ケイマン)リミテッドElementum Scm (Cayman) Ltd. Analysis and presentation of supply, manufacturing and logistics data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060240A (en) * 1999-08-24 2001-03-06 Hitachi Ltd Format correcting method and data converting method
JP2003132130A (en) * 2001-10-19 2003-05-09 Japan Tobacco Inc Inter-enterprise order receiving processing system
JP2003296159A (en) * 2002-03-29 2003-10-17 Japan Research Institute Ltd Edi-erp coordination system and coordination method
JP2008191923A (en) * 2007-02-05 2008-08-21 Sap Ag Data processing system, format conversion device, receiving data processor, data processing method, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060240A (en) * 1999-08-24 2001-03-06 Hitachi Ltd Format correcting method and data converting method
JP2003132130A (en) * 2001-10-19 2003-05-09 Japan Tobacco Inc Inter-enterprise order receiving processing system
JP2003296159A (en) * 2002-03-29 2003-10-17 Japan Research Institute Ltd Edi-erp coordination system and coordination method
JP2008191923A (en) * 2007-02-05 2008-08-21 Sap Ag Data processing system, format conversion device, receiving data processor, data processing method, and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014532230A (en) * 2011-09-28 2014-12-04 エレメンタム エスシーエム (ケイマン)リミテッドElementum Scm (Cayman) Ltd. Analysis and presentation of supply, manufacturing and logistics data
JP2014010770A (en) * 2012-07-02 2014-01-20 Fuji Xerox Co Ltd Relay device
CN103533013A (en) * 2012-07-02 2014-01-22 富士施乐株式会社 Relay device and relay method

Also Published As

Publication number Publication date
JP4738429B2 (en) 2011-08-03

Similar Documents

Publication Publication Date Title
US7779353B2 (en) Error checking web documents
MX2008012378A (en) Policy based message aggregation framework.
US8875013B2 (en) Multi-pass validation of extensible markup language (XML) documents
US7954112B2 (en) Automatic recovery from failures of messages within a data interchange
US7925699B2 (en) Technique for reliable message confirmation
JP4738429B2 (en) EDI system format conversion method, apparatus and program
JP4722864B2 (en) Data processing system, format conversion apparatus, received data processing apparatus, data processing method, and computer program
JP4864590B2 (en) Information processing apparatus, information processing method, and program for supporting operation setting of application program
US20050240600A1 (en) Methods, systems, and storage mediums for integrating service request generation systems with a service order control system
US7941708B2 (en) Error management framework
CN112115052A (en) Automatic walkthrough method and system for graphical user interface and interface walkthrough tool
US20050063387A1 (en) System and method of order reexamination in electronic data interchange
CN113377467B (en) Information decoupling method and device, server and storage medium
CN116108110B (en) Kafka message consumption compensation method, system and medium
TW500989B (en) Automatic auditing system and method for machine production parameters
JP2003296159A (en) Edi-erp coordination system and coordination method
US11671243B2 (en) Apparatus, computer program and method
JP2007133545A (en) Operation management program and operation management method
JP2009277119A (en) Log recording system
JP2009026198A (en) Business form handling apparatus
JP2009129038A (en) Tool for identifying consistency between data item and program code
US9917975B2 (en) Facsimile requirements monitoring
JP2001022877A (en) Financial system, transfer error processing server, and recording medium
JP2003167986A (en) Data verification device
CN114547060A (en) Government affair data exchange method and system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110404

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110426

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110426

R150 Certificate of patent or registration of utility model

Ref document number: 4738429

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250