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
JP7124384B2 - Telegram Assurance System and Telegram Assurance Method - Google Patents
[go: Go Back, main page]

JP7124384B2 - Telegram Assurance System and Telegram Assurance Method - Google Patents

Telegram Assurance System and Telegram Assurance Method Download PDF

Info

Publication number
JP7124384B2
JP7124384B2 JP2018063834A JP2018063834A JP7124384B2 JP 7124384 B2 JP7124384 B2 JP 7124384B2 JP 2018063834 A JP2018063834 A JP 2018063834A JP 2018063834 A JP2018063834 A JP 2018063834A JP 7124384 B2 JP7124384 B2 JP 7124384B2
Authority
JP
Japan
Prior art keywords
message
transmission
request
unit
response
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.)
Active
Application number
JP2018063834A
Other languages
Japanese (ja)
Other versions
JP2019175222A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2018063834A priority Critical patent/JP7124384B2/en
Publication of JP2019175222A publication Critical patent/JP2019175222A/en
Application granted granted Critical
Publication of JP7124384B2 publication Critical patent/JP7124384B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、電文保証システムおよび電文保証方法に関し、特に送信側システムが受信側システムの負荷状況を考慮して保証型の電文送受信を実現する電文保証システムおよび電文保証方法に関する。 The present invention relates to a message guarantee system and a message guarantee method, and more particularly to a message guarantee system and a message guarantee method in which a sending side system realizes guarantee type message transmission/reception in consideration of the load status of a receiving side system.

システム間で電文が送受信される際に送信先への電文の到達を保証する電文保証システムが提案されている。電文到達を保証するための制御は、電文保証システムに含まれる送信側システム、および受信側システムが行う。 A message assurance system has been proposed that guarantees the arrival of messages to the destination when messages are sent and received between systems. The control for guaranteeing message arrival is performed by the transmitting side system and the receiving side system included in the message guarantee system.

電文到達を保証するための制御として、例えば、送信側システムは、送信される電文をデータベース等の記憶領域に保存する。送信先からの応答が受信されたことが確認されるまで、送信側システムは、所定の間隔で保存先から電文を読み込み、読み込まれた電文の再送を繰り返し実行する。 As a control for guaranteeing message arrival, for example, the transmitting side system saves the message to be sent in a storage area such as a database. Until it is confirmed that the response from the transmission destination has been received, the transmission side system reads the electronic message from the storage destination at predetermined intervals and repeatedly executes the retransmission of the read electronic message.

また、上記の送信側システムに対する受信側システムは、再送された電文も含めて受信された電文が二重に送信されているか否かを検査する二重送信検査と、受信された電文に対する応答電文の送信を行う。 In addition, the receiving side system for the above transmitting side system performs a double transmission check to check whether or not the received message including the resent message is duplicated, and a response message to the received message. is sent.

上記の電文到達を保証するための制御方式では、受信側システムが送信側システムから要求電文を受信する。また、業務アプリケーション(以下、業務APという。)処理が実行されている間、送信側システムは、応答電文が受信されたことが確認されるまで、要求電文の再送を繰り返し実行する。 In the above-described control method for guaranteeing message arrival, the receiving side system receives the request message from the sending side system. Further, while the business application (hereinafter referred to as business AP) processing is being executed, the transmitting system repeatedly retransmits the request message until it is confirmed that the response message has been received.

要求電文の再送が繰り返されると、受信側システムが、再送された要求電文を何度も受信することによって高負荷状態に陥る恐れがある。よって、応答電文を受信する送信側システムの状況も踏まえられた上で、受信側システムにおいて電文の二重送信検査が適切な頻度で実行されることが求められる。 Repeated resending of the request message may cause the receiving system to receive the resent request message many times, resulting in a high load state. Therefore, it is required that the reception side system checks for double transmission of messages at an appropriate frequency, taking into consideration the situation of the transmission side system that receives the response message.

受信側システムが高負荷状態に陥ることを防ぐ保証型の電文送受信システムがある。保証型の電文送受信システムでは、送信側システムから送信された要求電文に対して受信側システムが受け付けたことを示す応答電文を返すまで、送信側システムが要求電文を再送する。 There is a guaranteed message transmission/reception system that prevents the receiving system from falling into a high load state. In the guarantee type message transmission/reception system, the sending side system resends the request message until the receiving side system returns a response message indicating acceptance of the request message sent from the sending side system.

上記の保証型の電文送受信システムにおける受信側システムは、要求電文を受け付け、要求電文に対する処理を開始したタイミングで、送信側システムに対して要求電文が受け付けられたことを示す応答電文を返す。 The receiving side system in the guarantee type message transmitting/receiving system receives a request message and returns a response message indicating that the request message has been received to the sending side system at the timing of starting processing for the request message.

よって、受信側システムが要求電文に対する処理を開始した後でも実行される予定であった送信側システムからの要求電文の無駄な再送が停止される。要求電文の無駄な再送が停止されることによって、送信側システムと受信側システムの間の通信量の増加が抑止される。また、送信側システムの要求電文の再送による受信側システムの負荷の上昇が抑止される。 Therefore, useless retransmission of the request message from the transmission side system, which was scheduled to be executed even after the reception side system started processing the request message, is stopped. By stopping useless resending of the request message, an increase in communication traffic between the transmitting side system and the receiving side system is suppressed. Also, an increase in the load on the receiving system due to retransmission of the request message from the transmitting system is suppressed.

特許文献1~特許文献2には、保証型の電文送受信に関する技術が記載されている。特許文献1には、ネットワーク障害等により要求電文が遅延し、応答電文の削除処理後に要求電文を受信した際には二重処理が発生するという問題点を解決する高信頼な分散処理システムにおけるトランザクション処理制御方式が記載されている。 Patent Documents 1 and 2 describe techniques related to guaranteed message transmission/reception. Patent Document 1 describes a transaction in a highly reliable distributed processing system that solves the problem of double processing when a request message is delayed due to a network failure or the like and a request message is received after the response message has been deleted. A process control scheme is described.

また、特許文献2には、伝送制御手順での電文保証とは別にプロセッサ内に送受信する電文の正常性を確認する正常性監視ソフトウェア部を備え、複数のプロセッサ間の相互通信での信頼性を向上させた電文保証方法が記載されている。 In addition, in Patent Document 2, a normality monitoring software unit that checks the normality of messages sent and received in the processor is provided separately from the message guarantee in the transmission control procedure, and the reliability in mutual communication between multiple processors is provided. An improved message assurance method is described.

また、特許文献3には、トランザクションをリトライするまでの待ち時間であるディレイドタイムの値をデバイスアクセスに要する時間に応じて動的に設定できるようにし、リトライによる無駄なバスアクセスの発生を低減することが可能なコンピュータシステムが記載されている。 In addition, in Patent Document 3, it is possible to dynamically set the value of the delayed time, which is the waiting time until a transaction is retried, according to the time required for device access, thereby reducing the occurrence of useless bus accesses due to retries. A computer system capable of

また、特許文献4には、受信ノードの能力に応じて再送を行うことによって、無駄な再送を行うことによる処理の遅延や消費電力の増加を防ぐとともに、例えばバスリセットによる再接続の際に要求再送待ち時間の再設定を不要とすることができる通信装置が記載されている。 Further, in Patent Document 4, retransmission is performed according to the capability of the receiving node to prevent processing delay and increase in power consumption due to useless retransmission. A communication device is described that can eliminate the need to reset a retransmission wait time.

特開2003-150465号公報JP 2003-150465 A 特開平05-120178号公報JP-A-05-120178 特開平10-269169号公報JP-A-10-269169 特開2001-127825号公報JP 2001-127825 A

しかし、上記の保証型の電文送受信システムにおいても、受信側システムが要求電文を受け付けたことを示す応答電文を返す段階で受信側システムの業務APが高負荷状態に陥っていることによって、要求電文への応答処理が遅延する可能性がある。 However, even in the guaranteed-type message transmission/reception system described above, the request message may response processing may be delayed.

また、要求電文に対する処理結果を示す応答電文の送信が障害等により中断され、送信側システムによる要求電文の再送が行われると、再送による通信量の増加の抑止効果が削減される。 In addition, if the transmission of the response message indicating the processing result for the request message is interrupted due to a failure or the like and the request message is resent by the sending system, the effect of suppressing the increase in communication traffic due to resending is reduced.

よって、応答電文の受信状況に応じて送信側システムが業務APからの要求電文の再送を適切に実行でき、受信側システムが低負荷状態で応答処理を実行できる電文保証システムが求められている。 Therefore, there is a demand for a message assurance system that allows the sending side system to appropriately resend the request message from the business AP according to the reception status of the response message, and allows the receiving side system to execute the response processing in a low load state.

特許文献1に記載されているトランザクション処理制御方式は、受信された電文が示す要求の処理を行う受信側システムに対して、送信側システムの業務APが応答電文の分析中の状態であっても要求電文を再送してしまう。すなわち、特許文献1に記載されているトランザクション処理制御方式は、送信側システムの応答電文の受信状況に応じて要求電文の再送を適切に実行することが困難である。 In the transaction processing control method described in Patent Document 1, even if the business application of the sending system is in the state of analyzing the response message to the receiving side system that processes the request indicated by the received message, The request message is resent. That is, with the transaction processing control method described in Patent Document 1, it is difficult to appropriately resend the request message according to the reception status of the response message at the transmission side system.

また、特許文献2に記載されている電文保証方法を行う複数のプロセッサには、受信された要求電文に対する処理が二重で行われていないか否かを検査する仕組みが設けられていない。また、特許文献2に記載されている複数のプロセッサは、要求電文が受信される度に応答電文を生成する。すなわち、特許文献2に記載されている複数のプロセッサは再送された要求電文が受信された時にも同一の応答電文を生成するため、応答処理が冗長になる。 In addition, the plurality of processors that perform the message assurance method described in Patent Document 2 are not provided with a mechanism for checking whether or not the received request messages are being processed redundantly. Also, the plurality of processors described in Patent Literature 2 generates a response message each time a request message is received. That is, the plurality of processors described in Patent Document 2 generate the same response message even when a resent request message is received, resulting in redundant response processing.

[発明の目的]
そこで、本発明は、上述した課題を解決する、受信側システムの負荷を高めずに電文を再送できる電文保証システムおよび電文保証方法を提供することを目的とする。
[Purpose of Invention]
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a message assurance system and message assurance method capable of retransmitting a message without increasing the load on the receiving system.

