JP2017146659A - Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program - Google Patents
Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program Download PDFInfo
- Publication number
- JP2017146659A JP2017146659A JP2016025923A JP2016025923A JP2017146659A JP 2017146659 A JP2017146659 A JP 2017146659A JP 2016025923 A JP2016025923 A JP 2016025923A JP 2016025923 A JP2016025923 A JP 2016025923A JP 2017146659 A JP2017146659 A JP 2017146659A
- Authority
- JP
- Japan
- Prior art keywords
- data
- difference
- unit
- transmission
- receiving
- 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、差分データを送受信する技術に関する。 The present invention relates to a technique for transmitting / receiving differential data.
従来の差分データ通信方式である特許文献1の方式は、データの圧縮・復元を行う処理部を備え、類似するデータパターンを繰り返し通信する場合に、今回送信するデータ領域を前のデータ領域と比較して値が変化したデータのみを送信することで通信量を削減している。より具体的には、特許文献1の方式では、通信するデータ領域全体の先頭からのオフセット(データ位置)と変化したデータの値を組にして送信データを作成し、この送信データを送信することによって通信量を削減している。
The conventional differential data communication method of
また、別の従来の差分データ通信方式である特許文献2の方式では、時系列観測データに対して直前のデータとの差分を取って差分化する差分化手段を備える。そして、特許文献2の方式では、差分化データの値及び並びに応じて差分化データを分類し、差分化データを特定のビットパターンで置換することにより、プロセスの監視のための時系列観測データの特徴に合ったデータ圧縮を行う。
Further, in the method of
従来の差分データ通信方式は、送信側と受信側で保持しているデータのデータ形式が異なる場合に受信側でデータの更新ができない、という課題がある。
つまり、送信側で送信側のデータの差分を取り、差分を通知する差分データを受信側に送信しても、受信側のデータのデータ形式が異なるため、差分データに基づいて受信側のデータを更新することができないという課題がある。
The conventional differential data communication method has a problem that data cannot be updated on the receiving side when the data format of the data held on the transmitting side and the receiving side is different.
In other words, even if the transmission side takes the difference of the data on the transmission side and the difference data for notifying the difference is transmitted to the reception side, the data format of the reception side data is different. There is a problem that it cannot be updated.
本発明は、このような課題を解決することを主な目的としており、送信側のデータのデータ形式と受信側のデータのデータ形式が異なる場合でも、受信側でデータの更新ができるようにすることを主な目的とする。 The main object of the present invention is to solve such a problem, and it is possible to update data on the receiving side even when the data format of the data on the transmitting side is different from the data format of the data on the receiving side. The main purpose.
本発明に係るデータ送信装置は、
CDR(Common Data Representation)データから構造体データへの変換が可能なデータ受信装置が保持している構造体データに対する差分データをCDRデータで生成する差分データ生成部と、
前記差分データ生成部により生成された前記差分データを前記データ受信装置に送信する通信部とを有する。
A data transmission apparatus according to the present invention is as follows.
A differential data generation unit that generates, as CDR data, differential data for structure data held by a data receiving apparatus capable of converting from CDR (Common Data Representation) data to structure data;
A communication unit that transmits the difference data generated by the difference data generation unit to the data receiving device.
本発明によれば、CDRデータである差分データを送信するため、データ受信装置は差分データを用いてデータを更新することができる。 According to the present invention, since the difference data that is the CDR data is transmitted, the data receiving apparatus can update the data using the difference data.
実施の形態1.
***構成の説明***
図1は、本実施の形態に係る通信システムの構成例を示す。
図1に示すように、送信側計算機7と受信側計算機8がネットワーク9で接続されている。
送信側計算機7は差分データを送信し、受信側計算機8は送信側計算機7から送信された差分データを受信し、データを更新する。
送信側計算機7はデータ送信装置の例に相当し、受信側計算機8はデータ受信装置の例に相当する。
ネットワーク9は、送信側計算機7と受信側計算機8を接続する通信路であり、例えば、Ethernet(登録商標)である。
送信側計算機7は、機能構成として、送信データ変換部1、差分データ生成部2、送信データ保持部3、制御部12、通信部13、記憶部14を有する。また、受信側計算機8は、機能構成として、受信データ保持部4、データ受信部5、受信データ変換部6、制御部12、通信部13、記憶部14を有する。
各構成要素の詳細は後述する。
*** Explanation of configuration ***
FIG. 1 shows a configuration example of a communication system according to the present embodiment.
As shown in FIG. 1, a
The
The
The
The
Details of each component will be described later.
図38は、送信側計算機7及び受信側計算機8のハードウェア構成例を示す。
送信側計算機7及び受信側計算機8は、ともに、ハードウェアとしてプロセッサ、記憶装置及び通信装置を備える。
送信側計算機7の記憶装置には、図1に示す送信データ変換部1、差分データ生成部2、送信データ保持部3及び制御部12の機能を実現するプログラムが記憶されている。
そして、送信側計算機7のプロセッサがこれらのプログラムを実行して、送信データ変換部1、差分データ生成部2、送信データ保持部3及び制御部12の動作を行う。
図38では、プロセッサが、送信データ変換部1、差分データ生成部2、送信データ保持部3及び制御部12の機能を実現するプログラムを実行している状態を模式的に表している。
また、受信側計算機8の記憶装置には、図1に示す受信データ保持部4、データ受信部5、受信データ変換部6、制御部12の機能を実現するプログラムが記憶されている。
そして、受信側計算機8のプロセッサがこれらのプログラムを実行して、受信データ保持部4、データ受信部5、受信データ変換部6、制御部12の動作を行う。
図38では、プロセッサが、受信データ保持部4、データ受信部5、受信データ変換部6、制御部12の機能を実現するプログラムを実行している状態を模式的に表している。
プロセッサは、CPU(Central Processing Unit)、DSP(Digital Signal Processor)等である。
記憶装置は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)等である。
通信装置は、通信チップ又はNIC(Network Interface Card)である。
また、図1の記憶部14は記憶装置により実現され、通信装置13は通信装置により実現される。
FIG. 38 shows a hardware configuration example of the
Both the
A program for realizing the functions of the transmission
Then, the processor of the
FIG. 38 schematically illustrates a state in which the processor is executing a program that realizes the functions of the transmission
Further, the storage device of the receiving
Then, the processor of the
FIG. 38 schematically illustrates a state in which the processor is executing a program that implements the functions of the reception
The processor is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or the like.
The storage device is a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an HDD (Hard Disk Drive), or the like.
The communication device is a communication chip or a NIC (Network Interface Card).
1 is realized by a storage device, and the
次に、図1に示す送信側計算機7の構成要素を説明する。
Next, components of the
送信データ変換部1は、構造体データをCDR(Common Data Representation)データに変換する。更に、送信データ変換部1は、変換後のCDRデータを送信バッファに格納する。
The transmission
送信データ保持部3は、送信データ変換部1が作成し、受信側計算機8に送信済のCDRデータ(以下、送信済データという)を保持する。送信データ保持部3は、差分データ生成部2が差分データを作成する際に、送信済データを差分データ生成部2に渡す。本実施の形態では、送信データ保持部3は、直近に送信した送信済データをただ1つ保持している。
なお、送信データ保持部3で保持されている送信済データは、差分データが送信されたCDRデータである。後述するように、送信側計算機7は、最新のCDRデータと前回のCDRデータとの差分を抽出し、抽出した差分を通知する差分データを受信側計算機8に送信しており、最新のCDRデータそのものは送信しない。送信データ保持部3では、差分データが送信された最新のCDRデータが送信済データとして保持される。
後述するように、受信側計算機8は受信データ保持部4において受信済の構造体データ(以下、受信済データという)を保持している。受信済データは、構造体データとCDRデータというデータ形式の違いはあるものの、送信済データと同じデータである(同じ値である)。
The transmission
Note that the transmitted data held in the transmission
As will be described later, the reception-
差分データ生成部2は、送信データ保持部3が持つ送信済データと、送信対象の最新のCDRデータとの差分を求める。そして、差分データ生成部2は、求めた差分を通知する差分データを通信部13及びネットワーク9を経由して受信側計算機8のデータ受信部4に送信する。
前述したように、受信データ保持部4で保持されている受信済データと送信データ保持部3で保持されている送信済データは同じデータであるため、この差分データは、受信済データに対する差分データでもある。
受信側計算機8は、CDRデータから構造体データへの変換が可能である。このため、差分データ生成部2は、差分データをCDRデータで生成しても、受信側計算機8は構造体データを更新することができる。
なお、差分データ生成部2の動作は差分データ生成ステップに相当する。
The difference
As described above, since the received data held by the received
The receiving
The operation of the difference
送信側計算機7の制御部12は、送信側計算機7の全体の制御を行う。具体的には、制御部12は、送信データ変換部1、差分データ生成部2、送信データ保持部3、通信部13及び記憶部14を御する。
The
送信側計算機7の通信部13は、差分データ生成部2により生成された差分データをネットワーク9を介して受信側計算機8に送信する。
送信側計算機7の通信部13の動作は送信ステップに相当する。
The
The operation of the
送信側計算機7の記憶部14は、送信側計算機7で用いられる各種データを記憶する。具体的には、送信側計算機7の記憶部14は、送信データ変換部1の演算に用いられる値、送信データ変換部1の演算結果を記憶する。また、送信側計算機7の記憶部14は、差分データ生成部2の演算に用いられる値、差分データ生成部2の演算結果を記憶する。また、送信側計算機7の記憶部14は、送信バッファとしても機能する。
The
次に、受信側計算機8の構成要素を説明する。
Next, components of the receiving
受信データ保持部4は、受信済データを保持する。本実施の形態では、受信データ保持部4は、直近の受信済データをただ1つ保持している。
受信済データは、差分データから復元された構造体データである。
The received
The received data is structure data restored from the difference data.
データ受信部5は、通信部13を介して差分情報データ群を受信すると、差分情報データ群と受信済データから、最新のデータを再構成するために必要な2つのデータを作成する。
When the
受信データ変換部6は、データ受信部5が作成した2つのデータと受信データ保持部4が持つ受信済データを用いて、送信データ変換部1がCDR変換する前のデータに復元する。
データ受信部5及び受信データ変換部6は、協働により、通信部13により受信された差分データを用いて構造体データを更新しており、データ更新部の例に相当する。また、データ受信部5及び受信データ変換部6の動作はデータ更新ステップに相当する。
The reception
The
受信側計算機8の制御部12は、受信側計算機8の全体の制御を行う。具体的には、制御部12は、受信データ保持部4、データ受信部5、受信データ変換部6、通信部13及び記憶部14を制御する。
The
受信側計算機8の通信部13は、ネットワーク9から差分データを受信する。
受信側計算機8の通信部13の動作は受信ステップに相当する。
The
The operation of the
受信側計算機8の記憶部14は、受信側計算機8で用いられる各種データを記憶する。具体的には、受信側計算機8の記憶部14は、データ受信部5の演算に用いられる値、データ受信部5の演算結果を記憶する。また、受信側計算機8の記憶部14は、受信データ変換部6の演算に用いられる値、受信データ変換部6の演算結果を記憶する。また、受信側計算機8の記憶部14は、リセットデータ用バッファ及び代入データ用バッファとしても機能する。
The
本実施の形態では、送信側計算機7において最新の構造体データをCDRデータに変換し、CDRデータにおける差分を通知する差分データをCDRデータで生成し、受信側計算機8において差分データを用いて、最新の構造体データを復元する。
送信側計算機7の構造体データと受信側計算機8の構造体データでバージョンが異なっている場合は、送信側計算機7において構造体データで差分を取って、受信側計算機8に構造体データでの差分を通知しても、バージョン違いにより、受信側計算機8でデータを更新することができない。本実施の形態では、このような事情に鑑みて、送信側計算機7で構造体データをCDRデータに変換し、CDRデータにて差分を受信側計算機8に通知している。
In the present embodiment, the transmitting
If the structure data of the
***動作の説明***
次に、本実施の形態に係る通信システムおける動作を、例を用いて説明する。
図2は、送信側計算機7でCDR変換される前の構造体データの形式を示す。
本実施の形態では、送信側計算機7の送信データ変換部1は、図3に示す送信対象の構造体データをCDRデータに変換するものとする。
図4は、送信データ変換部1による変換により得られた、送信対象のCDRデータを示す。
図5(a)は、送信データ保持部3で保持されている送信済データ(CDRデータ)を示す。図5(b)は、受信データ保持部4で保持されている送信済データを示す。図5(a)の送信済データと、図5(b)の受信済データは、データ形式が異なるが、データ値は同じである。
*** Explanation of operation ***
Next, the operation of the communication system according to the present embodiment will be described using an example.
FIG. 2 shows the format of the structure data before CDR conversion by the
In this embodiment, it is assumed that the transmission
FIG. 4 shows the CDR data to be transmitted obtained by the conversion by the transmission
FIG. 5A shows transmitted data (CDR data) held in the transmission
送信データ変換部1は、図1に不図示のデータソースから、図3に示す送信対象の構造体データを取得すると、CDR変換を行って、図4のCDRデータを送信バッファに配置する。
差分データ生成部2は、図5に示す送信済データを送信データ保持部3から取得し、また、図4に示す送信対象データを送信バッファから取得する。そして、差分データ生成部2は、送信済データと送信対象データを1バイトずつ比較する。
図5と図4の例では、4バイト目の値が0x01から0x02に変わり、5バイト目の値が0x61(文字‘a’のアスキーコード)から0x62(文字‘b’のアスキーコード)に変わっていることがわかる。
差分データ生成部2は、この情報を伝えるための4バイトデータを、異なる1バイトデータが存在するたびに作成する。
以降、この4バイトデータを「差分情報データ」と呼び、差分情報データを組み合わせたものを「差分情報データ群」と呼ぶ。差分情報データ群は、送信対象データと送信済データとの差分を通知する差分データである。換言すると、差分情報データは、受信データ保持部4で保持されている構造データにおける更新位置と更新値とを通知する。
4バイトの差分情報データのうち先頭2バイトに、異なる1バイトデータが位置する先頭アドレスからのオフセットを格納し、1バイト空けて、最後の1バイトに、新規に送信する値を格納する。
本例の場合、差分データ生成部は、4バイト目の値が異なることを示す差分情報データとして、0x00、0x04、0x00、0x02を作成し、5バイト目の値が異なることを示す差分情報データとして、0x00、0x05、0x00、0x62を作成する。
図6は、差分データ生成部2が作成した差分情報データ群を示す。
その後、差分データ生成部2は、通信部13及びネットワーク9を介して、差分情報データ群を受信側計算機8に送信する。
When the
The difference
In the example of FIGS. 5 and 4, the value of the fourth byte is changed from 0x01 to 0x02, and the value of the fifth byte is changed from 0x61 (character “a” ASCII code) to 0x62 (character “b” ASCII code). You can see that
The difference
Hereinafter, this 4-byte data is called “difference information data”, and a combination of the difference information data is called a “difference information data group”. The difference information data group is difference data for notifying the difference between the transmission target data and the transmitted data. In other words, the difference information data notifies the update position and the update value in the structure data held by the reception
The offset from the head address where different 1-byte data is located is stored in the first 2 bytes of the 4-byte difference information data, and a value to be newly transmitted is stored in the last 1 byte after 1 byte.
In the case of this example, the difference data generation unit creates 0x00, 0x04, 0x00, and 0x02 as difference information data indicating that the value of the fourth byte is different, and difference information data indicating that the value of the fifth byte is different Are created as 0x00, 0x05, 0x00, and 0x62.
FIG. 6 shows a difference information data group created by the difference
Thereafter, the difference
送信側計算機7での一連の動作を示した概念図が図7である。
FIG. 7 is a conceptual diagram showing a series of operations in the
受信側計算機8では、通信部13を介してデータ受信部5が差分情報データ群を受信する。
データ受信部5は、差分情報データ群を受信すると、図3の構造体データに復元するために、2つのバッファを用意する。
この2つのバッファを、リセットデータ用バッファ、代入データ用バッファという。
データ受信部5は、まず、リセットデータ用バッファの全てのバイトのデータを0xffとし、次に、差分情報データ群のデータを、差分情報データを単位として読み出す。
本例では、まず、最初の差分情報データの先頭2バイトが0x00、0x04であることから、データ受信部5は、リセットデータ用バッファの4バイト目のデータを0x00とする。同様に、2つ目の差分情報データの先頭2バイトのデータが0x00、0x05であることから、リセットデータ用バッファの5バイト目のデータを0x00とする。本操作後のリセットデータ用バッファの状態は図8のようになる。
次に、データ受信部5は、代入データ用バッファの全てのバイトのデータを0x00とし、次に差分情報データ群のデータを、差分情報データを単位として読み出す。本例では、まず、最初の差分情報データの先頭2バイトが0x00、0x04、4バイト目が0x02であることから、データ受信部5は、代入データ用バッファの4バイト目のデータを0x02とする。同様に、2つ目の差分情報データの先頭2バイトのデータが0x00、0x05、4バイト目のデータ0x62であることから、リセットデータ用バッファの5バイト目のデータを0x62とする。本操作後の代入データ用バッファの状態は図9のようになる。
そして、データ受信部5は、リセットデータ用バッファ、代入データ用バッファを受信データ変換部6に渡す。
In the receiving
When receiving the difference information data group, the
These two buffers are called a reset data buffer and an assignment data buffer.
The
In this example, since the first two bytes of the first difference information data are 0x00 and 0x04, the
Next, the
Then, the
受信データ変換部6は、この2つのバッファを受け取ると、図2に示す構造体のデータとしてデータを復元する。図8に示すリセットデータ用バッファを図2の構造体に復元すると、図10のデータとなる。本データをリセット用データと呼ぶ。また、図9に示す代入データ用バッファを図2の構造体に復元すると、図11のデータとなる。本データを代入用データと呼ぶ。
受信データ変換部6は、受信データ保持部4が保持する受信済データを取得し、受信済データとリセット用データとの間で、各構造体のメンバを単位としてAND演算を行う。AND演算の結果得られたデータが図12となる。更に、受信データ変換部6は、図12のデータと図11のデータとの間で、各構造体のメンバを単位としてOR演算を行う。その結果得られたデータが図13となり、このデータは送信側計算機7が送信しようとしていたデータ(図3)に一致する。
このように、受信データ変換部6は、差分情報データ群で通知された更新位置と更新値とを用いて、受信データ保持部4で保持されている構造体データを更新する。
When receiving the two buffers, the reception
The received
As described above, the reception
受信側計算機8での一連の動作を示した概念図が図14、図15である。
図14では、データ受信部5がリセットデータ用バッファ、代入用バッファにデータを格納し、リセット用データ、代入用データを作成する処理を示している。一方、図15は、リセット用データと代入用データを使用して送信側計算機7からのデータ(図3)を復元する処理を示している。
14 and 15 are conceptual diagrams showing a series of operations in the reception-
FIG. 14 shows a process in which the
次に、本実施の形態における、送信側計算機7での動作例を図32のフローチャートで説明する。
図32に示す動作手順がデータ送信方法及びデータ送信プログラムの例に相当する。
Next, an operation example of the
The operation procedure shown in FIG. 32 corresponds to an example of a data transmission method and a data transmission program.
ステップS1で、送信データ変換部1は、送信データをCDR変換し、CDRデータを差分データ生成部2に渡す。
ステップS2で、差分データ生成部2は、送信データ保持部3が持つ、送信済データを取得する。
ステップS4で、差分データ生成部2は、CDR変換後のデータと、送信データ保持部3から受け取った送信済データを、先頭からの同一オフセットの1バイトデータを比較する。
値が異なった場合、ステップS6で、差分データ生成部2は、差分情報データを作成し、差分情報データ群に追加する。差分データ生成部2は、ステップS4からステップS6の処理を、CDR変換後の全てのデータについて行う。全てのデータについて行った後、ステップS7に進む。
ステップS7では、差分データ生成部2は、差分情報データ群を通信部13を介してデータ受信部5に送る。
In step S <b> 1, the transmission
In step S <b> 2, the difference
In step S4, the difference
If the values are different, the difference
In step S <b> 7, the difference
次に、本実施の形態における、ステップS7で差分データ生成部2がデータ受信部5にデータを送信した後の受信側計算機8における動作を、図33のフローチャートで説明する。
図33に示す動作手順がデータ受信方法及びデータ受信プログラムの例に相当する。
Next, the operation of the
The operation procedure shown in FIG. 33 corresponds to an example of a data reception method and a data reception program.
ステップS8で、データ受信部5は差分データ生成部2からの差分情報データ群を待ち、差分情報データ群を受け取ると、ステップS9で、データ受信部5は、代入データ用バッファを用意し、代入データ用バッファの全データを0x00とする。
ステップS11で、データ受信部5は、差分情報データ群から差分情報データを読み出し、差分情報データに書かれているオフセットの1バイトの値を、差分情報データの値とする。これを、差分情報データ群にある全ての差分情報データについて行う。
ステップS12で、データ受信部5は、リセットデータ用バッファを用意し、リセットデータ用バッファの全データを0xffとする。
ステップS14で、データ受信部5は、差分情報データ群から差分情報データを読み出し、差分情報データに書かれているオフセットの1バイトの値を0とする。これを、差分情報データ群にある全ての差分情報データについて行う。
ステップS15で、データ受信部5は、受信データ変換部6に、代入データ用バッファ、リセットデータ用バッファを渡す。
ステップS16で、受信データ変換部6は、代入データ用バッファ、受信データ用バッファからそれぞれ代入用データ、リセット用データを作成する。
ステップS17で、受信データ変換部6は、受信データ保持部4から、受信済データを取得し、構造体の各メンバについて、リセット用データと受信済データとのAND演算、AND演算結果と代入用データとのOR演算を行い、送信データを復元する。
In step S8, the
In step S11, the
In step S12, the
In step S14, the
In step S <b> 15, the
In step S16, the
In step S <b> 17, the received
***実施の形態の効果の説明***
以上のように、本実施の形態では、送信側計算機がCDR変換済のデータを持ち、受信側計算機が構造体データを保持している場合において、全ての構造体データを送ると16バイトのデータ送信が必要であるが、差分データを送る場合には8バイトで済むことから、受信側計算機において、より少ないデータで送信データを復元、取得することができる。
また、送信側、受信側で保持しているデータフォーマットが異なっていても、保持しているデータを変更することなく送信データの値に復元することができる。
*** Explanation of the effect of the embodiment ***
As described above, in this embodiment, when the sending computer has CDR-converted data and the receiving computer holds structure data, if all structure data is sent, 16-byte data Although transmission is necessary, when the difference data is transmitted, only 8 bytes are required. Therefore, the reception side computer can restore and acquire the transmission data with less data.
Further, even if the data formats held on the transmission side and the reception side are different, it is possible to restore the values of the transmission data without changing the held data.
実施の形態2.
実施の形態1では、送信データ保持部、受信データ保持部でそれぞれ1つのデータのみを保持している場合において差分データを作成する例を説明した。
本実施の形態では、送信データ保持部、受信データ保持部がそれぞれ複数のデータを保持している場合において、差分データを作成する例を説明する。
なお、本実施の形態では、送信データ保持部と受信データ保持部が同一データを複数保持していることを前提とする。
以下では、主に実施の形態1との差異を説明する。以下で説明していない事項は実施の形態1と同じである。
In the first embodiment, an example has been described in which difference data is created when only one data is held in each of the transmission data holding unit and the reception data holding unit.
In the present embodiment, an example will be described in which difference data is created when a transmission data holding unit and a reception data holding unit each hold a plurality of data.
In the present embodiment, it is assumed that the transmission data holding unit and the reception data holding unit hold a plurality of the same data.
Hereinafter, differences from the first embodiment will be mainly described. Matters not described below are the same as those in the first embodiment.
***構成の説明***
本実施の形態に係る通信システムの構成例は、図1に示す通りである。また、送信側計算機7の機能構成例及び受信側計算機8の機能構成例も図1に示す通りある。更に、送信側計算機7のハードウェア構成例及び受信側計算機8のハードウェア構成例も図38に示す通りである。
本実施の形態では、送信データ保持部3が保持するデータには、データを一意に判別するためのシーケンス番号が付与されているものとする。
本実施の形態において、送信データ保持部3が保持するデータの形式を図16に示す。図中、上段の四角い枠で囲まれたデータ0x00、0x00、0x00、0x09は当該データのシーケンス番号を示したものであり、本例のデータは9番目のデータを意味しているものとする。図中、下段の四角い枠で囲まれたデータは、元の構造体データをCDR変換したものである。
*** Explanation of configuration ***
A configuration example of a communication system according to the present embodiment is as shown in FIG. Also, an example of the functional configuration of the
In the present embodiment, it is assumed that a sequence number for uniquely determining data is given to data held by the transmission
FIG. 16 shows the format of data held by the transmission
***動作の説明***
次に、本実施の形態に係る通信システムおける動作を、例を用いて説明する。
本実施の形態でも、図2に示す形式の構造体データをCDR変換した後のCDRデータの差分データを送信側計算機7から受信側計算機8に送信するものとする。
なお、本実施の形態では、送信データ保持部3は、送信済データとして図17に示すCDRデータを保持しているものとする。図17の例では、左から順に、シーケンス番号7、8、9の送信済データを保持していることを意味する。
本例においても、送信側計算機7は、図3に示すデータを送信しようとしているものとする。実施の形態1と同様、送信データ変換部1は図3に示すデータをCDRの形式に変換して図4のCDRデータを生成し、図4のCDRデータを送信バッファに配置する
差分データ生成部2は、送信データ保持部3が持つ全ての送信済データを取得する。本例では、図17に示す3つのデータを取得することとする。
本実施の形態では、実施の形態1と異なり、差分データ生成部2は、取得した全てのデータについて図4に示すデータと1バイトずつ比較し、差分情報データ群を作成する。
本例における差分情報データ群を図18に示す。図18の左端がシーケンス番号7番のデータと図4のデータを比較した際の差分情報データ群である。図18の中央がシーケンス番号8番のデータと図4のデータを比較した際の差分情報データ群である。図18の右端が、シーケンス番号9番のデータと図4のデータを比較した際の差分情報データ群となる。図18の例では、シーケンス番号9番と比較した場合の差分情報データ(右端)が最もデータサイズが小さいことがわかる。
差分データ生成部2は、送信済データをシーケンス番号9番と比較して得られた差分情報データ群をデータ受信部5に送信する。
以上の送信側計算機での一連の動作を示した概念図が図19である。
*** Explanation of operation ***
Next, the operation of the communication system according to the present embodiment will be described using an example.
Also in this embodiment, it is assumed that the difference data of the CDR data after the CDR conversion of the structure data in the format shown in FIG. 2 is transmitted from the
In the present embodiment, it is assumed that the transmission
Also in this example, it is assumed that the
In the present embodiment, unlike the first embodiment, the difference
The difference information data group in this example is shown in FIG. The left end of FIG. 18 is a difference information data group when the data of
The difference
FIG. 19 is a conceptual diagram showing a series of operations in the above transmission side computer.
データ受信部5は、差分情報データ群を受信すると、受信データ変換部6は、実施の形態1と同一の方法でリセット用データ、代入用データを作成する。そして、受信データ変換部6は、差分情報データ群の先頭4バイトにあったシーケンス番号の構造体データを受信データ保持部4から取得する。前述のように、受信データ保持部4は送信データ保持部3が持つデータを構造体の形式に変換した受信済データ保持しており、本実施の形態ではシーケンス番号7、8、9のデータを構造体データで保持している。
受信データ保持部4が保持している受信済データを図20に示す。本実施の形態では、受信データ保持部4は図20中の最下段の受信済データを受信データ変換部6に渡す。
受信データ変換部6は、受信データ保持部4から取得した、差分情報データ群のシーケンス番号に一致する受信済データに対して、リセット用データとの間で、各構造体のメンバを単位としてAND演算を行う。そして、AND演算を行った結果得られたデータと、代入用データとの間で、各構造体のメンバを単位としてOR演算を行うことにより、送信側計算機7が送信したデータを復元することができる。
When the
FIG. 20 shows received data held by the received
The reception
次に、本実施の形態における、送信側計算機7での動作例を図34のフローチャートで説明する。
Next, an operation example in the
ステップS101で、送信データ変換部1は、送信データをCDR変換し、CDRデータを差分データ生成部2に渡す。
ステップS102で、差分データ生成部2は、送信データ保持部3が持つ、全ての送信済データを取得する。
ステップS104で、差分データ生成部2は、送信済データの1つについて、図32のS3〜S6を行う。また、ステップS104を、全ての送信済データについて行う。
ステップS105で、差分データ生成部2は、各送信済データの差分情報データ群で、最もサイズの小さい差分情報データ群をデータ受信部5に送信する。
In step S <b> 101, the transmission
In step S <b> 102, the difference
In step S104, the difference
In step S <b> 105, the difference
次に、本実施の形態における、受信側計算機8での動作例を図35のフローチャートで説明する。
Next, an operation example of the receiving
ステップS106で、図33のS9〜S16を行う。
ステップS107で、受信データ変換部6は、受信した差分情報データ群に示されているシーケンス番号のデータを、受信データ保持部4から取得し、構造体の各メンバに対し、リセット用データとのAND演算、代入用データとのOR演算を行い、送信データを復元する。
In step S106, S9 to S16 of FIG. 33 are performed.
In step S107, the reception
***実施の形態の効果の説明***
以上のように、本実施の形態では、複数の送信済データ、受信済データを送信データ保持部、受信データ保持部が保持していた場合、保持しているデータの中から最もデータの差分が小さくなるデータから差分情報データを作成する。これにより、実施の形態1と比べてより小さい差分情報データで送信データの復元が可能となる。
なお、本実施の形態では、送信データ保持部3、受信データ保持部4がそれぞれ同一のデータを保持している例について示しているが、例えば、事前に受信データ保持部4が保持可能なデータ数と送信データ保持部3が保持可能なデータ数が異なる場合、事前に受信データ保持部4が保持可能なデータ数を送ることにより、受信データ保持部4が保持しているデータの中で最も差分情報データ群のデータサイズが小さいデータについて、差分情報データ群を送ることができる。
*** Explanation of the effect of the embodiment ***
As described above, in the present embodiment, when a plurality of transmitted data and received data are held by the transmission data holding unit and the received data holding unit, the data difference is the largest among the held data. Difference information data is created from the smaller data. As a result, transmission data can be restored with smaller difference information data than in the first embodiment.
In the present embodiment, an example is shown in which the transmission
実施の形態3.
実施の形態1及び2では、1バイトずつ値を比較し、異なるデータのオフセットとその値を送信している。
本実施の形態では、受信側計算機で、受信データ保持部が保持しているデータとの間で何らかの演算を行うことにより送信データを復元できる場合において、その演算方法と、被演算データを送信することにより、送信データを復元する方式を説明する。
本実施の形態では、送信データ保持部及び受信データ保持部はそれぞれ最新の送信済データ、受信済データを保持することとする。
以下では、主に実施の形態1との差異を説明する。以下で説明していない事項は実施の形態1と同じである。
In the first and second embodiments, values are compared byte by byte, and different data offsets and values are transmitted.
In the present embodiment, when the transmission data can be restored by performing some calculation with the data held by the reception data holding unit in the reception side computer, the calculation method and the calculation target data are transmitted. Thus, a method for restoring transmission data will be described.
In the present embodiment, the transmission data holding unit and the reception data holding unit hold the latest transmitted data and received data, respectively.
Hereinafter, differences from the first embodiment will be mainly described. Matters not described below are the same as those in the first embodiment.
***構成の説明***
実施の形態3に係る通信システムの構成例を図21に示す。
本実施の形態では、送信側計算機7、受信側計算機8の双方に演算子識別テーブル10、構造体情報テーブル11を追加している。
演算子識別テーブル10、構造体情報テーブル11以外の構成要素は、図1に示したものと同じであるので、説明を省略する。
また、本実施の形態に係る送信側計算機7のハードウェア構成例、受信側計算機8のハードウェア構成例は図38に示したものと同じであるため、説明を省略する。
*** Explanation of configuration ***
FIG. 21 shows a configuration example of a communication system according to the third embodiment.
In this embodiment, an operator identification table 10 and a structure information table 11 are added to both the
Components other than the operator identification table 10 and the structure information table 11 are the same as those shown in FIG.
In addition, the hardware configuration example of the transmission-
演算子識別テーブル10の構成例を図22に示す。図22では演算内容として加減乗除のみを示しているが、0x00〜0xffの256通りの演算を定義することができる。
構造体情報テーブル11の例を図23に示す。構造体情報テーブル11は、構造体の各メンバのデータサイズ及び、配列の要素数を格納している。メンバが配列でない場合には、1を記載する。
A configuration example of the operator identification table 10 is shown in FIG. In FIG. 22, only addition, subtraction, multiplication, and division are shown as calculation contents, but 256 calculations of 0x00 to 0xff can be defined.
An example of the structure information table 11 is shown in FIG. The structure information table 11 stores the data size of each member of the structure and the number of elements in the array. If the member is not an array, 1 is described.
***動作の説明***
次に、本実施の形態における動作について、例を用いて説明する。
本実施の形態でも、図2に示す形式の構造体データをCDR変換した後のCDRデータの差分データを送信側計算機7から受信側計算機8に送信するものとする。
なお、本実施の形態では、送信側計算機7が送信するデータを図24とする。
送信データ変換部1は、図24に示すデータをCDRの形式に変換して図25のCDRデータを生成し、図25のCDRデータを送信バッファに配置する。
また、送信データ保持部3は、送信済データとして図26に示すデータを保持しているものとする。
差分データ生成部2は、図25に示すデータを送信バッファから取得するとともに、図26に示す送信済データを送信データ保持部3から取得し、データの比較を行う。
本実施の形態では、データの比較は、構造体情報テーブル11のエントリを最初のエントリから順に参照し、メンバのサイズが1の場合は実施の形態1と同一の方法で、1より大きい場合には、テーブルのエントリに示されているサイズ分だけまとめて比較する。本例の場合は、最初のエントリが4であることから、図25のデータの先頭から4バイト0x00000100と図26のデータの先頭から4バイト0x000000ffを4バイトの数値として比較する。比較方法として、演算子識別テーブル10の0x01〜0xffに定義されている演算方法を順に試す。本例では、差分データ生成部2は、まず、演算子識別テーブル10の0x01を参照し、0x000000ffに何らかの1バイトの値を加算した場合に0x00000100になるかどうかを調査する。本例の場合、0x000000ffに0x01を加算することにより0x00000100になる。差分データ生成部2は、このように、1バイトの値を被演算データとして演算子識別テーブル10に示した演算を行うことにより比較したデータが一致する場合、差分情報データを作成する。
本実施の形態では、最初の2バイトに、比較を行った構造体情報テーブル11のエントリ番号、次の1バイトに演算子識別テーブル10で、2つのデータが一致する演算の番号、最後の1バイトに、データが一致するための被演算データを格納する。本例の場合は、最初のエントリについて、0x01を加算することにより一致することから、最初の4バイトのデータに対する差分情報データは0x00010101となる。そして、差分データ生成部2は、CDR変換後の送信データのバッファのポインタと送信データ保持部3が持つデータのバッファのポインタを4バイトずらす。そして、差分データ生成部2は、構造体情報テーブル11の次のエントリを参照し、次のエントリの値は1であることから、実施の形態1の手法で比較を行う。そして、CDR変換後の送信データのバッファのポインタと送信データ保持部が持つデータのバッファのポインタを、構造体情報テーブル11の参照エントリの値である1バイトに加えてCDRの変換ルールに従い3バイトスキップし、さらに構造体情報テーブル11の次のエントリを参照する。次のエントリの値は4であることから、差分データ生成部2は、4バイトデータを比較する。本例では同一のデータであることから何もせず、CDR変換後の送信データのバッファのポインタと送信データ保持部3が持つデータのバッファのポインタを4バイトずらす。そして、構造体情報テーブル11の最後の値が2であることから、差分データ生成部2は、2バイトを比較する。ここでは、送信データが0xfffe、送信データ保持部3が持つデータが0xffffであることから、演算子識別テーブル10の0x01〜0xffに定義されている演算方法を順に試す。本例では、0xffffから1を引くことにより0xfffeになる。そこで、差分データ生成部2は差分情報データを作成する。ここでは、構造体情報テーブル11の4番目のエントリについて、0x01を減算することにより、送信データが得られることから、差分情報データは、0x00040201となる。差分データ生成部2は、この値と、前に求めた0x00010101をセットにして差分情報データ群を作成し、受信データ処理部5に送る。
このように、本実施の形態では、差分データ生成部2は、受信側計算機8が保持している構造体データにおける更新位置と更新値を得るための演算方法と被演算値とを通知する差分情報データ群を生成し、受信側計算機8に送信する。
なお、ここまでの処理概要を図27に示す。
*** Explanation of operation ***
Next, the operation in the present embodiment will be described using an example.
Also in this embodiment, it is assumed that the difference data of the CDR data after the CDR conversion of the structure data in the format shown in FIG. 2 is transmitted from the
In this embodiment, the data transmitted by the
The
Further, it is assumed that the transmission
The difference
In the present embodiment, the comparison of data refers to the entries in the structure information table 11 in order from the first entry, and when the member size is 1, if the member size is 1, it is the same as in the first embodiment and is greater than 1. Is compared by the size shown in the table entry. In this example, since the first entry is 4, the 4 bytes 0x00000100 from the top of the data in FIG. 25 and the 4 bytes 0x000000ff from the top of the data in FIG. 26 are compared as 4-byte numerical values. As a comparison method, the calculation methods defined in 0x01 to 0xff in the operator identification table 10 are tried in order. In this example, the difference
In this embodiment, the first 2 bytes are the entry number of the structure information table 11 that has been compared, the next 1 byte is the number of the operation that matches the two data in the operator identification table 10, and the last 1 Stores the operand data for matching data in the byte. In this example, since the first entry is matched by adding 0x01, the difference information data for the first 4 bytes of data is 0x00010101. Then, the difference
As described above, in the present embodiment, the difference
An outline of the processing so far is shown in FIG.
データ受信部5は、差分情報データ群を受信すると、被演算データバッファを用意し、当該バッファにデータを書き込む。
データ受信部5は、まず被演算データバッファの全バイトを0x00とする。次に、データ受信部5は、差分情報データを単位として読み出し、構造体情報テーブルを参照しながら、被演算データを作成する。本例では、まず1つ目の差分情報データ0x00010101を参照し、最初の2バイト0x0001から、当該差分情報データの情報が1つめの構造体データの値であることを認識し、3バイト目を参照することにより演算種別が加算、4バイト目を被演算データが1であることを認識する。データ受信部5は、被演算データを格納するためのバッファを用意し、先頭4バイトに0x00000001を格納する。そして、次の差分情報データを参照すると、最初の2バイト0x0004から、2番目、3番目の構造体メンバをスキップしたことから、そのメンバ分だけCDRのルールに従って、バッファの被演算データの書き込み位置をスキップする。この場合、2番目のデータが1バイトであり、3番目のデータが4バイトであることから、8バイトスキップする。そして、差分情報データの次の1バイトが2であることから、データ受信部5は、演算データが減算であることを認識し、最後の1バイトが1であることから、被演算データが1であることを認識する。そして、構造体データが2バイトであることから、バッファの位置から2バイトデータ:0x0001を書き込む。データ受信部5が作成した被演算データ用バッファは図28のようになる。
受信データ変換部6は、被演算データ用バッファを受け取り、図2に示す構造体のデータとしてデータを復元する。図28に示すバッファのデータを復元すると、図29のデータとなる。本データを被演算データとする。
受信データ変換部6は、受信データ保持部4が保持するデータを取得し、被演算データの各構成要素との間で演算を行う。差分情報データ群には、1つ目の構造体メンバに対しては加算、4つ目の構造体メンバに対しては減算を示していたことから、受信データ保持部4が保持するデータの1つ目のメンバであるint_data1の値を1加算し、4つ目のメンバであるshort_dataのデータを1減らす。
データ受信部5が差分情報データ群を受け取ってからの一連の処理を示した概念図を図29、図30に示す。また、これによって得られた値は図31となり、送信側計算機7で送ろうとしたデータに一致する。
When the
The
The
The reception
29 and 30 are conceptual diagrams showing a series of processes after the
次に、本実施の形態における送信側計算機7での動作例を図36のフローチャートで説明する。
Next, an operation example of the
ステップS201で、図32のステップS1を行い、ステップS202で、図32のステップS2を行い、ステップS203で、図32のステップS3を行う。
ステップS204で、差分データ生成部2は、CDR変換後のデータと送信データ保持部3から受け取ったデータの、同一オフセットのデータを、構造体情報テーブルの、S209で示されているエントリに示されているサイズ数分だけ比較する。値が異なる場合は、差分データ生成部2は、当該サイズのデータが一致するような演算方法と被演算データを求める。そのような演算方法、被演算データがあれば、差分データ生成部2は、ステップS208で、差分情報データを作成し、差分情報データ群にマージする。
ステップS209で、差分データ生成部2は、構造体情報テーブルの、ステップS209で示されているエントリに示されているバイト数だけCDR変換後のデータと送信データ保持部3のデータのポインタのオフセットをずらすととともに、CDRのルールに従ってポインタのオフセットをずらす。
ステップS210で、差分データ生成部2は、次のS208の処理で、構造体情報テーブルの次のエントリを参照するよう、参照エントリを変更し、全てのデータについて比較が終わった場合は、ステップS211に進む。
ステップS211で、差分データ生成部2は、差分情報データ群を、データ受信部5に送信する。
なお、ステップS207において、どのように計算をしても、送信済データがCDR変換後のデータにならない場合には、実施の形態1の手法で差分情報データを作成する。
In step S201, step S1 in FIG. 32 is performed, in step S202, step S2 in FIG. 32 is performed, and in step S203, step S3 in FIG. 32 is performed.
In step S204, the difference
In step S209, the difference
In step S210, the difference
In step S <b> 211, the difference
In step S207, if the transmitted data does not become the data after the CDR conversion no matter how the calculation is performed, difference information data is created by the method of the first embodiment.
次に、本実施の形態における受信側計算機での動作例を図37のフローチャートで説明する。 Next, an operation example of the receiving computer in this embodiment will be described with reference to the flowchart of FIG.
ステップS212で、図33のステップS8〜S16を行う。
ステップS213で、受信データ変換部6は、受信データ保持部4からデータを取得し、構造体の各メンバに対し、差分情報データ群に示された演算方法及び被演算データで、送信データを求める。
つまり、受信データ変換部6は、差分情報データ群で通知された更新位置と演算方法と被演算値とを用いて、構造体データを更新する。
In step S212, steps S8 to S16 in FIG. 33 are performed.
In step S213, the reception
That is, the reception
***実施の形態の効果の説明***
このように、本実施の形態では、実施の形態1及び実施の形態2で1バイト単位でデータを比較した場合と比べ、より小さいサイズで差分情報データ群を作成することができる。
*** Explanation of the effect of the embodiment ***
Thus, in the present embodiment, the difference information data group can be created with a smaller size compared to the case where the data is compared in units of 1 byte in the first and second embodiments.
以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、2つ以上を組み合わせて実施しても構わない。
あるいは、これらの実施の形態のうち、1つを部分的に実施しても構わない。
あるいは、これらの実施の形態のうち、2つ以上を部分的に組み合わせて実施しても構わない。
なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。
***ハードウェア構成の説明***
最後に、図38に示すハードウェア構成の補足説明を行う。
図38の記憶装置には、OS(Operating System)も記憶されている。
そして、OSの少なくとも一部がプロセッサにより実行される。
プロセッサがOSを実行することで、タスク管理、メモリ管理、ファイル管理、通信制御等が行われる。
図38では、送信側計算機7及び受信側計算機8において1つのプロセッサが図示されているが、送信側計算機7及び受信側計算機8は複数のプロセッサを備えていてもよい。
また、送信データ変換部1、差分データ生成部2、送信データ保持部3、受信データ保持部4、データ受信部5、受信データ変換部6、処理部12の機能を実現するプログラムは、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD等の可搬記憶媒体に記憶されてもよい。
また、送信側計算機7及び受信側計算機8は、ロジックIC(Integrated Circuit)、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、FPGA(Field−Programmable Gate Array)といった電子回路により実現されてもよい。
なお、プロセッサ及び上記の電子回路を総称してプロセッシングサーキットリーともいう。
As mentioned above, although embodiment of this invention was described, you may implement in combination of 2 or more among these embodiment.
Alternatively, one of these embodiments may be partially implemented.
Alternatively, two or more of these embodiments may be partially combined.
In addition, this invention is not limited to these embodiment, A various change is possible as needed.
*** Explanation of hardware configuration ***
Finally, a supplementary description of the hardware configuration shown in FIG. 38 will be given.
An OS (Operating System) is also stored in the storage device of FIG.
At least a part of the OS is executed by the processor.
When the processor executes the OS, task management, memory management, file management, communication control, and the like are performed.
In FIG. 38, one processor is illustrated in the
A program for realizing the functions of the transmission
Further, the
The processor and the electronic circuit are also collectively referred to as a processing circuit.
1 送信データ変換部、2 差分データ生成部、3 送信データ保持部、4 受信データ保持部、5 データ受信部、6 受信データ変換部、7 送信側計算機、8 受信側計算機、9 ネットワーク、10 演算子識別テーブル、11 構造体情報テーブル、12 制御部、13 通信部、14 記憶部。
DESCRIPTION OF
Claims (15)
前記差分データ生成部により生成された前記差分データを前記データ受信装置に送信する通信部とを有するデータ送信装置。 A differential data generation unit that generates, as CDR data, differential data for structure data held by a data receiving apparatus capable of converting from CDR (Common Data Representation) data to structure data;
A data transmission device comprising: a communication unit that transmits the difference data generated by the difference data generation unit to the data reception device.
1つの構造体データを保持しており、
前記差分データ生成部は、
前記データ受信装置が保持している前記1つの構造体データに対する差分データをCDRデータで生成する請求項1に記載のデータ送信装置。 The data receiving device is:
Holds one structure data,
The difference data generation unit
The data transmission device according to claim 1, wherein difference data for the one structure data held by the data reception device is generated as CDR data.
複数の構造体データを保持しており、
前記差分データ生成部は、
前記データ受信装置が保持している前記複数の構造体データのうちのいずれか1つの構造体データに対する差分データをCDRデータで生成する請求項1に記載のデータ送信装置。 The data receiving device is:
Holds multiple structure data,
The difference data generation unit
The data transmission apparatus according to claim 1, wherein difference data for any one of the plurality of structure data held by the data reception apparatus is generated as CDR data.
前記データ受信装置が保持している前記複数の構造体データの中から差分データのデータサイズが最小となる構造体データに対する差分データをCDRデータで生成する請求項3に記載のデータ送信装置。 The difference data generation unit
The data transmission device according to claim 3, wherein the difference data for the structure data having the smallest data size of the difference data is generated as CDR data from the plurality of structure data held by the data reception device.
前記データ受信装置が保持している構造体データにおける更新位置と更新値とを通知する差分データをCDRデータで生成する請求項1に記載のデータ送信装置。 The difference data generation unit
The data transmission apparatus according to claim 1, wherein difference data for notifying an update position and an update value in structure data held by the data reception apparatus is generated as CDR data.
前記データ受信装置が保持している構造体データにおける更新位置と更新値を得るための演算方法と被演算値とを通知する差分データをCDRデータで生成する請求項1に記載のデータ送信装置。 The difference data generation unit
The data transmission device according to claim 1, wherein difference data for notifying an update position and an update value in structure data held by the data reception device and an operation value is generated as CDR data.
CDR(Common Data Representation)データである、前記構造体データに対する差分データを受信する通信部と、
前記通信部により受信された前記差分データを用いて前記構造体データを更新するデータ更新部とを有するデータ受信装置。 A data receiving device for holding structure data,
A communication unit that receives differential data for the structure data, which is CDR (Common Data Representation) data;
A data receiving apparatus comprising: a data updating unit that updates the structure data using the difference data received by the communication unit.
1つの構造体データを保持しており、
前記通信部は、
前記1つの構造体データに対する差分データを受信し、
前記データ更新部は、
前記通信部により受信された前記差分データを用いて前記1つの構造体データを更新する請求項7に記載のデータ受信装置。 The data receiving device is:
Holds one structure data,
The communication unit is
Receiving difference data for the one structure data;
The data update unit
The data receiving device according to claim 7, wherein the one structure data is updated using the difference data received by the communication unit.
複数の構造体データを保持しており、
前記通信部は、
前記複数の構造体データのうちのいずれか1つの構造体データに対する差分データを受信し、
前記データ更新部は、
前記通信部により受信された前記差分データを用いて、対象となる構造体データを更新する請求項7に記載のデータ受信装置。 The data receiving device is:
Holds multiple structure data,
The communication unit is
Receiving difference data for any one of the plurality of structure data;
The data update unit
The data receiving apparatus according to claim 7, wherein the target structure data is updated using the difference data received by the communication unit.
前記構造体データにおける更新位置と更新値とを通知する差分データを受信し、
前記データ更新部は、
前記通信部により受信された前記差分データで通知された更新位置と更新値とを用いて、前記構造体データを更新する請求項7に記載のデータ受信装置。 The communication unit is
Receiving difference data for notifying an update position and an update value in the structure data;
The data update unit
The data receiving apparatus according to claim 7, wherein the structure data is updated using an update position and an update value notified by the difference data received by the communication unit.
前記構造体データにおける更新位置と更新値を得るための演算方法と被演算値とを通知する差分データを受信し、
前記データ更新部は、
前記通信部により受信された前記差分データで通知された更新位置と演算方法と被演算値とを用いて、前記構造体データを更新する請求項7に記載のデータ受信装置。 The communication unit is
Receiving difference data for notifying an operation position and an operation value for obtaining an update position and an update value in the structure data,
The data update unit
The data receiving apparatus according to claim 7, wherein the structure data is updated using an update position, a calculation method, and an operation value notified by the difference data received by the communication unit.
CDR(Common Data Representation)データから構造体データへの変換が可能なデータ受信装置が保持している構造体データに対する差分データをCDRデータで生成する差分データ生成ステップと、
前記差分データ生成ステップにより生成された前記差分データを前記データ受信装置に送信する送信ステップとを有するデータ送信方法。 A data transmission device, which is a computer,
A differential data generation step of generating, as CDR data, differential data for structure data held by a data receiving device capable of conversion from CDR (Common Data Representation) data to structure data;
A data transmission method comprising: a transmission step of transmitting the difference data generated by the difference data generation step to the data receiving device.
CDR(Common Data Representation)データである、前記構造体データに対する差分データを受信する受信ステップと、
前記受信ステップにより受信された前記差分データを用いて前記構造体データを更新するデータ更新ステップとを有するデータ受信方法。 A data receiving device, which is a computer and holds structure data,
A receiving step of receiving differential data for the structure data, which is CDR (Common Data Representation) data;
A data receiving method comprising: a data updating step of updating the structure data using the difference data received in the receiving step.
CDR(Common Data Representation)データから構造体データへの変換が可能なデータ受信装置が保持している構造体データに対する差分データをCDRデータで生成する差分データ生成ステップと、
前記差分データ生成ステップにより生成された前記差分データを前記データ受信装置に送信する送信ステップとを有するデータ送信プログラム。 To a data transmission device that is a computer,
A differential data generation step of generating, as CDR data, differential data for structure data held by a data receiving device capable of conversion from CDR (Common Data Representation) data to structure data;
A data transmission program comprising: a transmission step of transmitting the difference data generated by the difference data generation step to the data receiving device.
CDR(Common Data Representation)データである、前記構造体データに対する差分データを受信する受信ステップと、
前記受信ステップにより受信された前記差分データを用いて前記構造体データを更新するデータ更新ステップとを有するデータ受信プログラム。 In a data receiving device that is a computer that holds structure data,
A receiving step of receiving differential data for the structure data, which is CDR (Common Data Representation) data;
A data receiving program comprising: a data updating step for updating the structure data using the difference data received in the receiving step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016025923A JP2017146659A (en) | 2016-02-15 | 2016-02-15 | Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016025923A JP2017146659A (en) | 2016-02-15 | 2016-02-15 | Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017146659A true JP2017146659A (en) | 2017-08-24 |
Family
ID=59680822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016025923A Pending JP2017146659A (en) | 2016-02-15 | 2016-02-15 | Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017146659A (en) |
-
2016
- 2016-02-15 JP JP2016025923A patent/JP2017146659A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102272117B1 (en) | Blockchain-based data processing method and device | |
US9529873B2 (en) | Enhancing performance of extract, transform, and load (ETL) jobs | |
CN102780685B (en) | For the method and system compressed data and encrypt | |
CN110516462B (en) | Method and apparatus for encrypting data | |
US20110145308A1 (en) | System to improve numereical conversions and associated methods | |
CN112256275B (en) | Code confusion method, device, electronic equipment and medium | |
US9305171B2 (en) | Encryption apparatus, encryption method, decryption apparatus, decryption method and system | |
JP2019537332A (en) | Method and apparatus for encoding and decoding binary data | |
CN108921552A (en) | A kind of method and device of experimental evidence | |
US20220182072A1 (en) | Data Compression Method and Apparatus, Computer-Readable Storage Medium, and Electronic Device | |
CN111444547A (en) | Method, apparatus and computer storage medium for data integrity attestation | |
CN116708591A (en) | Protocol conversion method, device, electronic equipment and storage medium | |
US7895347B2 (en) | Compact encoding of arbitrary length binary objects | |
KR101445339B1 (en) | Integrated cryptographic apparatus for providing confidentiality and integrity | |
CN111949655A (en) | Form display method and device, electronic equipment and medium | |
JP2017146659A (en) | Data transmission device, data reception device, data transmission method, data reception method, data transmission program, and data reception program | |
CN111061720A (en) | Data screening method and device and electronic equipment | |
CN112559497B (en) | Data processing method, information transmission method, device and electronic equipment | |
CN111324645A (en) | Data processing method and device for block chain | |
JP4953145B2 (en) | Character string data compression apparatus and method, and character string data restoration apparatus and method | |
CN113221173A (en) | Ciphertext processing method, device, equipment and storage medium | |
CN109219928B (en) | Data processing device, data processing method, and computer-readable storage medium | |
CN113872753B (en) | Encryption transmission method and device based on SHA256 sequence form data | |
CN114780616B (en) | Information summarizing and information acquiring method, electronic equipment and system | |
CN118075037B (en) | Data encryption method, device, equipment and storage medium |