Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5250394B2 - EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program - Google Patents
[go: Go Back, main page]

JP5250394B2 - EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program - Google Patents

EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program Download PDF

Info

Publication number
JP5250394B2
JP5250394B2 JP2008293678A JP2008293678A JP5250394B2 JP 5250394 B2 JP5250394 B2 JP 5250394B2 JP 2008293678 A JP2008293678 A JP 2008293678A JP 2008293678 A JP2008293678 A JP 2008293678A JP 5250394 B2 JP5250394 B2 JP 5250394B2
Authority
JP
Japan
Prior art keywords
target data
data item
specified
code
edi
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
JP2008293678A
Other languages
Japanese (ja)
Other versions
JP2010122756A (en
Inventor
順一郎 廣江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP2008293678A priority Critical patent/JP5250394B2/en
Publication of JP2010122756A publication Critical patent/JP2010122756A/en
Application granted granted Critical
Publication of JP5250394B2 publication Critical patent/JP5250394B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、EDI統合処理システム、EDI統合処理方法、およびEDI統合処理プログラムに関するものであり、具体的には、データ特性や取り扱い方針を任意に反映させたEDI電文の振り分け処理を可能とし、EDIシステムにおけるデータ処理効率を向上させる技術に関する。   The present invention relates to an EDI integrated processing system, an EDI integrated processing method, and an EDI integrated processing program. Specifically, the present invention enables an EDI message distribution process that arbitrarily reflects data characteristics and a handling policy. The present invention relates to a technique for improving data processing efficiency in a system.

企業間での商取引データを標準的書式に統一し、電子的に交換するEDI(Electronic Data Interchange)システムが広がりをみせている。このEDIシステムでは、受発注や見積もり、決済、出入荷などに関わるデータを、あらかじめ定められた形式にしたがって電子化し、専用線やVANなどのネットワークを通じて端末間で送受信する。   An EDI (Electronic Data Interchange) system that unifies business transaction data between companies in a standard format and exchanges electronically is spreading. In this EDI system, data related to ordering, quotation, settlement, and arrival / departure is digitized according to a predetermined format and transmitted / received between terminals via a network such as a dedicated line or VAN.

こうしたEDIシステムにおいてやりとりされる電文を適切な端末に振り分ける技術として、例えば、EDIシステムにおけるEDIデータの配信先をコンピュータ処理して決定するEDIデータ振り分けシステムであって、上記EDIデータの任意のデータ項目の組み合わせ情報と当該EDIデータの配信先情報とを対応付けて記憶装置に記憶する情報登録手段と、上記記憶装置に記憶した対応付け情報に基づき、受信したEDIデータの配信先を決定する決定手段とを有することを特徴とするEDIデータ振り分けシステム(特許文献1参照)などが提案されている。
特開2005−101928号公報
As a technique for distributing electronic messages exchanged in such an EDI system to an appropriate terminal, for example, an EDI data distribution system that determines a delivery destination of EDI data in an EDI system by computer processing, and any data item of the EDI data Registration means for associating and storing the combination information of the EDI data and the delivery destination information of the EDI data in the storage device, and determining means for determining the delivery destination of the received EDI data based on the association information stored in the storage device An EDI data distribution system (see Patent Document 1) characterized by having
JP 2005-101928 A

企業規模がある程度以上となると、事業部や支店等がそれぞれに権限を持って営業活動を行うことが多い。そのような環境であれば、商品・サービスの受発注も例えば事業部毎に行われることが普通となり、EDIシステムについても事業部毎等に導入することが多くなる。すなわち、同じ企業体の中に複数のEDIシステムが並存する状況が出現する。 経営効率を改善する意味で、こうしたシステムの並存状態を解消してEDIシステムの一本化を図るとしても、従来のように固定的に振り分け基準を定めて電文振り分けをする場合、例えば事業部毎、或いはある期間毎などの受発注データの特性や取り扱い方針などに配慮することがない。そのため、単純に1つの振り分け基準のみを考慮することになり、振り分け不可のEDI電文が多く生じやすい。
こうした振り分け不可の電文は人手による判断に委ねられることになり、結局、企業全体としての業務効率改善が遠のきがちとなる。
When the size of a company exceeds a certain level, business divisions and branches often conduct sales activities with authority. In such an environment, orders for goods and services are usually made for each business unit, for example, and an EDI system is often introduced for each business unit. That is, a situation where a plurality of EDI systems coexist in the same business entity appears. In order to improve the management efficiency, even if the coexistence state of these systems is eliminated and the EDI system is unified, when the distribution rules are fixedly set as in the past, Or, there is no consideration for the characteristics and handling policy of ordering data for every certain period. For this reason, only one sorting criterion is considered, and many EDI messages that cannot be sorted are likely to occur.
Such undistributable telegrams are left to manual judgment, and as a result, improvement of business efficiency as a whole company tends to be far away.

そこで本発明は上記課題を鑑みてなされたものであり、データ特性や取り扱い方針を任意に反映させたEDI電文の振り分け処理を可能とし、EDIシステムにおけるデータ処理効率を向上させる技術の提供を主たる目的とする。   Accordingly, the present invention has been made in view of the above problems, and it is a main object of the present invention to provide a technique that enables an EDI message distribution process that arbitrarily reflects data characteristics and a handling policy, and improves data processing efficiency in an EDI system. And

上記課題を解決する本発明のEDI統合処理システムは、ネットワークを介して他装置と通信を実行する通信手段と、各種データを記憶する記憶手段とを備えたコンピュータシステムであり、以下の手段を備えている。   The EDI integrated processing system of the present invention that solves the above problems is a computer system that includes a communication unit that performs communication with other devices via a network, and a storage unit that stores various data, and includes the following units: ing.

すなわち、前記EDI統合処理システムは、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納する、パターンマスタ取得手段を備える。   That is, the EDI integrated processing system is configured to perform a logical operation between a plurality of target data items to be read from the EDI message and the target data items according to each orderer code and orderer code included in the EDI message. Pattern master acquisition that accepts input at the input interface for the data object to be emphasized by pattern and stores it in the storage means as a first master record for each combination pattern of each code of the orderer and the contractor and the order type code Means.

また、前記EDI統合処理システムは、前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納する、データマスタ取得手段を備える。   In addition, the EDI integrated processing system includes, for each combination pattern of each code of the orderer and the ordering party, the order type code, and one of the target data items, the specified data content that the EDI message should include as the target data item, , A data master acquisition unit that receives an input at an input interface with respect to a distribution destination of the corresponding EDI message when the EDI message includes the data of the specified data content, and stores the received data as a second master record in the storage unit.

また、前記EDI統合処理システムは、前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索する、第1マスタ検索手段を備える。   The EDI integrated processing system receives an EDI message from a customer terminal via the communication means, extracts each code of the orderer and the contractor and the order type code from the EDI message, and extracts each code extracted here. First master search means for searching the first master record from the storage means using the set of

また、前記EDI統合処理システムは、前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索する、第2マスタ検索手段を備える。   The EDI integrated processing system reads the data of the target data item from the first master record specified by the search, searches the EDI message for data corresponding to the target data item, and the EDI message includes the EDI message. All the target data items that are specified, and search the storage means for the second master record corresponding to each combination of the target data items specified here, each code of the orderer and the ordering party, and the order type code, Second master search means is provided.

また、前記EDI統合処理システムは、前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定する、振り分け先決定手段を備える。 Further, the EDI integrated processing system extracts the specified data content from each second master record specified by the search, the data indicated by the target data item in the EDI message, and the specified data content corresponding to the target data item To identify the target data item whose data matches the specified data content, and apply the logical operation pattern operator indicated by the first master record to the target data item specified here, It is determined whether one or a plurality of target data items whose data match the prescribed data content satisfy the relationship between the target data items indicated by the operator, and as a result of the determination, the target data satisfying the relationship indicated by the operator When there is one item, the target data item is identified as a priority target data item, and as a result of the determination, the relationship indicated by the operator If the target data item satisfying was more priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item comprises a distribution destination determining means.

また、前記EDI統合処理システムは、前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信する、電文送信手段を備える。   In addition, the EDI integrated processing system includes a message transmission unit that reads out the distribution destination data from the second master record corresponding to the identified importance target data item, and transmits the EDI message to the distribution destination.

なお、前記EDI統合処理システムにおいて、前記パターンマスタ取得手段が、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の優先順位について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとて前記記憶手段に格納するとしてもよい。   In the EDI integrated processing system, the pattern master acquisition means includes a plurality of target data items to be read from an EDI message according to each code of the orderer and the ordering party included in the EDI message and the order type code, and The priority order between the target data items may be received by the input interface, and may be stored in the storage means as a first master record for each combination pattern of the orderer code and the orderer code. .

またこの場合、前記振り分け先決定手段が、前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定する。   In this case, the distribution destination determination means extracts the specified data contents from each second master record specified by the search, and the data indicated by the target data item in the EDI message and the specified data item corresponding to the target data item The target data item whose data matches the specified data content is identified by collating with the data content, and the target data item with the highest priority indicated by the first master record among the target data items specified here is emphasized target data Specify as an item.

また、本発明のEDI統合処理方法は、ネットワークを介して他装置と通信を実行する通信手段と、各種データを記憶する記憶手段とを備えたコンピュータが、以下の処理を実行するものである。   In the EDI integration processing method of the present invention, a computer including a communication unit that performs communication with another device via a network and a storage unit that stores various data performs the following processing.

すなわち、前記コンピュータが、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納する処理を実行する。   That is, according to each code and order type code of the orderer and the contractor included in the EDI message, the computer determines a plurality of target data items to be read from the EDI message and logical operation patterns for the target data items. An input is received with respect to the data item to be emphasized through the input interface, and processing for storing in the storage means as a first master record for each combination pattern of each code of the orderer and the ordering party and the order type code is executed.

また、前記コンピュータが、前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納する処理を実行する。   In addition, for each combination pattern of each code of the orderer and the ordering party, the order type code, and one of the target data items, the computer includes the specified data content that the EDI message should include as the target data item, the EDI message Receives the input at the input interface with respect to the distribution destination of the corresponding EDI message when the data includes the data of the prescribed data content, and executes the process of storing in the storage means as the second master record.

また、前記コンピュータが、前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索する処理を実行する。   Further, the computer receives an EDI message from the customer terminal via the communication means, extracts each code of the orderer and the contractor and the order type code from the EDI message, and sets each code set extracted here. A process for retrieving the first master record from the storage means using the key is executed.

また、前記コンピュータが、前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索する処理を実行する。   Further, the computer reads the data of the target data item from the first master record specified by the search, searches the EDI message for data corresponding to the target data item, and the target that the EDI message contains All the data items are specified, and processing for searching the second master record corresponding to each combination of each target data item specified here, each code of the orderer and the ordering party, and the order type code is executed in the storage means .

また、前記コンピュータが、前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定する処理を実行する。 Further, the computer extracts the specified data content from each second master record specified by the search, and collates the data indicated by the target data item in the EDI message with the specified data content corresponding to the target data item. Then, the target data item whose data matches the specified data content is specified, and the operator of the logical operation pattern indicated by the first master record is applied to the specified target data item, and the specified data content It is determined whether one or a plurality of target data items whose data match each other satisfy the relationship between the target data items indicated by the operator, and as a result of the determination, the target data item satisfying the relationship indicated by the operator is 1 If the target data item is identified as an important target data item and the result of the determination is that the relationship indicated by the operator is satisfied If the target data item is a plurality, and executes processing priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item.

また、前記コンピュータが、前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信する処理を実行する。   In addition, the computer reads out the data of the distribution destination from the second master record corresponding to the identified importance target data item, and executes a process of transmitting the EDI message to the distribution destination.

また、本発明のEDI統合処理プログラムは、ネットワークを介して他装置と通信を実行する通信手段と、各種データを記憶する記憶手段とを備えたコンピュータに、以下のステップを実行させるものである。   The EDI integration processing program of the present invention causes a computer including a communication unit that communicates with another apparatus via a network and a storage unit that stores various data to execute the following steps.

すなわち、前記EDI統合処理プログラムは、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納するステップをコンピュータに実行させる。   That is, the EDI integration processing program executes a logical operation between a plurality of target data items to be read from the EDI message and the target data items in accordance with each orderer code and order type code included in the EDI message. A step of accepting input at the input interface for the data object to be emphasized for each pattern and storing it in the storage means as a first master record for each combination pattern of the orderer code and the orderer code and the orderer code is stored in the computer. Let it run.

また、前記EDI統合処理プログラムは、前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納するステップをコンピュータに実行させる。   In addition, the EDI integration processing program includes the specified data content that the EDI message should include as the target data item for each combination pattern of each code of the orderer and the contractor, the order type code, and one of the target data items. When the EDI message contains data of the specified data content, the computer receives the input from the input interface for the distribution destination of the EDI message and stores it in the storage means as the second master record.

また、前記EDI統合処理プログラムは、前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索するステップをコンピュータに実行させる。   The EDI integration processing program receives an EDI message from a customer terminal via the communication means, extracts each code of the orderer and the contractor and the order type code from the EDI message, and each code extracted here The computer is caused to execute a step of retrieving the first master record from the storage means using the set of

また、前記EDI統合処理プログラムは、前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索するステップを実行させる。   Further, the EDI integration processing program reads the data of the target data item from the first master record specified by the search, searches the EDI message for data corresponding to the target data item, and the EDI message includes the EDI message. All the target data items are identified, and a second master record corresponding to each combination of each target data item identified here, each code of the orderer and contractor, and the order type code is searched in the storage means Is executed.

また、前記EDI統合処理プログラムは、前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定するステップを実行させる。 The EDI integration processing program extracts the specified data content from each second master record specified by the search, and the data indicated by the target data item in the EDI message and the specified data content corresponding to the target data item To identify the target data item whose data matches the specified data content, and apply the logical operation pattern operator indicated by the first master record to the target data item specified here, It is determined whether one or a plurality of target data items whose data match the prescribed data content satisfy the relationship between the target data items indicated by the operator, and as a result of the determination, the target data satisfying the relationship indicated by the operator If there is one item, the target data item is identified as the priority target data item, and as a result of the determination, the function indicated by the operator is specified. If the target data item satisfying was more, to perform the steps of priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item.

また、前記EDI統合処理プログラムは、前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信するステップを実行させる。   In addition, the EDI integration processing program reads out the data of the distribution destination from the second master record corresponding to the identified importance target data item, and executes the step of transmitting the EDI message to the distribution destination.

その他、本願が開示する課題、及びその解決方法は、発明の実施の形態の欄、及び図面により明らかにされる。   In addition, the problems disclosed by the present application and the solutions thereof will be clarified by the embodiments of the present invention and the drawings.

本発明によれば、データ特性や取り扱い方針を任意に反映させたEDI電文の振り分け処理を可能とし、EDIシステムにおけるデータ処理効率を向上できる。   According to the present invention, it is possible to distribute EDI messages that arbitrarily reflect data characteristics and handling policies, and to improve data processing efficiency in the EDI system.

−−−システム構成−−−
以下に本発明の実施形態について図面を用いて詳細に説明する。図1は、本実施形態のEDI統合処理システム100を含むネットワーク構成図である。図1に示すEDI統合処理システム100は、外部ネットワーク140を介して顧客端末200と、内部ネットワーク145を介して自社端末300と接続されたコンピュータシステムであり、例えば、顧客端末200からのEDI電文を本発明のEDI統合処理方法に従って適宜な自社端末300に振り分ける、サーバ装置となる。前記顧客端末200および自社端末300ともに一般的なコンピュータ端末を想定する。また、前記自社端末300は、例えば、同じ企業体内の各事業部に備えられた端末であることを想定する。その他のEDIシステムとして一般的に必要な機能やハードウェアについては既存EDIシステムと同様とする。
--- System configuration ---
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a network configuration diagram including an EDI integrated processing system 100 of the present embodiment. The EDI integrated processing system 100 shown in FIG. 1 is a computer system connected to a customer terminal 200 via an external network 140 and a company terminal 300 via an internal network 145. For example, an EDI message from the customer terminal 200 is received. According to the EDI integration processing method of the present invention, the server device is distributed to appropriate company terminals 300. Both the customer terminal 200 and the company terminal 300 are assumed to be general computer terminals. Further, it is assumed that the company terminal 300 is, for example, a terminal provided in each business unit in the same company. Other generally required functions and hardware as the EDI system are the same as those of the existing EDI system.

次に、本実施形態におけるEDI統合処理システム100の構成について説明する。図2は本実施形態のEDI統合処理システム100の構成例を示す図である。前記EDI統合処理システム100(以下システム100)は、本発明を実現する機能を備えるべくハードディスクドライブ101などに格納されたプログラム102をRAM103に読み出し、演算装置たるCPU104により実行する。また、前記システム100は、コンピュータ装置が一般に備えている各種キーボードやボタン類などの入力インターフェイス105、ディスプレイなどの出力インターフェイス106を備えている。また、前記顧客端末200および自社端末300などとの間のデータ授受を担う通信手段たるNIC(Network Interface Card)107などを有している。   Next, the configuration of the EDI integrated processing system 100 in this embodiment will be described. FIG. 2 is a diagram illustrating a configuration example of the EDI integrated processing system 100 according to the present embodiment. The EDI integrated processing system 100 (hereinafter, system 100) reads a program 102 stored in the hard disk drive 101 or the like so as to have a function for realizing the present invention into the RAM 103 and executes it by the CPU 104 as an arithmetic unit. The system 100 also includes an input interface 105 such as various keyboards and buttons generally provided in a computer device, and an output interface 106 such as a display. In addition, a network interface card (NIC) 107, which is a communication means for exchanging data between the customer terminal 200 and the company terminal 300, is provided.

続いて、前記EDI統合処理システム100が、例えばプログラム102に基づき前記ハードディスクドライブ101にて構成・保持する機能部につき説明を行う。なお、前記システム100は、ハードディスクドライブなどの前記記憶手段101において、振り分けパターンマスタテーブル125、データ項目振り分けマスタテーブル126を記憶している(各テーブル類については後述)。   Subsequently, functional units that the EDI integrated processing system 100 configures and holds in the hard disk drive 101 based on, for example, the program 102 will be described. The system 100 stores a distribution pattern master table 125 and a data item distribution master table 126 in the storage means 101 such as a hard disk drive (each table will be described later).

図2は本実施形態のEDI統合処理システム100の構成例を示す図である。前記EDI統合処理システム100は、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイス105で入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の振り分けパターンマスタレコード(第1マスタレコード)として前記記憶手段101の振り分けパターンマスタテーブル125に格納する、パターンマスタ取得手段110を備える。   FIG. 2 is a diagram illustrating a configuration example of the EDI integrated processing system 100 according to the present embodiment. The EDI integrated processing system 100 includes a plurality of target data items to be read from an EDI message and a logical operation pattern between the target data items in accordance with each orderer code and order type code included in the EDI message. The storage unit 101 receives an input from the input interface 105 for another data item to be emphasized, and as a distribution pattern master record (first master record) for each combination pattern of each code of the orderer and the ordering party and the order type code. Pattern master obtaining means 110 for storing in the distribution pattern master table 125.

また、前記システム100は、前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイス105で入力を受け付けて、データ項目振り分けマスタレコード(第2マスタレコード)として前記記憶手段101のデータ項目振り分けマスタテーブル126に格納する、データマスタ取得手段111を備える。   In addition, the system 100 includes, for each combination pattern of each code of the orderer and the ordering party, the order type code, and one of the target data items, the specified data content that the EDI message should include as the target data item, EDI The input interface 105 accepts an input to the distribution destination of the corresponding EDI message when the message includes data of the specified data content, and the data item distribution master of the storage unit 101 as a data item distribution master record (second master record) The data master acquisition means 111 stored in the table 126 is provided.

また、前記システム100は、前記通信手段107を介して顧客端末200からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段101の振り分けパターンマスタテーブル125から振り分けパターンマスタレコード(第1マスタレコード)を検索する、第1マスタ検索手段112を備える。   Further, the system 100 receives an EDI message from the customer terminal 200 via the communication means 107, extracts each code of the orderer and the contractor and the order type code from the EDI message, and extracts each code extracted here. The first master search unit 112 is used to search for a distribution pattern master record (first master record) from the distribution pattern master table 125 of the storage unit 101 using the above set as a key.

また、前記システム100は、前記検索で特定した振り分けパターンマスタレコード(第1マスタレコード)より対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当するデータ項目振り分けマスタレコード(第2マスタレコード)を記憶手段101のデータ項目振り分けマスタテーブル126で検索する、第2マスタ検索手段113を備える。   Further, the system 100 reads the data of the target data item from the distribution pattern master record (first master record) specified by the search, searches the EDI message for the data corresponding to the target data item, and this EDI All the target data items included in the message are specified, and each target data item specified here, a data item sorting master record (first record) corresponding to each combination of the orderer and contractor codes and the order type code 2 master records) is searched for in the data item distribution master table 126 of the storage means 101.

また、前記システム100は、前記検索で特定した各データ項目振り分けマスタレコード(第2マスタレコード)より前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目を、前記振り分けパターンマスタレコード(第1マスタレコード)が示す論理演算パターンに当てはめて、前記規定データ内容にデータが一致する対象データ項目中より重視対象データ項目を特定する、振り分け先決定手段114を備える。   Further, the system 100 extracts the contents of the specified data from each data item sorting master record (second master record) specified by the search, and corresponds to the data indicated by the target data item in the EDI message and the target data item. The target data item whose data matches the specified data content is specified by collating with the specified data content, and the specified target data item is represented by the logic indicated by the distribution pattern master record (first master record). A distribution destination determining unit 114 is provided that specifies an important target data item from among target data items whose data match the prescribed data contents by applying to the calculation pattern.

また、前記システム100は、前記特定した重視対象データ項目に対応するデータ項目振り分けマスタレコード(第2マスタレコード)より振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信する、電文送信手段115を備える。   In addition, the system 100 reads out data of a distribution destination from the data item distribution master record (second master record) corresponding to the identified importance target data item, and transmits the EDI message to the distribution destination. 115.

なお、前記パターンマスタ取得手段110が、EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の優先順位について入力インターフェイス105で入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の振り分けパターンマスタレコード(第1マスタレコード)として前記記憶手段101の振り分けパターンマスタテーブル125に格納するとしてもよい。   Note that the pattern master acquisition unit 110 has a plurality of target data items to be read from the EDI message according to the orderer code and the orderer code included in the EDI message, and priority between the target data items. As for the order, the input interface 105 accepts the input, and the distribution pattern master table of the storage means 101 as a distribution pattern master record (first master record) for each combination pattern of the orderer code and the orderer code. 125 may be stored.

この場合、前記振り分け先決定手段114が、前記検索で特定した各データ項目振り分けマスタレコード(第2マスタレコード)より前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目のうち前記振り分けパターンマスタレコード(第1マスタレコード)が示す優先順位が最高のものを重視対象データ項目として特定する。   In this case, the distribution destination determination unit 114 extracts the contents of the specified data from each data item distribution master record (second master record) specified by the search, and the data indicated by the target data item in the EDI message and the target The target data item whose data matches the specified data content is identified by collating with the specified data content corresponding to the data item, and the distribution pattern master record (first master record) among the specified target data items ) With the highest priority shown is specified as an important data item.

また、これまで示したEDI統合処理システム100における各手段110〜115は、ハードウェアとして実現してもよいし、メモリやHDD(Hard Disk Drive)などの適宜な記憶装置に格納したプログラムとして実現するとしてもよい。この場合、各装置のCPUがプログラム実行に合わせて記憶装置より該当プログラムをRAMに読み出して、これを実行することとなる。   In addition, each means 110 to 115 in the EDI integrated processing system 100 shown so far may be realized as hardware, or realized as a program stored in an appropriate storage device such as a memory or an HDD (Hard Disk Drive). It is good. In this case, the CPU of each device reads the corresponding program from the storage device into the RAM in accordance with the execution of the program, and executes it.

−−−データベース構造−−−
次に、本実施形態におけるEDI統合処理システム100が用いるテーブルの構造について説明する。図3は本実施形態における、(a)振り分けパターンマスタテーブル125、(b)データ項目振り分けマスタテーブル126の各データ構造例を示す図である。
--- Database structure ---
Next, the structure of the table used by the EDI integrated processing system 100 in this embodiment will be described. FIG. 3 is a diagram showing an example of the data structure of (a) the distribution pattern master table 125 and (b) the data item distribution master table 126 in the present embodiment.

前記振り分けパターンマスタテーブル125は、EDI電文から読み取るべき複数の対象データ項目(図3(a)の例では、「共通フォーマットタグコード1〜5」と定義)と、前記対象データ項目間の論理演算パターン別(図3(a)の例では「共通フォーマットタグコード」同士の間に設定した「論理演算子」)の重視対象データ項目(図3(a)の例では、特に重視対象データ項目を定めていないが、例えば、実データが設定されている共通フォーマットタグコードのうち付番“1”〜“5”の最後のものとする)または前記対象データ項目間の優先順位に応じた重視対象データ項目とについて、EDI電文が含む発注者および受注者の各コードと注文種コード(図3(a)の例では、情報区分コードとしている)とのセット別に設定した振り分けパターンマスタレコードの集合体となっている。   The distribution pattern master table 125 includes a plurality of target data items (defined as “common format tag codes 1 to 5” in the example of FIG. 3A) to be read from an EDI message, and a logical operation between the target data items. Emphasis target data items by pattern (in the example of FIG. 3A, “logical operators” set between “common format tag codes”) (in the example of FIG. Although not defined, for example, it is assumed that the last one of the numbers “1” to “5” among the common format tag codes in which the actual data is set) or the priority target according to the priority order between the target data items For the data item, the distribution set for each set of the orderer and contractor codes included in the EDI message and the order type code (in the example of Fig. 3 (a), the information classification code) It has become a collection of pattern master record.

また、前記データ項目振り分けマスタテーブル126は、EDI電文が前記対象データ項目(前記共通フォーマットタグコードに対応する「タグ名称」)として含むべき規定データ内容(照合桁数、文字列)と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先(振り分け先コード1〜3)とについて、前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に設定したデータ項目振り分けマスタレコードの集合体となっている。   In addition, the data item sorting master table 126 includes the specified data contents (number of verification digits, character string) that the EDI message should include as the target data item (“tag name” corresponding to the common format tag code), the EDI message For the distribution destination (distribution destination codes 1 to 3) of the corresponding EDI message when the data includes the data of the specified data, each code of the orderer and the contractor, the order type code, and one of the target data items It is a collection of data item sorting master records set for each combination pattern.

−−−処理フロー例1(マスタレコード類の登録)−−−
以下、本実施形態におけるEDI統合処理方法の実際手順について、図に基づき説明する。なお、以下で説明するEDI統合処理方法に対応する各種動作は、EDI統合処理システム100のRAM103に読み出して実行するプログラム102によって実現される。そして、このプログラム102は、以下に説明される各種の動作を行うためのコードから構成されている。
---- Processing flow example 1 (registration of master records) ---
Hereinafter, the actual procedure of the EDI integration processing method in the present embodiment will be described with reference to the drawings. Note that various operations corresponding to the EDI integration processing method described below are realized by a program 102 that is read into the RAM 103 of the EDI integration processing system 100 and executed. And this program 102 is comprised from the code | cord | chord for performing the various operation | movement demonstrated below.

