JP6932961B2 - Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program - Google Patents
Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program Download PDFInfo
- Publication number
- JP6932961B2 JP6932961B2 JP2017054129A JP2017054129A JP6932961B2 JP 6932961 B2 JP6932961 B2 JP 6932961B2 JP 2017054129 A JP2017054129 A JP 2017054129A JP 2017054129 A JP2017054129 A JP 2017054129A JP 6932961 B2 JP6932961 B2 JP 6932961B2
- Authority
- JP
- Japan
- Prior art keywords
- telegram
- transmission
- message
- request
- transmitted
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims description 204
- 238000000034 method Methods 0.000 title claims description 21
- 230000004044 response Effects 0.000 claims description 128
- 239000000284 extract Substances 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 230000001174 ascending effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Description
本発明は、電文送受信システム、電文送信装置、電文送受信方法およびプログラムに関する。 The present invention, message transmission and reception system, message transmission device, a conductive statements receiving method and program.
従来より、業務処理などの様々な分野において、送信先への電文到達を保証する電文保証型の電文送受信システムが提案されている。電文保証の制御は、送信側システムと受信側システムにおいて行なわれる。送信側システムは、送信電文をデータベース等の記憶領域に保存し、送信先からの応答受信が確認されるまで、一定間隔でデータベースから電文を読み出し、再送を繰り返す。例えば、受信側システムが業務処理プログラムを実行中に要求電文を受信した場合、送信側システムは受信側システムから受信確認の応答電文を受信するまで要求電文の再送を繰り返してしまう。電文再送が繰り返された場合、受信側システムは不要な電文の受信処理により、高負荷状態に陥るおそれがある。このため、電文の二重処理を検査するとともに、応答電文を送信する技術が提案されている。 Conventionally, in various fields such as business processing, a telegram guarantee type telegram transmission / reception system that guarantees the arrival of a telegram at a destination has been proposed. The control of the telegram guarantee is performed in the transmitting side system and the receiving side system. The transmitting system stores the transmitted telegram in a storage area such as a database, reads the telegram from the database at regular intervals until a response reception from the destination is confirmed, and repeats retransmission. For example, when the receiving side system receives the request message while executing the business processing program, the transmitting side system repeatedly retransmits the request message until the reception confirmation response message is received from the receiving side system. If the telegram is repeatedly resent, the receiving system may fall into a high load state due to unnecessary telegram reception processing. For this reason, a technique for inspecting the double processing of a telegram and transmitting a response telegram has been proposed.
特許文献1に記載の処理システムは、受信電文上の業務(トランザクション)処理プログラムが実行済みか否かに基づき二重処理を判断している。受信側システムは、実行済みでない場合は業務処理プログラムを実行して処理結果を基に作成した応答電文を格納ファイルに記録する。業務処理プログラムが実行済みの場合には、受信側システムは業務処理プログラムを実行せずに登録済みの応答電文を送信する。送信側システムは、受信応答の確認がなされていない要求電文を一定の時間間隔で再送している。 The processing system described in Patent Document 1 determines double processing based on whether or not the business (transaction) processing program on the received telegram has been executed. If it has not been executed, the receiving system executes the business processing program and records the response message created based on the processing result in the storage file. If the business processing program has already been executed, the receiving system sends the registered response message without executing the business processing program. The transmitting system retransmits the request message for which the reception response has not been confirmed at regular time intervals.
しかしながら、特許文献1に記載のシステムにおいては、電文受信装置が業務処理プログラムを実行中であったとしても、電文送信装置は電文を繰り返し再送し得る。このため、電文受信装置における電文受信の処理負担が過大になっていた。また、電文送信装置においても重複した再送処理を行うことにより、処理効率が悪化するなどの問題が生じていた。本発明は、上述の課題に鑑みてなされたものであって、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することをその目的とする。 However, in the system described in Patent Document 1, even if the telegram receiving device is executing the business processing program, the telegram transmitting device can repeatedly retransmit the telegram. For this reason, the processing load of the telegram reception in the telegram receiving device has become excessive. In addition, the telegram transmission device also has a problem that the processing efficiency is deteriorated due to the duplicate retransmission processing. The present invention has been made in view of the above problems, and an object of the present invention is to reduce the processing load required for retransmitting a telegram in a telegram guarantee type telegram transmission / reception system.
本発明の一観点によれば、電文送信装置および電文受信装置を備える電文送受信システムであって、前記電文送信装置は、前記電文受信装置に要求電文を送信する送信部と、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部とを備え、前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送受信システムが提供される。 According to one aspect of the present invention, it is a telegram transmission / reception system including a telegram transmission device and a telegram reception device, wherein the telegram transmission device includes a transmission unit that transmits a request message to the telegram reception device, and a first transmission that has been transmitted. A determination unit that determines whether or not to transmit the second request message based on the transmission message information that records the first request message for which the corresponding response message has not been transmitted from the message receiving device. The telegram transmission / reception system is characterized in that the determination unit limits the transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information. Is provided.
本発明の他の観点によれば、電文受信装置に要求電文を送信する送信部と、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、を備え、前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送信装置が提供される。 According to another aspect of the present invention, among the transmitting unit that transmits the request message to the telegram receiving device and the first requested telegram that has been transmitted, the corresponding response message is not transmitted from the telegram receiving device. A determination unit for determining whether or not to transmit a second request message based on the transmission message information for recording the request message of 1 is provided , and the determination unit includes the first request message included in the transmission message information. Provided is a telegram transmitting device characterized by restricting the transmission of the second requested telegram having the same telegram body as the telegram body of the above.
本発明の他の観点によれば、電文送信装置および電文受信装置における電文送受信方法であって、前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、を備え、前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送受信方法が提供される。 According to another aspect of the present invention, it is a telegram transmission / reception method in a telegram transmitting device and a telegram receiving device, in which a step of transmitting a request telegram to the telegram receiving device by the telegram transmitting device and a step of transmitting a request telegram by the telegram transmitting device have already been performed. The telegram indicates whether or not the second request message can be transmitted, based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. The determination step includes a step of determining by a transmission device, and in the determination step, transmission of the second request message having the same message body as the message body of the first request message included in the transmission message information is restricted. A telegram transmission / reception method is provided.
本発明の他の観点によれば、要求電文を電文送信装置から電文受信装置に送信するステップと、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、を備え、前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送信方法が提供される。 According to another aspect of the present invention, among the step of transmitting the request message from the message transmitting device to the message receiving device and the first transmitted request message, the corresponding response message is transmitted from the message receiving device. A step of determining whether or not to transmit a second request message based on the transmission message information for recording the first request message is provided . In the determination step, the first transmission message information included in the transmission message information is included. Provided is a telegram transmission method characterized by restricting the transmission of the second request telegram having the same telegram body as the telegram body of the request telegram.
本発明の他の観点によれば、要求電文を電文送信装置から電文受信装置に送信するステップと、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、を備え、前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限する電文送信方法をコンピュータに実行させるプログラムが提供される。
According to another aspect of the present invention, among the step of transmitting the request message from the message transmitting device to the message receiving device and the first transmitted request message, the corresponding response message is transmitted from the message receiving device. A step of determining whether or not to transmit a second request message based on the transmission message information for recording the first request message is provided . In the determination step, the first transmission message information included in the transmission message information is included. program to be executed by the second request message computer message transmission method that limits the transmission of having the message same message body and the body of the request message is provided.
本発明によれば、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。 According to the present invention, it is possible to reduce the processing load required for retransmitting a telegram in a telegram guarantee type telegram transmission / reception system.
以下、図面を参照して、本発明の実施形態を説明する。
[第1の実施形態]
図1は本実施形態における電文送受信システムのハードウェアブロック図である。電文送受信システムは、通信経路30を介して互いに接続された電文送信装置10、電文受信装置20を含む。電文送受信システムは、例えば社内外の業務システム、金融機関における決済システム、店舗間の管理システム、航空機などの交通機関の管制システムなど様々な分野において用いられうる。また、電文送信装置10、電文受信装置20は、ある特定の電文に関して送信側と受信側とを区別したものにすぎず、いずれも送受信の機能を備え得る。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a hardware block diagram of a telegram transmission / reception system according to the present embodiment. The telegram transmission / reception system includes a
電文送信装置10は、バス11、CPU(Central Processing Unit)12、ROM(Read Only Memory)13、RAM(Random Access Memory)14、記憶装置(HDD:Hard Disk Drive)15、通信インターフェース(I/F:Interface)16、キーボード17、ディスプレイ18を含む。
The
CPU12は予め定められたアプリケーションプログラムに従って電文の送受信処理、業務処理を実行する。アプリケーションプログラムはROM13に書き込まれても良く、図示されていないサーバからダウンロードされても良い。RAM14はCPU12の動作に必要なメモリ領域を提供する。記憶装置15は電文、送信電文表、業務データなどを保存可能である。通信インターフェース16は送受信回路、プロトコル変換回路を含み、通信経路30を解して電文などのデータを送受信可能である。キーボード17は電文の入力、業務処理プログラムの操作などのために用いられる。ディスプレイ18は液晶ディスプレイ、有機発光ディスプレイなどから構成され、電文および業務処理に関する表示を行う。
The
電文受信装置20は電文送信装置10と同様に構成され、バス21、CPU22、ROM23、RAM24、記憶装置25、通信インターフェース26、キーボード27、ディスプレイ28を含む。通信経路30は、電文送受信システムの専用回線であっても良く、公衆回線であっても良い。また、通信経路30は有線回線または無線回線であるかを問わない。
The
図2は本実施形態における電文送受信システムの機能ブロック図であって、図1に示されたハードウェアによって実現される。電文送信装置10は、業務処理部110、要求電文送信部120、二重送信判定部130、再送処理部140、応答処理部150、送信電文表160を含む。
FIG. 2 is a functional block diagram of the telegram transmission / reception system according to the present embodiment, which is realized by the hardware shown in FIG. The
業務処理部110はアプリケーションプログラムに従い所定の業務を処理しながら、電文受信装置20に送信すべき電文を作成する。要求電文送信部120は業務処理部110から出力されたデータを所定の電文フォーマットに従って要求電文を作成する。要求電文送信部120は作成した電文が送信可能か否かを二重送信判定部130に問い合わせる。二重送信判定部130が送信を許可すると、要求電文送信部120は電文を電文受信装置20に送信するとともに、送信電文表160に電文を登録する。二重送信判定部130が送信不可であると判断すると、要求電文送信部120は要求電文を破棄する。
The
二重送信判定部130は、要求電文送信部120または再送処理部140からの問い合わせに応じて、電文送信の可否を判定する。二重送信判定部130は、後述する送信電文表160において送信済みの電文のうち、判定対象の電文と同一の電文本体が含まれているか否かを判断することで、電文送信の可否を判定する。すなわち、同一の電文本体が送信電文表160に存在する場合には、二重送信判定部130は判定対象の電文は送信不可であると判断する。一方、同一の電文本体が送信電文表160に存在しない場合には、二重送信判定部130は判定対象の電文は送信可能であると判断する。例えば、1通目の要求電文に対する応答確認がなされていないにもかかわらず、業務処理部110が同一の要求電文を複数回送信すると、電文受信装置20における受信処理の負荷が過大になってしまう。また、電文送信装置10においても繰り返し実行される電文再送の処理負担が増大し得る。さらに、通信経路30においては、多量の再送電文によって通信トラフィックが圧迫される可能性も生じうる。本実施形態によれば、このように、同一の要求電文の再送を制限することで、電文送受信システムの処理負担を軽減させることができる。
The double transmission determination unit 130 determines whether or not the telegram transmission is possible in response to an inquiry from the request
再送処理部140は、電文送信装置10の動作開始時から所定時間毎に起動し、二重送信判定部130による再送の可否の判断に従い再送処理を実行する。すなわち、再送処理部140は送信電文表160において電文受信装置20からの応答が未確認の電文を読み出し、電文受信装置20に送信する。
The
応答処理部150は、電文受信装置20から返却される二種類の応答電文を受信して、各々の電文に応じた処理を行う。第1の応答電文は、要求電文の受信を契機に返却される受信応答電文である。応答処理部150は受信応答電文を受信すると、受信応答電文に対応する要求電文を送信電文表160から削除し、電文再送を停止させる。第2の応答電文は電文受信装置20の業務処理結果を返却する業務応答電文である。応答処理部150は業務応答電文を受信すると、業務応答電文に従った処理を業務処理部110に実行させる。
The
送信電文表160は受信未確認の電文を記録するデータレコードであり、例えば記憶装置15に保存される。送信電文表160に記録された電文は後述する再送処理部140によって読み出され、再送される。送信電文表160は、電文を一意に識別するための電文IDと、電文の送信可否をあらわす情報とを含み得る。
The transmitted telegram table 160 is a data record for recording unconfirmed telegrams, and is stored in, for example, a
電文受信装置20は、業務処理部210、応答送信部220、応答電文表230を含む。業務処理部210は受信した要求電文に応じて所定の業務処理を実行する。応答送信部220は、要求電文を受信したことの確認の電文の送信、二重処理の判定、業務処理部210への要求電文の出力、業務処理部210からの応答電文の送信などの処理を行う。応答電文表230は電文送信装置10に返送する業務応答電文を記録する。電文受信装置20が業務実行済みの要求電文を受信した場合に、応答電文表230から応答送信部220が業務応答電文を読み込み、電文送信装置10に返送する。電文受信装置20は応答電文表230に基づき二重処理の判定を行うことができる。
The
図3は本実施形態における電文フォーマットの一例を表している。電文フォーマットは電文区分、電文ID、業務処理結果、電文本体を含む。電文区分は電文の種類を表し、例えば「要求」、「受信応答」、「業務応答」を定義する。要求電文は所定の業務処理を電文送信装置10から電文受信装置20に要求するための電文であり、受信応答電文は要求電文に対して電文受信装置20から電文送信装置10に送信される電文である。また、業務応答電文は、要求電文に対して業務処理の結果を返送する電文である。電文IDは電文に対して一意に割り当てられた識別子であって、送受信する電文を識別するために用いられる。例えば、電文が作成された順に従い、昇順あるいは降順の数値を電文IDに割り当てても良い。これにより、電文IDを参照することで、2つの電文の作成時間の前後を判断することができる。業務処理結果は、業務処理部110による業務処理の結果を表し、例えば「OK」、「NG」などの情報である。電文本体はそれぞれの電文に付加されるテキストデータなどである。
FIG. 3 shows an example of the telegram format in the present embodiment. The telegram format includes the telegram classification, the telegram ID, the business processing result, and the telegram body. The telegram classification represents the type of telegram, and defines, for example, "request", "received response", and "business response". The request message is a message for requesting a predetermined business process from the
図4は本実施形態における受信応答電文フォーマットの一例を表している。受信応答電文は、電文受信装置20が電文を受信したことを電文送信装置10に通知するための電文である。受信応答電文は、電文ID、電文区分の情報を含み得る。電文IDは受信した電文の識別番号などの一意のデータであり、電文区分は「受信応答」を定義する。
FIG. 4 shows an example of the received response message format in the present embodiment. The reception response telegram is a telegram for notifying the
図5は本実施形態における送信電文表を表している。送信電文表160は、到達未確認の電文を記録するための送信電文情報であり、電文ID、電文本体、判定結果の情報を含む。電文IDは送信された要求電文の識別番号を表し、電文本体は電文送信装置10が送信した要求電文のメッセージを表している。また、判定結果は、要求電文の送信の可否を表しており、二重送信判定部130によって設定される。すなわち、二重送信判定部130は、判定対象の電文と、当該電文IDより前の時刻に作成された電文IDを有する電文とが同一であるか否かを判断する。二重送信判定部130は、両者が同一である場合には、判定結果を「送信不可」に設定し、両者が異なる場合には、判定結果を「送信可能」に設定する。判定結果が「送信可能」である場合には、要求電文送信部120、再送処理部140による電文の送信が許可される。一方、判定結果が「送信不可」である場合には、要求電文送信部120、再送処理部140による電文の送信が制限される。
FIG. 5 shows a transmission telegram table in this embodiment. The transmitted telegram table 160 is transmission telegram information for recording a telegram whose arrival has not been confirmed, and includes information on a telegram ID, a telegram body, and a determination result. The telegram ID represents the identification number of the transmitted request telegram, and the telegram body represents the message of the request telegram transmitted by the
図6は本実施形態における応答電文表230の図である。応答電文表230は電文受信装置20において二重送信を判定するための応答電文情報であって、電文ID、応答電文本体の情報を含む。電文IDは応答電文の識別番号を表し、応答電文本体は電文受信装置20が送信した応答電文のメッセージを表している。
FIG. 6 is a diagram of the response telegram table 230 in this embodiment. The response telegram table 230 is the response telegram information for determining the double transmission in the
図7は、要求電文送信部120の動作を表すフローチャートである。先ず、業務処理部110は所定の業務を処理し、電文受信装置20に宛てられた電文本体を作成する。要求電文送信部120は、業務処理部110からの電文本体を用いて、図3に示された電文フォーマットに従い要求電文を作成する(ステップS101)。電文フォーマットにおいて、要求電文送信部120は電文区分に「要求」を設定し、電文IDには電文送受信システムにおいて一意の識別番号を設定する。電文本体には業務処理部110によって作成された電文メッセージが設定される。
FIG. 7 is a flowchart showing the operation of the request
要求電文送信部120は要求電文の送信の可否を二重送信判定部130に問い合わせる(ステップS102)とともに、要求電文を送信電文表160に登録する(ステップS103)。二重送信判定部130は要求電文の送信が可能か否かを判定し、判定結果を送信電文表160に登録する。続いて、要求電文送信部120は送信電文表160を参照する。判定結果が送信可能である場合(ステップS104でYES)には、要求電文送信部120は要求電文を電文受信装置20に送信する(ステップS105)。判定結果が送信不可である場合(ステップS104でNO)には、要求電文送信部120は要求電文を破棄し、処理を終了する。
The request
図8は二重送信判定部130の動作を表すフローチャートである。二重送信判定部130は、要求電文送信部120または再送処理部140からの問い合わせに応じて、二重送信の判定を開始する。二重送信判定部130は、送信予定の要求電文の電文本体と送信電文表160に記録された電文本体とを比較する(ステップS201)。二重送信判定部130は、送信予定の要求電文の電文IDより前の時刻に作成された電文IDを有する要求電文を検索する。電文IDの時間の前後は、上述したように例えば電文IDの番号の大きさによって判断し得る。次に、二重送信判定部130は、検索された1つまたは複数の要求電文において、送信予定の要求電文と同一の電文本体を有する要求電文が存在するか否かを判断する。同一の要求電文が送信電文表160に存在する場合(ステップS202でYES)には、二重送信判定部130は送信電文表160における判定結果を「送信不可」に設定する(ステップS204)。同一の要求電文が送信電文表160に存在しない場合(ステップS202でNO)には、二重送信判定部130は送信電文表160における判定結果を「送信可能」に設定する(ステップS203)。要求電文送信部120、二重送信判定部130は送信電文表160における判定結果に基づき要求電文の送信または中止の処理を行う。
FIG. 8 is a flowchart showing the operation of the double transmission determination unit 130. The double transmission determination unit 130 starts the determination of double transmission in response to an inquiry from the request
図9は応答送信部220の動作を表すフローチャートである。電文受信装置20の応答送信部220は、電文送信装置10から電文を受信すると、当該電文が要求電文であるか否かを判断する。応答送信部220は受信した電文の電文区分が「要求」であるか否かを判断し、受信した電文が要求電文である場合には、以下の処理を開始する。先ず、応答送信部220は要求電文に対する応答電文を作成し、電文送信装置10に送信する(ステップS301)。受信応答電文は、図4に示すように電文区分と電文IDの情報を含む。電文区分には「受信応答」が設定され、電文IDには応答電文に対応する受信電文の電文IDが設定される。
FIG. 9 is a flowchart showing the operation of the
次に、応答送信部220は、受信電文の電文IDをキーとして応答電文表230を検索し、受信電文に対応する応答電文が存在するか否かを判定する(ステップS302)。受信電文に対応する応答電文が存在しない場合(ステップS302でNO)には、応答送信部220は業務処理部210を起動させる(ステップS303)。業務処理部210は要求電文に従い業務処理を行い、応答メッセージを作成する。応答送信部220は業務処理部210から応答メッセージを受け取ると、図3に示された電文フォーマットに従い業務応答電文を作成する(ステップS304)。電文区分には「業務応答」が設定され、電文IDには受信電文の電文IDが設定される。業務処理結果には、業務処理部210による処理結果として「OK」または「NG」のいずれかが設定される。応答送信部220は作成された業務応答電文を応答電文表に登録し(ステップS305)、電文送信装置10に送信する(ステップS307)。一方、ステップS302において、受信電文に対応する応答電文が存在する場合(ステップS302でYES)には、応答送信部220は当該電文を応答電文表230から読み出し、電文送信装置10に送信する(ステップS307)。
Next, the
図10は応答処理部150の動作を表すフローチャートである。電文送信装置10の応答処理部150は電文受信装置20から応答電文を受信すると、応答電文の種別を電文区分に基づき判断する(ステップS401)。応答電文の電文区分が「受信応答」である場合には、応答処理部150は送信電文表160から応答電文に対応する要求電文を削除する(ステップS402)。これにより、受信応答がなされた要求電文の再送は行われなくなる。応答電文の電文区分が「業務応答」である場合には、応答処理部150は業務処理部110を起動させ、業務処理部110は応答電文に基づく業務処理を実行する(ステップS403)。
FIG. 10 is a flowchart showing the operation of the
図11は再送処理部140の動作を表すフローチャートである。再送処理部140はタイマに基づき電文送信装置10の起動時から一定時間毎に起動する。再送処理部140が起動すると、先ず送信電文表160から1つの電文を読み出す(ステップS501)。次に、再送処理部140は、読み出した電文が送信可能か否かを二重送信判定部130に問い合わせる(ステップS502)。二重送信判定部130は、電文が送信可能であると判断すると(ステップS503でYES)、送信電文表160において電文の判定結果を「送信可能」に更新する(ステップS504)。再送処理部140は、送信電文表160の判定結果に従い要求電文を電文受信装置20に再送する(ステップS505)。一方、二重送信判定部は、電文が送信不可であると判断すると(ステップS503でNO)、送信電文表160において電文の判定結果を「送信不可」の状態のままとする。すなわち、判定対象の電文と同一の電文本体を有する電文が送信電文表160に存在する場合には、未だ応答電文が電文受信装置20から返送されていないと判断し得る。電文受信装置20における処理負担を軽減するため、再送処理部140は電文の再送を行わずに処理を終了する。
FIG. 11 is a flowchart showing the operation of the
再送処理部140は以上の処理を、送信電文表160のすべての電文に対して所定時間毎に繰り返し実行する。この間、送信電文表160に登録された要求電文に対して応答電文が返送されると、当該要求電文は送信電文表160から削除され、再送が停止される。また、送信された要求電文に対して応答電文が返送されていない場合には、再送を制限することにより、電文受信装置20における処理負担を軽減することが可能となる。
The
以上、述べたように、本実施形態によれば、送信電文表を用いて再送の可否を判定することにより、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。すなわち、電文受信装置20における再送電文の処理負担を軽減することができ、また、電文送信装置10は電文の再送を繰り返し行なわずに済むため、電文送信装置10における処理負担も軽減することが可能である。さらに、通信経路30における通信量を削減することができ、電文送受信システム全体において高速な処理が可能となる。
As described above, according to the present embodiment, it is possible to reduce the processing load required for retransmitting a telegram in a telegram guarantee type telegram transmission / reception system by determining whether or not the telegram can be resent using the transmission telegram table. It becomes. That is, the processing load of the retransmitted message in the
[第2の実施形態]
図12は本実施形態における電文送信装置の概略構成図である。本実施形態における電文送信装置10は、送信部101と判定部102とを備える。送信部101は電文受信装置に要求電文を送信する。判定部102は、送信済みの第1の要求電文のうち、対応する応答電文が電文受信装置から送信されていない第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する。本実施形態によれば、送信電文情報を用いて再送の可否を判定することにより、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。
[Second Embodiment]
FIG. 12 is a schematic configuration diagram of a telegram transmission device according to the present embodiment. The
[他の実施形態]
本発明は、発明の趣旨を逸脱しない範囲において様々な態様において実施可能である。例えば、送信電文表160、応答電文表230は必ずしも表形式のデータであること要せず、様々なフォーマットの情報であり得る。また、二重送信判定部130によって電文の送信が不可であると判定された場合、電文の送信を完全に禁止せずに、電文再送の頻度を低くするなど、送信を制限しても良い。
[Other Embodiments]
The present invention can be implemented in various aspects without departing from the spirit of the invention. For example, the transmission telegram table 160 and the response telegram table 230 do not necessarily have to be tabular data, and may be information in various formats. Further, when the double transmission determination unit 130 determines that the transmission of the telegram is impossible, the transmission may be restricted by reducing the frequency of retransmitting the telegram without completely prohibiting the transmission of the telegram.
上述の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may also be described, but not limited to:
(付記1)
電文送信装置および電文受信装置を備える電文送受信システムであって、
前記電文送信装置は、
前記電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送受信システム。
(Appendix 1)
A telegram transmission / reception system including a telegram transmission device and a telegram reception device.
The telegram transmitting device is
A transmitter that transmits a request telegram to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Judgment unit and
A telegram transmission / reception system characterized by being equipped with.
(付記2)
電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送信装置。
(Appendix 2)
A transmitter that sends a request telegram to a telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Judgment unit and
A telegram transmitter characterized by being equipped with.
(付記3)
前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする付記2に記載の電文送信装置。
(Appendix 3)
The telegram according to Appendix 2, wherein the determination unit restricts transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information. Transmitter.
(付記4)
前記判定部は、前記電文受信装置から前記応答電文を受信した場合、当該応答電文に対応する前記第1の要求電文を前記送信電文情報から削除することを特徴とする付記2または3に記載の電文送信装置。
(Appendix 4)
The description in
(付記5)
前記送信電文情報は、前記要求電文に一意である識別子をさらに含むことを特徴とする付記2乃至4のいずれかに記載の電文送信装置。
(Appendix 5)
The telegram transmitting device according to any one of Supplementary Provisions 2 to 4, wherein the transmitted telegram information further includes an identifier unique to the requested telegram.
(付記6)
前記識別子は、前記第1および前記第2の要求電文のそれぞれの作成時間の前後を判断可能な情報を含み、
前記判定部は、前記第2の要求電文よりも前の時間に作成された前記第2の要求電文を前記識別子に基づき前記送信電文情報から抽出し、前記第2の要求電文の送信の可否を判定することを特徴とする付記5に記載の電文送信装置。
(Appendix 6)
The identifier includes information that can determine before and after the creation time of each of the first and second request messages.
The determination unit extracts the second request message created at a time prior to the second request message from the transmission message information based on the identifier, and determines whether or not the second request message can be transmitted. The telegram transmitting device according to Appendix 5, wherein the determination is made.
(付記7)
電文送信装置から送信された要求電文に対応する応答電文を前記電文送信装置に送信する電文受信装置であって、
前記電文送信装置に送信されていない前記応答電文を記録する応答電文情報に基づき、前記応答電文の送信の可否を判定する応答送信部を備えたことを特徴とする電文受信装置。
(Appendix 7)
A telegram receiving device that transmits a response telegram corresponding to a request telegram transmitted from a telegram transmitting device to the telegram transmitting device.
A telegram receiving device comprising a response transmitting unit that determines whether or not the response telegram can be transmitted based on the response telegram information that records the response telegram that has not been transmitted to the telegram transmitting device.
(付記8)
電文送信装置および電文受信装置における電文送受信方法であって、
前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、
前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、
を備えたことを特徴とする電文送受信方法。
(Appendix 8)
A method for transmitting and receiving telegrams in a telegram transmitting device and a telegram receiving device.
A step of transmitting a request telegram to the telegram receiving device by the telegram transmitting device, and
Of the first request telegrams transmitted by the telegram transmitting device, the second requesting telegram is based on the transmitted telegram information recording the first requesting telegram in which the corresponding response telegram is not transmitted from the telegram receiving device. The step of determining whether or not the telegram can be transmitted by the telegram transmitting device, and
A telegram transmission / reception method characterized by being equipped with.
(付記9)
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備えたことを特徴とする電文送信方法。
(Appendix 9)
Steps to send the requested telegram from the telegram transmitter to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Steps to judge and
A telegram transmission method characterized by being equipped with.
(付記10)
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備える電文送信方法をコンピュータに実行させるプログラム。
(Appendix 10)
Steps to send the requested telegram from the telegram transmitter to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Steps to judge and
A program that causes a computer to execute a telegram transmission method.
10 電文送信装置
20 電文受信装置
30 通信経路
11、21 バス
12、22 CPU
13、23 ROM
14、24 RAM
15、25 記憶装置
16、26 通信インターフェース
17、27 キーボード
18、28 ディスプレイ
110 業務処理部
120 要求電文送信部
130 二重送信判定部
140 再送処理部
150 応答処理部
160 送信電文表
210 業務処理部
220 応答送信部
230 応答電文表
10
13, 23 ROM
14, 24 RAM
15, 25
Claims (8)
前記電文送信装置は、
前記電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備え、
前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送受信システム。 A telegram transmission / reception system including a telegram transmission device and a telegram reception device.
The telegram transmitting device is
A transmitter that transmits a request telegram to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Judgment unit and
Equipped with a,
The determination unit is a telegram transmission / reception system characterized in that transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information is restricted.
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備え、
前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送信装置。 A transmitter that sends a request telegram to a telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Judgment unit and
Equipped with a,
The determination unit is a telegram transmission device characterized in that transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information is restricted.
前記判定部は、前記第2の要求電文よりも前の時間に作成された前記第2の要求電文を前記識別子に基づき前記送信電文情報から抽出し、前記第2の要求電文の送信の可否を判定することを特徴とする請求項4に記載の電文送信装置。 The identifier includes information that can determine before and after the creation time of each of the first and second request messages.
The determination unit extracts the second request message created at a time prior to the second request message from the transmission message information based on the identifier, and determines whether or not the second request message can be transmitted. The telegram transmitting device according to claim 4 , wherein the determination is made.
前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、
前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、
を備え、
前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送受信方法。 A method for transmitting and receiving telegrams in a telegram transmitting device and a telegram receiving device.
A step of transmitting a request telegram to the telegram receiving device by the telegram transmitting device, and
Of the first request telegrams transmitted by the telegram transmitting device, the second requesting telegram is based on the transmitted telegram information recording the first requesting telegram in which the corresponding response telegram is not transmitted from the telegram receiving device. The step of determining whether or not the telegram can be transmitted by the telegram transmitting device, and
Equipped with a,
The determination step is a telegram transmission / reception method, characterized in that transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information is restricted.
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備え、
前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする電文送信方法。 Steps to send the requested telegram from the telegram transmitter to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Steps to judge and
Equipped with a,
The determination step is a telegram transmission method comprising limiting the transmission of the second request telegram having the same telegram body as the telegram body of the first request telegram included in the transmission telegram information.
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備え、
前記判定するステップでは、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限する電文送信方法をコンピュータに実行させるプログラム。 Steps to send the requested telegram from the telegram transmitter to the telegram receiver,
Among the transmitted first request messages, whether or not the second request message can be transmitted is determined based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message receiving device. Steps to judge and
Equipped with a,
Wherein in the determining, the program for executing the first and the second request message transmitted message transmission method that limits the having a message same message body and the body of the request telegram included in the transmitted message information to the computer ..
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017054129A JP6932961B2 (en) | 2017-03-21 | 2017-03-21 | Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017054129A JP6932961B2 (en) | 2017-03-21 | 2017-03-21 | Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018157466A JP2018157466A (en) | 2018-10-04 |
JP6932961B2 true JP6932961B2 (en) | 2021-09-08 |
Family
ID=63716853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017054129A Active JP6932961B2 (en) | 2017-03-21 | 2017-03-21 | Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6932961B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022009415A1 (en) * | 2020-07-10 | 2022-01-13 | 日本電信電話株式会社 | Request delivery device, request delivery method, and request delivery program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0622000A (en) * | 1992-07-06 | 1994-01-28 | Nec Corp | Message communication system with function preventing the missing of message |
JP2003150465A (en) * | 2001-11-19 | 2003-05-23 | Nec Corp | Transaction process control system in distributed processing system |
KR100677497B1 (en) * | 2005-11-02 | 2007-02-02 | 엘지전자 주식회사 | Duplicated notification processing method in a terminal |
FR2907622A1 (en) * | 2006-10-19 | 2008-04-25 | St Microelectronics Sa | DATA TRANSMISSION METHOD USING A RECEPTION ACCOUNT CODE HAVING HID AUTHENTICATION BITS |
KR20150123407A (en) * | 2014-04-24 | 2015-11-04 | 삼성전자주식회사 | Apparatus and method for providing message service |
-
2017
- 2017-03-21 JP JP2017054129A patent/JP6932961B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018157466A (en) | 2018-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109636427B (en) | Business processing method, device, medium and electronic equipment based on block chain system | |
US8260956B2 (en) | Data transmission queuing using fault prediction | |
JP5472276B2 (en) | Vehicle communication control device | |
CN102027461B (en) | Extended messaging platform | |
US20060013169A2 (en) | Reliable message distribution in an ad hoc mesh network | |
US7555558B1 (en) | Method and system for fault-tolerant transfer of files across a network | |
CN102890631A (en) | Method for transmitting message based on persistent message queue and message transmission device | |
CN102647365A (en) | Method and device for processing message and message status and data exchange server | |
WO2019062074A1 (en) | Method and apparatus for transmitting on-board device data | |
JP2003249919A (en) | Two-way communication method | |
JP6932961B2 (en) | Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program | |
KR100863126B1 (en) | Method for providing the location and cause of error in sensor network | |
KR20170010300A (en) | Methods for processing request message in M2M system and Apparatuses thereof | |
JP2018517992A (en) | Hypertext transfer protocol request retransmission method, device, and client terminal | |
US8234338B1 (en) | System and method for reliable message delivery | |
JP5029685B2 (en) | Backup device | |
KR101611663B1 (en) | Data communications using connectionless-oriented protocol | |
JP6851754B2 (en) | Relay device, relay system, relay program, and relay method | |
JP5136200B2 (en) | Logging system | |
JP4266107B2 (en) | Data transfer device, data transfer destination device, data collection device, data transfer program, data transfer destination program, and data collection program | |
CN111756645A (en) | Ad hoc network elastic transmission control method based on block chain security attribute | |
JP6451425B2 (en) | Information processing apparatus, information processing system, and information processing program | |
US9769013B2 (en) | Information processing device that generates packet including first and second identifiers, transmission and reception device, and control method of information processing device | |
JP2014170288A (en) | Message distribution system and message distribution method | |
JP4633651B2 (en) | Notification system and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180413 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200207 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201124 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201222 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210210 |
|
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: 20210720 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210802 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6932961 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |