JP2003348152A - Information transmission apparatus and information transmission method - Google Patents

Information transmission apparatus and information transmission method

Info

Publication number
JP2003348152A
JP2003348152A JP2002151793A JP2002151793A JP2003348152A JP 2003348152 A JP2003348152 A JP 2003348152A JP 2002151793 A JP2002151793 A JP 2002151793A JP 2002151793 A JP2002151793 A JP 2002151793A JP 2003348152 A JP2003348152 A JP 2003348152A
Authority
JP
Japan
Prior art keywords
data
packet
terminal
header
request signal
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
Application number
JP2002151793A
Other languages
Japanese (ja)
Inventor
Toshiyuki Tachibana
敏之 橘
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2002151793A priority Critical patent/JP2003348152A/en
Publication of JP2003348152A publication Critical patent/JP2003348152A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information transmission apparatus and a method thereof capable of resuming downloading from the data corresponding to the point of time when data interruption takes place. <P>SOLUTION: A server 1 divides data whose downloading is requested into packets with the number of transmitted packets, generates packets: having a header provided with a data number indicative of the total division number of the divided data and what order number of the data in the total number of data divisions is stored; and containing the data corresponding to the data number, and transmits the packets to a terminal 2. Upon the receipt of a request signal of retransmission transmitted from the terminal 2 for detecting packet missing, the server 1 generates packets provided with a header after the data number of missing packets included in the request signal and retransmits the packets to the terminal. Thus, on the occurrence of data missing such as interrupted downloading of data due to a communication error or the like, the information transmission apparatus can resume downloading from data corresponding to a point of time when data interruption takes place. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば通信エラー
等でデータダウンロードが途絶した場合に、途絶した時
点のデータからダウンロードを再開し得る情報送出装置
および情報送出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information transmission apparatus and an information transmission method capable of restarting download from the data at the time of interruption when data download is interrupted due to, for example, a communication error.

【0002】[0002]

【従来の技術】サーバ・クライアントシステムから構成
され、TCP/IPを用いたインターネット等の通信ネ
ットワークを介してサーバにアクセスしたクライアント
側のダウンロード要求に応じて、そのサーバからクライ
アントへデータを送出する情報送出装置が知られてい
る。具体的には、例えばクライアント側が無線通信機能
を備えた携帯情報端末にて構成される場合、無線通信に
てサーバ(サービスプロバイダ)にダイアルアップ接続
すると、このダイアルアップ接続時のネゴシエーション
にて携帯情報端末にIPアドレスがアサインされる。送
り先(携帯情報端末)のIPアドレスが定まると、サー
バ側は携帯情報端末からのダウンロード要求に応じて、
送り元である自己のIPアドレスと送り先のIPアドレ
スとから形成されるヘッダを有するIPパケットに送出
すべきデータを格納してパケット送信する。サーバから
送出されるIPパケットはIPアドレスに基づきネット
ワーク上でルーティングされて携帯情報端末にダウンロ
ードされる。
2. Description of the Related Art Information which is composed of a server / client system and which sends data from a server to a client in response to a download request from the client accessing the server via a communication network such as the Internet using TCP / IP. Delivery devices are known. Specifically, for example, when the client side is configured by a portable information terminal having a wireless communication function, when a dial-up connection is made to a server (service provider) by wireless communication, the portable information terminal is negotiated during the dial-up connection. An IP address is assigned. When the IP address of the destination (mobile information terminal) is determined, the server responds to the download request from the mobile information terminal,
Data to be transmitted is stored in an IP packet having a header formed from the own IP address of the transmission source and the IP address of the transmission destination, and the packet is transmitted. The IP packet sent from the server is routed on the network based on the IP address and downloaded to the portable information terminal.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述した従
来の情報送出装置では、トランスポート層のプロトコル
であるTCPによって、例えばネットワーク転送中に失
われたIPパケットを再転送するなどして通信品質を維
持するようになっているが、通信エラー等でデータダウ
ンロードが途絶した場合にはダウンロードを最初からや
り直しせねばならず、途絶した時点のデータからダウン
ロードを再開することができない、という問題がある。
そこで本発明は、このような事情に鑑みてなされたもの
で、途絶した時点のデータからダウンロードを再開する
ことができる情報送出装置および情報送出方法を提供す
ることを目的としている。
By the way, in the above-mentioned conventional information transmitting apparatus, the communication quality is improved by, for example, re-transferring an IP packet lost during network transfer by using TCP which is a protocol of a transport layer. However, if the data download is interrupted due to a communication error or the like, the download must be restarted from the beginning, and there is a problem that the download cannot be restarted from the data at the time of the interruption.
The present invention has been made in view of such circumstances, and it is an object of the present invention to provide an information transmission apparatus and an information transmission method capable of restarting download from the data at the time of interruption.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明では、ネットワークを介して
アクセスしてくる端末からの要求に応じて当該端末にデ
ータをダウンロードする装置であって、前記端末からダ
ウンロードが要求されたデータを送出パケット数分に分
割する分割手段と、この分割手段によって分割されたデ
ータの分割総数と、この分割総数中の何番目のデータを
格納しているかを表すデータ番号とを設けたヘッダを有
し、当該データ番号に対応したデータを収納するパケッ
トを形成して前記端末に送出する送出手段と、前記端末
がパケット欠落を検出して送出する要求信号を受信した
場合に、当該要求信号に含まれる欠落パケットのデータ
番号以降のヘッダを備えた前記パケットを形成して再送
出する再送出手段とを具備することを特徴とする。
According to the first aspect of the present invention, there is provided an apparatus for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network. Dividing means for dividing the data requested to be downloaded from the terminal into the number of transmission packets, the total number of data divided by the dividing means, and the number of data stored in the total number of divisions Sending means for forming a packet containing data corresponding to the data number and sending it to the terminal, and a request signal sent by the terminal to detect a packet loss and send the packet to the terminal. Retransmission means for forming and retransmitting the packet having a header subsequent to the data number of the missing packet included in the request signal when receiving Characterized by comprising.

【0005】請求項2に記載の発明では、ネットワーク
を介してアクセスしてくる端末からの要求に応じて当該
端末にデータをダウンロードする方法であって、前記端
末からダウンロードが要求されたデータを送出パケット
数分に分割する分割過程と、この分割過程にて分割され
たデータの分割総数と、この分割総数中の何番目のデー
タを格納しているかを表すデータ番号とを設けたヘッダ
を有し、当該データ番号に対応したデータを収納するパ
ケットを形成して前記端末に送出する送出過程と、前記
端末がパケット欠落を検出して送出する要求信号を受信
した場合に、当該要求信号に含まれる欠落パケットのデ
ータ番号以降のヘッダを備えた前記パケットを形成して
再送出する再送出過程とを具備することを特徴とする。
According to a second aspect of the present invention, there is provided a method of downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, and transmitting the data requested to be downloaded from the terminal. It has a header provided with a dividing step of dividing the number of packets, a total number of data divided in the dividing step, and a data number indicating the number of data in the total number of divisions. A transmission step of forming a packet containing data corresponding to the data number and transmitting the packet to the terminal, and a request signal transmitted from the terminal when the terminal detects a packet loss and included in the request signal. And a retransmission step of forming and retransmitting the packet having a header subsequent to the data number of the missing packet.