図4は本実施形態におけるEDI統合処理方法の処理フロー例1を示す図である。ここではまず、振り分けパターンマスタテーブル125、データ項目振り分けマスタテーブル126を生成する処理例について説明する。このように、本実施形態のEDI統合処理システムにおいては、EDI電文の振り分け処理の条件を任意に設定することができる。またその設定内容としても後述のように、EDI電文が含むデータの特性や、例えば事業部毎など振り分け先等での取り扱い方針を任意に反映させたものとできる。   FIG. 4 is a diagram showing a processing flow example 1 of the EDI integration processing method according to the present embodiment. Here, first, a processing example for generating the distribution pattern master table 125 and the data item distribution master table 126 will be described. As described above, in the EDI integrated processing system of the present embodiment, the conditions for the EDI message distribution process can be arbitrarily set. Further, as will be described later, the setting contents can arbitrarily reflect the characteristics of data included in the EDI message and the handling policy at the distribution destination, for example, for each business division.

このフローにおいて、まず、前記システム100のパターンマスタ取得手段110は、EDI電文が含む(であろう)発注者および受注者の各コードと情報区分コード(例:“新規注文”、“変更注文”、“確定注文”、“追加注文”、“注文取り消し”などといった注文種を示すコード)のセットについて、入力インターフェイス105においてユーザから入力を受け付ける(s100)。そして、前記振り分けパターンマスタテーブル125において前記各コードのセット毎のレコードを生成する(s101)。図6(b)に示す振り分けパターンマスタレコード11の例では、発注者コードが“メーカーA”、受注者コードが“部品会社B”、情報区分コードが“H0502”(“確定注文”を示すコード)のセットのレコードが生成されている。   In this flow, first, the pattern master acquisition means 110 of the system 100 includes each code of the orderer and the ordering party included in the EDI message and the information classification code (for example, “new order”, “change order”). , A code indicating an order type such as “confirmed order”, “additional order”, “order cancellation”, etc.) is received from the user at the input interface 105 (s100). Then, a record for each set of codes is generated in the distribution pattern master table 125 (s101). In the example of the distribution pattern master record 11 shown in FIG. 6B, the orderer code is “Manufacturer A”, the contractor code is “Parts company B”, and the information classification code is “H0502” (a code indicating “confirmed order”). ) Sets of records have been generated.

勿論、こうした入力を受け付けるに当たっては、前記パターンマスタ取得手段110が、前記記憶手段101から入力用画面データを読み出して、ディスプレイ等の出力インターフェイス106に表示させるものとする。ユーザは、この出力インターフェイス106に表示された前記入力用画面を閲覧し、当該入力用画面に表示されている、コード入力欄等に、キーボード・マウスなどの入力インターフェイス105を介してデータ入力を行うこととなる。以下、システム100がユーザからデータ入力を受け付けるに当たっても同様である。   Of course, when accepting such an input, the pattern master acquisition means 110 reads out the input screen data from the storage means 101 and displays it on the output interface 106 such as a display. The user browses the input screen displayed on the output interface 106 and inputs data to the code input field displayed on the input screen via the input interface 105 such as a keyboard / mouse. It will be. The same applies to the case where the system 100 receives data input from the user.

次に、前記パターンマスタ取得手段110は、前記各コードのセット毎のレコードに対し、各コードのセットに応じてEDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について、入力インターフェイス105で入力を受け付ける(s102)。   Next, the pattern master acquisition means 110, for each record of each set of codes, a plurality of target data items to be read from an EDI message according to each set of codes, and a logical operation pattern between the target data items The input interface 105 receives an input for another important data item (s102).

図6(b)に示す例では、発注者コードが“メーカーA”、受注者コードが“部品会社B”、情報区分コードが“H0502”(“確定注文”を示すコード)のセットの前記レコード11において、EDI電文から読み取るべき複数の対象データ項目として、“共通フォーマットタグコード1”=“JHD0004_00007”(購買担当タグ名称)、“共通フォーマットタグコード2”=“JBD0011_00001”(発注者品名コードタグ名称)の2つが設定されている。   In the example shown in FIG. 6B, the record of the set in which the orderer code is “maker A”, the orderer code is “parts company B”, and the information classification code is “H0502” (code indicating “confirmed order”). 11, “Common format tag code 1” = “JHD0004_00007” (purchaser tag name), “Common format tag code 2” = “JBD0011_00001” (orderer product name code tag) as a plurality of target data items to be read from the EDI message Two names are set.

また、前記対象データ項目、つまり“共通フォーマットタグコード1”および“共通フォーマットタグコード2”の間の論理演算パターンとして、“論理演算子1”=“+”(論理和)が設定されている。つまりこの場合、“共通フォーマットタグコード1”および“共通フォーマットタグコード2”のいずれかの項目についてEDI電文がデータを含めばよい(つまり振り分け可能)という設定である。またこの論理演算が「正」となった場合、前記対象データ項目のうちいずれについて重視するかはユーザから指定を受けて、前記振り分けパターンマスタレコード中の該当対象データ項目にフラグ(図6(b)の例では、“共通フォーマットタグコード2”に下線が設定され、太字になっている)を設定するなどすればよい。ただし、振り分けパターンマスタレコード中で特にこのフラグを設定せず、予め、システム100側で、“共通フォーマットタグコード”の付番(上記例では“1”か“2”)の大きい方、つまり後に設定された項目を重視対象データ項目とする、などと基準を記憶しておくとしてもよい。   Further, “logical operator 1” = “+” (logical sum) is set as the logical operation pattern between the target data items, that is, “common format tag code 1” and “common format tag code 2”. . In other words, in this case, the EDI message only needs to include data (that is, distribution is possible) for either item of “common format tag code 1” and “common format tag code 2”. When this logical operation is “positive”, which of the target data items is to be emphasized is designated by the user, and a flag (FIG. 6B) is displayed on the corresponding target data item in the distribution pattern master record. In the example of (), “common format tag code 2” is underlined and bolded). However, this flag is not set in the distribution pattern master record, and in advance, the system 100 side has the larger number of “common format tag code” (“1” or “2” in the above example), that is, The reference may be stored such that the set item is regarded as an important data item.

こうして、発注者および受注者の各コードと情報区分コード(注文種コード)との組み合わせパターン毎に、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算子、重視対象データ項目について入力を受け付けた前記パターンマスタ取得手段110は、振り分けパターンマスタレコード(第1マスタレコード)として前記振り分けパターンマスタテーブル125に格納する(s103)。   Thus, a plurality of target data items to be read from the EDI message, a logical operator between the target data items, and an important target for each combination pattern of each code of the orderer and the contractor and the information classification code (order type code) The pattern master acquisition unit 110 that has received an input for the data item stores it in the distribution pattern master table 125 as a distribution pattern master record (first master record) (s103).

また、前記システム100のデータマスタ取得手段111は、前記発注者および受注者の各コードと情報区分コード(注文種コード)と前記対象データ項目の1つとの組み合わせパターン毎にレコードを生成し、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイス105で入力を受け付ける(s104)。   Further, the data master obtaining unit 111 of the system 100 generates a record for each combination pattern of each code of the orderer and the ordering party, an information classification code (order type code), and one of the target data items. The input interface 105 accepts input regarding the specified data content that the message should include as the target data item and the distribution destination of the EDI message when the EDI message includes the data of the specified data content (s104).

図6(c)に示すデータ項目振り分けマスタレコード12の例では、発注者コードが“メーカーA”、受注者コードが“部品会社B”、情報区分コードが“H0502”(“確定注文”を示すコード)、対象データ項目たる「タグ名称」が前記“共通フォーマットタグコード1”に該当する“JHD0004_00007”(購買担当タグ名称)、の組み合わせパターンに対応するレコードについて、前記“JHD0004_00007”として含むべき規定データ内容が文字列たる“TANT”、EDI電文が前記規定データ内容“TANT”のデータを含む場合の該当EDI電文の振り分け先として、振り分け先コード1=“部署A”、振り分け先コード2=“部署B”、振り分け先コード3=“部署C”、が設定されている。   In the example of the data item distribution master record 12 shown in FIG. 6C, the orderer code is “Manufacturer A”, the contractor code is “Parts company B”, and the information classification code is “H0502” (“Confirmed Order”). Code), a record corresponding to a combination pattern of “JHD0004_00007” (purchaser tag name) corresponding to the “common format tag code 1” as the target data item “tag name” is a rule to be included as “JHD0004_00007” As the distribution destination of the corresponding EDI message when the data content is a character string “TANT” and the EDI message includes the data of the specified data content “TANT”, the distribution destination code 1 = “department A” and the distribution destination code 2 = “ “Department B” and distribution destination code 3 = “Department C” are set.

前記データマスタ取得手段111は、こうして得たレコードとこれに設定する規定データ内容および振り分け先のデータを、データ項目振り分けマスタレコード(第2マスタレコード)として前記記憶手段101のデータ項目振り分けマスタテーブル126に格納する(s105)。   The data master acquisition unit 111 uses the record obtained in this way, the contents of the specified data set therein and the data of the distribution destination as a data item distribution master record (second master record), and the data item distribution master table 126 of the storage unit 101. (S105).

こうして、振り分けパターンマスタテーブル125およびデータ項目振り分けマスタテーブル126が生成される。   In this way, the distribution pattern master table 125 and the data item distribution master table 126 are generated.

−−−処理フロー例2(シナリオ1)−−−
続いて、実際のEDI電文の振り分け処理について、シナリオ1〜4のそれぞれの想定状況に沿って説明する。図5は本実施形態におけるEDI統合処理方法の処理フロー例を示す図であり、図6は本実施形態におけるマスタレコード類の選択例1を示す図である。シナリオ1〜4は、対象データ項目の数や対象データ項目間の論理演算、優先順位の各バリエーションを様々想定したであり、図5に示すフローを共通フローとしている。
--- Processing flow example 2 (Scenario 1) ---
Next, an actual EDI message distribution process will be described in accordance with each assumed situation of scenarios 1-4. FIG. 5 is a diagram showing a processing flow example of the EDI integration processing method in this embodiment, and FIG. 6 is a diagram showing a master record selection example 1 in this embodiment. Scenarios 1 to 4 assume various variations of the number of target data items, logical operations between target data items, and priority order, and the flow shown in FIG. 5 is a common flow.

ここでとりあげるシナリオ1の概要については以下の通りである。メーカーAより部品会社Bに送付された確定注文のEDI電文を、顧客端末200からシステム100が受信し、その振分先たる自社端末300を決定する。受信したEDI電文としては、図6(a)に示すXML受信データ10を想定し、このXML受信データ10は、前記共通フォーマットタグコードを2種含んでいる。また、これら2種の共通フォーマットタグコードの間については、振り分けパターンマスタテーブル125の該当振り分けパターンマスタレコード11(図6(b))において、論理演算子「+」(論理和)が設定されている。   The outline of scenario 1 taken up here is as follows. The system 100 receives from the customer terminal 200 the EDI message of a firm order sent from the manufacturer A to the parts company B, and determines the company terminal 300 that is the distribution destination. As the received EDI message, the XML reception data 10 shown in FIG. 6A is assumed, and the XML reception data 10 includes two types of the common format tag codes. In addition, between these two types of common format tag codes, the logical operator “+” (logical sum) is set in the corresponding distribution pattern master record 11 (FIG. 6B) of the distribution pattern master table 125. Yes.

こうした場合、前記システム100の第1マスタ検索手段112は、前記通信手段107を介して前記顧客端末200からEDI電文10を受信し(s200)、当該EDI電文20より発注者コード“メーカーA”、および受注者コード“部品会社B”、と情報区分コード“H0502”を抽出する(s201)。   In such a case, the first master search unit 112 of the system 100 receives the EDI message 10 from the customer terminal 200 via the communication unit 107 (s200), and from the EDI message 20, the orderer code “maker A”, Then, the contractor code “part company B” and the information classification code “H0502” are extracted (s201).

また、前記第1マスタ検索手段112は、前記ステップs201で抽出した各コードのセットをキーにして、前記記憶手段101の振り分けパターンマスタテーブル125での検索を実行し、振り分けパターンマスタレコード11(図6(b))を特定する(s202)。   Further, the first master search means 112 executes a search in the distribution pattern master table 125 of the storage means 101 by using each code set extracted in the step s201 as a key, and the distribution pattern master record 11 (FIG. 6 (b)) is specified (s202).

続いて、前記システム100の第2マスタ検索手段113は、前記ステップs202の検索で特定した振り分けパターンマスタレコード11より、対象データ項目のデータとして、1個目(N=1)の“共通フォーマットタグコード1”の値“JHD0004_00007”を読み取り、この対象データ項目に対応する値を前記EDI電文10にて検索する(s203:y、s204、s205)。   Subsequently, the second master search unit 113 of the system 100 uses the first (N = 1) “common format tag” as the data of the target data item from the distribution pattern master record 11 specified in the search of step s202. The value “JHD0004_00007” of the code 1 is read, and the value corresponding to the target data item is searched by the EDI telegram 10 (s203: y, s204, s205).

また前記第2マスタ検索手段113は、前記EDI電文10が含んでいる前記対象データ項目を特定し(s206)、ここで特定した対象データ項目と前記発注者および受注者の各コードと情報区分コードとの組み合わせに該当するデータ項目振り分けマスタレコードを記憶手段101のデータ項目振り分けマスタテーブル126で検索する(s207)。   The second master retrieval unit 113 identifies the target data item included in the EDI telegram 10 (s206), and identifies the target data item identified here, the codes of the ordering party and the ordering party, and the information classification code. The data item distribution master record corresponding to the combination of the data item is searched in the data item distribution master table 126 of the storage means 101 (s207).

図6の例であれば、前記EDI電文10は、データ項目として、“共通フォーマットタグコード1”〜“共通フォーマットタグコード2”の各値として、前記“JHD0004_00007”、“JBD0011_00001”の2項目をいずれも含んでいるから、前記第2マスタ検索手段113は、まず1個目(N=1)の、前記“JHD0004_00007”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する。すると前記第2マスタ検索手段113は、図6(c)に示すデータ項目振り分けマスタレコード12を得る(s208)。   In the example of FIG. 6, the EDI telegram 10 includes two items “JHD0004_00007” and “JBD0011_00001” as values of “common format tag code 1” to “common format tag code 2” as data items. Since both are included, the second master search means 113 firstly stores the first (N = 1) data of the “JHD0004_00007”, the orderer code “maker A”, the orderer code “parts company”. Using the combination of “B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched. Then, the second master search means 113 obtains the data item distribution master record 12 shown in FIG. 6C (s208).

