JP4527672B2 - Recording apparatus, recording method, recording system, distribution apparatus, and distribution method - Google Patents
Recording apparatus, recording method, recording system, distribution apparatus, and distribution method Download PDFInfo
- Publication number
- JP4527672B2 JP4527672B2 JP2006024331A JP2006024331A JP4527672B2 JP 4527672 B2 JP4527672 B2 JP 4527672B2 JP 2006024331 A JP2006024331 A JP 2006024331A JP 2006024331 A JP2006024331 A JP 2006024331A JP 4527672 B2 JP4527672 B2 JP 4527672B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- recording
- error
- packet
- acquired
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Description
本発明は、記録装置、記録方法、記録システム、配信装置および配信方法に関し、特には、送信用データを受信し、その送信用データを記録用データに変換して記録する記録装置、記録方法、記録システム、配信装置および配信方法に関する。 The present invention relates to a recording apparatus, a recording method, a recording system, a distribution apparatus, and a distribution method, and in particular, a recording apparatus, a recording method for receiving transmission data, converting the transmission data into recording data, and recording the data. The present invention relates to a recording system, a distribution device, and a distribution method.
近年、デジタル放送番組等のデジタルコンテンツを受信し、そのデジタルコンテンツを記録する家庭用ホームサーバまたはデジタルレコーダ等の録画装置が知られている。 2. Description of the Related Art In recent years, recording devices such as home home servers or digital recorders that receive digital content such as digital broadcast programs and record the digital content are known.
近年盛んになっているデジタル放送(地上デジタル放送、BS/CSデジタル放送)は、MPEG2規格に準拠した送信用データ、具体的には、MPEG2−TS形式のデジタルデータで伝送されている。録画装置は、番組であるMPEG2−TSの中のTSパケット(送信用データ)を受信すると、そのTSパケットをMPEG2−PSのPSパケットに変換し、MPEG2−PS形式の番組をHDDまたはDVD等の記録媒体に記録する。 Digital broadcasting (terrestrial digital broadcasting, BS / CS digital broadcasting), which has become popular in recent years, is transmitted as transmission data compliant with the MPEG2 standard, specifically, MPEG2-TS format digital data. When the recording device receives a TS packet (transmission data) in MPEG2-TS, which is a program, the recording device converts the TS packet into an MPEG2-PS PS packet, and converts the MPEG2-PS format program to an HDD, DVD, or the like. Record on a recording medium.
録画装置は、例えば、気象状態の影響により、TSパケットを正常に受信できない場合がある。 For example, the recording apparatus may not be able to normally receive TS packets due to the influence of weather conditions.
特許文献1(特開2002−281081号公報)には、通信衛星からの受信に失敗したTSパケットの再送を基地局に要求し、そのTSパケットを基地局から公衆回線を介して受信する記録装置が記載されている。
特許文献1に記載された記録装置は、受信に失敗したTSパケットを基地局に再送させるので、TSパケットの受信誤りを修正できる。しかしながら、この記録装置は、TSパケットから変換されたPSパケットにエラーが発生した場合、そのエラーを修正できない。このため、この記録装置は、エラーを含むデータの補完を高速で行うことができない。 Since the recording apparatus described in Patent Literature 1 retransmits TS packets that have failed to be received to the base station, it is possible to correct TS packet reception errors. However, this recording device cannot correct an error when an error occurs in a PS packet converted from a TS packet. For this reason, this recording apparatus cannot complement data including errors at high speed.
本発明の目的は、記録用データにエラーが生じても、エラーを含むデータの補完を高速で行うことが可能な記録装置、記録方法、記録システム、配信装置および配信方法を提供することである。 An object of the present invention is to provide a recording apparatus, a recording method, a recording system, a distribution apparatus, and a distribution method capable of performing high-speed interpolation of data including an error even if an error occurs in recording data. .
上記目的を達成するため、本発明の記録装置は、コンテンツを形成する複数の送信用データを送信する所定配信装置と、前記複数の送信用データおよび該複数の送信用データから変換された複数の記録用データを送信可能な特定配信装置と、に通信可能な記録装置であって、前記所定配信装置から前記複数の送信用データを受信する受信部と、前記特定配信装置と通信して前記複数の送信用データおよび前記記録用データを取得する通信部と、前記受信部が受信した複数の送信用データを前記複数の記録用データに変換する変換部と、前記複数の記録用データを記録する記録媒体と、前記受信部が受信した各送信用データでのエラーを検出する第1検出部と、前記変換部が変換した各記録用データでのエラーを検出する第2検出部と、前記第1検出部が前記エラーを検出すると、前記特定配信装置から該エラーが検出された送信用データに対応する送信用データを前記通信部を介して取得し、該エラーを含む送信用データを該取得した送信用データに変更した後、前記変換部に前記変換を実行させ、前記第2検出部が前記エラーを検出すると、該特定配信装置から該エラーが検出された記録用データに対応する記録用データを該通信部を介して取得し、該エラーを含む記録用データを該取得した記録用データに変更した後、前記複数の記録用データを前記記録媒体に記録する制御部とを含む。 In order to achieve the above object, a recording apparatus of the present invention includes a predetermined distribution device that transmits a plurality of transmission data forming content, a plurality of transmission data and a plurality of transmission data converted from the plurality of transmission data. A recording device capable of communicating with a specific distribution device capable of transmitting recording data, a receiving unit configured to receive the plurality of transmission data from the predetermined distribution device, and the plurality of the plurality of data in communication with the specific distribution device A communication unit that acquires the transmission data and the recording data, a conversion unit that converts the plurality of transmission data received by the reception unit into the plurality of recording data, and the plurality of recording data A recording medium; a first detection unit that detects an error in each transmission data received by the reception unit; a second detection unit that detects an error in each recording data converted by the conversion unit; When the detection unit detects the error, it acquires the transmission data corresponding to the transmission data in which the error is detected from the specific distribution device via the communication unit, and acquires the transmission data including the error After changing to transmission data, when the conversion unit executes the conversion and the second detection unit detects the error, the recording data corresponding to the recording data in which the error is detected from the specific distribution device And a control unit that records the plurality of recording data on the recording medium after the recording data including the error is changed to the acquired recording data.
また、本発明の記録方法は、コンテンツを形成する複数の送信用データを送信する所定配信装置と、前記複数の送信用データおよび該複数の送信用データから変換された複数の記録用データを送信可能な特定配信装置と、に通信可能な記録装置が行う記録方法であって、前記所定配信装置から前記複数の送信用データを受信する受信ステップと、前記受信された複数の送信用データを前記複数の記録用データに変換する変換ステップと、前記受信された各送信用データでのエラーを検出する第1検出ステップと、前記変換された各記録用データでのエラーを検出する第2検出ステップと、前記第1検出ステップで前記エラーが検出されると、該エラーが検出された送信用データに対応する送信用データを前記特定配信装置から取得し、該エラーを含む送信用データを該取得した送信用データに変更した後、前記複数の送信用データを前記複数の記録用データに変換する変更ステップと、前記第2検出ステップで前記エラーが検出されると、該エラーが検出された記録用データに対応する記録用データを前記特定配信装置から取得し、該エラーを含む記録用データを該取得した記録用データに変更した後、前記複数の記録用データを記録媒体に記録する制御ステップとを含む。 Further, the recording method of the present invention transmits a plurality of transmission data forming a content, a plurality of transmission data, and a plurality of recording data converted from the plurality of transmission data. A recording method performed by a recording device capable of communicating with a specific distribution device capable of receiving the plurality of transmission data from the predetermined distribution device, and the received plurality of transmission data A converting step for converting into a plurality of recording data; a first detecting step for detecting an error in each of the received transmission data; and a second detecting step for detecting an error in each of the converted recording data. When the error is detected in the first detection step, the transmission data corresponding to the transmission data in which the error is detected is acquired from the specific distribution device, and the error is detected. When the error is detected in the changing step of converting the plurality of transmission data into the plurality of recording data and the second detection step after changing the transmission data including the transmission data to the acquired transmission data The recording data corresponding to the recording data in which the error is detected is acquired from the specific distribution device, the recording data including the error is changed to the acquired recording data, and then the plurality of recording data And a control step for recording the information on a recording medium.
また、本発明の記録システムは、上記所定配信装置と、上記特定配信装置と、上記記録装置とを含む。 The recording system of the present invention includes the predetermined distribution device, the specific distribution device, and the recording device.
上記発明によれば、送信用データでエラーが検出されると、記録装置は、エラーが検出された送信用データを取得し、記録用データでエラーが検出されると、エラーが検出された記録用データを取得する。このため、記録用データにエラーが生じても、必要なデータのみが取得され、エラーを含むデータの補完を高速で行うことが可能になる。 According to the invention, when an error is detected in the transmission data, the recording device acquires the transmission data in which the error is detected, and when an error is detected in the recording data, the recording in which the error is detected. Get data. For this reason, even if an error occurs in the recording data, only necessary data is acquired, and it becomes possible to complement data including the error at high speed.
なお、前記記録用データは、ヘッダ部とデータ部とを有し、上記記録装置は、前記記録用データのデータ部でのエラーを検出する第3検出部をさらに含み、前記制御部は、前記第3検出部の検出結果に応じて、前記特定配信装置から取得する前記データ部の範囲を決定し、該決定された範囲のデータ部を前記通信部を介して該特定配信装置から取得し、該取得したデータ部に対応する前記記録用データのデータ部を該取得したデータ部に変更した後、前記記録用データを前記記録媒体に記録することが望ましい。 The recording data has a header part and a data part, and the recording apparatus further includes a third detection part for detecting an error in the data part of the recording data, and the control part In accordance with the detection result of the third detection unit, the range of the data part to be acquired from the specific distribution device is determined, the data part of the determined range is acquired from the specific distribution device through the communication unit, It is desirable to record the recording data on the recording medium after changing the data portion of the recording data corresponding to the acquired data portion to the acquired data portion.
上記発明によれば、さらに、エラーの内容により、特定配信装置から取り寄せるデータ部の範囲が変更される。必要となるデータ部の量は、エラーの内容に応じて変動する。例えば、データ全般に影響を及ぼすエラーであると、データ全体を取り寄せる必要があるが、一部のデータにのみ影響を及ぼすエラーであると、その一部のデータのみを取り寄せればよくなる。 According to the said invention, the range of the data part ordered from a specific delivery apparatus is further changed with the content of an error. The amount of data part required varies depending on the content of the error. For example, if the error affects all data, the entire data needs to be obtained. If the error affects only a part of the data, only the part of the data needs to be obtained.
このため、記録用データにエラーが生じても、必要なデータのみを取得することが可能になり、エラーを含むデータの補完を高速で行うことが可能になる。 For this reason, even if an error occurs in the recording data, only necessary data can be acquired, and the data including the error can be complemented at high speed.
また、本発明の記録装置は、コンテンツを形成する複数の送信用データを送信する所定配信装置と、前記複数の送信用データおよび該複数の送信用データから変換されたヘッダ部とデータ部とを有する複数の記録用データを送信可能な特定配信装置と、に通信可能な記録装置であって、前記所定配信装置から前記複数の送信用データを受信する受信部と、前記特定配信装置と通信して前記複数の送信用データおよび前記記録用データを取得する通信部と、前記受信部が受信した複数の送信用データを前記複数の記録用データに変換する変換部と、前記複数の記録用データを記録する記録媒体と、前記変換部が変換した各記録用データのデータ部でのエラーを検出する検出部と、前記検出部の検出結果に応じて、前記特定配信装置から取得する前記データ部の範囲を決定し、該決定された範囲のデータ部を該特定配信装置から取得し、該取得したデータ部に対応する前記記録用データのデータ部を該取得したデータ部に変更した後、前記記録用データを前記記録媒体に記録する制御部とを含む。 The recording apparatus of the present invention includes a predetermined distribution device that transmits a plurality of transmission data forming content, a plurality of transmission data, and a header portion and a data portion converted from the plurality of transmission data. A recording device capable of communicating with a specific distribution device capable of transmitting a plurality of recording data, the receiving device receiving the plurality of transmission data from the predetermined distribution device, and communicating with the specific distribution device A communication unit that acquires the plurality of transmission data and the recording data, a conversion unit that converts the plurality of transmission data received by the reception unit into the plurality of recording data, and the plurality of recording data Is acquired from the specific distribution device according to a detection result of the detection unit, a detection unit that detects an error in a data part of each recording data converted by the conversion unit, The range of the data portion is determined, the data portion of the determined range is acquired from the specific distribution device, and the data portion of the recording data corresponding to the acquired data portion is changed to the acquired data portion And a controller for recording the recording data on the recording medium.
また、本発明の記録方法は、コンテンツを形成する複数の送信用データを送信する所定配信装置と、前記複数の送信用データおよび該複数の送信用データから変換されたヘッダ部とデータ部とを有する複数の記録用データを送信可能な特定配信装置と、に通信可能な記録装置が行う記録方法であって、前記所定配信装置から前記複数の送信用データを受信する受信ステップと、前記受信された複数の送信用データを前記複数の記録用データに変換する変換ステップと、前記変換された各記録用データのデータ部でのエラーを検出する検出ステップと、前記検出ステップでの検出結果に応じて、前記特定配信装置から取得する前記データ部の範囲を決定し、該決定された範囲のデータ部を該特定配信装置から取得し、該取得したデータ部に対応する前記記録用データのデータ部を該取得したデータ部に変更した後、前記記録用データを記録媒体に記録する制御ステップとを含む。 Also, the recording method of the present invention comprises a predetermined distribution device for transmitting a plurality of transmission data forming a content, the plurality of transmission data, and a header portion and a data portion converted from the plurality of transmission data. A recording method performed by a recording device capable of communicating with a specific distribution device capable of transmitting a plurality of recording data, the receiving method receiving the plurality of transmission data from the predetermined distribution device, and the reception A conversion step for converting the plurality of transmission data into the plurality of recording data, a detection step for detecting an error in the data portion of each of the converted recording data, and a detection result in the detection step And determining the range of the data portion acquired from the specific distribution device, acquiring the data portion of the determined range from the specific distribution device, and corresponding to the acquired data portion After that it has the data section of the recording data by changing the data unit that is the acquired, and a control step of recording the recording data on the recording medium.
また、本発明の記録システムは、上記所定配信装置と、上記特定配信装置と、上記記録装置とを含む。 The recording system of the present invention includes the predetermined distribution device, the specific distribution device, and the recording device.
上記発明によれば、エラーの内容により、特定配信装置から取り寄せるデータ部の範囲が変更される。必要となるデータの量は、エラーの内容に応じて変動する。このため、記録用データにエラーが生じても、必要なデータのみを取得することが可能になり、エラーを含むデータの補完を高速で行うことが可能になる。 According to the said invention, the range of the data part ordered from a specific delivery apparatus is changed with the content of an error. The amount of data required varies depending on the content of the error. For this reason, even if an error occurs in the recording data, only necessary data can be acquired, and the data including the error can be complemented at high speed.
また、本発明の配信装置は、コンテンツを形成する複数の送信用データ、および、該複数の送信用データから変換された複数の記録用データを、再送要求を送信した記録装置に送信する配信装置であって、前記複数の送信用データおよび前記複数の記録用データを保存する記憶部と、前記記録装置と通信する通信部と、前記通信部が特定の前記送信用データの再送を要求する旨の再送要求を受け付けると、前記記憶部に保存された前記特定の送信用データを前記通信部を介して前記記録装置に送信し、前記通信部が特定の前記記録用データの再送を要求する旨の再送要求を受け付けると、前記記憶部に保存された前記特定の記録用データを前記通信部を介して前記記録装置に送信する制御部とを含む。 In addition, the distribution apparatus of the present invention transmits a plurality of transmission data forming content and a plurality of recording data converted from the plurality of transmission data to the recording apparatus that has transmitted the retransmission request. A storage unit storing the plurality of transmission data and the plurality of recording data, a communication unit communicating with the recording device, and the communication unit requesting retransmission of the specific transmission data When the retransmission request is received, the specific transmission data stored in the storage unit is transmitted to the recording apparatus via the communication unit, and the communication unit requests retransmission of the specific recording data. And a control unit that transmits the specific recording data stored in the storage unit to the recording apparatus via the communication unit.
また、本発明の配信方法は、コンテンツを形成する複数の送信用データ、および、該複数の送信用データから変換された複数の記録用データを保存し、再送要求を送信した記録装置に該送信用データおよび該記録用データを送信する配信装置が行う配信方法であって、前記記録装置から特定の前記送信用データの再送を要求する旨の送信用データ再送要求を受け付ける第1受付ステップと、前記送信用データ再送要求が受け付けられると、前記保存された前記特定の送信用データを前記記録装置に送信する送信用データ送信ステップと、前記記録装置から特定の前記記録用データの再送を要求する旨の記録用データ再送要求を受け付ける第2受付ステップと、前記記録用データ再送要求が受け付けられると、前記保存された前記特定の記録用データを前記記録装置に送信する記録用データ送信ステップとを含む。 In addition, the distribution method of the present invention stores a plurality of transmission data forming content and a plurality of recording data converted from the plurality of transmission data, and transmits the transmission request to a recording apparatus that has transmitted a retransmission request. A distribution method performed by a distribution device that transmits the trust data and the recording data, a first reception step of receiving a transmission data retransmission request for requesting retransmission of the specific transmission data from the recording device; When the transmission data retransmission request is accepted, a transmission data transmission step of transmitting the stored specific transmission data to the recording device, and requesting retransmission of the specific recording data from the recording device A second receiving step for accepting a recording data retransmission request to the effect, and when the recording data resending request is accepted, the stored specific recording data And a recording data transmitting step of transmitting over data to the recording device.
上記発明によれば、記録装置が必要とするデータを適切に配信することが可能になる。 According to the above invention, it is possible to appropriately distribute data required by the recording apparatus.
本発明によれば、記録用データにエラーが生じても、エラーを含むデータの補完を高速で行うことが可能になる。 According to the present invention, even if an error occurs in recording data, it is possible to complement data including the error at high speed.
以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施例の記録システムを示したブロック図である。 FIG. 1 is a block diagram showing a recording system according to an embodiment of the present invention.
図1において、記録システムは、デジタル放送局1と、録画サーバ2と、記録装置3とを含む。
In FIG. 1, the recording system includes a digital broadcasting station 1, a
デジタル放送局1は、所定配信装置の一例であり、複数のTSパケット(送信用データ)で構成されたMPEG2−TS、すなわち、番組(コンテンツ)を無線送信する。なお、各TSパケットは、188Byteであり、ヘッダ部とデータ部とを有する。 The digital broadcasting station 1 is an example of a predetermined distribution device, and wirelessly transmits MPEG2-TS composed of a plurality of TS packets (transmission data), that is, a program (content). Each TS packet is 188 bytes and has a header part and a data part.
録画サーバ2は、特定配信装置の一例である。録画サーバ2は、デジタル放送局にて用意された放送予備サーバであり、チューナ21と、記憶部22と、TS−PS変換部23と、通信部24と、制御部25とを含む。
The
チューナ21は、デジタル放送局1から送信された、番組であるMPEG2−TSを構成する複数のTSパケットを受信する。
The
記憶部22は、チューナ21にて受信されたMPEG2−TSの中の各TSパケットを、そのMPEG2−TSの中のTSパケットの位置を特定するTSパケット特定情報と、そのMPEG2−TS(番組)を特定する配信データ特定情報と、に関連づけて保存する。
The
TSパケット特定情報としては、例えば、TSパケットヘッダにあるパケット識別子(PID)が用いられる。パケット識別子は、制御部25によって、TSパケットヘッダから抽出される。
As the TS packet specifying information, for example, a packet identifier (PID) in the TS packet header is used. The packet identifier is extracted from the TS packet header by the
配信データ特定情報としては、例えば、地上波データ放送等で流れてくるEPG等を基にした番組コードが用いられる。番組コードは、制御部25によって、EPG等から抽出される。
As the distribution data specifying information, for example, a program code based on EPG or the like flowing in terrestrial data broadcasting or the like is used. The program code is extracted from the EPG or the like by the
また、記憶部22は、MPEG2−TS(番組)の中の複数のTSパケットから変換された、MPEG2−PS(番組)を構成する複数のPSパケットを、その変換時のビットレートと、そのMPEG2−PSの中のPSパケットの位置を特定するPSパケット特定情報と、そのMPEG2−PSを特定する配信データ特定情報と、に関連づけて保存する。
The
PSパケット特定情報としては、PSパケットヘッダにパケット識別子(PID)が含まれていれば、そのパケット識別子が用いられる。パケット識別子は、制御部25によって、PSパケットヘッダから抽出される。または、制御部25が、保存されるPSパケットがMPEG2−PSの中の何番目のパケットかを、カウンタ等を用いてカウントし、そのカウント値をPSパケット特定情報として用いてもよい。
As the PS packet specifying information, if a packet identifier (PID) is included in the PS packet header, the packet identifier is used. The packet identifier is extracted from the PS packet header by the
MPEG2−PS(番組)を特定するための配信データ特定情報は、例えば、地上波データ放送等で流れてくるEPG等を基にした番組コードである。番組コードは、制御部25によって、EPG等から抽出される。
The distribution data specifying information for specifying MPEG2-PS (program) is, for example, a program code based on EPG or the like that flows in terrestrial data broadcasting or the like. The program code is extracted from the EPG or the like by the
なお、記憶部22は、互いに異なるビットレートごとに、MPEG2−PSを構成する複数のPSパケットを保存する。
In addition, the memory |
また、記憶部22には、記録装置識別番号表が保存されており、この記録装置識別番号表には、データを再送してよい記録装置3に付与された記録装置識別番号が記載されている。
The
TS−PS変換部(MPEGデコーダ)23は、チューナ21が受信した、MPEG2−TSの中の複数のTSパケット(送信用データ)を、MPEG2−PSを構成する複数のPSパケット(記録用データ)に変換する。
The TS-PS conversion unit (MPEG decoder) 23 converts a plurality of TS packets (transmission data) in the MPEG2-TS received by the
TS−PS変換部23は、制御部25にて指定された任意のビットレートで、複数のTSパケットを複数のPSパケットに変換する。PSパケットは、2048Byteであり、ヘッダ部とデータ部とを含む。
The TS-
通信部24は、インターネット等の通信回線4を介して記録装置3と通信する。なお、通信回線4は、インターネットに限らず適宜変更可能である。
The
制御部25は、例えばCPUであり、プログラムを実行することによって種々の機能を実行し、録画サーバ2全体を制御する。
The
例えば、制御部25は、チューナ21が受信した、MPEG2−TSを構成する複数のTSパケットを記憶部22に保存する。このとき、制御部25は、MPEG2−TSの中のTSパケットを、そのMPEG2−TSの中のTSパケットの位置を特定するTSパケット特定情報と、そのMPEG2−TSを特定する配信データ特定情報(番組コード)と、に関連づけて保存する。
For example, the
受信されたTSパケットにPSI/SI(MPEG2−TSで番組を特定する情報)が含まれていると、制御部25は、このPSI/SIをTSパケットから抽出し、このPSI/SIを、配信データ特定情報として用いてもよい。
If the received TS packet includes PSI / SI (information specifying a program in MPEG2-TS), the
なお、制御部25は、パケットの先頭でSync Byteという8bit固有の値(0x47 h)を検出すると、そのパケットがTSパケットであると認識する。
Note that when the
また、制御部25は、TS−PS変換部23に、記憶部22に保存されたMPEG2−TSの中の複数のTSパケットを、互いに異なる複数のビットレートで、MPEG2−PSを構成する複数のPSパケットに変換させる。
Further, the
また、制御部25は、TS−PS変換部23が変換したMPEG2−PS(複数のPSパケット)を、記憶部22に保存する。このとき、制御部25は、MPEG2−PSの中の各PSパケットを、そのMPEG2−PSの中のPSパケットの位置を特定するPSパケット特定情報と、TS−PS変換のビットレートと、そのMPEG2−PS(番組)を特定する配信データ特定情報(番組コード)と、に関連づけて保存する。
In addition, the
なお、制御部25は、パケットの先頭でpack start codeという32bit固有の値(00 00 01 BA h)を検出すると、そのパケットがPSパケットであると認識する。
When the
また、制御部25は、通信部24が記録装置3から再送要求情報を受け付けると、その再送要求情報に応じたデータを、通信部24を介して記録装置3に送信する。
When the
記録装置3は、例えば、家庭用ホームサーバあるいはデジタルレコーダであり、デジタル放送局1から送信された番組、すなわち、複数のTSパケットで構成されたMPEG2−TSを受信し、そのMPEG2−TSの中の複数のTSパケットをMPEG2−PSを構成する複数のPSパケットに変換し、その複数のPSパケットで構成されたMPEG2−PS(番組)を記録する。記録装置3は、MPEGデータの有用性をMPEG文法の観点から多段階でチェックする。
The
記録装置3は、チューナ31と、TSエラー検出部32と、TS−PS変換部33と、PSエラー検出部34と、データエラー検出部35と、記録メディア36と、作業用メモリ37と、通信部38と、制御部39とを含む。
The
チューナ31は、デジタル放送局1から送信された、MPEG2−TS(番組)を構成する複数のTSパケットを受信する。なお、チューナ31は、例えば、気象状態の影響により、TSパケットを正常に受信できない場合がある。
The
TSエラー検出部32は、第1検出部の一例であり、チューナ31が受信した各TSパケットでのエラーを検出する。
The TS
例えば、TSエラー検出部32は、MPEG2−TS内の各TSパケットに記録された再生時刻が順番どおりになっていないと、順番が狂っているTSパケットでエラーが生じていると判断する。
For example, if the playback time recorded in each TS packet in MPEG2-TS is not in order, the TS
または、TSエラー検出部32は、MPEG2−TS内の各TSパケットのヘッダに記録されたデータ長がTSパケット内の実際のデータ長と異なっていると、そのTSパケットでエラーが生じていると判断する。
Alternatively, if the data length recorded in the header of each TS packet in MPEG2-TS is different from the actual data length in the TS packet, the TS
TS−PS変換部(MPEGデコーダ)33は、チューナ31が受信した、MPEG2−TSの中の複数のTSパケット(送信用データ)を、MPEG2−PSを構成する複数のPSパケット(記録用データ)に変換する。
The TS-PS converter (MPEG decoder) 33 converts a plurality of TS packets (transmission data) in the MPEG2-TS received by the
TS−PS変換部33は、制御部39にて指定された任意のビットレートで、複数のTSパケットを複数のPSパケットに変換する。
The TS-
なお、TS−PS変換部33は、MPEG2−TS(複数のTSパケット)をMPEG2−PS(複数のPSパケット)に正常に変換できない場合がある。
The TS-
PSエラー検出部34は、第2検出部の一例であり、TS−PS変換部33が変換したMPEG2−PSの内の各PSパケットでのエラーを検出する。
The PS
例えば、PSエラー検出部34は、MPEG2−PS内の各PSパケットのヘッダに記録された再生時刻が順番どおりになっていないと、順番が狂っているPSパケットでエラーが生じていると判断する。
For example, if the playback time recorded in the header of each PS packet in MPEG2-PS is not in order, the PS
または、PSエラー検出部34は、MPEG2−PS内の各PSパケットのヘッダに記録されたデータ長がPSパケット内の実際のデータ長と異なっていると、そのPSパケットでエラーが生じていると判断する。
Alternatively, if the data length recorded in the header of each PS packet in MPEG2-PS is different from the actual data length in the PS packet, the PS
データエラー検出部35は、第3検出部の一例であり、TS−PS変換部33が変換したMPEG2−PS内の各PSパケットのデータ部でのエラーを検出する。
The
記録メディア36は、例えば、HDDまたはDVD等の記録媒体である。
The
作業用メモリ37は、制御部39にて使用される。
The work memory 37 is used by the
通信部38は、通信回線4を介して録画サーバ2と通信する。
The
制御部39は、例えばメモリ等を含むCPUであり、記録装置3を特定するための記録装置識別番号を記憶し、また、プログラムを実行することによって種々の機能を実行し、記録装置3全体を制御する。
The
例えば、制御部39は、チューナ31が受信した、MPEG2−TSを構成する複数のTSパケットを作業用メモリ37に一時的に保存する。このとき、制御部39は、MPEG2−TSの中のTSパケットを、そのMPEG2−TSの中のTSパケットの位置を特定するTSパケット特定情報と、そのMPEG2−TS(番組)を特定する配信データ特定情報と、に関連づけて保存する。
For example, the
TSパケット特定情報としては、例えば、TSパケットヘッダにあるパケット識別子(PID)が用いられ、このパケット識別子は、制御部39によって、TSパケットヘッダから抽出される。
As the TS packet specifying information, for example, a packet identifier (PID) in the TS packet header is used, and this packet identifier is extracted from the TS packet header by the
配信データ特定情報としては、例えば、地上波データ放送等で流れてくるEPG等を基にした番組コードが用いられ、この番組コードは、制御部39によって、EPG等から抽出される。なお、制御部39は、受信されたTSパケットにPSI/SI(MPEG2−TSで番組を特定する情報)が含まれていると、このPSI/SIをTSパケットから抽出し、このPSI/SIを、配信データ特定情報として用いてもよい。
As the distribution data specifying information, for example, a program code based on EPG or the like flowing in terrestrial data broadcasting or the like is used, and this program code is extracted from the EPG or the like by the
デジタル放送局1が送信したMPEG2−TSの各TSパケットに対して、録画サーバ2と記録装置3とで、同じTSパケット特定情報および配信データ特定情報が関連づけられる。
The same TS packet specifying information and distribution data specifying information are associated with each TS packet of MPEG2-TS transmitted by the digital broadcasting station 1 in the
なお、制御部39は、パケットの先頭でSync Byteという8bit固有の値(0x47 h)を検出すると、そのパケットがTSパケットであると認識する。
When the
制御部39は、作業用メモリ37に保存されたMPEG2−TSのTSパケットを順次TSエラー検出部32に提供し、TSエラー検出部32に、各TSパケットでのエラーを検出させる。
The
制御部39は、TSエラー検出部32がエラーを検出すると、そのエラーが検出されたTSパケットを、通信部38を介して録画サーバ2から取り寄せる。
When the TS
制御部39は、そのエラーを含むTSパケットを、作業メモリ37上で、その取り寄せたTSパケットに変更した後、TS−PS変換部33に、それらTSパケットから構成されるMPEG2−TSを、複数のPSパケットから構成されるMPEG2−PSに変換させる。
The
制御部39は、TS−PS変換部33が変換した、複数のPSパケットからなるMPEG2−PSを作業用メモリ37に一時的に保存する。このとき、制御部39は、MPEG2−PSの中の各PSパケットを、そのMPEG2−PSの中のPSパケットの位置を特定するPSパケット特定情報と、TS−PS変換のビットレートと、そのMPEG2−PS(番組)を特定する配信データ特定情報と、に関連づけて保存する。
The
PSパケット特定情報としては、PSパケットヘッダにパケット識別子(PID)が含まれていれば、そのパケット識別子が用いられ、このパケット識別子は、制御部39によって、PSパケットヘッダから抽出される。または、制御部39が、保存されるPSパケットがMPEG2−PSの中の何番目のパケットかを、カウンタ等を用いてカウントし、そのカウント値をPSパケット特定情報として用いてもよい。
As the PS packet specifying information, if a packet identifier (PID) is included in the PS packet header, the packet identifier is used. The packet identifier is extracted from the PS packet header by the
MPEG2−PS(番組)を特定するための配信データ特定情報としては、例えば、地上波データ放送等で流れてくるEPG等を基にした番組コードが用いられ、この番組コードは、制御部39によって、EPG等から抽出される。 As distribution data specifying information for specifying MPEG2-PS (program), for example, a program code based on EPG or the like flowing in terrestrial data broadcasting or the like is used. , Extracted from EPG and the like.
同じPSパケットに対して、録画サーバ2と記録装置3とで、同じPSパケット特定情報、同じビットレートおよび同じ配信データ特定情報が関連づけられる。
The same PS packet identification information, the same bit rate, and the same distribution data identification information are associated with the same PS packet in the
なお、制御部39は、パケットの先頭でpack start codeという32bit固有の値(00 00 01 BA h)を検出すると、そのパケットがPSパケットであると認識する。
Note that when the
制御部39は、作業用メモリ37に保存されたMPEG2−PSのPSパケットを順次PSエラー検出部34に提供し、PSエラー検出部34に、各PSパケットのヘッダ部でのエラーを検出させる。
The
制御部39は、PSエラー検出部34がエラーを検出すると、そのエラーが検出されたPSパケットを、通信部38を介して録画サーバ2から取り寄せる。
When the PS
制御部39は、そのエラーを含むPSパケットを、作業用メモリ37上で、その取り寄せたPSパケットに変更する。その後、制御部39は、作業用メモリ37に保存されたMPEG2−PSのPSパケットを順次データエラー検出部35に提供し、データエラー検出部35に、各PSパケットのデータ部でのエラーを検出させる。
The
制御部39は、データエラー検出部35がエラーを検出すると、データエラー検出部35の検出結果に応じて、録画サーバ2から取り寄せるデータ部の範囲を決定し、その決定された範囲のデータ部を録画サーバ2から取り寄せる。
When the data
制御部39は、作業用メモリ37上で、その取り寄せたデータ部に対応するデータ部を、その取り寄せたデータ部に変更する。その後、制御部39は、作業用メモリ37に保存されているMPEG2−PSを、記録メディア36に記録する。
The
次に、動作を説明する。 Next, the operation will be described.
図2は、記録装置3の動作を説明するためのフローチャートである。以下、図2を参照して、記録装置3を中心にして記録システムの動作を説明する。
FIG. 2 is a flowchart for explaining the operation of the
デジタル放送局1が、複数のTSパケットで構成されたMPEG2−TS(番組)を無線送信すると、録画サーバ2および記録装置3は、そのMPEG2−TSを受信する。
When the digital broadcasting station 1 wirelessly transmits MPEG2-TS (program) composed of a plurality of TS packets, the
録画サーバ2では、チューナ21がデジタル放送局1から送信されたMPEG2−TSを受信すると、制御部25は、チューナ21が受信した、MPEG2−TSを構成する複数のTSパケットを記憶部22に保存する。このとき、制御部25は、MPEG2−TSの中のTSパケットを、TSパケット特定情報と、配信データ特定情報(番組コード)と、に関連づけて保存する。
In the
続いて、制御部25は、TS−PS変換部23に、記憶部22に保存されたMPEG2−TSの中の複数のTSパケットを、互いに異なる複数のビットレートで、MPEG2−PSを構成する複数のPSパケットに変換させる。
Subsequently, the
続いて、制御部25は、TS−PS変換部23が変換したMPEG2−PS(複数のPSパケット)を、記憶部22に保存する。このとき、制御部25は、MPEG2−PSの中の各PSパケットを、PSパケット特定情報と、TS−PS変換のビットレートと、配信データ特定情報(番組コード)と、に関連づけて保存する。
Subsequently, the
一方、記録装置3では、チューナ31がデジタル放送局1から送信されたMPEG2−TSを受信すると、制御部39は、チューナ31が受信した、MPEG2−TSを構成する複数のTSパケットを作業用メモリ37に一時的に保存する。このとき、制御部39は、MPEG2−TSの中のTSパケットを、TSパケット特定情報と、配信データ特定情報と、に関連づけて保存する。
On the other hand, in the
続いて、制御部39は、作業用メモリ37に保存されたMPEG2−TSのTSパケットを順次TSエラー検出部32に提供し、TSエラー検出部32に、各TSパケットでのエラーを検出させる。その後、制御部39は、ステップS101を実行する。
Subsequently, the
TSエラー検出部32は、エラーを有するTSパケットを検出すると、そのTSパケットのヘッダ部を制御部39に提供する。なお、TSパケットのヘッダ部には、Sync Byteが存在する。
When the TS
ステップS101では、制御部39は、TSエラー検出部32がエラーを検出したか否か判断する。具体的には、制御部39は、TSパケットのヘッダ部をTSエラー検出部32から受け付けたか否かを判断する。
In step S101, the
制御部39は、TSエラー検出部32がエラーを検出すると、ステップS102を実行する。
When the TS
一方、TSエラー検出部32がエラーを検出しないと、制御部39は、作業用メモリ37に保存された、MPEG2−TSを構成する複数のTSパケットを、TS−PS変換部33に提供し、TS−PS変換部33に、それら複数のTSパケットを、MPEG2−PSを構成する複数のPSパケットに変換させる。
On the other hand, if the TS
このとき、制御部39は、不図示の入力部が利用者から受け付けた録画画像の精度情報(ビットレート)をTS−PS変換部33に提供し、TS−PS変換部33は、そのビットレートで、MPEG2−TS(複数のTSパケット)をMPEG2−PS(複数のPSパケット)にする。
At this time, the
ステップS102では、制御部39は、まず、TSエラー検出部32から提供されたTSパケットのヘッダ部を有するTSパケットを、作業用メモリ37内のTSパケットの中から特定する。
In step S <b> 102, the
続いて、制御部39は、その特定されたTSパケットに関連づけられているTSパケット特定情報および配信データ特定情報(番組コード)を作業用メモリ37から読み出す。
Subsequently, the
続いて、制御部39は、そのTSパケット特定情報と、その配信データ特定情報(番組コード)と、記録装置3の記録装置識別番号と、Sync Byteと、を含む再送要求情報を、通信部38から録画サーバ2に送信する。
Subsequently, the
録画サーバ2の制御部25は、通信部24が再送要求情報を受信すると、まず、再送要求情報中の記録装置識別番号が、記憶部22内の記録装置識別番号表に記載されているか判断し、その記録装置識別番号が録装置識別番号表に記載されていないと、処理を中止する。
When the
その記録装置識別番号が記録装置識別番号表に記載されていると、制御部25は、再送要求情報中のSync Byteに基づいて、再送要求されたデータの形式がTSパケットであると判断する。
When the recording device identification number is described in the recording device identification number table, the
続いて、制御部25は、記憶部22内で再送要求情報中の配信データ特定情報(番組コード)に関連づけられている複数のTSパケット(MPEG2−TS)の中から、再送要求情報中のTSパケット特定情報に関連づけられているTSパケットを、記憶部22から読み出す。
Subsequently, the
続いて、制御部25は、その読み出されたTSパケットを、通信部24から、再送要求情報中の記録装置識別番号が付与された記録装置3に送信する。
Subsequently, the
記録装置3の制御部39は、通信部38が録画サーバ2からTSパケットを受信すると、作業メモリ37において、エラーを含むTSパケットを、その受信されたTSパケットに変更する。よって、エラーを含むTSパケットが、1パケットずつ変更される。
When the
続いて、制御部39は、TS−PS変換部33に、作業メモリ37内のMPEG2−TSを構成する複数のTSパケットを提供して、TS−PS変換部33に、複数のTSパケットを、MPEG2−PSを構成する複数のPSパケットに変換させる。このとき、制御部39は、不図示の入力部が利用者から受け付けた録画画像の精度情報(ビットレート)をTS−PS変換部33に提供し、TS−PS変換部33は、そのビットレートで、複数のTSパケットを複数のPSパケットにする。
Subsequently, the
続いて、制御部39は、TS−PS変換部33が変換したMPEG2−PSを構成する複数のPSパケットを、作業用メモリ37に一時的に保存する。このとき、制御部39は、MPEG2−PSの中の各PSパケットを、PSパケット特定情報と、TS−PS変換のビットレートと、配信データ特定情報(番組コード)と、に関連づけて保存する。
Subsequently, the
続いて、制御部39は、作業用メモリ37に保存されたMPEG2−PSのPSパケットを順次PSエラー検出部34に提供し、PSエラー検出部34に、各PSパケットのヘッダ部でのエラーを検出させる。その後、制御部39は、ステップS103を実行する。
Subsequently, the
PSエラー検出部34は、エラーを有するPSパケットを検出すると、そのPSパケットのヘッダ部を制御部39に提供する。なお、PSパケットのヘッダ部には、pack start codeが存在する。
When the PS
ステップS103では、制御部39は、PSエラー検出部34がエラーを検出したか否か判断する。具体的には、制御部39は、PSパケットのヘッダ部をPSエラー検出部34から受け付けたか否かを判断する。
In step S103, the
制御部39は、PSエラー検出部34がエラーを検出すると、ステップS104を実行する。
When the PS
一方、PSエラー検出部34がエラーを検出しないと、制御部39は、作業用メモリ37に保存されたMPEG2−PSのPSパケットを順次データエラー検出部35に提供し、データエラー検出部35に、各PSパケットのデータ部でのエラーを検出させる。
On the other hand, if the PS
ステップS104では、制御部39は、まず、PSエラー検出部34から提供されたPSパケットのヘッダ部を有するPSパケットを、作業用メモリ37内のPSパケットの中から特定する。
In step S <b> 104, the
続いて、制御部39は、その特定されたPSパケットに関連づけられているPSパケット特定情報、ビットレートおよび配信データ特定情報(番組コード)を作業用メモリ37から読み出す。
Subsequently, the
続いて、制御部39は、そのPSパケット特定情報と、そのビットレートと、その配信データ特定情報(番組コード)と、記録装置3の記録装置識別番号と、pack start codeと、を含む再送要求情報を、通信部38から録画サーバ2に送信する。
Subsequently, the
録画サーバ2の制御部25は、通信部24が再送要求情報を受信すると、まず、再送要求情報中の記録装置識別番号が記録装置識別番号表に記載されているか判断し、その記録装置識別番号が記載されていないと、処理を中止する。
When the
その記録装置識別番号が記載されていると、制御部25は、再送要求情報中のpack start codeに基づいて、再送要求されたデータの形式がPSパケットであると判断する。
If the recording device identification number is described, the
続いて、制御部25は、記憶部22内で再送要求情報中の配信データ特定情報(番組コード)に関連づけられている複数のPSパケット(MPEG2−PS)の中から、再送要求情報中のPSパケット特定情報およびビットレートに関連づけられているPSパケットを、記憶部22から読み出す。
Subsequently, the
続いて、制御部25は、その読み出されたPSパケットを、通信部24から、再送要求情報中の記録装置識別番号が付与された記録装置3に送信する。
Subsequently, the
記録装置3の制御部39は、通信部38が録画サーバ2からPSパケットを受信すると、作業メモリ37において、エラーを含むPSパケットを、その受信されたPSパケットに変更する。
When the
続いて、制御部39は、ステップS105を実行して、作業用メモリ37に保存されたMPEG2−PSのPSパケットを順次データエラー検出部35に提供し、データエラー検出部35に、各PSパケットのデータ部でのエラーを検出させる。
Subsequently, the
データエラー検出部35のチェック範囲は、PSパケットのデータ部のVideoおよびAudio Elementary Stream(以下「Video ES」または「Audio ES」と称する。)である。
The check range of the data
データエラー検出部35は、エラーを発見した場合、エラー状態情報と、エラー範囲情報と、を制御部39に提供する。
When the data
エラー状態情報は、発見されたエラーの内容に応じて変更される。本実施例では、エラー状態情報として、全データに影響するエラーが発見されると、全MPEGデータのエラーを示す全データエラー情報が使用され、1つのフレームに影響するエラーが発見されると、フレーム分のMPEGデータのエラーを示すフレームエラー情報が使用され、1つのスライスに影響するエラーが発見されると、スライス分のMPEGデータのエラーを示すスライスエラー情報が使用される。 The error status information is changed according to the content of the found error. In this embodiment, when an error affecting all data is found as error status information, all data error information indicating an error of all MPEG data is used, and when an error affecting one frame is found, Frame error information indicating an error in MPEG data for a frame is used, and when an error affecting one slice is found, slice error information indicating an error in MPEG data for a slice is used.
エラー範囲情報も、発見されたエラーの内容に応じて変更される。本実施例では、エラー範囲情報として、全データに影響するエラーが発見されると、全フレームを含む全データを指定する全データ指定情報が使用され、1つのフレームに影響するエラーが発見されると、その1つのフレームを指定するフレーム指定情報(例えば、そのフレームの再生順を示す番号)が使用され、1つのスライスに影響するエラーが発見されると、その1つのスライスを指定するスライス指定情報(例えば、そのスライスが存在するフレームの再生順を示す番号、および、そのスライスの再生順を示す番号)が使用される。 The error range information is also changed according to the content of the detected error. In this embodiment, when an error that affects all data is found as error range information, all data specifying information that specifies all data including all frames is used, and an error that affects one frame is found. Frame designation information (for example, a number indicating the playback order of the frames) is used, and when an error affecting one slice is found, the slice designation for designating the one slice is used. Information (for example, a number indicating the playback order of the frame in which the slice exists and a number indicating the playback order of the slice) is used.
制御部39は、データエラー検出部35からエラー状態情報とエラー範囲情報を受け付けないと、つまり、データエラー検出部35がエラーを検出しないと、作業用メモリ37に保存されたMPEG2−PSを記録メディア36に記録する。
If the
一方、制御部39は、データエラー検出部35から、エラー状態情報とエラー範囲情報を受け付けると、まず、エラー範囲情報を格納し、続いて、作業用メモリ37からPSパケットに関連づけられたビットレートおよび配信データ特定情報(番組コード)を読み出す。
On the other hand, when the
続いて、制御部39は、そのビットレートと、その配信データ特定情報(番組コード)と、記録装置3の記録装置識別番号と、pack start codeと、データエラー検出部35から提供されたエラー状態情報およびエラー範囲情報と、を含む再送要求情報を、通信部38から録画サーバ2に送信する。
Subsequently, the
録画サーバ2の制御部25は、通信部24が再送要求情報を受信すると、まず、再送要求情報中の記録装置識別番号が、記録装置識別番号表に記載されているか判断し、その記録装置識別番号が記載されていないと処理を中止する。
When the
その記録装置識別番号が記載されていると、制御部25は、再送要求情報中のpack start codeに基づいて、再送要求されたデータの形式がPSパケットであると判断し、記憶部22内で再送要求情報中の配信データ特定情報(番組コード)に関連づけられている複数のPSパケット(MPEG2−PS)の中から、再送要求情報中のビットレートに関連づけられている複数のPSパケットを特定する。
When the recording device identification number is described, the
続いて、制御部25は、その特定された複数のPSパケットのVideo ESを参照し、再送要求情報中のエラー状態情報およびエラー範囲情報に基づいて、送信すべきデータを特定する。
Subsequently, the
例えば、エラー状態情報が全データエラー情報で、エラー範囲情報が全データ指定情報の場合、制御部25は、その特定された複数のPSパケットの全データを、送信すべきデータとして特定する。
For example, when the error status information is all data error information and the error range information is all data designation information, the
また、エラー情報がフレームエラー情報で、エラー範囲情報がフレーム指定情報の場合、制御部25は、その特定された複数のPSパケット中の、フレーム指定情報にて指定されたフレームを、送信すべきデータとして特定する。
In addition, when the error information is frame error information and the error range information is frame designation information, the
また、エラー情報がスライスエラー情報で、エラー範囲情報がスライス指定情報の場合、制御部25は、その特定された複数のPSパケット中の、スライス指定情報にて指定されたスライスを、送信すべきデータとして特定する。
Further, when the error information is slice error information and the error range information is slice designation information, the
続いて、制御部25は、その特定されたデータをデータ再送情報とともに、通信部24から、再送要求情報中の記録装置識別番号が付与された記録装置3に送信する。
Subsequently, the
記録装置3の制御部39は、通信部38が録画サーバ2から、データ再送情報とともにデータを受信すると、作業用メモリ37内のPSパケットのVideo ESにおいて、エラー範囲情報にて規定されたデータを、その受信されたデータに変更する。
When the
続いて、制御部39は、作業メモリ37中の複数のPSパケット(MPEG2−PS)を記録メディア36に記録する。
Subsequently, the
図3は、データエラー検出部35の動作の一例を説明するためのフローチャートである。以下、図3を参照して、データエラー検出部35の動作の一例を説明する。
FIG. 3 is a flowchart for explaining an example of the operation of the data
ステップS201では、データエラー検出部35は、シーケンススタートコード(000001B3)が正常か、具体的には、シーケンススタートコードがあるか判断し、シーケンススタートコードがないと、ステップS202を実行し、シーケンススタートコードがあると、ステップS203を実行する。
In step S201, the data
ステップS202では、データエラー検出部35は、エラー状態情報である全データエラー情報と、エラー範囲情報である全データ指定情報と、を制御部39に提供する。
In step S202, the data
一方、ステップS203では、データエラー検出部35は、シーケンスエクステンションデータ(000001B5)が正常か、具体的には、シーケンスエクステンションデータがあるか判断し、シーケンスエクステンションデータがないと、ステップS202を実行し、シーケンスエクステンションデータがあると、ステップS204を実行する。
On the other hand, in step S203, the data
ステップS204では、データエラー検出部35は、ピクチャースタートコード(00000100)が正常か判断し、ピクチャースタートコードが正常でないと、ステップS205を実行し、ピクチャースタートコードが正常であると、ステップS206を実行する。
In step S204, the data
例えば、データエラー検出部35は、以下のようにして、ピクチャースタートコードが正常か否かを判断する。
For example, the data
データエラー検出部35は、ピクチャースタートコードを検出するたびに、ピクチャー数をカウントしていく。このピクチャー数は、ピクチャーの再生順を示す。
The
データエラー検出部35は、ピクチャースタートコードが現れるべき場所にピクチャースタートコードが現れないと、そのカウントしたピクチャー数に1を加えた数が再生順となっているピクチャーが異常である、換言すると、そのピクチャーのピクチャースタートコードが異常であると判断する。
If the picture start code does not appear at the place where the picture start code should appear, the data
ステップS205では、データエラー検出部35は、エラー状態情報であるフレームエラー情報と、エラー範囲情報であるフレーム指定情報(具体的には、カウントしたピクチャー数に1を加えた数を再生順として示すピクチャー再生順番号)と、を制御部39に提供する。
In step S205, the data
ステップS206では、データエラー検出部35は、スライススタートコード(00000101〜000001AF)が正常か判断し、スライススタートコードが正常でないと、ステップS207を実行し、スライススタートコードが正常であると、ステップS208を実行する。
In step S206, the data
例えば、データエラー検出部35は、以下のようにして、スライススタートコードが正常か否かを判断する。
For example, the data
データエラー検出部35は、スライススタートコードを検出するたびに、スライス数をカウントしていく。データエラー検出部35は、n番目のスライススタートコードが検出されず、n+1番目のスライススタートコードが検出されると、(n−1+1)番目(つまりn番目)のスライスが異常である、換言すると、n番目のスライスのスライススタートコードが異常であると判断する。
The
ステップS207では、データエラー検出部35は、エラー状態情報であるスライスエラー情報と、エラー範囲情報であるスライス指定情報(具体的には、カウントしたピクチャー数に1を加えた数を再生順として示すピクチャー再生順番号と、カウントしたスライス数に1を加えた数を再生順として示すスライス再生順番号)と、を制御部39に提供する。
In step S207, the data
ステップS208では、データエラー検出部35は、スライス数に矛盾は無いか判断し、スライス数に矛盾があると、ステップS207を実行し、スライス数に矛盾がないと、ステップS209を実行する。
In step S208, the data
例えば、データエラー検出部35は、最後のスライススタートコードが検出されず、次のピクチャースタートコードが検出された場合、スライス数に矛盾があると判断する。
For example, if the last slice start code is not detected and the next picture start code is detected, the data
なお、スライス数は元々MPEG2のカテゴリにより決められているため、データエラー検出部35等のMPEGチェックツールは、カウントしたスライス数が規定数と同一かを判断可能である。
Since the number of slices is originally determined by the category of MPEG2, the MPEG check tool such as the data
この場合、ステップS207では、データエラー検出部35は、スライス指定情報として、カウントしたピクチャー数に1を加えた数を再生順として示すピクチャー再生順番号と、規定された最後のスライス番号を再生順として示すスライス再生順番号と、を用いる。
In this case, in step S207, the data
ステップS209では、データエラー検出部35は、マクロブロック数に矛盾は無いか判断し、マクロブロック数に矛盾があると、ステップS207を実行し、マクロブロック数に矛盾がないと、ステップS210を実行する。
In step S209, the data
例えば、データエラー検出部35は、マクロブロック数をカウントしていき、そのマクロクロック数が、シーケンススタートコードに示された画サイズにて規定される上限値を超えた場合、マクロブロック数に矛盾があると判断する。
For example, the data
この場合、ステップS207では、データエラー検出部35は、スライス指定情報として、カウントしたピクチャー数に1を加えた数を再生順として示すピクチャー再生順番号と、カウントしたスライス数を再生順として示すスライス再生順番号と、を使用する。
In this case, in step S207, the data
ステップS210では、データエラー検出部35は、MPEGデータに問題なしと判断して動作を終了する。
In step S210, the data
本実施例によれば、制御部39は、TSパケットでエラーが検出されると、エラーが検出されたTSパケットを取得し、PSパケットでエラーが検出されると、エラーが検出されたPSパケットを取得する。このため、PSパケットにエラーが生じても、必要なデータのみが取得され、エラーを含むデータの補完を高速で行うことが可能になる。
According to the present embodiment, when an error is detected in the TS packet, the
また、本実施例では、制御部39は、データエラー検出部35が検出したエラーの内容により、録画サーバ2から取り寄せるデータの範囲を決定する。必要となるデータの量は、エラーの内容に応じて変動する。例えば、データ全般に影響を及ぼすエラーであると、データ全体を取り寄せる必要があるが、一部のデータにのみ影響を及ぼすエラーであると、その一部のデータのみを取り寄せればよくなる。
In this embodiment, the
このため、PSパケットにエラーが生じても、必要なデータのみを取得することが可能になり、エラーを含むデータの補完を高速で行うことが可能になる。 For this reason, even if an error occurs in the PS packet, only necessary data can be acquired, and data including the error can be complemented at high speed.
また、本実施例では、制御部25は、通信部24が記録装置3から再送要求情報を受け付けると、その再送要求情報に応じたデータを、通信部24を介して記録装置3に送信する。このため、録画サーバ2は、記録装置3が必要とするデータを適切に配信することが可能になる。
In the present embodiment, when the
以上説明した実施例において、図示した構成は単なる一例であって、本発明はその構成に限定されるものではない。 In the embodiment described above, the illustrated configuration is merely an example, and the present invention is not limited to the configuration.
例えば、録画サーバ2の記憶部22には、常にMPEG2−PSが保存されなくてもよい。この場合、制御部25は、TS−PS変換部23を用いて、記録装置3から受け付けた再送要求情報に示されたビットレートで記憶部22のMPEG2−TSの複数のTSパケットを複数のPSパケットからなるMPEG2−PSに変換し、そのMPEG2−PSを記憶部22に保存し、その後、記憶部22に保存されたMPEG2−PSの複数のPSパケットの中から送信用データを特定する。
For example, the MPEG2-PS does not always have to be stored in the
また、録画サーバ2は、1台とは限らず、複数台でもよい。また、録画サーバ2は、放送局が用意するような予備サーバではなく、他人が使用している家庭用ホームサーバあるいはデジタルレコーダでもよい。
Further, the
また、放送局から送信される放送は、デジタル放送のみならず、アナログ放送でもよい。この場合、放送局から伝送されるデータはベースバンドであるため、記録装置3はチューナの後段にMPEG2エンコーダを有し、記録装置3が再送要求情報を送信する機器は、チューナの後段に記録装置3と同一のMPEG2エンコーダを有する家庭用ホームサーバ、デジタルレコーダまたは録画サーバとなる。
The broadcast transmitted from the broadcast station may be not only digital broadcast but also analog broadcast. In this case, since the data transmitted from the broadcasting station is baseband, the
また、記録装置3を販売している会社が、このサービスを提供してもよい。この場合、その会社が販売した記録装置3には、同じデータが確保される。
A company that sells the
また、TSエラー検出部32とPSエラー検出部34とデータエラー検出部35は、TS−PS変換部33とともに、ハードウェアにて構成されてもよく、また、TSエラー検出部32とPSエラー検出部34とデータエラー検出部35は、ソフトウェア(プログラム)にて制御部39内で実現されてもよい。
The TS
1 デジタル放送局
2 録画サーバ
21 チューナ
22 記憶部
23 TS−PS変換部
24 通信部
25 制御部
3 記録装置
31 チューナ
32 TSエラー検出部
33 TS−PS変換部
34 PSエラー検出部
35 データエラー検出部
36 記録メディア
37 作業用メモリ
38 通信部
39 制御部
4 通信回線
DESCRIPTION OF SYMBOLS 1
Claims (6)
前記所定配信装置から前記複数の送信用データを受信する受信部と、
前記特定配信装置と通信して前記複数の送信用データおよび前記記録用データを取得する通信部と、
前記受信部が受信した複数の送信用データを前記複数の記録用データに変換する変換部と、
前記複数の記録用データを記録する記録媒体と、
前記受信部が受信した各送信用データでのエラーを検出する第1検出部と、
前記変換部が変換した各記録用データでのエラーを検出する第2検出部と、
前記第1検出部が前記エラーを検出すると、前記特定配信装置から該エラーが検出された送信用データに対応する送信用データを前記通信部を介して取得し、該エラーを含む送信用データを該取得した送信用データに変更した後、前記変換部に前記変換を実行させ、前記第2検出部が前記エラーを検出すると、該特定配信装置から該エラーが検出された記録用データに対応する記録用データを該通信部を介して取得し、該エラーを含む記録用データを該取得した記録用データに変更した後、前記複数の記録用データを前記記録媒体に記録する制御部と、を含む記録装置。 Communicating to a predetermined distribution device that transmits a plurality of transmission data that forms content, and a specific distribution device that can transmit the plurality of transmission data and a plurality of recording data converted from the plurality of transmission data A possible recording device,
A receiving unit that receives the plurality of transmission data from the predetermined distribution device;
A communication unit that communicates with the specific delivery device to obtain the plurality of transmission data and the recording data;
A conversion unit that converts the plurality of transmission data received by the reception unit into the plurality of recording data;
A recording medium for recording the plurality of recording data;
A first detector for detecting an error in each transmission data received by the receiver;
A second detection unit for detecting an error in each recording data converted by the conversion unit;
When the first detection unit detects the error, the transmission data corresponding to the transmission data in which the error is detected is acquired from the specific distribution device via the communication unit, and the transmission data including the error is acquired. After changing to the acquired transmission data, if the conversion unit executes the conversion and the second detection unit detects the error, it corresponds to the recording data in which the error is detected from the specific distribution device. A controller that acquires recording data via the communication unit, changes the recording data including the error to the acquired recording data, and then records the plurality of recording data on the recording medium; Including recording device.
前記記録用データは、ヘッダ部とデータ部とを有し、
前記記録用データのデータ部でのエラーを検出する第3検出部をさらに含み、
前記制御部は、前記第3検出部の検出結果に応じて、前記特定配信装置から取得する前記データ部の範囲を決定し、該決定された範囲のデータ部を前記通信部を介して該特定配信装置から取得し、該取得したデータ部に対応する前記記録用データのデータ部を該取得したデータ部に変更した後、前記記録用データを前記記録媒体に記録する、記録装置。 The recording apparatus according to claim 1,
The recording data has a header part and a data part,
A third detector for detecting an error in the data portion of the recording data;
The control unit determines a range of the data unit acquired from the specific distribution device according to a detection result of the third detection unit, and specifies the data unit of the determined range via the communication unit A recording apparatus that acquires from a distribution apparatus, changes the data part of the recording data corresponding to the acquired data part to the acquired data part, and then records the recording data on the recording medium.
前記所定配信装置から前記複数の送信用データを受信する受信ステップと、
前記受信された複数の送信用データを前記複数の記録用データに変換する変換ステップと、
前記受信された各送信用データでのエラーを検出する第1検出ステップと、
前記変換された各記録用データでのエラーを検出する第2検出ステップと、
前記第1検出ステップで前記エラーが検出されると、該エラーが検出された送信用データに対応する送信用データを前記特定配信装置から取得し、該エラーを含む送信用データを該取得した送信用データに変更した後、前記複数の送信用データを前記複数の記録用データに変換する変更ステップと、
前記第2検出ステップで前記エラーが検出されると、該エラーが検出された記録用データに対応する記録用データを前記特定配信装置から取得し、該エラーを含む記録用データを該取得した記録用データに変更した後、前記複数の記録用データを記録媒体に記録する制御ステップと、を含む記録方法。 Communicating to a predetermined distribution device that transmits a plurality of transmission data that forms content, and a specific distribution device that can transmit the plurality of transmission data and a plurality of recording data converted from the plurality of transmission data A recording method performed by a possible recording device,
A receiving step of receiving the plurality of transmission data from the predetermined distribution device;
A converting step of converting the plurality of received transmission data into the plurality of recording data;
A first detection step of detecting an error in each received transmission data;
A second detection step of detecting an error in each of the converted recording data;
When the error is detected in the first detection step, the transmission data corresponding to the transmission data in which the error is detected is acquired from the specific distribution device, and the transmission data including the error is acquired. A change step of converting the plurality of transmission data into the plurality of recording data after changing to the credit data;
When the error is detected in the second detection step, recording data corresponding to the recording data in which the error is detected is acquired from the specific distribution device, and the recording data including the error is acquired. And a control step of recording the plurality of recording data on a recording medium after changing to the recording data.
前記記録用データは、ヘッダ部とデータ部とを有し、
前記記録用データのデータ部でのエラーを検出する第3検出ステップと、
前記第3検出ステップでの検出結果に応じて、前記特定配信装置から取得する前記データ部の範囲を決定し、該決定された範囲のデータ部を該特定配信装置から取得し、該取得したデータ部に対応する前記記録用データのデータ部を該取得したデータ部に変更した後、前記記録用データを前記記録媒体に記録する記録制御ステップと、をさらに含む記録方法。 The recording method according to claim 3 ,
The recording data has a header part and a data part,
A third detection step of detecting an error in the data portion of the recording data;
According to the detection result in the third detection step, the range of the data part acquired from the specific distribution device is determined, the data portion of the determined range is acquired from the specific distribution device, and the acquired data A recording control step of recording the recording data on the recording medium after changing the data portion of the recording data corresponding to the recording portion to the acquired data portion.
前記記録用データは、ヘッダ部とデータ部とを有し、
前記記録装置は、前記記録用データのデータ部でのエラーを検出する第3検出部をさらに含み、
前記制御部は、前記第3検出部の検出結果に応じて、前記特定配信装置から取り寄せる前記データ部の範囲を決定し、該決定された範囲のデータ部を該特定配信装置から取り寄せ、該取り寄せたデータ部に対応する前記記録用データのデータ部を該取り寄せたデータ部に変更した後、前記記録用データを前記記録媒体に記録する、記録システム。 The recording system according to claim 5 , wherein
The recording data has a header part and a data part,
The recording apparatus further includes a third detection unit that detects an error in a data part of the recording data,
The control unit determines a range of the data portion to be obtained from the specific delivery device according to a detection result of the third detection unit, obtains a data portion of the determined range from the specific delivery device, and obtains the order. A recording system for recording the recording data on the recording medium after changing the data portion of the recording data corresponding to the data portion to the acquired data portion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006024331A JP4527672B2 (en) | 2006-02-01 | 2006-02-01 | Recording apparatus, recording method, recording system, distribution apparatus, and distribution method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006024331A JP4527672B2 (en) | 2006-02-01 | 2006-02-01 | Recording apparatus, recording method, recording system, distribution apparatus, and distribution method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007208598A JP2007208598A (en) | 2007-08-16 |
| JP4527672B2 true JP4527672B2 (en) | 2010-08-18 |
Family
ID=38487658
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006024331A Expired - Fee Related JP4527672B2 (en) | 2006-02-01 | 2006-02-01 | Recording apparatus, recording method, recording system, distribution apparatus, and distribution method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4527672B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116647541B (en) * | 2023-05-10 | 2025-12-05 | 国网山东省电力公司菏泽供电公司 | A video stream analysis method and system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003250128A (en) * | 2002-02-25 | 2003-09-05 | Matsushita Electric Ind Co Ltd | Information receiving apparatus and error processing method |
| JP2005065232A (en) * | 2003-07-25 | 2005-03-10 | Victor Co Of Japan Ltd | Stream data recording and reproducing method |
-
2006
- 2006-02-01 JP JP2006024331A patent/JP4527672B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007208598A (en) | 2007-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100429930C (en) | Digital broadcast receiving device and method | |
| US8185792B2 (en) | Data-transmission device data-reception device and data-transmission-and-reception system | |
| WO2012067219A1 (en) | Device for generating content data, method for generating content data, computer program, and recording medium | |
| US20050166123A1 (en) | Transmission/reception system, transmitter and transmitting and method, receiver and receiving method, recording medium, and program | |
| JP2006211602A (en) | Data transmitter and program | |
| US8233549B2 (en) | Video receiving apparatus and video receiving method to address error in received video | |
| US20020076196A1 (en) | Digital broadcast recording/reproducing apparatus | |
| JP4527672B2 (en) | Recording apparatus, recording method, recording system, distribution apparatus, and distribution method | |
| US9100672B2 (en) | Data transmitting device and data transmitting and receiving system | |
| US7742472B2 (en) | Signal processing apparatus and stream processing method | |
| JP4488958B2 (en) | Video transmission system and video transmission method | |
| JP2008061150A (en) | Receiver and information processing method | |
| JPH11177581A (en) | Data transmitting device, data receiving device and data recording device | |
| JP2005020437A (en) | Content correction system and receiving device | |
| KR102640666B1 (en) | A method for receiving a broadcast signal and an apparatus for receiving a broadcast signal | |
| JP5338594B2 (en) | Data receiving method, data transmitting / receiving system, and data receiver | |
| JP2006041578A (en) | Portable terminal device and television broadcast system | |
| US20050265369A1 (en) | Network receiving apparatus and network transmitting apparatus | |
| JP4674918B2 (en) | Digital image data processing apparatus and processing method | |
| JP2005110055A (en) | Reception apparatus and reception data control method | |
| JP5351136B2 (en) | Video relay device and home gateway | |
| US20090016697A1 (en) | Method and apparatus for recording transport stream | |
| US8855110B2 (en) | Personal video recorder having improved data access and method thereof | |
| JP4559878B2 (en) | DIGITAL BROADCAST SIGNAL TRANSMITTING APPARATUS AND METHOD FOR CONTROLLING THE DIGITAL BROADCAST SIGNAL TRANSMITTING APPARATUS | |
| JP2006157773A (en) | Volatility billing system for storage-based broadcasting |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100209 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100217 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100416 |
|
| 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: 20100511 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100603 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4527672 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130611 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |