JP5427714B2 - File transmission device and file transmission program - Google Patents

File transmission device and file transmission program Download PDF

Info

Publication number
JP5427714B2
JP5427714B2 JP2010155694A JP2010155694A JP5427714B2 JP 5427714 B2 JP5427714 B2 JP 5427714B2 JP 2010155694 A JP2010155694 A JP 2010155694A JP 2010155694 A JP2010155694 A JP 2010155694A JP 5427714 B2 JP5427714 B2 JP 5427714B2
Authority
JP
Japan
Prior art keywords
file
transmission
time
audio
seconds
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.)
Expired - Fee Related
Application number
JP2010155694A
Other languages
Japanese (ja)
Other versions
JP2012019385A (en
Inventor
寛之 世木
俊宏 清水
欣司 松村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2010155694A priority Critical patent/JP5427714B2/en
Publication of JP2012019385A publication Critical patent/JP2012019385A/en
Application granted granted Critical
Publication of JP5427714B2 publication Critical patent/JP5427714B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Communication Control (AREA)

Description

本発明は、音声ファイルまたは動画ファイル等のデータ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従ってファイル受信装置に送信するファイル送信装置およびファイル送信プログラムに関する。   The present invention relates to a file transmission device and a file transmission program for transmitting a plurality of files constituting a data broadcast content such as an audio file or a moving image file to a file reception device by data broadcasting according to a predetermined order.

従来、音声ファイルまたは動画ファイル等のデータ放送コンテンツを構成する複数のファイルを、例えば地上デジタル放送等のデータ放送によってファイル受信装置に送信する装置としては、例えば特許文献1で提案されているように、データ放送受信装置に対して同じ音声ファイルを一定回数繰り返し送信するように構成されたデータ放送送信装置が知られている。このデータ放送送信装置は、前記したような構成を備えることで、データ放送受信装置側で音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができた。   Conventionally, as a device for transmitting a plurality of files constituting data broadcast content such as an audio file or a moving image file to a file receiving device by data broadcasting such as terrestrial digital broadcasting, for example, as proposed in Patent Document 1 A data broadcast transmitting apparatus configured to repeatedly transmit the same audio file to a data broadcast receiving apparatus a predetermined number of times is known. This data broadcast transmitting apparatus has the above-described configuration, so that even if there is an audio file reception error on the data broadcast receiving apparatus side, it is possible to reduce the interruption of audio due to the absence of the audio file. did it.

特開2010−141624号公報JP 2010-141624 A

しかしながら、特許文献1で提案されているデータ放送送信装置は、ファイル受信装置に対して再生時間の短い音声ファイル(以下、第1ファイルという)を繰り返し送信した直後に再生時間の長い音声ファイル(以下、第2ファイルという)を送信すると、ファイル受信装置が第2ファイルを受信している間に第1ファイルの再生が終わってしまい、第2ファイルの受信完了までの間、音声が途切れてしまうという問題があった。また、特許文献1で提案されているデータ放送送信装置は、ファイル受信装置に対して、当該ファイル受信装置側のバッファ(メモリ)容量を考慮することなく音声ファイルを繰り返し送信するため、当該バッファが溢れてしまう場合があるという問題もあった。   However, the data broadcast transmission device proposed in Patent Document 1 has a long reproduction time audio file (hereinafter referred to as the first file) immediately after repeatedly transmitting an audio file with a short reproduction time (hereinafter referred to as the first file) to the file reception device. , The second file is transmitted), the reproduction of the first file is finished while the file receiving device is receiving the second file, and the sound is interrupted until the reception of the second file is completed. There was a problem. In addition, the data broadcast transmission device proposed in Patent Document 1 repeatedly transmits an audio file to a file reception device without considering the buffer (memory) capacity on the file reception device side. There was also a problem that it might overflow.

本発明はかかる点に鑑みてなされたものであって、音声ファイルまたは動画ファイル等のデータ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従ってファイル受信装置に送信する際に、再生される音声や映像の途切れをより確実に軽減することができ、かつ、ファイル受信装置側のバッファ溢れを軽減することができるファイル送信装置およびファイル送信プログラムに関する。   The present invention has been made in view of the above points, and when transmitting a plurality of files constituting data broadcast content such as an audio file or a moving image file to a file receiving device according to a predetermined order by data broadcasting. In particular, the present invention relates to a file transmission apparatus and a file transmission program that can more reliably reduce interruptions in reproduced audio and video and reduce buffer overflow on the file reception apparatus side.

前記課題を解決するために請求項1に係るファイル送信装置は、データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、送信時間算出手段と、残再生時間推定手段と、記憶手段と、送信ファイル選択手段と、ファイル送信手段と、を備える構成とした。   In order to solve the above problem, a file transmission device according to claim 1 is a file for transmitting a plurality of files constituting data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting. The transmission apparatus includes a transmission time calculation unit, a remaining reproduction time estimation unit, a storage unit, a transmission file selection unit, and a file transmission unit.

このような構成によれば、ファイル送信装置は、送信時間算出手段によって、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を伝送帯域で除算することで、ファイル受信装置に対して送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する。また、残再生時間推定手段によって、ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、ファイル受信装置に最初に送信した送信完了ファイルの送信完了からの経過時間を減算することで、送信完了ファイルの残りの再生時間を合計した残再生時間を推定する。また、記憶手段によって、ファイル受信装置のバッファ容量に基づいて予め定められた閾値を記憶するとともに、送信予定ファイルおよび送信完了ファイルを記憶する。また、送信ファイル選択手段によって、残再生時間から送信時間を減算した時間を閾値と比較し、当該閾値以上であれば前回送信した送信完了ファイルを記憶手段から選択し、当該閾値未満であれば次回送信すべき送信予定ファイルを記憶手段から選択する。また、ファイル送信手段によって、送信ファイル選択手段によって選択された送信完了ファイルまたは送信予定ファイルをファイル受信装置に送信する。   According to such a configuration, the file transmission device transmits to the file reception device by dividing the capacity of each file scheduled to be transmitted to the file reception device by the transmission band by the transmission time calculation means. A transmission time that is a time from the start of transmission of the scheduled file to the completion of transmission of the scheduled transmission file is calculated in advance. Also, the remaining playback time estimation means subtracts the elapsed time from the completion of transmission of the transmission completion file first transmitted to the file reception device from the time obtained by integrating the reproduction times of the transmission completion files already transmitted to the file reception device. By doing so, the remaining reproduction time obtained by adding up the remaining reproduction times of the transmission completion file is estimated. Further, the storage unit stores a predetermined threshold based on the buffer capacity of the file receiving device, and stores a transmission scheduled file and a transmission completion file. Further, the transmission file selection means compares the time obtained by subtracting the transmission time from the remaining reproduction time with a threshold value, and if it is equal to or greater than the threshold value, selects the previously transmitted transmission completion file from the storage means, and if it is less than the threshold value, the next time A transmission schedule file to be transmitted is selected from the storage means. Further, the file transmission unit transmits the transmission completion file or the transmission scheduled file selected by the transmission file selection unit to the file receiving apparatus.

従って、複数のファイルを所定の順序に従ってファイル受信装置に対して送信した場合であっても、常に次に送信するファイルの送信時間を考慮しながらファイル受信装置にファイルを送信することができ、前回のファイルの再生終了までに次回のファイルの送信を完了させることができる。   Therefore, even when a plurality of files are transmitted to the file receiving device according to a predetermined order, the file can be transmitted to the file receiving device while always considering the transmission time of the next file to be transmitted. The transmission of the next file can be completed by the end of the reproduction of the file.

また、請求項2に係るファイル送信装置は、請求項1に係るファイル送信装置において、再送回数設定手段をさらに備え、送信ファイル選択手段が、再送回数を満たすまで前回送信した前記送信完了ファイルを選択する構成とした。   Further, the file transmission device according to claim 2 further comprises retransmission number setting means in the file transmission device according to claim 1, wherein the transmission file selection means selects the transmission completion file transmitted last time until the number of retransmissions is satisfied. It was set as the structure to do.

このような構成によれば、ファイル送信装置は、再送回数設定手段によって、前回送信した送信完了ファイルを再送する回数である再送回数を設定し、当該再送回数を満たすまで同じファイルを繰り返し送信するため、ファイル受信装置側で仮にファイルの受信ミスがあった場合であっても、ファイル受信装置がファイルを再度受信することができる。   According to such a configuration, the file transmission apparatus sets the number of retransmissions, which is the number of retransmissions of the previously transmitted transmission completion file, by the retransmission number setting unit, and repeatedly transmits the same file until the number of retransmissions is satisfied. Even if there is a file reception error on the file receiving device side, the file receiving device can receive the file again.

また、請求項3に係るファイル送信装置は、データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、再送回数設定手段と、送信時間算出手段と、残再生時間推定手段と、送信ファイル圧縮手段と、ファイル送信手段と、を備える構成とした。   According to a third aspect of the present invention, there is provided a file transmission device for transmitting a plurality of files constituting a data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting. The number of retransmission times setting means, the transmission time calculating means, the remaining reproduction time estimating means, the transmission file compression means, and the file transmission means are provided.

このような構成によれば、ファイル送信装置は、再送回数設定手段によって、ファイル受信装置に前回送信した送信完了ファイルを再送する回数である再送回数を設定する。また、送信時間算出手段によって、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を伝送帯域で除算することで、ファイル受信装置に対して送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する。また、残再生時間推定手段によって、ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、ファイル受信装置に初めて送信した送信完了ファイルの送信完了からの経過時間を減算することで、送信完了ファイルの残りの再生時間を合計した残再生時間を推定する。また、送信ファイル圧縮手段によって、残再生時間から次回送信すべき送信予定ファイルの送信時間を減算した値を、再送回数で除算することで、残再生時間内で送信完了ファイルを再送する際の送信時間を算出し、当該送信時間未満となるように、送信完了ファイルを圧縮する。また、ファイル送信手段によって、送信ファイル圧縮手段によって圧縮された送信完了ファイルをファイル受信装置に送信する。 According to such a configuration, the file transmission device sets the number of retransmissions, which is the number of times that the transmission completion file transmitted last time is retransmitted to the file reception device, by the retransmission number setting means. Further, the transmission time calculation means divides the capacity of each file scheduled to be transmitted to the file receiving device by the transmission band, so that the transmission of the file scheduled to be transmitted to the file receiving device is started. A transmission time that is a time until transmission of the scheduled file is completed is calculated in advance. Further, the remaining reproduction time estimation means subtracts the elapsed time from the completion of transmission of the transmission completion file transmitted to the file receiving apparatus for the first time from the time obtained by integrating the reproduction times of the transmission completion files already transmitted to the file receiving apparatus. Thus, the remaining reproduction time obtained by adding up the remaining reproduction times of the transmission completion file is estimated. Also, the transmission file compression means retransmits the transmission completion file within the remaining reproduction time by dividing the value obtained by subtracting the transmission time of the scheduled transmission file to be transmitted next time from the remaining reproduction time by the number of retransmissions. The time is calculated, and the transmission completion file is compressed so that it is less than the transmission time. Further, the file transmission means transmits the transmission completion file compressed by the transmission file compression means to the file receiving apparatus.

従って、複数のファイルを所定の順序に従ってファイル受信装置に対して送信した場合であっても、予め設定した再生回数分だけファイルを確実に送信できるとともに、前回のファイルの再生終了までに次回のファイルの送信を完了させることができる。   Therefore, even when a plurality of files are transmitted to the file receiving device according to a predetermined order, the files can be reliably transmitted for the preset number of times of reproduction, and the next file can be reproduced by the end of the previous file reproduction. Can be completed.

また、請求項4に係るファイル送信装置は、データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、送信時間算出手段と、再生終了時間算出手段と、仮説生成手段と、仮説統合手段と、仮説選択手段と、ファイル送信手段と、を備える構成とした。   According to a fourth aspect of the present invention, there is provided a file transmission device for transmitting a plurality of files constituting data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting. The transmission time calculation means, the reproduction end time calculation means, the hypothesis generation means, the hypothesis integration means, the hypothesis selection means, and the file transmission means.

このような構成によれば、ファイル送信装置は、送信時間算出手段によって、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を伝送帯域で除算することで、ファイル受信装置に対して送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する。また、再生終了時間算出手段によって、ファイル受信装置に最初に送信しようとする送信予定ファイルの送信時間に、当該送信予定ファイルのそれぞれの再生時間を加算することで、送信予定ファイルのそれぞれの再生終了時間を算出する。また、仮説生成手段によって、送信予定ファイルのそれぞれの送信時間が、当該送信予定ファイルのそれぞれの再生終了時間を超えない範囲内において、送信予定ファイルのそれぞれを繰り返し送信する組み合わせを仮説として複数生成する。また、仮説統合手段によって、仮説生成手段で生成した複数の仮説のうち、同じ時間に同じ送信予定ファイルの送信が完了する仮説が複数存在する場合、送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を残す。また、仮説選択手段によって、仮説統合手段によって残された仮説のうち、送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を選択する。また、ファイル送信手段によって、仮説選択手段によって選択された前記仮説から前記送信予定ファイルのそれぞれの送信回数を抽出し、送信予定ファイルのそれぞれを当該送信回数だけファイル受信装置に送信する。   According to such a configuration, the file transmission device transmits to the file reception device by dividing the capacity of each file scheduled to be transmitted to the file reception device by the transmission band by the transmission time calculation means. A transmission time that is a time from the start of transmission of the scheduled file to the completion of transmission of the scheduled transmission file is calculated in advance. In addition, the playback end time calculation means adds the respective playback times of the scheduled transmission file to the transmission time of the scheduled transmission file to be transmitted first to the file receiving device, thereby completing the reproduction of each transmission scheduled file. Calculate time. Further, the hypothesis generation means generates a plurality of combinations as hypotheses that repeatedly transmit each of the scheduled transmission files within a range in which each transmission time of the scheduled transmission file does not exceed the reproduction end time of each of the transmission scheduled files. . Also, if there are multiple hypotheses that complete the transmission of the same scheduled transmission file at the same time among the multiple hypotheses generated by the hypothesis generation means by the hypothesis integration means, a value obtained by multiplying the number of transmissions of each scheduled transmission file Leaves the largest hypothesis. Also, the hypothesis selection means selects the hypothesis having the largest value obtained by multiplying the number of transmissions of the transmission-scheduled file among the hypotheses left by the hypothesis integration means. Further, the file transmission means extracts the number of transmissions of each of the scheduled transmission files from the hypothesis selected by the hypothesis selection means, and transmits each of the transmission scheduled files to the file receiving apparatus for the number of transmissions.

従って、ファイル受信装置に対して、各ファイルの送信回数を均等にすることができ、各ファイルをバランスよく送信することができる。   Therefore, the number of transmissions of each file can be made equal to the file reception device, and each file can be transmitted in a balanced manner.

そして、請求項5に係るファイル送信プログラムは、データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するために、コンピュータを、送信時間算出手段、残再生時間推定手段、送信ファイル選択手段、ファイル送信手段、として機能させる構成とした。   A file transmission program according to claim 5 is provided to transmit a plurality of files constituting the data broadcast content to the file receiving device in a predetermined transmission band according to a predetermined order by data broadcasting. The transmission time calculation unit, the remaining reproduction time estimation unit, the transmission file selection unit, and the file transmission unit are configured to function.

このような構成によれば、ファイル送信プログラムは、送信時間算出手段によって、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を伝送帯域で除算することで、ファイル受信装置に対して送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する。また、残再生時間推定手段によって、ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、ファイル受信装置に最初に送信した送信完了ファイルの送信完了からの経過時間を減算することで、送信完了ファイルの残りの再生時間を合計した残再生時間を推定する。また、送信ファイル選択手段によって、残再生時間から送信時間を減算した時間を、ファイル受信装置のバッファ容量に基づいて予め定められた閾値と比較し、当該閾値以上であれば、送信完了ファイルおよび送信予定ファイルを記憶する記憶手段から前回送信した送信完了ファイルを選択し、当該閾値未満であれば、記憶手段から次回送信すべき送信予定ファイルを選択し、当該閾値未満であれば次回送信すべき送信予定ファイルを記憶手段から選択する。また、ファイル送信手段によって、送信ファイル選択手段によって選択された送信完了ファイルまたは送信予定ファイルをファイル受信装置に送信する。   According to such a configuration, the file transmission program transmits the file to the file reception device by dividing the capacity of each file scheduled to be transmitted to the file reception device by the transmission band by the transmission time calculation means. A transmission time that is a time from the start of transmission of the scheduled file to the completion of transmission of the scheduled transmission file is calculated in advance. Also, the remaining playback time estimation means subtracts the elapsed time from the completion of transmission of the transmission completion file first transmitted to the file reception device from the time obtained by integrating the reproduction times of the transmission completion files already transmitted to the file reception device. By doing so, the remaining reproduction time obtained by adding up the remaining reproduction times of the transmission completion file is estimated. Further, the transmission file selection means compares the time obtained by subtracting the transmission time from the remaining reproduction time with a predetermined threshold value based on the buffer capacity of the file reception device. If the transmission completion file transmitted last time is selected from the storage means for storing the scheduled file, and if it is less than the threshold value, the transmission scheduled file to be transmitted next time is selected from the storage means, and if it is less than the threshold value, the transmission to be transmitted next time A scheduled file is selected from the storage means. Further, the file transmission unit transmits the transmission completion file or the transmission scheduled file selected by the transmission file selection unit to the file receiving apparatus.

従って、複数のファイルを所定の順序に従ってファイル受信装置に対して送信した場合であっても、常に次に送信するファイルの送信時間を考慮しながらファイル受信装置にファイルを送信することができ、前回のファイルの再生終了までに次回のファイルの送信を完了させることができる。   Therefore, even when a plurality of files are transmitted to the file receiving device according to a predetermined order, the file can be transmitted to the file receiving device while always considering the transmission time of the next file to be transmitted. The transmission of the next file can be completed by the end of the reproduction of the file.

請求項1、請求項5に係る発明によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、前回のファイルの再生終了までに次回のファイルの送信を完了させることができるため、再生される音声や映像の途切れをより確実に軽減することができる。また、予め次のファイルの送信時間を算出することでファイル受信装置側のバッファ容量を考慮することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   According to the first and fifth aspects of the present invention, when a plurality of files are transmitted to the file receiving device according to a predetermined order by data broadcasting, the next file transmission is performed before the end of the previous file reproduction. Since it can be completed, the interruption of the audio | voice and image | video to reproduce can be reduced more reliably. In addition, since the buffer capacity on the file receiving device side can be taken into account by calculating the transmission time of the next file in advance, the buffer overflow on the file receiving device side can be reduced.

請求項2に係る発明によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、当該ファイル受信装置側でファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れをより確実に軽減することができる。   According to the second aspect of the present invention, even when a plurality of files are transmitted to the file receiving device in accordance with a predetermined order by data broadcasting, there is a file reception error on the file receiving device side. In addition, sound interruptions due to missing files can be reduced more reliably.

請求項3に係る発明によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、残再生時間と再送回数に基づいてファイルを圧縮することで予め設定した再生回数分だけファイルを確実に送信できるため、当該ファイル受信装置側でファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れをより確実に軽減することができる。また、各ファイルを圧縮してファイル受信装置に送信することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   According to the invention of claim 3, when a plurality of files are transmitted to the file receiving device according to a predetermined order by data broadcasting, the files are preset by compressing the files based on the remaining reproduction time and the number of retransmissions. Since the file can be transmitted as many times as the number of times of reproduction, even if there is a file reception error on the file receiving device side, the interruption of sound due to the missing file can be more reliably reduced. Further, since each file can be compressed and transmitted to the file receiving device, buffer overflow on the file receiving device side can be reduced.

請求項4に係る発明によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、ファイル受信装置に対する各ファイルの送信回数を均等にすることができるため、当該ファイル受信装置側で複数のファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れを適切に軽減することができる。また、予め各ファイルの送信時間を算出することでファイル受信装置側のバッファ容量を考慮することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   According to the invention according to claim 4, when transmitting a plurality of files to the file receiving device according to a predetermined order by data broadcasting, the number of transmissions of each file to the file receiving device can be equalized. Even when there is a reception error of a plurality of files on the file receiving device side, it is possible to appropriately reduce the sound interruption due to the missing of the file. Further, since the buffer capacity on the file receiving device side can be taken into account by calculating the transmission time of each file in advance, the buffer overflow on the file receiving device side can be reduced.