【0006】請求項3に記載の発明では、ネットワーク
を介してサーバにアクセスした端末からの要求に応じて
当該サーバから端末にデータをダウンロードする装置で
あって、前記サーバは前記端末からダウンロードが要求
されたデータを送出パケット数分に分割する分割手段
と、この分割手段によって分割されたデータの分割総数
と、この分割総数中の何番目のデータを格納しているか
を表すデータ番号とを設けたヘッダを有し、当該データ
番号に対応したデータを収納するパケットを形成して前
記端末に送出する送出手段と、前記端末がパケット欠落
を検出して送出する要求信号を受信した場合に、当該要
求信号に含まれる欠落パケットのデータ番号以降のヘッ
ダを備えた前記パケットを形成して再送出する再送出手
段とを具備し、前記端末は前記パケットを受信し、その
ヘッダ中の分割総数に対応した記憶領域を確保すると共
に、この記憶領域において前記ヘッダ中のデータ番号に
対応するアドレスエリアに当該パケットに収納されるデ
ータを記憶する記憶手段と、この記憶手段によって記憶
されたデータが前記分割総数分有るかどうかを判断して
パケット欠落の有無を検出し、パケット欠落を検出した
場合に欠落したデータ番号以降のヘッダを備えたパケッ
トの再送出を要求する要求信号を送出する再送出要求手
段とを具備することを特徴とする。
According to a third aspect of the present invention, there is provided an apparatus for downloading data from a server to a terminal in response to a request from a terminal accessing the server via a network, wherein the server requests the terminal to download the data. Dividing means for dividing the divided data into the number of transmission packets, a total number of data divided by the dividing means, and a data number indicating the number of data in the total number of divisions is stored. Sending means for forming a packet containing data corresponding to the data number and sending the data to the terminal; and when the terminal receives a request signal for detecting and transmitting a packet loss, the requesting means sends the request to the terminal. Retransmission means for forming and retransmitting the packet having a header subsequent to the data number of the missing packet included in the signal, The end receives the packet, secures a storage area corresponding to the total number of divisions in the header, and stores data contained in the packet in an address area corresponding to the data number in the header in this storage area. A storage means for determining whether or not the data stored by the storage means is equal to the total number of divisions, detecting the presence or absence of a packet loss, and detecting a packet loss; And retransmission request means for transmitting a request signal for requesting retransmission.

【0007】請求項4に記載の発明では、ネットワーク
を介してサーバにアクセスした端末からの要求に応じて
当該サーバから端末にデータをダウンロードする方法で
あって、前記サーバでは前記端末からダウンロードが要
求されたデータを送出パケット数分に分割する分割過程
と、この分割過程にて分割されたデータの分割総数と、
この分割総数中の何番目のデータを格納しているかを表
すデータ番号とを設けたヘッダを有し、当該データ番号
に対応したデータを収納するパケットを形成して前記端
末に送出する送出過程と、前記端末がパケット欠落を検
出して送出する要求信号を受信した場合に、当該要求信
号に含まれる欠落パケットのデータ番号以降のヘッダを
備えた前記パケットを形成して再送出する再送出過程と
を具備し、前記端末では前記パケットを受信し、そのヘ
ッダ中の分割総数に対応した記憶領域を確保すると共
に、この記憶領域において前記ヘッダ中のデータ番号に
対応するアドレスエリアに当該パケットに収納されるデ
ータを記憶する記憶過程と、この記憶過程にて記憶され
たデータが前記分割総数分有るかどうかを判断してパケ
ット欠落の有無を検出し、パケット欠落を検出した場合
に欠落したデータ番号以降のヘッダを備えたパケットの
再送出を要求する要求信号を送出する再送出要求過程と
を具備することを特徴とする。
According to a fourth aspect of the present invention, there is provided a method of downloading data from a server to a terminal in response to a request from a terminal accessing the server via a network, wherein the server requests download from the terminal. Dividing the divided data into the number of transmission packets, the total number of divided data in the dividing process,
A transmission step of forming a packet containing data corresponding to the data number and having the header provided with a data number indicating the number of data in the total number of divisions, and transmitting the packet to the terminal; A retransmission step of, when the terminal receives a request signal to detect and transmit a packet loss and forming the packet with a header subsequent to the data number of the missing packet included in the request signal, and retransmitting the packet. The terminal receives the packet, secures a storage area corresponding to the total number of divisions in the header, and stores the packet in the address area corresponding to the data number in the header in the storage area. A storage step of storing data to be stored, and determining whether or not the data stored in the storage step is equal to the total number of divisions to determine whether there is a packet loss. And, characterized by comprising a re-transmission request process for transmitting a request signal for requesting re-transmission of packets with missing data number after the header if it detects a packet loss.

【0008】上記請求項3に従属する請求項5に記載の
発明では、前記記憶手段は前記サーバから再送出される
パケットを受信した場合、そのヘッダ中のデータ番号に
対応するアドレスエリアから順番に当該パケットに収納
されるデータを格納することを特徴とする。
[0008] In the invention according to claim 5 which depends on claim 3, when the storage means receives a packet retransmitted from the server, the storage means sequentially starts from the address area corresponding to the data number in the header. Data stored in the packet is stored.

【0009】上記請求項4に従属する請求項6に記載の
発明では、前記記憶過程は前記サーバから再送出される
パケットを受信した場合、そのヘッダ中のデータ番号に
対応するアドレスエリアから順番に当該パケットに収納
されるデータを格納することを特徴とする。
[0009] In the invention according to claim 6 dependent on claim 4, when the packet retransmitted from the server is received, the storing step sequentially starts from the address area corresponding to the data number in the header. Data stored in the packet is stored.

【0010】請求項7に記載の発明では、ネットワーク
を介してアクセスしてくる端末からの要求に応じて当該
端末にデータをダウンロードする装置であって、前記端
末からダウンロードが要求されたデータを送出パケット
数分に分割する分割手段と、この分割手段によって分割
されたデータの分割総数と、この分割総数中の何番目の
データを格納しているかを表すデータ番号とを設けたヘ
ッダを有し、当該データ番号に対応したデータを収納す
るパケットを形成して前記端末に送出する送出手段と、
前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号のヘッダを備えた前記パケットを形成して
再送出する再送出手段とを具備することを特徴とする。
According to a seventh aspect of the present invention, there is provided an apparatus for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, and transmitting the data requested to be downloaded from the terminal. A dividing unit for dividing the packet into the number of packets, a header provided with a total number of data divided by the dividing unit, and a data number indicating the number of data in the total number of divisions, Sending means for forming a packet containing data corresponding to the data number and sending the packet to the terminal;
When the terminal detects a packet loss and receives a request signal to be transmitted, the terminal includes a packet having a header of the data number of the missing packet included in the request signal and retransmits the packet. It is characterized by doing.

【0011】請求項8に記載の発明では、ネットワーク
を介してアクセスしてくる端末からの要求に応じて当該
端末にデータをダウンロードする方法であって、前記端
末からダウンロードが要求されたデータを送出パケット
数分に分割する分割過程と、この分割過程にて分割され
たデータの分割総数と、この分割総数中の何番目のデー
タを格納しているかを表すデータ番号とを設けたヘッダ
を有し、当該データ番号に対応したデータを収納するパ
ケットを形成して前記端末に送出する送出過程と、前記
端末がパケット欠落を検出して送出する要求信号を受信
した場合に、当該要求信号に含まれる欠落パケットのデ
ータ番号のヘッダを備えた前記パケットを形成して再送
出する再送出過程とを具備することを特徴とする。
[0011] The invention according to claim 8 is a method for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, and transmitting the data requested to be downloaded from the terminal. It has a header provided with a dividing step of dividing the number of packets, a total number of data divided in the dividing step, and a data number indicating the number of data in the total number of divisions. A transmission step of forming a packet containing data corresponding to the data number and transmitting the packet to the terminal, and a request signal transmitted from the terminal when the terminal detects a packet loss and included in the request signal. Retransmitting the packet with the header of the data number of the missing packet and retransmitting the packet.

【0012】本発明では、端末からダウンロードが要求
されたデータを送出パケット数分に分割し、分割された
データの分割総数およびこの分割総数中の何番目のデー
タを格納しているかを表すデータ番号を設けたヘッダを
有し、当該データ番号に対応したデータを収納するパケ
ットを形成して端末側に送出する。そして、パケット欠
落を検出して端末側が送出する要求信号を受信すると、
この要求信号に含まれる欠落パケットのデータ番号以降
のヘッダを備えた前記パケットを形成して端末側に再送
出する。したがって、通信エラー等でデータダウンロー
ドが途絶した場合など、途絶した時点のデータからダウ
ンロードを再開することが可能になり、従来のようにダ
ウンロードを最初からやり直しするという弊害を解消で
きる。
In the present invention, the data requested to be downloaded from the terminal is divided into the number of packets to be transmitted, and the total number of the divided data and the data number indicating the number of data in the total number of divisions are stored. And a packet containing data corresponding to the data number is formed and transmitted to the terminal. Then, upon detecting a packet loss and receiving a request signal transmitted by the terminal side,
The packet including a header subsequent to the data number of the missing packet included in the request signal is formed and retransmitted to the terminal. Therefore, when the data download is interrupted due to a communication error or the like, the download can be restarted from the data at the time of the interruption, and the problem of restarting the download from the beginning as in the related art can be solved.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の実
施の一形態について説明する。 (1)構成 図1は実施の一形態による情報送出装置の概略構成を示
す図である。この図に示す情報送出装置は、いわゆるサ
ーバ・クライアントシステムから構成されており、イン
ターネット等のネットワークNTを介して互いに接続さ
れるサーバ1および端末2からなる。
Embodiments of the present invention will be described below with reference to the drawings. (1) Configuration FIG. 1 is a diagram showing a schematic configuration of an information transmitting apparatus according to an embodiment. The information transmission device shown in this figure is constituted by a so-called server-client system, and comprises a server 1 and a terminal 2 connected to each other via a network NT such as the Internet.

【0014】サーバ1はアクセス認証された端末2から
のダウンロード要求に応じて、指定されたコンテンツの
データを端末2側へダウンロードする。ダウンロードに
際して、サーバ1は図2に図示する構造のパケットを形
成する。この図に示すパケットは、ヘッダHDとデータ
本体DATAとから構成される。ヘッダHDは、前述し
た従来のIPパケットと同様、送り元のIPアドレスお
よび送り先のIPアドレス等を具備する他、データ番号
IPおよび分割総数TOTALを備えることを特徴とす
る。ここで、分割総数TOTALは、端末2側にダウン
ロードするデータをパケット分割する際の分割総数(パ
ケット総数)を表す。データ番号IPは、各パケットに
格納されるデータ本体DATAが、分割総数TOTAL
で表される分割総数中の何番目のデータであるかを表
す。
The server 1 downloads data of the designated content to the terminal 2 in response to a download request from the terminal 2 whose access has been authenticated. Upon downloading, the server 1 forms a packet having the structure shown in FIG. The packet shown in this figure is composed of a header HD and a data body DATA. The header HD is characterized in that it has a source IP address, a destination IP address, and the like, as well as a data number IP and a total number of divisions TOTAL, similarly to the above-described conventional IP packet. Here, the total number of divisions TOTAL represents the total number of divisions (the total number of packets) when dividing the data to be downloaded to the terminal 2 into packets. The data number IP is such that the data body DATA stored in each packet is the total number of divisions TOTAL.
Represents the number of data in the total number of divisions represented by.

【0015】端末2は、周知のWebブラウザを備えた
パーソナルコンピュータから構成され、ネットワークN
Tを経由してサーバ2にアクセスしてダウンロード要求
を送出する。また、端末2は通信エラー等でデータダウ
ンロードが途絶した場合、途絶直前に受信したパケット
中のデータ番号IPおよび分割総数TOTALを参照
し、途絶以後のパケットを再ダウンロードするようサー
バ1に要求する。これにより、サーバ1は途絶した時点
のデータからダウンロードを再開し得るようになる。な
お、端末2はパーソナルコンピュータに限らず、例えば
ブラウザ機能を備えた携帯電話や無線携帯端末であって
も構わず、その場合、無線接続する接続業者3を経由し
てネットワークNTに接続する形態となる。
The terminal 2 is composed of a personal computer equipped with a well-known Web browser.
It accesses the server 2 via T and sends out a download request. Further, when the data download is interrupted due to a communication error or the like, the terminal 2 refers to the data number IP and the total number TOTAL in the packet received immediately before the interruption, and requests the server 1 to redownload the packet after the interruption. Thereby, the server 1 can resume the download from the data at the time of the interruption. Note that the terminal 2 is not limited to a personal computer, and may be, for example, a mobile phone or a wireless mobile terminal having a browser function. In this case, the terminal 2 is connected to the network NT via a wireless connection company 3. Become.

【0016】(2)動作 次に、図3〜図7を参照して情報送出装置の動作につい
て説明する。以下では、最初にシーケンスフローを参照
して全体動作の概略について述べた後、サーバ1が実行
する「データ送信処理」、端末2が実行する「データ記
憶処理」および「データ確認処理」の各動作について詳
述する。
(2) Operation Next, the operation of the information transmitting apparatus will be described with reference to FIGS. In the following, first, an outline of the overall operation will be described with reference to a sequence flow, and then each operation of a “data transmission process” executed by the server 1, a “data storage process” and a “data confirmation process” executed by the terminal 2 Will be described in detail.

【0017】全体動作 まず、端末2がネットワークNTを介してサーバ1にア
クセスすべく接続要求を発生したとする(図3のステッ
プSA1)。すると、サーバ1は端末2との接続を確立
し(ステップSA2)、両者の通信が開設されると、端
末2はユーザIDやパスワードを含むアクセス認証デー
タをサーバ1側へ送信する(ステップSA3)。これに
てサーバ1は、ステップSA4に処理を進めてアクセス
認証を行い、正規ユーザと認証した場合には次のステッ
プSA5に進み、Webページに相当するメニュー画面
を作成し、それを接続要求してきた端末2に送出する。
Overall Operation First, it is assumed that the terminal 2 issues a connection request to access the server 1 via the network NT (step SA1 in FIG. 3). Then, the server 1 establishes a connection with the terminal 2 (step SA2). When communication between the two is established, the terminal 2 transmits access authentication data including a user ID and a password to the server 1 (step SA3). . Thus, the server 1 proceeds to step SA4 to perform access authentication, and when authenticated as an authorized user, proceeds to the next step SA5, creates a menu screen corresponding to a Web page, and requests connection thereof. And sends it to the terminal 2.

【0018】すると、端末2はステップSA6に処理を
進め、受信したメニュー画面を画面表示する。このメニ
ュー画面とは、例えばダウンロード可能なコンテンツの
データを一覧表示し、その内からダウンロードを所望す
るデータを選択してダウンロード要求を発生するアイコ
ン等を備える。そして、このメニュー画面においてダウ
ンロードするデータを選択し(ステップSA7)、ダウ
ンロード要求を発生するアイコンをクリックすると、ス
テップSA8の判断結果が「YES」となり、ステップ
SA9に進む。ステップSA9では、ダウンロード要求
信号を発生してサーバ1側へ送出する。すると、サーバ
1では、ステップSA10において、例えばダウンロー
ド要求されたコンテンツのデータをデータベースから抽
出するなどして、ダウンロードすべきデータを指定す
る。
Then, the terminal 2 advances the process to step SA6, and displays the received menu screen on the screen. The menu screen includes, for example, an icon for displaying a list of downloadable content data, selecting data to be downloaded from the list, and generating a download request. Then, data to be downloaded is selected on this menu screen (step SA7), and when an icon for generating a download request is clicked, the result of the determination in step SA8 becomes "YES" and the flow proceeds to step SA9. At step SA9, a download request signal is generated and transmitted to the server 1. Then, in step SA10, the server 1 specifies data to be downloaded, for example, by extracting data of the content requested to be downloaded from the database.

【0019】次いで、サーバ1では図4に示すステップ
SA11に進み、ダウンロードするデータを図2に図示
した構造のパケットに分割して送出するデータ送信処理
(後述する)を実行する。サーバ1がダウンロードを開
始すると、端末2ではダウンロードの有無を判断するス
テップSA12の判断結果が「YES」となり、ステッ
プSA13に処理を進め、ダウンロードされたデータを
受信してメモリに格納するデータ記憶処理(後述する)
を実行する。この後、端末2はステップSA14に進
み、ダウンロードが終了したかどうかを判断する。ダウ
ンロード中であれば、判断結果は「NO」となり、ステ
ップSA12に処理を戻す。
Next, the server 1 proceeds to step SA11 shown in FIG. 4, and executes a data transmission process (described later) for dividing the data to be downloaded into packets having the structure shown in FIG. When the server 1 starts the download, the result of the determination in step SA12 for determining whether or not there is a download in the terminal 2 is "YES", the process proceeds to step SA13, and the data storage process for receiving the downloaded data and storing it in the memory. (Described later)
Execute Thereafter, the terminal 2 proceeds to step SA14, and determines whether the download has been completed. If downloading is in progress, the determination result is “NO”, and the process returns to step SA12.

【0020】以後、端末2はダウンロードが終了するま
でステップSA12〜SA13を繰り返す。そして、ダ
ウンロードが終了すると、ステップSA14の判断結果
が「YES」となり、ステップSA15に処理を進め、
全パケット分のデータをメモリに格納したかどうかを確
認するデータ確認処理(後述する)を実行した後、その
他の処理に移行する。なお、ここで言うその他の処理と
は、例えばダウンロードしたデータがMIDIデータな
どの楽曲データである場合、そのダウンロードした楽曲
データを再生する処理などを指す。
Thereafter, the terminal 2 repeats steps SA12 to SA13 until the download is completed. When the download is completed, the determination result of step SA14 becomes "YES", and the process proceeds to step SA15.
After executing data confirmation processing (described later) for confirming whether data for all packets has been stored in the memory, the processing shifts to other processing. Note that the other processing here refers to, for example, when the downloaded data is music data such as MIDI data, a process of reproducing the downloaded music data.

【0021】上記ステップSA15にて実行されるデー
タ確認処理では、後述するように、受信したパケット中
のデータ番号IPおよび分割総数TOTALを参照して
全パケット分のデータがダウンロードされているか否か
を確認しており、全パケット分のデータダウンロードを
確認した場合にはOK信号をサーバ1側へ送出する。一
方、例えば通信エラー等でデータダウンロードが途絶し
てしまい、これによりパケット欠落が生じた場合にはそ
の欠落したパケット以降の再送出を要求する要求信号を
サーバ1側へ送出する。
In the data confirmation process executed in step SA15, as described later, it is determined whether or not data for all packets has been downloaded with reference to the data number IP and the total number TOTAL in the received packet. If the data download for all packets has been confirmed, an OK signal is sent to the server 1 side. On the other hand, if the data download is interrupted due to, for example, a communication error and the packet is lost, a request signal requesting retransmission of the packet after the lost packet is transmitted to the server 1 side.

【0022】サーバ1では、上述したステップSA11
のデータ送信処理にて全パケットを送出してダウンロー
ドが終了すると、ステップSA16に処理を進め、端末
2側からの応答、すなわち、データ確認処理(ステップ
SA15)にて生成されるOK信号もしくは要求信号を
ステップSA16にて受信する。続いて、ステップSA
17では受信した信号がOK信号もしくは要求信号のい
ずれであるかを判断する。ここで、OK信号を受信した
場合には正常にダウンロードが行われたとしてその他の
処理に移行する。一方、要求信号を受信した場合には、
ステップSA11に処理を戻し、その要求信号に応じて
欠落パケット以降を再送出する。したがって、通信エラ
ー等でデータダウンロードが途絶した場合など、途絶し
た時点のデータからダウンロードを再開することが可能
になり、従来のようにダウンロードを最初からやり直し
するという弊害を解消することが可能になっている。
In the server 1, the above described step SA11
When all the packets are transmitted and the download is completed in the data transmission process, the process proceeds to step SA16, and the response from the terminal 2 side, that is, the OK signal or the request signal generated in the data confirmation process (step SA15) Is received in step SA16. Then, step SA
At 17, it is determined whether the received signal is an OK signal or a request signal. Here, when the OK signal is received, it is determined that the download has been normally performed, and the process proceeds to another process. On the other hand, when the request signal is received,
The process returns to step SA11, and retransmits the packet after the missing packet in response to the request signal. Therefore, when the data download is interrupted due to a communication error or the like, the download can be restarted from the data at the time of the interruption, and the adverse effect of restarting the download from the beginning as in the related art can be solved. ing.

【0023】データ送信処理の動作 次に、図5を参照してデータ送信処理の動作について説
明する。前述したステップSA11(図4参照)を介し
てデータ送信処理が実行されると、サーバ1は図5に示
すステップSB1に処理を進める。ステップSB1で
は、端末2のダウンロード要求によって指定されたデー
タを送出パケット数分に分割する。次いで、ステップS
B2では、その分割数をレジスタTOTALにストア
し、続くステップSB3では、レジスタIPに初期値
「1」をストアする。次に、ステップSB4では、上記
ステップSB1にて送出パケット数分に分割されたデー
タの内、レジスタIPの値に対応したIP番目のデータ
をデータ本体DATAとし、これに送り元のIPアドレ
スおよび送り先のIPアドレス等を具備するヘッダHD
を付加する。
Next, the operation of the data transmission process will be described with reference to FIG. When the data transmission processing is executed via the above-described step SA11 (see FIG. 4), the server 1 advances the processing to step SB1 shown in FIG. In step SB1, the data specified by the download request from the terminal 2 is divided into the number of transmission packets. Then, step S
In B2, the division number is stored in the register TOTAL, and in the next step SB3, the initial value “1” is stored in the register IP. Next, in step SB4, of the data divided into the number of packets to be transmitted in step SB1, the IP-th data corresponding to the value of the register IP is used as the data body DATA, and the IP address of the source and the destination HD with IP address etc.
Is added.

【0024】そして、ステップSB5では、ヘッダHD
中のデータ番号IP、分割総数TOTALにそれぞれレ
ジスタIP、レジスタTOTALの各値をコピーして図
2に図示した構造のパケットを形成する。こうしてパケ
ット形成が行われると、サーバ1はステップSB6に処
理を進め、その形成したパケットを送出する。パケット
を送出し終えると、サーバ1はステップSB7に進み、
レジスタIPの値(データ番号IP)をインクリメント
して歩進させる。次いで、ステップSB8では、歩進さ
れたレジスタIPの値がレジスタTOTALの値を超え
たか否か、つまり全パケットを送出し終えたかどうかを
判断する。送出し終えていなければ、判断結果は「N
O」となり、上述したステップSB4〜SB7を繰り返
し実行し、歩進させたデータ番号IPに対応したパケッ
トを順次形成して送出して行く。そして、全パケットを
送出し終えると、ステップSB8の判断結果が「YE
S」となり、前述したステップSA16(図4参照)に
処理を進めて本処理を完了させる。
Then, in step SB5, the header HD
The value of the register IP and the value of the register TOTAL are copied to the data number IP and the total number TOTAL, respectively, to form a packet having the structure shown in FIG. When the packet formation is performed in this way, the server 1 advances the process to step SB6, and sends out the formed packet. After completing the transmission of the packet, the server 1 proceeds to step SB7,
The value of the register IP (data number IP) is incremented to advance. Next, in step SB8, it is determined whether or not the incremented value of the register IP has exceeded the value of the register TOTAL, that is, whether or not all packets have been transmitted. If the transmission has not been completed, the judgment result is “N
O ", and the above-described steps SB4 to SB7 are repeatedly executed to sequentially form and transmit packets corresponding to the incremented data number IP. When all the packets have been transmitted, the result of the determination in step SB8 is “YE
S ”, the process proceeds to step SA16 (see FIG. 4) described above, and the present process is completed.

【0025】ところで、こうしたデータ送信処理にて端
末2側にダウンロードが行われている時に、例えば通信
エラー等でダウンロードが途絶した場合、端末2側では
後述するデータ確認処理において欠落したパケット以降
の再送出を要求する要求信号をサーバ1側に送出する。
サーバ1では、この要求信号を受信すると、データ送信
処理のステップSB9に処理を進め、受信した要求信号
から欠落したパケットのデータ番号を抽出してレジスタ
IPにストアする。この後、上述したステップSB4〜
SB8を実行し、欠落したパケット以降を形成して端末
2側に再ダウンロードする。
If the download is interrupted due to, for example, a communication error while the data is being downloaded to the terminal 2 in the data transmission processing, the terminal 2 retransmits the data after the packet lost in the data confirmation processing described later. An outgoing request signal is sent to the server 1 side.
Upon receiving this request signal, the server 1 proceeds to step SB9 of the data transmission process, extracts the data number of the missing packet from the received request signal, and stores it in the register IP. Thereafter, steps SB4 to SB4 described above are performed.
SB8 is executed to form the packet after the missing packet and download it to the terminal 2 again.

【0026】データ記憶処理の動作 次に、図6を参照してデータ記憶処理の動作について説
明する。前述したステップSA13(図4参照)を介し
てデータ記憶処理が実行されると、端末2は図6に示す
ステップSC1に処理を進める。ステップSC1では、
受信したパケット中のヘッダHDに含まれるチェックサ
ムに基づきデータ本体DATAに誤りが有るか否かを判
断する。誤りがあると、判断結果は「NO」となり、何
もせずに本処理を完了させるが、誤りがなければ、判断
結果が「YES」となり、次のステップSC2に進む。
Next, the operation of the data storage process will be described with reference to FIG. When the data storage processing is executed through step SA13 (see FIG. 4) described above, terminal 2 advances the processing to step SC1 shown in FIG. In step SC1,
It is determined whether or not there is an error in the data body DATA based on the checksum included in the header HD in the received packet. If there is an error, the determination result is “NO”, and this processing is completed without doing anything. However, if there is no error, the determination result is “YES”, and the flow advances to next Step SC2.

【0027】ステップSC2では、最初に受信されたデ
ータか否か、つまり、受信したパケットのヘッダHDに
含まれるデータ番号IPの値が「1」であるかどうかを
判断する。最初に受信されたデータであると、判断結果
は「YES」となり、次のステップSC3に処理を進め
るが、最初に受信されたデータでなければ、判断結果が
「NO」となり、後述のステップSC5に進む。ステッ
プSC3では、受信したパケットのヘッダHDから分割
総数TOTALを読み出し、続くステップSC4では、
その分割総数TOTALに対応した記憶エリアをメモリ
に確保する。次いで、ステップSC5ではヘッダHDか
らデータ番号IPを読み出す。そして、ステップSC6
では、メモリに確保された記憶エリアにおいて、データ
番号IPに対応するアドレスエリアに、受信したパケッ
トから抽出したデータ本体DATAをストアして本処理
を完了させる。
In step SC2, it is determined whether or not the data is the first received data, that is, whether the value of the data number IP included in the header HD of the received packet is "1". If it is the first received data, the determination result is "YES", and the process proceeds to the next step SC3. If it is not the first received data, the determination result is "NO", and a later-described step SC5 Proceed to. In step SC3, the total number TOTAL is read from the header HD of the received packet. In subsequent step SC4,
A storage area corresponding to the total number TOTAL is secured in the memory. Next, at step SC5, the data number IP is read from the header HD. Then, Step SC6
Then, in the storage area secured in the memory, the data body DATA extracted from the received packet is stored in the address area corresponding to the data number IP, and this processing is completed.

【0028】データ確認処理の動作 次に、図7を参照してデータ確認処理の動作について説
明する。前述したステップSA15(図4参照)を介し
てデータ確認処理が実行されると、端末2は図7に示す
ステップSD1に処理を進める。ステップSD1では、
データ番号IPに対応するポインタを一時記憶するレジ
スタm(以後、ポインタmと称す)に初期値「1」をス
トアする。ステップSD2では、このポインタmに対応
するアドレスエリアにデータが格納されているか否か、
つまりポインタmに対応するデータ番号IPのデータ本
体DATAがメモリにダウンロードされているかどうか
を判断する。メモリにダウンロードされていると、判断
結果は「YES」となり、ステップSD3に進み、ポイ
ンタmを歩進させる。
Next, the operation of the data confirmation process will be described with reference to FIG. When the data confirmation processing is executed via the above-described step SA15 (see FIG. 4), the terminal 2 advances the processing to step SD1 shown in FIG. In step SD1,
An initial value "1" is stored in a register m (hereinafter, referred to as a pointer m) for temporarily storing a pointer corresponding to the data number IP. In step SD2, it is determined whether or not data is stored in the address area corresponding to the pointer m.
That is, it is determined whether or not the data body DATA of the data number IP corresponding to the pointer m has been downloaded to the memory. If it has been downloaded to the memory, the result of the determination is "YES" and the operation proceeds to step SD3 to increment the pointer m.

【0029】そして、ステップSD4では、歩進された
ポインタmが分割総数TOTALを超えたか否かを判断
する。ポインタmが分割総数TOTALを超えていなけ
れば、判断結果が「NO」となり、上述したステップS
D2に処理を戻す。以後、ポインタmが分割総数TOT
ALを超える迄、ポインタmを歩進する毎に、そのポイ
ンタmに対応するデータ番号IPのデータ本体DATA
がメモリにダウンロードされているかどうかを判断す
る。全パケット分のデータ本体DATAがメモリにダウ
ンロードされていることが確認されると、ステップSD
4の判断結果が「YES」となり、ステップSD5に進
み、正常にダウンロードが完了した旨を表すOK信号を
サーバ1側へ送出して本処理を完了させる。
In step SD4, it is determined whether or not the incremented pointer m has exceeded the total number TOTAL. If the pointer m does not exceed the total number TOTAL, the determination result is “NO”, and the above-described step S
The process returns to D2. Thereafter, the pointer m indicates the total number of divisions TOT.
Each time the pointer m is incremented until it exceeds AL, the data body DATA of the data number IP corresponding to the pointer m
To determine if has been downloaded to memory. When it is confirmed that the data body DATA for all the packets has been downloaded to the memory, step SD
The result of the determination at step 4 is "YES", the process proceeds to step SD5, and an OK signal indicating that the download has been completed normally is sent to the server 1 to complete this processing.

【0030】一方、ポインタmが分割総数TOTALを
超える以前に、そのポインタmに対応するアドレスエリ
アにデータが無い場合、つまりパケット欠落を検出した
場合にはステップSD2の判断結果が「NO」となり、
ステップSD6に処理を進める。ステップSD6では、
ポインタmに対応するデータ番号IPのパケット以降を
再送出するよう要求する要求信号をサーバ1側へ送出す
る。これにより、サーバ1では、前述したデータ送信処
理(図5参照)にて欠落したパケット以降を形成して端
末2側に再ダウンロードする。再ダウンロードされたデ
ータは、前述したデータ記憶処理(図6参照)にてデー
タ番号IPに対応するアドレスエリアから順次格納され
る。
On the other hand, if there is no data in the address area corresponding to the pointer m before the pointer m exceeds the total number TOTAL, that is, if a packet loss is detected, the determination result in step SD2 becomes "NO",
The process proceeds to Step SD6. In step SD6,
A request signal is sent to the server 1 requesting retransmission of the packet with the data number IP corresponding to the pointer m. Thereby, the server 1 forms the packet after the packet lost in the data transmission processing (see FIG. 5) described above and re-downloads it to the terminal 2 side. The re-downloaded data is sequentially stored from the address area corresponding to the data number IP in the above-described data storage processing (see FIG. 6).

【0031】(3)変形例 次に、図8〜図9を参照して上述した実施の一形態の変
形例について説明する。これらの図に示されるフローチ
ャートにおいて、上述した実施の一形態と共通するステ
ップ(処理)には同一の符号を付し、その説明を省略す
る。変形例が上述の実施の一形態と相違する点は、端末
2側からの要求信号を受信した場合にサーバ1が図8に
示すステップSA18〜SA21にて欠落したパケット
のみを形成して端末2側に再ダウンロードすることにあ
る。
(3) Modified Example Next, a modified example of the above-described embodiment will be described with reference to FIGS. In the flowcharts shown in these drawings, steps (processes) common to the above-described embodiment are denoted by the same reference numerals, and description thereof will be omitted. The difference of the modified example from the above-described embodiment is that when the server 1 receives the request signal from the terminal 2 side, the server 1 forms only the packet which is lost in steps SA18 to SA21 shown in FIG. Side to re-download.

【0032】すなわち、端末2側からのダウンロード要
求に従い、サーバ1が図8のステップSA11を介して
図9に図示するデータ送信処理を実行すると、前述した
ステップSB1〜SB8にてダウンロードするデータを
図2に図示した構造のパケットに分割して送出する。こ
れにより、端末2側ではダウンロードされたデータを受
信してメモリに格納するデータ記憶処理を実行し(ステ
ップSA13)、続いて、ダウンロードが終了すると、
全パケット分のデータがダウンロードされたかどうかを
確認するデータ確認処理を実行する(ステップSA1
5)。そして、例えば通信エラー等によりパケット欠落
が生じた場合には、その欠落したパケットの再送出を要
求する要求信号をサーバ1側へ送出する。
That is, when the server 1 executes the data transmission process shown in FIG. 9 through the step SA11 in FIG. 8 in accordance with the download request from the terminal 2, the data to be downloaded in steps SB1 to SB8 described above The packet is divided into packets having the structure shown in FIG. As a result, the terminal 2 executes the data storage process of receiving the downloaded data and storing it in the memory (step SA13).
A data confirmation process for confirming whether data for all packets has been downloaded is executed (step SA1).
5). For example, when a packet is lost due to a communication error or the like, a request signal requesting retransmission of the lost packet is transmitted to the server 1 side.