続いて、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード12より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図6(c)のデータ項目振り分けマスタレコード12の例では、照合桁数“4”、文字列“TANT”、のデータが抽出できる。   Subsequently, the distribution destination determination unit 114 of the system 100 uses the data item distribution master record 12 specified up to step s208 to store data on the items of “collation digit” and “character string” (specified data contents). Is extracted (s209). In the example of the data item sorting master record 12 shown in FIG. 6C, data of the collation digit number “4” and the character string “TANT” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文10において、前記対象データ項目“JHD0004_00007”が示すデータ“TANTO_A”のうち、前記振り分けパターンマスタレコード11の“開始位置1”に示されていた“1”に基づいて、“1”文字目の“T”から文字列を取得し、前記照合桁数“4”が示す“4”桁目の文字まで文字列を抽出し、“TANT”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“TANT”と、前記ステップs206でデータ項目振り分けマスタレコード12から抽出していた規定の“TANT”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination means 114 indicates “in the start position 1” of the distribution pattern master record 11 in the data “TANTO_A” indicated by the target data item “JHD0004_00007” in the EDI message 10. Based on “1”, the character string is obtained from “T” of the “1” character, the character string is extracted up to the character of the “4” digit indicated by the collation digit number “4”, and the character “TANT” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “TANT” obtained here with the specified “TANT” extracted from the data item distribution master record 12 in step s206, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

一方、前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、あと1つの項目、“JBD0011_00001”が残っているから、次データ項目が存在すると判定し(s212:y)、前記振り分けパターンマスタレコード21のデータ項目“論理演算子1”の値を読み取る。ここでの“論理演算子1”は、“+”(論理和)の設定であると前記振り分け先決定手段114は特定する(s213:+)。 つまり、前記“JHD0004_00007”と次なるデータ項目“JBD0011_00001”のいずれかについて、データ項目振り分けマスタレコードの規定(“照合桁数”や“文字列”の各条件)と一致するものが前記EDI電文10において特定されれば、その一致したデータ項目(“JHD0004_00007”と次なるデータ項目のいずれか)についてのデータ項目振り分けマスタレコードが規定する振り分け先が、前記EDI電文10の振り分け先、つまり送信先となる。   On the other hand, after determining in step s211 that the two match, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, since one more item, “JBD0011_00001” remains, it is determined that the next data item exists (s212: y), and the data item “logical operator 1” of the distribution pattern master record 21 is determined. Read the value. The distribution destination determination unit 114 specifies that “logical operator 1” is set to “+” (logical sum) (s213: +). In other words, for any one of the “JHD0004_00007” and the next data item “JBD0011_00001”, the one that matches the rules of the data item sorting master record (each condition of “collation digit” and “character string”) Is specified, the distribution destination defined by the data item distribution master record for the matched data item ("JHD0004_00007" and any of the next data items) is the distribution destination of the EDI message 10, that is, the transmission destination. Become.

そこで前記振り分け先決定手段114は、前記データ項目振り分けマスタレコード12における、データ項目“振り分け先コード1”〜“振り分け先コード3”の各値、“部署A”〜“部署C”のデータを振分先としてひとまず特定してRAM103に格納し、処理を前記ステップs203に戻す(s214)。   Therefore, the distribution destination determination unit 114 distributes the values of the data items “distribution destination code 1” to “distribution destination code 3” and the data of “department A” to “department C” in the data item distribution master record 12. First, it is specified as a minute and stored in the RAM 103, and the process returns to step s203 (s214).

前記ステップs203に戻り、前記第2マスタ検索手段113は、2個目(N=1+1=2)のデータ項目、前記“JBD0011_00001”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する(s203:y、s204〜s207)。すると前記第2マスタ検索手段113は、図6(d)に示すデータ項目振り分けマスタレコード13を得る(s208)。   Returning to step s203, the second master search means 113 determines the second data item (N = 1 + 1 = 2), the data “JBD0011_00001”, the orderer code “maker A”, the contractor. Using the combination of the code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched (s203: y, s204 to s207). Then, the second master search means 113 obtains the data item distribution master record 13 shown in FIG. 6D (s208).

また、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード13より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図6(d)のデータ項目振り分けマスタレコード13の例では、照合桁数“5”、文字列“HINME”、のデータが抽出できる。   Further, the distribution destination determination means 114 of the system 100 obtains data (specified data contents) on the items “collation digit” and “character string” from the data item distribution master record 13 specified up to step s208. Extract (s209). In the example of the data item sorting master record 13 in FIG. 6D, data of the collation digit number “5” and the character string “HINME” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文10において、前記対象データ項目“JBD0011_00001”が示すデータ“HINMEI_B”のうち、前記振り分けパターンマスタレコード11の“開始位置2”に示されていた“1”に基づいて、“1”文字目の“H”から文字列を取得し、前記照合桁数“5”が示す“5”桁目の文字まで文字列を抽出し、“HINME”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“HINME”と、前記ステップs209でデータ項目振り分けマスタレコード13から抽出していた規定の“HINME”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination means 114 indicates “in the start position 2” of the distribution pattern master record 11 among the data “HINMEI_B” indicated by the target data item “JBD0011_00001” in the EDI message 10. Based on “1”, the character string is acquired from “H” of the “1” character, the character string is extracted up to the character of the “5” digit indicated by the collation digit number “5”, and the character “HINME” is extracted. A column is acquired (s210). Here, the distribution destination determination unit 114 compares the character string “HINME” obtained here with the specified “HINME” extracted from the data item distribution master record 13 in step s209, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、次なるデータ項目、つまり3番目(N=2+1=3)が処理対象として存在するか確認する(s217、s218)。上記例の場合では、次なるデータ項目は無いため、次データ項目が存在しないと判定する(s218:n)。   After determining that the two match in step s211, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, it is confirmed whether the next data item, that is, the third (N = 2 + 1 = 3) exists as a processing target (s217, s218). In the case of the above example, since there is no next data item, it is determined that there is no next data item (s218: n).

また、前記振り分け先決定手段114は、データ項目振り分けマスタレコードの規定とデータ項目の値が、前記“JHD0004_00007”および“JBD0011_00001”のいずれかについて一致しているか、つまり前記論理演算子“+”(論理和)の条件を満たしているか判定する(s219)。上記例では、前記“JHD0004_00007”と“JBD0011_00001”の両方について一致が確認されたので、前記振り分け先決定手段114は、「論理条件は満たしている」と判定し(s219:n)、処理をステップs222に進める。   In addition, the distribution destination determination unit 114 determines whether the data item distribution master record specification and the data item value are the same for either “JHD0004_00007” or “JBD0011_00001”, that is, the logical operator “+” ( It is determined whether or not the condition (logical sum) is satisfied (s219). In the above example, since the coincidence is confirmed for both “JHD0004_00007” and “JBD0011_00001”, the distribution destination determination unit 114 determines that “the logical condition is satisfied” (s219: n), and performs the processing step. Proceed to s222.

前記振り分け先決定手段114は、前記ステップs222において、前記2つのデータ項目間でいずれの振り分け先を重視するか(つまり“JHD0004_00007”と“JBD0011_00001”のいずれを重視対象データ項目とするか)を決定すべく、前記振り分けパターンマスタレコード11における前記データ項目“JHD0004_00007”と“JBD0011_00001”に付された所定フラグを読み取る(s222)。図6(b)の例では、“JBD0011_00001”に下線が付されているので、前記振り分け先決定手段114は、“JBD0011_00001”のデータ項目振り分けマスタレコード13における振り分け先(振り分け先コード1、2の“部署D”、“部署E”)を、前記EDI電文10の振り分け先と決定し、RAM103に格納する(s223)。   In step s222, the distribution destination determination unit 114 determines which distribution destination is to be emphasized between the two data items (that is, which of “JHD0004_00007” and “JBD0011_00001” is to be regarded as an important data item). Accordingly, the predetermined flags attached to the data items “JHD0004_00007” and “JBD0011_00001” in the distribution pattern master record 11 are read (s222). In the example of FIG. 6B, since “JBD0011_00001” is underlined, the distribution destination determination means 114 determines the distribution destination (distribution destination codes 1 and 2 of the data item distribution master record 13 of “JBD0011_00001”). "Department D", "Department E") is determined as the distribution destination of the EDI message 10, and stored in the RAM 103 (s223).

前記EDI電文10の振り分け先が決定したので、前記電文送信手段115は、前記RAM103より振り分け先のデータ“部署D”、“部署E”を読み出し、前記EDI電文10を前記振り分け先に宛てて送信する(s216)。勿論、前記振り分け先のデータ(“部署D”、“部署E”など)には、前記内部ネットワーク145上における対応部署の自社端末300のアドレスが含まれている。   Since the distribution destination of the EDI message 10 has been determined, the message transmission unit 115 reads the distribution destination data “department D” and “department E” from the RAM 103 and transmits the EDI message 10 to the distribution destination. (S216). Of course, the data of the distribution destination (“Department D”, “Department E”, etc.) includes the address of the company terminal 300 of the corresponding department on the internal network 145.

−−−処理フロー例(シナリオ2)−−−
次に、シナリオ2に対応する振り分け処理について説明する。図7は本実施形態におけるマスタレコード類の選択例2−1、図8は同選択例2−2を示す図である。ここでとりあげるシナリオ2の概要については以下の通りである。メーカーAより部品会社Bに送付された確定注文のEDI電文をシステム100が受信し、その振分先を決定する。受信したEDI電文としては、図7(a)に示すXML受信データ20を想定し、このXML受信データ20は、前記共通フォーマットタグコードを3種含んでいる。また、これら3種の共通フォーマットタグコードの各間については、振り分けパターンマスタテーブル125における該当振り分けパターンマスタレコード21(図7(b))において、論理演算子「+」(論理和)が設定されている。
--- Processing flow example (Scenario 2) ---
Next, a distribution process corresponding to scenario 2 will be described. FIG. 7 shows a selection example 2-1 of master records in this embodiment, and FIG. 8 shows a selection example 2-2. The outline of scenario 2 taken up here is as follows. The system 100 receives the EDI message of the firm order sent from the manufacturer A to the parts company B, and determines the distribution destination. As the received EDI message, the XML reception data 20 shown in FIG. 7A is assumed, and the XML reception data 20 includes three types of the common format tag codes. In addition, between each of these three types of common format tag codes, the logical operator “+” (logical sum) is set in the corresponding distribution pattern master record 21 (FIG. 7B) in the distribution pattern master table 125. ing.

こうした場合、前記システム100の第1マスタ検索手段112は、前記通信手段107を介して前記顧客端末200からEDI電文20を受信し(s200)、当該EDI電文20より発注者コード“メーカーA”、および受注者コード“部品会社B”、と情報区分コード“H0502”を抽出する(s201)。   In such a case, the first master search means 112 of the system 100 receives the EDI message 20 from the customer terminal 200 via the communication means 107 (s200), and from the EDI message 20, the orderer code “maker A”, Then, the contractor code “part company B” and the information classification code “H0502” are extracted (s201).

また、前記第1マスタ検索手段112は、前記ステップs201で抽出した各コードのセットをキーにして、前記記憶手段101の振り分けパターンマスタテーブル125での検索を実行し、振り分けパターンマスタレコード21(図7(b))を特定する(s202)。   Further, the first master search means 112 executes a search in the distribution pattern master table 125 of the storage means 101 by using each code set extracted in the step s201 as a key, and assigns the distribution pattern master record 21 (FIG. 7 (b)) is specified (s202).

続いて、前記システム100の第2マスタ検索手段113は、前記ステップs202の検索で特定した振り分けパターンマスタレコード21より、対象データ項目のデータとして、1個目(N=1)の“共通フォーマットタグコード1”の値“JHD0004_00007”を読み取り、この対象データ項目に対応する値を前記EDI電文20にて検索する(s203:y、s204、s205)。   Subsequently, the second master search unit 113 of the system 100 uses the first (N = 1) “common format tag” as the data of the target data item from the distribution pattern master record 21 specified by the search in step s202. The value “JHD0004 — 00007” of “Code 1” is read, and the value corresponding to the target data item is searched by the EDI telegram 20 (s203: y, s204, s205).

また前記第2マスタ検索手段113は、前記EDI電文20が含んでいる前記対象データ項目を特定し(s206)、ここで特定した対象データ項目と前記発注者および受注者の各コードと情報区分コードとの組み合わせに該当するデータ項目振り分けマスタレコードを記憶手段101のデータ項目振り分けマスタテーブル126で検索する(s207)。   The second master retrieval unit 113 identifies the target data item included in the EDI telegram 20 (s206), and identifies the target data item identified here, the codes of the orderer and the ordering party, and the information classification code. The data item distribution master record corresponding to the combination of the data item is searched in the data item distribution master table 126 of the storage means 101 (s207).

図7の例であれば、前記EDI電文20は、データ項目として、“共通フォーマットタグコード1”〜“共通フォーマットタグコード3”の各値として、前記“JHD0004_00007”、“JBD0011_00001”、“JBD0011_00003”の3項目をいずれも含んでいるから、前記第2マスタ検索手段113は、まず1個目(N=1)の、前記“JHD0004_00007”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する。すると前記第2マスタ検索手段113は、図8(a)に示すデータ項目振り分けマスタレコード22を得る(s208)。   In the example of FIG. 7, the EDI message 20 includes data items “Common Format Tag Code 1” to “Common Format Tag Code 3” as “JHD0004_00007”, “JBD0011_00001”, and “JBD0011_00003”. Therefore, the second master search means 113 first stores the first (N = 1) data of the “JHD0004_00007”, the orderer code “maker A”, and the contractor. Using the combination of the code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched. Then, the second master search means 113 obtains the data item distribution master record 22 shown in FIG. 8A (s208).