本発明による電文保証システムは、送信側システムと、受信側システムとを含む電文保証システムであって、送信側システムは、任意の要求を示す電文である要求電文を受信側システムに送信する第1送信部と、所定の条件を満たす要求電文を受信側システムに再度送信する再送部とを有し、受信側システムは、受信側システムの負荷状況を示す情報を基に、送信側システムから送信された要求電文が示す要求に対する処理が完了する予定時刻を計算する計算部と、送信された要求電文の受信が完了したことと、計算された予定時刻とを示す電文である受信電文を送信側システムに送信する第2送信部を有し、所定の条件は、要求電文に対応する受信電文が示す予定時刻を現在時刻が過ぎていることであることを特徴とする。 A message assurance system according to the present invention is a message assurance system including a transmission side system and a reception side system, wherein the transmission side system transmits a request message, which is a message indicating an arbitrary request, to the reception side system. It has a transmitting unit and a retransmitting unit that retransmits a request message that satisfies a predetermined condition to the receiving system. A transmitting side system receives a received message that is a message that indicates the completion of receiving the transmitted request message and the calculated scheduled time. and the predetermined condition is that the current time has passed the scheduled time indicated by the received message corresponding to the request message.

本発明による電文保証方法は、送信側システムと、受信側システムとを含む電文保証システムにおいて実行される電文保証方法であって、送信側システムは、任意の要求を示す電文である要求電文を受信側システムに送信し、所定の条件を満たす要求電文を受信側システムに再度送信し、受信側システムは、受信側システムの負荷状況を示す情報を基に、送信側システムから送信された要求電文が示す要求に対する処理が完了する予定時刻を計算し、送信された要求電文の受信が完了したことと、計算された予定時刻とを示す電文である受信電文を送信側システムに送信し、所定の条件は、要求電文に対応する受信電文が示す予定時刻を現在時刻が過ぎていることであることを特徴とする。 A message assurance method according to the present invention is a message assurance method executed in a message assurance system including a transmitting side system and a receiving side system, wherein the transmitting side system receives a request message which is a message indicating an arbitrary request. The request message that satisfies the specified conditions is sent to the system on the receiving side, and the request message that satisfies the predetermined conditions is sent to the system on the receiving side again . Calculate the scheduled time for completion of processing for the request indicated, and send a received message, which is a message indicating that the reception of the transmitted request message has been completed, and the calculated scheduled time, to the sending system, and meet the predetermined conditions is that the current time has passed the scheduled time indicated by the received message corresponding to the request message.

本発明によれば、受信側システムの負荷を高めずに電文を再送できる。 According to the present invention, messages can be resent without increasing the load on the receiving system.

本発明による電文保証システムの第1の実施形態の構成例を示すブロック図である。1 is a block diagram showing a configuration example of a first embodiment of a message assurance system according to the present invention; FIG. 本実施形態における既定の電文フォーマットの例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of a default electronic message format in this embodiment; 送信電文情報記憶部180に記憶されている送信電文情報の例を示す説明図である。4 is an explanatory diagram showing an example of transmission message information stored in a transmission message information storage unit 180; FIG. 本実施形態における受信応答電文の電文フォーマットの例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of a message format of a reception response message in this embodiment; 応答電文情報記憶部230に記憶されている応答電文情報の例を示す説明図である。4 is an explanatory diagram showing an example of response message information stored in a response message information storage unit 230; FIG. 第1の実施形態の要求電文送信部120による要求電文送信処理の動作を示すフローチャートである。4 is a flowchart showing operation of request message transmission processing by a request message transmission unit 120 of the first embodiment; 第1の実施形態の二重送信判定部130による送信判定処理の動作を示すフローチャートである。7 is a flowchart showing operations of transmission determination processing by the double transmission determination unit 130 of the first embodiment; 第1の実施形態の応答電文送信部220による応答電文送信処理の動作を示すフローチャートである。4 is a flow chart showing operation of response message transmission processing by a response message transmission unit 220 according to the first embodiment; 第1の実施形態の処理完了見込時刻計算部240による処理完了見込時刻計算処理の動作を示すフローチャートである。7 is a flowchart showing the operation of an expected process completion time calculation process by an expected process completion time calculator 240 according to the first embodiment; 第1の実施形態の応答処理部160による応答電文受信処理の動作を示すフローチャートである。4 is a flowchart showing the operation of response message reception processing by the response processing unit 160 of the first embodiment; 第1の実施形態の業務応答処理部170による業務応答処理の動作を示すフローチャートである。6 is a flow chart showing the operation of business response processing by the business response processing unit 170 of the first embodiment; 第1の実施形態の再送処理部140による要求電文再送処理の動作を示すフローチャートである。4 is a flowchart showing operation of request message retransmission processing by a retransmission processing unit 140 according to the first embodiment; 第1の実施形態の再送判定部150による送信判定処理の動作を示すフローチャートである。4 is a flowchart showing operations of transmission determination processing by a retransmission determination unit 150 of the first embodiment; 本発明による送信側システムのハードウェア構成例を示す説明図である。FIG. 4 is an explanatory diagram showing a hardware configuration example of a transmission side system according to the present invention; 本発明による受信側システムのハードウェア構成例を示す説明図である。FIG. 4 is an explanatory diagram showing a hardware configuration example of a receiving system according to the present invention; 本発明による電文保証システムの概要を示すブロック図である。1 is a block diagram showing an overview of a telegraphic guarantee system according to the present invention; FIG.

実施形態1.
[構成の説明]
以下、本発明の実施形態を、図面を参照して説明する。図1は、本発明による電文保証システムの第1の実施形態の構成例を示すブロック図である。
Embodiment 1.
[Description of configuration]
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a first embodiment of a message assurance system according to the present invention.

図1に示すように、本実施形態の電文保証システム10は、送信側システム100と、受信側システム200とを含む。本実施形態の電文保証システム10では、送信側システム100と受信側システム200との間で電文が送受信される。 As shown in FIG. 1, the electronic message assurance system 10 of this embodiment includes a transmitting side system 100 and a receiving side system 200 . In the electronic message assurance system 10 of this embodiment, electronic messages are transmitted and received between the transmitting side system 100 and the receiving side system 200 .

本実施形態の受信側システム200は、送信側システム100から送信された要求電文を受信する。次いで、受信側システム200は、受信された要求電文が示す要求に対する処理が完了する時刻を予測する。 The receiver system 200 of this embodiment receives the request message sent from the sender system 100 . Next, the receiving system 200 predicts the time when the processing for the request indicated by the received request message will be completed.

送信側システム100に要求電文が受信されたことを示す応答電文を返す際、受信側システム200は、処理が完了する見込の時刻を示す情報を、返却する応答電文に加える。送信側システム100は、返却された応答電文が示す処理が完了する見込の時刻の後に、要求電文を受信側システム200に再送する。 When returning a response message indicating that the request message has been received to the transmitting side system 100, the receiving side system 200 adds information indicating the estimated time of completion of processing to the returned response message. The transmitting side system 100 resends the request message to the receiving side system 200 after the expected completion time of the processing indicated by the returned response message.

上記の構成により、送信側システム100と受信側システム200との間の通信量が削減される。また、受信側システム200において、低負荷状態で要求に対する処理の実行と、業務応答の返却が可能になる。 With the above configuration, the amount of communication between the transmitting side system 100 and the receiving side system 200 is reduced. In addition, in the receiving system 200, it becomes possible to execute processing for requests and return business responses in a low-load state.

本実施形態の電文保証システム10は、電文の送受信処理における受信された電文の重複確認から応答電文の送信までを総合的に保証できるシステムである。なお、本実施形態の電文保証システム10において、送信側システム100の業務APと受信側システム200の業務APとの間で授受される電文の形式は、特に限定されない。 The electronic message assurance system 10 of the present embodiment is a system that can comprehensively guarantee everything from confirmation of duplication of received electronic messages in electronic message transmission/reception processing to transmission of response electronic messages. In the electronic message guarantee system 10 of the present embodiment, the format of the electronic message exchanged between the business AP of the transmitting system 100 and the business AP of the receiving system 200 is not particularly limited.

以下、各構成要素の機能をそれぞれ説明する。図1に示すように、送信側システム100は、送信側業務AP110と、要求電文送信部120と、二重送信判定部130と、再送処理部140と、再送判定部150と、応答処理部160と、業務応答処理部170と、送信電文情報記憶部180とを有する。 The function of each component will be described below. As shown in FIG. 1, the transmitting side system 100 includes a transmitting side business AP 110, a request message transmitting section 120, a double transmission determination section 130, a retransmission processing section 140, a retransmission determination section 150, and a response processing section 160. , a business response processing unit 170 , and a transmission message information storage unit 180 .

また、図1に示すように、受信側システム200は、受信側業務AP210と、応答電文送信部220と、応答電文情報記憶部230と、処理完了見込時刻計算部240とを有する。 Further, as shown in FIG. 1 , the receiver system 200 includes a receiver business AP 210 , a response message transmission unit 220 , a response message information storage unit 230 , and an expected processing completion time calculation unit 240 .

なお、ブロック図に記載されている単方向の矢印は、データ(情報)が流れる方向を示す。しかし、各矢印が記載されている箇所において双方向にデータが流れる可能性は排除されていない。 The unidirectional arrows shown in the block diagrams indicate the direction in which data (information) flows. However, the possibility of bi-directional data flow at the locations indicated by the respective arrows is not excluded.

最初に、送信側システム100の各構成要素の機能を説明する。送信側業務AP110は、受信側システム200の受信側業務AP210に対して要求を発行するアプリケーションである。 First, the function of each component of the sender system 100 will be described. The sending side business AP 110 is an application that issues a request to the receiving side business AP 210 of the receiving side system 200 .

要求電文送信部120は、要求電文を生成する機能を有する。要求電文送信部120は、送信側業務AP110から呼び出された後、既定の電文フォーマットに従って要求電文を生成する。 The request message transmission unit 120 has a function of generating a request message. The request message sending unit 120 generates a request message in accordance with a predetermined message format after being called by the sending-side business AP 110 .

要求電文を生成した後、要求電文送信部120は、二重送信判定部130に電文送信の可否の判定を依頼する。電文送信が可能であると判定された場合、要求電文送信部120は、送信電文情報記憶部180に送信対象の要求電文の送信電文情報を格納する。格納した後、要求電文送信部120は、要求電文を送信する。 After generating the request message, the request message transmission unit 120 requests the double transmission determination unit 130 to determine whether message transmission is possible. When it is determined that the message can be transmitted, the request message transmission unit 120 stores the transmission message information of the request message to be transmitted in the transmission message information storage unit 180 . After storing, the request message transmitting unit 120 transmits the request message.

また、電文送信が不可であると判定された場合、要求電文送信部120は、生成された要求電文を破棄し、送信処理を終了する。 On the other hand, when it is determined that the electronic message cannot be transmitted, the request electronic message transmitting unit 120 discards the generated request electronic message and terminates the transmission process.

