JP2007295422A - Message exchange system and communication route switching method - Google Patents

Message exchange system and communication route switching method Download PDF

Info

Publication number
JP2007295422A
JP2007295422A JP2006122873A JP2006122873A JP2007295422A JP 2007295422 A JP2007295422 A JP 2007295422A JP 2006122873 A JP2006122873 A JP 2006122873A JP 2006122873 A JP2006122873 A JP 2006122873A JP 2007295422 A JP2007295422 A JP 2007295422A
Authority
JP
Japan
Prior art keywords
communication
data
communication path
transmitted
path
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.)
Pending
Application number
JP2006122873A
Other languages
Japanese (ja)
Inventor
Kunitaka Fujita
邦孝 藤田
Shigeki Kirihara
重喜 桐原
Junichiro Takagi
順一朗 高木
規生 ▲高▼橋
Norio Takahashi
Tadashi Yamamitsu
忠 山光
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 JP2006122873A priority Critical patent/JP2007295422A/en
Publication of JP2007295422A publication Critical patent/JP2007295422A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication route switching method in which data transmission can be performed as intended by a sender, even when a communication fault occurs, and the other party can be notified about the occurrence of the communication fault, even when intended data transmission cannot be performed. <P>SOLUTION: In a method with which a plurality of communication routes can be utilized for data exchange between two persons and transmission is performed, while switching communication routes in the timing of a communication fault, a message exchange system 101 includes a communication fault detection function 103 for detecting the occurrence of a communication fault, includes a communication route information DB 108 for controlling the threshold about whether data transmission can be performed for each communication class and a destination information DB 107 for controlling the threshold about data transmission defined by the sender can be performed for each communication route, discriminates whether data transmission can be performed by using the thresholds and implements transmission of transmission data or communication fault information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の通信経路が利用可能であり、何らかを契機として通信経路を切り替えて送信を行う方法に関わり、特に、通信可能なデータ量やデータ種別が通信経路により異なる場合において、何らかの通信障害を契機として通信経路を切り替えて送信を行う方法に関する。   The present invention relates to a method in which a plurality of communication paths can be used and the communication path is switched at some opportunity, and in particular, when the amount of communicable data and the data type differ depending on the communication path, The present invention relates to a method for performing transmission by switching a communication path in response to a communication failure.

複数の通信経路が利用可能であり、何らかを契機として通信経路を切り替えて送信を行う方法に関する従来技術として、例えば、特許文献1等に記載された技術が知られている。この従来技術は、システムが、受領確認メッセージを受信するまでの間は、所定の時間間隔をおいて設定された通信経路の優先度を基に経路を選択し、かつ指定した経路に適するデータに変換して送信を行う方法に関するものである。また、他の従来技術として、例えば、特許文献2等に記載された技術が知られている。この従来技術は、システムが、設定された通信経路の優先度とデータ種別による通信経路の優先度を基に、無線及び有線を含む複数の通信方式を選択する方法に関するものである。   A plurality of communication paths can be used, and a technique described in Patent Document 1 is known as a related art relating to a method of performing transmission by switching a communication path in response to something. In this prior art, the system selects a route based on the priority of the communication route set at a predetermined time interval until the system receives the confirmation message, and makes the data suitable for the designated route. The present invention relates to a method of performing conversion and transmission. As another conventional technique, for example, a technique described in Patent Document 2 is known. This prior art relates to a method in which the system selects a plurality of communication methods including wireless and wired based on the priority of the set communication path and the priority of the communication path based on the data type.

通信経路という語は、ハードウェアとしての個別の通信回線を意味することもあり、同一の通信回線であっても異なる通信プロトコルによる通信方法を意味することもある。   The term “communication path” may mean an individual communication line as hardware, or may mean a communication method using a different communication protocol even for the same communication line.

特開2000−276414号公報JP 2000-276414 A 特開2003−008681号公報JP 2003-008681 A

企業の経営効率化を実現するためには、企業活動のあらゆる局面でコンピュータ等を利用した業務の効率化が不可欠である。商取引に関わる業務では、従来、電話、郵送、FAX等の人手を介した取引が行われてきたが、業務の効率化の観点から、企業間でコンピュータネットワークを構築し電子的に商取引を実現することで大幅な業務改善が図られてきた。また、商取引を行う2者間は、専用線、電話線、LAN、インターネット等で接続され、異なるコンピュータシステムやソフトウェアがデータ交換を行うために共通の手順を介して通信を行う必要があり、通信可能なデータ量やデータ種別は通信手順により異なる。   In order to improve the management efficiency of a company, it is indispensable to improve the efficiency of operations using computers and the like in every aspect of corporate activities. In business related to commerce, transactions using telephone, postal mail, FAX, etc. have been performed by hand. However, from the viewpoint of improving business efficiency, a computer network is established between companies and electronic commerce is realized. As a result, significant business improvements have been made. In addition, the two parties that conduct business transactions are connected by a dedicated line, telephone line, LAN, Internet, etc., and different computer systems and software must communicate via a common procedure in order to exchange data. The possible data amount and data type vary depending on the communication procedure.

2者間が複数の通信手順、つまり複数の通信経路で通信可能である場合、何らかの通信障害を契機に経路を切り替えてデータ交換を行うことで業務の効率化を図る方法はあるが、通信経路により送信可能なデータ量やデータ形式が異なるため、2者間で意図するデータ交換ができない可能性がある。このため、商取引においては、2者間の意図したデータ交換を、いかに効率よく行うかが課題である。   When two parties can communicate with each other through a plurality of communication procedures, that is, with a plurality of communication paths, there is a method for improving the efficiency of the business by exchanging data and exchanging data in response to some communication failure. Since the amount of data that can be transmitted and the data format differ depending on the type, there is a possibility that the intended data exchange between the two parties cannot be performed. For this reason, in commercial transactions, the problem is how to efficiently perform the intended data exchange between the two parties.

また、2者間のデータ交換に使用する優先度の高い通信経路に障害が発生した場合、できるだけ早く通信経路を復旧させる必要がある。このため、送信者は、通信障害が発生したことを、いかに早く通信相手に通知するかが課題である。   Further, when a failure occurs in a communication path with high priority used for data exchange between two parties, it is necessary to restore the communication path as soon as possible. For this reason, the issue is how quickly the sender notifies the communication partner that a communication failure has occurred.

前述した特許文献1に記載の従来技術は、通信経路を切り替える場合において、送信データの内容を通信経路に適する形式に変換し、データの送信を行っているため、元の送信データの内容が失われるという問題点を有している。   In the prior art described in Patent Document 1 described above, when the communication path is switched, the content of the transmission data is converted into a format suitable for the communication path and the data is transmitted, so that the content of the original transmission data is lost. Have the problem of being

前述した特許文献2に記載の従来技術は、データ種別により通信経路を選定しているものの、通信障害情報の受信を契機に経路を切り替えることができないという問題を有している。   Although the prior art described in Patent Document 2 described above selects a communication path according to the data type, there is a problem that the path cannot be switched when the communication failure information is received.

本発明は、前述した従来技術の問題点を解決し、何らかの通信障害が発生した場合においても、送信者の意図するデータ送信が行え、かつ意図するデータ送信が行えない場合は、通信障害が発生したことを相手に通知することができる通信経路切り替え方法を提供し得るものである。   The present invention solves the above-mentioned problems of the prior art, and even when a communication failure occurs, a communication failure occurs if the data transmission intended by the sender can be performed but the intended data transmission cannot be performed. It is possible to provide a communication path switching method that can notify the other party of the fact.

前記の課題を解決するため、本発明では、何らかの通信障害が発生すると、より低優先度である通信経路が送信者の意図するデータ交換に適するか否かを判定する。   In order to solve the above-described problem, in the present invention, when any communication failure occurs, it is determined whether or not a communication path having a lower priority is suitable for data exchange intended by the sender.

本発明によれば、2者間のデータ交換において複数の通信経路が利用可能であり、通信障害を契機に通信経路を切り替えて送信を行う方法において、メッセージ交換システムが、通信障害が発生したことを検知することで通信障害情報を管理し、通信種別ごとにデータ送信可能か否かの閾値、及び、通信経路ごとに送信者の定義するデータ送信可能か否かの閾値からデータ送信可能か否かを判定し、送信データ、または、通信障害情報の送信を実施する。   According to the present invention, a plurality of communication paths can be used in data exchange between two parties, and in the method of performing transmission by switching the communication path triggered by a communication failure, the message exchange system has a communication failure. Whether or not data transmission is possible based on the threshold for whether or not data transmission is possible for each communication type and the threshold for whether or not data transmission defined by the sender for each communication path is managed. The transmission data or the communication failure information is transmitted.