続いて、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード22より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図8(a)のデータ項目振り分けマスタレコード22の例では、照合桁数“4”、文字列“TANT”、のデータが抽出できる。   Subsequently, the distribution destination determination unit 114 of the system 100 stores data (specified data contents) on the items of “collation digit” and “character string” from the data item distribution master record 22 specified up to step s208. Is extracted (s209). In the example of the data item sorting master record 22 shown in FIG. 8A, data of the collation digit number “4” and the character string “TANT” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文20において、前記対象データ項目“JHD0004_00007”が示すデータ“TANTO_A”のうち、前記振り分けパターンマスタレコード21の“開始位置1”に示されていた“1”に基づいて、“1”文字目の“T”から文字列を取得し、前記照合桁数“4”が示す“4”桁目の文字まで文字列を抽出し、“TANT”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“TANT”と、前記ステップs206でデータ項目振り分けマスタレコード22から抽出していた規定の“TANT”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination unit 114 indicates “in the start position 1” of the distribution pattern master record 21 in the data “TANTO_A” indicated by the target data item “JHD0004_00007” in the EDI message 20. Based on “1”, the character string is obtained from “T” of the “1” character, the character string is extracted up to the character of the “4” digit indicated by the collation digit number “4”, and the character “TANT” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “TANT” obtained here with the specified “TANT” extracted from the data item distribution master record 22 in step s206, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

一方、前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、あと2つの項目、“JBD0011_00001”、“JBD0011_00003”が残っているから、次データ項目が存在すると判定し(s212:y)、前記振り分けパターンマスタレコード21のデータ項目“論理演算子1”の値を読み取る。ここでの“論理演算子1”は、“+”(論理和)の設定であると前記振り分け先決定手段114は特定する(s213:+)。 つまり、前記“JHD0004_00007”と次なるデータ項目(“JBD0011_00001”か“JBD0011_00003”)のいずれかについて、データ項目振り分けマスタレコードの規定(“照合桁数”や“文字列”の各条件)と一致するものが前記EDI電文20において特定されれば、その一致したデータ項目(“JHD0004_00007”と次なるデータ項目のいずれか)についてのデータ項目振り分けマスタレコードが規定する振り分け先が、前記EDI電文20の振り分け先、つまり送信先となる。   On the other hand, after determining in step s211 that the two match, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, since there are two remaining items, “JBD0011_00001” and “JBD0011_00003”, it is determined that the next data item exists (s212: y), and the data item “logical operation of the distribution pattern master record 21” is determined. Read the value of child 1 ". The distribution destination determination unit 114 specifies that “logical operator 1” is set to “+” (logical sum) (s213: +). In other words, either “JHD0004_00007” or the next data item (“JBD0011_00001” or “JBD0011_00003”) matches the data item sorting master record specifications (each condition of “collation digit” and “character string”). If an item is specified in the EDI message 20, the distribution destination specified by the data item distribution master record for the matched data item ("JHD0004_00007" and one of the data items next to it) is the distribution destination of the EDI message 20. The destination, that is, the destination.

そこで前記振り分け先決定手段114は、前記データ項目振り分けマスタレコード22における、データ項目“振り分け先コード1”〜“振り分け先コード3”の各値、“部署A”〜“部署C”のデータを振分先としてひとまず特定してRAM103に格納し、処理を前記ステップs203に戻す(s214)。   Therefore, the distribution destination determination means 114 distributes the values of the data items “distribution destination code 1” to “distribution destination code 3” and the data of “department A” to “department C” in the data item distribution master record 22. First, it is specified as a minute and stored in the RAM 103, and the process returns to step s203 (s214).

前記ステップs203に戻り、前記第2マスタ検索手段113は、2個目(N=1+1=2)のデータ項目、前記“JBD0011_00001”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する(s203:y、s204〜s207)。すると前記第2マスタ検索手段113は、図8(b)に示すデータ項目振り分けマスタレコード23を得る(s208)。   Returning to step s203, the second master search means 113 determines the second data item (N = 1 + 1 = 2), the data “JBD0011_00001”, the orderer code “maker A”, the contractor. Using the combination of the code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched (s203: y, s204 to s207). Then, the second master search means 113 obtains the data item distribution master record 23 shown in FIG. 8B (s208).

また、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード23より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図8(b)のデータ項目振り分けマスタレコード23の例では、照合桁数“5”、文字列“HINME”、のデータが抽出できる。   Further, the distribution destination determining means 114 of the system 100 obtains the data (specified data contents) for the items “collation digit” and “character string” from the data item distribution master record 23 specified up to step s208. Extract (s209). In the example of the data item sorting master record 23 in FIG. 8B, data of the collation digit number “5” and the character string “HINME” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文20において、前記対象データ項目“JBD0011_00001”が示すデータ“HINMEI_B”のうち、前記振り分けパターンマスタレコード21の“開始位置2”に示されていた“1”に基づいて、“1”文字目の“H”から文字列を取得し、前記照合桁数“5”が示す“5”桁目の文字まで文字列を抽出し、“HINME”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“HINME”と、前記ステップs209でデータ項目振り分けマスタレコード23から抽出していた規定の“HINME”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination unit 114 indicates “in the start position 2” of the distribution pattern master record 21 among the data “HINMEI_B” indicated by the target data item “JBD0011_00001” in the EDI message 20. Based on “1”, the character string is acquired from “H” of the “1” character, the character string is extracted up to the character of the “5” digit indicated by the collation digit number “5”, and the character “HINME” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “HINME” obtained here with the specified “HINME” extracted from the data item distribution master record 23 in step s209, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、あと1つの項目、“JBD0011_00003”が残っているから、次データ項目が存在すると判定し(s212:y)、前記振り分けパターンマスタレコード21のデータ項目“論理演算子2”の値を読み取り、“+”(論理和)の設定があると特定する(s213:+)。 つまり、前記“JBD0011_00001”までのデータ項目と次なる項目“JBD0011_00003”のいずれかについて、データ項目振り分けマスタレコードの規定(“照合桁数”や“文字列”の各条件)と一致するものが前記EDI電文20において特定されれば、その一致したデータ項目(“JHD0004_00007”と次なるデータ項目のいずれか)についてのデータ項目振り分けマスタレコードが規定する振り分け先が、前記EDI電文20の振り分け先、つまり送信先となる。   After determining that the two match in step s211, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, since one more item “JBD0011_00003” remains, it is determined that the next data item exists (s212: y), and the data item “logical operator 2” of the distribution pattern master record 21 is determined. A value is read, and it is specified that “+” (logical sum) is set (s213: +). In other words, for any of the data items up to “JBD0011_00001” and the next item “JBD0011_00003”, those that match the rules of the data item sorting master record (each condition of “collation digit” and “character string”) If specified in the EDI message 20, the distribution destination specified by the data item distribution master record for the matched data item ("JHD0004_00007" and the next data item) is the distribution destination of the EDI message 20, that is, The destination.

そこで前記振り分け先決定手段114は、前記データ項目振り分けマスタレコード23における、データ項目“振り分け先コード1”、“振り分け先コード2”の各値、“部署D”、“部署E”のデータを振分先としてひとまず特定してRAM103に上書き格納し、処理を前記ステップs203に戻す(s214)。   Therefore, the distribution destination determination means 114 distributes the data item “distribution destination code 1” and “distribution destination code 2” values, “department D”, and “department E” data in the data item distribution master record 23. First, it is specified as a minute and overwritten and stored in the RAM 103, and the process returns to step s203 (s214).

再び前記ステップs203に戻り、前記第2マスタ検索手段113は、3個目(N=2+1=3)のデータ項目たる前記“JBD0011_00003”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する(s203:y、s204〜s207)。すると前記第2マスタ検索手段113は、図8(c)に示すデータ項目振り分けマスタレコード24を得る(s208)。   Returning to step s203 again, the second master search means 113 receives the data of the “JBD0011_00003” as the third (N = 2 + 1 = 3) data item, the orderer code “maker A”, the order received. Using the combination of the operator code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched (s203: y, s204 to s207). Then, the second master search means 113 obtains the data item distribution master record 24 shown in FIG. 8C (s208).

また、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード24より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図8(c)のデータ項目振り分けマスタレコード24の例では、照合桁数“4”、文字列“INAM”、のデータが抽出できる。   Further, the distribution destination determining means 114 of the system 100 obtains data (specified data contents) on the items “collation digit” and “character string” from the data item distribution master record 24 identified up to step s208. Extract (s209). In the example of the data item sorting master record 24 shown in FIG. 8C, data of the collation digit number “4” and the character string “INAM” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文20において、前記対象データ項目“JBD0011_00003”が示すデータ“JUCHUC”のうち、前記振り分けパターンマスタレコード21の“開始位置3”に示されていた“3”に基づいて、“3”文字目の“C”から文字列を取得し、前記照合桁数“4”が示す“4”桁目の文字まで文字列を抽出し、“CHUC”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“CHUC”と、前記ステップs209でデータ項目振り分けマスタレコード24から抽出していた規定の“JUCHU”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致しないと判定する(s211:n)。   Further, the distribution destination determination unit 114 indicates “in the“ start position 3 ”of the distribution pattern master record 21 among the data“ JUCHUC ”indicated by the target data item“ JBD0011_00003 ”in the EDI message 20. Based on “3”, the character string is obtained from “C” of the “3” character, the character string is extracted up to the character of the “4” digit indicated by the number of collation digits “4”, and the character “CHUC” is extracted. A column is acquired (s210). Here, the distribution destination determination unit 114 compares the character string “CHUC” obtained here with the specified “JUCHU” extracted from the data item distribution master record 24 in step s209, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that the two do not match (s211: n).

このように前記ステップs211の判定結果が「一致」でなかった場合、前記振り分け先決定手段114は、次なるデータ項目、つまり4番目(N=3+1=4)が処理対象として存在するか確認する(s217、s218)。上記例の場合では、次なるデータ項目は無いため、次データ項目が存在しないと判定する(s218:n)。   As described above, when the determination result in step s211 is not “match”, the distribution destination determination unit 114 determines whether the next data item, that is, the fourth (N = 3 + 1 = 4) exists as a processing target. Confirm (s217, s218). In the case of the above example, since there is no next data item, it is determined that there is no next data item (s218: n).

また、前記振り分け先決定手段114は、データ項目振り分けマスタレコードの規定とデータ項目の値が、前記“JHD0004_00007”、“JBD0011_00001”、および“JBD0011_00003”のいずれかについて一致しているか、つまり前記論理演算子“+”(論理和)の条件を満たしているか判定する(s219)。上記例では、前記“JHD0004_00007”と“JBD0011_00001”について一致が確認されたので、前記振り分け先決定手段114は、「論理条件は満たしている」と判定し(s219:n)、処理をステップs222に進める。   In addition, the distribution destination determination unit 114 determines whether the data item distribution master record definition and the data item value are the same for any of the “JHD0004_00007”, “JBD0011_00001”, and “JBD0011_00003”, that is, the logical operation It is determined whether the condition of the child “+” (logical sum) is satisfied (s219). In the above example, since “JHD0004_00007” and “JBD0011_00001” are confirmed to match, the distribution destination determination unit 114 determines that “the logical condition is satisfied” (s219: n), and the process proceeds to step s222. Proceed.

前記振り分け先決定手段114は、前記ステップs222において、前記2つのデータ項目間でいずれの振り分け先を重視するか(つまり“JHD0004_00007”と“JBD0011_00001”のいずれを重視対象データ項目とするか)を決定すべく、前記振り分けパターンマスタレコード21における前記データ項目“JHD0004_00007”と“JBD0011_00001”に付された所定フラグを読み取る(s222)。図7(a)の例では、“JBD0011_00001”に下線が付されているので、前記振り分け先決定手段114は、“JBD0011_00001”のデータ項目振り分けマスタレコード23における振り分け先(振り分け先コード1、2の“部署D”、“部署E”)を、前記EDI電文20の振り分け先と決定し、RAM103に格納する(s223)。   In step s222, the distribution destination determination unit 114 determines which distribution destination is to be emphasized between the two data items (that is, which of “JHD0004_00007” and “JBD0011_00001” is to be regarded as an important data item). Therefore, the predetermined flag attached to the data items “JHD0004_00007” and “JBD0011_00001” in the distribution pattern master record 21 is read (s222). In the example of FIG. 7A, since “JBD0011_00001” is underlined, the distribution destination determination unit 114 determines the distribution destination (distribution destination codes 1 and 2 of the data item distribution master record 23 of “JBD0011_00001”). "Department D", "Department E") is determined as the distribution destination of the EDI message 20, and stored in the RAM 103 (s223).

前記EDI電文20の振り分け先が決定したので、前記電文送信手段115は、前記RAM103より振り分け先のデータ“部署D”、“部署E”を読み出し、前記EDI電文20を前記振り分け先に宛てて送信する(s216)。勿論、前記振り分け先のデータ(“部署D”、“部署E”など)には、前記内部ネットワーク145上における対応部署の自社端末300のアドレスが含まれている。   Since the distribution destination of the EDI message 20 has been determined, the message transmission unit 115 reads the distribution destination data “Department D” and “Department E” from the RAM 103 and transmits the EDI message 20 to the distribution destination. (S216). Of course, the data of the distribution destination (“Department D”, “Department E”, etc.) includes the address of the company terminal 300 of the corresponding department on the internal network 145.