図2は、本実施形態における既定の電文フォーマットの例を示す説明図である。図2に示すように、電文フォーマットは、電文区分と、電文IDと、業務処理結果と、ユーザ電文本体とで構成されている。 FIG. 2 is an explanatory diagram showing an example of a default electronic message format in this embodiment. As shown in FIG. 2, the message format consists of message classification, message ID, business processing result, and user message body.

電文区分は、電文の種類を示す。電文区分には、「要求」、「受信応答」、または「業務応答」のいずれかが設定される。 The message category indicates the type of message. Any one of "request", "receipt response", or "business response" is set in the message classification.

電文IDは、各要求電文を一意に識別するためのIDである。電文IDには、要求電文の生成された順番を示す番号が設定される。 The message ID is an ID for uniquely identifying each request message. The message ID is set with a number indicating the order in which the request messages were generated.

また、業務処理結果は、業務APによる要求に対する処理の結果を示す。業務処理結果には、「OK」または「NG」のいずれかが設定される。また、電文の生成に求められるユーザ電文本体は、送信側業務AP110が要求電文送信部120に入力する。 Further, the business processing result indicates the result of processing the request by the business AP. Either "OK" or "NG" is set in the business process result. Also, the body of the user message required to generate the message is input to the request message transmission unit 120 by the transmitting side business AP 110 .

図3は、送信電文情報記憶部180に記憶されている送信電文情報の例を示す説明図である。図3に示すように、送信電文情報は、電文IDと、電文本体と、送信可否と、次回送信時刻とで構成されている。 FIG. 3 is an explanatory diagram showing an example of transmitted message information stored in the transmitted message information storage unit 180. As shown in FIG. As shown in FIG. 3, the transmitted telegram information is composed of a telegram ID, the body of the telegram, whether or not it can be transmitted, and the next transmission time.

電文IDと電文本体はそれぞれ、図2に示す電文フォーマットの電文IDとユーザ電文本体である。また、送信可否は、電文IDが示す要求電文の送信可否の判定結果を示す情報である。また、次回送信時刻は、電文IDが示す要求電文が再送される予定時刻である。 The message ID and the message body are the message ID and the user message body of the message format shown in FIG. 2, respectively. Further, the transmittability is information indicating the determination result of the transmittability of the request message indicated by the message ID. The next transmission time is the scheduled time at which the request message indicated by the message ID will be resent.

送信電文情報記憶部180に記憶されている送信電文情報は、要求電文の送信の制御に用いられる。記憶されている送信電文情報は、後述する再送処理部140が要求電文の再送時に読み込む。 The transmission message information stored in the transmission message information storage unit 180 is used for controlling the transmission of the request message. The stored transmission telegram information is read by the retransmission processing unit 140, which will be described later, when retransmitting the request telegram.

二重送信判定部130は、要求電文の送信可否を判定する機能を有する。二重送信判定部130の呼び出し元は、二重送信判定部130に判定対象の要求電文を入力する。 The double transmission determination unit 130 has a function of determining whether or not the request message can be transmitted. The caller of the double transmission determination unit 130 inputs the request message to be determined to the double transmission determination unit 130 .

二重送信判定部130は、送信電文情報記憶部180に記憶されている送信電文情報の電文IDのうち、判定対象の要求電文の電文IDよりも番号が小さい電文IDを有する全ての送信電文情報の電文本体と、判定対象の要求電文のユーザ電文本体とを比較する。 The double transmission determination unit 130 determines all transmission message information having message IDs smaller than the message ID of the request message to be determined among the message IDs of the transmission message information stored in the transmission message information storage unit 180. is compared with the user message body of the request message to be determined.

ユーザ電文本体と同一の電文本体が発見されれば、二重送信判定部130は、「送信不可」を送信判定結果として呼び出し元に返却する。また、全ての電文本体がユーザ電文本体と異なれば、二重送信判定部130は、「送信可能」を送信判定結果として呼び出し元に返却する。 If the same electronic message body as the user electronic message body is found, the double transmission determination unit 130 returns "transmittable" as a transmission determination result to the caller. Also, if all message bodies are different from the user message body, the double transmission determination unit 130 returns “transmittable” as a transmission determination result to the caller.

要求電文送信部120が同一の要求電文を複数回送信する場合、1通目の要求電文の応答の確認が未完了のうちに2通目の要求電文が送信されると、受信側システム200に余計な負荷がかかる。よって、二重送信判定部130は、判定対象の要求電文のユーザ電文本体と同一の電文本体が送信電文情報記憶部180に記憶されていれば、送信判定結果として「送信不可」を返却する。 When the request message transmitting unit 120 transmits the same request message multiple times, if the second request message is sent before the confirmation of the response to the first request message is completed, the receiving system 200 Excessive load. Therefore, if the same message body as the user message body of the request message to be determined is stored in the transmission message information storage unit 180, the double transmission determination unit 130 returns "transmittable" as the transmission determination result.

再送処理部140は、送信側システム100が起動した時点から受信側システム200からの応答が未確認の要求電文の送信電文情報を所定の間隔で送信電文情報記憶部180から読み込み、読み込まれた送信電文情報に対応する要求電文を送信する機能を有する。 The retransmission processing unit 140 reads the transmission message information of the request message for which the response from the receiving system 200 has not yet been confirmed from the time when the transmission side system 100 is activated, from the transmission message information storage unit 180 at predetermined intervals, and reads the read transmission message. It has a function to send a request message corresponding to information.

再送処理部140は、要求電文を送信する前に再送判定部150に送信可否の判定を依頼する。判定を依頼する際、再送処理部140は、判定対象の要求電文の送信電文情報を再送判定部150に入力する。 The retransmission processing unit 140 requests the retransmission determination unit 150 to determine whether transmission is possible before transmitting the request message. When requesting the determination, the retransmission processing unit 140 inputs the transmission message information of the request message to be determined to the retransmission determination unit 150 .

再送判定部150による判定結果が「送信可能」であれば、再送処理部140は、要求電文を再送する。また、再送判定部150による判定結果が「送信不可」であれば、再送処理部140は、要求電文を再送しない。 If the determination result by the retransmission determination unit 150 is “transmittable”, the retransmission processing unit 140 retransmits the request message. Further, if the determination result by the retransmission determination unit 150 is "transmittable", the retransmission processing unit 140 does not retransmit the request message.

再送判定部150は、要求電文の再送可否を判定する機能を有する。再送判定部150は、現在の時刻が入力された送信電文情報の次回送信時刻を過ぎている場合に、要求電文を「送信可能」と判定する。また、再送判定部150は、現在の時刻が入力された送信電文情報の次回送信時刻を過ぎていない場合に、要求電文を「送信不可」と判定する。 The retransmission determination unit 150 has a function of determining whether or not the request message can be retransmitted. The retransmission determination unit 150 determines that the request message is “transmittable” when the current time has passed the next transmission time of the input transmission message information. Further, the retransmission determination unit 150 determines that the request message is “transmittable” when the current time has not passed the next transmission time of the input transmission message information.

応答処理部160は、受信側システム200から返却される2種類の応答電文を受信し、受信された各々の応答電文に応じた処理を行う機能を有する。 The response processing unit 160 has a function of receiving two types of response messages returned from the receiver system 200 and performing processing according to each of the received response messages.

1つ目の応答電文は、要求電文の受信を契機に受信側システム200から返却される受信応答電文である。受信応答電文を受信した応答処理部160は、要求電文の再送を停止させるために、受信応答電文の電文IDを含む送信電文情報の次回送信時刻を、受信応答電文の処理見込時刻に更新する。 The first response message is a reception response message returned from the receiving system 200 upon receipt of the request message. The response processing unit 160 that has received the reception response message updates the next transmission time of the transmission message information including the message ID of the reception response message to the expected processing time of the reception response message in order to stop retransmission of the request message.

図4は、本実施形態における受信応答電文の電文フォーマットの例を示す説明図である。図4に示すように、受信応答電文の電文フォーマットは、電文区分と、電文IDと、処理見込時刻とで構成されている。 FIG. 4 is an explanatory diagram showing an example of a message format of a reception response message in this embodiment. As shown in FIG. 4, the message format of the reception response message consists of a message category, a message ID, and an estimated processing time.

受信応答電文の電文区分には、「受信応答」が設定される。また、受信応答電文の電文IDには、要求電文の電文IDが設定される。また、受信応答電文の処理見込時刻には、要求電文が示す要求に対する処理が完了する見込の時刻が設定される。 "Received response" is set in the message category of the received response message. The message ID of the request message is set in the message ID of the received response message. In addition, the expected processing time for the request indicated by the request message is set as the expected processing time of the received response message.

2つ目の応答電文は、受信側業務AP210による業務処理結果を含む業務応答電文である。業務応答電文の電文フォーマットは、図2に示す電文フォーマットである。業務応答電文を受信した応答処理部160は、業務応答処理部170に受信された業務応答電文を入力する。 The second response message is a business response message including the business processing result by the reception-side business AP 210 . The message format of the business response message is the message format shown in FIG. The response processing unit 160 that has received the business response message inputs the received business response message to the business response processing unit 170 .

業務応答処理部170は、入力された業務応答電文の電文IDを含む送信電文情報を送信電文情報記憶部180から削除する。削除した後、業務応答処理部170は、送信側業務AP110を呼び出す。 The business response processing unit 170 deletes the transmission message information including the message ID of the input business response message from the transmission message information storage unit 180 . After deleting, the business response processing unit 170 calls the sender business AP 110 .

次に、受信側システム200の各構成要素の機能を説明する。受信側業務AP210は、受信された要求電文が示す要求に対する業務処理を行う機能を有する。 Next, the function of each component of the receiver system 200 will be described. The reception-side business AP 210 has a function of performing business processing for the request indicated by the received request message.

応答電文送信部220は、要求電文を受信し、要求電文を受信したことを示す受信応答電文を送信する機能を有する。応答電文送信部220は、受信された電文の電文区分に「要求」が設定されている場合、受信された電文が要求電文であると確認する。 The response message transmission unit 220 has a function of receiving a request message and transmitting a reception response message indicating that the request message has been received. The response message transmission unit 220 confirms that the received message is a request message when the message classification of the received message is set to "request".

また、応答電文送信部220は、二重処理が行われているか否かの検査、受信側業務AP210の呼び出し、および業務処理結果を示す業務応答電文の返却を行う。 The response message sending unit 220 also checks whether or not double processing is being performed, calls the receiving-side business AP 210, and returns a business response message indicating the result of the business processing.