本発明の第1実施形態に係るファイル送信装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the file transmission apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るファイル送信装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the file transmission apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るファイル送信装置における送信ファイルの選択処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the selection process of the transmission file in the file transmission apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るファイル送信装置の動作と、これに対応するファイル受信装置の動作と、を示す概略図であって、閾値を2秒とした場合の図である。It is the schematic which shows operation | movement of the file transmission apparatus which concerns on 1st Embodiment of this invention, and operation | movement of the file reception apparatus corresponding to this, Comprising: It is a figure at the time of setting a threshold value to 2 seconds. 本発明の第1実施形態に係るファイル送信装置の動作と、これに対応するファイル受信装置の動作と、を示す概略図であって、閾値を1秒とした場合の図である。It is the schematic which shows operation | movement of the file transmission apparatus which concerns on 1st Embodiment of this invention, and operation | movement of the file reception apparatus corresponding to this, Comprising: It is a figure at the time of setting a threshold value to 1 second. 本発明の第2実施形態に係るファイル送信装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the file transmission apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係るファイル送信装置の動作と、これに対応するファイル受信装置の動作と、を示す概略図であって、最低送信回数を2回とし、閾値を2秒とした場合の図である。It is the schematic which shows operation | movement of the file transmission apparatus which concerns on 2nd Embodiment of this invention, and operation | movement of the file reception apparatus corresponding to this, Comprising: When the minimum transmission frequency is 2 times and a threshold value is 2 seconds FIG. 本発明の第2実施形態に係るファイル送信装置の動作と、これに対応するファイル受信装置の動作と、を示す概略図であって、最高送信回数を2回とし、閾値を2秒とした場合の図である。It is the schematic which shows operation | movement of the file transmission apparatus which concerns on 2nd Embodiment of this invention, and operation | movement of the file reception apparatus corresponding to this, Comprising: When the maximum transmission frequency is 2 times and a threshold value is 2 seconds FIG. 本発明の第3実施形態に係るファイル送信装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the file transmission apparatus which concerns on 3rd Embodiment of this invention. 本発明の第3実施形態に係るファイル送信装置の動作と、これに対応するファイル受信装置の動作と、を示す概略図である。It is the schematic which shows operation | movement of the file transmission apparatus which concerns on 3rd Embodiment of this invention, and operation | movement of the file reception apparatus corresponding to this. 本発明の第4実施形態に係るファイル送信装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the file transmission apparatus which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係るファイル送信装置における仮説の生成過程を示す概略図である。It is the schematic which shows the production | generation process of the hypothesis in the file transmission apparatus which concerns on 4th Embodiment of this invention.

本発明の実施形態に係るファイル送信装置およびファイル送信プログラムについて、図面を参照しながら説明する。なお、以下の説明において、同一の構成については同一の名称及び符号を付し、詳細説明を省略する。   A file transmission apparatus and a file transmission program according to an embodiment of the present invention will be described with reference to the drawings. In the following description, the same configuration is given the same name and symbol, and detailed description is omitted.

ここで、以下で説明するファイル送信装置は、例えば、地上デジタル放送の放送番組とデータ放送とを受信して再生できる一般家庭のテレビをファイル受信装置(不図示)の対象とし、当該ファイル受信装置に対して、地上デジタル放送における放送番組の送信とは別に、データ放送によって音声ファイルまたは動画ファイルからなるデータ放送コンテンツを構成する複数のファイルを所定の順序に従って送信する装置を想定している。また、ファイル送信装置が送信する音声ファイルまたは動画ファイルは、例えば、地震速報や津波速報等を知らせる緊急字幕スーパーの内容を音声によって読み上げたものを想定している。   Here, the file transmission device described below is a file reception device (not shown) as an object of a general household television set that can receive and reproduce a terrestrial digital broadcast program and data broadcast, for example. On the other hand, apart from transmission of a broadcast program in terrestrial digital broadcasting, an apparatus is assumed that transmits a plurality of files constituting data broadcast content composed of audio files or moving image files in a predetermined order by data broadcasting. In addition, the audio file or moving image file transmitted by the file transmission device is assumed to be, for example, the content of the emergency caption supermarket for notifying earthquake early warning, tsunami early warning, etc. read out by voice.

[第1実施形態]
以下、第1実施形態に係るファイル送信装置1について、詳細に説明する。ファイル送信装置1は、音声ファイルまたは動画ファイルからなるデータ放送コンテンツを構成する複数のファイルを、地上デジタル放送におけるデータ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するためのものである。
[First Embodiment]
Hereinafter, the file transmission device 1 according to the first embodiment will be described in detail. The file transmission device 1 transmits a plurality of files constituting data broadcast content composed of audio files or moving image files to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting in digital terrestrial broadcasting. belongs to.

ここで、予め定められた順序とは、例えば前記したテレビの緊急字幕スーパーを例にとると、この緊急字幕スーパーを構成する文章を読み上げる場合の順序のことを示している。また、所定の伝送帯域とは、ファイル送信装置1がファイル受信装置に対してファイルを送信する際の伝送帯域のことを示している。なお、この伝送帯域は、ファイル送信装置1側で予め設定することができ、適宜変更することもできる。   Here, the predetermined order indicates, for example, the order in the case of reading out the sentences constituting the emergency caption super, taking the above-described emergency caption super of a television as an example. Further, the predetermined transmission band indicates a transmission band when the file transmission apparatus 1 transmits a file to the file reception apparatus. This transmission band can be set in advance on the file transmission device 1 side, and can be changed as appropriate.

ファイル送信装置1は、ここでは図1に示すように、送信時間算出手段10と、残再生時間推定手段20と、記憶手段30と、送信ファイル選択手段40と、ファイル送信手段50と、を備えている。以下、ファイル送信装置1を構成する各要素について説明する。   As shown in FIG. 1, the file transmission apparatus 1 includes a transmission time calculation unit 10, a remaining reproduction time estimation unit 20, a storage unit 30, a transmission file selection unit 40, and a file transmission unit 50. ing. Hereinafter, each element which comprises the file transmission apparatus 1 is demonstrated.

送信時間算出手段10は、ファイル送信装置1が送信する各ファイルの送信時間を算出するものである。ここで、送信時間とは、ファイル送信装置1がファイル受信装置に対してファイルの送信を開始してから当該ファイルの送信が完了するまでの時間を示しており、言い換えれば、ファイル受信装置がファイル送信装置1から送信されたファイルを受信するために必要な時間を示している。   The transmission time calculation means 10 calculates the transmission time of each file transmitted by the file transmission device 1. Here, the transmission time indicates the time from when the file transmission device 1 starts transmission of a file to the file reception device until the transmission of the file is completed. The time required for receiving the file transmitted from the transmission apparatus 1 is shown.

送信時間算出手段10は、具体的には、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を、ファイル送信装置1とファイル受信装置との間の伝送帯域で除算することで、当該送信予定ファイルの送信時間を予め算出する。なお、ファイル受信装置に送信する各ファイルの容量は、図示しないファイル容量取得手段によってファイルごとに予め取得され、送信時間算出手段10に入力される。また、ファイル送信装置1とファイル受信装置との間の伝送帯域は、図示しない伝送帯域設定手段から送信時間算出手段10に入力される。   Specifically, the transmission time calculation means 10 divides the capacity of each transmission-scheduled file to be transmitted to the file reception device by the transmission band between the file transmission device 1 and the file reception device. The transmission time of the scheduled transmission file is calculated in advance. The capacity of each file to be transmitted to the file receiving apparatus is acquired in advance for each file by a file capacity acquisition unit (not shown) and is input to the transmission time calculation unit 10. The transmission band between the file transmission apparatus 1 and the file reception apparatus is input to the transmission time calculation means 10 from a transmission band setting means (not shown).

送信時間算出手段10には、図1に示すように、音声ファイルまたは動画ファイル等のデータ放送コンテンツを構成する複数のファイルが、予め定められた順序に従って入力される。また、送信時間算出手段10には、前記したように、図示しないファイル容量取得手段からファイルごとの容量が入力され、図示しない伝送帯域設定手段から伝送帯域が入力される。そして、送信時間算出手段10は、入力されたファイルごとの送信時間を前記手法で算出し、これを前記したファイルとともに送信ファイル選択手段40に出力する。   As shown in FIG. 1, a plurality of files constituting data broadcast content such as audio files or moving image files are input to the transmission time calculation means 10 according to a predetermined order. Further, as described above, the transmission time calculation means 10 receives the capacity for each file from the file capacity acquisition means (not shown) and the transmission band from the transmission band setting means (not shown). Then, the transmission time calculation unit 10 calculates the transmission time for each input file by the above method, and outputs this to the transmission file selection unit 40 together with the above-described file.

なお、送信時間算出手段10は、前記したファイル容量取得手段から入力された送信予定ファイルのそれぞれの容量と、伝送帯域設定手段から入力された伝送帯域と、を記憶する図示しない記憶手段を備えている。   The transmission time calculation unit 10 includes a storage unit (not shown) that stores the capacity of each transmission-scheduled file input from the file capacity acquisition unit and the transmission band input from the transmission band setting unit. Yes.

残再生時間推定手段20は、ファイル受信装置の残再生時間を推定するものである。ここで、残再生時間とは、ファイル送信装置1からファイル受信装置に既に送信した送信完了ファイルの残りの再生時間合計した時間を示しており、言い換えれば、ファイル受信装置のバッファに現在蓄積されているファイルの容量を間接的に示すものである。   The remaining reproduction time estimation means 20 estimates the remaining reproduction time of the file receiving device. Here, the remaining reproduction time indicates the total time of the remaining reproduction times of the transmission-completed files already transmitted from the file transmission apparatus 1 to the file reception apparatus. In other words, the remaining reproduction time is currently stored in the buffer of the file reception apparatus. It indirectly indicates the capacity of the file.

残再生時間推定手段20は、具体的には、ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、ファイル受信装置に最初に送信した送信完了ファイルの送信完了からの経過時間を減算することで、残再生時間を推定する。   More specifically, the remaining reproduction time estimation means 20 calculates the time from the completion of transmission of the transmission completion file first transmitted to the file reception device from the time obtained by integrating the reproduction times of the transmission completion files already transmitted to the file reception device. The remaining reproduction time is estimated by subtracting the elapsed time.

この場合、残再生時間推定手段20は、例えば再生時間が2秒の第1ファイルと、再生時間が3秒の第2ファイルと、をこの順序でファイル受信装置に対して送信した場合であって、最初の第1ファイルの送信が完了してから1秒が経過している場合、「2秒(第1ファイルの再生時間)+3秒(第2ファイルの再生時間)−1秒(経過時間)=4秒(残再生時間)」という演算を行い、残再生時間が4秒であると推定する。   In this case, the remaining reproduction time estimation means 20 is a case where, for example, a first file having a reproduction time of 2 seconds and a second file having a reproduction time of 3 seconds are transmitted to the file receiving device in this order. When 1 second has elapsed since the transmission of the first first file has been completed, “2 seconds (the playback time of the first file) +3 seconds (the playback time of the second file) −1 seconds (the elapsed time) = 4 seconds (remaining playback time) ", and it is estimated that the remaining playback time is 4 seconds.

なお、前記した残再生時間の推定は、ファイル受信装置が受信した複数のファイルを所定の順序に従って再生する際に、一番目のファイルの再生が終了した直後に二番目のファイルを再生できること、すなわちファイル間にタイムラグが存在しないことを前提としている。従って、ファイル間にタイムラグが存在する場合は、以下のように、当該タイムラグも含めて残再生時間を算出することが好ましい。   Note that the estimation of the remaining reproduction time is that when the plurality of files received by the file receiving apparatus are reproduced according to a predetermined order, the second file can be reproduced immediately after the reproduction of the first file is completed. It is assumed that there is no time lag between files. Therefore, when there is a time lag between files, it is preferable to calculate the remaining reproduction time including the time lag as follows.

残再生時間推定手段20は、ファイル間にタイムラグが存在する場合、具体的には、ファイル受信装置に既に送信したファイルのそれぞれの再生時間を積算した時間に、ファイル受信機においてファイルの再生終了から次のファイルの再生開始までに要する時間と既に送信したファイル数から1を引いた値とを乗算した値を加算し、かつ、前記した経過時間を減算することで、残再生時間を推定することができる。   When there is a time lag between files, the remaining reproduction time estimation means 20 specifically, from the end of file reproduction at the file receiver at the time obtained by integrating the reproduction times of the files already transmitted to the file receiving device. Estimating the remaining playback time by adding a value obtained by multiplying the time required to start playback of the next file by the value obtained by subtracting 1 from the number of files already transmitted, and subtracting the elapsed time described above Can do.

この場合、残再生時間推定手段20は、例えば再生時間が2秒の第1ファイルと、再生時間が3秒の第2ファイルと、をこの順序でファイル受信装置に送信した場合であって、ファイル間のタイムラグが1秒であり、かつ、最初の第1ファイル送信が完了してから1秒が経過している場合、「2秒(第1ファイルの再生時間)+3秒(第2ファイルの再生時間+{1秒(タイムラグ)×(2(ファイル数)−1)}−1=5秒(残再生時間)」という演算を行い、残再生時間が5秒であると推定する。なお、ファイル受信装置に送信する各ファイル間のタイムラグは、図示しないタイムラグ取得手段によって予め取得され、残再生時間推定手段20に入力される。   In this case, the remaining reproduction time estimation means 20 is a case where, for example, a first file having a reproduction time of 2 seconds and a second file having a reproduction time of 3 seconds are transmitted in this order to the file receiving device, If the time lag between them is 1 second and 1 second has passed since the first transmission of the first file was completed, “2 seconds (the playback time of the first file) +3 seconds (the playback of the second file) Time + {1 second (time lag) × (2 (number of files) −1)} − 1 = 5 seconds (remaining reproduction time) ”to estimate that the remaining reproduction time is 5 seconds. The time lag between the files to be transmitted to the receiving device is acquired in advance by a time lag acquisition unit (not shown) and input to the remaining reproduction time estimation unit 20.

残再生時間推定手段20には、図1に示すように、ファイル送信手段50から既に送信した各ファイルの再生時間と、ファイル受信装置に対する最初のファイルの送信が完了してからの経過時間と、が入力される。また、前記したようにファイル間のタイムラグが存在する場合、残再生時間推定手段20には、図示しないタイムラグ取得手段からファイル間のタイムラグが入力される。そして、残再生時間推定手段20は、前記した手法によって残再生時間を推定し、これを送信ファイル選択手段40に出力する。   As shown in FIG. 1, the remaining reproduction time estimation means 20 includes a reproduction time of each file already transmitted from the file transmission means 50, an elapsed time after completion of transmission of the first file to the file receiving device, Is entered. Further, as described above, when there is a time lag between files, the remaining playback time estimation means 20 receives the time lag between files from a time lag acquisition means (not shown). Then, the remaining reproduction time estimation unit 20 estimates the remaining reproduction time by the above-described method, and outputs this to the transmission file selection unit 40.

なお、残再生時間推定手段20は、ファイル送信手段50から入力された各ファイルの再生時間を記憶する図示しない記憶手段を備えている。   The remaining reproduction time estimation unit 20 includes a storage unit (not shown) that stores the reproduction time of each file input from the file transmission unit 50.

記憶手段30は、閾値を記憶するとともに、送信予定ファイルおよび前記送信完了ファイルを記憶するものである。ここで、閾値とは、ファイル受信装置のバッファ容量に基づいて予め定められた値を示しており、言い換えれば、ファイル受信装置のバッファ容量にどの程度の余裕を持たせるかの指標となる値を示している。   The storage means 30 stores a threshold value, and stores a transmission schedule file and the transmission completion file. Here, the threshold value indicates a predetermined value based on the buffer capacity of the file receiving device, in other words, a value serving as an index of how much margin is provided for the buffer capacity of the file receiving device. Show.

ファイル送信装置1においては、後記するように、この閾値を大きくすればする程ファイル受信装置に対する同一ファイル(前回送信した送信完了ファイル)の再送回数が減少し、ファイル受信装置のバッファ容量の余裕が増加する(図4参照)。また、一方で、この閾値を小さくすればする程ファイル受信装置に対する同一ファイル(前回送信した送信完了ファイル)の再送回数が増加し、ファイル受信装置のバッファ容量の余裕が減少する(図5参照)。   In the file transmission device 1, as will be described later, as the threshold value is increased, the number of retransmissions of the same file (transmission completion file transmitted last time) to the file reception device is reduced, and the buffer capacity of the file reception device is increased. Increase (see FIG. 4). On the other hand, as the threshold value is decreased, the number of retransmissions of the same file (transmission completion file transmitted last time) to the file reception device increases, and the buffer capacity margin of the file reception device decreases (see FIG. 5). .

記憶手段30には、図1に示すように、送信ファイル選択手段40から前回送信した送信完了ファイルと、次回送信すべき送信予定ファイルと、が入力され、記憶手段30はこれらを記憶する。そして、記憶手段30は、後記するように、送信ファイル選択手段40が閾値処理によって、前回送信した送信完了ファイルを選択した場合は当該送信完了ファイルを送信ファイル選択手段40に出力し、次回送信すべき送信予定ファイルを選択した場合は当該送信予定ファイルを送信ファイル選択手段40に出力する。   As shown in FIG. 1, the transmission completion file transmitted last time and the transmission scheduled file to be transmitted next time are input to the storage unit 30, and the storage unit 30 stores them. Then, as will be described later, when the transmission file selection unit 40 selects the transmission completion file transmitted last time by threshold processing, the storage unit 30 outputs the transmission completion file to the transmission file selection unit 40 and transmits it next time. When a transmission schedule file to be transmitted is selected, the transmission schedule file is output to the transmission file selection means 40.

送信ファイル選択手段40は、ファイル受信装置に対して、前回送信した送信完了ファイルと同じファイルを再度送信するのか、あるいは、次に送信すべき送信予定ファイルを送信するのか、を閾値処理によって選択するものである。送信ファイル選択手段40は、具体的には、前記した残再生時間からこれから送信しようとする送信予定ファイルの送信時間を減算した時間を閾値と比較し、当該時間が閾値以上であるか、あるいは閾値未満であるかによって、送信するファイルを選択する。なお、残再生時間からこれから送信しようとする送信予定ファイルの送信時間を減算した時間とは、ファイル受信装置に対して、次回送信すべき送信予定ファイルを送信したと仮定した場合における残再生時間を示している。   The transmission file selection means 40 selects whether to transmit the same file as the previously transmitted transmission completion file to the file receiving apparatus again or to transmit the transmission scheduled file to be transmitted next by threshold processing. Is. Specifically, the transmission file selection means 40 compares a time obtained by subtracting the transmission time of the transmission-scheduled file to be transmitted from the remaining reproduction time described above with a threshold value, and the time is equal to or greater than the threshold value. Select a file to send depending on whether it is less than The time obtained by subtracting the transmission time of the scheduled transmission file to be transmitted from the remaining reproduction time is the remaining reproduction time when it is assumed that the next transmission file to be transmitted is transmitted to the file receiving device. Show.

この場合、送信ファイル選択手段40は、例えば再生時間が2秒の第1ファイルをファイル受信装置に対して送信した場合であって、残再生時間が2秒であり、これから送信しようとする第2ファイルの送信時間が1秒であり、かつ、記憶手段30が予め記憶する閾値が2秒の場合、「2秒(残再生時間(第1ファイルの再生時間))−1秒(第2ファイルの送信時間)=1秒」という演算を行い、閾値(2秒)との比較を行う。そして、送信ファイル選択手段40は、前記した値(1秒)が閾値未満であるため、第1ファイルの次に送信すべき第2ファイルを選択する。   In this case, the transmission file selection means 40 is, for example, a case where the first file having a reproduction time of 2 seconds is transmitted to the file receiving apparatus, and the remaining reproduction time is 2 seconds. When the file transmission time is 1 second and the threshold value stored in advance in the storage means 30 is 2 seconds, “2 seconds (remaining playback time (playback time of the first file)) − 1 second (second file The calculation of “transmission time) = 1 second” is performed, and the comparison with the threshold (2 seconds) is performed. Then, the transmission file selection means 40 selects the second file to be transmitted next to the first file because the above-mentioned value (1 second) is less than the threshold value.

また、送信ファイル選択手段40は、例えば再生時間が2秒の第1ファイルと再生時間が3秒の第2ファイルとをファイル受信装置に対して送信した場合であって、残再生時間が5秒であり、これから送信しようとする第3ファイルの送信時間が2秒であり、かつ、記憶手段30が予め記憶する閾値が2秒の場合、「5秒(残再生時間(第1ファイルの再生時間+第2ファイルの再生時間))−2秒(第3ファイルの送信時間)=3秒」という演算を行い、閾値(2秒)との比較を行う。そして、送信ファイル選択手段40は、前記した値(3秒)が閾値以上であるため、第2ファイルを再度選択する。   The transmission file selection means 40 is, for example, a case where a first file having a reproduction time of 2 seconds and a second file having a reproduction time of 3 seconds are transmitted to the file receiving device, and the remaining reproduction time is 5 seconds. If the transmission time of the third file to be transmitted is 2 seconds and the threshold stored in advance in the storage means 30 is 2 seconds, “5 seconds (remaining reproduction time (reproduction time of the first file) + Second file reproduction time)) − 2 seconds (third file transmission time) = 3 seconds ”and comparison with the threshold (2 seconds). The transmission file selection unit 40 selects the second file again because the above-described value (3 seconds) is equal to or greater than the threshold value.

