[go: up one dir, main page]

JP2018157466A - Telegram transmitting/receiving system, telegram transmitting apparatus, telegram receiving apparatus, and telegram transmitting/receiving method and program - Google Patents

Telegram transmitting/receiving system, telegram transmitting apparatus, telegram receiving apparatus, and telegram transmitting/receiving method and program Download PDF

Info

Publication number
JP2018157466A
JP2018157466A JP2017054129A JP2017054129A JP2018157466A JP 2018157466 A JP2018157466 A JP 2018157466A JP 2017054129 A JP2017054129 A JP 2017054129A JP 2017054129 A JP2017054129 A JP 2017054129A JP 2018157466 A JP2018157466 A JP 2018157466A
Authority
JP
Japan
Prior art keywords
message
transmission
request
transmitted
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017054129A
Other languages
Japanese (ja)
Other versions
JP6932961B2 (en
Inventor
駿 加藤
Shun Kato
駿 加藤
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

Landscapes

  • Information Transfer Between Computers (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a wireless communication system using different wireless communication schemes enabling smooth wireless communication.SOLUTION: The telegram transmission/reception system includes: a telegram transmission apparatus and a telegram reception apparatus. The telegram transmission apparatus includes: a transmission unit for transmitting a request telegram to the telegram reception apparatus; and a determination unit that determines whether transmission of a second request telegram is permitted on the basis of transmitted telegram information for recording a first request telegram to which a corresponding response telegram is not transmitted from the telegram reception apparatus among the transmitted first request telegrams.SELECTED DRAWING: Figure 2

Description

本発明は、電文送受信システム、電文送信装置、電文受信装置、電文送受信方法およびプログラムに関する。   The present invention relates to a message transmission / reception system, a message transmission device, a message reception device, a message transmission / reception method, and a program.

従来より、業務処理などの様々な分野において、送信先への電文到達を保証する電文保証型の電文送受信システムが提案されている。電文保証の制御は、送信側システムと受信側システムにおいて行なわれる。送信側システムは、送信電文をデータベース等の記憶領域に保存し、送信先からの応答受信が確認されるまで、一定間隔でデータベースから電文を読み出し、再送を繰り返す。例えば、受信側システムが業務処理プログラムを実行中に要求電文を受信した場合、送信側システムは受信側システムから受信確認の応答電文を受信するまで要求電文の再送を繰り返してしまう。電文再送が繰り返された場合、受信側システムは不要な電文の受信処理により、高負荷状態に陥るおそれがある。このため、電文の二重処理を検査するとともに、応答電文を送信する技術が提案されている。   Conventionally, in various fields such as business processing, a message guarantee type message transmission / reception system that guarantees message arrival at a transmission destination has been proposed. The message guarantee control is performed in the transmission side system and the reception side system. The transmission-side system stores the transmission message in a storage area such as a database, reads out the message from the database at regular intervals, and repeats retransmission until a response reception from the transmission destination is confirmed. For example, when the receiving side system receives a request message while executing the business processing program, the transmitting side system repeats the retransmission of the request message until a reception confirmation response message is received from the receiving side system. When the message retransmission is repeated, the receiving system may fall into a high load state due to unnecessary message reception processing. For this reason, a technique has been proposed in which double processing of a message is inspected and a response message is transmitted.

特許文献1に記載の処理システムは、受信電文上の業務(トランザクション)処理プログラムが実行済みか否かに基づき二重処理を判断している。受信側システムは、実行済みでない場合は業務処理プログラムを実行して処理結果を基に作成した応答電文を格納ファイルに記録する。業務処理プログラムが実行済みの場合には、受信側システムは業務処理プログラムを実行せずに登録済みの応答電文を送信する。送信側システムは、受信応答の確認がなされていない要求電文を一定の時間間隔で再送している。   The processing system described in Patent Literature 1 determines the duplex processing based on whether or not the business (transaction) processing program on the received message has been executed. If it has not been executed, the receiving system executes the business processing program and records a response message created based on the processing result in the storage file. If the business process program has been executed, the receiving system transmits a registered response message without executing the business process program. The transmission side system retransmits a request message, for which the reception response has not been confirmed, at regular time intervals.

特開2005−150465号公報JP 2005-150465 A

しかしながら、特許文献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 message reception in the message reception device has been excessive. In addition, the message transmission apparatus also has a problem that processing efficiency deteriorates due to the repeated retransmission processing. The present invention has been made in view of the above-described problems, and an object of the present invention is to reduce a processing burden required for retransmission of a message in a message-guaranteed message transmission / reception system.

本発明の一観点によれば、電文送信装置および電文受信装置を備える電文送受信システムであって、前記電文送信装置は、前記電文受信装置に要求電文を送信する送信部と、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部とを備えたことを特徴とする電文送受信システムが提供される。   According to an aspect of the present invention, there is provided a message transmission / reception system including a message transmission device and a message reception device, the message transmission device including a transmission unit that transmits a request message to the message reception device, and a first that has been transmitted. A determination unit that determines whether or not the second request message can be transmitted based on transmission message information that records the first request message in which a corresponding response message is not transmitted from the message reception device. A telegram transmission / reception system characterized by comprising:

本発明の他の観点によれば、電文受信装置に要求電文を送信する送信部と、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、を備えたことを特徴とする電文送信装置が提供される。   According to another aspect of the present invention, the transmission unit that transmits the request message to the message receiving device and the first response message that has been transmitted, the corresponding response message is not transmitted from the message receiving device. There is provided a message transmission device comprising: a determination unit that determines whether or not a second request message can be transmitted based on transmission message information that records one request message.

本発明のさらに他の観点によれば、電文送信装置から送信された要求電文に対応する応答電文を前記電文送信装置に送信する電文受信装置であって、前記電文送信装置に送信されていない前記応答電文を記録する応答電文情報に基づき、前記応答電文の送信の可否を判定する応答送信部を備えたことを特徴とする電文受信装置が提供される。   According to still another aspect of the present invention, there is provided a message reception device that transmits a response message corresponding to a request message transmitted from a message transmission device to the message transmission device, and is not transmitted to the message transmission device. There is provided a message receiving apparatus comprising a response transmission unit that determines whether or not the response message can be transmitted based on response message information that records a response message.

本発明の他の観点によれば、電文送信装置および電文受信装置における電文送受信方法であって、前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、を備えたことを特徴とする電文送受信方法が提供される。   According to another aspect of the present invention, there is a message transmission / reception method in a message transmission apparatus and a message reception apparatus, the step of transmitting a request message to the message reception apparatus by the message transmission apparatus, and the transmission by the message transmission apparatus Among the first request messages, a message indicating whether or not the second request message can be transmitted based on transmission message information that records the first request message for which the corresponding response message has not been transmitted from the message receiver. And a step of determining by a transmitting device.

本発明の他の観点によれば、要求電文を電文送信装置から電文受信装置に送信するステップと、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、を備えたことを特徴とする電文送信方法が提供される。   According to another aspect of the present invention, a request message is transmitted from the message transmission device to the message reception device, and a corresponding response message is transmitted from the message reception device among the transmitted first request messages. And a step of determining whether or not the second request message can be transmitted based on the transmitted message information for recording the first request message that does not exist.

本発明の他の観点によれば、要求電文を電文送信装置から電文受信装置に送信するステップと、送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、を備える電文送信方法をコンピュータに実行させるプログラムが提供される。   According to another aspect of the present invention, a request message is transmitted from the message transmission device to the message reception device, and a corresponding response message is transmitted from the message reception device among the transmitted first request messages. There is provided a program for causing a computer to execute a message transmission method comprising: determining whether or not transmission of a second request message is possible based on transmission message information for recording the first request message that is not present.

本発明によれば、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to reduce the processing burden required for the resending of a message | telegram in a message | telegram guarantee type | mold message transmission / reception system.

第1の実施形態における電文送受信システムのハードウェアブロック図である。It is a hardware block diagram of the message | telegram transmission / reception system in 1st Embodiment. 第1の実施形態における電文送受信システムの機能ブロック図である。It is a functional block diagram of the message | telegram transmission / reception system in 1st Embodiment. 第1の実施形態における電文フォーマットの図である。It is a figure of the message | telegram format in 1st Embodiment. 第1の実施形態における受信応答の電文フォーマットの図である。It is a figure of the message | telegram format of the reception response in 1st Embodiment. 第1の実施形態における送信電文表の図である。It is a figure of the transmission message | telegram table | surface in 1st Embodiment. 第1の実施形態における応答電文表の図である。It is a figure of the response message table in a 1st embodiment. 第1の実施形態における要求電文送信部のフローチャートである。It is a flowchart of the request | requirement message | telegram transmission part in 1st Embodiment. 第1の実施形態における応答電文送信部のフローチャートである。It is a flowchart of the response message | telegram transmission part in 1st Embodiment. 第1の実施形態における応答処理部のフローチャートである。It is a flowchart of the response process part in 1st Embodiment. 第1の実施形態における再送処理部のフローチャートである。It is a flowchart of the resending process 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 message | telegram transmission apparatus 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 message transmission / reception system according to this embodiment. The message transmission / reception system includes a message transmission device 10 and a message reception device 20 connected to each other via a communication path 30. The electronic message transmission / reception system can be used in various fields such as an internal / external business system, a settlement system in a financial institution, a management system between stores, and a control system for a transportation system such as an aircraft. Moreover, the message | telegram transmission apparatus 10 and the message | telegram reception apparatus 20 are only what distinguished the transmission side and the reception side regarding a certain specific message | telegram, and all can be provided with the function of transmission / reception.

電文送信装置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, a communication interface (I / F). : Interface) 16, keyboard 17, and display 18.

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

電文受信装置20は電文送信装置10と同様に構成され、バス21、CPU22、ROM23、RAM24、記憶装置25、通信インターフェース26、キーボード27、ディスプレイ28を含む。通信経路30は、電文送受信システムの専用回線であっても良く、公衆回線であっても良い。また、通信経路30は有線回線または無線回線であるかを問わない。   The message receiver 20 is configured in the same manner as the message transmitter 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 a telegram transmission / reception system or a public line. It does not matter whether the communication path 30 is 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 message transmission / reception system in the present embodiment, which is realized by the hardware shown in FIG. The message transmission device 10 includes a business processing unit 110, a request message transmission unit 120, a duplex transmission determination unit 130, a retransmission processing unit 140, a response processing unit 150, and a transmission message table 160.

業務処理部110はアプリケーションプログラムに従い所定の業務を処理しながら、電文受信装置20に送信すべき電文を作成する。要求電文送信部120は業務処理部110から出力されたデータを所定の電文フォーマットに従って要求電文を作成する。要求電文送信部120は作成した電文が送信可能か否かを二重送信判定部130に問い合わせる。二重送信判定部130が送信を許可すると、要求電文送信部120は電文を電文受信装置20に送信するとともに、送信電文表160に電文を登録する。二重送信判定部130が送信不可であると判断すると、要求電文送信部120は要求電文を破棄する。   The job processing unit 110 creates a message to be transmitted to the message receiving device 20 while processing a predetermined job according to the 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 message transmission unit 120 inquires of the double transmission determination unit 130 whether or not the created message can be transmitted. When the double transmission determination unit 130 permits transmission, the request message transmission unit 120 transmits a message to the message reception device 20 and registers the message in the transmission message 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 a message 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 message transmission is possible by determining whether or not the same message body as the determination target message is included in the messages already transmitted in the transmission message table 160 described later. To do. That is, when the same message body exists in the transmission message table 160, the double transmission determination unit 130 determines that the determination target message cannot be transmitted. On the other hand, when the same message body does not exist in the transmission message table 160, the double transmission determination unit 130 determines that the determination target message can be transmitted. For example, even if the response to the first request message is not confirmed, if the business processing unit 110 transmits the same request message a plurality of times, the load on the reception processing in the message receiving device 20 becomes excessive. . Moreover, the processing load of the message re-transmission repeatedly performed also in the message transmission apparatus 10 may increase. Furthermore, in the communication path 30, there is a possibility that communication traffic may be compressed by a large amount of re-transmission text. According to this embodiment, the processing load of the message transmission / reception system can be reduced by restricting retransmission of the same request message in this way.

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

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

送信電文表160は受信未確認の電文を記録するデータレコードであり、例えば記憶装置15に保存される。送信電文表160に記録された電文は後述する再送処理部140によって読み出され、再送される。送信電文表160は、電文を一意に識別するための電文IDと、電文の送信可否をあらわす情報とを含み得る。   The transmission message table 160 is a data record that records a message that has not been received, and is stored in the storage device 15, for example. The message recorded in the transmission message table 160 is read out and retransmitted by the retransmission processing unit 140 described later. The transmitted message table 160 may include a message ID for uniquely identifying a message, and information indicating whether or not a message can be transmitted.

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

図3は本実施形態における電文フォーマットの一例を表している。電文フォーマットは電文区分、電文ID、業務処理結果、電文本体を含む。電文区分は電文の種類を表し、例えば「要求」、「受信応答」、「業務応答」を定義する。要求電文は所定の業務処理を電文送信装置10から電文受信装置20に要求するための電文であり、受信応答電文は要求電文に対して電文受信装置20から電文送信装置10に送信される電文である。また、業務応答電文は、要求電文に対して業務処理の結果を返送する電文である。電文IDは電文に対して一意に割り当てられた識別子であって、送受信する電文を識別するために用いられる。例えば、電文が作成された順に従い、昇順あるいは降順の数値を電文IDに割り当てても良い。これにより、電文IDを参照することで、2つの電文の作成時間の前後を判断することができる。業務処理結果は、業務処理部110による業務処理の結果を表し、例えば「OK」、「NG」などの情報である。電文本体はそれぞれの電文に付加されるテキストデータなどである。   FIG. 3 shows an example of a message format in the present embodiment. The message format includes a message classification, a message ID, a business process result, and a message body. The message classification represents the type of message, and for example, “request”, “reception response”, and “business response” are defined. The request message is a message for requesting the predetermined message processing 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. is there. The business response message is a message that returns the result of the business process to the request message. The message ID is an identifier uniquely assigned to the message, and is used to identify a message to be transmitted / received. For example, numerical values in ascending order or descending order may be assigned to the message IDs according to the order in which the messages are created. Thereby, by referring to the message ID, it is possible to determine before and after the creation time of the two messages. The business process result represents a result of the business process performed by the business processing unit 110, and is information such as “OK” and “NG”, for example. The message body is text data added to each message.

図4は本実施形態における受信応答電文フォーマットの一例を表している。受信応答電文は、電文受信装置20が電文を受信したことを電文送信装置10に通知するための電文である。受信応答電文は、電文ID、電文区分の情報を含み得る。電文IDは受信した電文の識別番号などの一意のデータであり、電文区分は「受信応答」を定義する。   FIG. 4 shows an example of a reception response message format in the present embodiment. The reception response message is a message for notifying the message transmission device 10 that the message reception device 20 has received the message. The reception response message may include a message ID and message classification information. The message ID is unique data such as the identification number of the received message, and the message 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 the present embodiment. The transmission message table 160 is transmission message information for recording a message that has not yet been confirmed, and includes information on a message ID, a message body, and a determination result. The message ID represents the identification number of the transmitted request message, and the message body represents the message of the request message transmitted by the message transmission device 10. The determination result indicates whether the request message can be transmitted, and is set by the double transmission determination unit 130. That is, the duplex transmission determination unit 130 determines whether or not the determination target message is the same as the message having the message ID created at the time before the message ID. If both are the same, the double transmission determination unit 130 sets the determination result to “not transmittable”, and if both are different, sets the determination result to “transmittable”. When the determination result is “transmittable”, transmission of a message by the request message transmission unit 120 and the retransmission processing unit 140 is permitted. On the other hand, when the determination result is “transmission impossible”, transmission of a message 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 message table 230 in the present embodiment. The response message table 230 is response message information for determining double transmission in the message receiver 20, and includes a message ID and information of the response message body. The message ID represents the identification number of the response message, and the response message main body represents the message of the response message transmitted by the message receiver 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 task processing unit 110 processes a predetermined task and creates a message body addressed to the message receiver 20. The request message transmission unit 120 creates a request message according to the message format shown in FIG. 3 using the message body from the business processing unit 110 (step S101). In the message format, the request message transmission unit 120 sets “request” for the message classification, and sets a unique identification number in the message transmission / reception system for the message ID. A message message created by the business processing unit 110 is set in the message 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 of the double transmission determination unit 130 whether 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 the request message can be transmitted, and registers the determination result in the transmission message table 160. Subsequently, the request message transmission unit 120 refers to the transmission message table 160. If the determination result can be transmitted (YES in step S104), the request message transmission unit 120 transmits the request message to the message reception device 20 (step S105). When 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. In response to an inquiry from request message transmission unit 120 or retransmission processing unit 140, double transmission determination unit 130 starts determination of double transmission. The double transmission determination unit 130 compares the message body of the request message scheduled to be transmitted with the message body recorded in the transmission message table 160 (step S201). The double transmission determination unit 130 searches for a request message having a message ID created at a time before the message ID of the request message scheduled to be transmitted. Before and after the time of the message ID, as described above, for example, the size of the message ID number can be determined. 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 scheduled to be transmitted in one or more searched request messages. If 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 “transmission disabled” (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 “transmittable” (step S203). The request message transmission unit 120 and the double transmission determination unit 130 perform a request message transmission or cancellation process 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 receiving a message from the message transmission device 10, the response transmission unit 220 of the message reception device 20 determines whether or not the message is a request message. The response transmission unit 220 determines whether or not the message classification of the received message is “request”. When the received message is a request message, 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). As shown in FIG. 4, the reception response message includes information on a message classification and a message ID. “Reception response” is set in the message classification, and the message ID of the reception message corresponding to the response message is set in the message 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 there is a response message corresponding to the received message (step S302). If there is no response message corresponding to the received message (NO in step S302), the response transmission unit 220 activates the task processing unit 210 (step S303). The business processing unit 210 performs business processing according to the request message and creates a response message. Upon receiving the response message from the business processing unit 210, the response transmission unit 220 creates a business response message according to the message format shown in FIG. 3 (step S304). “Business response” is set in the message classification, and the message ID of the received message is set in the message ID. In the business processing result, either “OK” or “NG” is set as a 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, if there is a response message corresponding to the received message in step S302 (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 S302). 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 receiving the response message from the message receiving device 20, the response processing unit 150 of the message transmitting device 10 determines the type of the response message based on the message classification (step S401). When the message classification of the response message is “reception response”, the response processing unit 150 deletes the request message corresponding to the response message from the transmission 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 the 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 time of activation of the message transmission device 10 based on a timer. When the retransmission processing unit 140 is activated, first, one message is read from the transmitted message table 160 (step S501). Next, the retransmission processing unit 140 inquires of the double transmission determination unit 130 whether or not the read message can be transmitted (step S502). When determining that the message can be transmitted (YES in step S503), the double transmission determination unit 130 updates the determination result of the message to “transmittable” in the transmission message table 160 (step S504). The retransmission processing unit 140 retransmits the request message to the message receiving device 20 according to the determination result of the transmission message table 160 (step S505). On the other hand, when the duplex transmission determination unit determines that the message cannot be transmitted (NO in step S503), the message determination result remains in the “transmission disabled” state in the transmission message table 160. That is, when a message having the same message body as the message to be determined exists in the transmission message table 160, it can be determined that the response message has not yet been returned from the message reception device 20. In order to reduce the processing burden on the message receiving device 20, the retransmission processing unit 140 ends the process without retransmitting the message.

再送処理部140は以上の処理を、送信電文表160のすべての電文に対して所定時間毎に繰り返し実行する。この間、送信電文表160に登録された要求電文に対して応答電文が返送されると、当該要求電文は送信電文表160から削除され、再送が停止される。また、送信された要求電文に対して応答電文が返送されていない場合には、再送を制限することにより、電文受信装置20における処理負担を軽減することが可能となる。   The retransmission processing unit 140 repeatedly executes the above processing for every message in the transmission message table 160 every predetermined time. During this time, when 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. Moreover, when the response message is not returned with respect to the transmitted request message, it is possible to reduce the processing load on the message reception device 20 by limiting retransmission.

以上、述べたように、本実施形態によれば、送信電文表を用いて再送の可否を判定することにより、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。すなわち、電文受信装置20における再送電文の処理負担を軽減することができ、また、電文送信装置10は電文の再送を繰り返し行なわずに済むため、電文送信装置10における処理負担も軽減することが可能である。さらに、通信経路30における通信量を削減することができ、電文送受信システム全体において高速な処理が可能となる。   As described above, according to the present embodiment, it is possible to reduce the processing burden required for retransmission of a message in a message-guaranteed message transmission / reception system by determining whether or not retransmission is possible using the transmission message table. It becomes. That is, it is possible to reduce the processing load of the retransmitted message in the message receiving device 20, and the message transmitting device 10 does not have to repeat retransmission of the message, so the processing load in the message transmitting device 10 can be reduced. It is. Furthermore, the amount of communication on the communication path 30 can be reduced, and high-speed processing can be performed in the entire message transmission / reception system.

[第2の実施形態]
図12は本実施形態における電文送信装置の概略構成図である。本実施形態における電文送信装置10は、送信部101と判定部102とを備える。送信部101は電文受信装置に要求電文を送信する。判定部102は、送信済みの第1の要求電文のうち、対応する応答電文が電文受信装置から送信されていない第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する。本実施形態によれば、送信電文情報を用いて再送の可否を判定することにより、電文保証型の電文送受信システムにおいて電文の再送に要する処理負担を軽減することが可能となる。
[Second Embodiment]
FIG. 12 is a schematic configuration diagram of a message transmission device according to the present embodiment. The message transmission device 10 according to this embodiment includes a transmission unit 101 and a determination unit 102. The transmission unit 101 transmits a request message to the message reception 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 reception device among the transmitted first request messages. Determine whether or not. According to the present embodiment, it is possible to reduce the processing burden required for retransmitting a message in a message-guaranteed message transmission / reception system by determining whether retransmission is possible using the transmission message information.

[他の実施形態]
本発明は、発明の趣旨を逸脱しない範囲において様々な態様において実施可能である。例えば、送信電文表160、応答電文表230は必ずしも表形式のデータであること要せず、様々なフォーマットの情報であり得る。また、二重送信判定部130によって電文の送信が不可であると判定された場合、電文の送信を完全に禁止せずに、電文再送の頻度を低くするなど、送信を制限しても良い。
[Other Embodiments]
The present invention can be implemented in various modes without departing from the spirit of the invention. For example, the transmission message table 160 and the response message table 230 do not necessarily need to be tabular data, and may be information in various formats. If the duplex transmission determination unit 130 determines that transmission of a message is not possible, transmission may be limited, for example, by reducing the frequency of message retransmission without completely prohibiting transmission of the message.

上述の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。   A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.

(付記1)
電文送信装置および電文受信装置を備える電文送受信システムであって、
前記電文送信装置は、
前記電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送受信システム。
(Appendix 1)
A message transmission / reception system comprising a message transmission device and a message reception device,
The message transmission device
A transmission unit for transmitting a request message to the message reception device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determination unit for determining;
A message transmission / reception system comprising:

(付記2)
電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送信装置。
(Appendix 2)
A transmission unit for transmitting a request message to the message reception device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determination unit for determining;
A message transmission device comprising:

(付記3)
前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする付記2に記載の電文送信装置。
(Appendix 3)
The message according to claim 2, wherein the determination unit restricts 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. Transmitter device.

(付記4)
前記判定部は、前記電文受信装置から前記応答電文を受信した場合、当該応答電文に対応する前記第1の要求電文を前記送信電文情報から削除することを特徴とする付記2または3に記載の電文送信装置。
(Appendix 4)
When the said determination part receives the said response message from the said message receiver, the said 1st request message corresponding to the said response message is deleted from the said transmission message information, The additional statement 2 or 3 characterized by the above-mentioned. A message transmission device.

(付記5)
前記送信電文情報は、前記要求電文に一意である識別子をさらに含むことを特徴とする付記2乃至4のいずれかに記載の電文送信装置。
(Appendix 5)
The message transmission apparatus according to any one of appendices 2 to 4, wherein the transmission message information further includes an identifier that is unique to the request message.

(付記6)
前記識別子は、前記第1および前記第2の要求電文のそれぞれの作成時間の前後を判断可能な情報を含み、
前記判定部は、前記第2の要求電文よりも前の時間に作成された前記第2の要求電文を前記識別子に基づき前記送信電文情報から抽出し、前記第2の要求電文の送信の可否を判定することを特徴とする付記5に記載の電文送信装置。
(Appendix 6)
The identifier includes information capable of determining 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 before 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 message transmitting device according to appendix 5, wherein the message transmitting device is determined.

(付記7)
電文送信装置から送信された要求電文に対応する応答電文を前記電文送信装置に送信する電文受信装置であって、
前記電文送信装置に送信されていない前記応答電文を記録する応答電文情報に基づき、前記応答電文の送信の可否を判定する応答送信部を備えたことを特徴とする電文受信装置。
(Appendix 7)
A message receiver that transmits a response message corresponding to a request message transmitted from a message transmitter to the message transmitter,
A message receiving device comprising: a response transmission unit that determines whether or not the response message can be transmitted based on response message information that records the response message that has not been transmitted to the message transmission device.

(付記8)
電文送信装置および電文受信装置における電文送受信方法であって、
前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、
前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、
を備えたことを特徴とする電文送受信方法。
(Appendix 8)
A message transmission / reception method in a message transmission apparatus and a message reception apparatus,
Transmitting a request message to the message receiver by the message transmitter;
Based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message reception device among the first request messages transmitted by the message transmission device, the second request message Determining whether or not transmission is possible by the message transmission device;
A message transmission / reception method comprising:

(付記9)
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備えたことを特徴とする電文送信方法。
(Appendix 9)
Transmitting a request message from the message transmitting device to the message receiving device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determining step;
A message transmission method comprising:

(付記10)
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備える電文送信方法をコンピュータに実行させるプログラム。
(Appendix 10)
Transmitting a request message from the message transmitting device to the message receiving device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determining step;
A program that causes a computer to execute a message 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 応答電文表
DESCRIPTION OF SYMBOLS 10 Message transmitter 20 Message 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 message transmission unit 130 Duplex transmission determination unit 140 Retransmission processing unit 150 Response processing unit 160 Transmission message table 210 Business processing unit 220 Response transmitter 230 Response message table

Claims (10)

電文送信装置および電文受信装置を備える電文送受信システムであって、
前記電文送信装置は、
前記電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送受信システム。
A message transmission / reception system comprising a message transmission device and a message reception device,
The message transmission device
A transmission unit for transmitting a request message to the message reception device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determination unit for determining;
A message transmission / reception system comprising:
電文受信装置に要求電文を送信する送信部と、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定する判定部と、
を備えたことを特徴とする電文送信装置。
A transmission unit for transmitting a request message to the message reception device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determination unit for determining;
A message transmission device comprising:
前記判定部は、前記送信電文情報に含まれる前記第1の要求電文の電文本体と同一の電文本体を有する前記第2の要求電文の送信を制限することを特徴とする請求項2に記載の電文送信装置。   The said determination part restrict | limits transmission of the said 2nd request | requirement message | telegram which has the message | telegram main body same as the message | telegram main body of the said 1st request | requirement message | telegram contained in the said transmission message | telegram information. A message transmission device. 前記判定部は、前記電文受信装置から前記応答電文を受信した場合、当該応答電文に対応する前記第1の要求電文を前記送信電文情報から削除することを特徴とする請求項2または3に記載の電文送信装置。   The said determination part deletes the said 1st request message corresponding to the said response message from the said transmission message information, when the said response message is received from the said message receiving apparatus. Message transmission device. 前記送信電文情報は、前記要求電文に一意である識別子をさらに含むことを特徴とする請求項2乃至4のいずれか1項に記載の電文送信装置。   5. The message transmission device according to claim 2, wherein the transmission message information further includes an identifier that is unique to the request message. 6. 前記識別子は、前記第1および前記第2の要求電文のそれぞれの作成時間の前後を判断可能な情報を含み、
前記判定部は、前記第2の要求電文よりも前の時間に作成された前記第2の要求電文を前記識別子に基づき前記送信電文情報から抽出し、前記第2の要求電文の送信の可否を判定することを特徴とする請求項5に記載の電文送信装置。
The identifier includes information capable of determining 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 before 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 message transmission device according to claim 5, wherein the determination is performed.
電文送信装置から送信された要求電文に対応する応答電文を前記電文送信装置に送信する電文受信装置であって、
前記電文送信装置に送信されていない前記応答電文を記録する応答電文情報に基づき、前記応答電文の送信の可否を判定する応答送信部を備えたことを特徴とする電文受信装置。
A message receiver that transmits a response message corresponding to a request message transmitted from a message transmitter to the message transmitter,
A message receiving device comprising: a response transmission unit that determines whether or not the response message can be transmitted based on response message information that records the response message that has not been transmitted to the message transmission device.
電文送信装置および電文受信装置における電文送受信方法であって、
前記電文送信装置によって前記電文受信装置に要求電文を送信するステップと、
前記電文送信装置によって送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を前記電文送信装置によって判定するステップと、
を備えたことを特徴とする電文送受信方法。
A message transmission / reception method in a message transmission apparatus and a message reception apparatus,
Transmitting a request message to the message receiver by the message transmitter;
Based on the transmission message information that records the first request message in which the corresponding response message is not transmitted from the message reception device among the first request messages transmitted by the message transmission device, the second request message Determining whether or not transmission is possible by the message transmission device;
A message transmission / reception method comprising:
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備えたことを特徴とする電文送信方法。
Transmitting a request message from the message transmitting device to the message receiving device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determining step;
A message transmission method comprising:
要求電文を電文送信装置から電文受信装置に送信するステップと、
送信済みの第1の要求電文のうち、対応する応答電文が前記電文受信装置から送信されていない前記第1の要求電文を記録する送信電文情報に基づき、第2の要求電文の送信の可否を判定するステップと、
を備える電文送信方法をコンピュータに実行させるプログラム。
Transmitting a request message from the message transmitting device to the message receiving device;
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 reception device among the transmitted first request messages, whether or not the second request message can be transmitted is determined. A determining step;
A program that causes a computer to execute a message transmission method.
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 true JP2018157466A (en) 2018-10-04
JP6932961B2 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)

