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 PDF

Info

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
Application number
JP2017054129A
Other languages
Japanese (ja)
Other versions
JP2018157466A (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 JP2017054129A priority Critical patent/JP6932961B2/en
Publication of JP2018157466A publication Critical patent/JP2018157466A/en
Application granted granted Critical
Publication of JP6932961B2 publication Critical patent/JP6932961B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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.

特開2005−150465号公報Japanese Unexamined Patent Publication No. 2005-150465

しかしながら、特許文献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の実施形態における電文送受信システムのハードウェアブロック図である。It is a hardware block diagram of the telegram transmission / reception system in 1st Embodiment. 第1の実施形態における電文送受信システムの機能ブロック図である。It is a functional block diagram of the telegram transmission / reception system in 1st Embodiment. 第1の実施形態における電文フォーマットの図である。It is a figure of the telegram format in the first embodiment. 第1の実施形態における受信応答の電文フォーマットの図である。It is a figure of the message format of the reception response in 1st Embodiment. 第1の実施形態における送信電文表の図である。It is a figure of the transmission telegram table in 1st Embodiment. 第1の実施形態における応答電文表の図である。It is a figure of the response telegram table in the 1st embodiment. 第1の実施形態における要求電文送信部のフローチャートである。It is a flowchart of the request message transmission part in 1st Embodiment. 第1の実施形態における応答電文送信部のフローチャートである。It is a flowchart of the response telegram transmission part in 1st Embodiment. 第1の実施形態における応答処理部のフローチャートである。It is a flowchart of the response processing part in 1st Embodiment. 第1の実施形態における再送処理部のフローチャートである。It is a flowchart of the retransmission processing part in 1st Embodiment. 第1の実施形態における二重送信判定部のフローチャートである。It is a flowchart of the double transmission determination part in 1st Embodiment. 第2の実施形態における電文送信装置の概略構成図である。It is a schematic block diagram of the telegram transmission device in 2nd Embodiment.

以下、図面を参照して、本発明の実施形態を説明する。
[第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 telegram transmission device 10 and a telegram reception device 20 connected to each other via a communication path 30. The telegram transmission / reception system can be used in various fields such as internal and external business systems, payment systems in financial institutions, management systems between stores, and control systems for transportation such as aircraft. Further, the telegram transmitting device 10 and the telegram receiving device 20 merely distinguish between the transmitting side and the receiving side with respect to a specific telegram, and both may have a function of transmitting and receiving.

電文送信装置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 message transmission device 10 includes a bus 11, a CPU (Central Processing Unit) 12, a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, a storage device (HDD: Hard Disk Drive) 15, and a communication interface (I / F). : Interface) 16, keyboard 17, display 18.

CPU12は予め定められたアプリケーションプログラムに従って電文の送受信処理、業務処理を実行する。アプリケーションプログラムはROM13に書き込まれても良く、図示されていないサーバからダウンロードされても良い。RAM14はCPU12の動作に必要なメモリ領域を提供する。記憶装置15は電文、送信電文表、業務データなどを保存可能である。通信インターフェース16は送受信回路、プロトコル変換回路を含み、通信経路30を解して電文などのデータを送受信可能である。キーボード17は電文の入力、業務処理プログラムの操作などのために用いられる。ディスプレイ18は液晶ディスプレイ、有機発光ディスプレイなどから構成され、電文および業務処理に関する表示を行う。 The CPU 12 executes telegram transmission / reception processing and business processing according to a predetermined application program. The application program may be written to ROM 13 or downloaded from a server (not shown). The RAM 14 provides a memory area required for the operation of the CPU 12. The storage device 15 can store a telegram, a transmitted telegram table, business data, and the like. The communication interface 16 includes a transmission / reception circuit and a protocol conversion circuit, and can transmit / receive data such as a telegram by solving the communication path 30. The keyboard 17 is used for inputting a telegram, operating a business processing program, and the like. The display 18 is composed of a liquid crystal display, an organic light emitting display, and the like, and displays telegrams and business processes.

電文受信装置20は電文送信装置10と同様に構成され、バス21、CPU22、ROM23、RAM24、記憶装置25、通信インターフェース26、キーボード27、ディスプレイ28を含む。通信経路30は、電文送受信システムの専用回線であっても良く、公衆回線であっても良い。また、通信経路30は有線回線または無線回線であるかを問わない。 The telegram receiving device 20 is configured in the same manner as the telegram transmitting device 10, and includes a bus 21, a CPU 22, a ROM 23, a RAM 24, a storage device 25, a communication interface 26, a keyboard 27, and a display 28. The communication path 30 may be a dedicated line of the telegram transmission / reception system or a public line. Further, the communication path 30 may be a wired line or a wireless line.

図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 telegram transmission device 10 includes a business processing unit 110, a request message transmission unit 120, a double transmission determination unit 130, a retransmission processing unit 140, a response processing unit 150, and a transmission telegram table 160.

業務処理部110はアプリケーションプログラムに従い所定の業務を処理しながら、電文受信装置20に送信すべき電文を作成する。要求電文送信部120は業務処理部110から出力されたデータを所定の電文フォーマットに従って要求電文を作成する。要求電文送信部120は作成した電文が送信可能か否かを二重送信判定部130に問い合わせる。二重送信判定部130が送信を許可すると、要求電文送信部120は電文を電文受信装置20に送信するとともに、送信電文表160に電文を登録する。二重送信判定部130が送信不可であると判断すると、要求電文送信部120は要求電文を破棄する。 The business processing unit 110 creates a telegram to be transmitted to the telegram receiving device 20 while processing a predetermined business according to an application program. The request message transmission unit 120 creates a request message from the data output from the business processing unit 110 according to a predetermined message format. The request telegram transmission unit 120 inquires the double transmission determination unit 130 whether or not the created telegram can be transmitted. When the double transmission determination unit 130 permits transmission, the request telegram transmission unit 120 transmits the telegram to the telegram receiving device 20 and registers the telegram in the transmission telegram table 160. When the double transmission determination unit 130 determines that transmission is not possible, the request message transmission unit 120 discards the request message.

二重送信判定部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 message transmission unit 120 or the retransmission processing unit 140. The double transmission determination unit 130 determines whether or not the telegram can be transmitted by determining whether or not the same telegram body as the telegram to be determined is included in the transmitted telegrams in the transmission telegram table 160 described later. do. That is, when the same telegram body exists in the telegram table 160, the double transmission determination unit 130 determines that the telegram to be determined cannot be transmitted. On the other hand, when the same telegram body does not exist in the transmission telegram table 160, the double transmission determination unit 130 determines that the telegram to be determined can be transmitted. For example, if the business processing unit 110 transmits the same request message a plurality of times even though the response to the first request message has not been confirmed, the load of reception processing in the message receiving device 20 becomes excessive. .. In addition, the processing burden of repeatedly executing the telegram retransmission in the telegram transmitting device 10 may increase. Further, in the communication path 30, there is a possibility that the communication traffic may be compressed by a large amount of retransmitted statements. According to the present embodiment, by restricting the retransmission of the same requested telegram in this way, the processing load of the telegram transmission / reception system can be reduced.

再送処理部140は、電文送信装置10の動作開始時から所定時間毎に起動し、二重送信判定部130による再送の可否の判断に従い再送処理を実行する。すなわち、再送処理部140は送信電文表160において電文受信装置20からの応答が未確認の電文を読み出し、電文受信装置20に送信する。 The retransmission processing unit 140 is activated at predetermined time intervals from the start of the operation of the telegram transmission device 10, and executes the retransmission processing according to the determination by the double transmission determination unit 130 whether or not the retransmission is possible. That is, the retransmission processing unit 140 reads out a telegram whose response from the telegram receiving device 20 is unconfirmed in the transmission telegram table 160 and transmits it to the telegram receiving device 20.

応答処理部150は、電文受信装置20から返却される二種類の応答電文を受信して、各々の電文に応じた処理を行う。第1の応答電文は、要求電文の受信を契機に返却される受信応答電文である。応答処理部150は受信応答電文を受信すると、受信応答電文に対応する要求電文を送信電文表160から削除し、電文再送を停止させる。第2の応答電文は電文受信装置20の業務処理結果を返却する業務応答電文である。応答処理部150は業務応答電文を受信すると、業務応答電文に従った処理を業務処理部110に実行させる。 The response processing unit 150 receives two types of response telegrams returned from the telegram receiving device 20 and performs processing according to each telegram. The first response message is a reception response message that is returned when the request message is received. When the response processing unit 150 receives the reception response message, the response processing unit 150 deletes the request message corresponding to the reception response message from the transmission message table 160 and stops the message retransmission. The second response message is a business response message that returns the business processing result of the message receiving device 20. When the response processing unit 150 receives the business response message, the response processing unit 150 causes the business processing unit 110 to execute the process according to the business response message.

送信電文表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 storage device 15. The telegram recorded in the transmission telegram table 160 is read out by the retransmission processing unit 140 described later and retransmitted. The transmitted telegram table 160 may include a telegram ID for uniquely identifying the telegram and information indicating whether or not the telegram can be transmitted.

電文受信装置20は、業務処理部210、応答送信部220、応答電文表230を含む。業務処理部210は受信した要求電文に応じて所定の業務処理を実行する。応答送信部220は、要求電文を受信したことの確認の電文の送信、二重処理の判定、業務処理部210への要求電文の出力、業務処理部210からの応答電文の送信などの処理を行う。応答電文表230は電文送信装置10に返送する業務応答電文を記録する。電文受信装置20が業務実行済みの要求電文を受信した場合に、応答電文表230から応答送信部220が業務応答電文を読み込み、電文送信装置10に返送する。電文受信装置20は応答電文表230に基づき二重処理の判定を行うことができる。 The telegram receiving device 20 includes a business processing unit 210, a response transmitting unit 220, and a response telegram table 230. The business processing unit 210 executes a predetermined business processing according to the received request message. The response transmission unit 220 performs processing such as transmission of a message confirming that the request message has been received, determination of double processing, output of the request message to the business processing unit 210, and transmission of the response message from the business processing unit 210. conduct. The response telegram table 230 records the business response telegram to be returned to the telegram transmission device 10. When the telegram receiving device 20 receives the requested telegram for which the business has been executed, the response transmitting unit 220 reads the business response telegram from the response telegram table 230 and returns it to the telegram transmitting device 10. The telegram receiving device 20 can determine the double processing based on the response telegram table 230.

図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 message transmission device 10 to the message reception device 20, and the reception response message is a message transmitted from the message reception device 20 to the message transmission device 10 in response to the request message. be. The business response message is a message that returns the result of business processing in response to the request message. The telegram ID is an identifier uniquely assigned to the telegram and is used to identify the telegram to be sent and received. For example, numerical values in ascending or descending order may be assigned to the telegram ID according to the order in which the telegrams are created. Thereby, by referring to the telegram ID, it is possible to determine before and after the creation time of the two telegrams. The business processing result represents the result of business processing by the business processing unit 110, and is information such as "OK" and "NG", for example. The main body of the telegram is text data added to each telegram.

図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 telegram transmitting device 10 that the telegram receiving device 20 has received the telegram. The received response telegram may include information on the telegram ID and the telegram classification. The telegram ID is unique data such as the identification number of the received telegram, and the telegram classification defines "reception response".

図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 telegram transmission device 10. Further, the determination result indicates whether or not the request telegram can be transmitted, and is set by the double transmission determination unit 130. That is, the double transmission determination unit 130 determines whether or not the telegram to be determined and the telegram having the telegram ID created at a time before the telegram ID are the same. The double transmission determination unit 130 sets the determination result to "transmission impossible" when both are the same, and sets the determination result to "transmission possible" when both are different. When the determination result is "transmissible", the request telegram transmission unit 120 and the retransmission processing unit 140 are allowed to transmit the telegram. On the other hand, when the determination result is "transmission impossible", the transmission of the telegram by the request message transmission unit 120 and the retransmission processing unit 140 is restricted.

図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 telegram receiving device 20, and includes the telegram ID and the information of the response telegram main body. The telegram ID represents the identification number of the response telegram, and the response telegram body represents the message of the response telegram transmitted by the telegram receiving device 20.

図7は、要求電文送信部120の動作を表すフローチャートである。先ず、業務処理部110は所定の業務を処理し、電文受信装置20に宛てられた電文本体を作成する。要求電文送信部120は、業務処理部110からの電文本体を用いて、図3に示された電文フォーマットに従い要求電文を作成する(ステップS101)。電文フォーマットにおいて、要求電文送信部120は電文区分に「要求」を設定し、電文IDには電文送受信システムにおいて一意の識別番号を設定する。電文本体には業務処理部110によって作成された電文メッセージが設定される。 FIG. 7 is a flowchart showing the operation of the request message transmission unit 120. First, the business processing unit 110 processes a predetermined business and creates a telegram main body addressed to the telegram receiving device 20. The request telegram transmission unit 120 creates a request telegram according to the telegram format shown in FIG. 3 using the telegram body from the business processing unit 110 (step S101). In the telegram format, the request telegram transmission unit 120 sets "request" in the telegram classification, and sets the telegram ID as a unique identification number in the telegram transmission / reception system. A telegram message created by the business processing unit 110 is set in the telegram body.

要求電文送信部120は要求電文の送信の可否を二重送信判定部130に問い合わせる(ステップS102)とともに、要求電文を送信電文表160に登録する(ステップS103)。二重送信判定部130は要求電文の送信が可能か否かを判定し、判定結果を送信電文表160に登録する。続いて、要求電文送信部120は送信電文表160を参照する。判定結果が送信可能である場合(ステップS104でYES)には、要求電文送信部120は要求電文を電文受信装置20に送信する(ステップS105)。判定結果が送信不可である場合(ステップS104でNO)には、要求電文送信部120は要求電文を破棄し、処理を終了する。 The request message transmission unit 120 inquires the double transmission determination unit 130 whether or not the request message can be transmitted (step S102), and registers the request message in the transmission message table 160 (step S103). The double transmission determination unit 130 determines whether or not the request telegram can be transmitted, and registers the determination result in the transmission telegram table 160. Subsequently, the request message transmission unit 120 refers to the transmission message table 160. When the determination result can be transmitted (YES in step S104), the request telegram transmission unit 120 transmits the request telegram to the telegram receiving device 20 (step S105). If the determination result cannot be transmitted (NO in step S104), the request message transmission unit 120 discards the request message and ends the process.

図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 message transmission unit 120 or the retransmission processing unit 140. The double transmission determination unit 130 compares the telegram body of the request telegram to be transmitted with the telegram body recorded in the telegram table 160 (step S201). The double transmission determination unit 130 searches for a request telegram having a telegram ID created at a time earlier than the telegram ID of the request telegram to be transmitted. Before and after the time of the telegram ID can be determined by, for example, the size of the number of the telegram ID as described above. Next, the double transmission determination unit 130 determines whether or not there is a request message having the same message body as the request message to be transmitted in the searched one or more request messages. When the same request message exists in the transmission message table 160 (YES in step S202), the double transmission determination unit 130 sets the determination result in the transmission message table 160 to "cannot be transmitted" (step S204). When the same request message does not exist in the transmission message table 160 (NO in step S202), the double transmission determination unit 130 sets the determination result in the transmission message table 160 to “transmissible” (step S203). The request message transmission unit 120 and the double transmission determination unit 130 perform a process of transmitting or canceling the request message based on the determination result in the transmission message table 160.

図9は応答送信部220の動作を表すフローチャートである。電文受信装置20の応答送信部220は、電文送信装置10から電文を受信すると、当該電文が要求電文であるか否かを判断する。応答送信部220は受信した電文の電文区分が「要求」であるか否かを判断し、受信した電文が要求電文である場合には、以下の処理を開始する。先ず、応答送信部220は要求電文に対する応答電文を作成し、電文送信装置10に送信する(ステップS301)。受信応答電文は、図4に示すように電文区分と電文IDの情報を含む。電文区分には「受信応答」が設定され、電文IDには応答電文に対応する受信電文の電文IDが設定される。 FIG. 9 is a flowchart showing the operation of the response transmission unit 220. When the response transmission unit 220 of the telegram receiving device 20 receives the telegram from the telegram transmitting device 10, it determines whether or not the telegram is the requested telegram. The response transmission unit 220 determines whether or not the telegram classification of the received telegram is "request", and if the received telegram is the request telegram, the following processing is started. First, the response transmission unit 220 creates a response message for the request message and transmits it to the message transmission device 10 (step S301). The received response telegram includes information on the telegram classification and the telegram ID as shown in FIG. "Received response" is set in the telegram category, and the telegram ID of the received telegram corresponding to the response telegram is set in the telegram ID.

次に、応答送信部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 response transmission unit 220 searches the response message table 230 using the message ID of the received message as a key, and determines whether or not a response message corresponding to the received message exists (step S302). When the response message corresponding to the received message does not exist (NO in step S302), the response transmission unit 220 activates the business processing unit 210 (step S303). The business processing unit 210 performs business processing according to the request message and creates a response message. When the response transmission unit 220 receives the response message from the business processing unit 210, the response transmission unit 220 creates a business response telegram according to the telegram format shown in FIG. 3 (step S304). "Business response" is set in the telegram category, and the telegram ID of the received telegram is set in the telegram ID. In the business processing result, either "OK" or "NG" is set as the processing result by the business processing unit 210. The response transmission unit 220 registers the created business response message in the response message table (step S305) and transmits it to the message transmission device 10 (step S307). On the other hand, in step S302, when the response message corresponding to the received message exists (YES in step S302), the response transmission unit 220 reads the message from the response message table 230 and transmits it to the message transmission device 10 (step). S307).

