JP6673604B2 - Log data transfer method and log data transfer system - Google Patents

Log data transfer method and log data transfer system Download PDF

Info

Publication number
JP6673604B2
JP6673604B2 JP2016117646A JP2016117646A JP6673604B2 JP 6673604 B2 JP6673604 B2 JP 6673604B2 JP 2016117646 A JP2016117646 A JP 2016117646A JP 2016117646 A JP2016117646 A JP 2016117646A JP 6673604 B2 JP6673604 B2 JP 6673604B2
Authority
JP
Japan
Prior art keywords
log
packet
data
log data
unit
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
JP2016117646A
Other languages
Japanese (ja)
Other versions
JP2017224919A5 (en
JP2017224919A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016117646A priority Critical patent/JP6673604B2/en
Publication of JP2017224919A publication Critical patent/JP2017224919A/en
Publication of JP2017224919A5 publication Critical patent/JP2017224919A5/ja
Application granted granted Critical
Publication of JP6673604B2 publication Critical patent/JP6673604B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Description

本発明は、例えば、ネットワーク上において、一方の計算機で生成されたログデータを、他方の計算機に転送する際に、ログデータの欠損を防ぐためのログデータ転送方式及びログデータ転送システムに関するものである。   The present invention relates to a log data transfer method and a log data transfer system for preventing loss of log data when transferring log data generated by one computer to another computer over a network, for example. is there.

IPパケットによりデータ転送する場合に生じるパケット損失を、送信側に再送を要求することなしに受信側でデータの回復を行う手法としてFEC(前方誤り訂正;Forward Error Correction)が知られている。FECでは、誤りが発生することを見越して、予め冗長な符号を付加したデータを送信し、受信側でデータを復元するもので、送信側が一定の規則に従って誤り訂正符号を元データに付加したものを送信する。FECの利点は、データの再送を防ぐことで、高スループットを平均的に達成することができる点である。しかし、例えば、受信側でストリーミング再生におけるスタートアップ遅延、つまり、再生を開始しようとソースパケットを受信してから映像や音声を最初に出力するまでの時間が増大してしまうといった問題もある。   2. Description of the Related Art FEC (Forward Error Correction) is known as a technique for recovering data on the receiving side without requesting the transmitting side to retransmit a packet loss that occurs when data is transferred using IP packets. In FEC, data with a redundant code added in advance is transmitted in anticipation of occurrence of an error, and data is restored at the receiving side. The transmitting side adds an error correction code to the original data according to a certain rule. Send An advantage of FEC is that high throughput can be achieved on average by preventing data retransmission. However, there is a problem that, for example, a start-up delay in streaming reproduction on the receiving side, that is, a time from receiving a source packet to start reproduction to outputting video or audio for the first time is increased.

このスタートアップ遅延の問題を解決するため、例えば、特許文献1によるパケット伝送システムでは、パケット送信装置が、FECデータにタイムスタンプを付加し、パケット受信装置に対して、パケットの復元タイミングを通知している。これにより、FEC復元処理と、映像信号や音声信号のデコーダ処理とのタイミングを連携させ、スタートアップ遅延を抑制することができる。   To solve the problem of the start-up delay, for example, in a packet transmission system according to Patent Document 1, a packet transmitting device adds a time stamp to FEC data and notifies a packet receiving device of a packet recovery timing. I have. This makes it possible to suppress the start-up delay by coordinating the timing of the FEC restoration processing with the decoding processing of the video signal and the audio signal.

特開2013−192031号公報JP 2013-192031 A

一方向通信装置を使用した情報伝送システムにおいては、一方向通信装置によって、送信側から受信側に、通信データが一方向にしか流れないように制御されている。このような情報伝送システムでは、データ送信時に、データの受信側からデータの送信側に対しての応答が返せないため、送達確認ができず、データの到達性が保証されない。   In an information transmission system using a one-way communication device, the one-way communication device controls the communication data to flow from the transmitting side to the receiving side in only one direction. In such an information transmission system, at the time of data transmission, a response cannot be returned from the data receiving side to the data transmitting side, so that delivery confirmation cannot be performed and data reachability is not guaranteed.

したがって、このような情報伝送システムにおいて、ログデータのように、断続的に発生し、かつデータの生成タイミングや内容に法則性がないデータを、一方向通信装置を経由して転送する場合、受信側の内容を見てログデータの欠損を検出することが難しいといった課題があった。   Therefore, in such an information transmission system, when data, such as log data, which occurs intermittently and has no regularity in data generation timing or content, is transferred via a one-way communication device, reception is difficult. There is a problem that it is difficult to detect the loss of log data by looking at the contents on the side.

本発明は、上記のような課題を解決するためになされたものであり、転送されたログデータの欠損を検出可能とすると共に、欠損したログデータの復元を可能として、これにより、ログデータ転送時の信頼性を向上させるログデータ転送方式及びログデータ転送システムを提供することを目的とするものである。   SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and enables loss of transferred log data to be detected and restoration of lost log data to be possible. It is an object of the present invention to provide a log data transfer method and a log data transfer system that improve reliability at the time.

上記課題を解決するために、本発明に係るログデータ転送方式は、送信側にて、ログデータにログパケット通番を付加して、ログパケットを生成するとともに、連続したM個の前記ログデータを一組として排他的論理和を演算して生成された前方誤り訂正データに前記M個のログパケット通番を付加して、前方誤り訂正パケットを生成し、前記ログパケット及び前記前方誤り訂正パケットを送信して、受信側にて、前記前方誤り訂正パケットの前記ログパケット通番のいずれかに欠損が生じていることが検出された場合に、受信された前記一組のログデータと前記前方誤り訂正データの排他的論理和を演算して当該ログパケットを復元し、前記復元されたログパケットからログデータを取り出すことを特徴とするものである。


In order to solve the above-mentioned problem, the log data transfer method according to the present invention adds a log packet serial number to log data on the transmission side to generate a log packet, and transmits M log data consecutively. A forward error correction packet is generated by adding the M log packet serial numbers to the forward error correction data generated by calculating exclusive OR as a set, and the log packet and the forward error correction packet are transmitted. Then, on the receiving side, when it is detected that any of the log packet serial numbers of the forward error correction packet is missing, the received set of log data and the forward error correction data And restores the log packet by calculating an exclusive OR of the log data, and extracts log data from the restored log packet.


また、本発明に係るログデータ転送システムは、ログデータにログパケット通番を付加したログパケットを生成するログパケット生成部、連続したM個の前記ログデータを一組として排他的論理和を演算して生成された前方誤り訂正データに前記M個のログパケット通番を付加した前方誤り訂正パケットを生成する前方誤り訂正パケット生成部、前記ログパケット及び前記前方誤り訂正パケットを送信するパケット送信部、を有するログ送信側計算機と、前記ログパケット及び前記前方誤り訂正パケットを受信するパケット受信部、前記ログパケットであるか前記前方誤り訂正パケットであるかを識別するとともに前記前方誤り訂正パケットの前記ログパケット通番のいずれかの欠損の有無を検出する受信パケット識別部、前記M個のログパケット通番のいずれかに欠損が生じている場合に、受信した前記一組のログデータと前記前方誤り訂正データの排他的論理和を演算して当該ログパケットを復元するログパケット復元部、前記復元されたログパケットからログデータを取り出すログパケット処理部、を有するログ受信側計算機と、を備えたことを特徴とするものである。   In addition, the log data transfer system according to the present invention is a log packet generation unit that generates a log packet in which a log packet serial number is added to log data, and calculates an exclusive OR using a set of M consecutive log data. A forward error correction packet generation unit that generates a forward error correction packet obtained by adding the M log packet serial numbers to the forward error correction data generated by the above, and a packet transmission unit that transmits the log packet and the forward error correction packet. A log transmitting side computer, a packet receiving unit that receives the log packet and the forward error correction packet, and identifies whether the log packet is the forward error correction packet and the log packet of the forward error correction packet A received packet identification unit for detecting the presence or absence of any of the serial numbers; A log packet restoring unit configured to calculate an exclusive OR of the received set of log data and the forward error correction data to restore the log packet when a loss occurs in any of the serial numbers; A log receiving computer having a log packet processing unit for extracting log data from the restored log packet.

本発明のログデータ転送方式及びログデータ転送システムによれば、送信するログデータに一意的に識別可能とするための通番を付加するとともに、FECによるデータの冗長化手法を用い、受信側において、ログデータの通番を元に、ログデータの欠損を検出し、FECデータにより、欠損したログデータを復元することで、ログデータ転送時の信頼性を向上させることができる効果がある。   According to the log data transfer method and the log data transfer system of the present invention, a serial number for uniquely identifying log data to be transmitted is added, and a data redundancy method by FEC is used. Detecting loss of log data based on the serial number of log data and restoring the lost log data using FEC data has the effect of improving the reliability of log data transfer.

実施の形態1に係るログデータ転送システムの概略を示す構成図である。FIG. 1 is a configuration diagram illustrating an outline of a log data transfer system according to a first embodiment. 実施の形態1におけるログ送信側計算機での送信処理手順を示すフローチャートである。9 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer according to the first embodiment. 実施の形態1におけるログパケットの構成を示すログパケットフォーマット図である。FIG. 3 is a log packet format diagram showing a configuration of a log packet according to the first embodiment. 実施の形態1におけるFECデータの生成方法を説明するための図である。FIG. 4 is a diagram for describing a method of generating FEC data according to the first embodiment. 実施の形態1におけるFECパケットの構成を示すFECパケットフォーマット図である。FIG. 3 is an FEC packet format diagram showing a configuration of an FEC packet according to the first embodiment. 実施の形態1におけるログ受信側計算機での受信処理手順を示すフローチャートである。9 is a flowchart illustrating a reception processing procedure in the log receiving-side computer according to the first embodiment. 実施の形態1におけるデータの復元方法を説明するための図である。FIG. 5 is a diagram for describing a data restoration method according to the first embodiment. 実施の形態2におけるログ送信側計算機の送信処理手順を示すフローチャートである。17 is a flowchart illustrating a transmission processing procedure of the log transmission-side computer according to the second embodiment. 実施の形態2におけるFECデータの生成方法を説明するための図である。FIG. 13 is a diagram for describing a method of generating FEC data according to the second embodiment. 実施の形態3に係るログデータ転送システムの概略を示す構成図である。FIG. 13 is a configuration diagram illustrating an outline of a log data transfer system according to a third embodiment. 実施の形態3におけるログ送信側計算機での送信処理手順を示すフローチャートである。15 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer according to the third embodiment. 実施の形態3におけるダミーパケットの構成を示すダミーパケットフォーマット図である。FIG. 13 is a dummy packet format diagram showing a configuration of a dummy packet according to the third embodiment. 実施の形態3におけるログ受信側計算機での受信処理手順を示すフローチャートである。15 is a flowchart illustrating a reception processing procedure in the log receiving-side computer according to the third embodiment. 実施の形態4に係るログデータ転送システムの概略を示す構成図である。FIG. 14 is a configuration diagram illustrating an outline of a log data transfer system according to a fourth embodiment. 実施の形態4におけるログ送信側計算機での送信処理手順を示すフローチャートである。18 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer according to the fourth embodiment. 実施の形態4におけるFECパケットの構成を示すFECパケットフォーマット図である。FIG. 19 is an FEC packet format diagram showing a configuration of an FEC packet according to Embodiment 4. 実施の形態4におけるログ受信側計算機での受信処理手順を示すフローチャートである。19 is a flowchart illustrating a reception processing procedure in the log receiving-side computer according to the fourth embodiment. 実施の形態5に係るログデータ転送システムの概略を示す構成図である。FIG. 14 is a configuration diagram schematically showing a log data transfer system according to a fifth embodiment. 実施の形態5におけるログ送信側計算機での送信処理手順を示すフローチャートである。33 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer according to the fifth embodiment. 実施の形態5におけるログパケットの構成を示すログパケットフォーマット図である。FIG. 15 is a log packet format diagram showing a configuration of a log packet according to the fifth embodiment. 実施の形態5におけるログ受信側計算機での受信処理手順を示すフローチャートである。32 is a flowchart illustrating a reception processing procedure in the log receiving-side computer according to the fifth embodiment. 実施の形態6に係るログデータ転送システムの概略を示す構成図である。FIG. 13 is a configuration diagram illustrating an outline of a log data transfer system according to a sixth embodiment. 実施の形態6におけるログ送信側計算機での送信処理手順を示すフローチャートである。32 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer according to the sixth embodiment. 実施の形態6におけるログパケットの構成を示すログパケットフォーマット図である。FIG. 15 is a log packet format diagram showing a configuration of a log packet in a sixth embodiment. 実施の形態6におけるFECパケットの構成を示すFECパケットフォーマット図である。FIG. 19 is an FEC packet format diagram showing a configuration of an FEC packet according to a sixth embodiment. 実施の形態6におけるログ受信側計算機での受信処理手順を示すフローチャートである。32 is a flowchart illustrating a reception processing procedure in the log receiving-side computer according to the sixth embodiment.

以下、本発明の実施の形態に係るログデータ転送方式及びログデータ転送システムの構成における動作の詳細について、図1から図26を参照して説明する。   Hereinafter, the details of the operation in the configuration of the log data transfer method and the log data transfer system according to the embodiment of the present invention will be described with reference to FIGS. 1 to 26.

実施の形態1.
図1は、実施の形態1に係るログデータ転送システムの概略を示す構成図であり、図2は、ログ送信側計算機での送信処理手順を示すフローチャートであり、図3は、伝送されるログパケットの構成を示すログパケットフォーマット図であり、図4は、FECデータの生成方法を説明するための図であり、図5は、FECパケットの構成を示すFECパケットフォーマット図であり、図6は、ログ受信側計算機での受信処理手順を示すフローチャートである。また、図7は、データの復元方法を説明するための図である。
Embodiment 1 FIG.
FIG. 1 is a configuration diagram schematically showing a log data transfer system according to the first embodiment, FIG. 2 is a flowchart showing a transmission processing procedure in a log transmission side computer, and FIG. FIG. 4 is a diagram for explaining a method of generating FEC data, FIG. 5 is an FEC packet format diagram showing the configuration of an FEC packet, and FIG. It is a flowchart which shows the receiving processing procedure in a log receiving side computer. FIG. 7 is a diagram for explaining a data restoration method.

図1に示すように、実施の形態1に係るログデータ転送システム1は、ログ送信側計算機11と、ログ受信側計算機21と、ログ送信側計算機11からログ受信側計算機21にデータを伝送する一方向通信装置31と、で構成されている。   As shown in FIG. 1, the log data transfer system 1 according to the first embodiment transmits data to the log transmission side computer 11, the log reception side computer 21, and the log transmission side computer 11 to the log reception side computer 21. And a one-way communication device 31.

ここで、ログ送信側計算機11は、ログデータを生成させるログデータ生成部101、生成されたログデータを収集するログデータ収集部102、ログパケット通番を生成するログパケット通番生成部103、ログデータにログパケット通番を付加してログパケットを生成するログパケット生成部104、ログパケット及びFECパケットを送信するパケット送信部105、送信されたログパケットを保存する送信済ログパケット保存部106、保存されたログパケットからFECデータを生成するFECデータ生成部107及び生成されたFECデータからFECパケットを生成するFECパケット生成部108、により構成されている。   Here, the log transmission-side computer 11 includes a log data generation unit 101 for generating log data, a log data collection unit 102 for collecting the generated log data, a log packet sequence number generation unit 103 for generating a log packet sequence number, and log data. A log packet generation unit 104 that generates a log packet by adding a log packet serial number to a packet, a packet transmission unit 105 that transmits a log packet and an FEC packet, a transmitted log packet storage unit 106 that stores the transmitted log packet, An FEC data generation unit 107 that generates FEC data from the generated log packet and an FEC packet generation unit 108 that generates an FEC packet from the generated FEC data.

また、ログ受信側計算機21は、一方向通信装置31を介してログ送信側計算機11からのパケットを受信するパケット受信部201、受信したパケットがログパケットであるかFECパケットであるかを識別する受信パケット識別部202、受信したログパケットを保存する受信済ログパケット保存部203、ログパケット通番を確認するログパケット通番確認部204、受信したログパケットからログデータを取り出すログパケット処理部205、ログデータを出力するログデータ出力部206、ログパケット通番確認部204においてログパケット通番に欠損が有った場合にログパケット通番を記録するログパケット通番欠損記録部207及び欠損したログパケット通番のログパケットを復元するログパケット復元部208、により構成されている。   The log receiving computer 21 receives a packet from the log transmitting computer 11 via the one-way communication device 31. The packet receiving unit 201 identifies whether the received packet is a log packet or an FEC packet. A received packet identification unit 202, a received log packet storage unit 203 that stores received log packets, a log packet sequence number confirmation unit 204 that confirms log packet sequence numbers, a log packet processing unit 205 that extracts log data from received log packets, a log A log packet serial number loss recording unit 207 that records a log packet serial number when a log packet serial number is lost in the log data output unit 206 that outputs data and the log packet serial number check unit 204, and a log packet of the lost log packet serial number Log packet restoring unit 208 for restoring It is.

また、一方向通信装置31は、一方向通信を実現するためのもので、ログ送信側計算機11から送信されたパケットを受信する受信装置301、ログ受信側計算機21にパケットを送信する送信装置302、受信装置301と送信装置302とを物理的に一方向に繋ぐ一方向通信路310、により構成されている。   The one-way communication device 31 is for realizing one-way communication, and includes a receiving device 301 for receiving a packet transmitted from the log transmitting computer 11 and a transmitting device 302 for transmitting a packet to the log receiving computer 21. , A one-way communication path 310 that physically connects the receiving device 301 and the transmitting device 302 in one direction.

次に、実施の形態1に係るログデータ転送方式及びログデータ転送システムの動作について、図2から図7を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the first embodiment will be described with reference to FIGS.

まず、図2を用いて、ログ送信側計算機11での送信処理について説明する。
ステップS101では、ログデータ収集部102によって、ログデータ生成部101で生成されたログデータ41bが収集される。
First, the transmission process in the log transmission-side computer 11 will be described with reference to FIG.
In step S101, the log data collection unit 102 collects the log data 41b generated by the log data generation unit 101.

ステップS102では、ログパケット通番生成部103によって、収集されたログパケット41に対応したログパケット通番41aが生成される。ここで、ログパケット通番41aとは、例えば、1から始まる整数列のように、ログパケット通番41aが一部欠損している場合に、通番の欠損を検出することができる識別子である。   In step S102, the log packet sequence number generation unit 103 generates a log packet sequence number 41a corresponding to the collected log packet 41. Here, the log packet serial number 41a is an identifier that can detect loss of the serial number when the log packet serial number 41a is partially lost, such as an integer string starting from 1, for example.

ステップS103では、ログパケット生成部104によって、ステップS101で収集されたログデータ41bにステップS102で生成されたログパケット通番41aが付加されたログパケット41が生成される。ここで、ログパケット41とは、図3のログパケットフォーマットに示すようにログパケット通番41aとログデータ41bにより構成される通信用データのことである。   In step S103, the log packet generation unit 104 generates the log packet 41 in which the log packet serial number 41a generated in step S102 is added to the log data 41b collected in step S101. Here, the log packet 41 is communication data composed of a log packet serial number 41a and log data 41b as shown in the log packet format of FIG.

ステップS104では、パケット送信部105によって、ステップS103で生成されたログパケット41がログ受信側計算機21に送信される。   In step S104, the log transmitting unit 105 transmits the log packet 41 generated in step S103 to the log receiving computer 21.

ステップS105では、送信済ログパケット保存部106によって、ステップS104でログパケット41が送信された後、送信されたログパケット41が保存される。   In step S105, after the transmitted log packet 41 is transmitted in step S104 by the transmitted log packet storage unit 106, the transmitted log packet 41 is stored.

ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数が数えられ、一定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、一定の個数M未満であった場合には、ログ送信側計算機11における送信処理は終了される。ログパケット41の個数が、一定の個数Mであった場合には、ステップS107に移行される。ここで、Mは、2以上の整数であり、例えば、適用するログデータ転送システムにおいて、連続したログデータ41bで欠損が発生する確率を想定して、その数が1個以内となる任意の数値に設定することができる。   In step S106, the number of log packets 41 stored in the transmitted log packet storage unit 106 is counted, and it is determined whether the number is a fixed number (for example, M in this case). When the number of the log packets 41 is less than the fixed number M, the transmission processing in the log transmission-side computer 11 ends. If the number of log packets 41 is a fixed number M, the process proceeds to step S107. Here, M is an integer of 2 or more. For example, in a log data transfer system to be applied, an arbitrary numerical value whose number is less than or equal to 1 assuming a probability that a loss occurs in the continuous log data 41b. Can be set to

ステップS107では、FECデータ生成部107によって、FECデータ42bが生成される。ここで、図4に示すFECデータの生成方法の例では、保存されたM個のログパケット41のそれぞれに含まれるログデータ#1から#Mを一組として、そのすべてのログデータのXOR(排他的論理和)が演算され、FECデータ#1が生成される。   In step S107, the FEC data generation unit 107 generates the FEC data 42b. Here, in the example of the method of generating the FEC data illustrated in FIG. 4, the log data # 1 to #M included in each of the stored M log packets 41 is set as a set, and the XOR (XOR ( Exclusive OR) is calculated to generate FEC data # 1.

ステップS108では、FECパケット生成部108によって、生成されたFECデータ41bに基づいて、FECパケット42が生成される。ここで、FECパケット42とは、図5のFECパケットフォーマットに示すように、FECデータの生成元となったM個のログパケット41のログパケット通番42aとFECデータ42bとから構成される通信用データのことである。   In step S108, the FEC packet generation unit 108 generates the FEC packet 42 based on the generated FEC data 41b. Here, as shown in the FEC packet format of FIG. 5, the FEC packet 42 is a communication packet composed of a log packet serial number 42a of the M log packets 41 from which the FEC data is generated and the FEC data 42b. It is data.

続いて、ステップS109では、パケット送信部105によって、生成されたFECパケット42がログ受信側計算機21に送信される。   Subsequently, in step S109, the generated FEC packet 42 is transmitted to the log receiving computer 21 by the packet transmission unit 105.

最後に、ステップS110では、FECパケット42が送信された後、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機11における送信処理が終了される。   Finally, in step S110, after the FEC packet 42 has been transmitted, the log packet 41 stored in the transmitted log packet storage unit 106 is deleted. Thus, the transmission process in the log transmission side computer 11 is completed.

続いて、図6を用いて、ログ受信側計算機21での受信処理について説明する。
ステップS201では、パケット受信部201によって、ログ送信側計算機11から送信されたパケット(ログパケット41及びFECパケット42)が受信される。
Next, the receiving process in the log receiving computer 21 will be described with reference to FIG.
In step S201, the packet (the log packet 41 and the FEC packet 42) transmitted from the log transmitting computer 11 is received by the packet receiving unit 201.

ステップS202では、受信パケット識別部202によって、受信されたパケットがログパケット41であるか、FECパケット42であるかを識別する。受信されたパケットがログパケット41であると識別された場合には、ステップS203に移行され、受信されたパケットがFECパケット42であると識別された場合には、ステップS208にそれぞれ移行される。   In step S202, the received packet identification unit 202 identifies whether the received packet is the log packet 41 or the FEC packet 42. When the received packet is identified as the log packet 41, the process proceeds to step S203, and when the received packet is identified as the FEC packet 42, the process proceeds to step S208.

ステップS203では、ステップS202で、受信されたパケットがログパケット41である場合には、受信済ログパケット保存部203によって、受信されたログパケット41が保存される。   In step S203, if the received packet is the log packet 41 in step S202, the received log packet 41 is stored by the received log packet storage unit 203.

ステップS204では、ログパケット通番確認部204によって、受信されたログパケット41において、ログパケット通番41aの欠損の発生の有無を検出する。ログパケット通番41aの欠損が無いと確認された場合には、ステップS205に移行され、ログパケット通番41aの欠損が有ると確認された場合には、ステップS207に移行される。   In step S204, the log packet sequence number confirmation unit 204 detects whether or not the received log packet 41 has a loss of the log packet sequence number 41a. When it is confirmed that there is no loss in the log packet serial number 41a, the process proceeds to step S205, and when it is confirmed that there is a loss in the log packet serial number 41a, the process proceeds to step S207.

ステップS205では、ステップS204において、ログパケット通番41aの欠損が無いと確認された場合には、ログパケット処理部205によって、受信されたログパケット41から、ログデータ41bが取り出される。   In step S205, when it is confirmed in step S204 that there is no loss in the log packet serial number 41a, the log packet processing unit 205 extracts the log data 41b from the received log packet 41.

ステップS206では、ログデータ出力部206によって、ステップS205において、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機21における受信処理が終了される。   In step S206, the log data output unit 206 outputs the extracted log data 41b in step S205. Thus, the receiving process in the log receiving computer 21 ends.

ステップS207では、ステップS204において、ログパケット通番41aの欠損が有る場合には、ログパケット通番欠損記録部207によって、ログパケット通番41aの欠損が記録され、ログ受信側計算機21における受信処理が終了される。   In step S207, if there is a loss of the log packet serial number 41a in step S204, the loss of the log packet serial number 41a is recorded by the log packet serial number loss recording unit 207, and the receiving process in the log receiving computer 21 is ended. You.

一方、ステップS208では、ステップS202において、受信されたパケットがFECパケット42であると識別された場合には、ログパケット復元部208によって、受信されたFECパケット42に記録されているM個のログパケット通番42aいずれかが、欠損しているかどうかが確認される。ログパケット通番42aに欠損が無いことが確認された場合には、ログ受信側計算機21における受信処理が終了される。ログパケット通番42aに欠損が有ることが確認された場合には、ステップS209に移行される。   On the other hand, in step S208, if the received packet is identified as the FEC packet 42 in step S202, the log packet restoring unit 208 outputs the M log records recorded in the received FEC packet 42. It is confirmed whether any of the packet serial numbers 42a is missing. When it is confirmed that there is no loss in the log packet serial number 42a, the receiving process in the log receiving computer 21 is ended. If it is confirmed that there is a loss in the log packet serial number 42a, the process proceeds to step S209.

ステップS209では、ステップS208において、ログパケット通番42aに欠損が有る場合には、ログパケット復元部208によって、欠損したログパケット41が復元される。ここでは、ログデータ#2に欠損がある場合を例として、図7のデータの復元方法に示すように、保存済みのM個のログパケット41のそれぞれに含まれるログデータを一組として、そのすべてのログデータ#1から#Mと、FECデータ#1とのXORを演算することで、欠損したログパケット41に含まれるログデータ#2が復元される。   In step S209, if the log packet serial number 42a is missing in step S208, the missing log packet 41 is restored by the log packet restoring unit 208. Here, as an example of a case where the log data # 2 has a loss, as shown in the data restoration method of FIG. 7, the log data included in each of the saved M log packets 41 is set as one set. By calculating the XOR of all the log data # 1 to #M and the FEC data # 1, the log data # 2 included in the lost log packet 41 is restored.

ステップS210では、受信済ログパケット保存部203によって、復元されたログパケット41が保存される。   In step S210, the received log packet storage unit 203 stores the restored log packet 41.

ステップS211では、ログパケット通番確認部204によって、ログパケット通番42aの欠損が解消されていることが確認され、ログパケット処理部205によって、ログパケット通番42aの欠損が解消されたログパケット41からログデータ41bが取り出される。   In step S211, the log packet sequence number confirming unit 204 confirms that the loss of the log packet sequence number 42 a has been resolved, and the log packet processing unit 205 performs log conversion from the log packet 41 in which the loss of the log packet sequence number 42 a has been resolved. The data 41b is extracted.

ステップS212では、ログデータ出力部206によって、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機21における受信処理が終了される。   In step S212, the log data output unit 206 outputs the extracted log data 41b. Thus, the receiving process in the log receiving computer 21 ends.

なお、受信済ログパケット保存部203に保存されているログパケット41は、ログパケット通番41aの欠損が無く、かつ対応するFECパケット42が受信されている場合には削除される。ここで、FECパケット42が欠損している場合、保存済みのログパケット41の削除ができなくなるが、その場合には、予めタイムアウト値などを設定しておき、一定時間経過後に、保存済みのログパケット41が削除される。   Note that the log packet 41 stored in the received log packet storage unit 203 is deleted if there is no loss in the log packet serial number 41a and the corresponding FEC packet 42 has been received. Here, if the FEC packet 42 is missing, the saved log packet 41 cannot be deleted, but in this case, a timeout value or the like is set in advance, and after a certain time has elapsed, the saved log packet 41 is deleted. The packet 41 is deleted.

このように、実施の形態1に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができるとともに、連続したM個のログデータからFECデータを生成することで、ランダム誤りによる単発のログデータの欠損を復元することができるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the first embodiment, it is possible to detect the loss of log data by adding the log packet serial number to the transmitted log data. In addition, by generating FEC data from consecutive M log data, there is an effect that it is possible to restore a single loss of log data due to a random error.

実施の形態2.
図8は、実施の形態2に係るログデータ転送システムにおけるログ送信側計算機での送信処理手順を示すフローチャートであり、図9は、FECデータの生成方法を説明するための図である。実施の形態2のログデータ転送システムの構成は、実施の形態1の図1のログデータ転送システム1の構成と同様であるので説明を省略する。
Embodiment 2 FIG.
FIG. 8 is a flowchart illustrating a transmission processing procedure in the log transmission-side computer in the log data transfer system according to the second embodiment. FIG. 9 is a diagram illustrating a method of generating FEC data. The configuration of the log data transfer system according to the second embodiment is the same as the configuration of the log data transfer system 1 according to the first embodiment shown in FIG.

実施の形態1に係るログデータ転送システム1では、連続したM個のログデータから、FECデータを生成することによって、ランダム誤りによるM個のログパケットの内、1個のログパケットが欠損している場合には、ログパケットを復元することが可能であるが、バースト誤りのような連続したログパケットが欠損している場合には、ログデータを復元することができない。   In the log data transfer system 1 according to the first embodiment, by generating FEC data from consecutive M log data, one log packet out of M log packets due to a random error is lost. In such a case, it is possible to restore the log packet, but if continuous log packets such as a burst error are missing, the log data cannot be restored.

これに対して、実施の形態2に係るログデータ転送システムにおいては、FECデータの生成時に、図9に示す連続したM×N個のログデータから形成されるログデータのマトリクスを用いて、M個のログデータから生成されるN個の誤り訂正用のFECデータを利用することによって、バースト誤りによる、最大でN個の連続したログパケットが欠損している場合においても、ログデータを復元することが可能となる。ここで、M×N個のログデータからなるマトリクスとは、連続するログデータからN個毎に取得されたM個のログデータを一組とするN組で構成されている。すなわち、M個のログデータは、一定の時間的間隔(N個毎)で取得されたものを一組としている。   On the other hand, in the log data transfer system according to the second embodiment, at the time of generating FEC data, the log data transfer system shown in FIG. By using N error correction FEC data generated from the N pieces of log data, even if a maximum of N consecutive log packets are lost due to a burst error, the log data is restored. It becomes possible. Here, the matrix composed of M × N log data is composed of N sets of M log data acquired every N pieces from continuous log data. In other words, the M log data is set as a set obtained at a certain time interval (every N data).

なお、ログパケットフォーマット、FECパケットフォーマット及びログデータの復元方法については、実施の形態1と同様であるので説明を省略する。   Note that the log packet format, the FEC packet format, and the method of restoring log data are the same as those in the first embodiment, and a description thereof will not be repeated.

次に、実施の形態2に係るログデータ転送方式及びログデータ転送システムの動作について、図8と図9を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the second embodiment will be described with reference to FIGS.

まず、図8を用いて、ログ送信側計算機11での送信処理について説明する。
ステップS106からステップS109が、ステップS301からステップS304に置き換えられている点を除いて、ステップS101からステップS105及びステップS110は、実施の形態1の図2のログ送信側計算機11の動作と同様であるので説明を省略する。
First, a transmission process in the log transmission-side computer 11 will be described with reference to FIG.
Steps S101 to S105 and step S110 are the same as the operations of the log transmitting computer 11 in FIG. 2 of the first embodiment, except that steps S106 to S109 are replaced with steps S301 to S304. Description is omitted because there is.

ステップS301では、送信済ログパケット保存部106に保存されているログパケット41の個数を数え、所定の個数(例えば、ここでは、M×N個とする。)であるかどうかが判定される。ログパケット41の個数が、所定の個数M×N未満であった場合には、ログ送信側計算機11における送信処理が終了される。ログパケット41の個数が、所定の個数M×Nであった場合には、ステップS302に移行される。ここで、個数Mは、2以上の整数で、個数Nは、1以上の整数(ただし、N=1は、実施の形態1の場合に相当)であり、例えば、適用するログデータ転送システムにおいて、連続したログデータで連続して欠損が発生する最大の確率を想定して、その数がN個以内となる任意の数値に設定することができる。   In step S301, the number of log packets 41 stored in the transmitted log packet storage unit 106 is counted, and it is determined whether the number is a predetermined number (for example, M × N here). When the number of the log packets 41 is less than the predetermined number M × N, the transmission processing in the log transmission-side computer 11 ends. If the number of log packets 41 is the predetermined number M × N, the process proceeds to step S302. Here, the number M is an integer of 2 or more, and the number N is an integer of 1 or more (where N = 1 corresponds to the case of the first embodiment). For example, in an applied log data transfer system, Assuming the maximum probability that a continuous loss occurs in continuous log data, the number can be set to an arbitrary numerical value such that the number is within N.

ステップS302では、保存されているログパケット41の個数がM×N個であった場合には、FECデータ生成部107によって、N個のFECデータ42が生成される。ここで、図9に示すFECデータの生成方法の例では、保存されたログパケット41のM×N個のログデータから構成されるM行N列のマトリクス43が生成され、各列のM個のログデータのXORがそれぞれ演算されて、FECデータ#1から#Nが生成される。   In step S302, when the number of stored log packets 41 is M × N, the FEC data generation unit 107 generates N FEC data 42. Here, in the example of the generation method of the FEC data illustrated in FIG. 9, a matrix 43 of M rows and N columns composed of M × N log data of the stored log packet 41 is generated, and M rows and XOR of the log data is calculated, and FEC data # 1 to #N are generated.

ステップS303では、FECパケット生成部108によって、生成されたN個のFECデータ42bに基づいて、N個のFECパケット42が生成される。   In step S303, the FEC packet generator 108 generates N FEC packets 42 based on the generated N FEC data 42b.

続いて、ステップS304では、パケット送信部105によって、生成されたN個のFECパケット42がログ受信側計算機21に送信される。   Subsequently, in step S304, the packet transmitting unit 105 transmits the generated N FEC packets 42 to the log receiving computer 21.

最後に、ステップS110では、FECパケット42が送信された後、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機11における送信処理が終了される。   Finally, in step S110, after the FEC packet 42 has been transmitted, the log packet 41 stored in the transmitted log packet storage unit 106 is deleted. Thus, the transmission process in the log transmission side computer 11 is completed.

なお、ログ受信側計算機21の動作については、実施の形態1と同様であるので説明を省略する。   Note that the operation of the log receiving computer 21 is the same as that of the first embodiment, and therefore the description is omitted.

このように、実施の形態2に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができるとともに、連続したM×N個のログデータからN個のFECデータを生成することで、バースト誤りによる最大でN個の連続したログデータの欠損を復元することができるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the second embodiment, the occurrence of log data loss can be detected by adding a log packet serial number to transmitted log data. In addition, by generating N FEC data from consecutive M × N log data, there is an effect that a loss of a maximum of N consecutive log data due to a burst error can be restored.

実施の形態3.
図10は、実施の形態3に係るログデータ転送システムの概略を示す構成図であり、図11は、ログ送信側計算機での送信処理手順を示すフローチャートであり、図12は、ダミーログパケットの構成を示すログパケットフォーマット図であり、図13は、ログ受信側計算機での受信処理手順を示すフローチャートである。ここで、図10の実施の形態3のログデータ転送システム2においては、図1の実施の形態1のログデータ転送システム1のログ送信側計算機11に、時間計測部401及び送信側ダミーパケット生成部402を、ログ受信側計算機21に、受信側ダミーパケット生成部403が追加されたものである。
Embodiment 3 FIG.
FIG. 10 is a configuration diagram schematically showing a log data transfer system according to the third embodiment. FIG. 11 is a flowchart showing a transmission processing procedure in a log transmission side computer. FIG. 13 is a log packet format diagram showing the configuration, and FIG. 13 is a flowchart showing a reception processing procedure in the log receiving computer. Here, in the log data transfer system 2 according to the third embodiment of FIG. 10, the time measurement unit 401 and the transmission side dummy packet generation are performed by the log transmission side computer 11 of the log data transfer system 1 according to the first embodiment of FIG. The unit 402 is obtained by adding a receiving-side dummy packet generating unit 403 to the log receiving-side computer 21.

実施の形態1に係るログデータ転送システム1では、連続したM個のログデータから、FECデータを生成することによって、ランダム誤りによるM個のログパケットの内、1個のログパケットが欠損した場合には、ログパケットを復元することが可能であるが、FECパケットを生成するためには、M個のログパケットが必要となり、断続的に生成されるログデータの場合には、リアルタイムにFECパケットを生成することができない。   In the log data transfer system 1 according to the first embodiment, by generating FEC data from consecutive M log data, one log packet out of M log packets due to a random error is lost. Can recover a log packet, but in order to generate an FEC packet, M log packets are required. In the case of intermittently generated log data, an FEC packet Cannot be generated.

これに対して、実施の形態3に係るログデータ転送システム2においては、所定の時間経過後においても、M個のログパケットが揃わなかった場合には、ダミーパケットを追加して、M個のログパケットとなるようにしてFECパケットを生成することによって、リアルタイムにFECパケットを生成できるようになるため、ログデータの転送のリアルタイム性を向上させることができる。   On the other hand, in the log data transfer system 2 according to the third embodiment, even if a predetermined time has elapsed, if M log packets have not been collected, a dummy packet is added and M log packets are added. Since the FEC packet can be generated in real time by generating the FEC packet so as to be the log packet, the real-time property of the log data transfer can be improved.

なお、ログパケットフォーマット、FECパケットフォーマット及びログデータの復元方法については、実施の形態1と同様であるので説明を省略する。   Note that the log packet format, the FEC packet format, and the method of restoring log data are the same as those in the first embodiment, and a description thereof will not be repeated.

次に、実施の形態3に係るログデータ転送方式及びログデータ転送システムの動作について、図11から図13を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the third embodiment will be described with reference to FIGS.

まず、図11を用いて、ログ送信側計算機12での送信処理について説明する。
ステップS401からステップS404が追加されている点を除いて、ステップS101からステップS110は、実施の形態1の図2のログ送信側計算機11の動作と同様であるので説明を省略する。
First, transmission processing in the log transmission side computer 12 will be described with reference to FIG.
Except that steps S401 to S404 are added, steps S101 to S110 are the same as the operations of the log transmission side computer 11 of FIG.

ステップS401では、送信済ログパケット保存部106に保存されているログパケット41の個数が1個であった場合には、時間計測部401によって、その時刻が取得され、記録される。すなわち、最初のログパケット41が送信された時刻が記録される。   In step S401, when the number of the log packets 41 stored in the transmitted log packet storage unit 106 is one, the time is acquired and recorded by the time measurement unit 401. That is, the time at which the first log packet 41 was transmitted is recorded.

ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数を数え、所定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、所定の個数Mであった場合には、ステップS107に移行され、実施の形態1の場合と同様の処理を行う。ログパケット41の個数が、所定の個数M未満であった場合には、ステップS402に移行される。   In step S106, the number of log packets 41 stored in the transmitted log packet storage unit 106 is counted, and it is determined whether the number is a predetermined number (for example, M in this case). If the number of log packets 41 is the predetermined number M, the process moves to step S107, and the same processing as in the first embodiment is performed. If the number of log packets 41 is less than the predetermined number M, the process moves to step S402.

ステップS402では、時間計測部401によって、記録された時刻から、所定の時間が経過しているかどうかが判定される。所定の時間に満たない場合には、ログ送信側計算機12における送信処理が終了される。また、所定の時間が経過している場合には、ステップS403に移行される。ここで、所定の時間とは、例えば、通常の処理においてM個のログパケットを生成し、送信することができる時間とすればよい。   In step S402, the time measuring unit 401 determines whether a predetermined time has elapsed from the recorded time. If the time is less than the predetermined time, the transmission processing in the log transmission-side computer 12 ends. If the predetermined time has elapsed, the process moves to step S403. Here, the predetermined time may be, for example, a time during which M log packets can be generated and transmitted in normal processing.

ステップS403では、送信側ダミーパケット生成部402によって、(M−(保存済のログパケット41の個数))個の送信側ダミーパケット44が生成される。ここで、送信側ダミーパケット44は、図12のダミーパケットフォーマットに示すように、ダミーパケット通番44aとダミーデータ44bにより構成されている。   In step S403, the transmission-side dummy packet generation unit 402 generates (M- (the number of stored log packets 41)) transmission-side dummy packets 44. Here, the transmission-side dummy packet 44 includes a dummy packet serial number 44a and dummy data 44b, as shown in the dummy packet format of FIG.

ステップS404では、送信側ダミーパケット44が生成された後、保存済のログパケット41と生成された送信側ダミーパケット44のダミーデータ44bに基づいて、FECデータ生成部107によって、FECデータ42bが生成される。その後、ステップS108に移行される。   In step S404, after the transmission-side dummy packet 44 is generated, the FEC data generation unit 107 generates the FEC data 42b based on the saved log packet 41 and the generated dummy data 44b of the transmission-side dummy packet 44. Is done. Thereafter, the process proceeds to step S108.

ステップS108では、FECパケット生成部108によって、FECデータ42bからFECパケット42が生成される。ここで、FECパケット42には、FECデータの生成元となったログパケット通番42aとダミーパケット通番44a、及びFECデータ42bが含まれている。   In step S108, the FEC packet generation unit 108 generates the FEC packet 42 from the FEC data 42b. Here, the FEC packet 42 includes a log packet serial number 42a, a dummy packet serial number 44a, and an FEC data 42b from which the FEC data is generated.

その後、実施の形態1と同様に、ステップS109で、パケット送信部105によって、FECパケット42が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機12における送信処理が終了される。   After that, as in the first embodiment, the FEC packet 42 is transmitted by the packet transmission unit 105 in step S109, and the log packet 41 stored in the transmitted log packet storage unit 106 is deleted in step S110. . Thus, the transmission process in the log transmission side computer 12 is completed.

続いて、図13を用いて、ログ受信側計算機22での受信処理について説明する。
ステップS411からステップS413が追加されている点を除いて、ステップS201からステップS207、及びステップS210からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the log receiving computer 22 will be described with reference to FIG.
Except that steps S411 to S413 are added, steps S201 to S207 and steps S210 to S212 are the same as the operations of the log receiving computer 21 in FIG. Is omitted.

ステップS411では、ステップS202において、受信されたパケットがFECパケット42であると識別された場合には、ログパケット復元部208によって、受信されたFECパケット42に記録されているM個のログパケット通番42aのいずれかが、欠損しているかどうかが確認される。ログパケット通番42aに欠損が無いことが確認された場合には、ログ受信側計算機21における受信処理が終了される。ログパケット通番42aに欠損が有ることが確認された場合には、ステップS412に移行される。   In step S411, if the received packet is identified as the FEC packet 42 in step S202, the log packet restoring unit 208 causes the log packet restoring unit 208 to output the M log packet serial numbers recorded in the received FEC packet 42. It is confirmed whether any one of 42a is missing. When it is confirmed that there is no loss in the log packet serial number 42a, the receiving process in the log receiving computer 21 is ended. If it is confirmed that there is a loss in the log packet serial number 42a, the process proceeds to step S412.

ステップS412では、ステップS411において、ログパケット41の欠損が有ると確認されたので、受信側ダミーパケット生成部403にて、受信側ダミーパケット44を生成する。この時、FECパケット42に含まれるダミーパケット通番44aを元に、送信側ダミーパケット生成部402で生成されたデータと同一の受信側ダミーデータ44bを生成する。   In step S412, since it is confirmed in step S411 that the log packet 41 is missing, the reception-side dummy packet generation unit 403 generates the reception-side dummy packet 44. At this time, based on the dummy packet serial number 44a included in the FEC packet 42, the receiving-side dummy data 44b identical to the data generated by the transmitting-side dummy packet generator 402 is generated.

ステップS413では、ログパケット通番42aに欠損が有る場合には、ログパケット復元部208によって、受信側ダミーデータ44b及びログデータ41bから欠損したログパケット41が復元される。データの復元方法は、実施の形態1の図7で説明したデータの復元方法と同様であるので説明を省略する。   In step S413, when there is a loss in the log packet serial number 42a, the log packet recovery unit 208 recovers the lost log packet 41 from the receiving-side dummy data 44b and the log data 41b. The data restoration method is the same as the data restoration method described with reference to FIG.

以下、ステップS210からステップS212では、実施の形態1と同様、受信済ログパケット保存部203によって、復元されたログパケット41が保存され、ログパケット通番確認部204によって、ログパケット通番42aの欠損が解消されていることが確認され、ログパケット処理部205によって、ログパケット通番42aの欠損が解消されたログパケット41からログデータ41bが取り出され、出力される。これにより、ログ受信側計算機22における受信処理が終了される。   Hereinafter, in steps S210 to S212, as in the first embodiment, the received log packet storage unit 203 stores the restored log packet 41, and the log packet sequence number confirmation unit 204 determines whether the log packet sequence number 42a is missing. It is confirmed that the log packet 41 has been resolved, and the log packet processing unit 205 retrieves and outputs the log data 41b from the log packet 41 in which the loss of the log packet serial number 42a has been resolved. Thus, the receiving process in the log receiving computer 22 ends.

このように、実施の形態3に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができ、また、連続したM個のログデータからFECデータを生成することで、誤りによるログデータの欠損を復元することができるとともに、所定の時間経過後においても、M個のログパケットが揃わなかった場合には、ダミーパケットを追加して、M個のログパケットとなるようにしてFECパケットを生成することによって、リアルタイムにFECパケットを生成することができるようになり、ログデータ転送のリアルタイム性を向上させることができるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the third embodiment, it is possible to detect the loss of log data by adding the log packet serial number to the transmitted log data. Also, by generating FEC data from consecutive M log data, loss of log data due to an error can be restored, and even after a predetermined time has elapsed, M log packets are not aligned. In this case, the FEC packet can be generated in real time by adding a dummy packet to generate M FEC packets so as to become M log packets, thereby realizing the real-time property of the log data transfer. There is an effect that it can be improved.

実施の形態4.
図14は、実施の形態4に係るログデータ転送システムの概略を示す構成図であり、図15は、ログ送信側計算機での送信処理手順を示すフローチャートであり、図16は、FECパケットの構成を示すFECパケットフォーマット図であり、図17は、ログ受信側計算機での受信処理手順を示すフローチャートである。ここで、図14の実施の形態4のログデータ転送システム3においては、図1の実施の形態1のログデータ転送システム1のログ送信側計算機11に、時間計測部401が追加され、FECデータ生成部107がFECデータ生成部501に、FECパケット生成部108がFECパケット生成部502に、それぞれ置き換えられ、また、ログ受信側計算機21のログパケット復元部208がログパケット復元部503に、置き換えられたものである。
Embodiment 4 FIG.
FIG. 14 is a configuration diagram showing an outline of a log data transfer system according to the fourth embodiment. FIG. 15 is a flowchart showing a transmission processing procedure in a log transmission-side computer. FIG. 17 is a flowchart showing a reception processing procedure in the log receiving-side computer. Here, in the log data transfer system 3 according to the fourth embodiment of FIG. 14, a time measurement unit 401 is added to the log transmission side computer 11 of the log data transfer system 1 according to the first embodiment of FIG. The generation unit 107 is replaced by an FEC data generation unit 501, the FEC packet generation unit 108 is replaced by an FEC packet generation unit 502, and the log packet restoration unit 208 of the log receiving computer 21 is replaced by a log packet restoration unit 503. It was done.

実施の形態3に係るログデータ転送システム2では、所定の時間経過後にダミーパケットを使用して、FECパケットを生成することで、ログ転送時のリアルタイム性が向上した。しかし、この時、FECデータ生成時及びログパケット復元時に、ダミーパケットを含めたM個のXORを演算する必要があり、ダミーパケットの分だけ、不要な演算が実行されることになる。   In the log data transfer system 2 according to the third embodiment, a real-time property at the time of log transfer is improved by generating an FEC packet using a dummy packet after a predetermined time has elapsed. However, at this time, at the time of generating FEC data and restoring the log packet, it is necessary to calculate M XORs including the dummy packet, and an unnecessary calculation is performed for the dummy packet.

これに対して、実施の形態4に係るログデータ転送システム3においては、所定の時間経過後も、M個のログパケットが揃わなかった場合には、現在保存されているログパケットの個数Mに応じてFECデータが生成される。すなわち、実施の形態1から実施の形態3では、個数Mは固定値であったが、実施の形態4では、個数Mが可変値となる。これにより、実施の形態3のようにダミーデータの生成処理が不要となるため、FECデータ生成時及びログパケット復元時の演算処理負荷を軽減させ、処理速度を向上させることができる。   On the other hand, in the log data transfer system 3 according to the fourth embodiment, even if the predetermined number of log packets have not been collected after the elapse of the predetermined time, the number M of the currently stored log packets is reduced to M. FEC data is generated accordingly. That is, in the first to third embodiments, the number M is a fixed value, but in the fourth embodiment, the number M is a variable value. This eliminates the need for the dummy data generation processing as in the third embodiment, so that the calculation processing load during FEC data generation and log packet restoration can be reduced, and the processing speed can be improved.

なお、ログパケットフォーマット及びログデータの復元方法については、実施の形態1と同様であるので説明を省略する。   Note that the log packet format and the method of restoring log data are the same as those in the first embodiment, and thus description thereof is omitted.

次に、実施の形態4に係るログデータ転送方式及びログデータ転送システムの動作について、図15から図17を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the fourth embodiment will be described with reference to FIGS.

まず、図15を用いて、ログ送信側計算機13での送信処理について説明する。
ステップS401及びステップS402が追加され、ステップS107及びステップS108がステップS501、及びステップS502に置き換えられている点を除いて、ステップS101からステップS106、及びステップS109からステップS110は、実施の形態1の図2のログ送信側計算機11の動作と同様であるので説明を省略する。
First, the transmission process in the log transmission side computer 13 will be described with reference to FIG.
Steps S101 to S106 and steps S109 to S110 are the same as those of the first embodiment except that steps S401 and S402 are added, and steps S107 and S108 are replaced with steps S501 and S502. Since the operation is the same as that of the log transmission side computer 11 in FIG. 2, the description is omitted.

ステップS401では、送信済ログパケット保存部106に保存されているログパケット41の個数が1個であった場合には、時間計測部401によって、その時刻が取得され、記録される。すなわち、最初のログパケット41が送信された時刻が記録される。   In step S401, when the number of the log packets 41 stored in the transmitted log packet storage unit 106 is one, the time is acquired and recorded by the time measurement unit 401. That is, the time at which the first log packet 41 was transmitted is recorded.

ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数を数え、所定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、M個であった場合には、ステップS107に移行され、実施の形態1の場合と同様の処理を行う。ログパケット41の個数が、所定の個数M未満であった場合には、ステップS402に移行される。   In step S106, the number of log packets 41 stored in the transmitted log packet storage unit 106 is counted, and it is determined whether the number is a predetermined number (for example, M in this case). If the number of the log packets 41 is M, the process proceeds to step S107, and the same processing as in the first embodiment is performed. If the number of log packets 41 is less than the predetermined number M, the process moves to step S402.

ステップS402では、時間計測部401によって、記録された時刻から、所定の時間が経過しているかどうかが判定される。所定の時間に満たない場合には、ログ送信側計算機13における送信処理が終了される。また、所定の時間が経過している場合には、ステップS501に移行される。ここで、所定の時間とは、例えば、通常の処理においてM個(固定)のログパケットを生成し、送信することができる時間とすればよい。   In step S402, the time measuring unit 401 determines whether a predetermined time has elapsed from the recorded time. If the time is less than the predetermined time, the transmission processing in the log transmission-side computer 13 ends. If the predetermined time has elapsed, the process moves to step S501. Here, the predetermined time may be, for example, a time during which M (fixed) log packets can be generated and transmitted in normal processing.

ステップS501では、FECデータ生成部501によって、FECデータが生成される。ここで、図4に示すFECデータの生成方法の例では、保存されたM個のログパケット41のそれぞれに含まれるログデータ#1から#Mを一組として、そのすべてのログデータのXOR(排他的論理和)が演算され、FECデータ#1が生成される。ただし、ステップS402において、所定の時間が経過している場合には、保存されているログデータの個数M(可変値)でFECデータが生成される。   In step S501, the FEC data generation unit 501 generates FEC data. Here, in the example of the method of generating the FEC data illustrated in FIG. 4, the log data # 1 to #M included in each of the stored M log packets 41 is set as a set, and the XOR (XOR ( Exclusive OR) is calculated to generate FEC data # 1. However, if the predetermined time has elapsed in step S402, FEC data is generated with the number M (variable value) of the stored log data.

ステップS502では、FECデータ生成部501によって、生成されたFECデータに基づいて、FECパケット45が生成される。ここで生成されるFECパケット45は、図16のFECパケットフォーマットに示すように、FECデータの生成元となったログパケットの個数45n、ログパケット通番45a及びFECデータ45bにより構成されている。   In step S502, the FEC packet 45 is generated by the FEC data generation unit 501 based on the generated FEC data. As shown in the FEC packet format of FIG. 16, the generated FEC packet 45 includes the number 45n of log packets from which the FEC data is generated, the log packet serial number 45a, and the FEC data 45b.

その後、実施の形態1と同様に、ステップS109で、パケット送信部105によって、FECパケット45が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機13における送信処理が終了される。   Thereafter, as in the first embodiment, the FEC packet 45 is transmitted by the packet transmission unit 105 in step S109, and the log packet 41 stored in the transmitted log packet storage unit 106 is deleted in step S110. . Thereby, the transmission process in the log transmission side computer 13 is completed.

続いて、図17を用いて、ログ受信側計算機23での受信処理について説明する。
ステップS209がステップS503に置き換えられている点を除いて、ステップS201からステップS208、及びステップS210からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the log receiving computer 23 will be described with reference to FIG.
Except that step S209 is replaced by step S503, steps S201 to S208 and steps S210 to S212 are the same as the operations of the log receiving computer 21 of FIG. Is omitted.

ステップS208では、ステップS202において、受信されたパケットがFECパケット45であると識別された場合には、ログパケット復元部503によって、受信されたFECパケット45に記録されているM個(可変値)のログパケット通番45aのいずれかが、欠損しているかどうかが確認される。ログパケット通番45aに欠損が無いことが確認された場合には、ログ受信側計算機23における受信処理が終了される。ログパケット通番45aに欠損が有ることが確認された場合には、ステップS503に移行される。   In step S208, if it is determined in step S202 that the received packet is the FEC packet 45, the log packet restoring unit 503 records the M packets (variable values) recorded in the received FEC packet 45. It is confirmed whether any of the log packet serial numbers 45a is missing. When it is confirmed that there is no loss in the log packet serial number 45a, the receiving process in the log receiving computer 23 is ended. If it is confirmed that there is a loss in the log packet serial number 45a, the process moves to step S503.

ステップS503では、ログパケット通番45aに欠損が有る場合には、ログパケット復元部503によって、欠損したログパケット41が復元される。データの復元方法は、実施の形態1の図7で説明したデータの復元方法と同様である。ここで、実施の形態1との違いは、ログパケット41の個数Mが可変値であることである。   In step S503, if there is a loss in the log packet serial number 45a, the log packet recovery unit 503 recovers the lost log packet 41. The data restoring method is the same as the data restoring method described in FIG. 7 of the first embodiment. Here, the difference from the first embodiment is that the number M of the log packets 41 is a variable value.

以下、ステップS210からステップS212では、実施の形態1と同様、受信済ログパケット保存部203によって、復元されたログパケット41が保存され、ログパケット通番確認部204によって、ログパケット通番45aの欠損が解消されていることが確認され、ログパケット処理部205によって、ログパケット通番の欠損が解消されたログパケット41からログデータが取り出され、出力される。これにより、ログ受信側計算機23における受信処理が終了される。   Hereinafter, in steps S210 to S212, as in the first embodiment, the received log packet storage unit 203 stores the restored log packet 41, and the log packet sequence number confirmation unit 204 determines whether the log packet sequence number 45a is missing. It is confirmed that the log data has been resolved, and the log packet processing unit 205 retrieves and outputs log data from the log packet 41 in which the loss of the log packet serial number has been resolved. Thus, the receiving process in the log receiving computer 23 is completed.

このように、実施の形態4に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができ、また、連続したM個のログデータからFECデータを生成することで、誤りによるログデータの欠損を復元することができるとともに、所定の時間経過後においても、M個のログパケットが揃わなかった場合には、現在保存されているログパケットの個数Mに応じてFECデータを生成することで、FECデータ生成時及びログパケット復元時の演算処理負荷を軽減し、処理速度を向上させることができるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the fourth embodiment, the occurrence of log data loss can be detected by adding a log packet serial number to transmitted log data. Also, by generating FEC data from consecutive M log data, loss of log data due to an error can be restored, and even after a predetermined time has elapsed, M log packets are not aligned. In this case, by generating FEC data in accordance with the number M of log packets currently stored, the processing load at the time of generating FEC data and restoring log packets can be reduced, and the processing speed can be improved. This has the effect.

実施の形態5.
図18は、実施の形態5に係るログデータ転送システムの概略を示す構成図であり、図19は、ログ送信側計算機での送信処理手順を示すフローチャートであり、図20は、ログパケットの構成を示すログパケットフォーマット図であり、図21は、ログ受信側計算機での受信処理手順を示すフローチャートである。ここで、図18の実施の形態5のログデータ転送システム4においては、図1の実施の形態1のログデータ転送システム1のログ送信側計算機11に、ログデータ分割部601が、ログ受信側計算機21に、ログデータ結合部602が追加されたものである。
Embodiment 5 FIG.
FIG. 18 is a configuration diagram showing an outline of the log data transfer system according to the fifth embodiment. FIG. 19 is a flowchart showing a transmission processing procedure in a log transmission side computer. FIG. FIG. 21 is a flowchart of a receiving process performed by the log receiving computer. Here, in the log data transfer system 4 according to the fifth embodiment in FIG. 18, the log data dividing unit 601 is provided in the log transmission side computer 11 of the log data transfer system 1 in the first embodiment in FIG. The log data combining unit 602 is added to the computer 21.

実施の形態1に係るログデータ転送システム1では、ログデータが長くなった場合においても、ログデータを分割する処理は実行されていない。しかし、ログデータが長い場合には、ネットワークの下位層で、パケット分割され、ログ受信側計算機の負荷が大きくなる可能性がある。   In the log data transfer system 1 according to the first embodiment, even when the log data becomes long, the process of dividing the log data is not executed. However, if the log data is long, packets may be divided in the lower layer of the network, and the load on the log receiving computer may increase.

例えば、UDP/IPの場合において、UDP(User Data Protocol)のデータグラムが大きくなると、下位層のIP層で、MTU(Maximum Transmission Unit)に従って、複数のIPパケットに分割されて送付される。そして、受信側では、UDP層のプロトコルスタックで、分割されたIPパケットが結合され、UDPのデータグラムを復元する処理が実行される。この時、分割されたIPパケットの一部が欠損している場合には、UDP層のプロトコルスタックで、欠損したIPパケットの受信待ちが発生する。   For example, in the case of UDP / IP, when a UDP (User Data Protocol) datagram becomes large, the datagram is divided into a plurality of IP packets in a lower IP layer according to an MTU (Maximum Transmission Unit) and transmitted. Then, on the receiving side, a process of restoring a UDP datagram is executed by combining the divided IP packets in the protocol stack of the UDP layer. At this time, if a part of the divided IP packet is missing, the UDP layer protocol stack waits for the reception of the missing IP packet.

これに対して、実施の形態5に係るログデータ転送システム4においては、このようなログ受信側計算機の負荷増を防ぐために、ログデータが長くなった場合に、ログデータを分割するログデータ分割部を設けている。送信時に、パケットを分割することで、ネットワークの下位層でのパケット分割を防ぎ、ログ受信側計算機の負荷増を防ぐことができる。   On the other hand, in the log data transfer system 4 according to the fifth embodiment, in order to prevent such an increase in the load on the log receiving side computer, when the log data becomes longer, the log data division system divides the log data. Part is provided. By dividing a packet at the time of transmission, it is possible to prevent packet division in a lower layer of the network and prevent an increase in load on the log receiving side computer.

なお、FECパケットフォーマット及びログデータの復元方法については、実施の形態1と同様であるので説明を省略する。   Note that the FEC packet format and the method of restoring log data are the same as those in the first embodiment, and a description thereof will be omitted.

次に、実施の形態4に係るログデータ転送方式及びログデータ転送システムの動作について、図18から図21を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the fourth embodiment will be described with reference to FIGS.

まず、図19を用いて、ログ送信側計算機14での送信処理について説明する。
ステップS601が追加されている点を除いて、ステップS101からステップS110は、実施の形態1の図2のログ送信側計算機11の動作と同様であるので説明を省略する。
First, a transmission process in the log transmission-side computer 14 will be described with reference to FIG.
Except for the point that step S601 is added, steps S101 to S110 are the same as the operations of the log transmitting computer 11 of FIG.

ステップS101では、ログデータ収集部102によって、ログデータ生成部101で生成されたログデータ41bが収集される。   In step S101, the log data collection unit 102 collects the log data 41b generated by the log data generation unit 101.

ステップS601では、収集されたログデータの長さが、決められた長さより長かった場合には、ログデータ分割部601にて、ログデータ41bが分割される。ここで、分割されるログデータの長さは、使用するネットワークのMTU以下に設定する。   In step S601, if the length of the collected log data is longer than the determined length, the log data dividing unit 601 divides the log data 41b. Here, the length of the log data to be divided is set to be equal to or less than the MTU of the network to be used.

ステップS102では、ログパケット通番生成部103によって、分割されたログデータ46bに対応したログパケット通番46aが生成される。   In step S102, the log packet sequence number generation unit 103 generates a log packet sequence number 46a corresponding to the divided log data 46b.

ステップS103では、ログパケット生成部104によって、ログデータ分割部601で分割されたログデータ46bにログパケット通番46aが付加されたログパケット46が生成される。ここで生成されるログパケット46は、図20のログパケットフォーマットに示すように、ログパケット通番46a、分割パケット識別子46f及び分割されたログデータ46bで構成されている。   In step S103, the log packet generation unit 104 generates the log packet 46 in which the log data serial number 46a is added to the log data 46b divided by the log data division unit 601. The log packet 46 generated here includes a log packet serial number 46a, a divided packet identifier 46f, and divided log data 46b, as shown in the log packet format of FIG.

その後、実施の形態1と同様に、ステップS104、ステップS109において、パケット送信部105によって、ログパケット46及びFECパケット42が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット46が削除される。これにより、ログ送信側計算機14における送信処理が終了される。   Thereafter, as in the first embodiment, the log packet 46 and the FEC packet 42 are transmitted by the packet transmission unit 105 in steps S104 and S109, and are stored in the transmitted log packet storage unit 106 in step S110. The log packet 46 is deleted. Thus, the transmission processing in the log transmission-side computer 14 ends.

続いて、図21を用いて、ログ受信側計算機24での受信処理について説明する。
ステップS602及びステップS603が追加されている点を除いて、ステップS201からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the log receiving computer 24 will be described with reference to FIG.
Except that steps S602 and S603 are added, steps S201 to S212 are the same as the operations of the log receiving computer 21 of FIG.

ステップS205では、ステップS204において、ログパケット通番46aの欠損が無いと確認された場合には、ログパケット処理部205によって、受信されたログパケット46から、ログデータ46bが取り出される。   In step S205, when it is confirmed in step S204 that there is no loss in the log packet serial number 46a, the log packet processing unit 205 extracts the log data 46b from the received log packet 46.

ステップS602では、ログパケット処理部205によって、取り出されたログデータを分割パケット識別子46fに基づいて、ログデータ結合部602によりログデータが結合される。   In step S602, the log data is combined by the log data processing unit 205 by the log data combining unit 602 based on the divided packet identifier 46f.

同様に、ログパケット通番46aに欠損が有る場合には、ログパケット復元部208によって、欠損したログパケット46が復元され、さらに、ステップS603で、ログパケット処理部205によって、取り出されたログデータを分割パケット識別子46fに基づいて、ログデータ結合部602によりログデータ46bが結合される。   Similarly, if there is a loss in the log packet serial number 46a, the lost log packet 46 is restored by the log packet restoration unit 208. Further, in step S603, the log data extracted by the log packet processing unit 205 is The log data combining unit 602 combines the log data 46b based on the fragmented packet identifier 46f.

ステップS206、ステップS212では、ログデータ出力部206によって、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機24における受信処理が終了される。   In steps S206 and S212, the log data output unit 206 outputs the extracted log data 41b. Thus, the receiving process in the log receiving computer 24 is completed.

このように、実施の形態5に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができ、また、連続したM個のログデータからFECデータを生成することで、誤りによるログデータの欠損を復元することができるとともに、ログデータが長い場合において、予めログデータを分割してログパケットを生成することでネットワーク上でのパケット分割を防ぎ、受信側での負荷を軽減することがでいるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the fifth embodiment, it is possible to detect the occurrence of loss of log data by adding a log packet serial number to transmitted log data. In addition, by generating FEC data from consecutive M log data, loss of log data due to an error can be restored, and when log data is long, log data is divided in advance and log packets are generated. By generating the packet, there is an effect that packet division on the network can be prevented, and the load on the receiving side can be reduced.

実施の形態6.
図22は、実施の形態6に係るログデータ転送システムの概略を示す構成図であり、図23は、ログ送信側計算機での送信処理手順を示すフローチャートであり、図24は、ログパケットの構成を示すログパケットフォーマット図であり、図25は、FECパケットの構成を示すFECパケットフォーマット図であり、図26は、ログ受信側計算機での受信処理手順を示すフローチャートである。ここで、図22の実施の形態6のログデータ転送システム5においては、図1の実施の形態1のログデータ転送システム1のログ送信側計算機11に、チェックサム演算部701が、ログ受信側計算機21に、チェックサム確認部703が追加されたものである。
Embodiment 6 FIG.
FIG. 22 is a configuration diagram showing an outline of the log data transfer system according to the sixth embodiment, FIG. 23 is a flowchart showing a transmission processing procedure in a log transmission side computer, and FIG. 24 is a configuration of a log packet. FIG. 25 is an FEC packet format diagram showing the configuration of an FEC packet, and FIG. 26 is a flowchart showing a reception processing procedure in the log receiving-side computer. Here, in the log data transfer system 5 according to the sixth embodiment of FIG. 22, the checksum calculation unit 701 is added to the log transmission side computer 11 of the log data transfer system 1 according to the first embodiment of FIG. The checksum check unit 703 is added to the computer 21.

実施の形態1に係るログデータ転送システム1では、ログパケット及びFECパケットの送信時にチェックサムの演算は実行されていない。しかし、チェックサムの演算を行っていない場合には、ネットワークの下位層において、ログデータの内容が化けてしまう可能性がある。   In the log data transfer system 1 according to the first embodiment, the calculation of the checksum is not performed when transmitting the log packet and the FEC packet. However, if the calculation of the checksum is not performed, the contents of the log data may be garbled in the lower layer of the network.

例えば、IPv4のUDPでは、UDP層のチェックサムの演算はオプションとなっている。システムの構成上、UDP層のチェックサムが無効化されている場合には、受信側で、誤ったデータが受信される可能性がある。   For example, in the IPv4 UDP, the calculation of the checksum of the UDP layer is optional. If the checksum of the UDP layer is invalidated due to the configuration of the system, there is a possibility that erroneous data is received on the receiving side.

これに対して、実施の形態6に係るログデータ転送システム5においては、ログ受信側計算機での誤ったデータの受信を防ぐために、送信する際に、予めログパケット及びFECパケットのチェックサムの演算を行う。受信側で、チェックサムの確認を行うことで、誤ったログデータが受信される可能性を軽減することができる。   On the other hand, in the log data transfer system 5 according to the sixth embodiment, in order to prevent reception of erroneous data at the log receiving computer, the checksum of the log packet and the FEC packet is calculated before transmitting the data. I do. By confirming the checksum on the receiving side, the possibility of receiving erroneous log data can be reduced.

なお、ログデータの復元方法については、実施の形態1と同様であるので説明を省略する。   Note that the method of restoring log data is the same as in the first embodiment, and a description thereof will not be repeated.

次に、実施の形態6に係るログデータ転送方式及びログデータ転送システムの動作について、図22から図26を参照して、説明する。   Next, the operation of the log data transfer method and the log data transfer system according to the sixth embodiment will be described with reference to FIGS.

まず、図23を用いて、ログ送信側計算機15での送信処理について説明する。
ステップS701が追加されている点を除いて、ステップS101からステップS110は、実施の形態1の図2のログ送信側計算機11の動作と同様であるので説明を省略する。
First, a transmission process in the log transmission side computer 15 will be described with reference to FIG.
Except for the point that step S701 is added, steps S101 to S110 are the same as the operations of the log transmission-side computer 11 of FIG.

ステップS701では、ログパケット生成部104によって、生成されたログパケット41のチェックサムの演算が実行され、チェックサム47sがログパケット41に付加される。これにより、ログパケット47は、図24に示すように、チェックサム47s、ログパケット通番47a及びログデータ47bにより構成されたものとなる。   In step S701, the log packet generation unit 104 calculates the checksum of the generated log packet 41, and adds the checksum 47s to the log packet 41. Thus, the log packet 47 is composed of the checksum 47s, the log packet serial number 47a, and the log data 47b, as shown in FIG.

ステップS702では、FECパケット生成部108によって生成されたFECパケット42のチェックサムの演算が実行され、チェックサム48sがFECパケット42に付加される。これにより、FECパケット48は、図25に示すように、チェックサム48s、ログパケット通番48a及びログデータ48bにより構成されたものとなる。   In step S702, the checksum of the FEC packet 42 generated by the FEC packet generator 108 is calculated, and the checksum 48s is added to the FEC packet 42. As a result, the FEC packet 48 is composed of the checksum 48s, the log packet serial number 48a, and the log data 48b, as shown in FIG.

その後、実施の形態1と同様に、ステップS104、ステップS109において、パケット送信部105によって、ログパケット47及びFECパケット48が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット47が削除される。これにより、ログ送信側計算機15における送信処理が終了される。   Thereafter, as in the first embodiment, the log packet 47 and the FEC packet 48 are transmitted by the packet transmission unit 105 in steps S104 and S109, and are stored in the transmitted log packet storage unit 106 in step S110. The log packet 47 is deleted. Thus, the transmission processing in the log transmission side computer 15 is completed.

続いて、図26を用いて、ログ受信側計算機25での受信処理について説明する。
ステップS703が追加されている点を除いて、ステップS201からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the log receiving computer 25 will be described with reference to FIG.
Except that step S703 is added, steps S201 to S212 are the same as the operations of the log receiving computer 21 of FIG.

ステップS703では、パケット受信部201によって受信されたログパケット47及びFECパケット48のチェックサムの確認が行われ、チェックサム48sが正しいと判断された場合には、ステップS202移行され、実施の形態1と同様に、以降のステップが実行される。チェックサム48sが誤っている判断された場合には、ログパケット47が破棄され、ログ受信側計算機25における受信処理が終了される。   In step S703, the checksum of the log packet 47 and the FEC packet 48 received by the packet receiving unit 201 is confirmed. If the checksum 48s is determined to be correct, the process proceeds to step S202, and the first embodiment is performed. Similarly, the following steps are executed. If it is determined that the checksum 48s is incorrect, the log packet 47 is discarded, and the receiving process in the log receiving computer 25 is terminated.

このように、実施の形態6に係るログデータ転送方式及びログデータ転送システムによれば、送信されるログデータにログパケット通番を付加することによって、ログデータの欠損の発生を検出することができ、また、連続したM個のログデータからFECデータを生成することで、誤りによるログデータの欠損を復元することができるとともに、ログパケット及びFECパケットのチェックサムの演算を行うことで、誤ったログデータが受信される可能性を軽減することができるという効果がある。   As described above, according to the log data transfer method and the log data transfer system according to the sixth embodiment, the occurrence of log data loss can be detected by adding the log packet serial number to the transmitted log data. In addition, by generating FEC data from consecutive M log data, it is possible to restore the loss of log data due to an error, and to calculate the checksum of the log packet and the FEC packet to obtain an erroneous data. This has the effect of reducing the possibility of receiving log data.

なお、上記実施の形態では、本発明の特徴であるログデータの再送ができないログデータ転送システムにおいて有効であることを説明するため、送信側及び受信側計算機間に一方向性通信装置を用いる例について説明したが、一般的なネットワークシステムに適用できることは言うまでもない。   In the above embodiment, an example in which a unidirectional communication device is used between a transmission side computer and a reception side computer to explain that the present invention is effective in a log data transfer system that cannot retransmit log data, which is a feature of the present invention. However, it is needless to say that the present invention can be applied to a general network system.

また、ログ送信計算機、ログ受信計算機を構成している各部は、ハードウエアあるいはソフトウエアのいずれで構成されていてもよい。   Further, each unit configuring the log transmission computer and the log reception computer may be configured by either hardware or software.

また、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略したりすることが可能である。   Further, in the present invention, within the scope of the present invention, it is possible to freely combine the embodiments, and to appropriately modify or omit the embodiments.

また、図中、同一符号は、同一または相当部分を示す。   In the drawings, the same reference numerals indicate the same or corresponding parts.

1,2,3,4,5 ログデータ転送システム、11,12,13,14,15 ログ送信側計算機、21,22,23,24,25 ログ受信側計算機、31 一方向通信装置、41,46,47 ログパケット、42,45,48 FECパケット、44 ダミーパケット、101 ログデータ生成部、102 ログデータ収集部、103ログパケット通番生成部、104 ログパケット生成部、105 パケット送信部、106 送信済ログパケット保存部、107,501 FECデータ生成部、108,502 FECパケット生成部、201 パケット受信部、202 受信パケット識別部、203 受信済ログパケット保存部、204 ログパケット通番確認部、205 ログパケット処理部、206 ログデータ出力部、207 ログパケット通番欠損記録部、208,503 ログパケット復元部、401 時間計測部、402 送信側ダミーパケット生成部、403 受信側ダミーパケット生成部、601 ログデータ分割部、602 ログデータ結合部、701 チェックサム演算部、703 チェックサム確認部     1, 2, 3, 4, 5 log data transfer system, 11, 12, 13, 14, 15 log transmitting computer, 21, 22, 23, 24, 25 log receiving computer, 31 one-way communication device, 41, 46, 47 log packet, 42, 45, 48 FEC packet, 44 dummy packet, 101 log data generation unit, 102 log data collection unit, 103 log packet serial number generation unit, 104 log packet generation unit, 105 packet transmission unit, 106 transmission Log packet storage unit, 107, 501 FEC data generation unit, 108, 502 FEC packet generation unit, 201 packet reception unit, 202 received packet identification unit, 203 received log packet storage unit, 204 log packet sequence number confirmation unit, 205 log Packet processing unit, 206 log data output unit, 207 log packet G number recording unit, 208, 503 log packet restoration unit, 401 time measurement unit, 402 transmission side dummy packet generation unit, 403 reception side dummy packet generation unit, 601 log data division unit, 602 log data combination unit, 701 checksum Operation unit, 703 Checksum confirmation unit

Claims (12)

送信側にて、ログデータにログパケット通番を付加して、ログパケットを生成するとともに、連続したM個の前記ログデータを一組として排他的論理和を演算して生成された前方誤り訂正データに前記M個のログパケット通番を付加して、前方誤り訂正パケットを生成し、前記ログパケット及び前記前方誤り訂正パケットを送信して、受信側にて、前記前方誤り訂正パケットの前記ログパケット通番のいずれかに欠損が生じていることが検出された場合に、受信された前記一組のログデータと前記前方誤り訂正データの排他的論理和を演算して当該ログパケットを復元し、前記復元されたログパケットからログデータを取り出すことを特徴とするログデータ転送方式。   On the transmitting side, a log packet serial number is added to the log data to generate a log packet, and forward error correction data generated by calculating an exclusive OR using a set of the M consecutive log data as a set To generate a forward error correction packet, transmit the log packet and the forward error correction packet, and receive the log packet serial number of the forward error correction packet on the receiving side. In the case where it is detected that a loss has occurred in any one of the above, the exclusive OR of the received set of log data and the forward error correction data is calculated to restore the log packet, and the restoration is performed. A log data transfer method characterized by extracting log data from a given log packet. 前記連続したM個の前記ログデータは、連続する前記ログデータからN個毎に取得されたM個のログデータであることを特徴とする請求項1に記載のログデータ転送方式。   2. The log data transfer method according to claim 1, wherein the M consecutive log data are M log data acquired every N log data from the continuous log data. 前記送信側において、最初の前記ログパケットが送信された時刻を基準として所定の時間内にM個の前記ログパケットが揃わなかった場合に、前記ログパケットに送信側ダミーパケットを追加し、前記受信側において、受信された前記ログデータに受信側ダミーデータを追加することを特徴とする請求項1に記載のログデータ転送方式。   On the transmitting side, if the M log packets are not aligned within a predetermined time based on the time at which the first log packet was transmitted, a transmitting side dummy packet is added to the log packet, The log data transfer method according to claim 1, wherein the receiving side adds receiving-side dummy data to the received log data. 前記送信側において、
最初の前記ログパケットが送信された時刻を基準として所定の時間内に連続して生成される前記ログパケットの個数Mを付した前記前方誤り訂正パケットを生成することで、前記ログパケットの個数Mを可変値にしたことを特徴とする請求項1に記載のログデータ転送方式。
On the transmitting side,
By the first of the log packet to generate the forward error correction packets appends the number M of the log packets generated continuously within a predetermined time based on the time sent, the number of said log packet 2. The log data transfer method according to claim 1, wherein M is a variable value.
前記送信側において、前記ログデータを分割し、前記受信側において、前記分割されたログデータを結合することを特徴とする請求項1に記載のログデータ転送方式。   The log data transfer method according to claim 1, wherein the log data is divided on the transmission side, and the divided log data is combined on the reception side. 前記送信側において、前記ログパケットのチェックサムを演算し、前記受信側において、前記演算されたチェックサムを確認することを特徴とする請求項1に記載のログデータ転送方式。   2. The log data transfer method according to claim 1, wherein the transmission side calculates a checksum of the log packet, and the reception side confirms the calculated checksum. ログデータにログパケット通番を付加したログパケットを生成するログパケット生成部、
連続したM個の前記ログデータを一組として排他的論理和を演算して生成された前方誤り訂正データに前記M個のログパケット通番を付加した前方誤り訂正パケットを生成する前方誤り訂正パケット生成部、
前記ログパケット及び前記前方誤り訂正パケットを送信するパケット送信部、を有するログ送信側計算機と、
前記ログパケット及び前記前方誤り訂正パケットを受信するパケット受信部、
前記ログパケットであるか前記前方誤り訂正パケットであるかを識別するとともに前記前方誤り訂正パケットの前記ログパケット通番のいずれかの欠損の有無を検出する受信パケット識別部、
前記M個のログパケット通番のいずれかに欠損が生じている場合に、受信した前記一組のログデータと前記前方誤り訂正データの排他的論理和を演算して当該ログパケットを復元するログパケット復元部、
前記復元されたログパケットからログデータを取り出すログパケット処理部、を有するログ受信側計算機と、
を備えたことを特徴とするログデータ転送システム。
A log packet generation unit that generates a log packet in which a log packet serial number is added to log data;
Forward error correction packet generation for generating a forward error correction packet in which the M log packet serial numbers are added to forward error correction data generated by performing an exclusive OR operation on a set of consecutive M log data as a set Department,
A log transmitting-side computer having a packet transmitting unit that transmits the log packet and the forward error correction packet,
A packet receiving unit that receives the log packet and the forward error correction packet,
A received packet identification unit that identifies whether the log packet is the forward error correction packet and detects whether any of the log packet serial numbers of the forward error correction packet is missing.
If any of the M log packet serial numbers is missing, a log packet for calculating the exclusive OR of the received set of log data and the forward error correction data to restore the log packet Restoration unit,
A log receiving computer having a log packet processing unit for extracting log data from the restored log packet,
A log data transfer system comprising:
前記連続したM個の前記ログデータは、連続する前記ログデータからN個毎に取得されたM個のログデータであることを特徴とする請求項7に記載のログデータ転送システム。   8. The log data transfer system according to claim 7, wherein the M consecutive log data is M log data acquired every N log data from the continuous log data. 前記ログ送信側計算機に、最初の前記ログパケットが送信された時刻を基準として所定の時間を計測する時間計測部、送信側ダミーデータに送信側ダミーパケット通番を付加した送信側ダミーパケットを生成する送信側ダミーパケット生成部、
前記ログ受信側計算機に、受信側ダミーデータに受信側ダミーパケット通番を付加した受信側ダミーパケットを生成する受信側ダミーパケット生成部、を備え、
前記ログ送信側計算機において、前記所定の時間内にM個の前記ログパケットが揃わなかった場合に、前記ログパケットに前記送信側ダミーパケットを追加し、
前記ログ受信側計算機において、受信された前記ログデータに前記受信側ダミーパケットを追加することを特徴とする請求項7に記載のログデータ転送システム。
A time measuring unit that measures a predetermined time based on the time at which the first log packet is transmitted to the log transmitting computer, and generates a transmitting dummy packet in which a transmitting dummy packet serial number is added to transmitting dummy data; Transmitting side dummy packet generation unit,
The log receiving-side computer, a receiving-side dummy packet generating unit that generates a receiving-side dummy packet with a receiving-side dummy packet serial number added to a receiving-side dummy data,
In the log transmitting side computer, when the M number of the log packets are not aligned within the predetermined time, the transmitting side dummy packet is added to the log packet,
8. The log data transfer system according to claim 7, wherein the log receiving computer adds the receiving dummy packet to the received log data.
前記ログ送信側計算機に、
最初の前記ログパケットが送信された時刻を基準として所定の時間を計測する時間計測部、を備え、
前記ログ送信側計算機において、
前記前方誤り訂正パケット生成部は、前記所定の時間内に連続して生成された前記ログパケットの個数Mを付加した前記前方誤り訂正パケットを生成することで、個数Mを可変値としたことを特徴とする請求項7に記載のログデータ転送システム。
In the log sending computer,
A time measuring unit that measures a predetermined time based on a time at which the first log packet is transmitted,
In the log sending computer,
The forward error correction packet generation unit may generate the forward error correction packet to which the number M of the log packets continuously generated within the predetermined time is added, so that the number M is made a variable value. The log data transfer system according to claim 7, wherein
前記ログ送信側計算機に、前記ログデータを分割するログデータ分割部、
前記ログ受信側計算機に、前記分割されたログデータを結合するログデータ分割部、
を備えたことを特徴とする請求項7に記載のログデータ転送システム。
A log data dividing unit that divides the log data into the log transmitting computer;
A log data dividing unit that combines the divided log data with the log receiving computer;
The log data transfer system according to claim 7, comprising:
前記ログ送信側計算機に、前記ログパケットのチェックサムを演算するチェックサム演算部、
前記ログ受信側計算機に、前記演算されたチェックサムを確認するチェックサム確認部、
を備えたことを特徴とする請求項7に記載のログデータ転送システム。
A checksum calculating unit that calculates a checksum of the log packet in the log transmitting computer;
A checksum check unit for checking the calculated checksum to the log receiving computer;
The log data transfer system according to claim 7, comprising:
JP2016117646A 2016-06-14 2016-06-14 Log data transfer method and log data transfer system Active JP6673604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016117646A JP6673604B2 (en) 2016-06-14 2016-06-14 Log data transfer method and log data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016117646A JP6673604B2 (en) 2016-06-14 2016-06-14 Log data transfer method and log data transfer system

Publications (3)

Publication Number Publication Date
JP2017224919A JP2017224919A (en) 2017-12-21
JP2017224919A5 JP2017224919A5 (en) 2018-12-27
JP6673604B2 true JP6673604B2 (en) 2020-03-25

Family

ID=60688452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016117646A Active JP6673604B2 (en) 2016-06-14 2016-06-14 Log data transfer method and log data transfer system

Country Status (1)

Country Link
JP (1) JP6673604B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001086153A (en) * 1999-09-09 2001-03-30 Canon Inc Data communication equipment, data communication system, data communication method and storage medium
JP3701956B2 (en) * 2003-05-29 2005-10-05 日本電信電話株式会社 Packet relay apparatus and method thereof, packet receiver apparatus and method thereof, packet relay program and recording medium recording the program, packet receiving program and recording medium recording the program
US7904781B2 (en) * 2004-12-09 2011-03-08 Mitsubishi Electric Corporation Data transmitting device, data receiving device, and data distribution system
JP2006217530A (en) * 2005-02-07 2006-08-17 Mitsubishi Electric Corp Data transmission system, transmitting side terminal device, receiving side terminal device, data transmission program, and data reception program
JP4041137B2 (en) * 2005-07-19 2008-01-30 日本電信電話株式会社 VIDEO ENCODING / TRANSMITTING DEVICE, VIDEO ENCODING / TRANSMITTING METHOD, VIDEO ENCODING / TRANSMITTING PROGRAM, AND RECORDING MEDIUM THEREOF
JP5610709B2 (en) * 2009-06-04 2014-10-22 キヤノン株式会社 Error correction data generation device and generation method
JP2013219513A (en) * 2012-04-06 2013-10-24 Sumitomo Electric Ind Ltd Device, method and program for image data transmission
JP5728069B1 (en) * 2013-12-11 2015-06-03 日本電信電話株式会社 Forward error correction information generation device, forward error correction device, forward error correction information generation method, forward error correction method, forward error correction information generation program, and forward error correction program

Also Published As

Publication number Publication date
JP2017224919A (en) 2017-12-21

Similar Documents

Publication Publication Date Title
CN110943800B (en) Data packet sending method, device and system, storage medium and electronic device
EP2103026B1 (en) A method to support forward error correction for real-time audio and video data over internet protocol networks
US7409627B2 (en) Method for transmitting and receiving variable length packets based on forward error correction (FEC) coding
US8365034B2 (en) Forward error correction (FEC) encoding and decoding method of variable length packet based on three-dimensional storage apparatus
KR101366332B1 (en) A method of automatic repeat request(ARQ) in communication system
US8327233B2 (en) Method and device for transmitting and receiving data packets
US8261162B2 (en) Decoding device, decoding method, and media data delivery system
US10193566B2 (en) Encoding/decoding system for parallel data
WO2008049341A1 (en) Message processing method, message transmitting device and message receiving device
EP2197140A2 (en) Retransmission communication apparatus and communication method
CN106162374B (en) A kind of the intracoded frame robust transmission method and system of low complex degree
KR101118194B1 (en) Method for lost packet reconstruction and device for carrying out said method
US20130254620A1 (en) Improved error correction coding for recovering multiple packets in a group in view of limited bandwidth
JPWO2008139882A1 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6305398B2 (en) Method and apparatus for error recovery using information associated with a transmitter
Shalin et al. Multimedia data transmission through TCP/IP using hash based FEC with AUTO-XOR scheme
JP6673604B2 (en) Log data transfer method and log data transfer system
RU2450466C1 (en) Method of transmitting information over communication channels and system for realising said method
JP2006217530A (en) Data transmission system, transmitting side terminal device, receiving side terminal device, data transmission program, and data reception program
Lopes et al. Stopping a rapid tornado with a puff
US10079904B2 (en) Packet transfer system, relay device, packet transfer method, and program
JP2012161006A (en) Data transmitter and data receiver
AU2011365883B2 (en) Method and system for updating reorder depth in robust header compression
JP2004312684A (en) Large-capacity packet transmitter in wan, transmitting and receiving method thereof, and transceiving method thereof
JP2010130472A (en) Transmitting terminal, receiving terminal, and transmission system used for one-directional transmission line

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181114

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200303

R151 Written notification of patent or utility model registration

Ref document number: 6673604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250