−−−処理フロー例(シナリオ3)−−−
次に、シナリオ3に対応する振り分け処理について説明する。図9は本実施形態におけるマスタレコード類の選択例3を示す図である。ここでとりあげるシナリオ3の概要については以下の通りである。メーカーAより部品会社Bに送付された確定注文のEDI電文をシステム100が受信し、その振分先を決定する。受信したEDI電文としては、図9(a)に示すXML受信データ30を想定し、このXML受信データ30は、前記共通フォーマットタグコードを2種含んでいる。また、これら2種の共通フォーマットタグコードの間については、振り分けパターンマスタテーブル125における該当振り分けパターンマスタレコード31(図9(b))において、論理演算子「&」(論理積)が設定されている。
--- Processing flow example (Scenario 3) ---
Next, a distribution process corresponding to scenario 3 will be described. FIG. 9 is a diagram showing a selection example 3 of master records in the present embodiment. The outline of scenario 3 taken up here is as follows. The system 100 receives the EDI message of the firm order sent from the manufacturer A to the parts company B, and determines the distribution destination. As the received EDI message, the XML reception data 30 shown in FIG. 9A is assumed, and this XML reception data 30 includes two types of the common format tag codes. In addition, between these two types of common format tag codes, the logical operator “&” (logical product) is set in the corresponding distribution pattern master record 31 (FIG. 9B) in the distribution pattern master table 125. Yes.

こうした場合、前記システム100の第1マスタ検索手段112は、前記通信手段107を介して前記顧客端末200からEDI電文30を受信し(s200)、当該EDI電文30より発注者コード“メーカーA”、および受注者コード“部品会社B”、と情報区分コード“H0502”を抽出する(s201)。   In such a case, the first master search means 112 of the system 100 receives the EDI message 30 from the customer terminal 200 via the communication means 107 (s200), and the orderer code “maker A” from the EDI message 30, Then, the contractor code “part company B” and the information classification code “H0502” are extracted (s201).

また、前記第1マスタ検索手段112は、前記ステップs201で抽出した各コードのセットをキーにして、前記記憶手段101の振り分けパターンマスタテーブル125での検索を実行し、振り分けパターンマスタレコード31(図9(b))を特定する(s202)。   Further, the first master search means 112 performs a search in the distribution pattern master table 125 of the storage means 101 using each code set extracted in the step s201 as a key, and executes a distribution pattern master record 31 (FIG. 9 (b)) is specified (s202).

続いて、前記システム100の第2マスタ検索手段113は、前記ステップs202の検索で特定した振り分けパターンマスタレコード31より、対象データ項目のデータとして、1個目(N=1)の“共通フォーマットタグコード1”の値“JHD0004_00007”を読み取り、この対象データ項目に対応する値を前記EDI電文30にて検索する(s203:y、s204、s205)。   Subsequently, the second master search unit 113 of the system 100 uses the first (N = 1) “common format tag” as the data of the target data item from the distribution pattern master record 31 specified by the search in step s202. The value “JHD0004 — 00007” of “Code 1” is read, and the value corresponding to this target data item is searched in the EDI telegram 30 (s203: y, s204, s205).

また前記第2マスタ検索手段113は、前記EDI電文30が含んでいる前記対象データ項目を特定し(s206)、ここで特定した対象データ項目と前記発注者および受注者の各コードと情報区分コードとの組み合わせに該当するデータ項目振り分けマスタレコードを記憶手段101のデータ項目振り分けマスタテーブル126で検索する(s207)。   Further, the second master search means 113 identifies the target data item included in the EDI telegram 30 (s206), and identifies the target data item identified here, the orderer and contractor codes, and the information classification code. The data item distribution master record corresponding to the combination of the data item is searched in the data item distribution master table 126 of the storage means 101 (s207).

図9の例であれば、前記EDI電文30は、データ項目として、“共通フォーマットタグコード1”〜“共通フォーマットタグコード2”の各値として、前記“JHD0004_00007”、“JBD0011_00001”の2項目をいずれも含んでいるから、前記第2マスタ検索手段113は、まず1個目(N=1)の、前記“JHD0004_00007”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する。すると前記第2マスタ検索手段113は、図9(c)に示すデータ項目振り分けマスタレコード32を得る(s208)。   In the example of FIG. 9, the EDI telegram 30 has two items, “JHD0004_00007” and “JBD0011_00001”, as data items, each value of “common format tag code 1” to “common format tag code 2”. Since both are included, the second master search means 113 firstly stores the first (N = 1) data of the “JHD0004_00007”, the orderer code “maker A”, the orderer code “parts company”. Using the combination of “B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched. Then, the second master search means 113 obtains the data item sorting master record 32 shown in FIG. 9C (s208).

続いて、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード32より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図9(c)のデータ項目振り分けマスタレコード32の例では、照合桁数“4”、文字列“TANT”、のデータが抽出できる。   Subsequently, the distribution destination determination unit 114 of the system 100 stores data (items of specified data) on the items of “collation digit” and “character string” from the data item distribution master record 32 specified up to step s208. Is extracted (s209). In the example of the data item sorting master record 32 shown in FIG. 9C, data of the collation digit number “4” and the character string “TANT” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文30において、前記対象データ項目“JHD0004_00007”が示すデータ“TANTO_A”のうち、前記振り分けパターンマスタレコード31の“開始位置1”に示されていた“1”に基づいて、“1”文字目の“T”から文字列を取得し、前記照合桁数“4”が示す“4”桁目の文字まで文字列を抽出し、“TANT”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“TANT”と、前記ステップs206でデータ項目振り分けマスタレコード32から抽出していた規定の“TANT”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination means 114 indicates “in the start position 1” of the distribution pattern master record 31 among the data “TANTO_A” indicated by the target data item “JHD0004_00007” in the EDI message 30. Based on “1”, the character string is obtained from “T” of the “1” character, the character string is extracted up to the character of the “4” digit indicated by the collation digit number “4”, and the character “TANT” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “TANT” obtained here with the specified “TANT” extracted from the data item distribution master record 32 in step s206, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

一方、前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、あと1つの項目、“JBD0011_00001”が残っているから、次データ項目が存在すると判定し(s212:y)、前記振り分けパターンマスタレコード31のデータ項目“論理演算子1”の値を読み取る。ここでの“論理演算子1”は、“&”(論理積)の設定であると前記振り分け先決定手段114は特定する(s213:&)。つまり、前記“JHD0004_00007”と“JBD0011_00001”のいずれについても、データ項目振り分けマスタレコードの規定(“照合桁数”や“文字列”の各条件)と一致するものが前記EDI電文30において特定されれば、その一致したデータ項目(“JHD0004_00007”と“JBD0011_00001”)についてのデータ項目振り分けマスタレコードが規定する振り分け先が、前記EDI電文30の振り分け先、つまり送信先となる。   On the other hand, after determining in step s211 that the two match, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, since one more item “JBD0011_00001” remains, it is determined that the next data item exists (s212: y), and the data item “logical operator 1” of the distribution pattern master record 31 is determined. Read the value. Here, the distribution destination determination means 114 specifies that “logical operator 1” is set to “&” (logical product) (s213: &). In other words, for both “JHD0004_00007” and “JBD0011_00001”, the EDI message 30 identifies the data item sorting master record that matches the rules of the data item sorting master record (each condition of “collation digit” and “character string”). For example, the distribution destination specified by the data item distribution master record for the matched data items (“JHD0004_00007” and “JBD0011_00001”) is the distribution destination of the EDI telegram 30, that is, the transmission destination.

そこで前記振り分け先決定手段114は、前記データ項目振り分けマスタレコード32における、データ項目“振り分け先コード1”〜“振り分け先コード3”の各値、“部署A”〜“部署C”のデータを振分先としてひとまず特定してRAM103に格納し、処理を前記ステップs203に戻す(s214)。   Therefore, the distribution destination determination means 114 distributes the values of the data items “distribution destination code 1” to “distribution destination code 3” and the data of “department A” to “department C” in the data item distribution master record 32. First, it is specified as a minute and stored in the RAM 103, and the process returns to step s203 (s214).

前記ステップs203に戻り、前記第2マスタ検索手段113は、2個目(N=1+1=2)のデータ項目、前記“JBD0011_00001”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する(s203:y、s204〜s207)。すると前記第2マスタ検索手段113は、図9(d)に示すデータ項目振り分けマスタレコード33を得る(s208)。   Returning to step s203, the second master search means 113 determines the second data item (N = 1 + 1 = 2), the data “JBD0011_00001”, the orderer code “maker A”, the contractor. Using the combination of the code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched (s203: y, s204 to s207). Then, the second master search means 113 obtains the data item distribution master record 33 shown in FIG. 9D (s208).

また、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード33より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図9(d)のデータ項目振り分けマスタレコード33の例では、照合桁数“5”、文字列“HINME”、のデータが抽出できる。   Further, the distribution destination determining means 114 of the system 100 obtains data (specified data contents) on the items “collation digit” and “character string” from the data item distribution master record 33 specified up to step s208. Extract (s209). In the example of the data item sorting master record 33 in FIG. 9D, data of the collation digit number “5” and the character string “HINME” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文30において、前記対象データ項目“JBD0011_00001”が示すデータ“HINMEI_B”のうち、前記振り分けパターンマスタレコード31の“開始位置2”に示されていた“1”に基づいて、“1”文字目の“H”から文字列を取得し、前記照合桁数“5”が示す“5”桁目の文字まで文字列を抽出し、“HINME”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“HINME”と、前記ステップs209でデータ項目振り分けマスタレコード33から抽出していた規定の“HINME”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination means 114 indicates “in the start position 2” of the distribution pattern master record 31 in the data “HINMEI_B” indicated by the target data item “JBD0011_00001” in the EDI message 30. Based on “1”, the character string is acquired from “H” of the “1” character, the character string is extracted up to the character of the “5” digit indicated by the collation digit number “5”, and the character “HINME” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “HINME” obtained here with the prescribed “HINME” extracted from the data item distribution master record 33 in step s209, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、次なるデータ項目、つまり3番目(N=2+1=3)が処理対象として存在するか確認する(s217、s218)。上記例の場合では、次なるデータ項目は無いため、次データ項目が存在しないと判定する(s218:n)。   After determining that the two match in step s211, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, it is confirmed whether the next data item, that is, the third (N = 2 + 1 = 3) exists as a processing target (s217, s218). In the case of the above example, since there is no next data item, it is determined that there is no next data item (s218: n).

また、前記振り分け先決定手段114は、データ項目振り分けマスタレコードの規定とデータ項目の値が、前記“JHD0004_00007”および“JBD0011_00001”のいずれについても一致しているか、つまり前記論理演算子“&”(論理積)の条件を満たしているか判定する(s219)。上記例では、前記“JHD0004_00007”と“JBD0011_00001”の両方について一致が確認されたので、前記振り分け先決定手段114は、「論理条件は満たしている」と判定し(s219:n)、処理をステップs222に進める。もし論理条件を満たさない場合は(s219:y)、前記振り分け先決定手段114は、当該EDI電文30について振り分け先未決フラグを設定し、記憶手段101に格納する(s220)。   In addition, the distribution destination determination unit 114 determines whether the data item distribution master record specification and the data item value are the same for both “JHD0004_00007” and “JBD0011_00001”, that is, the logical operator “&” ( It is determined whether the condition of (logical product) is satisfied (s219). In the above example, since the coincidence is confirmed for both “JHD0004_00007” and “JBD0011_00001”, the distribution destination determination unit 114 determines that “the logical condition is satisfied” (s219: n), and performs the processing step. Proceed to s222. If the logical condition is not satisfied (s219: y), the distribution destination determination unit 114 sets a distribution destination undecided flag for the EDI message 30 and stores it in the storage unit 101 (s220).

前記振り分け先決定手段114は、前記ステップs222において、前記2つのデータ項目間でいずれの振り分け先を重視するか(つまり“JHD0004_00007”と“JBD0011_00001”のいずれを重視対象データ項目とするか)を決定すべく、前記振り分けパターンマスタレコード31における前記データ項目“JHD0004_00007”と“JBD0011_00001”に付された所定フラグを読み取る(s222)。図9(b)の例では、“JBD0011_00001”に下線が付されているので、前記振り分け先決定手段114は、“JBD0011_00001”のデータ項目振り分けマスタレコード33における振り分け先(振り分け先コード1、2の“部署D”、“部署E”)を、前記EDI電文30の振り分け先と決定し、RAM103に格納する(s223)。   In step s222, the distribution destination determination unit 114 determines which distribution destination is to be emphasized between the two data items (that is, which of “JHD0004_00007” and “JBD0011_00001” is to be regarded as an important data item). Therefore, the predetermined flags attached to the data items “JHD0004_00007” and “JBD0011_00001” in the distribution pattern master record 31 are read (s222). In the example of FIG. 9B, since “JBD0011_00001” is underlined, the distribution destination determination unit 114 determines the distribution destination (distribution destination codes 1 and 2 of the data item distribution master record 33 of “JBD0011_00001”). "Department D", "Department E") is determined as the distribution destination of the EDI message 30 and stored in the RAM 103 (s223).

前記EDI電文30の振り分け先が決定したので、前記電文送信手段115は、前記RAM103より振り分け先のデータ“部署D”、“部署E”を読み出し、前記EDI電文30を前記振り分け先に宛てて送信する(s216)。勿論、前記振り分け先のデータ(“部署D”、“部署E”など)には、前記内部ネットワーク145上における対応部署の自社端末300のアドレスが含まれている。   Since the distribution destination of the EDI message 30 has been determined, the message transmission means 115 reads the distribution destination data “Department D” and “Department E” from the RAM 103 and transmits the EDI message 30 to the distribution destination. (S216). Of course, the data of the distribution destination (“Department D”, “Department E”, etc.) includes the address of the company terminal 300 of the corresponding department on the internal network 145.