【0033】要求信号を受信すると、サーバ1は図8に
示すステップSA18に処理を進め、受信した要求信号
から欠落したパケットのデータ番号を抽出してレジスタ
IPにストアする。次いで、ステップSA19では、レ
ジスタIPの値に対応したIP番目のデータをデータ本
体DATAとし、これに送り元のIPアドレスおよび送
り先のIPアドレス等を具備するヘッダHDを付加す
る。次に、ステップSA20では、ヘッダHD中のデー
タ番号IP、分割総数TOTALにそれぞれレジスタI
P、レジスタTOTALの各値をコピーして図2に図示
した構造のパケットを形成する。そして、ステップSA
21に進み、形成したパケットを端末2側に送出する。
このように、変形例では、端末2がパケット欠落を検出
し、その欠落したパケットの再送出を要求する要求信号
を発生すると、サーバ1がその要求信号に応じて該当す
るパケットだけを再ダウンロードするので、パケット単
位で再ダウンロードすることが可能になる。
Upon receiving the request signal, the server 1 proceeds to step SA18 shown in FIG. 8, extracts the data number of the missing packet from the received request signal, and stores it in the register IP. Next, in step SA19, the IP-th data corresponding to the value of the register IP is used as the data body DATA, and a header HD including a source IP address and a destination IP address is added thereto. Next, in step SA20, the data number IP in the header HD and the total number TOTAL are set in the register I, respectively.
P and the values of the register TOTAL are copied to form a packet having the structure shown in FIG. And step SA
Proceed to 21 and send the formed packet to the terminal 2 side.
As described above, in the modified example, when the terminal 2 detects a packet loss and generates a request signal requesting retransmission of the lost packet, the server 1 redownloads only the corresponding packet according to the request signal. Therefore, it is possible to re-download in packet units.

【0034】以上説明したように、本実施の形態によれ
ば、端末2からダウンロード要求されたデータをサーバ
1が送出パケット数分に分割し、その分割総数を表す分
割総数TOTALと、この分割総数TOTAL中の何番
目のデータを格納しているかを表すデータ番号IPとを
ヘッダHDに設けたパケットを形成し、それをダウンロ
ードを要求した端末2に送出すると、このパケットを受
信した端末2では、ヘッダHDから抽出した分割総数T
OTALに対応した記憶エリアをメモリに確保すると共
に、ヘッダHDから抽出したデータ番号IPに対応する
アドレスエリアに、当該パケット中のデータ本体DAT
Aを格納する。
As described above, according to the present embodiment, the server 1 divides the data requested to be downloaded from the terminal 2 into the number of packets to be transmitted, the total number TOTAL representing the total number of divisions, and the total number TOTAL. When a packet in which the data number IP indicating the number of data in the TOTAL is stored is provided in the header HD and the packet is transmitted to the terminal 2 that has requested the download, the terminal 2 that has received the packet, Total number of divisions T extracted from header HD
A memory area corresponding to the OTAL is secured in the memory, and the data body DAT in the packet is stored in the address area corresponding to the data number IP extracted from the header HD.
A is stored.

【0035】そして、メモリに格納したデータ本体DA
TAが分割総数TOTAL分有るかどうかを判断し、パ
ケット欠落を検出した場合には欠落したデータ番号IP
のパケット以降を再送出するよう要求する要求信号をサ
ーバ1側へ送出する。すると、サーバ1はその要求信号
に応じて欠落したパケット以降を形成して端末2側に再
ダウンロードする。これにより、通信エラー等でデータ
ダウンロードが途絶した場合など、途絶した時点のデー
タからダウンロードを再開することが可能になり、従来
のようにダウンロードを最初からやり直しするという弊
害を解消することができる。
Then, the data body DA stored in the memory
It is determined whether or not TA is equal to the total number TOTAL, and if a packet loss is detected, the lost data number IP
A request signal for requesting retransmission of the packet after is transmitted to the server 1 side. Then, the server 1 forms the packet after the missing packet in response to the request signal and re-downloads it to the terminal 2 side. As a result, when data download is interrupted due to a communication error or the like, the download can be restarted from the data at the time of the interrupt, and the adverse effect of restarting the download from the beginning as in the related art can be solved.

【0036】また、本実施の形態では、サーバ1から端
末2に再ダウンロードされたデータは、データ番号IP
に対応するアドレスエリアから順番に格納するようにし
たので、欠落したパケット以降のデータを欠落以前のデ
ータに連続してメモリ保存することが可能になる。さら
に、上述した変形例によれば、端末2がパケット欠落を
検出し、その欠落したパケットの再送出を要求する要求
信号を発生すると、サーバ1がその要求信号に応じて該
当するパケットだけを再ダウンロードするので、パケッ
ト単位で再ダウンロードすることができる。
In this embodiment, the data re-downloaded from the server 1 to the terminal 2 has the data number IP
Is stored in order from the address area corresponding to the data, so that the data after the lost packet can be stored in the memory continuously with the data before the loss. Further, according to the above-described modified example, when the terminal 2 detects a packet loss and generates a request signal for requesting retransmission of the lost packet, the server 1 repeats only the packet corresponding to the request signal. Since downloading is performed, it can be re-downloaded in packet units.

【0037】[0037]

【発明の効果】請求項1,2に記載の発明によれば、端
末からダウンロードが要求されたデータを送出パケット
数分に分割し、分割されたデータの分割総数およびこの
分割総数中の何番目のデータを格納しているかを表すデ
ータ番号を設けたヘッダを有し、当該データ番号に対応
したデータを収納するパケットを形成して端末側に送出
する。そして、パケット欠落を検出して端末側が送出す
る要求信号を受信すると、この要求信号に含まれる欠落
パケットのデータ番号以降のヘッダを備えた前記パケッ
トを形成して端末側に再送出するので、通信エラー等で
データダウンロードが途絶した場合など、従来のように
ダウンロードを最初からやり直しする必要がなくなり、
途絶した時点のデータからダウンロードを再開すること
ができる。請求項3,4に記載の発明では、端末からの
ダウンロード要求に応じて、サーバが要求されたデータ
を送出パケット数分に分割し、分割されたデータの分割
総数およびこの分割総数中の何番目のデータを格納して
いるかを表すデータ番号を設けたヘッダを有し、当該デ
ータ番号に対応したデータを収納するパケットを形成し
て端末側に送出すると、端末では受信したパケットのヘ
ッダに設けられた分割総数に対応した記憶領域を確保す
ると共に、この記憶領域において前記ヘッダ中のデータ
番号に対応するアドレスエリアに当該パケットに収納さ
れるデータを記憶し、記憶されたデータが前記分割総数
分有るかどうかを判断してパケット欠落の有無を検出す
る。そして、パケット欠落を検出すると、欠落したデー
タ番号以降のヘッダを備えたパケットの再送出を要求す
る要求信号をサーバに送出する。すると、サーバではそ
の要求信号を受信し、当該要求信号に含まれる欠落パケ
ットのデータ番号以降のヘッダを備えた前記パケットを
形成して再送出する結果、通信エラー等でデータダウン
ロードが途絶した場合など、従来のようにダウンロード
を最初からやり直しする必要がなくなり、途絶した時点
のデータからダウンロードを再開することができる。請
求項5,6に記載の発明によれば、サーバから再送出さ
れるパケットを受信した場合、そのヘッダ中のデータ番
号に対応するアドレスエリアから順番に当該パケットに
収納されるデータを格納するので、途絶する以前にダウ
ンロードしたデータと再ダウンロードされる途絶以後の
データとを連続的にメモリ保存することができる。請求
項7,8に記載の発明では、端末がパケット欠落を検出
し、その欠落したパケットの再送出を要求する要求信号
を発生すると、その要求信号に応じて該当するパケット
だけを再ダウンロードするので、パケット単位で再ダウ
ンロードすることができる。
According to the first and second aspects of the present invention, the data requested to be downloaded from the terminal is divided into the number of transmission packets, the total number of the divided data and the number of the divided total. Has a header provided with a data number indicating whether the data is stored, forms a packet containing data corresponding to the data number, and sends it to the terminal side. Then, upon detecting a packet loss and receiving a request signal transmitted by the terminal side, the terminal forms the packet having a header subsequent to the data number of the lost packet included in the request signal and retransmits the packet to the terminal side. If the data download is interrupted due to an error or the like, there is no need to restart the download from the beginning as in the past,
Download can be resumed from the data at the time of interruption. According to the third and fourth aspects of the present invention, in response to a download request from the terminal, the server divides the requested data into the number of packets to be transmitted, the total number of the divided data, and the number of the divided data. When a packet containing data corresponding to the data number is formed and transmitted to the terminal side, the terminal provides the header in the received packet. In addition to securing a storage area corresponding to the divided total number, data stored in the packet is stored in an address area corresponding to the data number in the header in this storage area, and there is stored data for the divided total number. Then, the presence or absence of a packet loss is detected. When the packet loss is detected, a request signal for requesting retransmission of a packet having a header subsequent to the missing data number is transmitted to the server. Then, the server receives the request signal, forms the packet having a header subsequent to the data number of the missing packet included in the request signal, and retransmits the packet. As a result, if the data download is interrupted due to a communication error or the like, Thus, it is not necessary to restart the download from the beginning unlike the conventional technique, and the download can be restarted from the data at the time of the interruption. According to the fifth and sixth aspects of the present invention, when a packet retransmitted from the server is received, data stored in the packet is stored in order from the address area corresponding to the data number in the header. Data downloaded before the interruption and data after the interruption to be re-downloaded can be continuously stored in the memory. According to the seventh and eighth aspects of the present invention, when the terminal detects a packet loss and generates a request signal requesting retransmission of the lost packet, only the corresponding packet is re-downloaded in response to the request signal. Can be re-downloaded in packet units.

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