また、本発明の別の面によれば、2者間のデータ交換において複数の通信経路が利用可能であり、通信障害を契機に通信経路を切り替えて送信を実行させる、通信経路切り替えプログラムであって、通信障害が発生したことを検知することで通信障害情報を管理するステップと、通信種別ごとにデータ送信可能か否かの閾値、及び、通信経路ごとに送信者の定義するデータ送信可能か否かの閾値からデータ送信可能か否かを判定し、送信データ、または、通信障害情報の送信を実施するステップとを前記メッセージ交換システムに実行する。   Further, according to another aspect of the present invention, there is provided a communication path switching program that allows a plurality of communication paths to be used in data exchange between two parties, and that performs transmission by switching the communication path in response to a communication failure. The step of managing communication failure information by detecting the occurrence of a communication failure, the threshold value of whether or not data transmission is possible for each communication type, and whether or not data transmission defined by the sender for each communication route is possible It is determined whether or not data transmission is possible from the threshold of whether or not, and the step of transmitting transmission data or communication failure information is executed in the message exchange system.

本発明によれば、複数の通信経路が利用可能である場合において、通信経路に障害が起こったことを、通信相手に通知することができるため、通信障害の復旧に掛かる時間の削減が期待できる。また、通信経路ごとの送信可否を柔軟に判断できるため、送信者の意図しないデータ送信を避けることができる。   According to the present invention, when a plurality of communication paths are available, it is possible to notify the communication partner that a failure has occurred in the communication path, and therefore it is possible to expect a reduction in the time required for recovery from the communication failure. . In addition, since it is possible to flexibly determine whether transmission is possible for each communication path, data transmission unintended by the sender can be avoided.

以下に本発明の実施の形態を説明する。   Embodiments of the present invention will be described below.

以下、本発明の一実施形態による通信経路切り替え方法の実施形態を図面により詳細に説明する。   Hereinafter, an embodiment of a communication path switching method according to an embodiment of the present invention will be described in detail with reference to the drawings.

<機能構成図>
図1は本発明の一実施形態による通信経路切り替え方法を実施するシステムの機能構成を示すブロック図である。図1において、101はメッセージ交換システム、102は通信処理部、103は通信障害検知機能、104は通信経路選定部、105はデータ分割機能、106は画像データ変換機能、107は宛先情報DB、108は通信経路情報DB、109、110は通信手段、121は入力装置、122は出力装置、131、132はネットワーク、141、142は通信網である。
<Functional configuration diagram>
FIG. 1 is a block diagram showing a functional configuration of a system that implements a communication path switching method according to an embodiment of the present invention. In FIG. 1, 101 is a message exchange system, 102 is a communication processing unit, 103 is a communication failure detection function, 104 is a communication path selection unit, 105 is a data division function, 106 is an image data conversion function, 107 is a destination information DB, 108 Is a communication path information DB, 109 and 110 are communication means, 121 is an input device, 122 is an output device, 131 and 132 are networks, and 141 and 142 are communication networks.

本発明の実施形態による通信切り替え方法を実施するシステムは、メッセージ交換システム101、入力装置121、出力装置122、少なくとも2つ以上の通信網141、142を備えて構成される。そして、図1に示すように装置相互間はネットワーク131、132によって接続されている。ネットワーク131、132は有線、無線LAN等であってよく、データのやり取りを行うために使われるものである。   A system for executing a communication switching method according to an embodiment of the present invention includes a message exchange system 101, an input device 121, an output device 122, and at least two or more communication networks 141 and 142. As shown in FIG. 1, the apparatuses are connected by networks 131 and 132. The networks 131 and 132 may be wired or wireless LAN, and are used for exchanging data.

入力装置121は、PC、スキャナ装置等であってよく、出力装置122は、PC、ディスプレイ装置、プリンタ装置等であってよい。   The input device 121 may be a PC, a scanner device, or the like, and the output device 122 may be a PC, a display device, a printer device, or the like.

メッセージ交換システム101は、サーバ計算機、PC等であってよく、そのメモリ上には、通信処理部102、通信経路選定部104、を動作させるプログラムが格納され、メッセージ交換システム101のCPUによって実行される。そして、通信処理部102は、通信障害情報検知機能103を有し、通信経路選定部104は、データ分割機能105、画像データ変換機能106を有している。また、メッセージ交換システム101の磁気ディスク等による二次記憶装置上には、宛先情報DB107、通信経路情報DB108が格納される。前述したDBは、前述の通信経路選定部104によりアクセスされる。通信手段109、110は、後述する通信網141、142を用いた通信を行う手段であって、FAX通信ソフトウェア、メールソフトウェア、WWWソフトウェア、ジョブ管理ソフトウェア、ebXML通信ソフトウェア等であってよい(下記、109を通信手段として説明する)。通信網141、142は、FAX網、SMTP網、HTTP網、FTP網、SOAP網、ebXML網、AS2網等の通信回線であってよく、ネットワークを介して端末同士が通信を行う上で、相互に決められた通信手順で通信を行う経路のことである(下記、141を通信網として説明する)。メッセージ交換システム101は、外部サーバ209を有する通信網141、142、、、を介して各端末と接続される。メッセージ交換システム101と接続される端末は、他のメッセージ交換システム、FAX、電話、PC等の装置であって、各通信網141、142に対応する通信機能を有する通信装置である。   The message exchange system 101 may be a server computer, a PC, and the like, and a program for operating the communication processing unit 102 and the communication path selection unit 104 is stored in the memory and executed by the CPU of the message exchange system 101. The The communication processing unit 102 has a communication failure information detection function 103, and the communication path selection unit 104 has a data division function 105 and an image data conversion function 106. The destination information DB 107 and the communication path information DB 108 are stored on the secondary storage device such as a magnetic disk of the message exchange system 101. The DB described above is accessed by the communication path selection unit 104 described above. The communication means 109 and 110 are means for performing communication using the communication networks 141 and 142 described later, and may be FAX communication software, mail software, WWW software, job management software, ebXML communication software, etc. 109 is described as a communication means). The communication networks 141 and 142 may be communication lines such as a FAX network, an SMTP network, an HTTP network, an FTP network, a SOAP network, an ebXML network, an AS2 network, and the like. Is a path for performing communication in accordance with a communication procedure determined in (1) (hereinafter, 141 is described as a communication network). The message exchange system 101 is connected to each terminal via communication networks 141, 142, which have an external server 209. A terminal connected to the message exchange system 101 is a device such as another message exchange system, a FAX, a telephone, or a PC, and has a communication function corresponding to each of the communication networks 141 and 142.

図1に示すシステムは、入力装置121、出力装置122、メッセージ交換システム101とを独立して備える構成として示しているが、本実施例は、入出力装置を備える計算機内に構成することもできる。   Although the system shown in FIG. 1 is shown as a configuration that includes the input device 121, the output device 122, and the message exchange system 101 independently, this embodiment can also be configured in a computer that includes an input / output device. .

各部は機能別にブロック化して記載しており、各部の分割統合はあり得る。また、各部をハードウェアとして実装することも可能である。   Each part is described as a block by function, and each part can be divided and integrated. Each unit can also be implemented as hardware.

<ハードウェア構成図> 図2は本発明の一実施形態による通信経路切り替え方法を実施するメッセージ交換システムのハードウェア構成を示すブロック図である。図2において、201はCPU、202はメモリ、203はハードディスク装置、204はNIC(Network Interface Card)、205は入力装置、206は出力装置、207はバス、208はネットワーク、209は外部サーバである。ハードディスク装置203には、本発明の一実施形態による通信経路切り替え方法を実施する処理を行う為のソフトウェア群が保存されており、これらのソフトウェアはメモリ202にロードされてCPU201により実行される。NIC204は、ネットワーク208に対するインタフェースを制御し、外部サーバ209と接続する。このNIC204は前述通信手段109によって制御され、前述通信網141を用いるために使われる。また、図2に示す例では、NIC204と外部サーバ209はネットワーク208を介して接続されているが、前記通信手段109が前記通信網141を使用できればよく、NICとネットワークプリンタがネットワーク208を介して接続されている、NCU(Network Control Unit)とモデム装置がバス207を介して接続されている等であってよい。   <Hardware Configuration> FIG. 2 is a block diagram showing a hardware configuration of a message exchange system that implements a communication path switching method according to an embodiment of the present invention. In FIG. 2, 201 is a CPU, 202 is a memory, 203 is a hard disk device, 204 is a NIC (Network Interface Card), 205 is an input device, 206 is an output device, 207 is a bus, 208 is a network, and 209 is an external server. . The hard disk device 203 stores a software group for performing processing for performing the communication path switching method according to the embodiment of the present invention. These software are loaded into the memory 202 and executed by the CPU 201. The NIC 204 controls an interface to the network 208 and connects to the external server 209. The NIC 204 is controlled by the communication means 109 and used to use the communication network 141. In the example shown in FIG. 2, the NIC 204 and the external server 209 are connected via the network 208, but it is sufficient that the communication unit 109 can use the communication network 141, and the NIC and the network printer are connected via the network 208. The NCU (Network Control Unit) and the modem device may be connected via the bus 207.

次に、図1、図2に示すシステムでの各種の処理動作について、図3〜図5に示すフローチャート、図6〜図8に示すDB構成、図9に示す定義ファイル例、及び、図10に示すメッセージ例を参照しながら説明する。   Next, regarding various processing operations in the system shown in FIGS. 1 and 2, the flowcharts shown in FIGS. 3 to 5, the DB configuration shown in FIGS. 6 to 8, the example of the definition file shown in FIG. This will be described with reference to the message example shown in FIG.

<処理手順概要>
図3はメッセージ交換システム101が実行するメッセージ送信の基本的な処理手順の概要を説明するフローチャートであり、まず、これについて説明する。
<Outline of processing procedure>
FIG. 3 is a flowchart for explaining the outline of a basic processing procedure of message transmission executed by the message exchange system 101. First, this will be described.

(1)まず、送信者は、入力装置121から、送信データ及び宛先名を入力してメッセージ交換システム101に送信する。送信データは、入力装置121に依存するデータであって、スキャナ装置から入力されたデータは画像データ等、PCから入力されたデータは任意の電子データ等であってよい。宛先名は、通信網141、及び、通信相手を特定するものであって、後述する宛先情報DB107の宛先情報を特定するために使用する情報、または、直接通信経路及び通信相手を特定する情報等であってよい。次に、メッセージ交換システム101は、前記送信データ及び宛先名を取り込む(ステップ301)。   (1) First, the sender inputs transmission data and a destination name from the input device 121 and transmits them to the message exchange system 101. The transmission data is data depending on the input device 121. The data input from the scanner device may be image data or the like, and the data input from the PC may be arbitrary electronic data or the like. The destination name specifies the communication network 141 and the communication partner, and is information used to specify destination information in the destination information DB 107 described later, or information specifying a direct communication path and a communication partner. It may be. Next, the message exchange system 101 takes in the transmission data and the destination name (step 301).

(2)メッセージ交換システム101は、後述する宛先情報DB107から、ステップ301により取得した宛先名にあたるデータを検索し、宛先情報を取り込む。宛先情報は、送信相手に関する情報であって、複数の通信経路が利用可能な場合に参照される通信経路の優先度等の情報、送信相手に依存する通信経路の送信可能データ量やデータ種別等の情報、前記通信手順109に依存した通信処理に必要な情報等であってよい。次に、メッセージ交換システム101は、後述する通信経路情報DB108から、通信種別情報を取り込む。通信種別情報は、前記通信網141の通信種別に関する情報であって、システムに依存した通信種別ごとの通信可能なデータ量やデータ種別等の情報、送信者に依存した通信種別ごとの通信手順に関する各種パラメータ情報やデフォルト値等の情報であってよい(ステップ302)。   (2) The message exchange system 101 retrieves data corresponding to the destination name acquired in step 301 from the destination information DB 107 described later, and takes in the destination information. The destination information is information about the transmission partner, information such as the priority of the communication path that is referred to when a plurality of communication paths are available, the amount of data that can be transmitted and the data type of the communication path depending on the transmission partner, etc. Information necessary for communication processing depending on the communication procedure 109, and the like. Next, the message exchange system 101 takes in the communication type information from the communication path information DB 108 described later. The communication type information is information related to the communication type of the communication network 141, and is related to information such as the data amount and data type that can be communicated for each communication type depending on the system, and the communication procedure for each communication type depending on the sender. It may be information such as various parameter information and default values (step 302).

(3)次に、通信経路選定部104は、前記宛先情報から未処理の通信経路を一つ選択し、前記宛先情報、通信種別情報及びステップ301により取得した送信データから、送信データの送信可否を判定する。送信可否の判定に使用する送信データは、後述するステップ306から遷移した場合、通信障害情報を含んでもよい。次に、通信経路選定部104は、送信可能と判定された送信データを、通信経路に適するデータ形式に変換する。変換された送信データは、通信経路ごとに適切な送信データであって、通信経路に適したデータ形式や適したデータ量に分割されたデータ、送信者により指定されたデータ形式等であってよい(ステップ303)。   (3) Next, the communication path selection unit 104 selects one unprocessed communication path from the destination information, and determines whether transmission data can be transmitted from the destination information, the communication type information, and the transmission data acquired in step 301. Determine. The transmission data used for determining whether or not transmission is possible may include communication failure information when a transition is made from step 306 described later. Next, the communication path selection unit 104 converts the transmission data determined to be transmittable into a data format suitable for the communication path. The converted transmission data is appropriate transmission data for each communication path, and may be a data format suitable for the communication path, data divided into an appropriate amount of data, a data format specified by the sender, or the like. (Step 303).

(4)通信処理部102は、ステップ302により取得した通信経路情報を使用して、前記通信手段109により、送信データを送信する。この通信手段が使用する通信手順は、2者間で決められた通信手順であって、標準通信プロトコル、独自通信プロトコル等であってよい。次に、通信処理部102は、前記通信手段109の送信結果を取得する(ステップ304)。   (4) The communication processing unit 102 transmits the transmission data by the communication unit 109 using the communication path information acquired in step 302. The communication procedure used by this communication means is a communication procedure determined between two parties, and may be a standard communication protocol, a unique communication protocol, or the like. Next, the communication processing unit 102 acquires the transmission result of the communication means 109 (step 304).

(5)次に、メッセージ交換システム101は、ステップ304で取得した送信処理の結果から、通信障害が発生したか否かを判定する(ステップ305)。   (5) Next, the message exchange system 101 determines whether or not a communication failure has occurred from the result of the transmission process acquired in step 304 (step 305).

(6)メッセージ交換システム101は、ステップ305の判定の結果、通信障害が発生していた場合、ステップ302により取得した宛先情報から未処理の通信経路が存在するか否かを判定する。また、この判定の結果、未処理の通信経路が存在する場合、前述したステップ303へ遷移する(ステップ306)。   (6) If a communication failure has occurred as a result of the determination in step 305, the message exchange system 101 determines whether there is an unprocessed communication path from the destination information acquired in step 302. If there is an unprocessed communication path as a result of this determination, the process proceeds to step 303 described above (step 306).

(7)メッセージ交換システム101は、ステップ305の判定の結果、通信障害が発生していなかった場合、または、ステップ306の判定の結果、未処理の通信経路が存在しなかった場合、後述する通信障害履歴バッファに通信障害通知メッセージ1001として保存する。通信障害履歴バッファは、前述メモリ202上に保存される(ステップ307)。   (7) If no communication failure has occurred as a result of the determination in step 305, or if no unprocessed communication path exists as a result of the determination in step 306, the message exchange system 101 performs communication described later. A communication failure notification message 1001 is stored in the failure history buffer. The communication failure history buffer is stored on the memory 202 (step 307).

(8)メッセージ交換システム101は、前記履歴バッファに保存されたデータを出力装置122へ送信し、処理を終了する(ステップ308)。   (8) The message exchange system 101 transmits the data stored in the history buffer to the output device 122 and ends the process (step 308).

<通信経路選定処理>
図4(a)、図4(b)は通信経路選定部104の処理動作を説明するフローチャートであり、次に、これについて説明する。この処理は、前述ステップ303の送信データと通信経路情報及び通信種別情報から通信経路を選定し、かつ送信データを通信経路に適するデータ形式に変換する処理である。
(1)まず、通信経路選定部104は、ステップ302で取得した宛先情報から、未処理の通信経路の中で最も優先度の高い通信経路情報を取得する(ステップ401)。
<Communication route selection processing>
FIG. 4A and FIG. 4B are flowcharts for explaining the processing operation of the communication path selection unit 104, which will be described next. This process is a process of selecting a communication path from the transmission data, communication path information, and communication type information in step 303 and converting the transmission data into a data format suitable for the communication path.
(1) First, the communication path selection unit 104 acquires communication path information with the highest priority among unprocessed communication paths from the destination information acquired in step 302 (step 401).

(宛先情報DB)
図6は宛先情報DB107のデータ構成例を示す図であり、ここで、宛先情報DB107について説明する。宛先情報DB107は、宛先名601、優先度602、経路種別603、宛先定義ファイルパス604、識別子605を格納した複数のレコードにより構成される。宛先名601には、データを検索するための宛先名が格納される。優先度602には、通信可能な経路が複数存在する場合、通信経路を使用する優先度が格納される。
(Destination information DB)
FIG. 6 is a diagram showing a data configuration example of the destination information DB 107. Here, the destination information DB 107 will be described. The destination information DB 107 includes a plurality of records storing a destination name 601, a priority 602, a route type 603, a destination definition file path 604, and an identifier 605. The destination name 601 stores a destination name for searching for data. The priority 602 stores the priority of using the communication path when there are a plurality of communicable paths.

経路種別603には、通信プロトコル種別を特定するための名称が格納される。宛先定義ファイルパス604には、後述する宛先定義ファイル901の保存場所が格納される。識別子605には、前記宛先情報ファイル901に定義される情報において、通信経路を特定するために使用する識別子が格納される。   The route type 603 stores a name for specifying the communication protocol type. A destination definition file path 604 stores a storage location of a destination definition file 901 described later. The identifier 605 stores an identifier used for specifying a communication path in the information defined in the destination information file 901.