Cited By (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

Citations (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
JP2007133869A (en) * 2005-11-02 2007-05-31 Lg Electronics Inc Terminal and its message processing method
US20080098231A1 (en) * 2006-10-19 2008-04-24 Stmicroelectronics Sa Data transmission method using an acknowledgement code comprising hidden authentication bits
KR20150123407A (en) * 2014-04-24 2015-11-04 삼성전자주식회사 Apparatus and method for providing message service

Patent Citations (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
JP2007133869A (en) * 2005-11-02 2007-05-31 Lg Electronics Inc Terminal and its message processing method
US20080098231A1 (en) * 2006-10-19 2008-04-24 Stmicroelectronics Sa Data transmission method using an acknowledgement code comprising hidden authentication bits
KR20150123407A (en) * 2014-04-24 2015-11-04 삼성전자주식회사 Apparatus and method for providing message service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基礎から学ぼう。弱点を知ろう。TCP/IPのここがダメ! WWW以外でも利用される万能プロトコル H", NETWORK MAGAZINE, vol. 第8巻/第12号, JPN6020049571, 1 December 2003 (2003-12-01), JP, pages 52 - 55, ISSN: 0004413486 *

Cited By (4)

* 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
JPWO2022009415A1 (en) * 2020-07-10 2022-01-13
JP7424494B2 (en) 2020-07-10 2024-01-30 日本電信電話株式会社 Request delivery device, request delivery method, and request delivery program
US11968253B2 (en) 2020-07-10 2024-04-23 Nippon Telegraph And Telephone Corporation Request delivery device, request delivery method, and request delivery program

Also Published As

Publication number Publication date
JP6932961B2 (en) 2021-09-08

Similar Documents

Publication Publication Date Title
JP7325506B2 (en) Business processing method, device, electronic device and computer program based on blockchain system
CN110349029B (en) Block chain-based transaction consistency processing method, device and system
US20090070336A1 (en) Method and system for managing transmitted requests
CN111651284B (en) Method, device, system and storage medium for processing business data
CN102647365A (en) Method, device and data exchange server for processing messages and message states
US10171258B2 (en) Data collection method and system
JP6932961B2 (en) Telegram transmission / reception system, telegram transmission device, telegram transmission / reception method and program
CN108880994B (en) Method and device for retransmitting mails
KR20170010300A (en) Methods for processing request message in M2M system and Apparatuses thereof
CN106453613B (en) Message retransmission method and device
CN119271589A (en) A request device, response device and system based on RDMA
CN109698843A (en) A kind of method and device for realizing data transmission
CN113783666B (en) Method and device for processing business
CN111405609B (en) Data transmission method, device, system, medium and equipment
JP6451425B2 (en) Information processing apparatus, information processing system, and information processing program
JP5136200B2 (en) Logging system
JP4237164B2 (en) Telegram-guaranteed communication system and method, transmitting apparatus and program
CN119512996B (en) Remote direct memory access device and method
JP2007221522A (en) Polling device, terminal device, polling method and program
CN118740920B (en) Message time sequence control method and device
JP4759418B2 (en) Message recovery system and recovery method
JP2009159519A (en) Image forming apparatus, program, and recording medium
US8042037B1 (en) Sequencing of markup language documents
JP7124384B2 (en) Telegram Assurance System and Telegram Assurance Method
JP5525022B2 (en) Terminal, server, data transfer system, and computer 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