【図1】本発明の実施の一形態による情報送出装置の概
略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an information transmission device according to an embodiment of the present invention.

【図2】サーバ1が送出するパケットの構造を示す図で
ある。
FIG. 2 is a diagram showing a structure of a packet transmitted by a server 1;

【図3】全体動作を示すシーケンスフローである。FIG. 3 is a sequence flow showing an overall operation.

【図4】全体動作を示すシーケンスフローである。FIG. 4 is a sequence flow showing an overall operation.

【図5】サーバ1において実行されるデータ送信処理の
動作を示すフローチャートである。
FIG. 5 is a flowchart illustrating an operation of a data transmission process executed in the server 1.

【図6】端末2において実行されるデータ記憶処理の動
作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of a data storage process executed in the terminal 2.

【図7】端末2において実行されるデータ確認処理の動
作を示すフローチャートである。
FIG. 7 is a flowchart illustrating an operation of a data confirmation process executed in the terminal 2.

【図8】変形例の全体動作を示すシーケンスフローであ
る。
FIG. 8 is a sequence flow showing an overall operation of a modification.

【図9】変形例によるデータ送信処理の動作を示すフロ
ーチャートである。
FIG. 9 is a flowchart illustrating an operation of a data transmission process according to a modification.

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

1 サーバ 2 端末 3 接続業者 HD ヘッダ IP データ番号 TOTAL DATA データ本体 1 server 2 terminal 3 connection companies HD header IP data number TOTAL DATA data body

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを介してアクセスしてくる
端末からの要求に応じて当該端末にデータをダウンロー
ドする装置であって、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割手段と、 この分割手段によって分割されたデータの分割総数と、
この分割総数中の何番目のデータを格納しているかを表
すデータ番号とを設けたヘッダを有し、当該データ番号
に対応したデータを収納するパケットを形成して前記端
末に送出する送出手段と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号以降のヘッダを備えた前記パケットを形成
して再送出する再送出手段とを具備することを特徴とす
る情報送出装置。
An apparatus for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, wherein the division is performed by dividing the data requested to be downloaded from the terminal into the number of transmission packets. Means, the total number of data divided by the dividing means,
Sending means for forming a packet containing the data corresponding to the data number, having a header provided with a data number indicating the number of data in the total number of divisions, and sending the packet to the terminal; Retransmission means for, when the terminal receives a request signal for detecting and transmitting a packet loss, forming the packet having a header subsequent to the data number of the missing packet included in the request signal and retransmitting the packet; An information sending device comprising:
【請求項2】 ネットワークを介してアクセスしてくる
端末からの要求に応じて当該端末にデータをダウンロー
ドする方法であって、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割過程と、 この分割過程にて分割されたデータの分割総数と、この
分割総数中の何番目のデータを格納しているかを表すデ
ータ番号とを設けたヘッダを有し、当該データ番号に対
応したデータを収納するパケットを形成して前記端末に
送出する送出過程と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号以降のヘッダを備えた前記パケットを形成
して再送出する再送出過程とを具備することを特徴とす
る情報送出方法。
2. A method for downloading data to a terminal in response to a request from a terminal accessed via a network, the method comprising: dividing data requested to be downloaded from the terminal into a number of transmission packets. Process, and a header provided with a total number of data divided in the division process and a data number indicating the number of data stored in the total number of divisions. A transmitting step of forming a packet for storing data and transmitting the packet to the terminal; and when the terminal detects a packet loss and receives a request signal to be transmitted, the terminal receives a request signal transmitted after the data number of the missing packet included in the request signal. Retransmitting the packet with a header and retransmitting the packet.
【請求項3】 ネットワークを介してサーバにアクセス
した端末からの要求に応じて当該サーバから端末にデー
タをダウンロードする装置であって、 前記サーバは、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割手段と、 この分割手段によって分割されたデータの分割総数と、
この分割総数中の何番目のデータを格納しているかを表
すデータ番号とを設けたヘッダを有し、当該データ番号
に対応したデータを収納するパケットを形成して前記端
末に送出する送出手段と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号以降のヘッダを備えた前記パケットを形成
して再送出する再送出手段とを具備し、 前記端末は、 前記パケットを受信し、そのヘッダ中の分割総数に対応
した記憶領域を確保すると共に、この記憶領域において
前記ヘッダ中のデータ番号に対応するアドレスエリアに
当該パケットに収納されるデータを記憶する記憶手段
と、 この記憶手段によって記憶されたデータが前記分割総数
分有るかどうかを判断してパケット欠落の有無を検出
し、パケット欠落を検出した場合に欠落したデータ番号
以降のヘッダを備えたパケットの再送出を要求する要求
信号を送出する再送出要求手段とを具備することを特徴
とする情報送出装置。
3. An apparatus for downloading data from a server to a terminal in response to a request from a terminal accessing the server via a network, wherein the server sends data requested to be downloaded from the terminal to a transmission packet. Dividing means for dividing the data into several minutes, the total number of data divided by the dividing means,
Sending means for forming a packet containing the data corresponding to the data number, having a header provided with a data number indicating the number of data in the total number of divisions, and sending the packet to the terminal; Retransmission means for, when the terminal receives a request signal for detecting and transmitting a packet loss, forming the packet having a header subsequent to the data number of the missing packet included in the request signal and retransmitting the packet; The terminal receives the packet, secures a storage area corresponding to the total number of divisions in the header, and stores the packet in the address area corresponding to the data number in the header in the storage area. Storage means for storing data to be divided, and determining whether or not the data stored by the storage means is equal to the total number of divisions, and determining whether or not a packet is lost. Retransmission request means for transmitting a request signal for requesting retransmission of a packet having a header subsequent to the missing data number when detecting absence and detecting packet loss. .
【請求項4】 ネットワークを介してサーバにアクセス
した端末からの要求に応じて当該サーバから端末にデー
タをダウンロードする方法であって、前記サーバでは、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割過程と、 この分割過程にて分割されたデータの分割総数と、この
分割総数中の何番目のデータを格納しているかを表すデ
ータ番号とを設けたヘッダを有し、当該データ番号に対
応したデータを収納するパケットを形成して前記端末に
送出する送出過程と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号以降のヘッダを備えた前記パケットを形成
して再送出する再送出過程とを具備し、 前記端末では、 前記パケットを受信し、そのヘッダ中の分割総数に対応
した記憶領域を確保すると共に、この記憶領域において
前記ヘッダ中のデータ番号に対応するアドレスエリアに
当該パケットに収納されるデータを記憶する記憶過程
と、 この記憶過程にて記憶されたデータが前記分割総数分有
るかどうかを判断してパケット欠落の有無を検出し、パ
ケット欠落を検出した場合に欠落したデータ番号以降の
ヘッダを備えたパケットの再送出を要求する要求信号を
送出する再送出要求過程とを具備することを特徴とする
情報送出方法。
4. A method for downloading data from a server to a terminal in response to a request from a terminal accessing the server via a network, wherein the server transmits data requested to be downloaded from the terminal to a transmission packet. A dividing step of dividing the data into several minutes, a header having a total number of data divided in the dividing step, and a data number indicating the number of data in the total number of divisions, A transmitting step of forming a packet containing the data corresponding to the data number and transmitting the packet to the terminal; and, when the terminal receives a request signal to detect and transmit the packet loss, the loss included in the request signal. A retransmission step of forming and retransmitting the packet having a header subsequent to the data number of the packet, and retransmitting the packet. Receiving and securing a storage area corresponding to the total number of divisions in the header, and storing data contained in the packet in an address area corresponding to the data number in the header in the storage area; It is determined whether or not the data stored in the storage process is equal to the total number of divisions to detect the presence / absence of packet loss. When the packet loss is detected, retransmission of a packet having a header subsequent to the lost data number is performed. And a retransmission requesting step of transmitting a request signal.
【請求項5】 前記記憶手段は、前記サーバから再送出
されるパケットを受信した場合、そのヘッダ中のデータ
番号に対応するアドレスエリアから順番に当該パケット
に収納されるデータを格納することを特徴とする請求項
3に記載の情報送出装置。
5. The storage means, when receiving a packet retransmitted from the server, stores the data contained in the packet in order from the address area corresponding to the data number in the header. The information sending device according to claim 3, wherein
【請求項6】 前記記憶過程は、前記サーバから再送出
されるパケットを受信した場合、そのヘッダ中のデータ
番号に対応するアドレスエリアから順番に当該パケット
に収納されるデータを格納することを特徴とする請求項
4に記載の情報送出方法。
6. The storage step wherein, when a packet retransmitted from the server is received, data contained in the packet is stored in order from an address area corresponding to a data number in the header. The information sending method according to claim 4, wherein
【請求項7】 ネットワークを介してアクセスしてくる
端末からの要求に応じて当該端末にデータをダウンロー
ドする装置であって、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割手段と、 この分割手段によって分割されたデータの分割総数と、
この分割総数中の何番目のデータを格納しているかを表
すデータ番号とを設けたヘッダを有し、当該データ番号
に対応したデータを収納するパケットを形成して前記端
末に送出する送出手段と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号のヘッダを備えた前記パケットを形成して
再送出する再送出手段とを具備することを特徴とする情
報送出装置。
7. An apparatus for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, the apparatus dividing data requested to be downloaded from the terminal into the number of packets to be transmitted. Means, the total number of data divided by the dividing means,
Sending means for forming a packet containing the data corresponding to the data number, having a header provided with a data number indicating the number of data in the total number of divisions, and sending the packet to the terminal; When the terminal detects a packet loss and receives a request signal to be transmitted, retransmitting means for forming and retransmitting the packet having the header of the data number of the lost packet included in the request signal. An information transmission device, comprising:
【請求項8】 ネットワークを介してアクセスしてくる
端末からの要求に応じて当該端末にデータをダウンロー
ドする方法であって、 前記端末からダウンロードが要求されたデータを送出パ
ケット数分に分割する分割過程と、 この分割過程にて分割されたデータの分割総数と、この
分割総数中の何番目のデータを格納しているかを表すデ
ータ番号とを設けたヘッダを有し、当該データ番号に対
応したデータを収納するパケットを形成して前記端末に
送出する送出過程と、 前記端末がパケット欠落を検出して送出する要求信号を
受信した場合に、当該要求信号に含まれる欠落パケット
のデータ番号のヘッダを備えた前記パケットを形成して
再送出する再送出過程とを具備することを特徴とする情
報送出方法。
8. A method for downloading data to a terminal in response to a request from a terminal accessing the terminal via a network, comprising: dividing data requested to be downloaded from the terminal into a number of packets to be transmitted. Process, and a header provided with a total number of data divided in the division process and a data number indicating the number of data stored in the total number of divisions. A transmission step of forming a packet containing data and transmitting the packet to the terminal; and a header for a data number of the missing packet included in the request signal when the terminal detects a packet loss and receives a request signal to be transmitted. Retransmitting the packet and retransmitting the packet.
JP2002151793A 2002-05-27 2002-05-27 Information transmission apparatus and information transmission method Pending JP2003348152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002151793A JP2003348152A (en) 2002-05-27 2002-05-27 Information transmission apparatus and information transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002151793A JP2003348152A (en) 2002-05-27 2002-05-27 Information transmission apparatus and information transmission method

Publications (1)

Publication Number Publication Date
JP2003348152A true JP2003348152A (en) 2003-12-05

Family

ID=29769271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002151793A Pending JP2003348152A (en) 2002-05-27 2002-05-27 Information transmission apparatus and information transmission method

Country Status (1)

Country Link
JP (1) JP2003348152A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005198184A (en) * 2004-01-09 2005-07-21 Toppan Nsw:Kk Mobile information terminal, identification information management system, identification information management method and identification information management program
JP2007287041A (en) * 2006-04-19 2007-11-01 Oki Electric Ind Co Ltd Download system and download method
KR100779586B1 (en) 2006-11-27 2007-11-28 삼성전자주식회사 Method for downloading contents of communication terminal
WO2008020616A1 (en) * 2006-08-18 2008-02-21 Sony Corporation Information processing device, information processing method, computer program, and semiconductor device
JP2008516479A (en) * 2004-10-05 2008-05-15 ヴェクターマックス コーポレーション Loss-tolerant multimedia group broadcast method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005198184A (en) * 2004-01-09 2005-07-21 Toppan Nsw:Kk Mobile information terminal, identification information management system, identification information management method and identification information management program
JP4669950B2 (en) * 2004-01-09 2011-04-13 株式会社トッパンシステムソリューションズ Portable information terminal, identification information management system, identification information management method, and identification information management program
JP2008516479A (en) * 2004-10-05 2008-05-15 ヴェクターマックス コーポレーション Loss-tolerant multimedia group broadcast method and system
JP4824692B2 (en) * 2004-10-05 2011-11-30 ヴェクターマックス コーポレーション Loss-tolerant multimedia group broadcast method and system
JP2007287041A (en) * 2006-04-19 2007-11-01 Oki Electric Ind Co Ltd Download system and download method
WO2008020616A1 (en) * 2006-08-18 2008-02-21 Sony Corporation Information processing device, information processing method, computer program, and semiconductor device
JP2008046944A (en) * 2006-08-18 2008-02-28 Sony Corp Apparatus and method for information processing, computer program, and semiconductor device
US8396982B2 (en) 2006-08-18 2013-03-12 Sony Corporation Information processor, method for processing information, computer program, and semiconductor device
KR100779586B1 (en) 2006-11-27 2007-11-28 삼성전자주식회사 Method for downloading contents of communication terminal

Similar Documents

Publication Publication Date Title
TWI251418B (en) Method and system for selecting a security format conversion
US7321924B2 (en) Communication scheme for realizing effective data input/setup in compact size portable terminal device using locally connected nearby computer device
US7412727B2 (en) Media streaming home network system and method for operating the same
US20080095373A1 (en) Mobile terminal and gateway for remotely controlling data transfer from secure network
US20060031922A1 (en) IPsec communication method, communication control apparatus, and network camera
JPWO2004075479A1 (en) Control information transmission method, relay server, and controlled device
CN101223489A (en) Portable playback machine, method and system with admission of digital copyright management
JP2002535884A (en) Distribution of web-based secure email messages
JP5494649B2 (en) Relay device, relay method, and relay device control program
JP2004355562A (en) Apparatus authentication system
JP2002152259A (en) Communication terminal and charging processing unit
JPH10207710A (en) Software download system and menu preparation system
JP2002182768A (en) Install server device, install service method and information recording medium
JP2003348152A (en) Information transmission apparatus and information transmission method
GB2423679A (en) E-mail server with encryption / decryption and signing / verification capability
EP1338971B1 (en) Method and terminal for the secure acquisition of applications
JP4176359B2 (en) Data acquisition method, relay device, program, and recording medium
WO2005038661A1 (en) Terminal authentication apparatus and method
JP2000322353A (en) Information providing device, information providing service authenticating method and recording medium for recording information providing service authentication program
JP2010050750A (en) Communication terminal, communication control method, communication control program, and communication system
JPH11252161A (en) Information addition device and information addition method
JP3129291B2 (en) Data link control method and device
JP2000059421A (en) Data communication method and system, device thereof
JP2001265685A (en) Service creation server and network system
JP4002251B2 (en) Data transfer method, data relay device, and communication interface device