図6に示す例の場合、ステップ301により取得した宛先名が「(株)A社」とすると、宛先情報DB107から、「(株)A社」を検索し、ステップ401で取得される結果は、優先度602が「1」である、経路種別603が「ebXML」、宛先定義ファイルパス604が「D:¥通信経路定義¥(株)A社.xml」、識別子605が「EBXML」のレコードとなる。   In the case of the example shown in FIG. 6, if the destination name acquired in Step 301 is “(Company A)”, “(Company A)” is searched from the destination information DB 107, and the result acquired in Step 401 is , The priority 602 is “1”, the route type 603 is “ebXML”, the destination definition file path 604 is “D: ¥ communication route definition ¥ A company.xml”, and the identifier 605 is “EBXML”. It becomes.

(2)図4(a)に戻って説明を続ける。通信経路選定部104は、ステップ401により取得した宛先情報DB107の宛先定義ファイルパス604と識別子605から、後述する宛先定義ファイル901を読み込み、前記識別子605により特定される通信経路情報を取得する(ステップ402)。   (2) Returning to FIG. The communication path selection unit 104 reads a destination definition file 901 (to be described later) from the destination definition file path 604 and the identifier 605 of the destination information DB 107 acquired in step 401, and acquires the communication path information specified by the identifier 605 (step). 402).

(宛先定義ファイル)
図9は前記宛先定義ファイルパス604により参照される、宛先定義ファイル901のデータ構成例を示す図であり、ここで、宛先定義ファイル901について説明する。
(Destination definition file)
FIG. 9 is a diagram showing a data configuration example of the destination definition file 901 referred to by the destination definition file path 604. Here, the destination definition file 901 will be described.

宛先定義ファイル901のデータは、図9に示している項目902〜914により構成され、下記に示す規則に則ってユーザが任意に定義することができる。宛先が対応している経路に関しては、宛先定義ファイル901とデフォルトの通信経路の設定としての通信経路DB108との双方において定義される。ユーザの設定による宛先定義ファイル901の条件の方が、通信経路DB108の設定より負荷が小さいのであれば、宛先定義ファイル901が優先される。つまり、宛先定義ファイル901においては、ユーザの嗜好により、各通信経路の最大許容負荷に対して余裕を持たせた設定を持たせることができる。   The data of the destination definition file 901 is composed of items 902 to 914 shown in FIG. 9, and can be arbitrarily defined by the user in accordance with the rules shown below. The route corresponding to the destination is defined in both the destination definition file 901 and the communication route DB 108 as the default communication route setting. If the condition of the destination definition file 901 set by the user has a smaller load than the setting of the communication path DB 108, the destination definition file 901 has priority. In other words, the destination definition file 901 can be given a setting with a margin for the maximum allowable load of each communication path according to the user's preference.

要素「通信経路定義」902の要素内容には、通信経路の定義が全て記述される。要素「通信経路」903には、属性「id」904の付加情報を加えることで通信経路が一意に特定される。属性「id」904の属性値905には、宛先情報DB107の識別子605に格納される値が記述される。要素「パラメータ」906には、通信に必要となる情報が記述され、属性「id」907の属性値908にはパラメータ名908、要素内容にはパラメータ値909が記述される。この要素「パラメータ」906は、通信経路ごとに通信に必要な情報が異なるため、複数記述することができ、パラメータ名908とパラメータ値909は通信処理部102により使用される。   The element content of the element “communication path definition” 902 describes the definition of the communication path. The element “communication path” 903 is uniquely identified by adding additional information of the attribute “id” 904. In the attribute value 905 of the attribute “id” 904, a value stored in the identifier 605 of the destination information DB 107 is described. Information necessary for communication is described in the element “parameter” 906, the parameter name 908 is described in the attribute value 908 of the attribute “id” 907, and the parameter value 909 is described in the element content. Since this element “parameter” 906 has different information necessary for communication for each communication path, a plurality of element “parameters” 906 can be described, and the parameter name 908 and the parameter value 909 are used by the communication processing unit 102.

要素「共通設定」910の要素内容には、後述する通信経路情報DB108のデータを、格納された値を上限値として、ユーザが任意に定義し直すことができる子要素が記述される。要素「最大データサイズ」911の要素内容には、後述する最大データサイズ702を、要素「最大分割数」912の要素内容には、後述する最大分割数703を上書きする値が記述される。さらに、要素「共通設定」910の要素内容には、要素「分割単位」913、要素「データ送信」914が記述される。要素「分割単位」913の要素内容には、送信データを分割する場合、ファイル単位で分割するか、または、データ単位で分割するかという分割単位が記述される。   The element content of the element “common setting” 910 describes a child element that allows the user to arbitrarily redefine data in a communication path information DB 108 to be described later with the stored value as an upper limit value. In the element content of the element “maximum data size” 911, a maximum data size 702 described later is described, and in the element content of the element “maximum division number” 912, a value overwriting the maximum division number 703 described later is described. Further, in the element content of the element “common setting” 910, an element “division unit” 913 and an element “data transmission” 914 are described. The element content of the element “division unit” 913 describes a division unit for dividing transmission data into file units or data units.

要素「データ送信」914の要素内容には、データ送信が可能である場合に、送信するか否を指定する値が記述される。もし、この要素内容に送信不可を示す値が記述されており、かつ何らかの通信障害が発生していた場合、当該通信経路は送信データの送信には使用されず、後述する通信障害履歴バッファに保存された通信障害通知メッセージ1001の送信に使用される。   The element content of the element “data transmission” 914 describes a value for designating whether or not data transmission is possible. If a value indicating that transmission is not possible is described in this element content and any communication failure has occurred, the communication path is not used for transmission of transmission data, and is stored in a communication failure history buffer described later. The communication failure notification message 1001 is transmitted.

図9に示す例の場合、宛先情報DB107の宛先定義ファイルパス604が「D:¥通信経路定義¥(株)A社.xml」である場合に参照されるファイルを宛先定義ファイル901とすると、識別子605の「EBXML」により特定される情報は、「パラメータ名=パラメータ値」の情報が、「CPA=C:¥ebxml¥cpa¥company_a-center-cpa-****2、SERVICE=EDI」、「ACTION=Send」となり、共通設定の情報は、最大データサイズが100MB、最大分割数が2、分割単位がファイル、データ送信が可となる。   In the case of the example shown in FIG. 9, when the destination definition file path 604 of the destination information DB 107 is “D: ¥ communication path definition ¥ company A.xml”, the file referred to is the destination definition file 901. The information specified by “EBXML” of the identifier 605 is the information “parameter name = parameter value” is “CPA = C: \ ebxml \ cpa \ company_a-center-cpa-*** 2, SERVICE = EDI”. , “ACTION = Send”, and the common setting information indicates that the maximum data size is 100 MB, the maximum number of divisions is 2, the division unit is a file, and data transmission is possible.

<通信経路情報DB>
図7、図8は通信経路情報DB108のデータ構成例を示す図であり、ここで、通信経路情報DB108について説明する。通信経路情報DB108のデータは、通信経路の種別、つまり通信プロトコル種別により扱えるデータ形式が異なるため、データ形式ごとに格納されている。
<Communication path information DB>
7 and 8 are diagrams showing examples of the data structure of the communication path information DB 108. Here, the communication path information DB 108 will be described. Data in the communication path information DB 108 is stored for each data format because the data format that can be handled differs depending on the type of communication path, that is, the communication protocol type.

図7には、送信データを電子データとして扱う通信経路のデータが格納され、経路種別701、最大データサイズ702、最大分割数703を格納したレコードにより構成される。経路種別701には、メッセージ交換システム101が利用可能な通信プロトコル種別を特定するための名称が格納される。最大データサイズ702には、経路種別701やシステムに依存する送信可能なデータサイズの最大値が格納される。最大分割数703には、最大データサイズ702を超えるデータを送信する場合に分割できる分割数の最大値が格納される。   In FIG. 7, data of a communication path that handles transmission data as electronic data is stored, and is configured by a record that stores a path type 701, a maximum data size 702, and a maximum division number 703. The route type 701 stores a name for specifying a communication protocol type that can be used by the message exchange system 101. The maximum data size 702 stores the maximum value of the transmittable data size depending on the path type 701 and the system. The maximum number of divisions 703 stores the maximum number of divisions that can be divided when data exceeding the maximum data size 702 is transmitted.

図8には、送信データを画像データとして扱う通信経路のデータが格納され、経路種別801、フォーマットサイズ802、最大枚数803を格納したレコードにより構成される。経路種別801には、メッセージ交換システム101が利用可能な通信プロトコル種別を特定するための名称が格納される。フォーマットサイズ802には、ユーザの定義する画像データのサイズが格納される。最大枚数803には、フォーマットサイズ802の画像データを送信できる最大枚数が格納される。   In FIG. 8, data of a communication path that handles transmission data as image data is stored, and includes a record that stores a path type 801, a format size 802, and a maximum number 803. The route type 801 stores a name for identifying a communication protocol type that can be used by the message exchange system 101. The format size 802 stores the size of image data defined by the user. The maximum number 803 stores the maximum number of images that can be transmitted with image data of the format size 802.