−−−処理フロー例(シナリオ4)−−−
次に、シナリオ4に対応する振り分け処理について説明する。図10は本実施形態におけるマスタレコード類の選択例4−1を、図11は同選択例4−2を示す図である。ここでとりあげるシナリオ4の概要については以下の通りである。メーカーAより部品会社Bに送付された確定注文のEDI電文をシステム100が受信し、その振分先を決定する。受信したEDI電文としては、図10(a)に示すXML受信データ40を想定し、このXML受信データ40は、前記共通フォーマットタグコードを3種含んでいる。また、これら3種の共通フォーマットタグコードの各間については、振り分けパターンマスタテーブル125における該当振り分けパターンマスタレコード41(図10(b))において、共通フォーマットタグコード1を筆頭にして優先順位「>」が設定されている。
--- Processing flow example (Scenario 4) ---
Next, a distribution process corresponding to scenario 4 will be described. FIG. 10 is a diagram illustrating a master record selection example 4-1 in the present embodiment, and FIG. 11 is a diagram illustrating the selection example 4-2. The outline of scenario 4 taken up here is as follows. The system 100 receives the EDI message of the firm order sent from the manufacturer A to the parts company B, and determines the distribution destination. As the received EDI message, the XML reception data 40 shown in FIG. 10A is assumed, and the XML reception data 40 includes three types of the common format tag codes. Further, for each of these three types of common format tag codes, in the corresponding distribution pattern master record 41 (FIG. 10B) in the distribution pattern master table 125, the priority “>"Is set.

こうした場合、前記システム100の第1マスタ検索手段112は、前記通信手段107を介して前記顧客端末200からEDI電文40を受信し(s200)、当該EDI電文40より発注者コード“メーカーA”、および受注者コード“部品会社B”、と情報区分コード“H0502”を抽出する(s201)。   In such a case, the first master search unit 112 of the system 100 receives the EDI message 40 from the customer terminal 200 via the communication unit 107 (s200), and the orderer code “maker A” from the EDI message 40, Then, the contractor code “part company B” and the information classification code “H0502” are extracted (s201).

また、前記第1マスタ検索手段112は、前記ステップs201で抽出した各コードのセットをキーにして、前記記憶手段101の振り分けパターンマスタテーブル125での検索を実行し、振り分けパターンマスタレコード41(図10(b))を特定する(s202)。   Further, the first master search means 112 executes a search in the distribution pattern master table 125 of the storage means 101 by using each code set extracted in the step s201 as a key, and assigns the distribution pattern master record 41 (FIG. 10 (b)) is specified (s202).

続いて、前記システム100の第2マスタ検索手段113は、前記ステップs202の検索で特定した振り分けパターンマスタレコード41より、対象データ項目のデータとして、1個目(N=1)の“共通フォーマットタグコード1”の値“JHD0004_00007”を読み取り、この対象データ項目に対応する値を前記EDI電文40にて検索する(s203:y、s204、s205)。   Subsequently, the second master search unit 113 of the system 100 uses the first (N = 1) “common format tag” as the data of the target data item from the distribution pattern master record 41 specified by the search in step s202. The value “JHD0004 — 00007” of the code 1 is read, and the value corresponding to the target data item is searched by the EDI telegram 40 (s203: y, s204, s205).

また前記第2マスタ検索手段113は、前記EDI電文40が含んでいる前記対象データ項目を特定し(s206)、ここで特定した対象データ項目と前記発注者および受注者の各コードと情報区分コードとの組み合わせに該当するデータ項目振り分けマスタレコードを記憶手段101のデータ項目振り分けマスタテーブル126で検索する(s207)。   Further, the second master search means 113 identifies the target data item included in the EDI telegram 40 (s206), and identifies the target data item identified here, the codes of the orderer and the ordering party, and the information classification code. The data item distribution master record corresponding to the combination of the data item is searched in the data item distribution master table 126 of the storage means 101 (s207).

図10の例であれば、前記EDI電文40は、データ項目として、“共通フォーマットタグコード1”〜“共通フォーマットタグコード3”の各値として、前記“JHD0004_00007”、“JBD0011_00001”、“JBD0011_00003”の3項目をいずれも含んでいるから、前記第2マスタ検索手段113は、まず1個目(N=1)の、前記“JHD0004_00007”のデータと、前記発注者コード“メーカーA”、受注者コード“部品会社B”、および情報区分コード“H0502”との組み合わせをキーとして、前記データ項目振り分けマスタテーブル126での検索を実行する。すると前記第2マスタ検索手段113は、図11(a)に示すデータ項目振り分けマスタレコード42を得る(s208)。   In the example of FIG. 10, the EDI telegram 40 includes data items “Common Format Tag Code 1” to “Common Format Tag Code 3” as “JHD0004_00007”, “JBD0011_00001”, “JBD0011_00003”. Therefore, the second master search means 113 first stores the first (N = 1) data of the “JHD0004_00007”, the orderer code “maker A”, and the contractor. Using the combination of the code “part company B” and the information classification code “H0502” as a key, the data item sorting master table 126 is searched. Then, the second master search means 113 obtains the data item sorting master record 42 shown in FIG. 11A (s208).

続いて、前記システム100の振り分け先決定手段114は、前記ステップs208までで特定した前記データ項目振り分けマスタレコード42より、“照合桁数”および“文字列”の項目についてのデータ(規定データ内容)を抽出する(s209)。図10(a)のデータ項目振り分けマスタレコード42の例では、照合桁数“4”、文字列“TANT”、のデータが抽出できる。   Subsequently, the distribution destination determination means 114 of the system 100 stores data (specified data contents) on the items of “number of collation digits” and “character string” from the data item distribution master record 42 specified up to step s208. Is extracted (s209). In the example of the data item sorting master record 42 shown in FIG. 10A, data of the collation digit number “4” and the character string “TANT” can be extracted.

また、前記振り分け先決定手段114は、前記EDI電文40において、前記対象データ項目“JHD0004_00007”が示すデータ“TANTO_A”のうち、前記振り分けパターンマスタレコード41の“開始位置1”に示されていた“1”に基づいて、“1”文字目の“T”から文字列を取得し、前記照合桁数“4”が示す“4”桁目の文字まで文字列を抽出し、“TANT”なる文字列を取得する(s210)。ここで振り分け先決定手段114は、ここで得た文字列“TANT”と、前記ステップs206でデータ項目振り分けマスタレコード42から抽出していた規定の“TANT”とを照合して、両者が一致するか判定する(s211)。上記例の場合、前記振り分け先決定手段114は両者は一致すると判定する(s211:y)。一致しない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進める。   Further, the distribution destination determination means 114 indicates “in the start position 1” of the distribution pattern master record 41 in the data “TANTO_A” indicated by the target data item “JHD0004_00007” in the EDI message 40. Based on “1”, the character string is obtained from “T” of the “1” character, the character string is extracted up to the character of the “4” digit indicated by the collation digit number “4”, and the character “TANT” is extracted. A column is acquired (s210). Here, the distribution destination determining means 114 compares the character string “TANT” obtained here with the specified “TANT” extracted from the data item distribution master record 42 in step s206, and the two match. Is determined (s211). In the case of the above example, the distribution destination determination unit 114 determines that both match (s211: y). If they do not match (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217.

一方、前記ステップs211で両者が一致すると判定した後、前記振り分け先決定手段114は、次なるデータ項目が処理対象として存在するか確認する(s212)。上記例の場合では、あと2つの項目、“JBD0011_00001”、“JBD0011_00003”が残っているから、次データ項目が存在すると判定し(s212:y)、前記振り分けパターンマスタレコード41のデータ項目“論理演算子1”の値を読み取る。ここでの“論理演算子1”は、“>”(優先順位)の設定であると前記振り分け先決定手段114は特定する(s213:>)。つまり、前記“JHD0004_00007”と次のデータ項目(“JBD0011_00001”と“JBD0011_00003”)のうち、まず“JHD0004_00007”についてデータ項目振り分けマスタレコードの規定(“照合桁数”や“文字列”の各条件)と一致するものが前記EDI電文40において特定されれば、優先順位1位のデータ項目たる前記“JHD0004_00007”についてのデータ項目振り分けマスタレコード42が規定する振り分け先が、前記EDI電文40の振り分け先、つまり送信先となる。   On the other hand, after determining in step s211 that the two match, the distribution destination determination unit 114 checks whether the next data item exists as a processing target (s212). In the case of the above example, since two more items, “JBD0011_00001” and “JBD0011_00003” remain, it is determined that the next data item exists (s212: y), and the data item “logical operation of the distribution pattern master record 41” Read the value of child 1 ". The distribution destination determination unit 114 specifies that “logical operator 1” here is a setting of “>” (priority order) (s213:>). That is, among the “JHD0004_00007” and the next data item (“JBD0011_00001” and “JBD0011_00003”), the data item sorting master record definition for “JHD0004_00007” first (each condition of “collation digit” and “character string”) Is identified in the EDI message 40, the distribution destination specified by the data item distribution master record 42 for the data item "JHD0004_00007" which is the data item with the highest priority is the distribution destination of the EDI message 40, That is, it becomes a transmission destination.

そこで前記振り分け先決定手段114は、前記データ項目振り分けマスタレコード42における、データ項目“振り分け先コード1”〜“振り分け先コード3”の各値、“部署A”〜“部署C”のデータを振分先として決定しRAM103に格納する(s215)。   Therefore, the distribution destination determination means 114 distributes the values of the data items “distribution destination code 1” to “distribution destination code 3” and the data of “department A” to “department C” in the data item distribution master record 42. The minutes are determined and stored in the RAM 103 (s215).

もし、前記ステップs211の判定結果が「一致」でない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進め、次なるデータ項目“JBD0011_00001”について、前記データ項目“JHD0004_00007”と同様に上記処理ステップs205〜s211を実行する。図10(b)に示す振り分けパターンマスタレコード41の例では、“論理演算子2”のデータ項目にも“>”が指定されているから、もし、“JBD0011_00001”について、前記ステップs211の判定結果が「一致」となれば、この“JBD0011_00001”についてのデータ項目振り分けマスタレコード43(図11(b))で指定されている振り分け先“部署D”、“部署E”を、前記振り分け先決定手段114は、振分先として決定しRAM103に格納することになる(上記ステップs215と同様)。   If the determination result in step s211 is not “match” (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217, and for the next data item “JBD0011_00001”, the data item “JHD0004_00007”. Similarly to the above, the above processing steps s205 to s211 are executed. In the example of the distribution pattern master record 41 shown in FIG. 10B, since “>” is also specified for the data item of “logical operator 2”, the determination result of step s211 for “JBD0011_00001” If “match”, the distribution destination “department D” and “department E” designated in the data item distribution master record 43 (FIG. 11B) for “JBD0011_00001” are assigned to the distribution destination determination means. 114 is determined as a distribution destination and stored in the RAM 103 (same as step s215 above).

また、もし、前記データ項目“JBD0011_00001”についてステップs211の判定結果が「一致」でない場合(s211:n)、前記振り分け先決定手段114は、処理をステップs217に進めて、次なるデータ項目“JBD0011_00003”について、前記データ項目“JHD0004_00007”と同様に上記処理ステップs205〜s211を実行する。もし、“JBD0011_00003”について、前記ステップs211の判定結果が「一致」となれば、この“JBD0011_00003”についてのデータ項目振り分けマスタレコード44(図11(c))で指定されている振り分け先“部署F”を、前記振り分け先決定手段114は、振分先として決定しRAM103に格納することになる(上記ステップs215と同様)。   If the determination result of step s211 is not “match” for the data item “JBD0011_00001” (s211: n), the distribution destination determination unit 114 proceeds with the process to step s217 to set the next data item “JBD0011_00003”. As for the data item “JHD0004 — 00007”, the above processing steps s205 to s211 are executed. If the determination result in step s211 is “match” for “JBD0011_00003”, the distribution destination “department F” specified in the data item distribution master record 44 (FIG. 11C) for this “JBD0011_00003”. ”Is determined as the distribution destination and stored in the RAM 103 (same as step s215 above).

こうして前記EDI電文40の振り分け先が決定したならば、前記電文送信手段115は、前記RAM103より振り分け先のデータ“部署D”、“部署E”を読み出し、前記EDI電文40を前記振り分け先に宛てて送信する(s216)。勿論、前記振り分け先のデータ(“部署D”、“部署E”など)には、前記内部ネットワーク145上における対応部署の自社端末300のアドレスが含まれている。   When the distribution destination of the EDI message 40 is thus determined, the message transmission means 115 reads the distribution destination data “Department D” and “Department E” from the RAM 103 and sends the EDI message 40 to the distribution destination. (S216). Of course, the data of the distribution destination (“Department D”, “Department E”, etc.) includes the address of the company terminal 300 of the corresponding department on the internal network 145.

本発明によれば、データ特性や取り扱い方針を任意に反映させたEDI電文の振り分け処理を可能とし、EDIシステムにおけるデータ処理効率を向上できる。   According to the present invention, it is possible to distribute EDI messages that arbitrarily reflect data characteristics and handling policies, and to improve data processing efficiency in the EDI system.

以上、本発明の実施の形態について、その実施の形態に基づき具体的に説明したが、これに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。   As mentioned above, although embodiment of this invention was described concretely based on the embodiment, it is not limited to this and can be variously changed in the range which does not deviate from the summary.

本実施形態のEDI統合処理システムを含むネットワーク構成図である。It is a network block diagram containing the EDI integrated processing system of this embodiment. 本実施形態のEDI統合処理システムの構成例を示す図である。It is a figure which shows the structural example of the EDI integrated processing system of this embodiment. 本実施形態における、(a)振り分けパターンマスタテーブル、(b)データ項目振り分けマスタテーブルの各データ構造例を示す図である。It is a figure which shows each data structure example of (a) distribution pattern master table and (b) data item distribution master table in this embodiment. 本実施形態におけるEDI統合処理方法の処理フロー例1を示す図である。It is a figure which shows the processing flow example 1 of the EDI integrated processing method in this embodiment. 本実施形態におけるEDI統合処理方法の処理フロー例2を示す図である。It is a figure which shows the processing flow example 2 of the EDI integrated processing method in this embodiment. 本実施形態におけるマスタレコード類の選択例1を示す図である。It is a figure which shows the example 1 of selection of the master records in this embodiment. 本実施形態におけるマスタレコード類の選択例2−1を示す図である。It is a figure which shows the selection example 2-1 of the master records in this embodiment. 本実施形態におけるマスタレコード類の選択例2−2を示す図である。It is a figure which shows the selection example 2-2 of the master records in this embodiment. 本実施形態におけるマスタレコード類の選択例3を示す図である。It is a figure which shows the example 3 of selection of the master records in this embodiment. 本実施形態におけるマスタレコード類の選択例4−1を示す図である。It is a figure which shows the selection example 4-1 of the master records in this embodiment. 本実施形態におけるマスタレコード類の選択例4−2を示す図である。It is a figure which shows the selection example 4-2 of the master record in this embodiment.

符号の説明Explanation of symbols

100 EDI統合処理システム
101 HDD(Hard Disk Drive)
102 プログラム
103 RAM(Random Access Memory)
104 CPU(Central Processing Unit)
105 入力インターフェイス
106 出力インターフェイス
107 NIC(通信手段)
110 パターンマスタ取得手段
111 データマスタ取得手段
112 第1マスタ検索手段
113 第2マスタ検索手段
114 振り分け先決定手段
115 電文送信手段
125 振り分けパターンマスタテーブル
126 データ項目振り分けマスタテーブル
140 外部ネットワーク
145 内部ネットワーク
200 顧客端末
300 自社端末
100 EDI Integrated Processing System 101 HDD (Hard Disk Drive)
102 Program 103 RAM (Random Access Memory)
104 CPU (Central Processing Unit)
105 Input interface 106 Output interface 107 NIC (communication means)
110 Pattern master acquisition means 111 Data master acquisition means 112 First master search means 113 Second master search means 114 Distribution destination determination means 115 Message transmission means 125 Distribution pattern master table 126 Data item distribution master table 140 External network 145 Internal network 200 Customer Terminal 300 Own terminal

Claims (3)

ネットワークを介して他装置と通信を実行する通信手段と、
各種データを記憶する記憶手段と、
EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目と、前記対象データ項目間の優先順位とについて入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納する、パターンマスタ取得手段と、
前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納する、データマスタ取得手段と、
前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索する、第1マスタ検索手段と、
前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索する、第2マスタ検索手段と、
前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定する、振り分け先決定手段と、
前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信する、電文送信手段と、
を備えるEDI統合処理システム。
A communication means for performing communication with other devices via a network;
Storage means for storing various data;
A plurality of target data items to be read from the EDI message according to each code of the orderer and the contractor included in the EDI message and the order type code, and important target data items for each logical operation pattern between the target data items , A pattern that accepts input at the input interface for the priority order between the target data items and stores it in the storage means as a first master record for each combination pattern of the orderer code and the orderer code. Master acquisition means;
For each combination pattern of each code of the orderer and the contractor, the order type code, and one of the target data items, the EDI message should contain the target data item, and the EDI message contains the specified data content. A data master obtaining unit that receives an input at an input interface with respect to a distribution destination of the corresponding EDI message when data is included, and stores it in the storage unit as a second master record;
The EDI message is received from the customer terminal via the communication means, and the codes of the orderer and the contractor and the order type code are extracted from the EDI message, and the set of each code extracted here is used as a key from the storage means. First master search means for searching for a first master record;
The data of the target data item is read from the first master record specified by the search, the data corresponding to the target data item is searched by the EDI message, and all the target data items included in the EDI message are specified. A second master search means for searching the storage means for a second master record corresponding to each combination of each target data item identified here, each code of the orderer and the ordering party, and the order type code;
The specified data content is extracted from each second master record specified in the search, the data indicated by the target data item in the EDI message is compared with the specified data content corresponding to the target data item, and the specified data A target data item whose data matches the content is specified, and the operator of the logical operation pattern indicated by the first master record is applied to the target data item specified here, so that the data matches the specified data content 1 Alternatively, it is determined whether a plurality of target data items satisfy a relationship between target data items indicated by the operator, and, as a result of the determination, when the number of the target data items satisfying the relationship indicated by the operator is one, The target data item is identified as a priority target data item, and as a result of the determination, there are a plurality of target data items that satisfy the relationship indicated by the operator. If priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item, a sorting destination determining means,
A message transmission means for reading data of a distribution destination from the second master record corresponding to the identified importance target data item, and transmitting the EDI message to the distribution destination;
EDI integrated processing system.
ネットワークを介して他装置と通信を実行する通信手段と、各種データを記憶する記憶手段とを備えたコンピュータが、
EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納する処理と、
前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納する処理と、
前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索する処理と、
前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索する処理と、
前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定する処理と、
前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信する処理と、
を実行することを特徴とするEDI統合処理方法。
A computer including a communication unit that performs communication with another device via a network and a storage unit that stores various data.
According to each orderer code and orderer code included in the EDI message, input for a plurality of target data items to be read from the EDI message and important target data items for each logical operation pattern between the target data items A process of receiving input at the interface and storing in the storage means as a first master record for each combination pattern of each code of the orderer and the contractor and the order type code;
For each combination pattern of each code of the orderer and the contractor, the order type code, and one of the target data items, the EDI message should contain the target data item, and the EDI message contains the specified data content. A process of accepting an input at the input interface for the distribution destination of the corresponding EDI message when data is included, and storing it in the storage means as a second master record;
The EDI message is received from the customer terminal via the communication means, and the codes of the orderer and the contractor and the order type code are extracted from the EDI message, and the set of each code extracted here is used as a key from the storage means. Processing to retrieve the first master record;
The data of the target data item is read from the first master record specified by the search, the data corresponding to the target data item is searched by the EDI message, and all the target data items included in the EDI message are specified. , A process for searching the storage means for a second master record corresponding to each combination of each target data item specified here, each code of the orderer and the ordering party, and the order type code;
The specified data content is extracted from each second master record specified in the search, the data indicated by the target data item in the EDI message is compared with the specified data content corresponding to the target data item, and the specified data A target data item whose data matches the content is specified, and the operator of the logical operation pattern indicated by the first master record is applied to the target data item specified here, so that the data matches the specified data content 1 Alternatively, it is determined whether a plurality of target data items satisfy a relationship between target data items indicated by the operator, and, as a result of the determination, when the number of the target data items satisfying the relationship indicated by the operator is one, The target data item is identified as a priority target data item, and as a result of the determination, there are a plurality of target data items that satisfy the relationship indicated by the operator. If a processing priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item,
A process of reading data of a distribution destination from the second master record corresponding to the identified importance target data item, and transmitting the EDI message to the distribution destination;
EDI integrated processing method characterized by executing
ネットワークを介して他装置と通信を実行する通信手段と、各種データを記憶する記憶手段とを備えたコンピュータに、
EDI電文が含む発注者および受注者の各コードと注文種コードとに応じて、EDI電文から読み取るべき複数の対象データ項目と、前記対象データ項目間の論理演算パターン別の重視対象データ項目について入力インターフェイスで入力を受け付けて、前記発注者および受注者の各コードと注文種コードとの組み合わせパターン毎の第1マスタレコードとして前記記憶手段に格納するステップと、
前記発注者および受注者の各コードと注文種コードと前記対象データ項目の1つとの組み合わせパターン毎に、EDI電文が前記対象データ項目として含むべき規定データ内容と、EDI電文が前記規定データ内容のデータを含む場合の該当EDI電文の振り分け先とについて入力インターフェイスで入力を受け付けて、第2マスタレコードとして前記記憶手段に格納するステップと、
前記通信手段を介して顧客端末からEDI電文を受信し、当該EDI電文より発注者および受注者の各コードと注文種コードを抽出し、ここで抽出した各コードのセットをキーにして記憶手段から第1マスタレコードを検索するステップと、
前記検索で特定した第1マスタレコードより対象データ項目のデータを読み取り、この対象データ項目に対応するデータを前記EDI電文にて検索し、このEDI電文が含んでいる前記対象データ項目を全て特定し、ここで特定した各対象データ項目と前記発注者および受注者の各コードと注文種コードとの各組み合わせに該当する第2マスタレコードを記憶手段で検索するステップと、
前記検索で特定した各第2マスタレコードより前記規定データ内容を抽出し、前記EDI電文において対象データ項目が示すデータとこの対象データ項目に対応する前記規定データ内容とを照合して、前記規定データ内容にデータが一致する対象データ項目を特定し、ここで特定した対象データ項目に、前記第1マスタレコードが示す論理演算パターンの演算子を適用して、前記規定データ内容にデータが一致する1または複数の対象データ項目が、前記演算子の示す対象データ項目間の関係を満たすか判定し、当該判定の結果、前記演算子の示す関係を満たす前記対象データ項目が1つであった場合、該当対象データ項目を重視対象データ項目として特定し、前記判定の結果、前記演算子の示す関係を満たす前記対象データ項目が複数であった場合、該当対象データ項目間のうち前記第1マスタレコードが示す優先順位が最高のものを重視対象データ項目として特定するステップと、
前記特定した重視対象データ項目に対応する第2マスタレコードより振り分け先のデータを読み出し、前記EDI電文を前記振り分け先に送信するステップと、
を実行させるEDI統合処理プログラム。
In a computer comprising a communication means for communicating with other devices via a network and a storage means for storing various data,
According to each orderer code and orderer code included in the EDI message, input for a plurality of target data items to be read from the EDI message and important target data items for each logical operation pattern between the target data items Receiving input at the interface, and storing in the storage means as a first master record for each combination pattern of the orderer code and the orderer code and the orderer code;
For each combination pattern of each code of the orderer and the contractor, the order type code, and one of the target data items, the EDI message should contain the target data item, and the EDI message contains the specified data content. Receiving the input at the input interface for the distribution destination of the corresponding EDI message when data is included, and storing it in the storage means as a second master record;
The EDI message is received from the customer terminal via the communication means, and the codes of the orderer and the contractor and the order type code are extracted from the EDI message, and the set of each code extracted here is used as a key from the storage means. Retrieving the first master record;
The data of the target data item is read from the first master record specified by the search, the data corresponding to the target data item is searched by the EDI message, and all the target data items included in the EDI message are specified. Searching for the second master record corresponding to each combination of each target data item specified here, each code of the orderer and the ordering party, and the order type code, with storage means;
The specified data content is extracted from each second master record specified in the search, the data indicated by the target data item in the EDI message is compared with the specified data content corresponding to the target data item, and the specified data A target data item whose data matches the content is specified, and the operator of the logical operation pattern indicated by the first master record is applied to the target data item specified here, so that the data matches the specified data content 1 Alternatively, it is determined whether a plurality of target data items satisfy a relationship between target data items indicated by the operator, and, as a result of the determination, when the number of the target data items satisfying the relationship indicated by the operator is one, The target data item is identified as a priority target data item, and as a result of the determination, there are a plurality of target data items that satisfy the relationship indicated by the operator. If the steps of the priority indicated by the first master record of the inter-hit data item identifies the best ones as emphasis target data item,
Reading data of a distribution destination from the second master record corresponding to the identified importance target data item, and transmitting the EDI message to the distribution destination;
EDI integrated processing program to execute
JP2008293678A 2008-11-17 2008-11-17 EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program Expired - Fee Related JP5250394B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008293678A JP5250394B2 (en) 2008-11-17 2008-11-17 EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008293678A JP5250394B2 (en) 2008-11-17 2008-11-17 EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program

Publications (2)

Publication Number Publication Date
JP2010122756A JP2010122756A (en) 2010-06-03
JP5250394B2 true JP5250394B2 (en) 2013-07-31

Family

ID=42324069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008293678A Expired - Fee Related JP5250394B2 (en) 2008-11-17 2008-11-17 EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program

Country Status (1)

Country Link
JP (1) JP5250394B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012159959A (en) * 2011-01-31 2012-08-23 Sanko Techno Co Ltd Roll call management system, driver device, transportation business operator device and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000156703A (en) * 1998-11-19 2000-06-06 Hitachi Ltd Computer for exchange, electronic data exchange system, and computer-readable recording medium recording distribution analysis program
JP2004355382A (en) * 2003-05-29 2004-12-16 Kawasaki Steel Systems R & D Corp EDI exchange method and EDI data distribution management server device
JP2006031613A (en) * 2004-07-21 2006-02-02 Hitachi Information Systems Ltd Department determination method and system for EDI collected data on contractor side, and program thereof

Also Published As

Publication number Publication date
JP2010122756A (en) 2010-06-03

Similar Documents

Publication Publication Date Title
US20030171942A1 (en) Contact relationship management system and method
US7509328B2 (en) Customizing software applications that use an electronic database with stored product data
JP2003016109A (en) Document information management method and apparatus, and management server
US20040107214A1 (en) Customized document portfolio system integrating IP libraries and technology documents
GB2491251A (en) Delivery of content and services to networked connected computing devices
CN102812462A (en) Database, data-management server, and data-management program
CN111125785A (en) Account checking method based on block chain, account checking device and readable storage medium
CN103380433A (en) Mobile terminal management server, and mobile terminal management program
CN110599273B (en) Data processing method, data processing device, node equipment and storage medium
JP2003196476A (en) Security policy creation support system and security measure decision support system
CN112612817A (en) Data processing method and device, terminal equipment and computer readable storage medium
KR102432068B1 (en) Method and Server for Providing Web Service with Customer Compatibility using Matching Table related to Standardized Bill of Material
JP4852834B2 (en) Application requirement design support system and method
JP5250394B2 (en) EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program
JP2012058785A (en) Information sharing system and information management device
JP2009140185A (en) Unnecessary / repairable product processing reception system, unnecessary / required product processing reception method, and unnecessary / required product processing reception program
JP2018169794A (en) Transaction information matching system
US8832110B2 (en) Management of class of service
JP2005332049A (en) Policy conversion method, policy migration method, and policy evaluation method
JP2007272518A (en) Customer database management device and customer database management program
CN116738451A (en) Method, platform, equipment and storage medium for controlling authority of low-code platform
JP7383456B2 (en) Information management system, identification information assignment module, and information management method
US20090031204A1 (en) Stakeholder Matrix
CN114880711A (en) Sensitive data map construction method and device, computer equipment and storage medium
JP6409888B2 (en) Aggregation device and aggregation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120926

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: 20130402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130415

R150 Certificate of patent or registration of utility model

Ref document number: 5250394

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: 20160419

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees