JP6673604B2 - Log data transfer method and log data transfer system - Google Patents
Log data transfer method and log data transfer system Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 101
- 238000012546 transfer Methods 0.000 title claims description 89
- 230000005540 biological transmission Effects 0.000 claims description 71
- 238000012545 processing Methods 0.000 claims description 50
- 238000012937 correction Methods 0.000 claims description 32
- 238000010586 diagram Methods 0.000 description 26
- 238000004891 communication Methods 0.000 description 13
- 238000012790 confirmation Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 5
- 238000013480 data collection Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000011084 recovery Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
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
一方向通信装置を使用した情報伝送システムにおいては、一方向通信装置によって、送信側から受信側に、通信データが一方向にしか流れないように制御されている。このような情報伝送システムでは、データ送信時に、データの受信側からデータの送信側に対しての応答が返せないため、送達確認ができず、データの到達性が保証されない。 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から図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は、データの復元方法を説明するための図である。
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
ここで、ログ送信側計算機11は、ログデータを生成させるログデータ生成部101、生成されたログデータを収集するログデータ収集部102、ログパケット通番を生成するログパケット通番生成部103、ログデータにログパケット通番を付加してログパケットを生成するログパケット生成部104、ログパケット及びFECパケットを送信するパケット送信部105、送信されたログパケットを保存する送信済ログパケット保存部106、保存されたログパケットからFECデータを生成するFECデータ生成部107及び生成されたFECデータからFECパケットを生成するFECパケット生成部108、により構成されている。
Here, the log transmission-
また、ログ受信側計算機21は、一方向通信装置31を介してログ送信側計算機11からのパケットを受信するパケット受信部201、受信したパケットがログパケットであるかFECパケットであるかを識別する受信パケット識別部202、受信したログパケットを保存する受信済ログパケット保存部203、ログパケット通番を確認するログパケット通番確認部204、受信したログパケットからログデータを取り出すログパケット処理部205、ログデータを出力するログデータ出力部206、ログパケット通番確認部204においてログパケット通番に欠損が有った場合にログパケット通番を記録するログパケット通番欠損記録部207及び欠損したログパケット通番のログパケットを復元するログパケット復元部208、により構成されている。
The
また、一方向通信装置31は、一方向通信を実現するためのもので、ログ送信側計算機11から送信されたパケットを受信する受信装置301、ログ受信側計算機21にパケットを送信する送信装置302、受信装置301と送信装置302とを物理的に一方向に繋ぐ一方向通信路310、により構成されている。
The one-
次に、実施の形態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-
In step S101, the log
ステップS102では、ログパケット通番生成部103によって、収集されたログパケット41に対応したログパケット通番41aが生成される。ここで、ログパケット通番41aとは、例えば、1から始まる整数列のように、ログパケット通番41aが一部欠損している場合に、通番の欠損を検出することができる識別子である。
In step S102, the log packet sequence
ステップS103では、ログパケット生成部104によって、ステップS101で収集されたログデータ41bにステップS102で生成されたログパケット通番41aが付加されたログパケット41が生成される。ここで、ログパケット41とは、図3のログパケットフォーマットに示すようにログパケット通番41aとログデータ41bにより構成される通信用データのことである。
In step S103, the log
ステップS104では、パケット送信部105によって、ステップS103で生成されたログパケット41がログ受信側計算機21に送信される。
In step S104, the
ステップS105では、送信済ログパケット保存部106によって、ステップS104でログパケット41が送信された後、送信されたログパケット41が保存される。
In step S105, after the transmitted
ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数が数えられ、一定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、一定の個数M未満であった場合には、ログ送信側計算機11における送信処理は終了される。ログパケット41の個数が、一定の個数Mであった場合には、ステップS107に移行される。ここで、Mは、2以上の整数であり、例えば、適用するログデータ転送システムにおいて、連続したログデータ41bで欠損が発生する確率を想定して、その数が1個以内となる任意の数値に設定することができる。
In step S106, the number of
ステップS107では、FECデータ生成部107によって、FECデータ42bが生成される。ここで、図4に示すFECデータの生成方法の例では、保存されたM個のログパケット41のそれぞれに含まれるログデータ#1から#Mを一組として、そのすべてのログデータのXOR(排他的論理和)が演算され、FECデータ#1が生成される。
In step S107, the FEC
ステップS108では、FECパケット生成部108によって、生成されたFECデータ41bに基づいて、FECパケット42が生成される。ここで、FECパケット42とは、図5のFECパケットフォーマットに示すように、FECデータの生成元となったM個のログパケット41のログパケット通番42aとFECデータ42bとから構成される通信用データのことである。
In step S108, the FEC
続いて、ステップS109では、パケット送信部105によって、生成されたFECパケット42がログ受信側計算機21に送信される。
Subsequently, in step S109, the generated
最後に、ステップS110では、FECパケット42が送信された後、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機11における送信処理が終了される。
Finally, in step S110, after the
続いて、図6を用いて、ログ受信側計算機21での受信処理について説明する。
ステップS201では、パケット受信部201によって、ログ送信側計算機11から送信されたパケット(ログパケット41及びFECパケット42)が受信される。
Next, the receiving process in the
In step S201, the packet (the
ステップS202では、受信パケット識別部202によって、受信されたパケットがログパケット41であるか、FECパケット42であるかを識別する。受信されたパケットがログパケット41であると識別された場合には、ステップS203に移行され、受信されたパケットがFECパケット42であると識別された場合には、ステップS208にそれぞれ移行される。
In step S202, the received
ステップS203では、ステップS202で、受信されたパケットがログパケット41である場合には、受信済ログパケット保存部203によって、受信されたログパケット41が保存される。
In step S203, if the received packet is the
ステップS204では、ログパケット通番確認部204によって、受信されたログパケット41において、ログパケット通番41aの欠損の発生の有無を検出する。ログパケット通番41aの欠損が無いと確認された場合には、ステップS205に移行され、ログパケット通番41aの欠損が有ると確認された場合には、ステップS207に移行される。
In step S204, the log packet sequence
ステップ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
ステップS206では、ログデータ出力部206によって、ステップS205において、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機21における受信処理が終了される。
In step S206, the log
ステップS207では、ステップS204において、ログパケット通番41aの欠損が有る場合には、ログパケット通番欠損記録部207によって、ログパケット通番41aの欠損が記録され、ログ受信側計算機21における受信処理が終了される。
In step S207, if there is a loss of the log packet
一方、ステップ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
ステップS209では、ステップS208において、ログパケット通番42aに欠損が有る場合には、ログパケット復元部208によって、欠損したログパケット41が復元される。ここでは、ログデータ#2に欠損がある場合を例として、図7のデータの復元方法に示すように、保存済みのM個のログパケット41のそれぞれに含まれるログデータを一組として、そのすべてのログデータ#1から#Mと、FECデータ#1とのXORを演算することで、欠損したログパケット41に含まれるログデータ#2が復元される。
In step S209, if the log packet
ステップS210では、受信済ログパケット保存部203によって、復元されたログパケット41が保存される。
In step S210, the received log
ステップS211では、ログパケット通番確認部204によって、ログパケット通番42aの欠損が解消されていることが確認され、ログパケット処理部205によって、ログパケット通番42aの欠損が解消されたログパケット41からログデータ41bが取り出される。
In step S211, the log packet sequence
ステップS212では、ログデータ出力部206によって、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機21における受信処理が終了される。
In step S212, the log
なお、受信済ログパケット保存部203に保存されているログパケット41は、ログパケット通番41aの欠損が無く、かつ対応するFECパケット42が受信されている場合には削除される。ここで、FECパケット42が欠損している場合、保存済みのログパケット41の削除ができなくなるが、その場合には、予めタイムアウト値などを設定しておき、一定時間経過後に、保存済みのログパケット41が削除される。
Note that the
このように、実施の形態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の構成と同様であるので説明を省略する。
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
実施の形態1に係るログデータ転送システム1では、連続したM個のログデータから、FECデータを生成することによって、ランダム誤りによるM個のログパケットの内、1個のログパケットが欠損している場合には、ログパケットを復元することが可能であるが、バースト誤りのような連続したログパケットが欠損している場合には、ログデータを復元することができない。
In the log
これに対して、実施の形態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-
Steps S101 to S105 and step S110 are the same as the operations of the
ステップ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
ステップ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
ステップS303では、FECパケット生成部108によって、生成されたN個のFECデータ42bに基づいて、N個のFECパケット42が生成される。
In step S303, the
続いて、ステップS304では、パケット送信部105によって、生成されたN個のFECパケット42がログ受信側計算機21に送信される。
Subsequently, in step S304, the
最後に、ステップS110では、FECパケット42が送信された後、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機11における送信処理が終了される。
Finally, in step S110, after the
なお、ログ受信側計算機21の動作については、実施の形態1と同様であるので説明を省略する。
Note that the operation of the
このように、実施の形態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が追加されたものである。
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
実施の形態1に係るログデータ転送システム1では、連続したM個のログデータから、FECデータを生成することによって、ランダム誤りによるM個のログパケットの内、1個のログパケットが欠損した場合には、ログパケットを復元することが可能であるが、FECパケットを生成するためには、M個のログパケットが必要となり、断続的に生成されるログデータの場合には、リアルタイムにFECパケットを生成することができない。
In the log
これに対して、実施の形態3に係るログデータ転送システム2においては、所定の時間経過後においても、M個のログパケットが揃わなかった場合には、ダミーパケットを追加して、M個のログパケットとなるようにしてFECパケットを生成することによって、リアルタイムにFECパケットを生成できるようになるため、ログデータの転送のリアルタイム性を向上させることができる。
On the other hand, in the log
なお、ログパケットフォーマット、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
Except that steps S401 to S404 are added, steps S101 to S110 are the same as the operations of the log
ステップS401では、送信済ログパケット保存部106に保存されているログパケット41の個数が1個であった場合には、時間計測部401によって、その時刻が取得され、記録される。すなわち、最初のログパケット41が送信された時刻が記録される。
In step S401, when the number of the
ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数を数え、所定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、所定の個数Mであった場合には、ステップS107に移行され、実施の形態1の場合と同様の処理を行う。ログパケット41の個数が、所定の個数M未満であった場合には、ステップS402に移行される。
In step S106, the number of
ステップS402では、時間計測部401によって、記録された時刻から、所定の時間が経過しているかどうかが判定される。所定の時間に満たない場合には、ログ送信側計算機12における送信処理が終了される。また、所定の時間が経過している場合には、ステップS403に移行される。ここで、所定の時間とは、例えば、通常の処理においてM個のログパケットを生成し、送信することができる時間とすればよい。
In step S402, the
ステップS403では、送信側ダミーパケット生成部402によって、(M−(保存済のログパケット41の個数))個の送信側ダミーパケット44が生成される。ここで、送信側ダミーパケット44は、図12のダミーパケットフォーマットに示すように、ダミーパケット通番44aとダミーデータ44bにより構成されている。
In step S403, the transmission-side dummy
ステップS404では、送信側ダミーパケット44が生成された後、保存済のログパケット41と生成された送信側ダミーパケット44のダミーデータ44bに基づいて、FECデータ生成部107によって、FECデータ42bが生成される。その後、ステップS108に移行される。
In step S404, after the transmission-
ステップS108では、FECパケット生成部108によって、FECデータ42bからFECパケット42が生成される。ここで、FECパケット42には、FECデータの生成元となったログパケット通番42aとダミーパケット通番44a、及びFECデータ42bが含まれている。
In step S108, the FEC
その後、実施の形態1と同様に、ステップS109で、パケット送信部105によって、FECパケット42が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機12における送信処理が終了される。
After that, as in the first embodiment, the
続いて、図13を用いて、ログ受信側計算機22での受信処理について説明する。
ステップS411からステップS413が追加されている点を除いて、ステップS201からステップS207、及びステップS210からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the
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
ステップS411では、ステップS202において、受信されたパケットがFECパケット42であると識別された場合には、ログパケット復元部208によって、受信されたFECパケット42に記録されているM個のログパケット通番42aのいずれかが、欠損しているかどうかが確認される。ログパケット通番42aに欠損が無いことが確認された場合には、ログ受信側計算機21における受信処理が終了される。ログパケット通番42aに欠損が有ることが確認された場合には、ステップS412に移行される。
In step S411, if the received packet is identified as the
ステップS412では、ステップS411において、ログパケット41の欠損が有ると確認されたので、受信側ダミーパケット生成部403にて、受信側ダミーパケット44を生成する。この時、FECパケット42に含まれるダミーパケット通番44aを元に、送信側ダミーパケット生成部402で生成されたデータと同一の受信側ダミーデータ44bを生成する。
In step S412, since it is confirmed in step S411 that the
ステップS413では、ログパケット通番42aに欠損が有る場合には、ログパケット復元部208によって、受信側ダミーデータ44b及びログデータ41bから欠損したログパケット41が復元される。データの復元方法は、実施の形態1の図7で説明したデータの復元方法と同様であるので説明を省略する。
In step S413, when there is a loss in the log packet
以下、ステップ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
このように、実施の形態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
実施の形態3に係るログデータ転送システム2では、所定の時間経過後にダミーパケットを使用して、FECパケットを生成することで、ログ転送時のリアルタイム性が向上した。しかし、この時、FECデータ生成時及びログパケット復元時に、ダミーパケットを含めたM個のXORを演算する必要があり、ダミーパケットの分だけ、不要な演算が実行されることになる。
In the log
これに対して、実施の形態4に係るログデータ転送システム3においては、所定の時間経過後も、M個のログパケットが揃わなかった場合には、現在保存されているログパケットの個数Mに応じてFECデータが生成される。すなわち、実施の形態1から実施の形態3では、個数Mは固定値であったが、実施の形態4では、個数Mが可変値となる。これにより、実施の形態3のようにダミーデータの生成処理が不要となるため、FECデータ生成時及びログパケット復元時の演算処理負荷を軽減させ、処理速度を向上させることができる。
On the other hand, in the log
なお、ログパケットフォーマット及びログデータの復元方法については、実施の形態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
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
ステップS401では、送信済ログパケット保存部106に保存されているログパケット41の個数が1個であった場合には、時間計測部401によって、その時刻が取得され、記録される。すなわち、最初のログパケット41が送信された時刻が記録される。
In step S401, when the number of the
ステップS106では、送信済ログパケット保存部106に保存されているログパケット41の個数を数え、所定の個数(例えば、ここでは、M個とする。)であるかどうかが判定される。ログパケット41の個数が、M個であった場合には、ステップS107に移行され、実施の形態1の場合と同様の処理を行う。ログパケット41の個数が、所定の個数M未満であった場合には、ステップS402に移行される。
In step S106, the number of
ステップS402では、時間計測部401によって、記録された時刻から、所定の時間が経過しているかどうかが判定される。所定の時間に満たない場合には、ログ送信側計算機13における送信処理が終了される。また、所定の時間が経過している場合には、ステップS501に移行される。ここで、所定の時間とは、例えば、通常の処理においてM個(固定)のログパケットを生成し、送信することができる時間とすればよい。
In step S402, the
ステップS501では、FECデータ生成部501によって、FECデータが生成される。ここで、図4に示すFECデータの生成方法の例では、保存されたM個のログパケット41のそれぞれに含まれるログデータ#1から#Mを一組として、そのすべてのログデータのXOR(排他的論理和)が演算され、FECデータ#1が生成される。ただし、ステップS402において、所定の時間が経過している場合には、保存されているログデータの個数M(可変値)でFECデータが生成される。
In step S501, the FEC
ステップS502では、FECデータ生成部501によって、生成されたFECデータに基づいて、FECパケット45が生成される。ここで生成されるFECパケット45は、図16のFECパケットフォーマットに示すように、FECデータの生成元となったログパケットの個数45n、ログパケット通番45a及びFECデータ45bにより構成されている。
In step S502, the
その後、実施の形態1と同様に、ステップS109で、パケット送信部105によって、FECパケット45が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット41が削除される。これにより、ログ送信側計算機13における送信処理が終了される。
Thereafter, as in the first embodiment, the
続いて、図17を用いて、ログ受信側計算機23での受信処理について説明する。
ステップS209がステップS503に置き換えられている点を除いて、ステップS201からステップS208、及びステップS210からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the
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
ステップ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
ステップ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
以下、ステップS210からステップS212では、実施の形態1と同様、受信済ログパケット保存部203によって、復元されたログパケット41が保存され、ログパケット通番確認部204によって、ログパケット通番45aの欠損が解消されていることが確認され、ログパケット処理部205によって、ログパケット通番の欠損が解消されたログパケット41からログデータが取り出され、出力される。これにより、ログ受信側計算機23における受信処理が終了される。
Hereinafter, in steps S210 to S212, as in the first embodiment, the received log
このように、実施の形態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
実施の形態1に係るログデータ転送システム1では、ログデータが長くなった場合においても、ログデータを分割する処理は実行されていない。しかし、ログデータが長い場合には、ネットワークの下位層で、パケット分割され、ログ受信側計算機の負荷が大きくなる可能性がある。
In the log
例えば、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-
Except for the point that step S601 is added, steps S101 to S110 are the same as the operations of the
ステップS101では、ログデータ収集部102によって、ログデータ生成部101で生成されたログデータ41bが収集される。
In step S101, the log
ステップS601では、収集されたログデータの長さが、決められた長さより長かった場合には、ログデータ分割部601にて、ログデータ41bが分割される。ここで、分割されるログデータの長さは、使用するネットワークのMTU以下に設定する。
In step S601, if the length of the collected log data is longer than the determined length, the log
ステップS102では、ログパケット通番生成部103によって、分割されたログデータ46bに対応したログパケット通番46aが生成される。
In step S102, the log packet sequence
ステップS103では、ログパケット生成部104によって、ログデータ分割部601で分割されたログデータ46bにログパケット通番46aが付加されたログパケット46が生成される。ここで生成されるログパケット46は、図20のログパケットフォーマットに示すように、ログパケット通番46a、分割パケット識別子46f及び分割されたログデータ46bで構成されている。
In step S103, the log
その後、実施の形態1と同様に、ステップS104、ステップS109において、パケット送信部105によって、ログパケット46及びFECパケット42が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット46が削除される。これにより、ログ送信側計算機14における送信処理が終了される。
Thereafter, as in the first embodiment, the
続いて、図21を用いて、ログ受信側計算機24での受信処理について説明する。
ステップS602及びステップS603が追加されている点を除いて、ステップS201からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the
Except that steps S602 and S603 are added, steps S201 to S212 are the same as the operations of the
ステップ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
ステップS602では、ログパケット処理部205によって、取り出されたログデータを分割パケット識別子46fに基づいて、ログデータ結合部602によりログデータが結合される。
In step S602, the log data is combined by the log
同様に、ログパケット通番46aに欠損が有る場合には、ログパケット復元部208によって、欠損したログパケット46が復元され、さらに、ステップS603で、ログパケット処理部205によって、取り出されたログデータを分割パケット識別子46fに基づいて、ログデータ結合部602によりログデータ46bが結合される。
Similarly, if there is a loss in the log packet
ステップS206、ステップS212では、ログデータ出力部206によって、取り出されたログデータ41bが出力される。これにより、ログ受信側計算機24における受信処理が終了される。
In steps S206 and S212, the log
このように、実施の形態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
実施の形態1に係るログデータ転送システム1では、ログパケット及びFECパケットの送信時にチェックサムの演算は実行されていない。しかし、チェックサムの演算を行っていない場合には、ネットワークの下位層において、ログデータの内容が化けてしまう可能性がある。
In the log
例えば、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
Except for the point that step S701 is added, steps S101 to S110 are the same as the operations of the log transmission-
ステップS701では、ログパケット生成部104によって、生成されたログパケット41のチェックサムの演算が実行され、チェックサム47sがログパケット41に付加される。これにより、ログパケット47は、図24に示すように、チェックサム47s、ログパケット通番47a及びログデータ47bにより構成されたものとなる。
In step S701, the log
ステップS702では、FECパケット生成部108によって生成されたFECパケット42のチェックサムの演算が実行され、チェックサム48sがFECパケット42に付加される。これにより、FECパケット48は、図25に示すように、チェックサム48s、ログパケット通番48a及びログデータ48bにより構成されたものとなる。
In step S702, the checksum of the
その後、実施の形態1と同様に、ステップS104、ステップS109において、パケット送信部105によって、ログパケット47及びFECパケット48が送信され、ステップS110で、送信済ログパケット保存部106において保存されているログパケット47が削除される。これにより、ログ送信側計算機15における送信処理が終了される。
Thereafter, as in the first embodiment, the
続いて、図26を用いて、ログ受信側計算機25での受信処理について説明する。
ステップS703が追加されている点を除いて、ステップS201からステップS212は、実施の形態1の図6のログ受信側計算機21の動作と同様であるので説明を省略する。
Next, the receiving process in the
Except that step S703 is added, steps S201 to S212 are the same as the operations of the
ステップS703では、パケット受信部201によって受信されたログパケット47及びFECパケット48のチェックサムの確認が行われ、チェックサム48sが正しいと判断された場合には、ステップS202移行され、実施の形態1と同様に、以降のステップが実行される。チェックサム48sが誤っている判断された場合には、ログパケット47が破棄され、ログ受信側計算機25における受信処理が終了される。
In step S703, the checksum of the
このように、実施の形態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を可変値にしたことを特徴とする請求項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.
連続した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個の前記ログパケットが揃わなかった場合に、前記ログパケットに前記送信側ダミーパケットを追加し、
前記ログ受信側計算機において、受信された前記ログデータに前記受信側ダミーパケットを追加することを特徴とする請求項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:
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)
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 |
-
2016
- 2016-06-14 JP JP2016117646A patent/JP6673604B2/en active Active
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 |