図7に示す例の場合、宛先情報DB107の経路種別603が「ebXML」である場合に参照されるレコードは、経路種別701が「ebXML」、最大データサイズ702は「200MB」、最大分割数は「5」となる。   In the case of the example illustrated in FIG. 7, a record referred to when the route type 603 of the destination information DB 107 is “ebXML” has a route type 701 of “ebXML”, a maximum data size 702 of “200 MB”, and a maximum number of divisions. “5”.

また、図8に示す例では、経路種別801をFAXとして説明したが、この他にも特定のデータ形式のみを扱う通信経路を使用する場合、通信経路に適当なデータ構成としてもよい。   In the example shown in FIG. 8, the route type 801 is described as FAX. However, in addition to this, when a communication route that handles only a specific data format is used, a data configuration suitable for the communication route may be used.

(3)次に、通信経路選定部104は、前記取得した通信経路情報の一つである要素「データ送信」914の要素内容から、当該通信経路が送信データを送信可能か否かを判定する(ステップ403)。   (3) Next, the communication path selection unit 104 determines whether or not the communication path can transmit transmission data from the element content of the element “data transmission” 914 that is one of the acquired communication path information. (Step 403).

(4)通信経路選定部104は、ステップ403の判定の結果、当該通信経路が送信データを送信可能である場合、通信経路情報DB108から、前記取得した通信経路情報の一つである経路種別603にあたる情報を取得し、前記取得した情報の一つである要素「共通設定」910の要素内容とのマッピング処理を行う。通信経路情報DB108に格納された値を超える値が要素「共通設定」910の要素内容に記述されている場合、または、要素「共通設定」910の要素内容が記述されていない場合は、通信経路情報DB108の値が採用される(ステップ404)。   (4) If the result of determination in step 403 indicates that the communication path can transmit transmission data, the communication path selection unit 104 determines from the communication path information DB 108 the path type 603 that is one of the acquired communication path information. The corresponding information is acquired, and mapping processing with the element content of the element “common setting” 910 which is one of the acquired information is performed. If a value exceeding the value stored in the communication path information DB 108 is described in the element content of the element “common setting” 910, or if the element content of the element “common setting” 910 is not described, the communication path The value of the information DB 108 is adopted (step 404).

図7、図9に示す例の場合、経路種別701が「ebXML」である、最大データサイズが「200MB」、最大分割数が「5」の値は採用されず、要素「共通設定」910の要素内容である、最大データサイズが「100MB」、最大分割数が「2」の値が当該通信経路の最大データサイズ、最大分割数の値として採用される。   In the case of the example shown in FIGS. 7 and 9, the route type 701 is “ebXML”, the maximum data size is “200 MB”, the maximum number of divisions is “5”, and the element “common setting” 910 is not used. The values of the element content, that is, the maximum data size “100 MB” and the maximum division number “2” are adopted as the maximum data size and the maximum division number value of the communication path.

(5)通信経路選定部104は、ステップ403の判定の結果、当該通信経路が送信データを送信不可能である場合、後述する通信障害履歴バッファに通信障害通知メッセージ1001が保存されているか否かを判定する(ステップ405)。   (5) If the result of determination in step 403 indicates that the communication path cannot transmit transmission data, the communication path selection unit 104 determines whether or not a communication fault notification message 1001 is stored in a communication fault history buffer described later. Is determined (step 405).

(6)通信経路選定部104は、ステップ405の判定の結果、後述する通信障害履歴バッファに通信障害通知メッセージ1001が保存されている場合、通信障害通知メッセージ1001を送信データとして設定する(ステップ406)。   (6) If the communication failure notification message 1001 is stored in the communication failure history buffer described later as a result of the determination in step 405, the communication route selection unit 104 sets the communication failure notification message 1001 as transmission data (step 406). ).

(7)通信経路選定部104は、ステップ405の判定の結果、後述する通信障害履歴バッファに通信障害通知メッセージ1001が保存されていない場合、後述する通信障害履歴バッファに通信障害通知メッセージ1001として保存し、前述したステップ308へ遷移する(ステップ407)。   (7) If the communication failure notification message 1001 is not stored in the communication failure history buffer described later as a result of the determination in step 405, the communication path selection unit 104 stores the communication failure notification message 1001 in the communication failure history buffer described later. Then, the process proceeds to step 308 described above (step 407).

(8)次に、通信経路選定部104は、前記取得した通信経路情報の一つである経路種別603の値がFAXであるか否かを判定する(ステップ408)。   (8) Next, the communication path selection unit 104 determines whether or not the value of the path type 603 that is one of the acquired communication path information is FAX (step 408).

(9)通信経路選定部104は、ステップ408の判定の結果、当該通信経路種別がFAXの場合、送信データのデータ形式が画像データであるか否かを判定する。この判定基準は、画像をスキャナで取り込むときに一般的に使用されるTIFF(Tag Image File Format)ファイル形式や、GIF (Compuserve Graphics Interchange Format)ファイル形式やJPEG (Joint Photographic Experts Group)ファイル形式等の一般的な画像ファイル形式であること、特定のアプリケーションで使用することができる独自の画像ファイル形式であること等であってよい(ステップ409)。   (9) If the result of determination in step 408 is that the communication path type is FAX, the communication path selection unit 104 determines whether the data format of the transmission data is image data. This criterion is based on a TIFF (Tag Image File Format) file format, a GIF (Composite Graphics Interchange Format) file format, a JPEG (Joint Photographic Experts Group file), etc. It may be a general image file format, a unique image file format that can be used by a specific application, or the like (step 409).

(10)通信経路選定部104は、ステップ409の判定の結果、送信データのデータ形式が画像データでない場合、送信データを画像データに変換可能か否かを判定する。この判定基準は、後述するステップ411の結果、送信データを画像データに変換できないことであって、画像データ変換機能106の実装形態に依存する(ステップ410)。   (10) If it is determined in step 409 that the data format of the transmission data is not image data, the communication path selection unit 104 determines whether the transmission data can be converted into image data. This criterion is that transmission data cannot be converted into image data as a result of step 411 described later, and depends on the implementation form of the image data conversion function 106 (step 410).

(11)通信経路選定部104は、ステップ410の判定の結果、送信データを画像データに変換可能である場合、送信データを画像データに変換する。画像データへの変換は、何らかの方法で送信データを画像データに変換できればよく、XML形式のファイルをスタイルシートと変換ツールを使用して帳票イメージのPNG(Portable Network Graphics)ファイル形式等に変換する、ドキュメント形式、テキスト形式等のファイルをPDF(Portable Document Format)ファイル形式等の画像ファイル形式に変換する等であってよい。また、画像データへの変換は、ステップ404で取得したフォーマットサイズ単位で変換される。フォーマットサイズは送信されるべき原稿1枚単位、つまりページ単位を表しており、画像データ変換機能106の実装形態に依存する(ステップ411)。   (11) If the result of determination in step 410 is that the transmission data can be converted into image data, the communication path selection unit 104 converts the transmission data into image data. The conversion to the image data is not limited as long as the transmission data can be converted into the image data by some method, and the XML format file is converted into a form image PNG (Portable Network Graphics) file format using a style sheet and a conversion tool. For example, a file such as a document format or a text format may be converted into an image file format such as a PDF (Portable Document Format) file format. Also, the conversion to image data is performed in units of the format size acquired in step 404. The format size represents a unit of a document to be transmitted, that is, a page unit, and depends on the mounting form of the image data conversion function 106 (step 411).

(12)通信経路選定部104は、ステップ409の判定の結果、送信データのデータ形式が画像データである場合、または、ステップ411の結果、送信データのページ枚数が、ステップ404で取得した最大枚数の値を超えているか否かを判定する。また、この判定の結果、送信データのページ枚数が最大枚数の値を超えていない場合、通信経路選定処理を正常に終了する(ステップ412)。   (12) If the result of determination in step 409 indicates that the data format of the transmission data is image data, or the result of step 411 is that the communication path selection unit 104 determines that the number of pages of transmission data is the maximum number acquired in step 404 It is determined whether or not the value is exceeded. If the number of pages of transmission data does not exceed the maximum number as a result of this determination, the communication path selection process is normally terminated (step 412).

(13)通信経路選定部104は、ステップ410の判定の結果、送信データを画像データに変換不可能である場合、または、ステップ412の結果、送信データのページ枚数が最大枚数を超えている場合、後述する通信障害履歴バッファに通信障害通知メッセージ1001として保存し、前述したステップ308へ遷移する(ステップ413)。   (13) The communication path selection unit 104 determines that the transmission data cannot be converted into image data as a result of the determination in step 410, or the transmission data exceeds the maximum number of pages as a result of step 412. Then, it is stored as a communication failure notification message 1001 in a communication failure history buffer, which will be described later, and the process proceeds to step 308 described above (step 413).