このように、送信ファイル選択手段40は、ファイル受信装置のバッファ容量に基づいて定められる閾値を用いることで、ファイル受信装置に対して同じファイルを再度送信するのか、あるいは異なるファイルを送信するのか、を選択することができる。   In this way, the transmission file selection means 40 uses the threshold value determined based on the buffer capacity of the file reception device, so that the same file is transmitted again to the file reception device or different files are transmitted. Can be selected.

送信ファイル選択手段40には、図1に示すように、送信時間算出手段10からファイルおよび当該ファイルの送信時間が入力され、残再生時間推定手段20から残再生時間が入力され、記憶手段30から閾値が入力される。また、送信ファイル選択手段40は、図1に示すように、送信時間算出手段10から入力されたファイルのうち、前回送信した送信完了ファイルと、次回送信すべき送信予定ファイルと、を記憶手段30に出力する。そして、送信ファイル選択手段40は、前記した手法によってファイル受信装置に送信するファイルを記憶手段30から選択し、これをファイル送信手段50に出力する。   As shown in FIG. 1, the transmission file selection means 40 receives the file and the transmission time of the file from the transmission time calculation means 10, the remaining reproduction time estimation means 20, and the remaining reproduction time from the storage means 30. A threshold is entered. Further, as shown in FIG. 1, the transmission file selection means 40 stores the transmission completion file transmitted last time and the transmission scheduled file to be transmitted next time among the files input from the transmission time calculation means 10. Output to. Then, the transmission file selection unit 40 selects a file to be transmitted to the file reception device from the storage unit 30 by the above-described method, and outputs this to the file transmission unit 50.

ファイル送信手段50は、送信ファイル選択手段40によって選択された前回送信した送信完了ファイルまたは次回送信すべき送信予定ファイルを、ファイル受信装置に送信するものである。ファイル送信手段50には、図1に示すように、送信ファイル選択手段40から選択された送信完了ファイルまたは送信予定ファイルのいずれかが入力される。そして、ファイル送信手段50は、入力された送信完了ファイルまたは送信予定ファイルをファイル受信装置に送信するとともに、送信した送信予定ファイルの再生時間と、ファイル受信装置に最初に送信した送信完了ファイルの送信完了からの経過時間と、を残再生時間推定手段20に出力する。   The file transmission means 50 transmits the previous transmission completion file selected by the transmission file selection means 40 or the transmission scheduled file to be transmitted next time to the file receiving apparatus. As shown in FIG. 1, either the transmission completion file or the transmission scheduled file selected from the transmission file selection unit 40 is input to the file transmission unit 50. Then, the file transmission means 50 transmits the input transmission completion file or transmission scheduled file to the file reception device, and also transmits the transmission time of the transmitted transmission scheduled file and the transmission completion file transmitted first to the file reception device. The elapsed time from completion is output to the remaining reproduction time estimation means 20.

なお、送信ファイル選択手段40は、前記した送信時間算出手段10から入力された送信予定ファイルのそれぞれの送信時間と、残再生時間推定手段20から入力された残再生時間と、を記憶する図示しない記憶手段を備えている。   The transmission file selection unit 40 stores the transmission time of each transmission scheduled file input from the transmission time calculation unit 10 and the remaining reproduction time input from the remaining reproduction time estimation unit 20 (not shown). A storage means is provided.

以上のような構成を備えるファイル送信装置1は、送信時間算出手段10によって、次に送信しようとするファイルの送信時間を予め算出し、残再生時間推定手段20によってファイル受信装置に既に送信したファイルの残再生時間を推定し、かつ、送信ファイル選択手段40によって前記した残再生時間から送信時間を除算した値と閾値とを比較して送信するファイルを選択することで、常に次に送信するファイルの送信時間を考慮してファイルを送信する。従って、複数のファイルを所定の順序に従ってファイル受信装置に対して送信した場合であっても、前回のファイルの再生終了までに次回のファイルの送信を完了させることができる。   In the file transmission device 1 having the above configuration, the transmission time calculation means 10 calculates the transmission time of the next file to be transmitted in advance, and the file already transmitted to the file reception device by the remaining reproduction time estimation means 20 The file to be always transmitted next is selected by estimating the remaining reproduction time and selecting a file to be transmitted by comparing the threshold value with the value obtained by dividing the transmission time from the remaining reproduction time by the transmission file selection means 40. Send the file considering the transmission time of. Therefore, even when a plurality of files are transmitted to the file receiving device according to a predetermined order, transmission of the next file can be completed by the end of reproduction of the previous file.

また、ファイル送信装置1によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、前回のファイルの再生終了までに次回のファイルの送信を完了させることができるため、再生される音声や映像の途切れをより確実に軽減することができる。また、予め次のファイルの送信時間を算出することでファイル受信装置側のバッファ容量を考慮することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   Further, according to the file transmitting apparatus 1, when transmitting a plurality of files to the file receiving apparatus according to a predetermined order by data broadcasting, it is possible to complete transmission of the next file by the end of reproduction of the previous file. Therefore, it is possible to more reliably reduce interruptions in the reproduced audio and video. In addition, since the buffer capacity on the file receiving device side can be taken into account by calculating the transmission time of the next file in advance, the buffer overflow on the file receiving device side can be reduced.

ここで、ファイル送信装置1は、一般的なコンピュータを、前記した各手段として機能させるプログラムにより動作させることで実現することができる。このプログラム(コンテンツ暗号化プログラム)は、通信回線を介して配布することも可能であるし、CD−ROM等の記録媒体に書き込んで配布することも可能である。   Here, the file transmission apparatus 1 can be realized by operating a general computer by a program that functions as each of the above-described units. This program (content encryption program) can be distributed via a communication line, or can be distributed by writing on a recording medium such as a CD-ROM.

[ファイル送信装置1における処理の流れ]
以下、ファイル送信装置1における処理の流れについて、図2および図3を参照しながら簡単に説明する。
[Flow of processing in file transmission apparatus 1]
Hereinafter, the flow of processing in the file transmission apparatus 1 will be briefly described with reference to FIGS. 2 and 3.

図2に示すように、まずステップS1において、ファイル受信装置に送信する一番目のファイルが送信時間算出手段10に入力される。また、送信時間算出手段10が、一番目のファイルを送信ファイル選択手段40に出力する。また、送信ファイル選択手段40が、一番目のファイルを記憶手段30およびファイル送信手段50に出力する。次に、ステップS2において、ファイル送信手段50が、一番目のファイルをファイル受信装置に送信する。次に、ステップS3において、ファイル送信手段50が、一番目のファイルの再生時間を残再生時間推定手段20に出力する。このように、ファイル送信装置1からファイル受信装置に送信する一番目のファイルは、送信時間算出手段10による送信時間の算出処理および送信ファイル選択手段40によるファイルの選択処理を経ずに、無条件でファイル受信装置に送信される。   As shown in FIG. 2, first, in step S <b> 1, the first file to be transmitted to the file receiving device is input to the transmission time calculating means 10. Further, the transmission time calculation means 10 outputs the first file to the transmission file selection means 40. In addition, the transmission file selection unit 40 outputs the first file to the storage unit 30 and the file transmission unit 50. Next, in step S2, the file transmission means 50 transmits the first file to the file receiving device. Next, in step S <b> 3, the file transmission unit 50 outputs the reproduction time of the first file to the remaining reproduction time estimation unit 20. As described above, the first file transmitted from the file transmission apparatus 1 to the file reception apparatus is unconditionally passed through the transmission time calculation process by the transmission time calculation means 10 and the file selection process by the transmission file selection means 40. Is sent to the file receiver.

次に、ステップS4において、ファイル受信装置に送信する二番目のファイルが送信時間算出手段10に入力される。次に、ステップS5において、送信時間算出手段10が、二番目のファイルの送信時間を算出し、これを送信ファイル選択手段40に出力する。次に、ステップS6において、残再生時間推定手段20が、一番目のファイルの再生時間から経過時間を減算して残再生時間を推定し、これを送信ファイル選択手段40に出力する。   Next, in step S4, the second file to be transmitted to the file receiving device is input to the transmission time calculating means 10. Next, in step S <b> 5, the transmission time calculation unit 10 calculates the transmission time of the second file and outputs it to the transmission file selection unit 40. Next, in step S 6, the remaining playback time estimating means 20 estimates the remaining playback time by subtracting the elapsed time from the playback time of the first file, and outputs this to the transmission file selecting means 40.

次に、ステップS7において、送信ファイル選択手段40が、二番目のファイルを記憶手段30に出力する。また、送信ファイル選択手段40が、閾値処理によって、一番目のファイル(前回送信した送信完了ファイル)と二番目のファイル(次回送信すべき送信予定ファイル)のうち、送信すべきファイルを記憶手段30から選択する。ここで、ステップS7における送信ファイルの選択処理は、具体的には図3に示すような処理で構成される。   Next, in step S <b> 7, the transmission file selection unit 40 outputs the second file to the storage unit 30. Further, the transmission file selection means 40 stores the file to be transmitted among the first file (transmission completion file transmitted last time) and the second file (transmission scheduled file to be transmitted next time) by the threshold processing. Select from. Here, the transmission file selection process in step S7 is specifically configured as shown in FIG.

すなわち、図3に示すように、まずステップS71において、残再生時間から二番目のファイルの送信時間を減算した値を算出する。次に、ステップS72において、前記した値を閾値と比較する。そして、前記した値が閾値以上であれは(ステップS72でYes)、ステップS73に進んで前回送信した一番目のファイルを記憶手段30から選択し、これをファイル送信手段50に出力する。また、前記した値が閾値未満であれば(ステップS72でNo)、ステップS74に進んで次回送信する二番目のファイルを記憶手段30から選択し、これをファイル送信手段50に出力する。以下、図2に戻って残りのステップについて説明する。   That is, as shown in FIG. 3, first, in step S71, a value obtained by subtracting the transmission time of the second file from the remaining reproduction time is calculated. Next, in step S72, the above-described value is compared with a threshold value. If the above-described value is equal to or greater than the threshold value (Yes in step S72), the process proceeds to step S73, the first file transmitted last time is selected from the storage means 30, and this is output to the file transmission means 50. If the above-described value is less than the threshold (No in step S72), the process proceeds to step S74, the second file to be transmitted next time is selected from the storage means 30, and this is output to the file transmission means 50. Hereinafter, returning to FIG. 2, the remaining steps will be described.

図2に示すように、ステップS8において、ファイル送信手段50が、選択されたファイルをファイル受信装置に送信する。次に、ステップS9において、ファイル送信手段50が、ファイル受信装置に送信したファイルの再生時間を残再生時間推定手段20に出力する。次に、ステップS10において、全てのファイルを送信している場合は(ステップS10でYes)、処理を終了し、全てのファイルを送信していない場合は(ステップS10でNo)、ステップS4に戻って三番目以降のファイルについて同様の処理を行う。   As shown in FIG. 2, in step S8, the file transmission means 50 transmits the selected file to the file receiving device. Next, in step S <b> 9, the file transmission unit 50 outputs the reproduction time of the file transmitted to the file reception device to the remaining reproduction time estimation unit 20. Next, in step S10, if all the files have been transmitted (Yes in step S10), the process ends. If all the files have not been transmitted (No in step S10), the process returns to step S4. The same processing is performed for the third and subsequent files.

[ファイル送信装置1の動作]
以下、ファイル送信装置1の動作の一例について、図4を参照しながら時系列に沿って簡単に説明する。ここで、以下で説明するファイル送信装置1の動作は、地震が発生した際にテレビを視聴する視聴者に対して地震の内容を伝達する状況において、テレビ画面上部に表示される緊急字幕スーパーとともに、当該字幕の内容を音声で読み上げるために、ファイル受信装置であるテレビに対して、データ放送によって複数の音声ファイルf1〜f5をこの順序で送信する状況を想定している。また、以下で説明するファイル送信装置1の動作は、前記した記憶手段30が記憶する閾値を2秒に設定した場合を想定している。
[Operation of File Transmission Device 1]
Hereinafter, an example of the operation of the file transmission device 1 will be briefly described in time series with reference to FIG. Here, the operation of the file transmission device 1 described below is performed together with the emergency subtitles displayed on the upper part of the TV screen in a situation where the contents of the earthquake are transmitted to the viewers who watch TV when an earthquake occurs. In order to read out the content of the subtitles by voice, a situation is assumed in which a plurality of audio files f1 to f5 are transmitted in this order by data broadcasting to a television which is a file receiving device. The operation of the file transmission apparatus 1 described below assumes a case where the threshold stored in the storage unit 30 is set to 2 seconds.

そして、以下で説明するファイル送信装置1に対応するファイル受信装置の動作は、ファイル送信装置1から音声ファイルを受信した後にタイムラグなく再生が可能なファイル受信装置を用い、かつ、図4に示すように結果として、ファイル送信装置1から受信ミスなく音声ファイルf1〜f5を受信し、音声ファイルf1〜f5を途切れさせることなく再生できた場合を想定している。   The operation of the file receiving apparatus corresponding to the file transmitting apparatus 1 described below uses a file receiving apparatus that can be played back without time lag after receiving an audio file from the file transmitting apparatus 1, and as shown in FIG. As a result, it is assumed that the audio files f1 to f5 are received from the file transmission device 1 without receiving errors, and the audio files f1 to f5 can be reproduced without interruption.

ここで、図4における下側の領域は、ファイル送信装置1側の動作を、上側の領域は、これに対応したファイル受信装置側の動作を示している。また、図4において、ファイル受信装置側に形成された矩形領域は音声ファイルf1〜f5の再生時間を、ファイル送信装置1側に形成された矩形領域は音声ファイルf1〜f5の送信時間を示しており、音声ファイルf1〜f5の送信時間を示す矩形領域内に記載されたカッコ書の数字は、音声ファイルf1〜f5のそれぞれの送信回数を示している。さらに、図4における音声ファイルf1〜f5の送信時間の下のT1〜T11は、後記するように、時間的なタイミングを示している。   Here, the lower area in FIG. 4 shows the operation on the file transmitting apparatus 1 side, and the upper area shows the operation on the file receiving apparatus side corresponding thereto. In FIG. 4, the rectangular area formed on the file receiving device side indicates the playback time of the audio files f1 to f5, and the rectangular area formed on the file transmitting device 1 side indicates the transmission time of the audio files f1 to f5. The numbers in parentheses written in the rectangular areas indicating the transmission times of the audio files f1 to f5 indicate the number of transmissions of each of the audio files f1 to f5. Further, T1 to T11 below the transmission times of the audio files f1 to f5 in FIG. 4 indicate temporal timings as will be described later.

図4における音声ファイルf1〜f5は、以下のような内容の音声ファイルを想定している。
f1:「地震情報です」(再生時間2秒、送信時間1秒)
f2:「各地の震度は次の通りです」(再生時間3秒、送信時間1秒)
f3:「震度3 北海道中部、北海道北部、北海道南部」(再生時間5秒、送信時間2秒)
f4:「青森県北部、岩手県太平洋側」(再生時間3秒、送信時間1秒)
f5:「地震情報を終わります」(再生時間3秒、送信時間1秒)
The audio files f1 to f5 in FIG. 4 are assumed to be audio files having the following contents.
f1: "Earthquake information" (reproduction time 2 seconds, transmission time 1 second)
f2: “The seismic intensity of each place is as follows” (reproduction time 3 seconds, transmission time 1 second)
f3: “Seismic intensity 3 Central Hokkaido, Northern Hokkaido, Southern Hokkaido” (reproduction time 5 seconds, transmission time 2 seconds)
f4: “Northern Aomori Prefecture, Pacific side of Iwate Prefecture” (reproduction time 3 seconds, transmission time 1 second)
f5: “Earthquake information ends” (reproduction time 3 seconds, transmission time 1 second)

(タイミングT1)
図4に示すように、まずタイミングT1では、ファイル送信手段50が、音声ファイルf1をファイル受信装置に送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。
(Timing T1)
As shown in FIG. 4, first, at timing T1, the file transmission unit 50 transmits the audio file f1 to the file receiving device and outputs the reproduction time (2 seconds) of the audio file f1 to the remaining reproduction time estimation unit 20. .