業務応答電文を返却する際、応答電文送信部220は、応答電文情報記憶部230に記憶されている応答電文情報のうち、要求電文の電文IDを含む応答電文情報を検索する。図5は、応答電文情報記憶部230に記憶されている応答電文情報の例を示す説明図である。図5に示すように、応答電文情報は、電文IDと、応答電文本体とで構成されている。 When returning the business response message, the response message transmission unit 220 searches the response message information stored in the response message information storage unit 230 for response message information including the message ID of the request message. FIG. 5 is an explanatory diagram showing an example of response message information stored in the response message information storage unit 230. As shown in FIG. As shown in FIG. 5, the response message information consists of a message ID and a response message body.

応答電文情報は、送信側システム100に返却される業務応答電文の情報である。電文IDには、対応する要求電文の電文IDが設定される。また、応答電文本体には、業務処理結果の内容が設定される。 The response message information is information of a business response message returned to the transmission side system 100 . The message ID is set to the message ID of the corresponding request message. In addition, the content of the business processing result is set in the body of the response message.

既に受信側業務AP210が業務処理を実行済みの要求電文を受信した場合、応答電文送信部220は、応答電文情報記憶部230から要求電文の電文IDを含む応答電文情報を読み込む。次いで、応答電文送信部220は、読み込まれた応答電文情報を基に業務応答電文を生成し、生成された業務応答電文を送信側システム100に返却する。 When the reception-side business AP 210 receives a request message for which business processing has already been executed, the response message transmission unit 220 reads response message information including the message ID of the request message from the response message information storage unit 230 . Next, the response message transmitting unit 220 generates a business response message based on the read response message information, and returns the generated business response message to the transmission side system 100 .

また、応答電文送信部220は、業務応答電文を生成した後、生成された業務応答電文の応答電文情報を応答電文情報記憶部230に格納する。 After generating the business response message, the response message transmission unit 220 stores the response message information of the generated business response message in the response message information storage unit 230 .

また、応答電文送信部220は、受信側システム200で二重処理が行われているか否かの検査も、応答電文情報記憶部230に記憶されている応答電文情報に基づいて行う。 The response message transmission unit 220 also checks whether double processing is being performed in the receiving system 200 based on the response message information stored in the response message information storage unit 230 .

要求電文の電文IDを含む応答電文情報が記憶されていなければ、応答電文送信部220は、受信された要求電文を初めて受信された要求電文と判断する。次いで、応答電文送信部220は、受信側業務AP210、および処理完了見込時刻計算部240をそれぞれ呼び出す。 If the response message information including the message ID of the request message is not stored, the response message sending unit 220 determines that the received request message is the first request message. Next, the response message transmission unit 220 calls the reception side business AP 210 and the expected processing completion time calculation unit 240 respectively.

処理完了見込時刻計算部240は、受信された要求電文のサイズや受信側システム200の負荷状況等に基づいて、要求電文が示す要求に対する業務処理の処理完了見込時刻を計算する機能を有する。処理完了見込時刻計算部240は、計算された処理完了見込時刻を呼び出し元に返却する。 The estimated processing completion time calculation unit 240 has a function of calculating the estimated processing completion time of the task processing for the request indicated by the request message based on the size of the received request message, the load condition of the receiving system 200, and the like. The estimated processing completion time calculator 240 returns the calculated estimated processing completion time to the caller.

応答電文送信部220は、受信応答電文に電文IDと処理完了見込時刻とを記録し、受信応答電文を送信側システム100に送信する。受信応答電文を送信した後、応答電文送信部220は、受信側業務AP210による業務処理結果を用いて業務応答電文を生成する。 The response message transmission unit 220 records the message ID and the estimated processing completion time in the received response message, and transmits the received response message to the transmission side system 100 . After transmitting the reception response message, the response message transmission unit 220 generates a business response message using the business processing result by the reception-side business AP 210 .

次いで、応答電文送信部220は、生成された業務応答電文を送信側システム100に返却する。なお、受信された要求電文に対する応答電文情報が応答電文情報記憶部230に記憶されていれば、応答電文送信部220は、既に処理済みの要求電文であるとして、業務応答電文だけを返却してもよい。 Next, the response message sending unit 220 returns the generated business response message to the sending system 100 . If the response message information for the received request message is stored in the response message information storage unit 230, the response message transmission unit 220 determines that the request message has already been processed, and returns only the business response message. good too.

[動作の説明]
以下、本実施形態の電文保証システム10の動作を、図6~図13に示すフローチャートを参照して説明する。
[Explanation of operation]
The operation of the electronic message assurance system 10 of this embodiment will be described below with reference to the flow charts shown in FIGS. 6 to 13. FIG.

最初に、本実施形態の送信側システム100の送信側業務AP110が要求電文送信部120に要求電文の送信を依頼した際に行われる要求電文送信処理の動作を図6を参照して説明する。図6は、第1の実施形態の要求電文送信部120による要求電文送信処理の動作を示すフローチャートである。 First, the operation of request message transmission processing performed when the transmission side business AP 110 of the transmission side system 100 of this embodiment requests the request message transmission unit 120 to transmit a request message will be described with reference to FIG. FIG. 6 is a flowchart showing the operation of request message transmission processing by the request message transmission unit 120 of the first embodiment.

送信側業務AP110は、要求電文送信部120にユーザ電文本体を入力する(ステップS101)。送信側業務AP110から呼ばれた要求電文送信部120は、図2に示す電文フォーマットに従って要求電文を生成する(ステップS102)。 The sending-side business AP 110 inputs the body of the user message to the request message sending unit 120 (step S101). The request message sending unit 120 called from the sending-side business AP 110 generates a request message according to the message format shown in FIG. 2 (step S102).

要求電文送信部120は、生成される要求電文の電文区分に「要求」を、電文IDには電文の送受信処理における一意の値をそれぞれ設定する。また、要求電文送信部120は、生成される要求電文のユーザ電文本体に、送信側業務AP110から入力された電文本体を設定する。 The request message transmission unit 120 sets “request” to the message category of the generated request message, and sets a unique value in the message transmission/reception processing to the message ID. Further, the request message transmission unit 120 sets the message body input from the sending-side business application 110 to the user message body of the generated request message.

次いで、要求電文送信部120は、ステップS102で生成された要求電文が送信可能であるか否かの判定を二重送信判定部130に依頼する(ステップS103)。二重送信判定部130は、要求電文が送信可能であるか否かを示す送信判定結果を要求電文送信部120に返却する。 Next, the request message transmission unit 120 requests the double transmission determination unit 130 to determine whether or not the request message generated in step S102 can be transmitted (step S103). The double transmission determination unit 130 returns to the request message transmission unit 120 a transmission determination result indicating whether or not the request message can be transmitted.

返却された送信判定結果が「送信不可」を示す場合(ステップS104におけるNo)、要求電文送信部120は、生成された要求電文を送信せずに、要求電文送信処理を終了する。 If the returned transmission determination result indicates "transmittable" (No in step S104), the request message transmission unit 120 ends the request message transmission process without transmitting the generated request message.

返却された送信判定結果が「送信可能」を示す場合(ステップS104におけるYes)、要求電文送信部120は、生成された要求電文の送信電文情報を送信電文情報記憶部180に格納する(ステップS105)。格納される送信電文情報の送信可否には、ステップS103で返却された送信判定結果の内容が設定される。 When the returned transmission determination result indicates "transmittable" (Yes in step S104), the request message transmission unit 120 stores the transmission message information of the generated request message in the transmission message information storage unit 180 (step S105). ). The content of the transmission determination result returned in step S103 is set as the transmittability of the stored transmission message information.

送信電文情報の格納が完了した後、要求電文送信部120は、生成された要求電文を送信する(ステップS106)。要求電文を送信した後、要求電文送信部120は、要求電文送信処理を終了する。 After the storage of the transmission message information is completed, the request message transmission unit 120 transmits the generated request message (step S106). After transmitting the request message, the request message sending unit 120 ends the request message sending process.

次に、ステップS103で要求電文送信部120が二重送信判定部130に要求電文が送信可能であるか否かの判定を依頼した際に行われる送信判定処理の動作を図7を参照して説明する。図7は、第1の実施形態の二重送信判定部130による送信判定処理の動作を示すフローチャートである。 Next, referring to FIG. 7, the operation of transmission determination processing performed when the request message transmission unit 120 requests the double transmission determination unit 130 to determine whether or not the request message can be transmitted in step S103. explain. FIG. 7 is a flow chart showing the operation of transmission determination processing by the double transmission determination unit 130 of the first embodiment.

二重送信判定部130は、呼び出し元から入力された送信予定の要求電文のユーザ電文本体と、送信電文情報記憶部180に記憶されている送信電文情報の電文本体とを比較する(ステップS111)。二重送信判定部130は、要求電文の電文IDよりも番号が小さい電文IDを有する全ての送信電文情報を比較対象にする。 The double transmission determination unit 130 compares the user message body of the request message scheduled to be transmitted input from the caller with the message body of the transmission message information stored in the transmission message information storage unit 180 (step S111). . The double transmission determining unit 130 compares all pieces of transmitted message information having message IDs smaller in number than the message ID of the request message.

比較する際、二重送信判定部130は、同一の電文本体を有する送信電文情報が存在するか否かを確認する。確認した結果、同一の電文本体を有する送信電文情報が存在しない場合(ステップS112におけるNo)、二重送信判定部130は、呼び出し元に「送信可能」を示す送信判定結果を返却する(ステップS113)。返却した後、二重送信判定部130は、送信判定処理を終了する。 When making the comparison, the double transmission determining unit 130 checks whether or not there is transmission message information having the same message body. As a result of checking, if there is no transmission message information having the same message body (No in step S112), the double transmission determination unit 130 returns a transmission determination result indicating "sendable" to the caller (step S113). ). After returning, double transmission determination section 130 terminates the transmission determination process.

確認した結果、同一の電文本体を有する送信電文情報が存在する場合(ステップS112におけるYes)、二重送信判定部130は、呼び出し元に「送信不可」を示す送信判定結果を返却する(ステップS114)。返却した後、二重送信判定部130は、送信判定処理を終了する。 As a result of checking, if there is transmission message information having the same message body (Yes in step S112), the double transmission determination unit 130 returns a transmission determination result indicating "transmittable" to the caller (step S114). ). After returning, double transmission determination section 130 terminates the transmission determination process.

次に、本実施形態の受信側システム200の応答電文送信部220が要求電文の受信を契機に行う応答電文送信処理の動作を図8を参照して説明する。図8は、第1の実施形態の応答電文送信部220による応答電文送信処理の動作を示すフローチャートである。 Next, the operation of response message transmission processing performed by the response message transmission unit 220 of the receiving system 200 of the present embodiment upon reception of a request message will be described with reference to FIG. FIG. 8 is a flowchart showing the operation of response message transmission processing by the response message transmission unit 220 of the first embodiment.

最初に、応答電文送信部220は、処理完了見込時刻計算部240を呼び出し、受信された要求電文が示す要求の処理完了見込時刻を取得する(ステップS121)。 First, the response message transmission unit 220 calls the expected processing completion time calculation unit 240 to acquire the expected processing completion time of the request indicated by the received request message (step S121).

次いで、応答電文送信部220は、送信側システム100に要求電文が受信されたことを通知するための受信応答電文を生成する。生成される受信応答電文の電文フォーマットは、図4に示す電文フォーマットである。 Next, the response message transmission unit 220 generates a reception response message for notifying the transmission side system 100 that the request message has been received. The message format of the generated reception response message is the message format shown in FIG.

応答電文送信部220は、生成される受信応答電文の電文区分に「受信応答」を、電文IDに受信された要求電文の電文IDをそれぞれ設定する。また、応答電文送信部220は、生成される受信応答電文の処理完了見込時刻に、ステップS121で取得された処理完了見込時刻を設定する。 The response message transmitting unit 220 sets the message category of the generated received response message to “receipt response”, and sets the message ID of the received request message to the message ID. Further, the response message transmitting unit 220 sets the expected processing completion time acquired in step S121 to the expected processing completion time of the received response message to be generated.

次いで、応答電文送信部220は、生成された受信応答電文を送信側システム100に送信する(ステップS122)。 Next, the response message transmission unit 220 transmits the generated reception response message to the transmission side system 100 (step S122).

次いで、応答電文送信部220は、応答電文情報記憶部230に、受信された要求電文の電文IDを含む応答電文情報が記憶されているか否かを確認する(ステップS123)。 Next, the response message transmission unit 220 checks whether or not the response message information including the message ID of the received request message is stored in the response message information storage unit 230 (step S123).

応答電文情報が記憶されていない場合(ステップS123におけるNo)、応答電文送信部220は、受信側業務AP210を呼び出し、要求に対して業務処理を実行させる(ステップS124)。実行した後、受信側業務AP210は、業務処理結果を応答電文送信部220に入力する。 If the response message information is not stored (No in step S123), the response message transmission unit 220 calls the receiving-side business AP 210 to execute business processing in response to the request (step S124). After the execution, the reception-side business AP 210 inputs the business processing result to the response message transmission unit 220 .

受信側業務AP210から業務処理結果を受け取った後、応答電文送信部220は、業務応答電文を生成する(ステップS125)。生成される業務応答電文の電文フォーマットは、図2に示す電文フォーマットである。 After receiving the business processing result from the reception-side business AP 210, the response message transmission unit 220 generates a business response message (step S125). The message format of the generated business response message is the message format shown in FIG.

応答電文送信部220は、生成される業務応答電文の電文区分に「業務応答」を、電文IDに受信された要求電文の電文IDをそれぞれ設定する。また、応答電文送信部220は、生成される業務応答電文の業務処理結果に、受信側業務AP210からの業務処理結果を基に「OK」または「NG」のいずれかを設定する。 The response message transmitting unit 220 sets the message classification of the generated task response message to “business response” and sets the message ID of the received request message to the message ID. In addition, the response message transmitting unit 220 sets either “OK” or “NG” to the business process result of the business response message to be generated based on the business process result from the reception-side business AP 210 .

業務応答電文を生成した後、応答電文送信部220は、生成された業務応答電文の応答電文情報を応答電文情報記憶部230に格納する(ステップS126)。格納した後、応答電文送信部220は、ステップS127の処理を行う。 After generating the business response message, the response message transmission unit 220 stores the response message information of the generated business response message in the response message information storage unit 230 (step S126). After storing, the response message transmitting unit 220 performs the process of step S127.

応答電文情報が記憶されている場合(ステップS123におけるYes)、応答電文送信部220は、応答電文情報記憶部230から該当する応答電文情報を読み込む(ステップS128)。次いで、応答電文送信部220は、読み込まれた応答電文情報を基に業務応答電文を生成する(ステップS129)。生成した後、応答電文送信部220は、ステップS127の処理を行う。 If the response message information is stored (Yes in step S123), the response message transmission unit 220 reads the corresponding response message information from the response message information storage unit 230 (step S128). Next, the response message transmitting unit 220 generates a business response message based on the read response message information (step S129). After generation, the response message transmission unit 220 performs the process of step S127.

ステップS127で、応答電文送信部220は、生成された業務応答電文を送信側システム100に送信する。送信した後、応答電文送信部220は、応答電文送信処理を終了する。 In step S<b>127 , the response message transmission unit 220 transmits the generated business response message to the transmission side system 100 . After the transmission, the response message transmission unit 220 terminates the response message transmission process.

次に、ステップS121で応答電文送信部220が処理完了見込時刻計算部240を呼び出した際に行われる処理完了見込時刻計算処理の動作を図9を参照して説明する。図9は、第1の実施形態の処理完了見込時刻計算部240による処理完了見込時刻計算処理の動作を示すフローチャートである。 Next, the operation of the expected process completion time calculation process performed when the response message transmission unit 220 calls the expected process completion time calculation unit 240 in step S121 will be described with reference to FIG. FIG. 9 is a flow chart showing the operation of the expected process completion time calculation process by the expected process completion time calculator 240 of the first embodiment.

最初に、処理完了見込時刻計算部240は、受信側システム200の負荷状況を示す情報を取得する(ステップS131)。 First, the estimated processing completion time calculator 240 acquires information indicating the load status of the receiving system 200 (step S131).

次いで、処理完了見込時刻計算部240は、取得された受信側システム200の負荷状況を示す情報と受信された要求電文のサイズとを基に、処理完了見込時刻を計算する(ステップS132)。 Next, the estimated processing completion time calculation unit 240 calculates an estimated processing completion time based on the acquired information indicating the load status of the receiving system 200 and the size of the received request message (step S132).

次いで、処理完了見込時刻計算部240は、計算された処理完了見込時刻を呼び出し元に返却する(ステップS133)。返却した後、処理完了見込時刻計算部240は、処理完了見込時刻計算処理を終了する。 Next, the estimated processing completion time calculator 240 returns the calculated estimated processing completion time to the caller (step S133). After returning, the estimated processing completion time calculation unit 240 terminates the estimated processing completion time calculation processing.

次に、本実施形態の送信側システム100の応答処理部160が応答電文を受信した際に行う応答電文受信処理の動作を図10を参照して説明する。図10は、第1の実施形態の応答処理部160による応答電文受信処理の動作を示すフローチャートである。 Next, the operation of response message reception processing performed when the response processing unit 160 of the transmission side system 100 of this embodiment receives a response message will be described with reference to FIG. FIG. 10 is a flowchart showing the operation of response message reception processing by the response processing unit 160 of the first embodiment.

応答処理部160は、受信応答電文と業務応答電文の2種類の応答電文を受信する。応答電文を受信した際、応答処理部160は、受信された応答電文の種別を電文区分で確認する(ステップS141)。 The response processing unit 160 receives two types of response messages, a received response message and a business response message. When receiving a response message, the response processing unit 160 confirms the type of the received response message by message category (step S141).

確認された電文区分が「受信応答」である場合(ステップS141における受信応答電文)、応答処理部160は、要求電文の再送を停止させるため、要求電文に対応する送信電文情報の次回送信時刻を、受信応答電文の処理完了見込時刻に更新する(ステップS142)。更新した後、応答処理部160は、応答電文受信処理を終了する。 If the confirmed message classification is "reception response" (reception response message in step S141), the response processing unit 160 sets the next transmission time of the transmission message information corresponding to the request message to stop retransmission of the request message. , to the expected processing completion time of the received response message (step S142). After updating, the response processing unit 160 terminates the response message reception process.

確認された電文区分が「業務応答」である場合(ステップS141における業務応答電文)、応答処理部160は、業務応答処理部170を呼び出す(ステップS143)。呼び出した後、応答処理部160は、応答電文受信処理を終了する。 If the confirmed message classification is "business response" (business response message in step S141), the response processing unit 160 calls the business response processing unit 170 (step S143). After calling, the response processing unit 160 ends the response message reception processing.

次に、ステップS143で応答処理部160が呼び出した業務応答処理部170が行う業務応答処理の動作を図11を参照して説明する。図11は、第1の実施形態の業務応答処理部170による業務応答処理の動作を示すフローチャートである。 Next, the operation of business response processing performed by the business response processing unit 170 called by the response processing unit 160 in step S143 will be described with reference to FIG. FIG. 11 is a flow chart showing the operation of business response processing by the business response processing unit 170 of the first embodiment.

業務応答処理部170は、受信された業務応答電文の電文IDを含む送信電文情報を送信電文情報記憶部180から削除する(ステップS151)。 The business response processing unit 170 deletes the transmission message information including the message ID of the received business response message from the transmission message information storage unit 180 (step S151).

次いで、業務応答処理部170は、送信側業務AP110を呼び出す(ステップS152)。呼び出した後、業務応答処理部170は、業務応答処理を終了する。 Next, the business response processing unit 170 calls the sender business AP 110 (step S152). After calling, the business response processing unit 170 ends the business response processing.

次に、本実施形態の送信側システム100の再送処理部140が要求電文を再送する際に行う要求電文再送処理の動作を図12を参照して説明する。図12は、第1の実施形態の再送処理部140による要求電文再送処理の動作を示すフローチャートである。 Next, the operation of request message resend processing performed when the resend processing unit 140 of the transmission side system 100 of this embodiment resends a request message will be described with reference to FIG. FIG. 12 is a flow chart showing operation of request message retransmission processing by the retransmission processing unit 140 of the first embodiment.

最初に、再送処理部140は、送信電文情報記憶部180に記憶されている送信電文情報を1つ読み込む(ステップS161)。 First, the retransmission processing unit 140 reads one transmission message information stored in the transmission message information storage unit 180 (step S161).

次いで、再送処理部140は、ステップS161で読み込まれた送信電文情報に対応する要求電文が送信可能であるか否かの判定を再送判定部150に依頼する(ステップS162)。次いで、再送判定部150は、要求電文が送信可能であるか否かを示す送信判定結果を再送処理部140に返却する。 Next, the retransmission processing unit 140 requests the retransmission determination unit 150 to determine whether or not the request message corresponding to the transmission message information read in step S161 can be transmitted (step S162). Next, the retransmission determination unit 150 returns to the retransmission processing unit 140 a transmission determination result indicating whether or not the request message can be transmitted.

返却された送信判定結果が「送信不可」を示す場合(ステップS163におけるNo)、再送処理部140は、読み込まれた送信電文情報に対応する要求電文を再送せずに、要求電文再送処理を終了する。 If the returned transmission determination result indicates "transmittable" (No in step S163), the retransmission processing unit 140 ends the request message retransmission process without retransmitting the request message corresponding to the read transmission message information. do.