(14)通信経路選定部104は、ステップ408の判定の結果、当該通信経路種別がFAXでない場合、ステップ404で取得した最大データサイズから、送信データが最大データサイズを超えているか否かを判定する。また、この判定の結果、送信データが最大データサイズを超えていない場合、通信経路選定処理を正常に終了する(ステップ414)。   (14) If the communication path type is not FAX as a result of the determination in step 408, the communication path selection unit 104 determines whether the transmission data exceeds the maximum data size from the maximum data size acquired in step 404. To do. As a result of this determination, if the transmission data does not exceed the maximum data size, the communication path selection process is normally terminated (step 414).

(15)通信経路選定部104は、ステップ414の判定の結果、送信データが最大データサイズを超えてない場合、ステップ404で取得した最大データサイズ、最大分割数、前記取得した通信経路情報の一つである分割単位913から、送信データを分割可能か否かを判定する。この判定基準は、分割単位がファイル単位である場合、最大データサイズ以内に送信データを分割でき、かつ分割数が最大分割数以内であるか否か、または、分割単位がデータ単位である場合、送信データが「最大データサイズ」と「分割数」の積以下であるか否かである(ステップ415)。   (15) If it is determined in step 414 that the transmission data does not exceed the maximum data size, the communication path selection unit 104 determines the maximum data size acquired in step 404, the maximum number of divisions, and the acquired communication path information. Whether the transmission data can be divided is determined from the division unit 913. This criterion is that when the division unit is a file unit, the transmission data can be divided within the maximum data size and the division number is within the maximum division number, or when the division unit is the data unit, Whether the transmission data is equal to or smaller than the product of “maximum data size” and “number of divisions” (step 415).

(16)通信経路選定部104は、ステップ415の判定の結果、送信データを分割可能である場合、送信データを分割する。送信データの分割は、分割単位がファイル単位である場合、分割した送信データが、最大データサイズ及び最大分割数を超えないように分割すればよく、その分割方法は、数ファイルをまとめて圧縮することで分割する、数ファイル単位をフォルダに格納することで分割する、ファイルの分割位置を示すデータを作成することで分割する、ファイル名をリネームすることで分割する等であってよい。   (16) If the result of determination in step 415 indicates that the transmission data can be divided, the communication path selection unit 104 divides the transmission data. When the division unit is a file unit, the transmission data may be divided so that the divided transmission data does not exceed the maximum data size and the maximum number of divisions. The division method compresses several files together. The file may be divided by storing several file units in a folder, divided by creating data indicating the division position of the file, or divided by renaming the file name.

また、分割単位がデータ単位である場合、分割した送信データが、最大データサイズ及び最大分割数を超えないように分割すればよく、その分割方法は、データを自己復元可能なファイル形式に分割ツールを使用して分割する、データを復元可能なファイル形式に圧縮かつ分割するツールを使用して分割する等であってよい。また、送信データを分割した後、通信経路選定処理を正常に終了する(ステップ416)。   In addition, when the division unit is a data unit, the divided transmission data may be divided so as not to exceed the maximum data size and the maximum number of divisions. May be split using a tool, or may be split using a tool that compresses and splits the data into a recoverable file format. Further, after dividing the transmission data, the communication path selection process is normally terminated (step 416).

(17)通信経路選定部104は、ステップ415の判定の結果、送信データを分割不可能である場合、後述する通信障害履歴バッファに通信障害通知メッセージ1001として保存し、前述したステップ308へ遷移する(ステップ418)。   (17) If the result of the determination in step 415 indicates that the transmission data cannot be divided, the communication path selection unit 104 stores it in a communication failure history buffer, which will be described later, as a communication failure notification message 1001, and transitions to step 308 described above. (Step 418).

<送信処理>
図5は通信処理部102の処理動作を説明するフローチャートであり、次に、これについて説明する。この処理は、前述したステップ304で取得した送信データ及び通信経路情報を基に、決められた通信手順により送信データを送信する処理である。
<Transmission process>
FIG. 5 is a flowchart for explaining the processing operation of the communication processing unit 102, which will be described next. This process is a process for transmitting transmission data according to a determined communication procedure based on the transmission data and communication path information acquired in step 304 described above.

(1)まず、通信処理部102は、前記取得した通信経路情報の一つである経路種別603から、経路種別に適した通信手段109を選択する(ステップ501)。この通信手段109の選択においては、二次記憶装置203上に各通信手段と経路種別を対応付けたテーブルを格納しておき、経路種別603をキーとして当該テーブルから通信手段を読み出すようにすることができる。   (1) First, the communication processing unit 102 selects the communication unit 109 suitable for the route type from the route type 603 that is one of the acquired communication route information (step 501). In selecting the communication means 109, a table in which each communication means is associated with the path type is stored in the secondary storage device 203, and the communication means is read from the table using the path type 603 as a key. Can do.

(2)次に、通信処理部102は、未処理の送信データを一つ選択し、前記取得した通信経路情報であるパラメータ名908とパラメータ値909と共に通信手段901に渡す。パラメータ値は通信手段109が送信処理を実行するために必要な値であって、通信手段109の実装形態に依存する。次に、送信手段109は送信処理を実行する(ステップ502)。   (2) Next, the communication processing unit 102 selects one piece of unprocessed transmission data and passes it to the communication unit 901 together with the parameter name 908 and the parameter value 909 which are the acquired communication path information. The parameter value is a value necessary for the communication unit 109 to execute transmission processing, and depends on the implementation form of the communication unit 109. Next, the transmission means 109 performs a transmission process (step 502).

(3)次に、通信処理部102の通信障害検知機能103は、ステップ502により実行した送信処理の結果を取得する(ステップ503)。   (3) Next, the communication failure detection function 103 of the communication processing unit 102 acquires the result of the transmission process executed in step 502 (step 503).

(4)次に、通信障害検知機能103は、ステップ503により取得した送信処理の結果から、送信処理が成功したか否かを判定する。この判定基準は、何らかを契機に送信処理の失敗と解釈することであって、再送処理により送信に成功した場合を除く、送信開始から一定時間の経過を基に通信障害とみなす等であってよい(ステップ504)。   (4) Next, the communication failure detection function 103 determines whether or not the transmission process has succeeded from the result of the transmission process acquired in step 503. This criterion is to interpret the transmission process as a failure at some point, and to consider it as a communication failure based on the passage of a certain time from the start of transmission, except when the transmission process is successful due to the retransmission process. (Step 504).

送信処理に失敗する場合とは、宛先情報に誤りがあり送信相手を特定できずに中継装置からアドレス解決ができなかった旨が返る場合、通信手順(通信プロトコル)に誤りがある場合、その通信経路に通信相手が対応していない場合、通信相手の受信装置が何らか理由でデータを受け付けられない状態である場合である。この場合、通信相手が受信に失敗したことを通知する通信障害通知メッセージを受信する。ここで、通信相手の受信装置が何らか理由でデータを受け付けられない状態とは、(1)メールサーバの受信メール蓄積領域が所定の閾値を超えている、その他、HDの容量不足により受信データを保存できない、(2)同時に受け付けられるコネクション数を超えている、(3)FTP等ログインを要求するサーバにログインできない、等である。なお、メッセージ交換システム101が相手からデータを受信した際にこのような条件ならば、送信相手に通信障害情報を送り返す。   If the transmission process fails, if the destination information contains an error and the sender cannot be identified and the relay device fails to resolve the address, or if the communication procedure (communication protocol) is incorrect, the communication If the communication partner does not correspond to the route, it is a case where the receiving device of the communication partner cannot accept data for some reason. In this case, a communication failure notification message notifying that the communication partner has failed to receive is received. Here, the state where the receiving device of the communication partner cannot accept the data for some reason is (1) the received mail storage area of the mail server exceeds a predetermined threshold, or the received data due to insufficient HD capacity Cannot be stored, (2) the number of connections accepted at the same time has been exceeded, (3) login to a server requesting login such as FTP cannot be performed, and the like. If the message exchange system 101 receives data from the other party under such conditions, the communication failure information is sent back to the other party.

(5)通信処理部102は、ステップ504の判定の結果、送信処理が成功した場合、未処理の送信データが存在するか否かを判定する。また、この判定の結果、送信データが存在する場合、前述したステップ502へ遷移する。または、送信データが存在しない場合、送信処理を正常に終了する(ステップ505)。   (5) When the transmission process is successful as a result of the determination in step 504, the communication processing unit 102 determines whether there is unprocessed transmission data. If there is transmission data as a result of this determination, the process proceeds to step 502 described above. Alternatively, if there is no transmission data, the transmission process is normally terminated (step 505).

(6)通信処理部102の通信障害検知機能103は、ステップ504の判定の結果、送信処理が成功しなかった場合、通信障害の詳細情報を後述する障害履歴バッファに保存し、送信処理を正常に終了する(ステップ506)。   (6) If the communication failure detection function 103 of the communication processing unit 102 determines that the transmission process is not successful as a result of the determination in step 504, the communication failure detection function 103 stores the detailed information of the communication failure in a failure history buffer, which will be described later, and normalizes the transmission process. (Step 506).