(タイミングT2)
タイミングT2では、音声ファイルf1の1回目の送信が完了する。また、図4に示すように、音声ファイルf1「地震情報です」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf2の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(0秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf2の送信時間(1秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf2を選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信するとともに、音声ファイルf2の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T2)
At timing T2, the first transmission of the audio file f1 is completed. Also, as shown in FIG. 4, the reproduction of the audio file f1 “is earthquake information” starts. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f2. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (0 seconds) from the reproduction time (2 seconds) of the audio file f1. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (2 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f2 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f2 to the file receiving device and outputs the reproduction time (3 seconds) of the audio file f2 to the remaining reproduction time estimation unit 20.

(タイミングT3)
タイミングT3では、音声ファイルf2の1回目の送信が完了する。そして、送信時間算出手段10が、音声ファイルf3の送信時間(2秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(1秒)を減算して残再生時間(4秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(4秒)から音声ファイルf3の送信時間(2秒)を減算した値(2秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf2を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信する。
(Timing T3)
At timing T3, the first transmission of the audio file f2 is completed. Then, the transmission time calculation means 10 calculates the transmission time (2 seconds) of the audio file f3. Next, the remaining playback time estimation means 20 estimates the remaining playback time (4 seconds) by subtracting the elapsed time (1 second) from the total playback time (5 seconds) of the audio files f1 and f2. Next, the transmission file selection means 40 compares the value (2 seconds) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (4 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f2 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f2 to the file receiving device.

(タイミングT4)
タイミングT4では、音声ファイルf2の2回目の送信が完了する。また、図4に示すように、前記した音声ファイルf1の再生が終了するとともに、音声ファイルf2「各地の震度は次の通りです」の再生が開始する。そして、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(2秒)を減算して残再生時間(3秒)を推定する。なお、合計再生時間は、各ファイルの再生時間を一度だけ加算して算出する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf3の送信時間(2秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf3を選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信するとともに、音声ファイルf3の再生時間(5秒)を残再生時間推定手段20に出力する。
(Timing T4)
At timing T4, the second transmission of the audio file f2 is completed. Also, as shown in FIG. 4, the reproduction of the audio file f1 is completed, and the reproduction of the audio file f2 “Seismic intensity at each place is as follows” is started. Then, the remaining reproduction time estimating means 20 subtracts the elapsed time (2 seconds) from the total reproduction time (5 seconds) of the audio files f1 and f2, and estimates the remaining reproduction time (3 seconds). The total playback time is calculated by adding the playback time of each file only once. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (3 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f3 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f3 to the file receiving device and outputs the reproduction time (5 seconds) of the audio file f3 to the remaining reproduction time estimation unit 20.

(タイミングT5)
タイミングT5では、音声ファイルf3の1回目の送信が完了する。そして、送信時間算出手段10が、音声ファイルf4の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(4秒)を減算して残再生時間(6秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(6秒)から音声ファイルf4の送信時間(1秒)を減算した値(5秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。なお、図4に示すように、タイミングT5の1秒後に、前記した音声ファイルf2の再生が終了するとともに、音声ファイルf3「震度3 北海道中部、北海道北部、北海道南部」の再生が開始する。
(Timing T5)
At timing T5, the first transmission of the audio file f3 is completed. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f4. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (6 seconds) by subtracting the elapsed time (4 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3. Next, the transmission file selection means 40 compares a value (5 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (6 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device. As shown in FIG. 4, one second after the timing T5, the reproduction of the audio file f2 ends, and the reproduction of the audio file f3 “Seismic intensity 3 Hokkaido Central, Northern Hokkaido, Southern Hokkaido” starts.

(タイミングT6)
タイミングT6では、音声ファイルf3の2回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(6秒)を減算して残再生時間(4秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(4秒)から音声ファイルf4の送信時間(1秒)を減算した値(3秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。
(Timing T6)
At timing T6, the second transmission of the audio file f3 is completed. Then, the remaining playback time estimation means 20 subtracts the elapsed time (6 seconds) from the total playback time (10 seconds) of the audio files f1 to f3 to estimate the remaining playback time (4 seconds). Next, the transmission file selection means 40 compares the value (3 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (4 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device.

(タイミングT7)
タイミングT7では、音声ファイルf3の3回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(8秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf4の送信時間(1秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf4を選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信するとともに、音声ファイルf4の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T7)
At timing T7, the third transmission of the audio file f3 is completed. Then, the remaining reproduction time estimating means 20 subtracts the elapsed time (8 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3 to estimate the remaining reproduction time (2 seconds). Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (2 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f4 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f4 to the file receiving device, and outputs the reproduction time (3 seconds) of the audio file f4 to the remaining reproduction time estimation unit 20.

(タイミングT8)
タイミングT8では、音声ファイルf4の1回目の送信が完了する。そして、送信時間算出手段10が、音声ファイルf5の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(9秒)を減算して残再生時間(4秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(4秒)から音声ファイルf5の送信時間(1秒)を減算した値(3秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf4を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T8)
At timing T8, the first transmission of the audio file f4 is completed. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f5. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (4 seconds) by subtracting the elapsed time (9 seconds) from the total reproduction time (13 seconds) of the audio files f1 to f4. Next, the transmission file selection means 40 compares the value (3 seconds) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (4 seconds) with the threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f4 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT9)
タイミングT9では、音声ファイルf4の2回目の送信が完了する。また、図4に示すように、前記した音声ファイルf3の再生が終了するとともに、音声ファイルf4「青森県北部、岩手県太平洋側」の再生が開始する。そして、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(10秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf5の送信時間(1秒)を減算した値(2秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf4を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T9)
At timing T9, the second transmission of the audio file f4 is completed. Also, as shown in FIG. 4, the reproduction of the audio file f3 described above ends, and the reproduction of the audio file f4 “Northern Aomori Prefecture, Pacific side of Iwate Prefecture” starts. Then, the remaining playback time estimating means 20 subtracts the elapsed time (10 seconds) from the total playback time (13 seconds) of the audio files f1 to f4 to estimate the remaining playback time (3 seconds). Next, the transmission file selection means 40 compares the value (2 seconds) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (3 seconds) with the threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f4 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT10)
タイミングT10では、音声ファイルf4の3回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(11秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf5の送信時間(1秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf5を選択する。そして、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。
(Timing T10)
At timing T10, the third transmission of the audio file f4 is completed. Then, the remaining playback time estimation means 20 subtracts the elapsed time (11 seconds) from the total playback time (13 seconds) of the audio files f1 to f4 to estimate the remaining playback time (2 seconds). Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (2 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f5 is selected from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device.

(タイミングT11)
タイミングT11では、音声ファイルf5の1回目の送信が完了する。なお、図4に示すように、タイミングT11の1秒後に、前記した音声ファイルf4の再生が終了するとともに、音声ファイルf5「地震情報を終わります」。
(Timing T11)
At timing T11, the first transmission of the audio file f5 is completed. In addition, as shown in FIG. 4, the reproduction of the above-mentioned audio file f4 is completed after 1 second of the timing T11, and the audio file f5 “earthquake information is finished”.

ファイル送信装置1は、以上のような動作を行うことで、図4に示すように、ファイル受信装置において音声ファイルf1〜f5が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置1は、図4に示すように、ファイル受信装置に対して音声ファイルf1を1回、音声ファイルf2を2回、音声ファイルf3を3回、音声ファイルf4を3回、音声ファイルf5を1回送信することができる。従って、ファイル受信装置側に仮に音声ファイルの受信ミスが生じた場合であっても、音声ファイルの欠落を軽減することができる。   By performing the operation as described above, the file transmission device 1 can transmit each file so that the audio files f1 to f5 are reproduced without interruption in the file reception device as shown in FIG. . In addition, as shown in FIG. 4, the file transmission device 1 receives the audio file f1 once, the audio file f2 twice, the audio file f3 three times, the audio file f4 three times, The file f5 can be transmitted once. Therefore, even if an audio file reception error occurs on the file receiving device side, the loss of the audio file can be reduced.

[ファイル送信装置1の他の動作]
以下、ファイル送信装置1の動作の他の一例について、図5を参照しながら時系列に沿って簡単に説明する。ここで、以下で説明するファイル送信装置1の動作は、前記した記憶手段30が記憶する閾値を1秒に設定した場合を想定している。なお、その他の条件は全て前記したファイル送信装置1の動作(図4参照)と同じである。
[Other operations of the file transmission apparatus 1]
Hereinafter, another example of the operation of the file transmission device 1 will be briefly described in time series with reference to FIG. Here, the operation of the file transmission device 1 described below assumes a case where the threshold stored in the storage unit 30 is set to 1 second. All other conditions are the same as the operation of the file transmission apparatus 1 (see FIG. 4).

(タイミングT12)
タイミングT12では、ファイル送信手段50が、音声ファイルf1をファイル受信装置に送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。
(Timing T12)
At timing T <b> 12, the file transmission unit 50 transmits the audio file f <b> 1 to the file receiving device and outputs the reproduction time (2 seconds) of the audio file f <b> 1 to the remaining reproduction time estimation unit 20.

(タイミングT13)
タイミングT13では、音声ファイルf1の1回目の送信が完了する。また、図5に示すように、音声ファイルf1「地震情報です」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf2の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(0秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf2の送信時間(1秒)を減算した値(1秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf1を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf1をファイル受信装置に送信する。
(Timing T13)
At timing T13, the first transmission of the audio file f1 is completed. In addition, as shown in FIG. 5, reproduction of the audio file f1 “is earthquake information” starts. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f2. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (0 seconds) from the reproduction time (2 seconds) of the audio file f1. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (2 seconds) with the threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f1 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f1 to the file receiving device.

(タイミングT14)
タイミングT14では、音声ファイルf1の2回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(1秒)を減算して残再生時間(1秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(1秒)から音声ファイルf2の送信時間(1秒)を減算した値(0秒)を閾値(1秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf2を選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信するとともに、音声ファイルf2の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T14)
At timing T14, the second transmission of the audio file f1 is completed. Then, the remaining playback time estimating means 20 subtracts the elapsed time (1 second) from the playback time (2 seconds) of the audio file f1 to estimate the remaining playback time (1 second). Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (1 second) with the threshold value (1 second), and is less than the threshold value. Therefore, the next audio file f2 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f2 to the file receiving device and outputs the reproduction time (3 seconds) of the audio file f2 to the remaining reproduction time estimation unit 20.

(タイミングT15)
タイミングT15では、音声ファイルf2の1回目の送信が完了する。また、図5に示すように、前記した音声ファイルf1の再生が終了するとともに、音声ファイルf2「各地の震度は次の通りです」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf3の送信時間(2秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(2秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf3の送信時間(2秒)を減算した値(1秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf2を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信する。
(Timing T15)
At timing T15, the first transmission of the audio file f2 is completed. Also, as shown in FIG. 5, the reproduction of the audio file f1 is completed, and the reproduction of the audio file f2 “The seismic intensity at each place is as follows” is started. Then, the transmission time calculation means 10 calculates the transmission time (2 seconds) of the audio file f3. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (3 seconds) by subtracting the elapsed time (2 seconds) from the total reproduction time (5 seconds) of the audio files f1 and f2. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (3 seconds) with the threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f2 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f2 to the file receiving device.

(タイミングT16)
タイミングT16では、音声ファイルf2の2回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(3秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf3の送信時間(2秒)を減算した値(0秒)を閾値(1秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf3を選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信するとともに、音声ファイルf3の再生時間(5秒)を残再生時間推定手段20に出力する。
(Timing T16)
At timing T16, the second transmission of the audio file f2 is completed. Then, the remaining playback time estimating means 20 subtracts the elapsed time (3 seconds) from the total playback time (5 seconds) of the audio files f1 and f2, and estimates the remaining playback time (2 seconds). Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (2 seconds) with the threshold value (1 second), and is less than the threshold value. Therefore, the next audio file f3 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f3 to the file receiving device and outputs the reproduction time (5 seconds) of the audio file f3 to the remaining reproduction time estimation unit 20.

(タイミングT17)
タイミングT17では、音声ファイルf3の1回目の送信が完了する。また、図5に示すように、音声ファイルf2の再生が終了するとともに、音声ファイルf3「震度3 北海道中部、北海道北部、北海道南部」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf4の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(5秒)を減算して残再生時間(5秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(5秒)から音声ファイルf4の送信時間(1秒)を減算した値(4秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。
(Timing T17)
At timing T17, the first transmission of the audio file f3 is completed. Also, as shown in FIG. 5, the reproduction of the audio file f2 is finished, and the reproduction of the audio file f3 “Seismic intensity 3 Hokkaido central, northern Hokkaido, southern Hokkaido” is started. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f4. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (5 seconds) by subtracting the elapsed time (5 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3. Next, the transmission file selection means 40 compares the value (4 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (5 seconds) with the threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device.

(タイミングT18)
タイミングT18では、音声ファイルf3の2回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(7秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf4の送信時間(1秒)を減算した値(2秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。
(Timing T18)
At timing T18, the second transmission of the audio file f3 is completed. Then, the remaining playback time estimation means 20 subtracts the elapsed time (7 seconds) from the total playback time (10 seconds) of the audio files f1 to f3 to estimate the remaining playback time (3 seconds). Next, the transmission file selection means 40 compares the value (2 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (3 seconds) with the threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device.

(タイミングT19)
タイミングT19では、音声ファイルf3の3回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(9秒)を減算して残再生時間(1秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(1秒)から音声ファイルf4の送信時間(1秒)を減算した値(0秒)を閾値(1秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf4を選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信するとともに、音声ファイルf4の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T19)
At timing T19, the third transmission of the audio file f3 is completed. Then, the remaining playback time estimating means 20 subtracts the elapsed time (9 seconds) from the total playback time (10 seconds) of the audio files f1 to f3 to estimate the remaining playback time (1 second). Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (1 second) with the threshold value (1 second), and is less than the threshold value. Therefore, the next audio file f4 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f4 to the file receiving device, and outputs the reproduction time (3 seconds) of the audio file f4 to the remaining reproduction time estimation unit 20.

(タイミングT20)
タイミングT20では、音声ファイルf4の1回目の送信が完了する。また、図5に示すように、前記した音声ファイルf3の再生が終了するとともに、音声ファイルf4「青森県北部、岩手県太平洋側」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf5の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(10秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf5の送信時間(1秒)を減算した値(2秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf4を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T20)
At timing T20, the first transmission of the audio file f4 is completed. Also, as shown in FIG. 5, the reproduction of the above-described audio file f3 is completed, and the reproduction of the audio file f4 “Northern Aomori Prefecture, Pacific side of Iwate Prefecture” is started. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f5. Next, the remaining playback time estimation means 20 estimates the remaining playback time (3 seconds) by subtracting the elapsed time (10 seconds) from the total playback time (13 seconds) of the audio files f1 to f4. Next, the transmission file selection means 40 compares a value (2 seconds) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (3 seconds) with a threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f4 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT21)
タイミングT21では、音声ファイルf4の2回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(11秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf5の送信時間(1秒)を減算した値(1秒)を閾値(1秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf4を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T21)
At timing T21, the second transmission of the audio file f4 is completed. Then, the remaining playback time estimation means 20 subtracts the elapsed time (11 seconds) from the total playback time (13 seconds) of the audio files f1 to f4 to estimate the remaining playback time (2 seconds). Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (2 seconds) with the threshold value (1 second), and is equal to or greater than the threshold value. Therefore, the audio file f4 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT22)
タイミングT22では、音声ファイルf4の3回目の送信が完了する。そして、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(12秒)を減算して残再生時間(1秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(1秒)から音声ファイルf5の送信時間(1秒)を減算した値(0秒)を閾値(1秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf5を選択する。そして、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。
(Timing T22)
At timing T22, the third transmission of the audio file f4 is completed. Then, the remaining reproduction time estimating means 20 subtracts the elapsed time (12 seconds) from the total reproduction time (13 seconds) of the audio files f1 to f4 to estimate the remaining reproduction time (1 second). Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (1 second) with the threshold value (1 second), and is less than the threshold value. Therefore, the next audio file f5 is selected from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device.

(タイミングT23)
タイミングT23では、音声ファイルf5の1回目の送信が完了する。また、図5に示すように、前記した音声ファイルf4の再生が終了するとともに、音声ファイルf5「地震情報を終わります」の再生が開始する。
(Timing T23)
At timing T23, the first transmission of the audio file f5 is completed. Further, as shown in FIG. 5, the reproduction of the audio file f4 is completed, and the reproduction of the audio file f5 “End of earthquake information” is started.

ファイル送信装置1は、以上のような動作を行うことで、図5に示すように、ファイル受信装置において音声ファイルf1〜f5が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置1は、図5に示すように、ファイル受信装置に対して音声ファイルf1を2回、音声ファイルf2を2回、音声ファイルf3を3回、音声ファイルf4を3回、音声ファイルf5を1回送信することができる。従って、ファイル受信装置側で仮に音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができる。   By performing the operation as described above, the file transmission device 1 can transmit each file so that the audio files f1 to f5 are reproduced without interruption in the file reception device as shown in FIG. . In addition, as shown in FIG. 5, the file transmission device 1 receives the audio file f1 twice, the audio file f2 twice, the audio file f3 three times, the audio file f4 three times, The file f5 can be transmitted once. Therefore, even if there is an audio file reception error on the file receiving device side, it is possible to reduce the interruption of the audio due to the absence of the audio file.

[第2実施形態]
以下、第2実施形態に係るファイル送信装置2について、図6を参照しながら詳細に説明する。第2実施形態に係るファイル送信装置2は、図6に示す再送回数設定手段60を備えること以外は、前記した第1実施形態に係るファイル送信装置1と同様の構成を備えている。従って、前記したファイル送信装置1と重複する構成については、同じ符号を付して説明を省略する。
[Second Embodiment]
Hereinafter, the file transmission apparatus 2 according to the second embodiment will be described in detail with reference to FIG. The file transmission apparatus 2 according to the second embodiment has the same configuration as that of the file transmission apparatus 1 according to the first embodiment described above except that the retransmission number setting means 60 shown in FIG. 6 is provided. Therefore, about the structure which overlaps with the above-mentioned file transmission apparatus 1, the same code | symbol is attached | subjected and description is abbreviate | omitted.

再送回数設定手段60は、ファイル受信装置に前回送信した送信完了ファイル同じファイルを再送する回数を設定するものである。再送回数設定手段60は、例えば、あるファイルをファイル受信装置に送信した後に、当該ファイルをこの後何回再送するのかを示す再送回数を設定する。   The retransmission number setting means 60 sets the number of times to retransmit the same file that has been transmitted last time to the file receiving apparatus. The retransmission number setting means 60 sets, for example, the number of retransmissions indicating how many times the file is to be retransmitted after transmitting a file to the file receiving apparatus.

なお、再送回数設定手段60は、例えば、前回送信したファイルと同じファイルを少なくともこの回数以上は送信するという最低送信回数として設定することができる。この場合、送信ファイル選択手段40は、当該最低送信回数に満たすまでは前回送信したファイルと同じファイルを無条件で選択し、当該最低送信回数を満たした場合、それ以上の回数を送信するかどうかの判定は、前記した閾値処理によって行う。   Note that the retransmission number setting means 60 can set the minimum number of transmissions, for example, to transmit at least the same number of files as the previously transmitted file. In this case, the transmission file selection means 40 unconditionally selects the same file as the previously transmitted file until the minimum number of transmissions is satisfied, and if the minimum number of transmissions is satisfied, whether or not to transmit more than that number This determination is performed by the threshold processing described above.

また、再送回数設定手段60は、例えば、前回送信したファイルと同じファイルをこの回数以上は送信しないという最高送信回数を設定することもできる。この場合、送信ファイル選択手段40は、当該最高送信回数を満たすまでは前記した閾値処理によって選択すべきファイルを判定し、当該最高送信回数を満たした場合は、次に送信すべきファイルを無条件で選択する。   In addition, the retransmission number setting means 60 can set the maximum number of transmissions such that, for example, the same file as the previously transmitted file is not transmitted more than this number of times. In this case, the transmission file selection means 40 determines the file to be selected by the threshold processing until the maximum number of transmissions is satisfied, and if the maximum number of transmissions is satisfied, the file to be transmitted next is unconditionally Select with.

再送回数設定手段60には、図6に示すように、音声ファイルまたは動画ファイルからなる複数のファイルが予め定められた順序に従って入力される。そして、送信時間算出手段10は、入力されたファイルの再送回数を設定し、これを前記したファイルとともに送信ファイル選択手段40に出力する。そして、送信ファイル選択手段40が、再送回数を満たすまで前回送信したファイルと同じファイルを選択する。   As shown in FIG. 6, a plurality of files consisting of audio files or moving image files are input to the retransmission count setting means 60 according to a predetermined order. Then, the transmission time calculation unit 10 sets the number of retransmissions of the input file, and outputs this to the transmission file selection unit 40 together with the above-described file. Then, the transmission file selection means 40 selects the same file as the previously transmitted file until the number of retransmissions is satisfied.

以上のような構成を備えるファイル送信装置2は、再送回数設定手段60が設定した再送回数に従って、送信ファイル選択手段40が再送回数を満たすまで前回送信したファイルと同じファイルを選択することで、ファイル送信手段50が同じファイルを繰り返し送信するため、ファイル受信装置側で仮にファイルの受信ミスがあった場合であっても、ファイル受信装置がファイルを再度受信することができる。   The file transmission apparatus 2 having the above configuration selects the same file as the previously transmitted file until the transmission file selection unit 40 satisfies the number of retransmissions according to the number of retransmissions set by the retransmission number setting unit 60. Since the transmission means 50 repeatedly transmits the same file, the file reception apparatus can receive the file again even if there is a file reception error on the file reception apparatus side.

また、ファイル送信装置2によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、当該ファイル受信装置側でファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れをより確実に軽減することができる。   Further, according to the file transmission device 2, even when a plurality of files are transmitted to the file reception device in accordance with a predetermined order by data broadcasting, even if there is a file reception error on the file reception device side. In addition, sound interruptions due to missing files can be reduced more reliably.

[ファイル送信装置2の動作]
以下、ファイル送信装置2の動作の一例について、図7を参照しながら簡単に説明する。ここで、以下で説明するファイル送信装置2の動作は、前記した記憶手段30が記憶する閾値を2秒に設定し、かつ、最低送信回数を2回に設定した場合を想定している。なお、その他の条件は全て前記したファイル送信装置1の動作(図4参照)と同じである。
[Operation of File Transmission Device 2]
Hereinafter, an example of the operation of the file transmission apparatus 2 will be briefly described with reference to FIG. Here, the operation of the file transmission apparatus 2 described below assumes that the threshold stored in the storage unit 30 is set to 2 seconds and the minimum number of transmissions is set to 2 times. All other conditions are the same as the operation of the file transmission apparatus 1 (see FIG. 4).

(タイミングT24)
タイミングT24では、再送回数設定手段60が、音声ファイルf1の最低送信回数を2回(再送回数:1回)に設定する。次に、ファイル送信手段50が、音声ファイルf1をファイル受信装置に送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。
(Timing T24)
At timing T24, the retransmission count setting means 60 sets the minimum transmission count of the audio file f1 to 2 (the number of retransmissions: 1). Next, the file transmission means 50 transmits the audio file f1 to the file receiving device and outputs the reproduction time (2 seconds) of the audio file f1 to the remaining reproduction time estimation means 20.

(タイミングT25)
タイミングT25では、音声ファイルf1の1回目の送信が完了する。また、図7に示すように、音声ファイルf1「地震情報です」の再生が開始する。そして、再送回数が残り1回であるため、送信ファイル選択手段40が、記憶手段30から音声ファイルf1を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf1をファイル受信装置に送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。
(Timing T25)
At timing T25, the first transmission of the audio file f1 is completed. Also, as shown in FIG. 7, the reproduction of the audio file f1 “is earthquake information” starts. Since the remaining number of retransmissions is one, the transmission file selection unit 40 selects the audio file f1 from the storage unit 30 again. Next, the file transmission unit 50 transmits the selected audio file f1 to the file receiving device and outputs the reproduction time (2 seconds) of the audio file f1 to the remaining reproduction time estimation unit 20.

(タイミングT26)
タイミングT26では、音声ファイルf1の最低送信回数を満たす2回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf2の最低送信回数を2回に設定する。次に、送信時間算出手段10が、音声ファイルf2の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(1秒)を減算して残再生時間(1秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(1秒)から音声ファイルf2の送信時間(1秒)を減算した値(0秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf2を選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信するとともに、音声ファイルf2の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T26)
At timing T26, the second transmission that satisfies the minimum number of transmissions of the audio file f1 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f2 to two. Next, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f2. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (1 second) by subtracting the elapsed time (1 second) from the reproduction time (2 seconds) of the audio file f1. Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (1 second) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f2 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f2 to the file receiving device and outputs the reproduction time (3 seconds) of the audio file f2 to the remaining reproduction time estimation unit 20.

(タイミングT27)
タイミングT27では、音声ファイルf2の1回目の送信が完了する。また、図7に示すように、音声ファイルf1の送信が完了するとともに、音声ファイルf2「各地の震度は次の通りです」の再生が開始する。そして、再送回数が残り1回であるため、送信ファイル選択手段40が、記憶手段30から音声ファイルf2を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信する。
(Timing T27)
At timing T27, the first transmission of the audio file f2 is completed. Further, as shown in FIG. 7, the transmission of the audio file f1 is completed, and the reproduction of the audio file f2 “Seismic intensity at each place is as follows” is started. Since the remaining number of retransmissions is one, the transmission file selection unit 40 selects the audio file f2 from the storage unit 30 again. Next, the file transmitting means 50 transmits the selected audio file f2 to the file receiving device.

(タイミングT28)
タイミングT28では、音声ファイルf2の最低送信回数を満たす2回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf3の最低送信回数を2回に設定する。次に、送信時間算出手段10が、音声ファイルf3の送信時間(2秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(3秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf3の送信時間(2秒)を減算した値(0秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf3を選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信するとともに、音声ファイルf3の再生時間(5秒)を残再生時間推定手段20に出力する。
(Timing T28)
At timing T28, the second transmission that satisfies the minimum number of transmissions of the audio file f2 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f3 to two. Next, the transmission time calculation means 10 calculates the transmission time (2 seconds) of the audio file f3. Next, the remaining playback time estimation means 20 estimates the remaining playback time (2 seconds) by subtracting the elapsed time (3 seconds) from the total playback time (5 seconds) of the audio files f1 and f2. Next, the transmission file selection means 40 compares a value (0 seconds) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (2 seconds) with a threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f3 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f3 to the file receiving device and outputs the reproduction time (5 seconds) of the audio file f3 to the remaining reproduction time estimation unit 20.

(タイミングT29)
タイミングT29では、音声ファイルf3の1回目の送信が完了する。また、図7に示すように、音声ファイルf2の送信が完了するとともに、音声ファイルf3「震度3 北海道中部、北海道北部、北海道南部」の再生が開始する。そして、再送回数が残り1回であるため、送信ファイル選択手段40が、記憶手段30から音声ファイルf3を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。
(Timing T29)
At timing T29, the first transmission of the audio file f3 is completed. Further, as shown in FIG. 7, the transmission of the audio file f2 is completed, and the reproduction of the audio file f3 “Seismic intensity 3 Hokkaido central, northern Hokkaido, southern Hokkaido” is started. Since the remaining number of retransmissions is one, the transmission file selection unit 40 selects the audio file f3 from the storage unit 30 again. Next, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device.

(タイミングT30)
タイミングT30では、音声ファイルf3の最低送信回数を満たす2回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf4の最低送信回数を2回に設定する。次に、送信時間算出手段10が、音声ファイルf4の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(7秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(3秒)から音声ファイルf4の送信時間(1秒)を減算した値(2秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。
(Timing T30)
At timing T30, the second transmission that satisfies the minimum number of transmissions of the audio file f3 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f4 to two. Next, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f4. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (3 seconds) by subtracting the elapsed time (7 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3. Next, the transmission file selection means 40 compares the value (2 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (3 seconds) with the threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device.

(タイミングT31)
タイミングT31では、音声ファイルf3の3回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf4の最低送信回数を2回に設定する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(9秒)を減算して残再生時間(1秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(1秒)から音声ファイルf4の送信時間(1秒)を減算した値(0秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf4を選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信するとともに、音声ファイルf4の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T31)
At timing T31, the third transmission of the audio file f3 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f4 to two. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (1 second) by subtracting the elapsed time (9 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3. Next, the transmission file selection means 40 compares the value (0 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (1 second) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f4 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f4 to the file receiving device, and outputs the reproduction time (3 seconds) of the audio file f4 to the remaining reproduction time estimation unit 20.

(タイミングT32)
タイミングT32では、音声ファイルf4の1回目の送信が完了する。また、図7に示すように、前記した音声ファイルf3の再生が終了するとともに、音声ファイルf4「青森県北部、岩手県太平洋側」の再生が開始する。そして、再送回数が残り1回であるため、送信ファイル選択手段40が、記憶手段30から音声ファイルf4を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T32)
At timing T32, the first transmission of the audio file f4 is completed. Further, as shown in FIG. 7, the reproduction of the audio file f3 is completed, and the reproduction of the audio file f4 “Northern Aomori Prefecture, Pacific side of Iwate Prefecture” is started. Since the remaining number of retransmissions is one, the transmission file selection unit 40 selects the audio file f4 from the storage unit 30 again. Next, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT33)
タイミングT33では、音声ファイルf4の最低送信回数を満たす2回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf5の最低送信回数を2回に設定する。次に、送信時間算出手段10が、音声ファイルf5の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(11秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf4の送信時間(1秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf5を選択する。そして、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。
(Timing T33)
At timing T33, the second transmission that satisfies the minimum number of transmissions of the audio file f4 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f5 to 2 times. Next, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f5. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (11 seconds) from the total reproduction time (13 seconds) of the audio files f1 to f4. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (2 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f5 is selected from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device.

(タイミングT34)
タイミングT34では、音声ファイルf5の1回目の送信が完了する。そして、再送回数が残り1回であるため、送信ファイル選択手段40が、記憶手段30から音声ファイルf5を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。
(Timing T34)
At timing T34, the first transmission of the audio file f5 is completed. Since the remaining number of retransmissions is one, the transmission file selection unit 40 selects the audio file f5 from the storage unit 30 again. Next, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device.

(タイミングT35)
タイミングT35では、音声ファイルf5の最低送信回数を満たす2回目の送信が完了する。また、図7に示すように、前記した音声ファイルf4の再生が終了するとともに、音声ファイルf5「地震情報を終わります」の再生が開始する。
(Timing T35)
At timing T35, the second transmission that satisfies the minimum number of transmissions of the audio file f5 is completed. Further, as shown in FIG. 7, the reproduction of the above-described audio file f4 is completed, and the reproduction of the audio file f5 “earthquake information is finished” is started.

ファイル送信装置2は、以上のような動作を行うことで、図7に示すように、ファイル受信装置において音声ファイルf1〜f5が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置2は、図7に示すように、ファイル受信装置に対して音声ファイルf1を2回、音声ファイルf2を2回、音声ファイルf3を3回、音声ファイルf4を2回、音声ファイルf5を2回送信することができる。従って、ファイル受信装置側で仮に音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができる。   By performing the above operation, the file transmission device 2 can transmit each file so that the audio files f1 to f5 are reproduced without interruption in the file reception device as shown in FIG. . Further, as shown in FIG. 7, the file transmitting apparatus 2 receives the audio file f1 twice, the audio file f2 twice, the audio file f3 three times, the audio file f4 twice, The file f5 can be transmitted twice. Therefore, even if there is an audio file reception error on the file receiving device side, it is possible to reduce the interruption of the audio due to the absence of the audio file.

[ファイル送信装置2の他の動作]
以下、ファイル送信装置2の動作の他の一例について、図8を参照しながら簡単に説明する。ここで、以下で説明するファイル送信装置2の動作は、前記した記憶手段30が記憶する閾値を2秒に設定し、かつ、最高送信回数を2回に設定した場合を想定している。なお、その他の条件は全て前記したファイル送信装置1の動作(図4参照)と同じである。
[Other operations of the file transmission apparatus 2]
Hereinafter, another example of the operation of the file transmission apparatus 2 will be briefly described with reference to FIG. Here, the operation of the file transmission apparatus 2 described below assumes that the threshold stored in the storage unit 30 is set to 2 seconds and the maximum number of transmissions is set to 2 times. All other conditions are the same as the operation of the file transmission apparatus 1 (see FIG. 4).

(タイミングT36)
タイミングT36では、再送回数設定手段60が、音声ファイルf1の最高送信回数を2回に設定する。次に、ファイル送信手段50が、音声ファイルf1をファイル受信装置に送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。
(Timing T36)
At timing T36, the number-of-retransmissions setting unit 60 sets the maximum number of transmissions of the audio file f1 to two. Next, the file transmission means 50 transmits the audio file f1 to the file receiving device and outputs the reproduction time (2 seconds) of the audio file f1 to the remaining reproduction time estimation means 20.

(タイミングT37)
タイミングT37では、音声ファイルf1の1回目の送信が完了する。また、図8に示すように、音声ファイルf1「地震情報です」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf2の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(0秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(2秒)から音声ファイルf2の送信時間(1秒)を減算した値(1秒)を閾値(2秒)と比較し、閾値未満であるため、記憶手段30から次の音声ファイルf2を選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信するとともに、音声ファイルf2の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T37)
At timing T37, the first transmission of the audio file f1 is completed. Also, as shown in FIG. 8, the reproduction of the audio file f1 “is earthquake information” starts. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f2. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (0 seconds) from the reproduction time (2 seconds) of the audio file f1. Next, the transmission file selection means 40 compares the value (1 second) obtained by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (2 seconds) with the threshold value (2 seconds), and is less than the threshold value. Therefore, the next audio file f2 is selected from the storage means 30. Then, the file transmission unit 50 transmits the selected audio file f2 to the file receiving device and outputs the reproduction time (3 seconds) of the audio file f2 to the remaining reproduction time estimation unit 20.

(タイミングT38)
タイミングT38では、音声ファイルf2の1回目の送信が完了する。そして、送信時間算出手段10が、音声ファイルf3の送信時間(2秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(1秒)を減算して残再生時間(4秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(4秒)から音声ファイルf3の送信時間(2秒)を減算した値(2秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf2を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf2をファイル受信装置に送信する。
(Timing T38)
At timing T38, the first transmission of the audio file f2 is completed. Then, the transmission time calculation means 10 calculates the transmission time (2 seconds) of the audio file f3. Next, the remaining playback time estimation means 20 estimates the remaining playback time (4 seconds) by subtracting the elapsed time (1 second) from the total playback time (5 seconds) of the audio files f1 and f2. Next, the transmission file selection means 40 compares the value (2 seconds) obtained by subtracting the transmission time (2 seconds) of the audio file f3 from the remaining reproduction time (4 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f2 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f2 to the file receiving device.

(タイミングT39)
タイミングT39では、音声ファイルf2の2回目の送信が完了する。また、図8に示すように、前記した音声ファイルf1の再生が終了するとともに、音声ファイルf2「各地の震度は次の通りです」の再生が開始する。そして、再送回数が残り0回であり最高送信回数に達しているため、送信ファイル選択手段40が、記憶手段30から次の音声ファイルf3を選択する。次に、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信するとともに、音声ファイルf3の再生時間(5秒)を残再生時間推定手段20に出力する。
(Timing T39)
At timing T39, the second transmission of the audio file f2 is completed. Also, as shown in FIG. 8, the reproduction of the audio file f1 is completed, and the reproduction of the audio file f2 “Seismic intensity at each place is as follows” is started. Since the remaining number of retransmissions is 0 and the maximum number of transmissions has been reached, the transmission file selection means 40 selects the next audio file f3 from the storage means 30. Next, the file transmission unit 50 transmits the selected audio file f3 to the file receiving device and outputs the reproduction time (5 seconds) of the audio file f3 to the remaining reproduction time estimation unit 20.

(タイミングT40)
タイミングT40では、音声ファイルf3の1回目の送信が完了する。次に、送信時間算出手段10が、音声ファイルf4の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(10秒)から経過時間(4秒)を減算して残再生時間(6秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(6秒)から音声ファイルf4の送信時間(1秒)を減算した値(5秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf3を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf3をファイル受信装置に送信する。なお、図8に示すように、タイミングT40の1秒後に、前記した音声ファイルf2の再生が終了するとともに、音声ファイルf3「震度3 北海道中部、北海道北部、北海道南部」の再生が開始する。
(Timing T40)
At timing T40, the first transmission of the audio file f3 is completed. Next, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f4. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (6 seconds) by subtracting the elapsed time (4 seconds) from the total reproduction time (10 seconds) of the audio files f1 to f3. Next, the transmission file selection means 40 compares a value (5 seconds) obtained by subtracting the transmission time (1 second) of the audio file f4 from the remaining reproduction time (6 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f3 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f3 to the file receiving device. As shown in FIG. 8, one second after the timing T40, the reproduction of the audio file f2 is completed, and the reproduction of the audio file f3 “Seismic intensity 3 Hokkaido central, northern Hokkaido, southern Hokkaido” is started.

(タイミングT41)
タイミングT41では、音声ファイルf3の2回目の送信が完了する。そして、再送回数が残り0回であり最高送信回数に達しているため、送信ファイル選択手段40が、記憶手段30から次の音声ファイルf4を選択する。次に、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信するとともに、音声ファイルf4の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T41)
At timing T41, the second transmission of the audio file f3 is completed. Since the remaining number of retransmissions is 0 and the maximum number of transmissions has been reached, the transmission file selection means 40 selects the next audio file f4 from the storage means 30. Next, the file transmission means 50 transmits the selected audio file f4 to the file receiving device, and outputs the reproduction time (3 seconds) of the audio file f4 to the remaining reproduction time estimation means 20.

(タイミングT42)
タイミングT42では、音声ファイルf4の1回目の送信が完了する。次に、送信時間算出手段10が、音声ファイルf5の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1〜f4の合計再生時間(13秒)から経過時間(7秒)を減算して残再生時間(6秒)を推定する。次に、送信ファイル選択手段40が、残再生時間(6秒)から音声ファイルf5の送信時間(1秒)を減算した値(5秒)を閾値(2秒)と比較し、閾値以上であるため、記憶手段30から音声ファイルf4を再度選択する。そして、ファイル送信手段50が、選択された音声ファイルf4をファイル受信装置に送信する。
(Timing T42)
At timing T42, the first transmission of the audio file f4 is completed. Next, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f5. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (6 seconds) by subtracting the elapsed time (7 seconds) from the total reproduction time (13 seconds) of the audio files f1 to f4. Next, the transmission file selection means 40 compares a value (5 seconds) obtained by subtracting the transmission time (1 second) of the audio file f5 from the remaining reproduction time (6 seconds) with a threshold value (2 seconds), and is equal to or greater than the threshold value. Therefore, the audio file f4 is selected again from the storage means 30. Then, the file transmitting means 50 transmits the selected audio file f4 to the file receiving device.

(タイミングT43)
タイミングT43では、音声ファイルf4の2回目の送信が完了する。そして、再送回数が残り0回であり最高送信回数に達しているため、送信ファイル選択手段40が、記憶手段30から次の音声ファイルf5を選択する。次に、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。
(Timing T43)
At timing T43, the second transmission of the audio file f4 is completed. Since the remaining number of retransmissions is 0 and the maximum number of transmissions has been reached, the transmission file selection means 40 selects the next audio file f5 from the storage means 30. Next, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device.

(タイミングT44)
タイミングT44では、音声ファイルf5の1回目の送信が完了する。そして、送信ファイル選択手段40が、記憶手段30から音声ファイルf5を再度選択する。次に、ファイル送信手段50が、選択された音声ファイルf5をファイル受信装置に送信する。なお、ファイル送信装置2において最高送信回数を設定した場合、ファイル送信装置2からファイル受信装置に送信される最後のファイルは、最高送信回数を満たすまで再送される。
(Timing T44)
At timing T44, the first transmission of the audio file f5 is completed. Then, the transmission file selection unit 40 selects the audio file f5 from the storage unit 30 again. Next, the file transmitting means 50 transmits the selected audio file f5 to the file receiving device. When the maximum number of transmissions is set in the file transmission device 2, the last file transmitted from the file transmission device 2 to the file reception device is retransmitted until the maximum number of transmissions is satisfied.

(タイミングT45)
タイミングT45では、音声ファイルf5の2回目の送信が完了する。また、図8に示すように、前記した音声ファイルf3の再生が終了するとともに、音声ファイルf4「青森県北部、岩手県太平洋側」の再生が開始する。なお、図8に示すように、タイミングT45の3秒後に、前記した音声ファイルf4の再生が終了するとともに、音声ファイルf5「地震情報を終わります」の再生が開始する。
(Timing T45)
At timing T45, the second transmission of the audio file f5 is completed. Further, as shown in FIG. 8, the reproduction of the above-described audio file f3 is completed, and the reproduction of the audio file f4 “Northern Aomori Prefecture, Pacific side of Iwate Prefecture” is started. As shown in FIG. 8, at the end of 3 seconds after the timing T45, the reproduction of the audio file f4 ends, and the reproduction of the audio file f5 “earthquake information ends” starts.

ファイル送信装置2は、以上のような動作を行うことで、図8に示すように、ファイル受信装置において音声ファイルf1〜f5が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置2は、図8に示すように、ファイル受信装置に対して音声ファイルf1を1回、音声ファイルf2を2回、音声ファイルf3を2回、音声ファイルf4を2回、音声ファイルf5を2回送信することができる。従って、ファイル受信装置側で仮に音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができる。   By performing the above operation, the file transmission device 2 can transmit each file so that the audio files f1 to f5 are reproduced without interruption in the file reception device as shown in FIG. . Further, as shown in FIG. 8, the file transmission device 2 receives the audio file f1 once, the audio file f2 twice, the audio file f3 twice, the audio file f4 twice, The file f5 can be transmitted twice. Therefore, even if there is an audio file reception error on the file receiving device side, it is possible to reduce the interruption of the audio due to the absence of the audio file.

[第3実施形態]
以下、第3実施形態に係るファイル送信装置3について、図9を参照しながら詳細に説明する。ファイル送信装置3は、図9に示すように、送信時間算出手段10と、残再生時間推定手段20と、ファイル送信手段50と、再送回数設定手段60と、送信ファイル圧縮手段70と、を備えている。ここで、送信時間算出手段10、残再生時間推定手段20、ファイル送信手段50および再送回数設定手段60については、既に説明したものと同様のものであるため、同じ符号を付して説明を省略する。
[Third Embodiment]
Hereinafter, the file transmission device 3 according to the third embodiment will be described in detail with reference to FIG. As shown in FIG. 9, the file transmission device 3 includes a transmission time calculation unit 10, a remaining reproduction time estimation unit 20, a file transmission unit 50, a retransmission number setting unit 60, and a transmission file compression unit 70. ing. Here, since the transmission time calculation means 10, the remaining reproduction time estimation means 20, the file transmission means 50, and the retransmission count setting means 60 are the same as those already described, the same reference numerals are given and description thereof is omitted. To do.

送信ファイル圧縮手段70は、ファイル送信装置3からファイル受信装置に対して送信するファイルを所定のサイズに圧縮するものである。ファイルの圧縮形式としては、例えばAAC形式やMP3形式等を用いることができる。   The transmission file compression unit 70 compresses a file to be transmitted from the file transmission device 3 to the file reception device to a predetermined size. For example, an AAC format, an MP3 format, or the like can be used as the file compression format.

送信ファイル圧縮手段70には、図9に示すように、再送回数設定手段60からファイルを再送する再送回数が入力され、送信時間算出手段10から各ファイルの送信時間が入力され、残再生時間推定手段20から残再生時間が入力される。そして、送信ファイル圧縮手段70は、残再生時間から次回送信すべき送信予定ファイルの送信時間を引いた値を、再送回数(最低送信回数から1を引いた値)で除算することにより、残再生時間内で前回送信した送信完了ファイルを再送する場合の一回分の送信時間を算出し、前回送信した送信完了ファイルの送信時間が、算出した一回分の送信時間未満となるように、当該送信完了ファイルを圧縮する。送信ファイル圧縮手段70は、このように圧縮した送信完了ファイルをファイル送信手段50に出力し、当該ファイル送信手段50は、送信ファイル圧縮手段70によって圧縮された送信完了ファイルをファイル受信装置に送信する。   As shown in FIG. 9, the transmission file compression means 70 receives the number of retransmissions for resending a file from the retransmission number setting means 60, receives the transmission time of each file from the transmission time calculation means 10, and estimates the remaining reproduction time. The remaining reproduction time is input from the means 20. Then, the transmission file compression means 70 divides the value obtained by subtracting the transmission time of the scheduled transmission file to be transmitted next time from the remaining reproduction time by the number of retransmissions (the value obtained by subtracting 1 from the minimum number of transmissions), thereby performing the remaining reproduction. Calculate the transmission time for one transmission when resending the previous transmission completion file within the time, and complete the transmission so that the transmission time of the previous transmission completion file is less than the calculated one transmission time. Compress the file. The transmission file compression unit 70 outputs the transmission completion file compressed in this way to the file transmission unit 50, and the file transmission unit 50 transmits the transmission completion file compressed by the transmission file compression unit 70 to the file reception device. .

なお、送信ファイル圧縮手段70は、これまで送信したファイルの再生時間を合計した残再生時間ではなく、個々のファイルの再生時間を用いてファイルを圧縮することもできる。この場合、送信ファイル圧縮手段70は、前回送信した送信完了ファイルの再生時間から次回送信すべき送信予定ファイルの送信時間を引いた値を、再送回数(最低送信回数から1を引いた値)で除算することにより、前回送信した送信完了ファイルの再生時間内で前回送信した送信完了ファイルを再送する場合の一回分の送信時間を算出し、前回送信した送信完了ファイルの送信時間が、算出した一回分の送信時間未満となるように、当該送信完了ファイルを圧縮する。   The transmission file compression means 70 can also compress the file using the reproduction time of each file, not the remaining reproduction time of the total reproduction times of the files transmitted so far. In this case, the transmission file compression means 70 uses a value obtained by subtracting the transmission time of the transmission-scheduled file to be transmitted next time from the reproduction time of the previously transmitted transmission completion file as the number of retransmissions (a value obtained by subtracting 1 from the minimum number of transmissions) By dividing, the transmission time for one transmission when retransmitting the previous transmission completion file within the playback time of the previous transmission completion file is calculated, and the transmission time of the previous transmission completion file is calculated. The transmission completion file is compressed so that the transmission time is less than the number of transmission times.

以上のような構成を備えるファイル送信装置3は、再送回数設定手段60によって、ファイル受信装置に送信するファイルの再送回数を設定し、送信時間算出手段10からファイルの送信時間を算出し、残再生時間推定手段20によって、ファイル受信装置に既に送信したファイルの残再生時間を推定し、送信ファイル圧縮手段70によって、前記した残再生時間および再送回数から、ファイルを一回送信する際の送信時間を算出し、当該送信時間未満となるようにファイルを圧縮する。従って、複数のファイルを所定の順序に従ってファイル受信装置に対して送信した場合であっても、予め設定した再生回数分だけファイルを確実に送信できるとともに、前回のファイルの再生終了までに次回のファイルの送信を完了させることができる。   The file transmission device 3 having the above-described configuration sets the number of retransmissions of a file to be transmitted to the file reception device by the retransmission number setting unit 60, calculates the file transmission time from the transmission time calculation unit 10, and performs the remaining reproduction. The time estimation means 20 estimates the remaining playback time of the file that has already been transmitted to the file receiving device, and the transmission file compression means 70 determines the transmission time when the file is transmitted once from the remaining playback time and the number of retransmissions. Calculate and compress the file so that it is less than the transmission time. Therefore, even when a plurality of files are transmitted to the file receiving device according to a predetermined order, the files can be reliably transmitted for the preset number of times of reproduction, and the next file can be reproduced by the end of the previous file reproduction. Can be completed.

また、ファイル送信装置3によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、残再生時間と再送回数に基づいてファイルを圧縮することで予め設定した再生回数分だけファイルを確実に送信できるため、当該ファイル受信装置側でファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れをより確実に軽減することができる。また、各ファイルを圧縮してファイル受信装置に送信することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   Further, according to the file transmission device 3, when a plurality of files are transmitted to the file reception device according to a predetermined order by data broadcasting, the files are set in advance by compressing the files based on the remaining reproduction time and the number of retransmissions. Since the file can be transmitted as many times as the number of times of reproduction, even if there is a file reception error on the file receiving device side, the interruption of sound due to the missing file can be more reliably reduced. Further, since each file can be compressed and transmitted to the file receiving device, buffer overflow on the file receiving device side can be reduced.

[ファイル送信装置3の動作]
以下、ファイル送信装置3の動作の一例について、図10を参照しながら簡単に説明する。ここで、以下で説明するファイル送信装置3の動作は、送信するファイルとして音声ファイルf1,f2,f6の3つのみを用い、再送回数設定手段60で設定する各ファイルの最低送信回数を3回(再送回数を2回)として送信する場合を想定している。なお、その他の条件は全て前記したファイル送信装置1の動作(図4参照)と同じである。
[Operation of File Transmission Device 3]
Hereinafter, an example of the operation of the file transmission device 3 will be briefly described with reference to FIG. Here, the operation of the file transmission apparatus 3 described below uses only three of the audio files f1, f2, and f6 as files to be transmitted, and sets the minimum transmission frequency of each file set by the retransmission frequency setting means 60 to 3 times. It is assumed that transmission is performed as (the number of retransmissions is 2). All other conditions are the same as the operation of the file transmission apparatus 1 (see FIG. 4).

そして、以下で説明するファイル送信装置3に対応するファイル受信装置の動作は、ファイル送信装置3から圧縮された音声ファイルを受信した後に、タイムラグなく音声ファイルを解凍して再生が可能なファイル受信装置を用いることを想定している。   The operation of the file receiving apparatus corresponding to the file transmitting apparatus 3 described below is a file receiving apparatus capable of decompressing and reproducing the audio file without time lag after receiving the compressed audio file from the file transmitting apparatus 3 Is assumed to be used.

図10における音声ファイルf6は、以下のような内容の音声ファイルを想定している。
f6:「震度2 栃木県北部、日光市、塩谷町、那須町」(再生時間6秒、送信時間3秒)
The audio file f6 in FIG. 10 is assumed to be an audio file having the following contents.
f6: “Seismic intensity 2: Northern Tochigi Prefecture, Nikko City, Shioya Town, Nasu Town” (reproduction time 6 seconds, transmission time 3 seconds)

(タイミングT46)
タイミングT46では、再送回数設定手段60が、音声ファイルf1の最低送信回数を3回に設定する。次に、ファイル送信手段50が、音声ファイルf1をファイル受信装置に非圧縮で送信するとともに、音声ファイルf1の再生時間(2秒)を残再生時間推定手段20に出力する。なお、このような第1回目の送信時であっても、送信ファイル圧縮手段70によって音声ファイルf1を圧縮し、圧縮後の音声ファイルf1を送信してもよい。そして、この場合の圧縮率は、予め設定した値(非劣化圧縮率)を用いることにする。
(Timing T46)
At timing T46, the retransmission count setting means 60 sets the minimum transmission count of the audio file f1 to 3 times. Next, the file transmission unit 50 transmits the audio file f1 to the file reception device without compression, and outputs the reproduction time (2 seconds) of the audio file f1 to the remaining reproduction time estimation unit 20. Even at the time of such first transmission, the audio file f1 may be compressed by the transmission file compression means 70 and the compressed audio file f1 may be transmitted. In this case, a preset value (non-degraded compression rate) is used as the compression rate.

(タイミングT47)
タイミングT47では、図10に示すように、音声ファイルf1の1回目の送信が完了する。また、図10に示すように、音声ファイルf1「地震情報です」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf2の送信時間(1秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(0秒)を減算して残再生時間(2秒)を推定する。次に、送信ファイル圧縮手段70が、残再生時間(2秒)から音声ファイルf2の送信時間(1秒)を減算した値(1秒)を、最低送信回数(3回)から1を引いた値(2回)で除算し、音声ファイルf1の一回分の送信時間(0.5秒)を算出する。その結果、2送信目以降の音声ファイルf1は、2分の1に圧縮すればよいことがわかる。従って、送信ファイル圧縮手段70が、音声ファイルf1を2分の1に圧縮する。次に、ファイル送信手段50が、圧縮された音声ファイルf1をファイル受信装置に送信する。
(Timing T47)
At timing T47, as shown in FIG. 10, the first transmission of the audio file f1 is completed. Further, as shown in FIG. 10, the reproduction of the audio file f1 “is earthquake information” starts. Then, the transmission time calculation means 10 calculates the transmission time (1 second) of the audio file f2. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (0 seconds) from the reproduction time (2 seconds) of the audio file f1. Next, the transmission file compression means 70 subtracts 1 from the minimum number of transmissions (3 times) by subtracting the transmission time (1 second) of the audio file f2 from the remaining reproduction time (2 seconds). Dividing by the value (twice), the transmission time (0.5 second) for one time of the audio file f1 is calculated. As a result, it is understood that the audio file f1 after the second transmission may be compressed by half. Accordingly, the transmission file compression means 70 compresses the audio file f1 by half. Next, the file transmitting means 50 transmits the compressed audio file f1 to the file receiving device.

(タイミングT48)
タイミングT48は、図10に示すように、圧縮された音声ファイルf1の2回目の送信が完了する。そして、ファイル送信手段50が、圧縮された音声ファイルf1を再度ファイル受信装置に送信する。
(Timing T48)
At timing T48, as shown in FIG. 10, the second transmission of the compressed audio file f1 is completed. Then, the file transmitting means 50 transmits the compressed audio file f1 to the file receiving device again.

(タイミングT49)
タイミングT49は、図10に示すように、圧縮された音声ファイルf1の3回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf2の最低送信回数を3回に設定する。次に、残再生時間推定手段20が、音声ファイルf1の再生時間(2秒)から経過時間(1秒)を減算して残再生時間(1秒)を推定する。その結果、音声ファイルf2の第1回目を非圧縮で送信したとしても、音声ファイルf1の再生終了までに当該音声ファイルf2の送信を完了できることがわかる。従って、送信ファイル圧縮手段70が、音声ファイルf2をファイル受信装置に非圧縮で送信するとともに、音声ファイルf2の再生時間(3秒)を残再生時間推定手段20に出力する。
(Timing T49)
At timing T49, as shown in FIG. 10, the third transmission of the compressed audio file f1 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f2 to 3 times. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (1 second) by subtracting the elapsed time (1 second) from the reproduction time (2 seconds) of the audio file f1. As a result, it can be seen that even if the audio file f2 is transmitted for the first time without being compressed, the transmission of the audio file f2 can be completed by the end of the reproduction of the audio file f1. Accordingly, the transmission file compression means 70 transmits the audio file f2 to the file receiving apparatus without compression, and outputs the reproduction time (3 seconds) of the audio file f2 to the remaining reproduction time estimation means 20.

(タイミングT50)
タイミングT50では、図10に示すように、音声ファイルf2の1回目の送信が完了する。また、図10に示すように、音声ファイルf2「各地の震度は次の通りです」の再生が開始する。そして、送信時間算出手段10が、音声ファイルf6の送信時間(3秒)を算出する。次に、残再生時間推定手段20が、音声ファイルf1,f2の合計再生時間(5秒)から経過時間(2秒)を減算して残再生時間(3秒)を推定する。次に、送信ファイル圧縮手段70が、残再生時間(3秒)から音声ファイルf6の送信時間(3秒)を減算した値(0秒)を、最低送信回数(3回)から1を引いた値(2回)で除算する。その結果、2送信目以降の音声ファイルf2の圧縮後の大きさが0秒となるため、圧縮できないことがわかる。この場合には、送信ファイル圧縮手段70は、予め設定された非劣化圧縮率3分の2によって音声ファイルf6の送信時間を圧縮し、圧縮後の音声ファイルf6の送信時間(2秒)を算出する。そして、送信ファイル圧縮手段70は、残再生時間(3秒)から圧縮後の音声ファイルf6の送信時間(2秒)を減算した値(1秒)を、最低送信回数(3回)から1を引いた値(2回)で除算し、音声ファイルf2の一回分の送信時間(0.5秒)を算出する。その結果、2送信目以降の音声ファイルf2は、2分の1に圧縮すればよいことがわかる。従って、送信ファイル圧縮手段70が、音声ファイルf2を2分の1に圧縮する。次に、ファイル送信手段50が、圧縮された音声ファイルf2をファイル受信装置に送信する。
(Timing T50)
At timing T50, as shown in FIG. 10, the first transmission of the audio file f2 is completed. Also, as shown in FIG. 10, the reproduction of the audio file f2 “The seismic intensity of each place is as follows” starts. Then, the transmission time calculation means 10 calculates the transmission time (3 seconds) of the audio file f6. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (3 seconds) by subtracting the elapsed time (2 seconds) from the total reproduction time (5 seconds) of the audio files f1 and f2. Next, the transmission file compression means 70 subtracts 1 from the minimum number of transmissions (3 times), which is obtained by subtracting the transmission time (3 seconds) of the audio file f6 from the remaining reproduction time (3 seconds). Divide by value (twice). As a result, the size of the audio file f2 after the second transmission after compression is 0 second, so that it can be understood that it cannot be compressed. In this case, the transmission file compression means 70 compresses the transmission time of the audio file f6 by a preset non-degradation compression ratio of 2/3, and calculates the transmission time (2 seconds) of the audio file f6 after compression. To do. The transmission file compression means 70 then subtracts the transmission time (2 seconds) of the compressed audio file f6 from the remaining playback time (3 seconds), and subtracts 1 from the minimum number of transmissions (3 times). Dividing by the subtracted value (twice), the transmission time (0.5 second) for one time of the audio file f2 is calculated. As a result, it is understood that the audio file f2 after the second transmission may be compressed by half. Accordingly, the transmission file compression means 70 compresses the audio file f2 by half. Next, the file transmitting means 50 transmits the compressed audio file f2 to the file receiving device.

(タイミングT51)
タイミングT51は、図10に示すように、圧縮された音声ファイルf2の2回目の送信が完了する。そして、ファイル送信手段50が、圧縮された音声ファイルf2を再度ファイル受信装置に送信する。
(Timing T51)
At timing T51, as shown in FIG. 10, the second transmission of the compressed audio file f2 is completed. Then, the file transmitting means 50 transmits the compressed audio file f2 to the file receiving device again.

(タイミングT52)
タイミングT52は、図10に示すように、圧縮された音声ファイルf2の3回目の送信が完了する。そして、再送回数設定手段60が、音声ファイルf6の最低送信回数を3回に設定する。次に、残再生時間推定手段20が、音声ファイルf1,2の再生時間の合計(5秒)から経過時間(3秒)を減算して残再生時間(2秒)を推定する。その結果、音声ファイルf6の第1回目を非圧縮で送信すると、音声ファイルf2の再生終了までに当該音声ファイルf6の送信を完了できないことがわかる。従って、送信ファイル圧縮手段70が、予め設定された非劣化圧縮率3分の2によって、音声ファイルf6の送信時間を2秒に圧縮する。次に、ファイル送信手段50が、圧縮された音声ファイルf6をファイル受信装置に送信するとともに、音声ファイルf6の再生時間(6秒)を残再生時間推定手段20に出力する。
(Timing T52)
At timing T52, as shown in FIG. 10, the third transmission of the compressed audio file f2 is completed. Then, the retransmission count setting means 60 sets the minimum transmission count of the audio file f6 to 3 times. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (2 seconds) by subtracting the elapsed time (3 seconds) from the total reproduction time (5 seconds) of the audio files f1 and f2. As a result, if the first transmission of the audio file f6 is transmitted without compression, it can be seen that the transmission of the audio file f6 cannot be completed before the reproduction of the audio file f2. Therefore, the transmission file compression means 70 compresses the transmission time of the audio file f6 to 2 seconds with a preset non-deterioration compression ratio of 2/3. Next, the file transmission unit 50 transmits the compressed audio file f6 to the file receiving device, and outputs the reproduction time (6 seconds) of the audio file f6 to the remaining reproduction time estimation unit 20.

(タイミングT53)
タイミングT53では、図10に示すように、音声ファイルf3の1回目の送信が完了する。また、図10に示すように、音声ファイルf6「震度2 栃木県北部、日光市、塩谷町、那須町」の再生が開始する。次に、残再生時間推定手段20が、音声ファイルf1〜f3の合計再生時間(11秒)から経過時間(5秒)を減算して残再生時間(6秒)を推定する。次に、送信ファイル圧縮手段70が、残再生時間(6秒)を、最低送信回数(3回)から1を引いた値(2回)で除算し、音声ファイルf6の一回分の送信時間(3秒)を算出する。その結果、2送信目以降の音声ファイルf6は、圧縮しなくてもよいことがわかる。従って、ファイル送信手段50が、音声ファイルf6をファイル受信装置に非圧縮で送信する。
(Timing T53)
At timing T53, as shown in FIG. 10, the first transmission of the audio file f3 is completed. Also, as shown in FIG. 10, the reproduction of the audio file f6 “Seismic intensity 2 Tochigi northern area, Nikko city, Shioya town, Nasu town” is started. Next, the remaining reproduction time estimation means 20 estimates the remaining reproduction time (6 seconds) by subtracting the elapsed time (5 seconds) from the total reproduction time (11 seconds) of the audio files f1 to f3. Next, the transmission file compression means 70 divides the remaining reproduction time (6 seconds) by the minimum number of transmissions (3 times) minus 1 (2 times), and the transmission time (one time of the audio file f6) ( 3 seconds). As a result, it is understood that the audio file f6 after the second transmission does not need to be compressed. Accordingly, the file transmission means 50 transmits the audio file f6 to the file reception device without compression.

(タイミングT54)
タイミングT54は、図10に示すように、非圧縮の音声ファイルf6の2回目の送信が完了する。そして、ファイル送信手段50が、非圧縮の音声ファイルf6を再度ファイル受信装置に送信する。
(Timing T54)
At timing T54, as shown in FIG. 10, the second transmission of the uncompressed audio file f6 is completed. Then, the file transmitting means 50 transmits the uncompressed audio file f6 again to the file receiving device.

(タイミングT55)
タイミングT55では、図10に示すように、非圧縮の音声ファイルf6の3回目の送信が完了する。また、図10に示すように、前記した音声ファイルf6の再生が終了する。
(Timing T55)
At timing T55, as shown in FIG. 10, the third transmission of the uncompressed audio file f6 is completed. Further, as shown in FIG. 10, the reproduction of the audio file f6 is completed.

ファイル送信装置3は、以上のような動作を行うことで、図10に示すように、ファイル受信装置において音声ファイルf1,f2,f6が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置3は、図10に示すように、ファイル受信装置に対して音声ファイルf1を3回、音声ファイルf2を3回、音声ファイルf6を3回送信することができる。従って、ファイル受信装置側で仮に音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができる。   By performing the operation as described above, the file transmission device 3 transmits each file so that the audio files f1, f2, and f6 are reproduced without interruption in the file reception device as shown in FIG. Can do. As shown in FIG. 10, the file transmission device 3 can transmit the audio file f1 three times, the audio file f2 three times, and the audio file f6 three times to the file receiving device. Therefore, even if there is an audio file reception error on the file receiving device side, it is possible to reduce the interruption of the audio due to the absence of the audio file.

[第4実施形態]
以下、第4実施形態に係るファイル送信装置4について、図11を参照しながら詳細に説明する。ファイル送信装置4は、図11に示すように、送信時間算出手段10と、ファイル送信手段50と、再生終了時間算出手段80と、仮説生成手段90と、仮説統合手段100と、仮説選択手段110と、を備えている。ここで、送信時間算出手段10およびファイル送信手段50については、既に説明したものと同様のものであるため、同じ符号を付して説明を省略する。
[Fourth Embodiment]
Hereinafter, the file transmission device 4 according to the fourth embodiment will be described in detail with reference to FIG. As shown in FIG. 11, the file transmission device 4 includes a transmission time calculation unit 10, a file transmission unit 50, a reproduction end time calculation unit 80, a hypothesis generation unit 90, a hypothesis integration unit 100, and a hypothesis selection unit 110. And. Here, since the transmission time calculation means 10 and the file transmission means 50 are the same as those already described, the same reference numerals are given and description thereof is omitted.

ファイル送信装置4は、これまで説明したファイル送信装置1〜3のように、残再生時間推定手段20によってファイル受信装置の残再生時間、すなわちファイル受信装置のバッファに蓄積されているファイルの容量を推定しながら各ファイルを所定の順序に従って送信するのではなく、各ファイルの送信回数を予め仮説として生成し、その仮説に設定された送信回数に従って各ファイルを送信することを特徴としている。   As with the file transmission apparatuses 1 to 3 described so far, the file transmission apparatus 4 determines the remaining reproduction time of the file reception apparatus, that is, the capacity of the file stored in the buffer of the file reception apparatus by the remaining reproduction time estimation means 20. Instead of transmitting each file according to a predetermined order while estimating, the number of transmissions of each file is generated as a hypothesis in advance, and each file is transmitted according to the number of transmissions set in the hypothesis.

再生終了時間算出手段80は、ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの再生終了時間を算出するものである。再生終了時間算出手段80は、具体的には、ファイル受信装置に最初に送信しようとする送信予定ファイルの送信時間に、送信予定ファイルのそれぞれの再生時間を加算することで、当該送信予定ファイルのそれぞれの再生終了時間を算出する。   The reproduction end time calculating means 80 calculates the reproduction end time of each transmission-scheduled file to be transmitted to the file receiving device. Specifically, the reproduction end time calculating means 80 adds each reproduction time of the transmission planned file to the transmission time of the transmission planned file to be transmitted first to the file receiving device, thereby obtaining the transmission scheduled file. Each playback end time is calculated.

この場合、再生終了時間算出手段80は、例えば再生時間が2秒の第1ファイルと、再生時間が3秒の第2ファイルと、再生時間が5秒の第3ファイルと、をこの順序でファイル受信装置に対して送信した場合、第1ファイルの再生終了時間は2秒と、第2ファイルの再生終了時間は5秒(2秒(第1ファイルの再生時間)+3秒(第2ファイルの再生時間))と、第3ファイルの再生終了時間は10秒(2秒(第1ファイルの再生時間)+3秒(第2ファイルの再生時間)+5秒(第3ファイルの再生時間))と、算出する。   In this case, the reproduction end time calculating means 80 files, for example, a first file having a reproduction time of 2 seconds, a second file having a reproduction time of 3 seconds, and a third file having a reproduction time of 5 seconds in this order. When transmitted to the receiving device, the playback end time of the first file is 2 seconds and the playback end time of the second file is 5 seconds (2 seconds (playback time of the first file) + 3 seconds (playback of the second file) Time)) and the third file playback end time is calculated as 10 seconds (2 seconds (first file playback time) +3 seconds (second file playback time) +5 seconds (third file playback time))) To do.

再生終了時間算出手段80には、図11に示すように、送信時間算出手段10からファイル受信装置に送信しようとする送信予定ファイルのそれぞれの再生時間と、ファイル受信装置に最初に送信しようとする送信予定ファイルの送信時間と、が入力される。そして、再生終了時間算出手段80は、前記した手法によって送信予定ファイルのそれぞれの再生終了時間を算出し、これらを仮説生成手段90に出力する。   As shown in FIG. 11, the reproduction end time calculating unit 80 first tries to transmit the reproduction time of each file scheduled to be transmitted from the transmission time calculating unit 10 to the file receiving device and to the file receiving device. The transmission time of the scheduled transmission file is entered. Then, the reproduction end time calculating unit 80 calculates the reproduction end time of each transmission-scheduled file by the above-described method, and outputs these to the hypothesis generation unit 90.

仮説生成手段90は、ファイル受信装置に対して送信予定ファイルを送信する前に、予め当該送信予定ファイルのそれぞれを繰り返し送信する組み合わせを仮説として複数生成するものである。仮説生成手段90は、例えば前記したように、第1ファイル〜第3ファイルまでの3つのファイルをファイル受信装置に送信する場合、「第1ファイル×2回、第2ファイル×3回、第3ファイル×5回」や、「第1ファイル×4回、第2ファイル×2回、第3ファイル×1回」等の複数の組み合わせを生成する。   The hypothesis generation means 90 generates a plurality of hypotheses as combinations that repeatedly transmit each of the scheduled transmission files in advance before transmitting the scheduled transmission file to the file receiving apparatus. The hypothesis generation means 90, for example, as described above, when transmitting three files from the first file to the third file to the file receiving device, “first file × 2 times, second file × 3 times, third file” A plurality of combinations such as “file × 5 times”, “first file × 4 times, second file × 2 times, third file × 1 time” are generated.

また、仮説生成手段90は、前記したような組み合わせからなる仮説を、当該仮説に含まれる送信予定ファイルのそれぞれの送信時間が、これに対応する送信予定ファイルの再生終了時間を超えない範囲内において生成する。仮説生成手段90は、例えば前記したように、再生時間が2秒の第1ファイルと、再生時間が3秒の第2ファイルと、再生時間が5秒の第3ファイルと、をこの順序でファイル受信装置に対して送信した場合、第1ファイルの再生終了時間である2秒を超えない範囲内で当該第1ファイルを繰り返し送信する組み合わせを生成し、第2ファイルの再生終了時間である5秒を超えない範囲内で当該第2ファイルを繰り返し送信する組み合わせを生成し、第3ファイルの再生終了時間である10秒を超えない範囲内で当該第3ファイルを繰り返し送信する組み合わせを生成する。すなわち、仮説生成手段90は、仮説に含まれる送信予定ファイルのそれぞれの送信時間が、これに対応するファイルの再生終了時間を超えない、という条件下において想定される全ての組み合わせを仮説として生成する。   Further, the hypothesis generation means 90 determines a hypothesis composed of the combinations as described above within a range in which the transmission times of the transmission scheduled files included in the hypothesis do not exceed the playback end time of the corresponding transmission planned file. Generate. For example, as described above, the hypothesis generation means 90 files the first file with a playback time of 2 seconds, the second file with a playback time of 3 seconds, and the third file with a playback time of 5 seconds in this order. When transmitted to the receiving device, a combination for repeatedly transmitting the first file within a range not exceeding 2 seconds that is the reproduction end time of the first file is generated, and 5 seconds that is the reproduction end time of the second file. A combination that repeatedly transmits the second file within a range that does not exceed is generated, and a combination that repeatedly transmits the third file within a range that does not exceed 10 seconds, which is the playback end time of the third file, is generated. That is, the hypothesis generation unit 90 generates all combinations assumed as hypotheses under the condition that the transmission times of the transmission scheduled files included in the hypothesis do not exceed the reproduction end time of the corresponding file. .

仮説生成手段90には、図11に示すように、送信時間算出手段10からファイル受信装置に送信しようとする送信予定ファイルと、当該送信予定ファイルのそれぞれの送信時間と、が入力される。また、仮説生成手段90には、図11に示すように、再生終了時間算出手段80からファイル受信装置に送信しようとする送信予定ファイルのそれぞれの再生終了時間が入力される。そして、仮説生成手段90は、前記した処理によって複数の仮説を生成し、これらをファイル受信装置に送信しようとする送信予定ファイルとともに仮説統合手段100に出力する。なお、仮説生成手段90には、図11に示すように、仮説統合手段100によって統合された仮説も入力される。   As shown in FIG. 11, the hypothesis generation means 90 receives the transmission schedule file to be transmitted from the transmission time calculation means 10 to the file receiving apparatus and the transmission time of each of the transmission schedule files. Further, as shown in FIG. 11, the hypothesis generation means 90 receives the reproduction end time of each transmission-scheduled file to be transmitted from the reproduction end time calculation means 80 to the file receiving device. Then, the hypothesis generation unit 90 generates a plurality of hypotheses by the above-described processing, and outputs these to the hypothesis integration unit 100 together with the transmission schedule file to be transmitted to the file reception device. Note that the hypothesis generation unit 90 also receives the hypothesis integrated by the hypothesis integration unit 100, as shown in FIG.

仮説統合手段100は、所定の条件下で複数の仮説を一つに統合するものである。仮説統合手段100は、具体的には、仮説生成手段90で生成した複数の仮説のうち、同じ時間に同じファイルの送信が完了する仮説が複数存在する場合、送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を残し、その他の仮説を破棄する。   The hypothesis integration unit 100 integrates a plurality of hypotheses into one under a predetermined condition. Specifically, the hypothesis integration unit 100, when there are a plurality of hypotheses that complete the transmission of the same file at the same time among a plurality of hypotheses generated by the hypothesis generation unit 90, the hypothesis integration unit 100 Leave the hypothesis with the largest multiplied value and discard other hypotheses.

ここで、同じ時間に同じファイルの送信が完了する仮説が複数存在する場合とは、例えば、後記する図12に示す仮説1と仮説2のように、同じ時間に音声ファイルf2の送信が完了する場合や、仮説1と仮説3のように、同じ時間に音声ファイルf3の送信が完了する場合や、仮説1と仮説4のように、同じ時間に音声ファイルf4の送信が完了する場合等を意味している。   Here, when there are a plurality of hypotheses that complete transmission of the same file at the same time, for example, transmission of the audio file f2 is completed at the same time as hypothesis 1 and hypothesis 2 shown in FIG. This means that the transmission of the audio file f3 is completed at the same time as in hypothesis 1 and hypothesis 3, or the transmission of the audio file f4 is completed at the same time as in hypothesis 1 and hypothesis 4. doing.

また、送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を残し、その他の仮説を破棄するとは、例えば後記する図12に示すように、仮説1における音声ファイルf1の送信回数(2回)と音声ファイルf2の送信回数(3回)を乗算した値(6)と、仮説2における音声ファイルf1の送信回数(1回)と音声ファイルf2の送信回数(4回)を乗算した値(4)とを比較し、値の大きい仮説1を残し、値の小さい仮説2を破棄することを意味している。この処理は、仮説生成手段90が生成した複数の仮説のうち、ファイルごとの送信回数が均等な仮説を残し、不均等な仮説を破棄するということを意味する。   Also, the assumption that the value obtained by multiplying the number of transmissions of each of the scheduled transmission files is the largest and the other hypotheses are discarded is, for example, as shown in FIG. 12 to be described later, the number of transmissions of audio file f1 in hypothesis 1 (2 Value) multiplied by the number of transmissions of the audio file f2 (3 times), and the value of the number of transmissions of the audio file f1 in hypothesis 2 (one time) and the number of transmissions of the audio file f2 (four times). Compared with (4), this means that Hypothesis 1 with a large value is left and Hypothesis 2 with a small value is discarded. This processing means that, among the plurality of hypotheses generated by the hypothesis generation means 90, a hypothesis having an equal number of transmissions for each file is left and an unequal hypothesis is discarded.

仮説統合手段100には、図11に示すように、仮説生成手段90からファイル受信装置に送信しようとする送信予定ファイルと、複数の仮説と、が入力される。そして、仮説統合手段100は、前記した処理によって仮説を統合し、統合した仮説を仮説選択手段110に出力する。   As shown in FIG. 11, the hypothesis integration unit 100 receives a transmission schedule file to be transmitted from the hypothesis generation unit 90 to the file receiving apparatus and a plurality of hypotheses. Then, the hypothesis integration unit 100 integrates the hypotheses by the above-described processing, and outputs the integrated hypothesis to the hypothesis selection unit 110.

仮説選択手段110は、仮説統合手段100による統合を経て最後まで残った仮説のうち、送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を選択し、値の小さい仮説を破棄するものである。すなわち、仮説選択手段110は、仮説統合手段100によって統合されて絞られた仮説から、最終的に一つの仮説を選択するものである。   The hypothesis selection unit 110 selects a hypothesis that has the largest value obtained by multiplying the number of transmissions of each transmission-scheduled file from the hypotheses remaining after the integration by the hypothesis integration unit 100 and discards the hypothesis having the smaller value. It is. That is, the hypothesis selection unit 110 finally selects one hypothesis from the hypotheses integrated and narrowed down by the hypothesis integration unit 100.

仮説選択手段110は、例えば後記する図12に示すように、仮説1における音声ファイルf1〜f5のそれぞれの送信回数を乗算した値(2回×3回×2回×3回×3回=108)と、仮説2における音声ファイルf1〜f5のそれぞれの送信回数を乗算した値(1回×2回×4回×2回×2回=32)と、を算出する。そして、この二つの値を比較し、大きい値が算出された仮説1を選択する。   For example, as shown in FIG. 12 to be described later, the hypothesis selection unit 110 multiplies the number of transmissions of each of the audio files f1 to f5 in the hypothesis 1 (2 times × 3 times × 2 times × 3 times × 3 times = 108 ) And a value obtained by multiplying the number of transmissions of each of the audio files f1 to f5 in Hypothesis 2 (1 time × 2 times × 4 times × 2 times × 2 times = 32). Then, these two values are compared, and hypothesis 1 for which a large value is calculated is selected.

仮説選択手段110には、図11に示すように、仮説統合手段100からファイル受信装置に送信しようとする送信予定ファイルと、統合された仮説と、が入力される。そして、仮説選択手段110は、前記した処理によって仮説を選択し、これを送信予定ファイルとともにファイル送信手段50に出力する。そして、ファイル送信手段50は、仮説選択手段110によって選択された仮説から送信予定ファイルのそれぞれの送信回数を抽出し、送信予定ファイルのそれぞれを当該送信回数だけファイル受信装置に送信する。   As shown in FIG. 11, the hypothesis selection unit 110 receives the transmission schedule file to be transmitted from the hypothesis integration unit 100 to the file receiving apparatus and the integrated hypothesis. Then, the hypothesis selection unit 110 selects a hypothesis by the above-described processing, and outputs it to the file transmission unit 50 together with the transmission schedule file. Then, the file transmission unit 50 extracts the number of transmissions of each scheduled transmission file from the hypothesis selected by the hypothesis selection unit 110, and transmits each of the transmission planned files to the file receiving device by the number of transmissions.

以上のような構成を備えるファイル送信装置4は、仮説生成手段90によって、複数のファイルのそれぞれを繰り返し送信する仮説を複数生成するとともに、仮説統合手段100および仮説選択手段110によって、当該複数の仮説の中から複数のファイルの送信回数がより均等な仮説を統合および選択し、最後に残った仮説に含まれる送信回数に従って、各ファイルをファイル受信装置に送信する。従って、ファイル受信装置に対して、各ファイルの送信回数を均等にすることができ、各ファイルをバランスよく送信することができる。   In the file transmission device 4 having the above-described configuration, the hypothesis generation unit 90 generates a plurality of hypotheses for repeatedly transmitting each of the plurality of files, and the hypothesis integration unit 100 and the hypothesis selection unit 110 perform the plurality of hypotheses. A hypothesis having a more uniform number of times of transmission of a plurality of files is integrated and selected, and each file is transmitted to the file receiving device according to the number of times of transmission included in the last remaining hypothesis. Therefore, the number of transmissions of each file can be made equal to the file reception device, and each file can be transmitted in a balanced manner.

また、ファイル送信装置4によれば、複数のファイルをデータ放送によって予め定められた順序に従ってファイル受信装置に送信する際に、ファイル受信装置に対する各ファイルの送信回数を均等にすることができるため、当該ファイル受信装置側で複数のファイルの受信ミスがあった場合であっても、ファイルの欠落による音声の途切れを適切に軽減することができる。また、予め各ファイルの送信時間を算出することでファイル受信装置側のバッファ容量を考慮することができるため、ファイル受信装置側のバッファ溢れを軽減することができる。   In addition, according to the file transmission device 4, when transmitting a plurality of files to the file reception device according to a predetermined order by data broadcasting, the number of times of transmission of each file to the file reception device can be equalized. Even when there is a reception error of a plurality of files on the file receiving device side, it is possible to appropriately reduce the sound interruption due to the missing of the file. Further, since the buffer capacity on the file receiving device side can be taken into account by calculating the transmission time of each file in advance, the buffer overflow on the file receiving device side can be reduced.

[ファイル送信装置4の動作]
以下、ファイル送信装置4の動作の一例について、図12を参照しながら簡単に説明する。ここで、図12における上側の矩形領域は、音声ファイルf1〜f5(適宜f1〜f5と略す)の再生時間を、下側の矩形領域は、仮説1〜5における各音声ファイルの送信時間を示している。なお、その他の条件は全て前記したファイル送信装置1の動作(図4参照)と同じである。
[Operation of File Transmission Device 4]
Hereinafter, an example of the operation of the file transmission device 4 will be briefly described with reference to FIG. Here, the upper rectangular area in FIG. 12 indicates the reproduction time of the audio files f1 to f5 (abbreviated as f1 to f5 as appropriate), and the lower rectangular area indicates the transmission time of each audio file in the hypotheses 1 to 5. ing. All other conditions are the same as the operation of the file transmission apparatus 1 (see FIG. 4).

まず、図12に示すように、再生終了時間算出手段80が、音声ファイルf1〜f5の再生終了時間f1END〜f5ENDを算出し、これらを仮説生成手段90に出力する。次に、送信時間算出手段10が、音声ファイルf1〜f5の送信時間を算出し、これらを仮説生成手段90に出力する。 First, as shown in FIG. 12, the reproduction end time calculating means 80 calculates the reproduction end times f1 END to f5 END of the audio files f1 to f5 and outputs them to the hypothesis generation means 90. Next, the transmission time calculation means 10 calculates the transmission times of the audio files f1 to f5 and outputs these to the hypothesis generation means 90.

次に、仮説生成手段90が、f1を1回送信する仮説を生成する。また、仮説生成手段90が、f1を2回送信する仮説と、f1とf2とを1回ずつ送信する仮説を生成する。また、仮説生成手段90が、f1を3回送信する仮説と、f1を2回送信してf2を1回送信する仮説と、f1を1回送信してf2を2回送信する仮説と、f1とf2とf3とを1回ずつ送信する仮説を生成する。   Next, the hypothesis generation means 90 generates a hypothesis for transmitting f1 once. Further, the hypothesis generation means 90 generates a hypothesis for transmitting f1 twice and a hypothesis for transmitting f1 and f2 once. Further, the hypothesis generation means 90 transmits a hypothesis that f1 is transmitted three times, a hypothesis that transmits f1 twice and transmits f2 once, a hypothesis that transmits f1 once and transmits f2 twice, and f1 , F2 and f3 are generated once.

また、仮説生成手段90が、f1を3回送信してf2を1回送信する仮説と、f1を2回送信してf2を2回送信する仮説と、f1を2回送信してf2とf3とを1回ずつ送信する仮説と、f1を1回送信してf2を3回送信する仮説と、f1を1回送信してf2を2回送信してf3を1回送信する仮説と、f1とf2とを1回ずつ送信してf3を2回送る仮説と、f1〜f4を1回ずつ送信する仮説を生成する。なお、この時、仮説生成手段90がf1を4回送信する仮説を生成しないのは、図12に示すように、f1を4回送信すると、f1ENDを超えてしまうためである。なお、同じ時間に同じファイルの送信が完了する仮説は、後記するように、仮説統合手段を用いて統合する。そして、このような操作を繰り返し行い、図12に示すような仮説1〜5が生成される。 Also, the hypothesis generation means 90 transmits f1 three times and f2 once, a hypothesis that f1 is transmitted twice and f2 is transmitted twice, f1 is transmitted twice and f2 and f3 , A hypothesis of transmitting f1 once and transmitting f2 three times, a hypothesis of transmitting f1 once, transmitting f2 twice and transmitting f3 once, f1 And f2 are transmitted once and f3 is transmitted twice, and a hypothesis is transmitted that transmits f1 to f4 once. At this time, the hypothesis generation means 90 does not generate a hypothesis for transmitting f1 four times, as shown in FIG. 12, if f1 is transmitted four times, f1 END is exceeded. Note that hypotheses that complete transmission of the same file at the same time are integrated using hypothesis integration means, as will be described later. Such operations are repeated to generate hypotheses 1 to 5 as shown in FIG.

次に、仮説統合手段100が、図12に示すように、仮説1の音声ファイルf1,f2の送信回数を乗算した値(2回×3回=6)と、仮説2の音声ファイルf1,f2の送信回数を乗算した値(1回×4回=4)と、を比較し、当該値の大きい仮説1を残して仮説2を破棄する。   Next, as shown in FIG. 12, the hypothesis integration unit 100 multiplies the number of times of transmission of the hypothesis 1 audio files f1 and f2 (2 times × 3 times = 6) and the hypothesis 2 audio files f1 and f2. Is compared with the value obtained by multiplying the number of times of transmission (1 time × 4 times = 4), and Hypothesis 2 is discarded while leaving Hypothesis 1 having the large value.

また、同様に、仮説統合手段100が、図12に示すように、仮説1の音声ファイルf1〜f3の送信回数を乗算した値(2回×3回×2回=12)と、仮説3の音声ファイルf1〜f3の送信回数を乗算した値(1回×2回×3回=6)と、を比較し、当該値の大きい仮説1を残して仮説3を破棄する。   Similarly, as shown in FIG. 12, the hypothesis integration unit 100 multiplies the number of times of transmission of the audio files f1 to f3 of hypothesis 1 (2 times × 3 times × 2 times = 12) and the hypothesis 3 A value obtained by multiplying the number of transmissions of the audio files f1 to f3 (1 time × 2 times × 3 times = 6) is compared, and Hypothesis 3 is discarded while leaving Hypothesis 1 having a large value.

また、同様に、仮説統合手段100が、図12に示すように、仮説1の音声ファイルf1〜f4の送信回数を乗算した値(2回×3回×2回×3回=36)と、仮説4の音声ファイルf1〜f4の送信回数を乗算した値(1回×1回×1回×8回=8)と、を比較し、当該値の大きい仮説1を残して仮説4を破棄する。   Similarly, as shown in FIG. 12, the hypothesis integration unit 100 multiplies the number of transmissions of the hypothetical 1 audio files f1 to f4 (2 times × 3 times × 2 times × 3 times = 36), The value obtained by multiplying the number of transmissions of the audio files f1 to f4 of the hypothesis 4 (1 × 1 × 1 × 8 = 8) is compared, and the hypothesis 4 is discarded while leaving the hypothesis 1 having the larger value. .

次に、仮説選択手段110が、図12に示すように、仮説1の音声ファイルf1〜f5の送信回数を乗算した値(2回×3回×2回×3回×3回=108)と、仮説5の音声ファイルf1〜f5の送信回数を乗算した値(1回×2回×2回×4回×2回=32)と、を比較し、当該値の大きい仮説1を選択する。なお、仮説5は、音声ファイルf3を4回繰り返す組み合わせとして、前記した仮説3から派生したものである。   Next, as shown in FIG. 12, the hypothesis selection unit 110 multiplies the number of transmissions of the hypothesis 1 audio files f1 to f5 (2 times × 3 times × 2 times × 3 times × 3 times = 108). The value obtained by multiplying the number of transmissions of the hypothetical voice files f1 to f5 (1 × 2 × 2 × 4 × 2 = 32) is compared, and the hypothesis 1 having the larger value is selected. Hypothesis 5 is derived from hypothesis 3 described above as a combination of repeating the audio file f3 four times.

次に、ファイル送信手段50が、仮説選択手段110によって選択された仮説1から、音声ファイルf1の送信回数(2回)、音声ファイルf2の送信回数(3回)、音声ファイルf3の送信回数(2回)、音声ファイルf4の送信回数(3回)、音声ファイルf5の送信回数(3回)、を抜き出し、これらの送信回数に従って、音声ファイルf1〜f5をファイル受信装置に送信する。   Next, from the hypothesis 1 selected by the hypothesis selection unit 110, the file transmission unit 50 transmits the audio file f1 transmission times (2 times), the audio file f2 transmission times (3 times), and the audio file f3 transmission times ( 2 times), the number of transmissions of the audio file f4 (3 times) and the number of transmissions of the audio file f5 (3 times) are extracted, and the audio files f1 to f5 are transmitted to the file receiving device according to these transmission times.

ファイル送信装置4は、以上のような動作を行うことで、図12に示すように、ファイル受信装置において音声ファイルf1〜f5が途切れることなく再生されるように、各ファイルを送信することができる。また、ファイル送信装置4は、図12に示すように、ファイル受信装置に対する各ファイルの送信回数を均等にすることができ、各ファイルをバランスよく送信することができる。従って、従って、ファイル受信装置側で仮に音声ファイルの受信ミスがあった場合であっても、音声ファイルの欠落による音声の途切れを軽減することができる。   By performing the operation as described above, the file transmission device 4 can transmit each file so that the audio files f1 to f5 are reproduced without interruption in the file reception device as shown in FIG. . Further, as shown in FIG. 12, the file transmission device 4 can equalize the number of times each file is transmitted to the file reception device, and can transmit each file in a balanced manner. Therefore, even if there is a mistake in receiving the audio file on the file receiving device side, it is possible to reduce the interruption of the audio due to the missing audio file.

以上、本発明に係るファイル送信装置およびファイル送信プログラムについて、発明を実施するための形態により具体的に説明したが、本発明の趣旨はこれらの記載に限定されるものではなく、特許請求の範囲の記載に基づいて広く解釈されなければならない。また、これらの記載に基づいて種々変更、改変等したものも本発明の趣旨に含まれることはいうまでもない。   As mentioned above, the file transmission apparatus and the file transmission program according to the present invention have been specifically described in the form for carrying out the invention, but the gist of the present invention is not limited to these descriptions, and the scope of the claims Should be interpreted broadly based on the description. Needless to say, various changes and modifications based on these descriptions are also included in the spirit of the present invention.

例えば、前記したファイル送信装置3は、残再生時間(再生時間)と再送回数に基づいてファイルを圧縮することで予め設定した再生回数分だけファイルを確実に送信する構成としている。しかし、このようにファイル自体を圧縮するのではなく、ファイル送信装置がファイル受信装置に対してファイルを送信する際の伝送帯域を変更することにより、ファイル圧縮と同様の効果を得ることができる。例えば、ファイル送信時における伝送帯域を2倍にすると、各ファイルの送信時間も2分の1となるため、ファイルを2分の1に圧縮する場合と同様の効果を得ることができる。   For example, the file transmission device 3 described above is configured to reliably transmit a file for the preset number of times of reproduction by compressing the file based on the remaining reproduction time (reproduction time) and the number of retransmissions. However, instead of compressing the file itself as described above, the same effect as the file compression can be obtained by changing the transmission band when the file transmitting apparatus transmits the file to the file receiving apparatus. For example, if the transmission bandwidth at the time of file transmission is doubled, the transmission time of each file is also halved, so the same effect as when the file is compressed to ½ can be obtained.

1,2,3,4 ファイル送信装置
10 送信時間算出手段
20 残再生時間推定手段
30 記憶手段
40 送信ファイル選択手段
50 ファイル送信手段
60 再送回数設定手段
70 送信ファイル圧縮手段
80 再生終了時間算出手段
90 仮説生成手段
100 仮説統合手段
110 仮説選択手段
f1,f2,f3,f4,f5 音声ファイル
f1END,f2END,f3END,f4END,f5END 音声ファイルの再生終了時間
1, 2, 3, 4 File transmission apparatus 10 Transmission time calculation means 20 Remaining reproduction time estimation means 30 Storage means 40 Transmission file selection means 50 File transmission means 60 Retransmission count setting means 70 Transmission file compression means 80 Reproduction end time calculation means 90 Hypothesis generation means 100 Hypothesis integration means 110 Hypothesis selection means f1, f2, f3, f4, f5 audio files f1 END , f2 END , f3 END , f4 END , f5 END audio file playback end time

Claims (5)

データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、
前記ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を前記伝送帯域で除算することで、前記ファイル受信装置に対して前記送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する送信時間算出手段と、
前記ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、前記ファイル受信装置に最初に送信した前記送信完了ファイルの送信完了からの経過時間を減算することで、前記送信完了ファイルの残りの再生時間を合計した残再生時間を推定する残再生時間推定手段と、
前記ファイル受信装置のバッファ容量に基づいて予め定められた閾値を記憶するとともに、前記送信予定ファイルおよび前記送信完了ファイルを記憶する記憶手段と、
前記残再生時間から前記送信時間を減算した時間を前記閾値と比較し、当該閾値以上であれば前回送信した前記送信完了ファイルを前記記憶手段から選択し、当該閾値未満であれば次回送信すべき前記送信予定ファイルを前記記憶手段から選択する送信ファイル選択手段と、
前記送信ファイル選択手段によって選択された前記送信完了ファイルまたは前記送信予定ファイルを前記ファイル受信装置に送信するファイル送信手段と、
を備えることを特徴とするファイル送信装置。
A file transmission device that transmits a plurality of files constituting data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting,
By dividing the capacity of each transmission schedule file to be transmitted to the file reception apparatus by the transmission band, transmission of the transmission schedule file is started after the transmission of the transmission schedule file to the file reception apparatus is started. Transmission time calculating means for calculating in advance a transmission time that is a time until the completion of
By subtracting an elapsed time from completion of transmission of the transmission completion file first transmitted to the file reception device from a time obtained by accumulating the reproduction times of the transmission completion files already transmitted to the file reception device, the transmission A remaining playback time estimation means for estimating a remaining playback time by summing up the remaining playback times of the completed file;
A storage unit that stores a predetermined threshold based on a buffer capacity of the file receiving device, and stores the transmission scheduled file and the transmission completion file;
The time obtained by subtracting the transmission time from the remaining reproduction time is compared with the threshold, and if it is equal to or greater than the threshold, the previously transmitted transmission completion file is selected from the storage means. Transmission file selection means for selecting the transmission-scheduled file from the storage means;
File transmission means for transmitting the transmission completion file selected by the transmission file selection means or the transmission scheduled file to the file receiving device;
A file transmission device comprising:
前記ファイル受信装置に前回送信した前記送信完了ファイルを再送する回数である再送回数を設定する再送回数設定手段をさらに備え、
前記送信ファイル選択手段は、前記再送回数を満たすまで前回送信した前記送信完了ファイルを選択することを特徴とする請求項1に記載のファイル送信装置。
A retransmission number setting means for setting the number of retransmissions, which is the number of times to retransmit the transmission completion file transmitted to the file reception device last time,
The file transmission apparatus according to claim 1, wherein the transmission file selection unit selects the transmission completion file transmitted last time until the number of retransmissions is satisfied.
データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、
前記ファイル受信装置に前回送信した送信完了ファイルを再送する回数である再送回数を設定する再送回数設定手段と、
前記ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を前記伝送帯域で除算することで、前記ファイル受信装置に対して前記送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する送信時間算出手段と、
前記ファイル受信装置に既に送信した前記送信完了ファイルのそれぞれの再生時間を積算した時間から、前記ファイル受信装置に初めて送信した前記送信完了ファイルの送信完了からの経過時間を減算することで、前記送信完了ファイルの残りの再生時間を合計した残再生時間を推定する残再生時間推定手段と、
前記残再生時間から次回送信すべき前記送信予定ファイルの送信時間を減算した値を、前記再送回数で除算することで、前記残再生時間内で前記送信完了ファイルを再送する際の送信時間を算出し、当該送信時間未満となるように、前記送信完了ファイルを圧縮する送信ファイル圧縮手段と、
前記送信ファイル圧縮手段によって圧縮された前記送信完了ファイルを前記ファイル受信装置に送信するファイル送信手段と、
を備えることを特徴とするファイル送信装置。
A file transmission device that transmits a plurality of files constituting data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting,
A retransmission number setting means for setting a retransmission number, which is the number of times to retransmit the transmission completion file transmitted to the file reception device last time;
By dividing the capacity of each transmission schedule file to be transmitted to the file reception apparatus by the transmission band, transmission of the transmission schedule file is started after the transmission of the transmission schedule file to the file reception apparatus is started. Transmission time calculating means for calculating in advance a transmission time that is a time until the completion of
By subtracting the elapsed time from the completion of transmission of the transmission completion file transmitted to the file reception device for the first time from the accumulated reproduction time of each transmission completion file already transmitted to the file reception device, the transmission A remaining playback time estimation means for estimating a remaining playback time by summing up the remaining playback times of the completed file;
A value obtained by subtracting the transmission time of the scheduled transmission file to be transmitted next time from the remaining reproduction time is divided by the number of retransmissions, thereby calculating a transmission time when the transmission completion file is retransmitted within the remaining reproduction time. And a transmission file compression means for compressing the transmission completion file so as to be less than the transmission time,
File transmission means for transmitting the transmission completion file compressed by the transmission file compression means to the file receiving device;
A file transmission device comprising:
データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するファイル送信装置であって、
前記ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を前記伝送帯域で除算することで、前記ファイル受信装置に対して前記送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する送信時間算出手段と、
前記ファイル受信装置に最初に送信しようとする前記送信予定ファイルの送信時間に、当該送信予定ファイルのそれぞれの再生時間を加算することで、前記送信予定ファイルのそれぞれの再生終了時間を算出する再生終了時間算出手段と、
前記送信予定ファイルのそれぞれの前記送信時間が、当該送信予定ファイルのそれぞれの再生終了時間を超えない範囲内において、前記送信予定ファイルのそれぞれを繰り返し送信する組み合わせを仮説として複数生成する仮説生成手段と、
前記仮説生成手段で生成した複数の前記仮説のうち、同じ時間に同じ前記送信予定ファイルの送信が完了する仮説が複数存在する場合、前記送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を残す仮説統合手段と、
前記仮説統合手段によって残された前記仮説のうち、前記送信予定ファイルのそれぞれの送信回数を乗算した値が最も大きい仮説を選択する仮説選択手段と、
前記仮説選択手段によって選択された前記仮説から前記送信予定ファイルのそれぞれの送信回数を抽出し、前記送信予定ファイルのそれぞれを当該送信回数だけファイル受信装置に送信するファイル送信手段と、
を備えることを特徴とするファイル送信装置。
A file transmission device that transmits a plurality of files constituting data broadcast content to a file reception device in a predetermined transmission band according to a predetermined order by data broadcasting,
By dividing the capacity of each transmission schedule file to be transmitted to the file reception apparatus by the transmission band, transmission of the transmission schedule file is started after the transmission of the transmission schedule file to the file reception apparatus is started. Transmission time calculating means for calculating in advance a transmission time that is a time until the completion of
The playback end for calculating the playback end time of each of the scheduled transmission files by adding the playback time of each of the scheduled transmission files to the transmission time of the scheduled transmission file to be transmitted first to the file receiving device Time calculation means;
Hypothesis generation means for generating a plurality of combinations as hypotheses that repeatedly transmit each of the transmission-scheduled files within a range where the transmission time of each of the transmission-scheduled files does not exceed the reproduction end time of each of the transmission-scheduled files ,
Of the plurality of hypotheses generated by the hypothesis generation means, when there are a plurality of hypotheses that complete transmission of the same transmission-scheduled file at the same time, the value obtained by multiplying the number of transmissions of the transmission-scheduled file is the largest Hypothesis integration means to leave the hypothesis,
Of the hypotheses left by the hypothesis integration means, a hypothesis selection means for selecting a hypothesis having the largest value multiplied by the number of transmissions of each of the scheduled transmission files;
File transmission means for extracting the number of transmissions of each of the transmission-scheduled files from the hypothesis selected by the hypothesis selection means, and transmitting each of the transmission-scheduled files to the file receiving device by the number of transmissions;
A file transmission device comprising:
データ放送コンテンツを構成する複数のファイルを、データ放送によって、予め定められた順序に従って所定の伝送帯域でファイル受信装置に送信するために、コンピュータを、
前記ファイル受信装置に送信しようとする送信予定ファイルのそれぞれの容量を前記伝送帯域で除算することで、前記ファイル受信装置に対して前記送信予定ファイルの送信を開始してから当該送信予定ファイルの送信が完了するまでの時間である送信時間を予め算出する送信時間算出手段、
前記ファイル受信装置に既に送信した送信完了ファイルのそれぞれの再生時間を積算した時間から、前記ファイル受信装置に最初に送信した前記送信完了ファイルの送信完了からの経過時間を減算することで、前記送信完了ファイルの残りの再生時間を合計した残再生時間を推定する残再生時間推定手段、
前記残再生時間から前記送信時間を減算した時間を、ファイル受信装置のバッファ容量に基づいて予め定められた閾値と比較し、当該閾値以上であれば、前記送信完了ファイルおよび前記送信予定ファイルを記憶する記憶手段から前回送信した前記送信完了ファイルを選択し、当該閾値未満であれば、前記記憶手段から次回送信すべき前記送信予定ファイルを選択する送信ファイル選択手段、
前記送信ファイル選択手段によって選択された前記送信完了ファイルまたは前記送信予定ファイルを前記ファイル受信装置に送信するファイル送信手段、
として機能させることを特徴とするファイル送信プログラム。
In order to transmit a plurality of files constituting the data broadcast content to the file receiving device in a predetermined transmission band according to a predetermined order by data broadcasting, a computer is provided.
By dividing the capacity of each transmission schedule file to be transmitted to the file reception apparatus by the transmission band, transmission of the transmission schedule file is started after the transmission of the transmission schedule file to the file reception apparatus is started. A transmission time calculating means for calculating in advance a transmission time which is a time until the completion of
By subtracting an elapsed time from completion of transmission of the transmission completion file first transmitted to the file reception device from a time obtained by accumulating the reproduction times of the transmission completion files already transmitted to the file reception device, the transmission A remaining playback time estimation means for estimating a remaining playback time by adding up the remaining playback times of the completed file;
The time obtained by subtracting the transmission time from the remaining reproduction time is compared with a predetermined threshold based on the buffer capacity of the file reception device, and if the threshold is exceeded, the transmission completion file and the transmission scheduled file are stored. A transmission file selection means for selecting the transmission completion file to be transmitted next time from the storage means;
File transmission means for transmitting the transmission completion file or the transmission scheduled file selected by the transmission file selection means to the file receiving device;
A file transmission program characterized by functioning as:
JP2010155694A 2010-07-08 2010-07-08 File transmission device and file transmission program Expired - Fee Related JP5427714B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010155694A JP5427714B2 (en) 2010-07-08 2010-07-08 File transmission device and file transmission program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010155694A JP5427714B2 (en) 2010-07-08 2010-07-08 File transmission device and file transmission program

Publications (2)

Publication Number Publication Date
JP2012019385A JP2012019385A (en) 2012-01-26
JP5427714B2 true JP5427714B2 (en) 2014-02-26

Family

ID=45604287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010155694A Expired - Fee Related JP5427714B2 (en) 2010-07-08 2010-07-08 File transmission device and file transmission program

Country Status (1)

Country Link
JP (1) JP5427714B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6451304B2 (en) * 2014-12-22 2019-01-16 富士ゼロックス株式会社 Communication apparatus and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4476725B2 (en) * 2004-07-21 2010-06-09 株式会社東芝 Digital broadcast receiver
JP5113732B2 (en) * 2008-12-12 2013-01-09 日本放送協会 Data broadcasting transmitter

Also Published As

Publication number Publication date
JP2012019385A (en) 2012-01-26

Similar Documents

Publication Publication Date Title
CN108111997A (en) Bluetooth equipment audio synchronization method and system
TWI472225B (en) Reception apparatus and method, program and reception system
EP1802011A2 (en) DMB reproducing apparatus and method
CN1830224A (en) Buffer management system, digital audio receiver, headphones, loudspeaker, method of buffer management
CN108055566A (en) Method, apparatus, equipment and the computer readable storage medium of audio-visual synchronization
CN109451329B (en) Audio mixing processing method and device
US20080056666A1 (en) Receiver and information processing method
CN103888815A (en) Method and system for real-time separation treatment and synchronization of audio and video streams
KR20070096920A (en) Apparatus and method for determining rendering duration of video frame
JP5427714B2 (en) File transmission device and file transmission program
EP2228922A2 (en) Information processing device and method, program, and information processing system
CN101112089B (en) Method and apparatus for storing broadcast program
JP4570483B2 (en) Digital broadcast receiver
EP1355491A2 (en) Apparatus for reproducing moving image stream with speed change and method thereof
JP5042182B2 (en) Abstract content generation apparatus and computer program
KR101706573B1 (en) Device and method for multicast screen mirroring
EP2560405A1 (en) Digital broadcast reception device
JP2007251867A (en) Digital broadcasting receiving device, digital information receiving device, and playback method
EP2387237A2 (en) Recorder, recording method and video display apparatus
JPWO2006075457A1 (en) Recording device
JP5746963B2 (en) Communications system
JP3688064B2 (en) Image compression method and image compression apparatus
JP2009089131A (en) On-demand broadcasting apparatus, receiver and system
KR100662382B1 (en) Method for storage broadcasting data, and mobile terminal of that
JP2007124445A (en) Digital broadcasting recording reproducer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130926

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131202

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees