JPH11196132A - Data packet reconstitution method - Google Patents

Data packet reconstitution method

Info

Publication number
JPH11196132A
JPH11196132A JP58798A JP58798A JPH11196132A JP H11196132 A JPH11196132 A JP H11196132A JP 58798 A JP58798 A JP 58798A JP 58798 A JP58798 A JP 58798A JP H11196132 A JPH11196132 A JP H11196132A
Authority
JP
Japan
Prior art keywords
data
packet
data packets
data packet
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58798A
Other languages
Japanese (ja)
Other versions
JP3785781B2 (en
Inventor
Shigemasa Mochizuki
薫雅 望月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP58798A priority Critical patent/JP3785781B2/en
Publication of JPH11196132A publication Critical patent/JPH11196132A/en
Application granted granted Critical
Publication of JP3785781B2 publication Critical patent/JP3785781B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method for surely and easily reconstitution data packets. SOLUTION: A data server attaches file names to respective received data packets DP1 -DP5 , temporarily preserves them as files F1 -F5 by the file names including serial numbers provided in the headers of the data packets an identifiers. The above data server is provided with a table TB having the presence/absence data of the reception of records paired with serial numbers of the data packets, and identifies whether or not all the data packets are received from the table at the time of identifying the reception of the last data packet from a packet identification flag in the header, so that the data packets from the serial numbers at the time of receiving all the data packets are reconstituted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、携帯型情報収集端
末からネットワークを介してデータサーバにデータを転
送する方法に係り、特にデータパケットを受信するサー
バ側でのデータパケットの再構成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for transferring data from a portable information collecting terminal to a data server via a network, and more particularly to a method for reconstructing a data packet on a server receiving the data packet.

【0002】[0002]

【従来の技術】携帯型情報収集端末(以下、携帯端末と
呼ぶ)は、ディジタルカメラ、ビデオカメラ、音声マイ
クロホンを通じて、画像・音声データを収集する機能を
持った可搬型の携帯コンピュータと、収集したデータを
データサーバ(以下、サーバと呼ぶ)に転送するため
に、LAN(LocalAreaNetwork)に接
続することのできるネットワーク接続機構を備えてい
る。データの転送は、LAN上でTCP/IP接続を行
うことにより実現している。
2. Description of the Related Art A portable information collecting terminal (hereinafter, referred to as a portable terminal) includes a portable portable computer having a function of collecting image and voice data through a digital camera, a video camera, and a voice microphone. In order to transfer data to a data server (hereinafter, referred to as a server), a network connection mechanism capable of connecting to a LAN (Local Area Network) is provided. Data transfer is realized by performing TCP / IP connection on the LAN.

【0003】図3の構成では、携帯端末1は、ディジタ
ルカメラ2で撮影した静止画像データと、マイクロホン
3で収集した音声データをLANを介してサーバ4に転
送することができる。
In the configuration shown in FIG. 3, the portable terminal 1 can transfer still image data captured by the digital camera 2 and audio data collected by the microphone 3 to the server 4 via the LAN.

【0004】このような携帯端末は、可搬型とするため
に、ハードウェアが極力簡略化されている。そのため、
収集したデータを、一度にLAN上に流すために必要な
CPU処理能力や作業メモリ、送信バッファメモリを搭
載していない。そこで、収集したデータを、数十から数
百バイトの小さなデータパケットに分割し、パケット単
位でLAN上に流すための処理を行っている。一般に、
収集されるデータのサイズは、数十キロバイトから数百
キロバイトあるため、データパケット数は数百個から数
千個におよぶ。
[0004] In order to make such a portable terminal portable, the hardware is simplified as much as possible. for that reason,
It does not have a CPU processing capacity, a working memory, or a transmission buffer memory necessary for transmitting collected data to the LAN at one time. Therefore, the collected data is divided into small data packets of several tens to several hundreds of bytes, and a process for flowing the data on the LAN in packet units is performed. In general,
Since the size of collected data ranges from tens to hundreds of kilobytes, the number of data packets ranges from hundreds to thousands.

【0005】一方、サーバは、携帯端末から送信されて
くるデータを受信する機能を有している。この機能の中
では、携帯端末から送信されてくるデータパケットを、
漏らさず受け取り、元通りに再構成することが重要であ
る。サーバには、この機能を実現するために、十分なC
PU処理能力と、メモリ空間がある。
On the other hand, the server has a function of receiving data transmitted from the portable terminal. In this function, the data packet transmitted from the mobile terminal is
It is important to receive it without leaking and reconstitute it as before. The server has enough C to implement this function.
There is PU processing capacity and memory space.

【0006】ところで、データパケットは、LAN上を
転送される間に、その順番が入れ替わったり、時には消
失したりする。サーバでデータを再構成する際、データ
パケットの順番が入れ替わっている場合は、並べ替えを
行い、消失している場合には、再送要求を行う必要があ
る。
[0006] By the way, while data packets are transferred on the LAN, their order is changed or sometimes lost. When the data is reconfigured by the server, if the order of the data packets has been changed, the data packets must be rearranged. If the data packets have been lost, a retransmission request must be made.

【0007】このようなケースでもデータの再構成を正
しく行うために、全てのデータパケットを受け取るまで
の間、再構成は行わず、受け取ったデータパケットを一
時的に保管しておく必要がある。現在は、この保管を、
サーバのメモリ上で行っている。
In such a case, in order to correctly reconstruct data, it is necessary to temporarily store received data packets without performing reconfiguration until all data packets are received. Currently, this storage,
Going on server memory.

【0008】[0008]

【発明が解決しようとする課題】データパケットの一時
的な保管をメモリ上に行うと、メモリ上のどこにどのパ
ケットが保管されているかという管理を、サーバを構成
しているアプリケーションプログラム(以下、サーバア
プリケーションと呼ぶ)自体が行う必要が生ずる。この
作業は極めて煩雑であり、また、サーバアプリケーショ
ンの動作効率の低下、製品価格の上昇を招く。
When data packets are temporarily stored in a memory, the management of which packets are stored in the memory and which packets are stored in an application program (hereinafter, referred to as a server) constituting the server. Application itself). This operation is extremely complicated, and causes a decrease in the operation efficiency of the server application and an increase in the product price.

【0009】本発明の目的は、データパケットの再構成
を確実、容易にする方法を提供することにある。
It is an object of the present invention to provide a method for reliably and easily reconstructing data packets.

【0010】[0010]

【課題を解決するための手段】本発明は、サーバのOS
がもつファイル管理機能をデータパケットの管理に利用
することで受信したパケット毎にファイルネームを付け
てファイル化する。そして、データパケットの送信時に
そのヘッダ中に埋め込まれる通し番号をファイルネーム
の識別子として含めておくことでデータパケットの受信
順序が変わった場合にもデータパケットの順序を識別可
能にする。さらに、データパケットのヘッダにはデータ
パケットの通し番号の他に最後のパケットかどうかを識
別するフラグが設けられていることを利用し、データパ
ケットの通し番号と対にしたレコードにデータパケット
の受信の有無データをもつテーブルを設け、最後のデー
タパケットを受信したときにテーブルのレコードのチェ
ックにより全てのデータパケットを受信したか否かをチ
ェックしながら再構成するようにしたもので、以下の方
法を特徴とする。
SUMMARY OF THE INVENTION The present invention provides a server operating system (OS).
By using the file management function of the system for data packet management, each received packet is assigned a file name and converted into a file. By including a serial number embedded in the header of the data packet when transmitting the data packet as an identifier of the file name, the order of the data packet can be identified even when the reception order of the data packet is changed. In addition, utilizing the fact that the header of the data packet has a flag for identifying whether it is the last packet in addition to the serial number of the data packet, the record paired with the serial number of the data packet indicates whether the data packet has been received. A table with data is provided, and when the last data packet is received, a check is made on the record of the table to check whether all data packets have been received. And