図9に示す例の場合、送信データは150MBであり、前述したステップ416により、100MBと50MBの送信データに分割されたものとする。また、前述したステップ402により、経路種別603がebXMLの通信手段109に必要なCPA、SERVICE、ACTIONの情報を取得したものとする。次に、100MBのデータを、外部サーバ209であるebXMLサーバの手順に従って送信する。この送信処理の結果が成功なら、続けて50MBのデータを送信し、失敗ならebXMLサーバから通信障害の情報を取得する(ステップ501〜506)。   In the case of the example shown in FIG. 9, the transmission data is 150 MB, and it is assumed that the transmission data is divided into 100 MB and 50 MB transmission data by the above-described step 416. Further, it is assumed that the information of CPA, SERVICE, and ACTION necessary for the communication unit 109 whose path type 603 is ebXML is acquired in step 402 described above. Next, 100 MB of data is transmitted according to the procedure of the ebXML server that is the external server 209. If the result of this transmission processing is successful, 50 MB of data is continuously transmitted, and if it is unsuccessful, communication failure information is acquired from the ebXML server (steps 501 to 506).

<受信処理>
メッセージ交換システム101は、上記送信処理により他のメッセージ交換システムから送信された送信データを、通信手段109、110…により検知する。しかし検知した送信データを受け付けない場合がある。この場合、送信データを検知したメッセージ交換システム101は、送信データの送信元に通信障害通知メッセージを送信する。メッセージ交換システム101が何らか理由でデータを受け付けられない状態とは、HDの容量不足により、検知した送信データを保存できない、同時に受け付けられるコネクション数を超えている等である。
<Reception processing>
The message exchange system 101 detects the transmission data transmitted from the other message exchange system by the transmission process by the communication means 109, 110. However, the detected transmission data may not be accepted. In this case, the message exchange system 101 that has detected the transmission data transmits a communication failure notification message to the transmission data transmission source. The state in which the message exchange system 101 cannot accept data for any reason is that the detected transmission data cannot be stored due to insufficient HD capacity, or the number of connections that can be accepted simultaneously has been exceeded.

<通信障害通知メッセージ>
図10は通信処理部102の通信障害検知機能103が通信障害履歴バッファに保存する通信障害通知メッセージ1001のデータ構成例を示す図であり、ここで、通信障害通知メッセージ1001について説明する。通信障害通知メッセージ1001のデータは、通信障害検知機能103により作成され、図10に示している項目1002〜1008により構成される。このデータ構成例において、1002は当該メッセージの主題、1003は送信先の宛先情報、1004は送信元の宛先情報、1005は経路種別、1006は通信障害の発生日時、1007は通信障害の詳細情報、1008は2度目以前の障害情報との区切り位置を表す文字列である。図10に示すデータ構成例は、メッセージ交換システム101が、(株)A社へメッセージ送信を行い、通信障害が発生した場合に通信障害履歴バッファに保存されるデータ構成例である。
<Communication failure notification message>
FIG. 10 is a diagram showing a data configuration example of the communication failure notification message 1001 stored in the communication failure history buffer by the communication failure detection function 103 of the communication processing unit 102. Here, the communication failure notification message 1001 will be described. The data of the communication failure notification message 1001 is created by the communication failure detection function 103 and includes items 1002 to 1008 shown in FIG. In this data configuration example, 1002 is the subject of the message, 1003 is the destination information of the destination, 1004 is the destination information of the source, 1005 is the route type, 1006 is the date and time of occurrence of the communication failure, 1007 is the detailed information of the communication failure, Reference numeral 1008 denotes a character string indicating a delimiter position from the previous failure information. The data configuration example illustrated in FIG. 10 is a data configuration example stored in the communication failure history buffer when the message exchange system 101 transmits a message to the company A and a communication failure occurs.

通信障害通知メッセージの作成においては、通信相手の受信装置から返された通信障害メッセージからデータを抽出する。   In creating the communication failure notification message, data is extracted from the communication failure message returned from the receiving device of the communication partner.

本発明の一実施形態による通信経路切り替え方法を実施するシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the system which implements the communication path | route switching method by one Embodiment of this invention. 本発明の一実施形態による通信経路切り替え方法を実施するシステムのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the system which implements the communication path switching method by one Embodiment of this invention. メッセージ交換システム101が実行するメッセージ送信の基本的な処理手順の概要を説明するフローチャートである。4 is a flowchart illustrating an outline of a basic processing procedure of message transmission executed by the message exchange system 101. 通信経路選定部の処理動作を説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the processing operation of a communication path selection part. 通信経路選定部の処理動作を説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the processing operation of a communication path selection part. 通信処理部の処理動作を説明するフローチャートある。It is a flowchart explaining the processing operation of a communication processing part. 宛先情報DBのデータ構成例を示す図である。It is a figure which shows the data structural example of destination information DB. 通信経路情報DBのデータ構成例を示す図(その1)である。It is FIG. (1) which shows the data structural example of communication path information DB. 通信経路情報DBのデータ構成例を示す図(その2)である。It is FIG. (2) which shows the data structural example of communication path information DB. 宛先定義ファイルのデータ構成例を示す図である。It is a figure which shows the data structural example of a destination definition file. 通信処理部の通信障害検知機能が通信障害履歴バッファに保存する通信障害通知メッセージのデータ構成例を示す図である。It is a figure which shows the data structural example of the communication failure notification message which the communication failure detection function of a communication processing part preserve | saves in a communication failure log buffer.

符号の説明Explanation of symbols

101 メッセージ交換システム
102 通信処理部
103 通信障害検知機能
104 通信経路選定部
105 データ分割機能
106 画像データ変換機能
107 宛先情報DB
108 通信経路情報DB
109、110 通信手段
121 入力装置
122 出力装置
131、132 ネットワーク
141、142 通信網
201 CPU
202 メモリ
203 ハードディスク装置
204 NIC
205 入力装置
206 出力装置
207 バス
208 ネットワーク
209 外部サーバ
DESCRIPTION OF SYMBOLS 101 Message exchange system 102 Communication processing part 103 Communication failure detection function 104 Communication path selection part 105 Data division function 106 Image data conversion function 107 Destination information DB
108 Communication path information DB
109, 110 Communication means 121 Input device 122 Output device 131, 132 Network 141, 142 Communication network 201 CPU
202 Memory 203 Hard disk device 204 NIC
205 Input device 206 Output device 207 Bus 208 Network 209 External server

Claims (7)

通信回線を介して通信装置と接続され、複数の通信経路で当該通信装置と通信可能なメッセージ交換システムにおけるデータ交換において、通信障害を契機に通信経路を切り替えてデータを送信する通信経路切り替え方法であって、
前記メッセージ交換システムは、処理手段と記憶手段と前記複数の通信経路にそれぞれ対応した複数の通信手段とを備え、
前記記憶手段は、前記通信装置に応じて通信経路の情報を格納し、
前記処理装置は、第1の通信手段を介してデータを前記通信装置に送信し、
前記第1の通信手段が、前記通信装置から通信障害の発生を示す情報を受信した場合に、
前記処理装置は、前記第1の通信手段に対応して前記記憶装置に格納された通信経路のうち、前記第1の通信手段に対応する第1の通信経路と異なる第2の通信経路に切り替え、前記送信したデータを、前記第2の通信経路に適したデータに変換して送信することを特徴とする通信経路切り替え方法。
In a data exchange in a message exchange system that is connected to a communication device via a communication line and can communicate with the communication device through a plurality of communication routes, a communication route switching method that switches data when a communication failure occurs and transmits data There,
The message exchange system includes processing means, storage means, and a plurality of communication means respectively corresponding to the plurality of communication paths,
The storage means stores communication path information according to the communication device,
The processing device transmits data to the communication device via a first communication means,
When the first communication means receives information indicating the occurrence of a communication failure from the communication device,
The processing device switches to a second communication path different from the first communication path corresponding to the first communication means, out of the communication paths stored in the storage device corresponding to the first communication means. A method for switching communication paths, wherein the transmitted data is converted into data suitable for the second communication path and transmitted.
通信回線を介して通信装置と接続され、複数の通信経路で当該通信装置と通信可能なメッセージ交換システムにおけるデータ交換において、通信障害を契機に通信経路を切り替えて送信を行う方法であって、
前記メッセージ交換システムは、処理手段と記憶手段と前記複数の通信経路にそれぞれ対応した複数の通信手段とを備え、
前記記憶手段は、前記通信装置ごと、前記通信経路ごとに、送信可能なデータのサイズの閾値を格納し、
前記処理手段は、第1の通信経路において通信障害が発生したことを検知した場合、
前記処理手段は、送信すべきデータのサイズが前記記憶手段に格納された閾値のうち第2の通信経路に対応する閾値を超えない場合に、当該第2の通信経路に対応する通信手段を介して前記送信すべきデータを送信することを特徴とする、通信経路切り替え方法。
In a data exchange in a message exchange system that is connected to a communication device via a communication line and can communicate with the communication device through a plurality of communication routes, a method of switching the communication route in response to a communication failure,
The message exchange system includes processing means, storage means, and a plurality of communication means respectively corresponding to the plurality of communication paths,
The storage means stores a threshold of the size of data that can be transmitted for each communication device and each communication path,
When the processing means detects that a communication failure has occurred in the first communication path,
If the size of the data to be transmitted does not exceed the threshold value corresponding to the second communication path among the threshold values stored in the storage means, the processing means passes the communication means corresponding to the second communication path. And transmitting the data to be transmitted.
請求項1または請求項2に記載の通信経路切り替え方法において、
前記処理装置は、通信障害が発生したことを検知した場合に、発生した通信障害の内容を示す通信障害情報を前記記憶装置に格納し、
前記第2の通信経路に対応する通信手段を介して、前記通信障害情報を前記通信装置に通知することを特徴とする通信経路切り替え方法。
In the communication path switching method according to claim 1 or 2,
When the processing device detects that a communication failure has occurred, the processing device stores communication failure information indicating the content of the communication failure that has occurred in the storage device,
A communication path switching method, comprising: notifying the communication apparatus of the communication failure information via a communication unit corresponding to the second communication path.
請求項2記載の通信経路切り替え方法において、
前記記憶装置は、さらに前記通信装置ごと、通信経路ごとに前記送信すべきデータを分割して送信できる最大の分割数を格納し、
前記処理装置は、前記記憶装置に格納された通信経路のうち、第2の通信経路及び前記通信装置に対応する最大分割数によって、前記送信すべきデータのサイズを除したものが、前記第2の通信経路及び前記通信装置の前記閾値を超えない場合、前記送信すべきデータを分割して前記第2の通信経路を介して前記通信装置へ送信することを特徴とする通信経路切り替え方法。
The communication path switching method according to claim 2,
The storage device further stores the maximum number of divisions that can be transmitted by dividing the data to be transmitted for each communication device and for each communication path,
The processing device is obtained by dividing the size of the data to be transmitted by the second division of the communication paths stored in the storage device and the maximum number of divisions corresponding to the communication apparatus. When the communication path and the threshold value of the communication apparatus are not exceeded, the data to be transmitted is divided and transmitted to the communication apparatus via the second communication path.
請求項2または請求項4に記載の通信経路切り替え方法において、
前記送信すべきデータは第1のデータ形式で作成されており、
前記処理装置は、前記送信すべきデータを前記第2の通信経路に依存する第2のデータ形式に変換可能と判断した場合に、前記送信すべきデータを前記第2のデータ形式に変換して送信することを特徴とする通信経路切り替え方法。
In the communication path switching method according to claim 2 or 4,
The data to be transmitted is created in a first data format,
When the processing apparatus determines that the data to be transmitted can be converted into the second data format depending on the second communication path, the processing device converts the data to be transmitted into the second data format. A communication path switching method characterized by transmitting.
請求項5に記載の通信経路切り替え方法において、
前記処理装置は、前記送信すべきデータを前記第2のデータ形式に変換した場合に、前記記憶装置に格納された、前記第2の通信経路と前記通信装置に対応する閾値を前記変換後のデータのサイズが超えない場合に、前記送信すべきデータを前記第2のデータ形式に変換可能との判断をすることを特徴とする通信経路切り替え方法。
In the communication path switching method according to claim 5,
When the processing device converts the data to be transmitted into the second data format, the processing device sets the threshold corresponding to the second communication path and the communication device stored in the storage device after the conversion. When the data size does not exceed, it is determined that the data to be transmitted can be converted into the second data format.
通信回線を介して通信装置と複数の通信経路で通信可能に接続され、通信障害を契機に通信経路を切り替えて送信を行うメッセージ交換システムであって、
処理手段と記憶手段と前記複数の通信経路にそれぞれ対応した複数の通信手段とを備え、
第1のデータ形式で作成された送信すべきデータを前記通信装置に送信する第1の通信手段と、
前記通信装置に応じて複数の通信経路の情報を格納する記憶手段と、
前記第1の通信手段が前記通信装置から通信障害の発生を示す情報を受信した場合に、前記第1の通信手段に対応する第1の通信経路と異なる通信経路であって前記記憶装置において前記通信装置と対応付けて格納された第2の通信経路を選択し、前記送信すべきデータを、前記第2の通信経路に適した第2のデータ形式に変換する処理装置と、
前記第2のデータ形式に変換されたデータを送信する第2の通信手段とを備えることを特徴とするメッセージ交換システム。
A message exchange system that is communicably connected to a communication device via a communication line via a plurality of communication paths, and that performs transmission by switching the communication path in response to a communication failure,
Processing means, storage means, and a plurality of communication means respectively corresponding to the plurality of communication paths,
First communication means for transmitting data to be transmitted created in a first data format to the communication device;
Storage means for storing information on a plurality of communication paths according to the communication device;
When the first communication means receives information indicating the occurrence of a communication failure from the communication device, the first communication means is a communication path different from the first communication path corresponding to the first communication means, and the storage device A processing device that selects a second communication path stored in association with a communication device, and converts the data to be transmitted into a second data format suitable for the second communication path;
A message exchange system comprising: second communication means for transmitting data converted into the second data format.
JP2006122873A 2006-04-27 2006-04-27 Message exchange system and communication route switching method Pending JP2007295422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006122873A JP2007295422A (en) 2006-04-27 2006-04-27 Message exchange system and communication route switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006122873A JP2007295422A (en) 2006-04-27 2006-04-27 Message exchange system and communication route switching method

Publications (1)

Publication Number Publication Date
JP2007295422A true JP2007295422A (en) 2007-11-08

Family

ID=38765575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006122873A Pending JP2007295422A (en) 2006-04-27 2006-04-27 Message exchange system and communication route switching method

Country Status (1)

Country Link
JP (1) JP2007295422A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1169126A (en) * 1997-08-19 1999-03-09 Ricoh Co Ltd Communication equipment
JPH11112778A (en) * 1997-10-03 1999-04-23 Ricoh Co Ltd Facsimile equipment provided with electronic mail function
JP2001282609A (en) * 2000-03-29 2001-10-12 Internatl Business Mach Corp <Ibm> Web page acquisition service system, provider, web page acquiring method, storage medium, and program transmitting device
JP2002010017A (en) * 2000-06-22 2002-01-11 Matsushita Graphic Communication Systems Inc Internet facsimile machine and internet facsimile communication method
JP2005252917A (en) * 2004-03-08 2005-09-15 Fujitsu Ltd Received mail processing method, apparatus, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1169126A (en) * 1997-08-19 1999-03-09 Ricoh Co Ltd Communication equipment
JPH11112778A (en) * 1997-10-03 1999-04-23 Ricoh Co Ltd Facsimile equipment provided with electronic mail function
JP2001282609A (en) * 2000-03-29 2001-10-12 Internatl Business Mach Corp <Ibm> Web page acquisition service system, provider, web page acquiring method, storage medium, and program transmitting device
JP2002010017A (en) * 2000-06-22 2002-01-11 Matsushita Graphic Communication Systems Inc Internet facsimile machine and internet facsimile communication method
JP2005252917A (en) * 2004-03-08 2005-09-15 Fujitsu Ltd Received mail processing method, apparatus, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
片桐 明: "モバイル・プロダクト導入ガイダンス Eメールを携帯電話に即転送 迅速なメール対応でビジネスチャンスを", モバイルインターネット, vol. 第2巻,第17号, JPN6008056604, 10 June 2002 (2002-06-10), pages 106 - 109, ISSN: 0001175066 *

Similar Documents

Publication Publication Date Title
US7660009B2 (en) Communication apparatus, transmission program, computer readable medium storing a transmission program, transmission method and communication system for reliably transmitting image data
US6128101A (en) E-mail type facsimile apparatus and E-mail reception method
US8208153B2 (en) Image processing apparatus, function offering method and computer program product
JP2004135249A (en) Electronic mail server device
JP5063423B2 (en) Image input / output device, image input / output method, and job history recording system
JP3401719B2 (en) Image communication device and electronic mail communication method
JP2007295422A (en) Message exchange system and communication route switching method
JP2005318545A (en) Document processing apparatus and document processing method
JP2005094414A (en) Network terminal device
JP2010177958A (en) Image forming system, image forming apparatus, and received fax managing server device
JP3719006B2 (en) Image data processing apparatus and image data processing method
JP2008204052A (en) Network communication system
JP3799260B2 (en) Image reading method, image reading system, control program for image reading system, and storage medium
JP4241645B2 (en) Data transmission device
JP5459360B2 (en) Image processing device
JP4606452B2 (en) Image processing apparatus and user information acquisition method
JP2001186361A (en) Communication equipment, communication system, communication method and storage medium
JP4067478B2 (en) Image processing apparatus and user information acquisition method
US20220174126A1 (en) Data transmitting apparatus, control method thereof, and storage medium
JP2001333246A (en) Internet facsimile equipment and recording medium
JP2002359645A (en) Facsimile server
JP5089741B2 (en) Image processing apparatus and user information transmission method
JP2003264706A (en) Network facsimile apparatus
JP2001331415A (en) Mail device
JP2009093314A (en) E-mail transmitting and receiving system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090630