図10は応答処理部150の動作を表すフローチャートである。電文送信装置10の応答処理部150は電文受信装置20から応答電文を受信すると、応答電文の種別を電文区分に基づき判断する(ステップS401)。応答電文の電文区分が「受信応答」である場合には、応答処理部150は送信電文表160から応答電文に対応する要求電文を削除する(ステップS402)。これにより、受信応答がなされた要求電文の再送は行われなくなる。応答電文の電文区分が「業務応答」である場合には、応答処理部150は業務処理部110を起動させ、業務処理部110は応答電文に基づく業務処理を実行する(ステップS403)。 FIG. 10 is a flowchart showing the operation of the response processing unit 150. When the response processing unit 150 of the telegram transmitting device 10 receives the response telegram from the telegram receiving device 20, the response processing unit 150 determines the type of the response telegram based on the telegram classification (step S401). When the message classification of the response message is "received response", the response processing unit 150 deletes the request message corresponding to the response message from the transmitted message table 160 (step S402). As a result, the request message for which the reception response has been made is not retransmitted. When the message classification of the response message is "business response", the response processing unit 150 activates the business processing unit 110, and the business processing unit 110 executes business processing based on the response message (step S403).

図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 retransmission processing unit 140. The retransmission processing unit 140 is activated at regular intervals from the start of the telegram transmission device 10 based on the timer. When the retransmission processing unit 140 is activated, first, one telegram is read from the transmitted telegram table 160 (step S501). Next, the retransmission processing unit 140 inquires the double transmission determination unit 130 whether or not the read telegram can be transmitted (step S502). When the double transmission determination unit 130 determines that the telegram can be transmitted (YES in step S503), the double transmission determination unit 130 updates the determination result of the telegram to "transmittable" in the transmission telegram table 160 (step S504). The retransmission processing unit 140 retransmits the requested telegram to the telegram receiving device 20 according to the determination result in the transmitted telegram table 160 (step S505). On the other hand, when the double transmission determination unit determines that the telegram cannot be transmitted (NO in step S503), the determination result of the telegram in the transmission telegram table 160 remains in the "transmission impossible" state. That is, when a telegram having the same telegram body as the telegram to be determined exists in the transmission telegram table 160, it can be determined that the response telegram has not yet been returned from the telegram receiving device 20. In order to reduce the processing load on the telegram receiving device 20, the retransmission processing unit 140 ends the processing without retransmitting the telegram.