【0011】携帯型情報収集端末が転送するデータを複
数のデータパケットに分けてネットワークを介してデー
タサーバに転送するにおいて、前記データサーバは、受
信したデータパケット毎にファイルネームを付けかつデ
ータパケットのヘッダにもつ通し番号を識別子に含めた
ファイルネームで一時保存し、データパケットの通し番
号と対にしたレコードにデータパケットの受信の有無デ
ータをもつテーブルを設け、最後のデータパケットの受
信を前記ヘッダ中のパケット識別フラグから識別したと
きに該テーブルから全てのデータパケットを受信したか
否かを識別し、全てのデータパケットを受信したときに
前記通し番号からデータパケットの再構成を行うことを
特徴とする。
When the portable information collection terminal divides the data to be transferred into a plurality of data packets and transfers the data packets to a data server via a network, the data server assigns a file name to each received data packet, and The serial number of the header is temporarily stored as a file name including the identifier, a table having data on the presence or absence of data packet reception is provided in a record paired with the serial number of the data packet, and reception of the last data packet is described in the header. When identifying from the packet identification flag, it is determined whether or not all data packets have been received from the table, and when all data packets have been received, data packets are reconstructed from the serial numbers.

【0012】[0012]

【発明の実施の形態】図1は、本発明の実施形態を示す
データパケットの再構成方法を示し、サーバにおけるデ
ータパケットの一時保存態様である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a data packet reconstructing method according to an embodiment of the present invention, in which a server temporarily stores data packets.

【0013】サーバアプリケーションは、OS(オペレ
ーティングシステム)上で動作している。OSは、ファ
イルネームを用いてファイルを管理する機能がある。そ
こで、本実施形態では、データパケットの管理を、受信
したデータパケット毎にファイルネームを付け、ファイ
ル化する。
The server application runs on an OS (operating system). The OS has a function of managing files using file names. Therefore, in the present embodiment, a data packet is managed by assigning a file name to each received data packet and creating a file.

【0014】図1では、5つのデータパケットDP1
DP5に対して、ファイルF1〜F5にはそれぞれファイ
ルネーム「file001.tmp」から「file0
05.tmp」を付け、OSによるデータパケットの管
理を行う。
In FIG. 1, five data packets DP 1 to DP 1
Against DP 5, the file F 1 ~F 5 from each file name "file001.tmp", "file0
05. tmp ”, and the OS manages the data packet.

【0015】次に、データパケットは、転送途中におけ
る順番の入れ替わりに対処するため、送信時に通し番号
が振られる。この番号は、データパケットのヘッダ中に
埋め込まれるため、パケット毎の識別名として利用する
ことができる。そこで、本実施形態では、データパケッ
トの通し番号をベースにしてデータパケットにファイル
ネームを割り当て、パケットをファイルとして保存す
る。
Next, serial numbers are assigned to data packets at the time of transmission in order to cope with the order change during transfer. Since this number is embedded in the header of the data packet, it can be used as an identifier for each packet. Therefore, in this embodiment, a file name is assigned to the data packet based on the serial number of the data packet, and the packet is stored as a file.

【0016】図1では、データパケットの受信順序が
「1→2→5→3→4」となるのに対して、ファイルネ
ームにはその通し番号が識別子に付けられ、送信時の通
し番号でデータパケットの順序が識別できる。これによ
り、到着するパケットの順番が入れ替わっていたとして
も、ファイルとして保存される時点では、何の影響も受
けない。
In FIG. 1, the receiving order of the data packets is "1.fwdarw.2.fwdarw.5.fwdarw.3.fwdarw.4". On the other hand, the serial number is added to the identifier in the file name. Can be identified. As a result, even if the order of the arriving packets is changed, there is no effect at the time of saving as a file.

【0017】次に、データパケットのヘッダには、通し
番号の他に、そのパケットが通し番号の最後のパケット
かどうかを識別するフラグが設けられている。このフラ
グがセットされているとき、そのパケットは通し番号の
最後のパケットになる。
Next, in the header of the data packet, in addition to the serial number, a flag for identifying whether the packet is the last packet of the serial number is provided. When this flag is set, the packet will be the last packet in the serial number.

【0018】本実施形態では、通し番号の最後のパケッ
トを受け取った時点で、全てのパケットが揃っているか
を調べることができるようにする。このため、図2にも
示すように、パケット受け取りテーブルTBを設ける。
In this embodiment, when the last packet of the serial number is received, it is possible to check whether all the packets are present. For this reason, as shown in FIG. 2, a packet reception table TB is provided.

【0019】このテーブルは、データパケットの通し番
号と対になったレコードの内容が、パケットを受け取っ
ていれば“1”に設定され、受け取っていなければ
“0”に設定される。したがって、通し番号の最後のパ
ケットを受け取った時点で、パケット受け取りテーブル
が全部“1”であれば、データパケットが揃っているこ
とになる。
In this table, the contents of the record paired with the serial number of the data packet are set to "1" if the packet has been received, and set to "0" if the packet has not been received. Therefore, when the last packet of the serial number is received and the packet reception table is all "1", the data packets are complete.

【0020】データパケットが揃っている場合は、パケ
ット受け取りテーブルのレコード番号を1から最後の番
号まで順に増しながら、レコード番号ベースにして作成
したファイルネームでデータパケットのファイルを読み
出し、再構成すべきファイルに結合する作業を行う。
When the data packets are ready, the data packet file should be read out with the file name created based on the record number and reconstructed while increasing the record number of the packet reception table from 1 to the last number in order. Do the work of joining to a file.

【0021】これにより、パケットを受け取った順番と
は関わりなく、ファイルを再構成することができる。デ
ータパケットが揃っていない場合は、不足しているパケ
ットを再送するように要求するか、あるいは、パケット
の不足を理由にパケット全てを破棄し、データ転送の失
敗を宣言する。
Thus, the file can be reconstructed regardless of the order in which the packets were received. If there is no data packet, request to retransmit the missing packet, or discard all the packets due to the lack of the packet, and declare the data transfer failure.

【0022】[0022]

【発明の効果】以上のとおり、本発明によれば、サーバ
のOSがもつファイル管理機能をデータパケットの管理
に利用することで受信したパケット毎にファイルネーム
を付けると共にデータパケットのヘッダ中に埋め込まれ
る通し番号をファイルネームの識別子として含めてお
き、データパケットの通し番号と対にしてレコードの受
信の有無データをもつテーブルを設け、最後のデータパ
ケットを受信したときにテーブルのレコードのチェック
により全てのデータパケットを受信したか否かをチェッ
クしながら再構成するようにしたため、発信側の順番と
は異なる順番で到着するデータパケットを一時的に保管
する際に、その保管位置の煩雑な管理をすることなく、
順番を正しく入れ替えて再構成することができる。
As described above, according to the present invention, a file name is assigned to each received packet by using the file management function of the OS of the server for data packet management, and embedded in the header of the data packet. A serial number is included as a file name identifier, and a table is provided with data indicating whether or not records have been received in pairs with the serial number of the data packet. Since the packet is reassembled while checking whether or not it has been received, when data packets arriving in an order different from the order of the sender are temporarily stored, complicated management of the storage position is required. Not
It is possible to rearrange the order correctly.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態を示すデータパケットの一時
保存の態様。
FIG. 1 shows a mode of temporarily storing data packets according to an embodiment of the present invention.

【図2】実施携帯におけるパケット受け取りテーブル
例。
FIG. 2 is an example of a packet reception table in the embodiment.

【図3】携帯端末−サーバ構成図。FIG. 3 is a configuration diagram of a portable terminal-server.

【符号の説明】[Explanation of symbols]