返却された送信判定結果が「送信可能」を示す場合(ステップS163におけるYes)、再送処理部140は、送信電文情報記憶部180に記憶されているステップS161で読み込まれた送信電文情報の判定結果を「送信可能」に更新する(ステップS164)。 If the returned transmission determination result indicates "transmittable" (Yes in step S163), the retransmission processing unit 140 stores the transmission message information determination result read in step S161 in the transmission message information storage unit 180. is updated to "sendable" (step S164).

送信電文情報の判定結果を更新した後、再送処理部140は、受信側システム200に更新された送信電文情報に対応する要求電文を再送する(ステップS165)。再送した後、再送処理部140は、要求電文再送処理を終了する。 After updating the determination result of the transmission message information, the retransmission processing unit 140 retransmits the request message corresponding to the updated transmission message information to the receiving system 200 (step S165). After resending, the resending processing unit 140 ends the request message resending process.

再送処理部140は、図12に示す要求電文再送処理を、送信電文情報記憶部180に記憶されている全ての送信電文情報に対して繰り返し実行する。また、再送処理部140は、タイマ等を用いて、送信側システム100が起動した後から所定時間毎に図12に示す要求電文再送処理を実行してもよい。 The retransmission processing unit 140 repeatedly executes the request message retransmission processing shown in FIG. 12 for all pieces of transmission message information stored in the transmission message information storage unit 180 . Further, the retransmission processing unit 140 may use a timer or the like to execute the request message retransmission processing shown in FIG. 12 at predetermined time intervals after the transmission side system 100 is activated.

次に、ステップS162で再送処理部140が再送判定部150に要求電文が送信可能であるか否かの判定を依頼した際に行われる送信判定処理の動作を図13を参照して説明する。図13は、第1の実施形態の再送判定部150による送信判定処理の動作を示すフローチャートである。 Next, the operation of transmission determination processing performed when the retransmission processing unit 140 requests the retransmission determination unit 150 to determine whether or not the request message can be transmitted in step S162 will be described with reference to FIG. FIG. 13 is a flowchart showing operations of transmission determination processing by the retransmission determination unit 150 of the first embodiment.

再送判定部150は、現在時刻と、呼び出し元から入力された要求電文の送信電文情報の次回送信時刻とを比較する(ステップS171)。 The retransmission determination unit 150 compares the current time with the next transmission time of the transmission message information of the request message input from the caller (step S171).

比較した結果、現在時刻が次回送信時刻を過ぎている場合(ステップS172におけるYes)、再送判定部150は、呼び出し元に「送信可能」を示す送信判定結果を返却する(ステップS173)。返却した後、再送判定部150は、送信判定処理を終了する。 As a result of the comparison, if the current time has passed the next transmission time (Yes in step S172), the retransmission determination unit 150 returns a transmission determination result indicating "transmittable" to the caller (step S173). After returning, the retransmission determination unit 150 terminates the transmission determination process.

比較した結果、現在時刻が次回送信時刻を過ぎていない場合(ステップS172におけるNo)、再送判定部150は、呼び出し元に「送信不可」を示す送信判定結果を返却する(ステップS174)。返却した後、再送判定部150は、送信判定処理を終了する。 As a result of the comparison, if the current time has not passed the next transmission time (No in step S172), the retransmission determination unit 150 returns a transmission determination result indicating "transmittable" to the caller (step S174). After returning, the retransmission determination unit 150 terminates the transmission determination process.

[効果の説明]
本実施形態の送信側システム100の再送処理部140は、受信応答電文が示す処理完了見込時刻に応じて適切に要求電文を送信できる。すなわち、送信側システム100は、電文再送、および送信側業務AP110による複数回の同一電文の送信を起因とする無駄な通信量を削減できる。よって、受信側システム200も、低負荷状態で応答電文を返却できる。
[Explanation of effect]
The retransmission processing unit 140 of the transmission-side system 100 of this embodiment can appropriately transmit the request message according to the expected processing completion time indicated by the received response message. That is, the transmission side system 100 can reduce the amount of unnecessary communication caused by retransmission of messages and multiple transmissions of the same message by the transmission side business AP 110 . Therefore, the receiving system 200 can also return a response message in a low load state.

また、本実施形態の電文保証システム10の受信側システム200は、一度処理された要求電文に対する応答電文の情報がファイル等の状態で記憶されている応答電文情報記憶部230を有する。同じ要求電文が受信された場合、受信側システム200は、記憶されている情報を読み込んで応答電文を生成し、生成された応答電文を返却する。 The receiver system 200 of the message assurance system 10 of this embodiment also has a response message information storage unit 230 in which information of response messages to request messages once processed is stored in the form of a file or the like. When the same request message is received, the receiver system 200 reads the stored information, generates a response message, and returns the generated response message.

すなわち、特許文献2に記載されている複数のプロセッサによる応答処理の効率よりも、本実施形態の受信側システム200による応答処理の効率の方が大きい。また、受信側システム200は、応答電文情報記憶部230に記憶されている応答電文の情報に基づいて、二重処理が行われているか否かの検査も実行できる。 That is, the efficiency of response processing by the receiving system 200 of this embodiment is greater than the efficiency of response processing by a plurality of processors described in Patent Document 2. The receiving system 200 can also check whether or not double processing is being performed based on the response message information stored in the response message information storage unit 230 .

特許文献3~特許文献4に記載されている技術では、処理完了見込時刻が送信側で予測される。本実施形態では、処理完了見込時刻計算部240が受信側システム200の負荷状況を考慮して処理完了見込時刻を予測する。すなわち、より正確な処理完了見込時刻が予測されるため、システム間の通信がより適切に制御される。 In the techniques described in Patent Documents 3 and 4, the estimated processing completion time is predicted on the transmitting side. In this embodiment, the estimated processing completion time calculator 240 estimates the estimated processing completion time in consideration of the load status of the receiving system 200 . That is, since a more accurate expected processing completion time is predicted, communication between systems is controlled more appropriately.

本発明は、業務APの修正が困難な既に運用中のレガシーシステム間の通信量の削減の用途に好適に利用される。 INDUSTRIAL APPLICABILITY The present invention is preferably used for reducing the amount of communication between existing legacy systems in which it is difficult to modify business APs.

以下、本実施形態の送信側システム100のハードウェア構成の具体例、および本実施形態の受信側システム200のハードウェア構成の具体例を説明する。 A specific example of the hardware configuration of the transmitting side system 100 of this embodiment and a specific example of the hardware configuration of the receiving side system 200 of this embodiment will be described below.

図14は、本発明による送信側システムのハードウェア構成例を示す説明図である。
図14に示す送信側システム100は、CPU(Central Processing Unit)101と、主記憶部102と、通信部103と、補助記憶部104とを備える。また、ユーザが操作するための入力部105や、ユーザに処理結果または処理内容の経過を提示するための出力部106を備えてもよい。
FIG. 14 is an explanatory diagram showing a hardware configuration example of the transmission side system according to the present invention.
A transmission side system 100 shown in FIG. Further, an input unit 105 for user operation and an output unit 106 for presenting the processing result or the progress of the processing content to the user may be provided.

図15は、本発明による受信側システムのハードウェア構成例を示す説明図である。図15に示す受信側システム200は、CPU201と、主記憶部202と、通信部203と、補助記憶部204とを備える。また、ユーザが操作するための入力部205や、ユーザに処理結果または処理内容の経過を提示するための出力部206を備えてもよい。 FIG. 15 is an explanatory diagram showing a hardware configuration example of the receiving system according to the present invention. A receiving system 200 shown in FIG. Further, an input unit 205 for user operation and an output unit 206 for presenting the processing result or the progress of the processing content to the user may be provided.

主記憶部102および主記憶部202は、データの作業領域やデータの一時退避領域として用いられる。主記憶部102および主記憶部202は、例えばRAM(Random Access Memory)である。 The main storage unit 102 and the main storage unit 202 are used as a data work area and a data temporary save area. The main storage unit 102 and the main storage unit 202 are, for example, RAM (Random Access Memory).

通信部103および通信部203は、有線のネットワークまたは無線のネットワーク(情報通信ネットワーク)を介して、周辺機器との間でデータを入力および出力する機能を有する。 The communication units 103 and 203 have the function of inputting and outputting data with peripheral devices via a wired network or a wireless network (information communication network).

補助記憶部104および補助記憶部204は、一時的でない有形の記憶媒体である。一時的でない有形の記憶媒体として、例えば磁気ディスク、光磁気ディスク、CD-ROM(Compact Disk Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、半導体メモリが挙げられる。 Auxiliary storage unit 104 and auxiliary storage unit 204 are non-temporary tangible storage media. Non-temporary tangible storage media include, for example, magnetic disks, magneto-optical disks, CD-ROMs (Compact Disk Read Only Memory), DVD-ROMs (Digital Versatile Disk Read Only Memory), and semiconductor memories.

入力部105および入力部205は、データや処理命令を入力する機能を有する。入力部105および入力部205は、例えばキーボードやマウス等の入力デバイスである。 The input unit 105 and the input unit 205 have functions for inputting data and processing instructions. The input unit 105 and the input unit 205 are input devices such as keyboards and mice.

出力部106および出力部206は、データを出力する機能を有する。出力部106および出力部206は、例えば液晶ディスプレイ装置等の表示装置、またはプリンタ等の印刷装置である。 The output unit 106 and the output unit 206 have a function of outputting data. The output unit 106 and the output unit 206 are, for example, a display device such as a liquid crystal display device, or a printing device such as a printer.

また、図14に示すように、送信側システム100において、各構成要素は、システムバス107に接続されている。また、図15に示すように、受信側システム200において、各構成要素は、システムバス207に接続されている。 In addition, as shown in FIG. 14, each component in the transmitting system 100 is connected to the system bus 107 . In addition, as shown in FIG. 15, each component in the receiving system 200 is connected to a system bus 207 .

補助記憶部104は、例えば、図1に示す送信側業務AP110、要求電文送信部120、二重送信判定部130、再送処理部140、再送判定部150、応答処理部160、および業務応答処理部170を実現するためのプログラムを記憶している。 The auxiliary storage unit 104 includes, for example, the transmitting side business AP 110, the request message transmission unit 120, the double transmission determination unit 130, the retransmission processing unit 140, the retransmission determination unit 150, the response processing unit 160, and the business response processing unit shown in FIG. A program for realizing 170 is stored.

また、主記憶部102は、例えば、送信電文情報記憶部180の記憶領域として利用される。また、要求電文送信部120、再送処理部140、および応答処理部160は、通信部103を介して通信処理を実行してもよい。 Also, the main storage unit 102 is used as a storage area of the transmission message information storage unit 180, for example. Also, the request message transmission unit 120 , the retransmission processing unit 140 , and the response processing unit 160 may perform communication processing via the communication unit 103 .

なお、送信側システム100は、ハードウェアにより実現されてもよい。例えば、送信側システム100は、内部に図1に示すような機能を実現するプログラムが組み込まれたLSI(Large Scale Integration)等のハードウェア部品が含まれる回路が実装されてもよい。 Note that the transmitting system 100 may be realized by hardware. For example, the transmission-side system 100 may be implemented with a circuit that includes hardware components such as LSI (Large Scale Integration) in which a program that implements the functions shown in FIG. 1 is installed.

また、送信側システム100は、図14に示すCPU101が図1に示す各構成要素が有する機能を提供するプログラムを実行することによって、ソフトウェアにより実現されてもよい。 Further, the transmission side system 100 may be implemented by software by executing a program that provides the functions of the components shown in FIG. 1 by the CPU 101 shown in FIG.

ソフトウェアにより実現される場合、CPU101が補助記憶部104に格納されているプログラムを、主記憶部102にロードして実行し、送信側システム100の動作を制御することによって、各機能がソフトウェアにより実現される。 When implemented by software, the CPU 101 loads a program stored in the auxiliary storage unit 104 into the main storage unit 102, executes it, and controls the operation of the transmitting system 100, thereby realizing each function by software. be done.

補助記憶部204は、例えば、図1に示す受信側業務AP210、応答電文送信部220、および処理完了見込時刻計算部240を実現するためのプログラムを記憶している。 The auxiliary storage unit 204 stores, for example, a program for realizing the reception-side business AP 210, the response message transmission unit 220, and the expected processing completion time calculation unit 240 shown in FIG.

また、主記憶部202は、例えば、応答電文情報記憶部230の記憶領域として利用される。また、応答電文送信部220は、通信部203を介して通信処理を実行してもよい。 Also, the main storage unit 202 is used as a storage area for the response message information storage unit 230, for example. Also, the response message transmission unit 220 may execute communication processing via the communication unit 203 .

なお、受信側システム200は、ハードウェアにより実現されてもよい。例えば、受信側システム200は、内部に図1に示すような機能を実現するプログラムが組み込まれたLSI等のハードウェア部品が含まれる回路が実装されてもよい。 Note that the receiving system 200 may be realized by hardware. For example, the receiver system 200 may be implemented with a circuit including a hardware component such as an LSI in which a program that implements the functions shown in FIG. 1 is installed.

また、受信側システム200は、図15に示すCPU201が図1に示す各構成要素が有する機能を提供するプログラムを実行することによって、ソフトウェアにより実現されてもよい。 Receiving-side system 200 may also be realized by software by executing a program that provides the functions of the components shown in FIG. 1 by CPU 201 shown in FIG.

ソフトウェアにより実現される場合、CPU201が補助記憶部204に格納されているプログラムを、主記憶部202にロードして実行し、受信側システム200の動作を制御することによって、各機能がソフトウェアにより実現される。 When implemented by software, the CPU 201 loads a program stored in the auxiliary storage unit 204 into the main storage unit 202, executes it, and controls the operation of the receiving system 200, whereby each function is implemented by software. be done.

また、各構成要素の一部または全部は、汎用の回路(circuitry)または専用の回路、プロセッサ等やこれらの組み合わせによって実現されてもよい。これらは、単一のチップによって構成されてもよいし、バスを介して接続される複数のチップによって構成されてもよい。各構成要素の一部または全部は、上述した回路等とプログラムとの組み合わせによって実現されてもよい。 Also, part or all of each component may be realized by a general-purpose circuit, a dedicated circuit, a processor, etc., or a combination thereof. These may be composed of a single chip, or may be composed of multiple chips connected via a bus. A part or all of each component may be implemented by a combination of the above-described circuit or the like and a program.

各構成要素の一部または全部が複数の情報処理装置や回路等により実現される場合には、複数の情報処理装置や回路等は集中配置されてもよいし、分散配置されてもよい。例えば、情報処理装置や回路等は、クライアントアンドサーバシステム、クラウドコンピューティングシステム等、各々が通信ネットワークを介して接続される形態として実現されてもよい。 When a part or all of each component is realized by a plurality of information processing devices, circuits, etc., the plurality of information processing devices, circuits, etc. may be arranged centrally or distributedly. For example, the information processing device, circuits, and the like may be implemented as a client-and-server system, a cloud computing system, or the like, each of which is connected via a communication network.

次に、本発明の概要を説明する。図16は、本発明による電文保証システムの概要を示すブロック図である。本発明による電文保証システム20は、送信側システム30(例えば、送信側システム100)と、受信側システム40(例えば、受信側システム200)とを含む電文保証システムであって、送信側システム30は、任意の要求を示す電文である要求電文を受信側システム40に送信する第1送信部31(例えば、要求電文送信部120)と、所定の条件を満たす要求電文を受信側システム40に再度送信する再送部32(例えば、再送処理部140および再送判定部150)とを有し、受信側システム40は、送信側システム30から送信された要求電文の受信が完了したことと、送信された要求電文が示す要求に対する処理が完了する予定時刻とを示す電文である受信電文を送信側システム30に送信する第2送信部41(例えば、応答電文送信部220)を有し、所定の条件は、要求電文に対応する受信電文が示す予定時刻を現在時刻が過ぎていることである。 Next, an outline of the present invention will be described. FIG. 16 is a block diagram showing an outline of a message guarantee system according to the present invention. A message assurance system 20 according to the present invention is a message assurance system including a sender system 30 (for example, a sender system 100) and a receiver system 40 (for example, a receiver system 200). , a first transmission unit 31 (for example, the request message transmission unit 120) that transmits a request message, which is a message indicating an arbitrary request, to the receiving system 40; and a retransmission unit 32 (for example, a retransmission processing unit 140 and a retransmission determination unit 150). It has a second transmission unit 41 (for example, a response message transmission unit 220) that transmits a received message, which is a message indicating a scheduled time at which processing for the request indicated by the message will be completed, to the transmission side system 30, and the predetermined condition is: It means that the current time has passed the scheduled time indicated by the received message corresponding to the request message.

そのような構成により、電文保証システムは、受信側システムの負荷を高めずに電文を再送できる。図16に示す電文保証システム20は、適切に電文を送受信できる、保証型の電文送受信システムである。 With such a configuration, the message guarantee system can resend the message without increasing the load on the receiving system. The electronic message assurance system 20 shown in FIG. 16 is a guarantee-type electronic message transmission/reception system that can appropriately transmit/receive electronic messages.

また、送信側システム30は、送信された要求電文を示す情報である送信電文情報を記憶する第1記憶部(例えば、送信電文情報記憶部180)を有し、再送部32は、記憶されている送信電文情報を用いて再度送信する要求電文を生成してもよい。 Further, the transmitting system 30 has a first storage unit (for example, the transmission message information storage unit 180) that stores transmission message information that is information indicating the transmitted request message, and the resending unit 32 stores A request message to be sent again may be generated using the transmission message information that is present.

そのような構成により、電文保証システムは、再送電文を効率良く生成できる。 With such a configuration, the electronic message assurance system can efficiently generate a retransmission message.

また、第2送信部41は、要求電文が示す要求に対する処理の結果を示す電文である応答電文を送信側システム30に送信し、第1送信部31は、送信された応答電文に基づいて要求電文の送信電文情報を第1記憶部から削除してもよい。 The second transmission unit 41 also transmits a response message, which is a message indicating the result of processing for the request indicated by the request message, to the transmission-side system 30, and the first transmission unit 31 transmits the request based on the transmitted response message. The transmitted message information of the message may be deleted from the first storage unit.

そのような構成により、電文保証システムは、要求電文の無駄な再送を抑止できる。 With such a configuration, the message assurance system can prevent useless retransmission of request messages.

また、受信側システム40は、送信された応答電文を示す情報である応答電文情報を記憶する第2記憶部(例えば、応答電文情報記憶部230)を有し、第2送信部41は、記憶されている応答電文情報を用いて送信する応答電文を生成してもよい。 In addition, the receiving system 40 has a second storage unit (for example, the response message information storage unit 230) that stores response message information that is information indicating the transmitted response message, and the second transmission unit 41 stores A response message to be transmitted may be generated using the received response message information.

そのような構成により、電文保証システムは、応答電文を効率良く生成できる。 With such a configuration, the message assurance system can efficiently generate a response message.

また、第1送信部31は、記憶されている送信電文情報が示す要求と同一の要求を示す要求電文の送信を中止してもよい。 Further, the first transmission unit 31 may stop transmitting the request message indicating the same request as the request indicated by the stored transmission message information.

そのような構成により、電文保証システムは、要求電文の無駄な送信を抑止できる。 With such a configuration, the message assurance system can prevent unnecessary transmission of request messages.

また、第2送信部41は、受信側システム40の負荷状況に応じた予定時刻を受信電文に含めてもよい。また、第2送信部41は、業務アプリケーションが要求に対する処理を行う前に受信電文を送信してもよい。 In addition, the second transmission unit 41 may include the scheduled time according to the load status of the receiving system 40 in the received message. Alternatively, the second transmission unit 41 may transmit the received telegram before the business application processes the request.

また、送信側システム30は、再送部32による再送処理が実行される前に再送の可否を判定する再送判定部(例えば、再送判定部150)を含んでもよい。 Further, the transmission-side system 30 may include a retransmission determination unit (for example, the retransmission determination unit 150) that determines whether retransmission is possible before the retransmission processing by the retransmission unit 32 is executed.

10、20 電文保証システム
30、100 送信側システム
40、200 受信側システム
31 第1送信部
32 再送部
41 第2送信部
101、201 CPU
102、202 主記憶部
103、203 通信部
104、204 補助記憶部
105、205 入力部
106、206 出力部
107、207 システムバス
110 送信側業務AP
120 要求電文送信部
130 二重送信判定部
140 再送処理部
150 再送判定部
160 応答処理部
170 業務応答処理部
180 送信電文情報記憶部
210 受信側業務AP
220 応答電文送信部
230 応答電文情報記憶部
240 処理完了見込時刻計算部
10, 20 message guarantee system 30, 100 transmitting side system 40, 200 receiving side system 31 first transmitting section 32 retransmitting section 41 second transmitting section 101, 201 CPU
102, 202 Main storage units 103, 203 Communication units 104, 204 Auxiliary storage units 105, 205 Input units 106, 206 Output units 107, 207 System bus 110 Transmitting business AP
120 Request message transmission unit 130 Double transmission determination unit 140 Retransmission processing unit 150 Retransmission determination unit 160 Response processing unit 170 Business response processing unit 180 Transmission message information storage unit 210 Receiving side business application
220 response message transmission unit 230 response message information storage unit 240 expected processing completion time calculation unit

Claims (10)

送信側システムと、受信側システムとを含む電文保証システムであって、
前記送信側システムは、
任意の要求を示す電文である要求電文を前記受信側システムに送信する第1送信部と、
所定の条件を満たす要求電文を前記受信側システムに再度送信する再送部とを有し、
前記受信側システムは、
前記受信側システムの負荷状況を示す情報を基に、前記送信側システムから送信された要求電文が示す要求に対する処理が完了する予定時刻を計算する計算部と、
送信された要求電文の受信が完了したことと、計算された予定時刻とを示す電文である受信電文を前記送信側システムに送信する第2送信部を有し、
前記所定の条件は、
要求電文に対応する受信電文が示す予定時刻を現在時刻が過ぎていることである
ことを特徴とする電文保証システム。
A message assurance system including a sending side system and a receiving side system,
The sending system,
a first transmission unit that transmits a request message, which is a message indicating an arbitrary request, to the receiving system;
a retransmitting unit that retransmits a request message that satisfies a predetermined condition to the receiving system;
The receiving system,
a calculation unit that calculates a scheduled time to complete processing of a request indicated by a request message transmitted from the transmission-side system based on information indicating the load status of the reception-side system;
PreviousRecordCompletion of reception of the transmitted request message, andcalculatedA second transmission unit that transmits a received message, which is a message indicating the scheduled time, to the transmission side systemWhenhas
The predetermined condition is
The current time has passed the scheduled time indicated by the received message corresponding to the request message.
A message assurance system characterized by:
送信側システムは、送信された要求電文を示す情報である送信電文情報を記憶する第1記憶部を有し、
再送部は、記憶されている送信電文情報を用いて再度送信する要求電文を生成する
請求項1記載の電文保証システム。
The transmission-side system has a first storage unit that stores transmission message information, which is information indicating the transmitted request message,
2. The message assurance system according to claim 1, wherein the resending unit generates a request message to be resent using stored transmission message information.
第2送信部は、要求電文が示す要求に対する処理の結果を示す電文である応答電文を送信側システムに送信し、
第1送信部は、送信された応答電文に基づいて前記要求電文の送信電文情報を第1記憶部から削除する
請求項2記載の電文保証システム。
The second transmission unit transmits a response message, which is a message indicating the result of processing for the request indicated by the request message, to the transmission side system,
The message assurance system according to claim 2, wherein the first transmission unit deletes the transmission message information of the request message from the first storage unit based on the transmitted response message.
受信側システムは、送信された応答電文を示す情報である応答電文情報を記憶する第2記憶部を有し、
第2送信部は、記憶されている応答電文情報を用いて送信する応答電文を生成する
請求項3記載の電文保証システム。
The receiving system has a second storage unit that stores response message information that is information indicating the transmitted response message,
4. The message assurance system according to claim 3, wherein the second transmission unit generates a response message to be transmitted using stored response message information.
第1送信部は、記憶されている送信電文情報が示す要求と同一の要求を示す要求電文の送信を中止する
請求項2から請求項4のうちのいずれか1項に記載の電文保証システム。
The message assurance system according to any one of claims 2 to 4, wherein the first transmission unit suspends transmission of the request message indicating the same request as the request indicated by the stored transmission message information.
送信側システムと、受信側システムとを含む電文保証システムにおいて実行される電文保証方法であって、
前記送信側システムは、
任意の要求を示す電文である要求電文を前記受信側システムに送信し、
所定の条件を満たす要求電文を前記受信側システムに再度送信し、
前記受信側システムは、
前記受信側システムの負荷状況を示す情報を基に、前記送信側システムから送信された要求電文が示す要求に対する処理が完了する予定時刻を計算し、
送信された要求電文の受信が完了したことと、計算された予定時刻とを示す電文である受信電文を前記送信側システムに送信し、
前記所定の条件は、
要求電文に対応する受信電文が示す予定時刻を現在時刻が過ぎていることである
ことを特徴とする電文保証方法。
A message assurance method executed in a message assurance system including a transmitting side system and a receiving side system,
The sending system,
Sending a request message, which is a message indicating an arbitrary request, to the receiving system;
retransmitting a request message that satisfies a predetermined condition to the receiving system;
The receiving system,
calculating, based on the information indicating the load status of the receiving system, the scheduled completion time for the request indicated by the request message transmitted from the transmitting system;
PreviousRecordCompletion of reception of the transmitted request message, andcalculatedsending a received message, which is a message indicating the scheduled time, to the transmitting system;
The predetermined condition is
The current time has passed the scheduled time indicated by the received message corresponding to the request message.
A message assurance method characterized by:
送信側システムは、
送信された要求電文を示す情報である送信電文情報を第1記憶部に記憶させ、
記憶されている送信電文情報を用いて再度送信する要求電文を生成する
請求項6記載の電文保証方法。
The sending system
Store transmission telegram information, which is information indicating the transmitted request telegram, in the first storage unit;
7. The message assurance method according to claim 6, wherein a request message to be resent is generated using stored transmission message information.
受信側システムは、要求電文が示す要求に対する処理の結果を示す電文である応答電文を送信側システムに送信し、
前記送信側システムは、送信された応答電文に基づいて前記要求電文の送信電文情報を第1記憶部から削除する
請求項7記載の電文保証方法。
The receiving system transmits a response message, which is a message indicating the result of processing for the request indicated by the request message, to the transmitting system,
8. The message assurance method according to claim 7, wherein the transmission side system deletes the transmission message information of the request message from the first storage unit based on the transmitted response message.
受信側システムは、
送信された応答電文を示す情報である応答電文情報を第2記憶部に記憶させ、
記憶されている応答電文情報を用いて送信する応答電文を生成する
請求項8記載の電文保証方法。
The receiving system
Store response telegram information, which is information indicating the transmitted response telegram, in the second storage unit;
The message assurance method according to claim 8, wherein a response message to be transmitted is generated using stored response message information.
送信側システムは、記憶されている送信電文情報が示す要求と同一の要求を示す要求電文の送信を中止する
請求項7から請求項9のうちのいずれか1項に記載の電文保証方法。
10. The message assurance method according to any one of claims 7 to 9, wherein the transmission side system suspends transmission of the request message indicating the same request as the request indicated by the stored transmission message information.
JP2018063834A 2018-03-29 2018-03-29 Telegram Assurance System and Telegram Assurance Method Active JP7124384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018063834A JP7124384B2 (en) 2018-03-29 2018-03-29 Telegram Assurance System and Telegram Assurance Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018063834A JP7124384B2 (en) 2018-03-29 2018-03-29 Telegram Assurance System and Telegram Assurance Method

Publications (2)

Publication Number Publication Date
JP2019175222A JP2019175222A (en) 2019-10-10
JP7124384B2 true JP7124384B2 (en) 2022-08-24

Family

ID=68167025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018063834A Active JP7124384B2 (en) 2018-03-29 2018-03-29 Telegram Assurance System and Telegram Assurance Method

Country Status (1)

Country Link
JP (1) JP7124384B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150465A (en) 2001-11-19 2003-05-23 Nec Corp Transaction process control system in distributed processing system
JP2003208401A (en) 2002-01-10 2003-07-25 Fujitsu Ltd Information processing system, information processing apparatus, and access distribution method
JP2005276181A (en) 2004-02-25 2005-10-06 Microsoft Corp Mutual exclusion technique in dynamic peer-to-peer environment
JP2005346175A (en) 2004-05-31 2005-12-15 Matsushita Electric Ind Co Ltd Command communication apparatus and command communication method
JP2008078769A (en) 2006-09-19 2008-04-03 Denso Corp Communications system
JP2008283421A (en) 2007-05-10 2008-11-20 Casio Hitachi Mobile Communications Co Ltd Communication apparatus and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150465A (en) 2001-11-19 2003-05-23 Nec Corp Transaction process control system in distributed processing system
JP2003208401A (en) 2002-01-10 2003-07-25 Fujitsu Ltd Information processing system, information processing apparatus, and access distribution method
JP2005276181A (en) 2004-02-25 2005-10-06 Microsoft Corp Mutual exclusion technique in dynamic peer-to-peer environment
JP2005346175A (en) 2004-05-31 2005-12-15 Matsushita Electric Ind Co Ltd Command communication apparatus and command communication method
JP2008078769A (en) 2006-09-19 2008-04-03 Denso Corp Communications system
JP2008283421A (en) 2007-05-10 2008-11-20 Casio Hitachi Mobile Communications Co Ltd Communication apparatus and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山垣 則夫 Norio YAMAGAKI,データセンター向け高速再送制御の特性評価 Performance Evaluation of Rapid Retransmission Control for Data Centers,電子情報通信学会技術研究報告 Vol.110 No.448 IEICE Technical Report,日本,社団法人電子情報通信学会 The Institute of Electronics,Information and Communication Engineers,第110巻

Also Published As

Publication number Publication date
JP2019175222A (en) 2019-10-10

Similar Documents

Publication Publication Date Title
CN109714409B (en) Message management method and system
US8706901B2 (en) Protocols for high performance computing visualization, computational steering and forward progress
US20070204275A1 (en) Method and system for reliable message delivery
JP6299266B2 (en) Data storage method, storage system, program, and storage apparatus
CN108418859B (en) Method and apparatus for writing data
EP2995028B1 (en) Tuple recovery
CN115412609A (en) A service processing method, device, server and storage medium
US9307005B2 (en) Communication control system, method, and apparatus
JP7124384B2 (en) Telegram Assurance System and Telegram Assurance Method
CN110839018A (en) A file transmission method and system based on distribution automation
CN108880994B (en) Method and device for retransmitting mails
CN113961372B (en) A method and device for sending MQ multi-instance messages
KR102071955B1 (en) Method for processing multicast in distributed cache environment, and distributed cache server using the same
US20240089042A1 (en) Data communication apparatus and method
CN105634894B (en) An enhanced CAN bus data retransmission method and device
CN115811538B (en) Method, device, system and medium for requesting and processing digital key service
JP2008210110A (en) Business system and its execution request management method
CN111078433B (en) Merchant notification sending method and device and electronic equipment
JP6182779B1 (en) Transfer device, transfer method, and program
CN119583639B (en) A publish-subscribe method, system, device, and storage medium for multiprocessors
JP6932961B2 (en) Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program
JP5920318B2 (en) Storage system, storage control device, information processing device, storage control program, and storage control method
JP6207710B1 (en) Transfer control device, transfer control method, and program
JP7338160B2 (en) Electronic mail transmission determination device, electronic mail transmission determination method, and electronic mail transmission determination program
CN114640385A (en) Data transmission method based on Beidou communication system and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220725

R151 Written notification of patent or utility model registration

Ref document number: 7124384

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151