再送処理部140は以上の処理を、送信電文表160のすべての電文に対して所定時間毎に繰り返し実行する。この間、送信電文表160に登録された要求電文に対して応答電文が返送されると、当該要求電文は送信電文表160から削除され、再送が停止される。また、送信された要求電文に対して応答電文が返送されていない場合には、再送を制限することにより、電文受信装置20における処理負担を軽減することが可能となる。 The retransmission processing unit 140 repeatedly executes the above processing for all the telegrams in the transmission telegram table 160 at predetermined time intervals. During this period, if a response message is returned to the request message registered in the transmission message table 160, the request message is deleted from the transmission message table 160 and retransmission is stopped. Further, when the response message is not returned in response to the transmitted request message, the processing load on the message receiving device 20 can be reduced by limiting the retransmission.

以上、述べたように、本実施形態によれば、送信電文表を用いて再送の可否を判定することにより、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。すなわち、電文受信装置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 telegram receiving device 20 can be reduced, and since the telegram transmitting device 10 does not have to repeatedly retransmit the telegram, the processing load in the telegram transmitting device 10 can also be reduced. Is. Further, the amount of communication in the communication path 30 can be reduced, and high-speed processing becomes possible in the entire telegram transmission / reception system.

[第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 telegram transmission device 10 in the present embodiment includes a transmission unit 101 and a determination unit 102. The transmission unit 101 transmits a request telegram to the telegram receiving device. The determination unit 102 transmits the second request message 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 among the transmitted first request messages. Judge whether or not. According to the present embodiment, it is possible to reduce the processing load required for retransmitting a telegram in a telegram-guaranteed telegram transmission / reception system by determining whether or not the telegram can be resent using the transmitted telegram information.

[他の実施形態]
本発明は、発明の趣旨を逸脱しない範囲において様々な態様において実施可能である。例えば、送信電文表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 Appendix 2 or 3, wherein when the determination unit receives the response message from the message receiving device, the determination unit deletes the first request message corresponding to the response message from the transmitted message information. Telegram transmitter.

(付記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 Telegram transmitter 20 Telegram receiver 30 Communication path 11, 21 Bus 12, 22 CPU
13, 23 ROM
14, 24 RAM
15, 25 Storage device 16, 26 Communication interface 17, 27 Keyboard 18, 28 Display 110 Business processing unit 120 Request telegram transmission unit 130 Double transmission judgment unit 140 Retransmission processing unit 150 Response processing unit 160 Transmission telegram table 210 Business processing unit 220 Response transmitter 230 Response message table

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.
前記判定部は、前記電文受信装置から前記応答電文を受信した場合、当該応答電文に対応する前記第1の要求電文を前記送信電文情報から削除することを特徴とする請求項2に記載の電文送信装置。 The telegram according to claim 2, wherein when the determination unit receives the response telegram from the telegram receiving device, the determination unit deletes the first request telegram corresponding to the response telegram from the transmitted telegram information. Transmitter. 前記送信電文情報は、前記要求電文に一意である識別子をさらに含むことを特徴とする請求項2又は3に記載の電文送信装置。 The telegram transmitting device according to claim 2 or 3 , wherein the transmitted telegram information further includes an identifier unique to the requested telegram. 前記識別子は、前記第1および前記第2の要求電文のそれぞれの作成時間の前後を判断可能な情報を含み、
前記判定部は、前記第2の要求電文よりも前の時間に作成された前記第2の要求電文を前記識別子に基づき前記送信電文情報から抽出し、前記第2の要求電文の送信の可否を判定することを特徴とする請求項に記載の電文送信装置。
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 ..
JP2017054129A 2017-03-21 2017-03-21 Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program Active JP6932961B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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