1…携帯型情報収集端末 2…ディジタルカメラ 3…マイクロフォン 4…データサーバ DP1〜DP5…データパケット F1〜F5…ファイル TB…テーブル1 ... portable information collecting terminal 2 ... digital camera 3 ... microphone 4 ... data server DP 1 to DP 5 ... data packet F 1 to F 5 ... file TB ... table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 携帯型情報収集端末が転送するデータを
複数のデータパケットに分けてネットワークを介してデ
ータサーバに転送するにおいて、 前記データサーバは、受信したデータパケット毎にファ
イルネームを付けかつデータパケットのヘッダにもつ通
し番号を識別子に含めたファイルネームで一時保存し、 データパケットの通し番号と対にしたレコードにデータ
パケットの受信の有無データをもつテーブルを設け、 最後のデータパケットの受信を前記ヘッダ中のパケット
識別フラグから識別したときに該テーブルから全てのデ
ータパケットを受信したか否かを識別し、 全てのデータパケットを受信したときに前記通し番号か
らデータパケットの再構成を行うことを特徴とするデー
タパケットの再構成方法。
1. A method according to claim 1, wherein the data to be transferred by the portable information collecting terminal is divided into a plurality of data packets and transferred to a data server via a network. The serial number of the header of the packet is temporarily stored as a file name including the identifier, and a table having data on the presence or absence of data packet reception is provided in a record paired with the serial number of the data packet. And identifying whether all data packets have been received from the table when identified from the packet identification flag in, and reconstructing data packets from the serial numbers when all data packets have been received. Of the data packet to be reconstructed.
JP58798A 1998-01-06 1998-01-06 Data packet reconstruction method Expired - Lifetime JP3785781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58798A JP3785781B2 (en) 1998-01-06 1998-01-06 Data packet reconstruction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58798A JP3785781B2 (en) 1998-01-06 1998-01-06 Data packet reconstruction method

Publications (2)

Publication Number Publication Date
JPH11196132A true JPH11196132A (en) 1999-07-21
JP3785781B2 JP3785781B2 (en) 2006-06-14

Family

ID=11477867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58798A Expired - Lifetime JP3785781B2 (en) 1998-01-06 1998-01-06 Data packet reconstruction method

Country Status (1)

Country Link
JP (1) JP3785781B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003522507A (en) * 2000-02-14 2003-07-22 トムソン ライセンシング ソシエテ アノニム How to send a message that is split into several packets

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003522507A (en) * 2000-02-14 2003-07-22 トムソン ライセンシング ソシエテ アノニム How to send a message that is split into several packets

Also Published As

Publication number Publication date
JP3785781B2 (en) 2006-06-14

Similar Documents

Publication Publication Date Title
US8019963B2 (en) Systems and methods for transferring data in a block-level storage operation
CN100544310C (en) Method, the system and program for the managing memory for data transmission by network
US7373418B2 (en) Wire protocol for a media server system
US7106751B2 (en) Apparatus for linking a SAN with a LAN
US20070291759A1 (en) Apparatus and method of splitting a data stream over multiple transport control protocol/internet protocol (tcp/ip) connections
CN1985492B (en) Method and system for supporting iSCSI read operations and iSCSI chimney
JP5932409B2 (en) Metadata capture for inspecting TCP connections
CN1816014A (en) Addresable queue for communicating correlated messages over a network
US6339794B2 (en) Wire protocol for a media server system
KR20130046540A (en) Data transmitting apparatus and method
US6850962B1 (en) File transfer system and method
JP2001024733A (en) Data transmission equipment
US10990326B2 (en) High-speed replay of captured data packets
KR20050002604A (en) System and method for message-based scalable data transport
US6983334B2 (en) Method and system of tracking missing packets in a multicast TFTP environment
US20050188070A1 (en) Vertical perimeter framework for providing application services
JPH11196132A (en) Data packet reconstitution method
US7010548B2 (en) Sparse and non-sparse data management method and system
KR100605117B1 (en) Method and system for handling WCDMA packet CDR
JP4401910B2 (en) Data communication apparatus and data communication method
KR20000018953A (en) Processor-to-processor message transmitting and receiving device and method in distributed processing system
CN102111403B (en) Method and device for acquiring transmission control protocol (TCP) connection data at high speed
CN115987975A (en) File transmission method, system and computer readable storage medium
CN112395296A (en) Big data archiving method, device, equipment and storage medium
Fredj et al. Rwapi over infiniband: Design and performance

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060313

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090331

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140331

Year of fee payment: 8

EXPY Cancellation because of completion of term