WO1998012843A1 - Data receiver - Google Patents

Data receiver Download PDF

Info

Publication number
WO1998012843A1
WO1998012843A1 PCT/JP1996/002721 JP9602721W WO9812843A1 WO 1998012843 A1 WO1998012843 A1 WO 1998012843A1 JP 9602721 W JP9602721 W JP 9602721W WO 9812843 A1 WO9812843 A1 WO 9812843A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
unit
cell
bucket
transfer
Prior art date
Application number
PCT/JP1996/002721
Other languages
French (fr)
Japanese (ja)
Inventor
Junko Nakase
Yutaka Okada
Original Assignee
Hitachi, Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi, Ltd. filed Critical Hitachi, Ltd.
Priority to PCT/JP1996/002721 priority Critical patent/WO1998012843A1/en
Priority to TW086108890A priority patent/TW337626B/en
Publication of WO1998012843A1 publication Critical patent/WO1998012843A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/04Selecting arrangements for multiplex systems for time-division multiplexing
    • H04Q11/0428Integrated services digital network, i.e. systems for transmission of different types of digitised signals, e.g. speech, data, telecentral, television signals
    • H04Q11/0478Provisions for broadband connections

Definitions

  • the present invention relates to a data receiving apparatus of a data transmitting / receiving system for transmitting / receiving a stream in which data such as video and audio are multiplexed in an ATM (Asynchronous Transfer Mode) cell system, and particularly to an MPEG-2 ( Moving Picture Experts Group 2) It relates to a data receiving device that receives video and audio data multiplexed by TS (Transport Stream) specified by the system standard, and then divides the data into ATM cells and receives the data.
  • ATM Asynchronous Transfer Mode
  • MPEG-2 Moving Picture Experts Group 2
  • TS which is a transfer bucket
  • TS is a stream in which 188-byte fixed-length transport packets (TS packets) are multiplexed.
  • the TS is capable of multiplexing the video and audio data of the program in the form of a TS packet.
  • the program here refers to the channel used in TV broadcasting. .
  • a 4-byte TS bucket header 201 is added to the beginning of the TS bucket 20 and an adaptation—field is added after the TS bucket header 201.
  • Information indicating the inconsistency of the time axis is stored, etc.
  • the payload 203 stores encoded data of video and audio.
  • a specific pattern called a synchronization pattern for synchronizing the TS packet 201 (a hexadecimal number 0x47, where 0x is 1 means hexadecimal notation).
  • the TS bucket header also contains PI Includes a 13-bit packet identification field 201, called D.
  • ATM is a method of transmitting and receiving data in units of 53 bytes called ATM cells.
  • the ATM divides the transmission data into 48-byte data strings 302, each of which is preceded by a 5-byte header 301 (hereinafter referred to as a cell header), for a total of 53 bytes of ATM. Construct cell 30.
  • the cell header is removed from the received ATM cells and the original data string is restored.
  • the fifth byte 30 15 of the cell header 301 is a CRC (Cyclic Redundancy Check) corresponding to the preceding four bytes, and is called HEC (Header Error Control).
  • the receiving side can determine whether there is an error in the cell header by using HEC. More specifically, polynomial division is performed by using the 5-byte data string of the received cell header as the dividend and the generator polynomial used in generating the HEC as the divisor. Since the time of transmission attached HEC force s like the remainder of the division is 0, result of the division on the receiving side, if the remainder does not become zero, and that some error occurs in Serue' da to decide.
  • the HEC is capable of detecting multiple bits of error or one-bit error correction in the cell header .
  • HEC is used only for error detection.
  • the CRC check at the receiving side as described above is also used to synchronize ATM cells. In other words, the received data sequence is shifted to perform a CRC check, and when a bit position determined to be error-free as a result of the CRC check is periodically found at ATM cell intervals, the position is determined by the ATM. Let it be a cell separator.
  • AAL ATM Adaptation Layer 5
  • the ATM Forum “Audiovisual Multimedia Services: Video on Demand Specification 1.0”.
  • the AAL is a layer that determines how the upper data sequence (here, TS) is allocated to the lower ATM cells.
  • Figure 4 shows the procedure for storing a TS bucket in an ATM cell on the transmitting side using this AAL5 method.
  • CPSC Constitutes one intermediate data unit called PDU (Common Part Convergence Sublayer-Protcol Data Unit).
  • the above CPS C—PDU is divided into 8 parts of 48 bytes, each of which is preceded by a 5-byte cell header, and the c-cell header that constitutes the transmission data consisting of 8 ATM cells is It contains information that distinguishes whether the ATM cell is the last ATM cell among the eight ATM cells that make up the CPSC-PDU.
  • This last ATM cell identification is called the ATM layer user-to-user indication.
  • the display is simply between users. The indication between users is 1 in the last ATM cell of the CP SC—PDU, and 0 in other ATM cells. Disclosure of the invention
  • an ATM receiving apparatus as shown in FIG. 5 is required. That is, the ATM receiving device to which eight ATM cells, which are received data, are input, the ATM-TS conversion unit 91 that extracts TS from the ATM cell, and decodes video and audio of a desired program using TS as input. And a TS decoding unit 92 for outputting.
  • FIG. 6 shows the configuration of the ATM-TS converter 91 shown in FIG.
  • the ATM-TS conversion section 91 first, cell synchronization is performed in the cell synchronization section 911, and a partition of the ATM cell is detected. After the detection of the ATM cell division, the ATM cell is input to the CP SC-PDU assembly unit 912 and the inter-user display inspection unit 914.
  • the inter-user display inspection unit 914 checks the inter-user display in the cell header and sends the result to the CPSC-PDU assembly unit 912. ⁇ ? 5 (: ??
  • the ATM cell corresponding to the information and the immediately preceding 7-cell total 8 Configure the CPSC-PDU in the cell.
  • the CRC check unit 915 performs a CRC check on the CPSC-PDU assembled by the CPSC-PDU assembly unit 912.
  • CP SC—A CRC check on the PDU is the same as the CRC check on the cell header described above? Divide the 384 bytes of 5 (: —? 01] as the dividend and the given generator polynomial as the divisor. As a result of this division, when the remainder is 0, it is determined that there is no error in the CP SC—PDU, If it is not 0, it is determined that there is an error in the CPSC-1 PDU.
  • the TS bucket filter unit 917 of the CPSC-PDU assembled by the CP SC-PDU assembling unit 912, eight bytes from the CP SC-PDU determined to be error-prone by the CRC checking unit 915.
  • the data of the TS bucket excluding the trailer is output as TS.
  • the CRC checker 9 The specified CP SC—PDU is discarded.
  • FIG. 7 shows a configuration example of the TS decoding section 92 shown in FIG.
  • the TS decoder 92 receives the TS extracted by the ATM-TS converter 91, separates the video and audio of the desired program from the TS by the TS separator 921, and sends them to the video decoder 922 and the audio decoder 923, respectively.
  • the video decoder 922 and the audio decoder 923 decode and output the encoded video and audio data, respectively.
  • the first problem is due to a misassembly of the CPS C-PDU.
  • AAL5 recognizes the final ATM cell that constitutes the CPSC-PDU by indicating between users in the cell header, while ATM cell synchronization is controlled based on the result of the CRC check as described above. You.
  • Once the ATM is synchronized it is generally not determined that the cell has been synchronized unless a cell with an erroneous cell header is repeated a predetermined number of times for synchronization protection. As a result, an ATM cell having an error in the cell header is also treated as a valid cell. However, the display between users in the erroneous cell header may be incorrect.
  • the data receiving device cannot correctly assemble one intermediate packet CP SC-PDU from the eight ATM cells that are the received data, and consequently is a transfer bucket.
  • the data in the TS bucket may be destroyed.
  • a basic object of the present invention is to provide a data receiving apparatus capable of reducing an error in assembling one intermediate data unit CPSC-PDU due to an error in a cell header of an ATM cell as received data. It is in.
  • the cause may be that there is an error in the CPSC-PDU or that the ATM cells constituting the CP SC-PDU are lost.
  • the cell loss means that a cell that should be received does not reach the receiving side.
  • the causes of cell loss include incorrect delivery destinations due to errors in cell headers of ATM cells, and buffer overflows due to congestion. An example of the buffer overflow due to this congestion is discarding information of low importance when the amount of transmission is large.
  • the two TS buckets originally included in the CPSC—PDU may depend on the location and number of lost cells.
  • the data of one T s packet may be correctly received.
  • a secondary object of the present invention is to provide a data receiving apparatus capable of extracting data of a TS bucket, which is a correct transfer bucket included in one intermediate data unit CPSC-PDU, and reducing the amount of data discard. Is to provide.
  • the data quality is degraded due to data discard, and the output image quality and sound quality are lost.
  • hierarchical coding such as MPEG 1 video and MPEG 2 video
  • the output quality is significantly reduced when high-order coded data is lost.
  • the time information serving as the time reference such as the decoding / output of the TS, is stored.
  • Another secondary object of the present invention is to provide a data receiving apparatus capable of minimizing deterioration of program data such as video and audio due to data discard as described above.
  • An ATM cell), and the cell header (301) of each of the plurality of cell data (30, ATM cells) has a corresponding cell data composed of the one intermediate data unit (CPCS-PDU).
  • Boundary cell identification information indicating whether the cell is a boundary cell of one of the first cell data and the last cell data of the plurality of cell data,
  • a data receiving device for receiving the transmitted plurality of cell data (30, ATM cells),
  • a data configuration unit that forms one intermediate data unit (CPC S-PDU) to which error detection code data (CRC) is added from the plurality of received cell data (30, ATM cells) (2)
  • a plurality of transfer buckets (TS, 20) including a bucket header (201) and coded data (203) are formed from the one intermediate data unit (CPC S-PDU) by the above-mentioned reception 'structure.
  • the subsequent reception cell data is A counting unit (3) for counting the number of cells of the received cell data until the next boundary cell identification information indicates that the cell is the boundary cell (see FIG. 1);
  • the one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is converted to the bucket by the bucket.
  • the transfer packets (TS, 20) are transferred to the configuration unit (70), and the transfer buckets (TS, 20) are formed (see steps 91, 92, and 93 in FIG. 9).
  • the data between one sub-block on the receiving side is set at an accurate cell number interval. Since the unit (CPCS-PDU) should be able to be configured, if no error is detected from the error check unit (5) for the error detection code data (CRC) added to this intermediate data unit (CPCS-PDU)
  • One intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and a plurality of transfer buckets (TS, 20) are configured.
  • the error detection unit (5) will make an error regarding the error detection code data (CRC) added to the intermediate data unit (CPC S-PDU) composed of the data configuration unit (2) on the receiving side.
  • CPC error detection code data
  • this intermediate data unit (CPCS-PDU) is considered to be accurate and true data. Therefore, also in this case, one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the packet configuration unit (70), and a plurality of transfer packets (TS, 20) are transmitted. , It is possible to achieve the above basic purpose.
  • one intermediate data unit is added from a plurality of transfer packets (TS, 20) including a bucket header (201) and encoded data (203).
  • CPC S-PDU and by dividing the one intermediate data unit (CPC S-P DU), a plurality of cell data (3 01) and a data string (3 02) including a cell header (301) are divided. 30 and an ATM cell), and the cell header (30 1) of each of the plurality of cell data (30, ATM cells) has the corresponding cell data in the one intermediate data unit (CPC S— PDU) including boundary cell identification information indicating whether the cell is one of the first cell data in the evening and the last cell data.
  • a data receiving apparatus for receiving the plurality of cell data (30, ATM cells) transmitted above,
  • a data configuration unit (2) that forms one intermediate data unit (CPC S-PDU) in which error detection code data (CRC) is added from the plurality of cell data (30, ATM cells);
  • the subsequent reception cell data is A counting unit (3) for counting the number of cells of the received cell data until the next boundary cell identification information indicates that the cell is the boundary cell (see FIG. 1);
  • the number of count cells in the counting section (3) is the one intermediate data of the transmitting side.
  • a response is made that no error is detected by the error checking unit (5).
  • the one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and the plurality of transfer buckets (TS, 20) are transferred to the bucket configuration unit (70). ) (See steps 91, 92, and 93 in Figure 9),
  • the one intermediate data unit (CPC S-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and Specially, it consists of multiple transfer buckets (TS, 20). To (see steps 1 32, 1 33, 1 34, 1 3 5 in Figure 1 0).
  • one intermediate data unit on the receiving side is set at an accurate interval of the number of cells. If the error check unit (5) does not detect the error detection code data (CRC) added to this intermediate data unit (CP CS-PDU) Then, one intermediate data unit (CPC S-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and a plurality of transfer buckets (TS, 20) are configured.
  • CPC error detection code data
  • the number of count cells in the count unit (3) must be larger than the number of cells of a plurality of cell data constituting one intermediate data unit on the transmission side; Similarly, if the cell header of the received cell data whose cell count matches the number of cells of a plurality of cell data that constitute one intermediate data unit on the transmitting side contains an error, the same applies. It can be considered that the reliability of both the boundary cell detection and the error detection of the cell header of the detected boundary cell is not sufficiently guaranteed. Even in such a case, the error check unit (5) issues an error regarding the error detection code data (CRC) added to the intermediate data unit (CPCS-PDU) composed of the data configuration unit (2) on the receiving side.
  • CRC error detection code data
  • this intermediate data unit (CPCS-1 PDU) is considered to be accurate and true data. Therefore, also in this case, the data structure One intermediate data unit (CPC S-PDU) composed of the part (2) is transferred to the bucket constituent part (70) to form a plurality of transfer buckets (TS, 20). Objective can be achieved.
  • a data receiving device according to a more preferred embodiment of the present invention
  • the packet header (201) of the transfer bucket (TS, 20) composed of the one intermediate data unit (CPCS-PDU) according to the reception / configuration in the bucket configuration unit (70). ) Is further provided with a transfer packet synchronization pattern checker (6) (see FIG. 1) for checking whether or not the pattern matches a predetermined pattern (see FIG. 1).
  • a transfer packet synchronization pattern checker (6) see FIG. 1 for checking whether or not the pattern matches a predetermined pattern (see FIG. 1).
  • the number of cells is smaller than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side (see n ⁇ 8 in step 81 of FIG. 8), the number of count cells
  • the error detection code data of the cell header of the small received cell data indicates that there is no error in the cell header of the received cell data (see N0 in step 101 of FIG. 10).
  • the predetermined number of the plurality of transfer buckets (TS, 20) composed of the one intermediate data unit (CPCS-PDU) are used.
  • the partial data of the one intermediate data unit (CPCS-PDU) corresponding to the transfer bucket (TS, 20) including the synchronization pattern that matches the pattern of (1) is transferred to the bucket configuration unit (70). Characterized in that the transfer bucket (TS, 20) including the synchronization pattern that matches the predetermined pattern is configured (steps 112, 113, 114, 1 in FIG. 11). 15 and 1 16).
  • the data of the TS packet which is the correct transfer packet included in one intermediate data unit CP SC-PDU is taken out for the following reason, and the amount of data discard is determined. It is possible to achieve the secondary object of the present invention, that is, to reduce the amount of light.
  • the number of counted cells in the counting section (3) is smaller than the number of cells in a plurality of cells constituting one intermediate data unit on the transmitting side (n ⁇ 8), and the number of counted cells is small. There is no error in the cell header of the received cell data due to the error detection code data of the cell header of the cell data, and the number of count cells in the count section (3) constitutes one intermediate data unit on the transmission side. If more than half the number of cells of the cell data of the transmitter (see n> 3), some of the cell data that constitutes one intermediate data unit on the transmitting side will be lost during transmission and reception. Very likely.
  • a data receiving device includes:
  • a data decoding unit (92, see FIG. 5) for decoding the plurality of transfer buckets (TS, 20) configured by the bucket configuration unit (70) into desired program data;
  • the packet header (201) of the transfer bucket (TS, 20) composed of the one intermediate data unit (CPCS-PDU) according to the reception configuration in the bucket configuration unit (70)
  • the packet of the packet header (201) of the transfer packet (TS, 20) is checked.
  • a plurality of transfer buckets (TSs) composed of the one intermediate data unit (CPCS-PDU).
  • the partial data of the one intermediate data unit (CPCS-PDU) corresponding to the transfer packet (TS, 20) including the synchronization pattern to be transferred is transferred to the bucket forming unit (70), and the predetermined pattern is transmitted.
  • the above-mentioned transfer packet (TS, 20) including the above-mentioned synchronization pattern is constructed (see steps 112, 113, 114, 115, 116 of FIG. 11), Of the intermediate data unit (CPCS-PDU) other than the above-mentioned partial data is not effectively used and discarded due to the configuration of the transfer bucket (TS, 20) Things,
  • FIG. 1 is a diagram showing a data receiving apparatus according to a first embodiment of the present invention.
  • FIG. 2 is a diagram showing a TS bucket.
  • FIG. 3 is a diagram showing an ATM cell.
  • Fig. 4 is a diagram showing the relationship between the TS bucket and ATM cells.
  • FIG. 5 is a diagram showing a data receiving apparatus studied before the filing.
  • FIG. 6 is a diagram showing an ATM-TS converter of the data receiving device of FIG.
  • FIG. 7 is a diagram showing a TS decoding unit of the data receiving device of FIG.
  • FIG. 8 is a flowchart showing the processing contents of the data receiving device of FIG.
  • FIG. 9 is a flowchart showing the processing contents of the processing A in FIG.
  • FIG. 10 is a flowchart showing the processing contents of the processing B in FIG.
  • FIG. 11 is a flowchart showing the processing contents of the processing D in FIG.
  • FIG. 12 is a flowchart showing the processing contents of the processing E in FIG.
  • FIG. 13 is a flowchart showing the processing contents of the processing C in FIG.
  • FIG. 14 is a diagram showing a data receiving device according to the second embodiment of the present invention.
  • FIG. 15 is a diagram showing a data receiving device according to the third embodiment of the present invention.
  • FIG. 1 shows a configuration of an ATM-TS conversion section of a data receiving apparatus according to a first embodiment of the present invention.
  • a function to detect ATM cell headers to detect cell synchronization and to detect ATM cell delimiters is provided instead of the cell synchronization unit 911 of the ATM-TS conversion unit in Fig. 6, a function to detect ATM cell headers to detect cell synchronization and to detect ATM cell delimiters is provided.
  • a cell synchronization unit 1 is provided which has a function of outputting error information indicating the presence or absence of an error in a cell header.
  • a cell number counting unit 3 a TS packet synchronization byte inspection unit 6, and a TS packet filter control unit 80 are newly provided.
  • these are a cell synchronization unit 1, a CPSC-PDU assembly unit 2, a cell number counting unit 3, an inter-user display inspection unit 4, a CRC inspection unit 5, a TS packet synchronization byte inspection unit 6, and a TS bucket filter unit.
  • 70 the function of the ATM-TS converter comprising the TS bucket filter controller 80 will be described.
  • Cell synchronizer 1 receiving ATM cells as received data Information and the cell header error presence / absence information are supplied to the cell number counting section 3, while the boundary of eight ATM cells constituting one intermediate data unit, CP SC—PDU, is the ATM cell identification information (for example, the last ATM cell).
  • the identification information and the display between the ATM layer and the user are supplied to the inter-user display inspection unit 4.
  • the synchronization pattern (specific pattern) of the packet header of the TS packet is supplied from the cell synchronization unit 1 to the TS bucket synchronization byte inspection unit 6.
  • the CRC checker 5 performs a CRC check on the CP SC-PDU, which is one intermediate data unit assembled by the CP SC-PDU assembler 2. Similar to the above, the CRC check for the CPSC-PDU is performed using the 384 bytes of the CPSC-PDU as the dividend and a certain generator polynomial as the divisor. As a result of this division, when the remainder is 0, it is determined that there is no error in CPSC-PDU, and when it is not 0, it is determined that there is an error in CPSC-PDU.
  • the cell count unit 3 receives the ATM cell delimitation detection information and cell header error presence / absence information from the cell synchronization unit 1, the boundary ATM cell identification information from the inter-user display inspection unit 4, and the Intermediate data unit CP SC—Based on the CRC check result of the PDU, the first ATM cell of the intermediate data unit CP SC—PDU is set to 1 and then to the ATM cell whose border ATM cell identification information (display between users) becomes 1. While counting the number of ATM cells, the CPSC—PDU delimiter is notified to the CPSC—PDU assembly unit 2, CRC check unit 5, and TS bucket synchronization byte check unit 6. The details of the procedure for obtaining the CP SC-PDU delimiter will be described later.
  • the TS packet synchronization byte inspection unit 6 determines that the synchronization byte of the TS bucket composed of the intermediate data unit CPSC-PDU is stored in the ATM cell, and the value of the synchronization byte is the byte. Checks whether it matches 0 X 47 (specific pattern, synchronization pattern). Further, the TS packet filter control unit 80 refers to the inspection result of the CRC inspection unit 5 and the inspection result of the TS bucket synchronization byte inspection unit 6 and extracts the TS bucket from the CPSC-PDU.
  • the CPSC—PDU assembly unit 2 removes the header from the ATM cell, assembles a CPSC-PDU, and sends it to the Ts packet filter unit 70.
  • the CRC check unit 5 performs a CRC check on the assembled CP SC-PDU to detect the presence or absence of an error in the CP SC-PDU.
  • the cell synchronization unit 1 detects a break of the received ATM cell.
  • the inter-user display inspection unit 4 checks the inter-user display in the cell header. Since the CP SC—PDU consists of eight ATM cells, ATM cells with a user-to-user indication of one usually appear at intervals of eight cells.
  • the ATM cell next to the ATM cell for which the user inquiry indication was 1 last time is called a reference cell.
  • FIG. 8 shows the top-level flowchart of the processing of the CPSC-PDU assembling unit 2 of the ATM-TS conversion unit after cell synchronization.
  • Fig. 9 shows the flowchart of process A.
  • Process A is a process when the display interval between users is correct.
  • the CPSC-PDU assembling unit 2 assembles the CPSC-PDU from eight cells from the reference cell to the ATM cell where the user-to-user indication is 1, and performs a CRC check on the CPSC-PDU in steps 91 and 92. This is performed by the CRC checker 5.
  • the result of this CRC check if undetected error power, data force of TS bucket bets CPSC- PDU by TS bucket preparative filter unit 70 in step 93? Is Ri issued preparative is output as TS. Conversely, if an error is detected, step 94 discards the CP SC-PDU data.
  • FIG. 10 shows a flowchart of the process B.
  • Process B is a process in the case where a cell whose display between users is 1 appears at the nth cell (where n ⁇ 8) from the reference cell.
  • the CP SC—PDU assembling unit 2 first checks in step 101 whether there is a cell header error in the n-th cell where the indication between users is 1 by referring to the error information of the cell synchronizing unit 1. . If there is no error, there is a possibility that an ATM cell has been lost, so the processing D described later is performed in step 102. On the other hand, if there is an error in the cell header, in step 103, reference is made to the display between users in the 8-cell S from the reference cell. If the display between reference users in step 103 is 1, or even if the display between reference users in step 103 is 0, the cell header in the eighth cell is incorrect and the display between reference users may be incorrect.
  • step 104 If it is confirmed in step 104 that there is a possibility, the CRC checker 5 makes 8 cells from the reference cell as a temporary CPSC-PDU in step 105, and Perform C RC inspection. Step: If no error is detected as a result of the CRC check in step 07, it is determined that the tentative CPSC-PDU is a true CPSC-PDU, and in step 108, a TS bucket filter unit is generated from this CPSC-PDU. Extract TS packets through 70. On the other hand, force Step 1 03 displayed for 8 cells th reference user from the reference cell is 0?
  • step 109 If the error power s is detected as a result of the CRC check for the temporary CPSC PDU in 106 and 107, the process E described later is performed in step 109.
  • FIG. 11 shows a flowchart of the processing D.
  • processing D is the process when the display between users is 1 in the nth cell (n x 8) from the reference cell, and there is no cell header error in the nth cell. In this case, it is possible that (8-n) of the eight ATM cells that make up the CP SC-PDU of one intermediate data unit have lost power.
  • the TS bucket synchronization byte determines whether the value of the synchronization byte of the TS bucket composed of the intermediate data unit CP SC—PDU matches 0x47 (specific pattern, synchronization pattern).
  • Inspection unit 6 Determines which of the two TS buckets caused the cell loss by examining, and extracts the TS bucket in the CPCS that has been correctly received.
  • step 1 1 1 it is checked whether or not the number n of cells from the reference cell to the cell whose display between users is 1 is greater than 3.
  • n cells from the reference cell to the cell having a user-to-user indication of 1 are assumed to be temporary CPSC-PDUs.
  • the data amount of the temporary CPSC—PDU is 144 bytes 1 cell 48 bytes X 3 cells) or less, and the packet length of the TS packet is less than 188 bytes.
  • the data of the temporary CPSC-PDU is discarded.
  • Step 1 1 1 If it is confirmed in Step 1 1 1 1 that the number of cells of the temporary CPSC—PDU is greater than 3, the TS packet synchronization byte checker 6 proceeds to Step 1 12 with the temporary CPSC—PDU in the temporary PDU. Examine the synchronization byte in the TS bucket.
  • the long-term byte of the TS bucket is the first byte of the TS bucket and is 0x47. Since two TS buckets are continuous in a normal CPS C—PDU, the first byte of the CPS C—PDU and the 189th byte counted from the first are the TS synchronization bytes.
  • step 115 if the last 196 bytes of the temporary CP SC—PDU are TS synchronization bytes, it is determined that the second TS bucket of the CP SC—PDU is included. Then, in step 1 16, the second TS packet is extracted. In this way, in process D, when it is determined that the TS packet is included in the temporary CPSC-PDU, the TS packet is extracted and the other data in the temporary CPSC-PDU is extracted. Discard.
  • Fig. 12 shows the flowchart of process E.
  • process E next, the cell in which the display between users is 1 is waited in step 122, and the cell in which the display between users is 1 and the immediately preceding cell in step 122 are totaled 8 cells in total.
  • CP As SC—PDU, the CRC is checked in step 123. As a result of the CRC inspection, if it is determined in step 124 that there is no error, the temporary CPSC-PDU is determined to be a true CPSC-PDU, and in step 125, a TS bucket is extracted.
  • Process C is a process when the number of cells from the reference cell to the next cell where the display between users becomes 1 exceeds eight.
  • FIG. 13 shows a flowchart of the process C.
  • process C first, if it is confirmed in step 13 1 that there is an error in the cell header of cell 8 H from the reference cell and there is a possibility that the display between the reference users is wrong, From Steps 8 and 9 as the temporary CP SC-P DU, in steps 133 and 134, the CRC inspection unit 5 performs a CRC inspection on the temporary CP SC-P DU. If there is no error as a result of the CRC check in step 134, the tentative CPSC-PDU is regarded as a true CPSC-PDU. To extract two TS buckets. The process is performed again with the next cell of the taken out CP SC-PDU as the reference cell (see FIG. 8).
  • the ATM-TS converter of the data receiving apparatus of the present embodiment shown in FIG. 1 performs the above-described processing in accordance with the number of cells from the reference cell to the cell where the next display between users becomes one.
  • A, Process B and Process C are performed, and when the process for the CPSC-PDU is completed, the same process is repeated with the cell immediately after the completed CPSC-P DU as the next reference cell ( (See Figure 8).
  • the intermediate data unit CPSC-PDU can be correctly assembled even when the display between users is incorrect due to an error in the cell header. Also, when cells constituting the CPSC-PDU are missing, the data of the TS bucket to be discarded can be minimized.
  • one intermediate data unit CPSC—PDU is divided into eight ATM cells, and the boundary ATM cell identification information between ATM layers is displayed by the last ATM cell among the eight ATM cells. What was the last ATM cell identification information that distinguished whether or not it is ? Conversely, whether it was the first ATM cell among the eight ATM cells The head ATM cell identification information to be distinguished may be used.
  • the cell synchronization unit 1 may receive the ATM cell as the received data and supply this head ATM cell identification information to the inter-user display inspection unit 4. Not to mention that.
  • a process for improving the reliability of the TS bucket extracted from the temporary CPSC-PDU may be added. For example, it is conceivable to extract TS packets only if there are no cell header errors for all eight ATM cells that make up the temporary CPSC-PDU. This ensures that the possibility of bit errors in the CPSC-PDU is low, and improves the reliability of the extracted TS bucket.
  • the cell header of the cell with the user indication of 1 and the 7 cells immediately before it are treated as the temporary CPSC-PDU, even if the indication between the users is 0, there is an error in the cell header of that cell. If this is confirmed in another step between step 121 and step 122, the cell and the seven cells immediately before it are used as a temporary C PSC-PDU, and the CRC An inspection may be performed. This makes it possible to correctly assemble the CPSC-PDU even if the display between users is incorrect.
  • FIG. 14 shows the ATM-TS converter of the data receiving device of the present embodiment.
  • a TS bucket PID acquisition unit 11 and a PID comparison unit 12 are added to the ATM-TS conversion unit of FIG. 1, and the data discard information is transmitted to the TS bucket filter control unit 80 of FIG.
  • This is configured by using a TS bucket filter control unit 81 to which a function of outputting a is added.
  • the TS bucket PID acquisition unit 11, the PID comparison unit 12, and the TS bucket filter control unit 81 will be described.
  • the TS bucket PID acquisition unit 11 Get the PID (bucket identification field data) in the TS bucket header.
  • the PID comparison unit 12 the PID acquired by the TS packet PID acquisition unit 11 and the PID of the TS bucket storing the video data of the program selected by the data receiving device at that time (hereinafter referred to as video PID) ) As well as the PID of the TS bucket in which audio data is stored (hereinafter referred to as audio PID).
  • video PID the PID acquired by the TS bucket PID acquisition unit 11
  • audio PID the PID comparison unit 12 outputs the video data discard information and the audio data discard information, respectively. I do.
  • the video data discard information and the audio data discard information are respectively supplied to the video decoder 922 and the audio decoder 923 of the TS decoder 92. (See Figure 7).
  • the video PID and the audio PID are provided from the TS decoding unit 92 (see FIGS. 5 and 7), similarly to the program time information PCR_PID described later.
  • the TS packet filter control unit 81 transmits the presence / absence of data discarding to the subsequent TS decoding unit 92 (see FIGS. 5 and 7) as data discarding information.
  • the TS decoding section 92 receives the data discard information and performs a data discard handling process in response to the data discard information.
  • the TS decoding unit 92 (see FIGS. 5 and 7) at the subsequent stage can be notified in advance that the time axis of the TS will be discontinuous due to data discarding. It is possible to minimize the adverse effect on video and audio decoding due to discontinuity. Also, by transmitting video data discard information and audio data discard information to the video decoder and audio decoder, respectively, it is possible to take countermeasures against data discard in advance, and to minimize the impact of data discard. It becomes possible. As a result, it is possible to reduce the adverse effect on the TS caused by the loss or error of the ATM cell.
  • the force s shown when the PID to be compared with the PID of the TS packet to be discarded is a video PID and an audio PID, and the PID to be compared is limited to these two. It is not something to be done. For example, if one program of TS consists of video, audio, and other elements, it is possible that the PID of the TS bucket in which that element is stored can also be compared. Needless to say.
  • FIG. 15 shows the ATM-TS conversion unit of the data receiving device of the present embodiment.
  • a dummy packet indicating the discontinuity of the time axis of the TS is inserted into the TS instead of the data discard information by adding the dummy-bucket generation unit 10 to the ATM-TS conversion unit of FIG. is there.
  • the PID of the TS packet storing the currently selected program time information PCR is stored.
  • PCR-PID program Clock Reference
  • this dummy bucket is no.
  • the discontinuity of the adaptation-field W is one indicator (Koren fec table /: 1.
  • the PCR-PID is TS This is provided from the decoding unit 92 (see FIGS.
  • the TS bucket filter unit 71 In the TS bucket filter unit 71, the TS bucket extracted from the CPSC-PDU and the dummy bucket generated by the dummy bucket generation unit 10 The switching timing is controlled by the TS bucket filter control unit 81.
  • the information indicating the discontinuity of the time axis is embedded in the TS using the dummy bucket, thereby transmitting the data discard to the TS decoding unit without changing the processing of the Ts decoding unit. It becomes possible.
  • the components constituting the ATM-TS converter described in detail for the various embodiments of the present invention do not necessarily need to be dedicated hardware.
  • the functions of each component are realized by software such as a subroutine program of an application program stored in the memory. Is also possible.
  • the embodiment of the present invention it is possible to configure a correct CPSC-PDU even when the display between users is incorrect. Also, by examining the synchronization byte of the TS bucket in the CP SC-PDU, it becomes possible to extract the TS packet from the CP SC-PDU with cell loss. Therefore, the amount of data discard can be minimized.
  • the quality of video and audio output in TS can be improved.
  • the present invention can be used for a data receiving device of a data transmitting / receiving system that transmits / receives a stream obtained by multiplexing data such as video and audio in the ATM cell system.
  • a data receiving device that receives video and audio data multiplexed by TS (Transport Stream) defined by the MPEG2 (Moving Picture Experts Group 2) system standard, and then divides the data into ATM cells and receives the transmitted data Applicable to

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The assembling error of an intermediate data unit CPSC-PDU caused by the error of a cell header of an ATM cell which is received data is reduced. A data receiver comprises a data constituting section (2) which composes an intermediate data unit CPSC-PDU of received ATM cells, an error inspecting section (5) for error detecting code data CRC of the unit CPSC-PDU, a packet composing section (70) which composes a plurality of transfer packets TS and (20) of the units CPSC-PDU, and a count section which counts the received ATM cells until a received ATM cell becomes a boundary cell next. When the counted number of received ATM cells is smaller than the number of transmitted cells, and when an error of a cell header is detected, the unit CPSC-PDU composed by the data constituting section (2) is transferred to the packet composing section (70) and the sections (70) compose a plurality of transferring packets TS and (20).

Description

明 細 書 データ受信装置 技術分野  Description Data receiving device Technical field
本発明はビデオ、 オーディォ等のデータを多重化したスト リ一ムを A T M (Asynchronous Transfer Mode:非同期転送モード)セル方式で送受信するデータ送受 信システムのデータ受信装置に関するものであり、特に M P E G 2 (Moving Picture Experts Group 2 )システム規格で定められる T S (Transport Stream)にて、 ビデオ、 オーディオデータを多重化した後、 A T Mセルに分割して送信されたデータを受 信するデータ受信装置に関する。 背景技術  The present invention relates to a data receiving apparatus of a data transmitting / receiving system for transmitting / receiving a stream in which data such as video and audio are multiplexed in an ATM (Asynchronous Transfer Mode) cell system, and particularly to an MPEG-2 ( Moving Picture Experts Group 2) It relates to a data receiving device that receives video and audio data multiplexed by TS (Transport Stream) specified by the system standard, and then divides the data into ATM cells and receives the data. Background art
現在までに、 ディジタル C A T V (Cable Television)や V O D (Video On Demand)等、 ディジタルビデオデータ、 ディジタルオーディォデータ等を通信回線上で送受信 する用途が增加しつつある。  To date, applications for transmitting and receiving digital video data, digital audio data, and the like over a communication line, such as digital CATV (Cable Television) and VOD (Video On Demand), have been increasing.
このような fll途においては、 送信時にビデオやオーディォのデータをそれぞれ バケツ トと呼ばれる単位に格納してそれら複数のバケツ トを多重化した多重化ス トリームを形成し、 さらにそれを通信回線上の伝送に適した伝送方式で伝送する。 多重化ストリームとしては M P E G 2システム規格で定められた T S力 伝送 方式としては A T Mが、 それぞれ有力である。 以下、 T Sと A T Mのそれぞれに ついて、 簡 に^明する。  In such a case, during transmission, video and audio data are stored in units called buckets, respectively, and a plurality of buckets are multiplexed to form a multiplexed stream. Transmission is performed using a transmission method suitable for transmission. ATM is the most promising TS transmission system defined by the MPEG2 system standard for multiplexed streams. Hereinafter, each of T S and A T M will be briefly described.
まず転送バケ トである T Sについて説明する。 T Sは 1 8 8バイ ト固定長の トランスポー トパケッ ト(以下 T Sパケッ ト)が多重化されたストリームである。 T Sには、 のブログラムのビデオ、 オーディオデータを T Sパケッ トの形で 多重化することが" ί能である。 なお、 ここでいうプログラムとはテレビ放送で言 うチャネルに に するものである。  First, TS, which is a transfer bucket, will be described. TS is a stream in which 188-byte fixed-length transport packets (TS packets) are multiplexed. The TS is capable of multiplexing the video and audio data of the program in the form of a TS packet. The program here refers to the channel used in TV broadcasting. .
図 2に すよ に^ T Sバケツ ト 2 0の先頭には 4バイ トの T Sバケツ トへッ ダ 2 0 1力 け れ、 T Sバケツ トヘッダ 2 0 1の後には adaptation— field (ァダブ シヨンフィールド>と ll'i'ばれるフィ一ル ド 2 0 2 とペイ口一 ド 2 0 3 と呼ばれる データ格納部がある(, adapは tion— field 2 0 2内には discontinuity—indicatorと呼ばれ る T Sの時問軸の不迚続を示す情報等が格納されている。 ペイロード 2 0 3には ビデオ、 オーディォの符号化データが格納される。  As shown in Fig. 2, a 4-byte TS bucket header 201 is added to the beginning of the TS bucket 20 and an adaptation—field is added after the TS bucket header 201. There is a data storage section called ll'i 'and a field 202 and a pay field 203 (the adap contains a TS called discontinuity-indicator in the action-field 202). Information indicating the inconsistency of the time axis is stored, etc. The payload 203 stores encoded data of video and audio.
T Sバケツ トヘッダ 2 0 1の先頭 1バイ ト目には T Sパケッ トの同期をとるた めの同期パターンと呼ばれる特定パターン 2 0 1 1 ( 1 6進数で 0 X 4 7。ただし 「0 x」 は 1 6進表示を意味する)がある。 T Sバケツ トへッダ内にはまた、 P I Dと呼ばれる 1 3ビッ トのパケッ ト識別用フィールド 2 0 1 2が含まれる。 T S 内のある特定のプログラムを復 する場合には、 まず P I Dによりそのプログラ ムのビデオ、 オーディオデータが格納された T Sバケツ トを TSから抜き出す。 次に T Sパケッ ト内ペイロードからビデオ、 オーディオデータを抜き出し、 ビデ ォデコーダ、 オーディオデコーダでそれぞれ復号を行う。 In the first byte of the TS bucket header 201, a specific pattern called a synchronization pattern for synchronizing the TS packet 201 (a hexadecimal number 0x47, where 0x is 1 means hexadecimal notation). The TS bucket header also contains PI Includes a 13-bit packet identification field 201, called D. When restoring a specific program in the TS, the TS bucket that stores the video and audio data of the program is extracted from the TS using the PID. Next, video and audio data are extracted from the payload in the TS packet, and decoded by the video decoder and audio decoder, respectively.
次に ATM方式の送受信データについて説明する。 ATMは、 ATMセルと呼 ばれる 53バイ 卜のセル単位でデータの送受信を行う方式である。 図 3に示すよ うに、 ATMでは送信データを 4 8バイ トのデータ列 302に分割し、 それぞれ 5バイ トのヘッダ 3 0 1(以下、 セルヘッダ)を先頭に付けて、 合計 53バイ トの ATMセル 30を構成する。  Next, transmission / reception data of the ATM system will be described. ATM is a method of transmitting and receiving data in units of 53 bytes called ATM cells. As shown in Fig. 3, the ATM divides the transmission data into 48-byte data strings 302, each of which is preceded by a 5-byte header 301 (hereinafter referred to as a cell header), for a total of 53 bytes of ATM. Construct cell 30.
信側では、 受信される複数の ATMセルからセルヘッダを取り除き、 元のデ 一タ列を復元する。 セルヘッダ 30 1の 5バイ ト目 30 1 5はそれより前の 4バ ィ トに衬する C R C (Cyclic Redundancy Check:巡回冗長チヱック)であり H E C (Header Error Control:ヘッダ 'エラー ·制御)と呼ばれる。 受信側では H E Cによ りセルヘッダの誤りの有無を判定できる。 より具体的には、 受信したセルヘッダ の 5バイ トのデータ列を被除数、 H EC生成時に用いた生成多項式を除数とする 多項式の割算を行う。 送信時にはこの割算の剰余が 0となるような H E C力 s付け られるため、 受信側で割算を行った結果、 剰余が 0にならない場合は、 セルへッ ダに何らかの誤りが生じたものと判断する。 なお、 実際には HE Cはセルヘッダ 内の複数ビッ トの誤り検出かまたは 1ビットの誤り訂正が可能である力 ?、 以下の 説明では簡単のため H E Cを誤り検出にのみ用いるとする。 上述のような受信側 での CRC検査は ATMセルの同期をとるのにも使用される。 すなわち、 受信し たデータ列をずらしては CRC検査を行い、 CRC検査の結果、 誤りがないと判 定されるビッ ト位置が ATMセルの間隔で周期的に見つけられた時に、 その位置 が ATMセルの区切りであるとする。 On the receiving side, the cell header is removed from the received ATM cells and the original data string is restored. The fifth byte 30 15 of the cell header 301 is a CRC (Cyclic Redundancy Check) corresponding to the preceding four bytes, and is called HEC (Header Error Control). The receiving side can determine whether there is an error in the cell header by using HEC. More specifically, polynomial division is performed by using the 5-byte data string of the received cell header as the dividend and the generator polynomial used in generating the HEC as the divisor. Since the time of transmission attached HEC force s like the remainder of the division is 0, result of the division on the receiving side, if the remainder does not become zero, and that some error occurs in Serue' da to decide. Note that, in practice, the HEC is capable of detecting multiple bits of error or one-bit error correction in the cell header . In the following description, for simplicity, HEC is used only for error detection. The CRC check at the receiving side as described above is also used to synchronize ATM cells. In other words, the received data sequence is shifted to perform a CRC check, and when a bit position determined to be error-free as a result of the CRC check is periodically found at ATM cell intervals, the position is determined by the ATM. Let it be a cell separator.
前述の TSを ATMにより送信する場合には、 AAL(ATM Adaptation Layer) 5 と呼ばれる方式を用いることが考えられている(The ATM Forum: 「Audiovisual Multimedia Services: Video on Demand Specification 1.0」 参,照)。 で、 AALとは、 上位のデータ列(ここでは TS)を下位の ATMセルへどのように割り付けるかを 定めるレイヤである。  When transmitting the above-mentioned TS by ATM, it is considered that a method called AAL (ATM Adaptation Layer) 5 is used (see The ATM Forum: “Audiovisual Multimedia Services: Video on Demand Specification 1.0”). . The AAL is a layer that determines how the upper data sequence (here, TS) is allocated to the lower ATM cells.
図 4に T Sバケツ トを、 送信側でこの AAL 5方式を用いて ATMセルに格納 する手順を示す。 まず、 二つの転送バケツ トとしての二つの TSバケツ トをひと まとめにして (集中して)、 その後ろに 8バイ トのトレイラを付けて 384バイ ト (= 1 8 8バイ ト X 2 + 8バイ ト)の C P S C— P D U (Common Part Convergence Sublayer-Protcol Data Unit)と呼ばれるひとつの中間データュニッ トを構成する。 C P S C— PDUのトレイラ内には、 C P SC— PDU内の TSバケツ トデータの バイ ト長(188バイ ト X 2 = 376バイ ト)の情報や、 C P SC— PDU内の誤 りを検査するための誤り検出符号データとしての 4バイ トの CRCデータが含ま れている。 Figure 4 shows the procedure for storing a TS bucket in an ATM cell on the transmitting side using this AAL5 method. First, two TS buckets as two transfer buckets are grouped (concentrated), followed by an 8-byte trailer and 384 bytes (= 1 8 8 bytes X 2 + 8) Byte) CPSC—Constitutes one intermediate data unit called PDU (Common Part Convergence Sublayer-Protcol Data Unit). The CPSC—PDU trailer contains the TS bucket data in the CPSC—PDU. It contains information on the byte length (188 bytes X 2 = 376 bytes) and 4-byte CRC data as error detection code data for checking errors in the CP SC-PDU.
次に、 上記 CPS C— PDUを 48バイ トずつ 8分割し、 それぞれの先頭に 5 バイ トのセルヘッダを付けて、 8個の ATMセルからなる送信データを構成する c セルへッダにはその ATMセルが C P S C— P DUを構成する 8個の ATMセル のうち最終の A T Mセルか否かを区別する情報が含まれている。 この最終 ATM セル識別情報は、 ATMレイヤユーザ間表示と呼ばれる。 なお、 以下の説明では、 単にユーザ間表示とする。 ユーザ間表示は CP SC— PDUの最終の ATMセル で 1、 それ以外の ATMセルで 0となる。 発明の開示  Next, the above CPS C—PDU is divided into 8 parts of 48 bytes, each of which is preceded by a 5-byte cell header, and the c-cell header that constitutes the transmission data consisting of 8 ATM cells is It contains information that distinguishes whether the ATM cell is the last ATM cell among the eight ATM cells that make up the CPSC-PDU. This last ATM cell identification is called the ATM layer user-to-user indication. In the following description, the display is simply between users. The indication between users is 1 in the last ATM cell of the CP SC—PDU, and 0 in other ATM cells. Disclosure of the invention
上述のように A A L 5で ATMセルに格納された TSを復号する場合には、 図 5に示すような A T M受信装置が必要となることが、 本願発明者等の検討により 明かとされた。 すなわち、 受信データである 8個の ATMセルが入力される AT M受信装置は、 ATMセルから TSを抽出する ATM-TS変換部 91と、 TSを 入力として所望のプログラムのビデオ、 オーディォを復号し出力する T S復号部 92とからなる。  As described above, it has been clarified by the study of the present inventors that when the TS stored in the ATM cell is decoded by the AAL5, an ATM receiving apparatus as shown in FIG. 5 is required. That is, the ATM receiving device to which eight ATM cells, which are received data, are input, the ATM-TS conversion unit 91 that extracts TS from the ATM cell, and decodes video and audio of a desired program using TS as input. And a TS decoding unit 92 for outputting.
図 6に、 図 5に示した ATM-T S変換部 91の構成を示す。 ATM-TS変換 部 91では、 まずセル同期部 91 1においてセル同期をとり、 ATMセルの区切 りを検出する。 この ATMセル区切検出の後、 ATMセルは、 CP SC— PDU 組立部 912とユーザ間表示検査部 914とに入力される。 ユーザ間表示検査部 914ではセルヘッダ内ユーザ間表示を調べ、 この結果を C P S C— P DU組立 部 9 12に送る。 〇?5(:—?011組立部912ではユーザ間表示検査部 914 からュ一ザ間表示が 1であるという情報が送られると、 その情報に対応する A T Mセルと、 その直前の 7セルの合計 8セルで C P S C— P DUを構成する。  FIG. 6 shows the configuration of the ATM-TS converter 91 shown in FIG. In the ATM-TS conversion section 91, first, cell synchronization is performed in the cell synchronization section 911, and a partition of the ATM cell is detected. After the detection of the ATM cell division, the ATM cell is input to the CP SC-PDU assembly unit 912 and the inter-user display inspection unit 914. The inter-user display inspection unit 914 checks the inter-user display in the cell header and sends the result to the CPSC-PDU assembly unit 912. 〇? 5 (: ?? 011 In the assembling section 912, when the information indicating that the display between users is 1 is sent from the inter-user display inspection section 914, the ATM cell corresponding to the information and the immediately preceding 7-cell total 8 Configure the CPSC-PDU in the cell.
—方、 CRC検査部 91 5では CP SC— PDU組立部 9 12で組み立てられ た CPSC— PDUに対し CRC検査を行う。 CP SC— PDUに対する CRC 検査は前述のセルヘッダに対する CRC検査と同様、 じ?5(:—?01]の384 バイ トを被除数、 ある生成多項式を除数として割算を行う。 この割算の結果、 剰 余が 0の時 CP SC— PDU内に誤りがないと判定し、 0でない場合には CP S C一 PDU内に誤りがあると判定する。  On the other hand, the CRC check unit 915 performs a CRC check on the CPSC-PDU assembled by the CPSC-PDU assembly unit 912. CP SC—A CRC check on the PDU is the same as the CRC check on the cell header described above? Divide the 384 bytes of 5 (: —? 01] as the dividend and the given generator polynomial as the divisor. As a result of this division, when the remainder is 0, it is determined that there is no error in the CP SC—PDU, If it is not 0, it is determined that there is an error in the CPSC-1 PDU.
従って、 TSバケツ トフィルタ部 917では CP SC— PDU組立部 9 12で 組み立てられた C P S C— PDUのうち、 CRC検査部 9 1 5により誤り力なレ、 と判定された CP S C— PDUから 8バイ トのトレイラを除いた TSバケツ トの データを TSとして出力する。 一方、 CRC検査部 9 1 5により誤りがあると判 定された C P SC— PDUは廃棄される。 Therefore, in the TS bucket filter unit 917, of the CPSC-PDU assembled by the CP SC-PDU assembling unit 912, eight bytes from the CP SC-PDU determined to be error-prone by the CRC checking unit 915. The data of the TS bucket excluding the trailer is output as TS. On the other hand, the CRC checker 9 The specified CP SC—PDU is discarded.
図 7に、 図 5に示した TS復号部 92の構成例を示す。 TS復号部 92は AT M-TS変換部 91で抽出された T Sを受け、 TS分離装置 92 1で TSから所望 のプログラムのビデオ、 オーディオを分離し、 それぞれビデオデコーダ 922、 オーディオデコーダ 923に送る。 このビデオデコーダ 922、 オーディオデコ ーダ 923では、 符号化されたビデオ、 オーディオデータをそれぞれ復号して出 力する。  FIG. 7 shows a configuration example of the TS decoding section 92 shown in FIG. The TS decoder 92 receives the TS extracted by the ATM-TS converter 91, separates the video and audio of the desired program from the TS by the TS separator 921, and sends them to the video decoder 922 and the audio decoder 923, respectively. The video decoder 922 and the audio decoder 923 decode and output the encoded video and audio data, respectively.
本発明に先立って本願発明者は上記のデータ受信装置を検討した結果、 下記の 如き問題点を有することを明かとした。  Prior to the present invention, the inventor of the present application has examined the above-described data receiving apparatus, and as a result, has found that it has the following problems.
まず第一の問題点は、 C P S C— PDUの組み立て誤りに起因するものである。 上述のように A A L 5ではセルへッダ内のユーザ間表示によって CPSC— PD Uを構成する最終の ATMセルを認識する一方、 ATMセルの同期は上述のよう に C R C検査の結果に基づき制御される。 いったん、 ATMの同期がとれると、 一般には同期保護のため、 セルヘッダに誤りのあるセルが所定回数連続しない限 りはセル同期力 ^れたとは判定しない。 この結果、 セルヘッダ内に誤りのある A TMセルも有効なセルとして扱われることになる。 しかし、 このような誤りのあ るセルへッダ内のユーザ間表示は誤っている可能性がある。  The first problem is due to a misassembly of the CPS C-PDU. As described above, AAL5 recognizes the final ATM cell that constitutes the CPSC-PDU by indicating between users in the cell header, while ATM cell synchronization is controlled based on the result of the CRC check as described above. You. Once the ATM is synchronized, it is generally not determined that the cell has been synchronized unless a cell with an erroneous cell header is repeated a predetermined number of times for synchronization protection. As a result, an ATM cell having an error in the cell header is also treated as a valid cell. However, the display between users in the erroneous cell header may be incorrect.
すなわち、 本来 C P SC— PDUの途中にあるセルのユーザ間表示が 1であつ たり、 反対に C P S C— P D Uの最後の A T Mセルのユーザ間表示が 0である可 能性がある。 このような場合には、 データ受信装置は受信データである 8個の A TMセルからひとつの中間デ一夕ュニッ ト C P SC— PDUを正しく組み立てる ことができず、 結果的に転送バケツ トである TSバケツ 卜のデータを破壊してし まう可能性がある。  That is, there is a possibility that the cell-to-user indication of a cell that is originally in the middle of the CPSC-PDU is 1 or conversely that the cell-to-user indication of the last ATM cell of the CPSC-PDU is 0. In such a case, the data receiving device cannot correctly assemble one intermediate packet CP SC-PDU from the eight ATM cells that are the received data, and consequently is a transfer bucket. The data in the TS bucket may be destroyed.
本発明の基本的な目的は、 受信データである ATMセルのセルへッダの誤りに よるひとつの中間データュニッ ト C P S C— PDUの組み立て誤りを低減するこ との可能なデータ受信装置を提供することにある。  A basic object of the present invention is to provide a data receiving apparatus capable of reducing an error in assembling one intermediate data unit CPSC-PDU due to an error in a cell header of an ATM cell as received data. It is in.
次に第二の問題点について説明する。 中間データュニッ ト CP SC— PDUに 対する誤り力5'検出された場合、 その原因としては、 C P S C— PDU内に誤りが ある場合と C P SC— PDUを構成する ATMセルが損失している場合が考えら れる。 ここでセル損失とは、 本来受信されるべきセルが受信側に到達しないこと をいう。セル損失の要因としては、 ATMセルのセルへッダの誤りによる配送先 間違いや、 輻輳によるバッファオーバ一フローなどがある。 この輻輳によるバッ ファオ一バーフローの例としては、 伝送量が多い時の重要度の低い情報等の廃棄 を挙げることができる。 Next, the second problem will be described. Intermediate data unit CP SC—Error in the PDU 5 'If detected, the cause may be that there is an error in the CPSC-PDU or that the ATM cells constituting the CP SC-PDU are lost. Is received. Here, the cell loss means that a cell that should be received does not reach the receiving side. The causes of cell loss include incorrect delivery destinations due to errors in cell headers of ATM cells, and buffer overflows due to congestion. An example of the buffer overflow due to this congestion is discarding information of low importance when the amount of transmission is large.
しかし CPSC— PDUを構成するセルが損失した場合でも、 損失したセルの 位置や数によっては、 C P SC— P DU内に本来含まれている二つの T Sバケツ トのうち一方の T sパケッ トのデータは正しく受信できている場合がある。 However, even if the cells that make up the CPSC—PDU are lost, the two TS buckets originally included in the CPSC—PDU may depend on the location and number of lost cells. In some cases, the data of one T s packet may be correctly received.
しかし従来は、 ひとつの中間データュニッ ト C P S C— PDU単位でデータの 廃棄を行うために、 正しい TSバケツ トのデータまで廃棄する可能性があった。 データ廃棄はデータ品質を低下させる原因となるため、 できる限り回避すること が望ましいことが理解される。  However, in the past, since data was discarded in units of one intermediate data unit CPS C—PDU, there was a possibility that even the correct TS bucket data was discarded. It is understood that it is desirable to avoid data destruction as much as possible, as it causes a decrease in data quality.
従って本発明の副次的目的は、 ひとつの中間データュニット CPSC— PDU に含まれる正しい方の転送バケツ トである TSバケツ トのデータを取り出して、 データ廃棄量を低減することの可能なデータ受信装置を提供することにある。 次に本発明の第三の問題点について説明する。 データ廃棄によりデータの品質 は低下し、 出力される画質、 音質を損なう。 特に MPEG 1ビデオや MPEG 2 ビデオのような階層的な符号化においては高位の符号化データが欠落した場合に 著し く 出力の品質が落ちるこ とが理解できる。 また、 T Sパケ ッ トの adaptation— field 内には T Sの復号ゃ出力などの時刻の基準となる時間情報が格納 される力 データ廃棄が生じるとそれら時間情報が不連続となるため復号に支障 をきたし、 この結果やはり出力の品質が低下する可能性があることが理解できる。 本発明の他の副次的目的は、 上述のようなデータ廃棄によるビデオ、 オーディ ォ等のプログラムデータの品質低下を最小限にすることの可能なデータ受信装置 を提供することにある。  Accordingly, a secondary object of the present invention is to provide a data receiving apparatus capable of extracting data of a TS bucket, which is a correct transfer bucket included in one intermediate data unit CPSC-PDU, and reducing the amount of data discard. Is to provide. Next, the third problem of the present invention will be described. The data quality is degraded due to data discard, and the output image quality and sound quality are lost. In particular, in hierarchical coding such as MPEG 1 video and MPEG 2 video, it can be understood that the output quality is significantly reduced when high-order coded data is lost. Also, in the adaptation-field of the TS packet, the time information serving as the time reference, such as the decoding / output of the TS, is stored. If data discarding occurs, the time information becomes discontinuous, which hinders decoding. However, it can be understood that as a result, the quality of the output may be deteriorated. Another secondary object of the present invention is to provide a data receiving apparatus capable of minimizing deterioration of program data such as video and audio due to data discard as described above.
本願で開示される発明の代表的な実施形態の概要は、 下記の通りである。  The outline of a typical embodiment of the invention disclosed in the present application is as follows.
送信側で、パケットへッダ(201 )と符号化データ(203)とを含む複数の転送 バケツ ト(TS、 20)から誤り検出符号データ(CRC)が付加されたひとつの中間 データュニッ ト(CPC S— PDU)を構成し、 該ひとつの中間デ一夕ュニッ ト(C PC S— PDU)の分割によってセルへッダ(301)とデータ歹 IJ(302)とを含む 複数のセルデータ(30、 ATMセル)を構成して送信し、上記複数のセルデータ(3 0、 ATMセル)のそれぞれのセルヘッダ(301 )は対応するセルデータが上記ひ とつの中間データュニット(C P C S— PDU)から構成される上記複数のセルデ ―タの先頭のセルデ一タと最終のセルデ一タとのいずれか一方の境界セルである か否かを示す境界セル識別情報を含み、  On the transmitting side, one intermediate data unit (CPC) to which error detection code data (CRC) is added from a plurality of transfer buckets (TS, 20) including a packet header (201) and encoded data (203). S-PDU) and a plurality of cell data (30) including a cell header (301) and a data system IJ (302) by dividing the one intermediate data unit (CPC S-PDU). , An ATM cell), and the cell header (301) of each of the plurality of cell data (30, ATM cells) has a corresponding cell data composed of the one intermediate data unit (CPCS-PDU). Boundary cell identification information indicating whether the cell is a boundary cell of one of the first cell data and the last cell data of the plurality of cell data,
上記送信された上記複数のセルデータ(30、 ATMセル)を受信するデ一夕受 信装置であって、  A data receiving device for receiving the transmitted plurality of cell data (30, ATM cells),
上記複数の受信セルデ一夕( 30、 A T Mセル)から誤り検出符号デ一タ( C R C ) が付加されたひとつの中間データユニッ ト(CPC S— PDU)を構成するデ一夕 構成部 (2)と、  A data configuration unit that forms one intermediate data unit (CPC S-PDU) to which error detection code data (CRC) is added from the plurality of received cell data (30, ATM cells) (2) When,
上記データ構成部( 2 )で構成された上記ひとつの中間データユニッ ト( C P C S — P D U )に付加された上記誤り検出符号データ( C R C )から誤りを検査する誤り 検査部(5)と、 O 9 1 An error checking unit (5) for checking an error from the error detection code data (CRC) added to the one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2); O 9 1
6 6
上記受信 '構成による上記ひとつの中間データュニッ ト(CPC S— PDU)か らバケツ トヘッダ(2 0 1)と符号化データ(2 03 )とを含む複数の転送バケツ ト (TS、 2 0)を構成するパケッ ト構成部(70)と、  A plurality of transfer buckets (TS, 20) including a bucket header (201) and coded data (203) are formed from the one intermediate data unit (CPC S-PDU) by the above-mentioned reception 'structure. The packet composition part (70)
上記複数の受信セルデータ(30、 A TMセル)の上記境界セル識別情報に応答 し、 受信セルデータが上記境界セルであることを上記境界セル識別情報が示した 後、 後続の受信セルデータが上記境界セルであることを次の境界セル識別情報が 示すまでの受信セルデータのセル数を力ゥントするカウント部(3)とを具備して なり(図 1参照)、  In response to the boundary cell identification information of the plurality of reception cell data (30, ATM cell), after the boundary cell identification information indicates that the reception cell data is the boundary cell, the subsequent reception cell data is A counting unit (3) for counting the number of cells of the received cell data until the next boundary cell identification information indicates that the cell is the boundary cell (see FIG. 1);
上記カウン ト部( 3 )のカウン トセル数が上記送信側の上記ひとつの中間デ一タ ュニッ トを構成する上記複数のセルデータのセル数に一致する時は(図 8のステ ップ 8 1の n = 8参照)、 上記誤り検査部(5)から誤り力 ί検出されないことに応答 して上記データ構成部(2)で構成された上記ひとつの中間データュニッ ト(C P C S— PDU)は上記バケツト構成部(70)へ転送されて、 上記複数の転送バケツ ト (TS、 20)が構成され (図 9のステップ 9 1、 92、 93参照)、  When the number of count cells in the count section (3) matches the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmission side (step 81 in FIG. 8). N = 8), in response to the error power not being detected by the error checking unit (5), the one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is converted to the bucket by the bucket. The transfer packets (TS, 20) are transferred to the configuration unit (70), and the transfer buckets (TS, 20) are formed (see steps 91, 92, and 93 in FIG. 9).
上記カウント部( 3 )のカウン トセル数が上記送信側の上記ひとつの中間データ ュニッ トを構成する上記複数のセルデー夕のセル数より小さい時は(図 8のステ ップ 8 1の n < 8参照)、該カウントセル数が小さな受信セルデ一タのセルへッダ の誤り検出符号デ一タにより該受信セルデ一タのセルへッダに誤りがあると言う 検査結果 (図 1 0のステップ 1 0 1の YE S参照)に応答し、 さらに上記誤り検査 部( 5 )から誤り力検出されないことに応答して上記デー夕構成部( 2 )で構成され た上記ひとつの中間データュニッ ト(CPC S— PDU)は上記バケツ ト構成部(7 0)へ転送されて、 上記複数の転送パケッ ト(TS、 2 0)が構成されることを特徴 とする(図 1 0のステップ 1 03、 1 04、 1 05、 1 06、 1 07、 1 08参照)。 上述の本発明の基本的な実施形態によれば、 下記の理由によって受信側の中間 データュニッ ト(C P C S— PDU)の組立誤りを低減すると言う基本的な 0的を 達成することが可能となる。  When the number of count cells in the counting section (3) is smaller than the number of cells in the plurality of cell data composing the one intermediate data unit on the transmitting side (n <8 in step 81 in FIG. 8). Inspection results (see step 10 in FIG. 10) that the cell header of the received cell data has an error due to the error detection code data of the cell header of the received cell data having the small number of counted cells. In response to no error detection from the error checking unit (5), the one intermediate data unit (CPC) composed of the data configuration unit (2) S-PDU) is transferred to the above-mentioned bucket composing section (70) to constitute the above-mentioned plurality of transfer packets (TS, 20) (steps 103, 1 in FIG. 10). 04, 105, 106, 107, 108). According to the above-described basic embodiment of the present invention, it is possible to achieve the basic objective of reducing the assembly error of the intermediate data unit (CPCS-PDU) on the receiving side for the following reason.
まず、 カウント部(3)のカウントセル数が送信側のひとつの中間データュニッ トを構成する複数のセルデータのセル数に一致する時には、 正確なセル数の間隔 で受信側のひとつの屮間データユニッ ト(C P C S— P D U )を構成できるはずな ので、 この中間データュニッ ト(CPC S— PDU)に付加された誤り検出符号デ 一夕(C R C )に関して誤り検査部( 5 )から誤りが検出されない場合にデ—夕構成 部( 2 )で構成されたひとつの中間データュニッ ト( C P C S— P D U)はバケツ ト 構成部(70)へ転送されて、 複数の転送バケツ ト(TS、 2 0)が構成される。  First, when the number of counted cells in the counting section (3) matches the number of cells of a plurality of cell data constituting one intermediate data unit on the transmitting side, the data between one sub-block on the receiving side is set at an accurate cell number interval. Since the unit (CPCS-PDU) should be able to be configured, if no error is detected from the error check unit (5) for the error detection code data (CRC) added to this intermediate data unit (CPCS-PDU) One intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and a plurality of transfer buckets (TS, 20) are configured. You.
一方、 カウント部(3)のカウントセル数が送信側のひとつの中間データュニッ トを構成する複数のセルデータのセル数より小さいこと力 ?検出される時であって も、 このカウントセル数が小さな受信セルデ一夕のセルへッダに誤りがあること カ検出される場合には、 境界セル検出と検出境界セルのセルへッダの誤り検出と の両者に信頼性が十分に保証されていないと考えることができる。 この様な場合 には、 受信側のデータ構成部(2)で構成される中間データュニッ ト(CPC S— P D U ) に付加された誤り検出符号データ( C R C )に関して誤り検査部( 5 )から誤 りが検出されない場合は、 この中間データュニッ ト(C PC S— PDU)は正確な 真のデータと考えられる。 従って、 この場合も、 データ構成部(2)で構成された ひとつの中間データュニッ ト(C P C S— PDU)はパケッ ト構成部(7 0)へ転送 されて複数の転送パケッ ト(T S、 2 0)が構成されるので、 上記の基本的な目的 を達成することが可能となる。 On the other hand, even when the number of counted cells in the counting section (3) is a plurality of smaller that force than the number of cells of the cell data? Detection constituting the intermediate Detayuni' bets one sender, this number of counted cells is a small There is an error in the cell header of the received cell If power is detected, it can be considered that the reliability of both the boundary cell detection and the error detection of the cell header of the detected boundary cell is not sufficiently guaranteed. In such a case, the error detection unit (5) will make an error regarding the error detection code data (CRC) added to the intermediate data unit (CPC S-PDU) composed of the data configuration unit (2) on the receiving side. If no is detected, this intermediate data unit (CPCS-PDU) is considered to be accurate and true data. Therefore, also in this case, one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the packet configuration unit (70), and a plurality of transfer packets (TS, 20) are transmitted. , It is possible to achieve the above basic purpose.
本発明の他の基本的な実施形態は、  Another basic embodiment of the invention is:
送信側で、バケツ トヘッダ(2 0 1)と符号化データ(2 03)とを含む複数の転送 パケッ ト( T S、 20 )から誤り検出符号データ( C R C )が付加されたひとつの中間 データュニッ ト(CPC S— PDU)を構成し、 該ひとつの中間データュニッ ト(C PC S— P DU)の分割によってセルへッダ(3 0 1)とデータ列(3 02 )とを含む 複数のセルデータ( 30、 A T Mセル)を構成して送信し、上記複数のセルデータ( 3 0、 ATMセル)のそれぞれのセルヘッダ(30 1 )は対応するセルデータが上記ひ とつの中間データユニッ ト(CPC S— PDU)から構成される上記複数のセルデ —夕の先頭のセルデ一タと最終のセルデータとのいずれか一方の境界セルである か否かを示す境界セル識別情報を含み、  On the transmitting side, one intermediate data unit (CR) is added from a plurality of transfer packets (TS, 20) including a bucket header (201) and encoded data (203). CPC S-PDU), and by dividing the one intermediate data unit (CPC S-P DU), a plurality of cell data (3 01) and a data string (3 02) including a cell header (301) are divided. 30 and an ATM cell), and the cell header (30 1) of each of the plurality of cell data (30, ATM cells) has the corresponding cell data in the one intermediate data unit (CPC S— PDU) including boundary cell identification information indicating whether the cell is one of the first cell data in the evening and the last cell data.
上記送^された上記複数のセルデータ( 30、 A T Mセル)を受信するデ一タ受 信装置であって、  A data receiving apparatus for receiving the plurality of cell data (30, ATM cells) transmitted above,
上記複数の' セルデータ( 30、 A T Mセル)から誤り検出符号データ( C R C ) が付加されたひとつの中間データュニッ ト(CPC S— P D U)を構成するデ一タ 構成部(2)と、  A data configuration unit (2) that forms one intermediate data unit (CPC S-PDU) in which error detection code data (CRC) is added from the plurality of cell data (30, ATM cells);
上記デ—タ ½f&i 2 )で構成された上記ひとつの中間データユニッ ト(C P C S 一 P D U )に付加された上《ίΰ り検出符号データ( C R C )から誤りを検査する誤り 検査部(5)と、  An error checker (5) for checking an error from the upper detection code data (CRC) added to the one intermediate data unit (CPCS-one PDU) composed of the data {f & i 2);
上記受ィ: :; · t ^による上記ひとつの中間データュニッ ト(C PC S— PDU)か らバケツ トヘッダ 0 1)と符号化データ(203 )とを含む複数の転送バケツ 卜 (TS、 20)を fも成するパケット構成部(70)と、 A plurality of transfer buckets (TS, 20) including a bucket header 01) and coded data (203) from the one intermediate data unit (CPCS-PDU) by t ^ : And a packet constituent part (70) that also forms
上記複数の受 セルデータ(30、 ATMセル)の上記境界セル識別情報に応答 し、 受信セルデータが上 ^境界セルであることを上記境界セル識別情報が示した 後、 後続の受信セルデータが上記境界セルであることを次の境界セル識別情報が 示すまでの受信セルデータのセル数をカウントするカウント部(3)とを具備して なり(図 1参照)、  In response to the boundary cell identification information of the plurality of reception cell data (30, ATM cells), after the boundary cell identification information indicates that the reception cell data is an upper boundary cell, the subsequent reception cell data is A counting unit (3) for counting the number of cells of the received cell data until the next boundary cell identification information indicates that the cell is the boundary cell (see FIG. 1);
上記カウント部( 3 )のカウントセル数が上記送信側の上記ひとつの中間データ ュニッ トを構成する上記複数のセルデータのセル数に一致する時は(図 8のステ ップ 8 1の n = 8参照)、 上記誤り検査部( 5 )から誤り力検出されないことに応答 して上記デ一夕構成部( 2 )で構成された上記ひとつの中間データユニッ ト( C P C S— PDU)は上記バケツ ト構成部(70)へ転送されて、 上記複数の転送バケツ ト (TS、 20)が構成され (図 9のステップ 9 1、 92、 93参照)、 The number of count cells in the counting section (3) is the one intermediate data of the transmitting side. When the number of cells of the plurality of cell data constituting the unit matches the number of cells (see n = 8 in step 81 in FIG. 8), a response is made that no error is detected by the error checking unit (5). Then, the one intermediate data unit (CPCS-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and the plurality of transfer buckets (TS, 20) are transferred to the bucket configuration unit (70). ) (See steps 91, 92, and 93 in Figure 9),
上記カウント部( 3 )のカウントセル数が上記送信側の上記ひとつの中間データ ュニッ トを構成する上記複数のセルデータのセル数より大きい時は(図 8のステ ップ 8 1の n > 8参照)、 上記力ゥント部( 3 )のカウントセル数が上記送信側の上 記ひとつの中間データュニッ トを構成する上記複数のセルデータのセル数に一致 する受信セルデ一タのセルへッダの誤り検出符号データによ り該受信セルデータ のセルへッダに誤りがあると言う検査結果 (図 1 3のステップ 1 3 1の YE S参 照)に応答し、 さらに上記誤り検査部( 5 )から誤りが検出されないことに応答して 上記データ構成部(2)で構成された上記ひとつの中間データュニッ ト(C PC S— PDU)は上記バケツ ト構成部(70)へ転送されて、上記複数の転送バケツ ト(TS、 20)が構成されることを特徴とする(図 1 0のステップ 1 32、 1 33、 1 34、 1 3 5参照)。  When the number of counted cells of the counting section (3) is larger than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side (n> 8 in step 81 in FIG. 8). ), The cell count of the received cell data whose number of count cells of the above-mentioned control unit (3) matches the number of cells of the plurality of cell data constituting the above-mentioned one intermediate data unit on the transmitting side. Based on the error detection code data, it responds to the test result that the cell header of the received cell data has an error (see YES in step 131, FIG. 13). ), The one intermediate data unit (CPC S-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and Specially, it consists of multiple transfer buckets (TS, 20). To (see steps 1 32, 1 33, 1 34, 1 3 5 in Figure 1 0).
上述の本発明の他の基本的な実施形態によれば、 下記の理由によつて受信側の 中間データュニッ ト(C P C S— P D U)の組立誤りを低減すると言う基本的な目 的を達成することが可能となる。  According to the other basic embodiment of the present invention described above, it is possible to achieve the basic purpose of reducing the error of assembling the intermediate data unit (CPCS-PDU) on the receiving side for the following reasons. It becomes possible.
まず、 カウン ト部(3)のカウントセル数が送信側のひとつの中間データュニッ トを構成する複数のセルデータのセル数に一致する時には、 正確なセル数の間隔 で受信側のひとつの中間データュニッ ト(CPC S— PDU )を構成できるはずな ので、 この中間データュニッ ト(CP C S— PDU)に付加された誤り検出符号デ 一夕(C R C)に関して誤り検査部( 5 )から誤りが検出されない場合にデータ構成 部(2)で構成されたひとつの中間データュニッ ト(CPC S— PDU)はバケツ ト 構成部(70)へ転送されて、 複数の転送バケツ ト(TS、 20)が構成される。  First, when the number of count cells in the count unit (3) matches the number of cells of a plurality of cell data constituting one intermediate data unit on the transmitting side, one intermediate data unit on the receiving side is set at an accurate interval of the number of cells. If the error check unit (5) does not detect the error detection code data (CRC) added to this intermediate data unit (CP CS-PDU) Then, one intermediate data unit (CPC S-PDU) configured by the data configuration unit (2) is transferred to the bucket configuration unit (70), and a plurality of transfer buckets (TS, 20) are configured.
一方、 カウント部(3)のカウントセル数が送信側のひとつの中間データュニッ トを構成する複数のセルデータのセル数より大きいこと力;'検出される時であって も、 カウント部( 3 )のカウントセル数が送信側のひとつの中間デ一タュニッ トを 構成する複数のセルデータのセル数に一致する受信セルデータのセルヘッダに誤 りがあること力 s検出される場合にも、 同様に境界セル検出と検出境界セルのセル へッダの誤り検出との両者に信頼性が十分に保証されていないと考えることがで きる。 この様な場合にも、 受信側のデータ構成部(2)で構成される中間データュ ニッ ト(CPCS— PDU) に付加された誤り検出符号データ(CRC)に関して誤 り検査部(5)から誤りが検出されない場合は、 この中間データュニッ ト(C PC S 一 PDU)は正確な真のデータと考えられる。 従って、 この場合にも、 データ構成 部(2)で構成されたひとつの中間データュニッ ト(CPC S— PDU)はバケツ ト 構成部(70)へ転送されて複数の転送バケツ ト(TS、 2 0)が構成されて、上記の 基本的な目的を達成することが可能となる。 On the other hand, the number of count cells in the count unit (3) must be larger than the number of cells of a plurality of cell data constituting one intermediate data unit on the transmission side; Similarly, if the cell header of the received cell data whose cell count matches the number of cells of a plurality of cell data that constitute one intermediate data unit on the transmitting side contains an error, the same applies. It can be considered that the reliability of both the boundary cell detection and the error detection of the cell header of the detected boundary cell is not sufficiently guaranteed. Even in such a case, the error check unit (5) issues an error regarding the error detection code data (CRC) added to the intermediate data unit (CPCS-PDU) composed of the data configuration unit (2) on the receiving side. If no is detected, this intermediate data unit (CPCS-1 PDU) is considered to be accurate and true data. Therefore, also in this case, the data structure One intermediate data unit (CPC S-PDU) composed of the part (2) is transferred to the bucket constituent part (70) to form a plurality of transfer buckets (TS, 20). Objective can be achieved.
本発明のより好適な実施形態のデータ受信装置は、  A data receiving device according to a more preferred embodiment of the present invention,
上記バケツ ト構成部(70)で上記受信 ·構成による上記ひとつの中間データュ ニッ ト(C PCS— PDU)から構成される上記転送バケツ ト(TS、 2 0)の上記パ ケッ トヘッダ(2 0 1)の同期パターンカ所定のパターンと一致するか否かを検査 する転送パケッ ト同期バタ一ン検査部( 6 )をさらに具備してなり(図 1参照)、 上記カウン ト部( 3 )のカウン トセル数が上記送信側の上記ひとつの中間データ ユニッ トを構成する上記複数のセルデータのセル数より小さい時は(図 8のステ ップ 8 1の n < 8参照)、該カウントセル数が小さな受信セルデ一夕のセルへッダ の誤り検出符号デ一タにより該受信セルデー夕のセルへッダに誤りがないと言う 検査結果 (図 1 0のステップ 1 0 1の N 0参照)に応答し、 さらに上記力ゥント咅 (3)の上記カウン トセル数が上記送信側の上記ひとつの中間データュニッ トを構 成する上記複数のセルデータのセル数の半分の値以上であることに応答し (図 1 1のステップ 1 1 1の n〉3参照)、さらに上記転送パケッ ト同期バタ一ン検査部 (6)の検査出力に応答して、上記ひとつの中間データュニット(C PC S— PDU) から構成される上記複数の転送バケツ ト(TS、 20)のうち上記所定のパターン と一致する同期パターンを含む転送バケツ ト(TS、 2 0)に対応する上記ひとつ の中間データュニッ ト(C PC S— PDU)の部分データが上記バケツ ト構成部(7 0 )へ転送され、上記所定のパターンと一致する上記同期パターンを含む上記転送 バケツ ト(TS、 20)が構成されることを特徴とする(図 1 1のステップ 1 1 2、 1 1 3、 1 1 4、 1 1 5、 1 1 6参照)。  The packet header (201) of the transfer bucket (TS, 20) composed of the one intermediate data unit (CPCS-PDU) according to the reception / configuration in the bucket configuration unit (70). ) Is further provided with a transfer packet synchronization pattern checker (6) (see FIG. 1) for checking whether or not the pattern matches a predetermined pattern (see FIG. 1). When the number of cells is smaller than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side (see n <8 in step 81 of FIG. 8), the number of count cells The error detection code data of the cell header of the small received cell data indicates that there is no error in the cell header of the received cell data (see N0 in step 101 of FIG. 10). Responds, and the number of count cells of Responds to the fact that the number of cells of the plurality of cell data constituting the one intermediate data unit is equal to or greater than half the number of cells (see n> 3 in step 11 of FIG. 11), and further transfers the data. In response to the inspection output of the packet synchronization pattern inspection unit (6), the predetermined number of the plurality of transfer buckets (TS, 20) composed of the one intermediate data unit (CPCS-PDU) are used. The partial data of the one intermediate data unit (CPCS-PDU) corresponding to the transfer bucket (TS, 20) including the synchronization pattern that matches the pattern of (1) is transferred to the bucket configuration unit (70). Characterized in that the transfer bucket (TS, 20) including the synchronization pattern that matches the predetermined pattern is configured (steps 112, 113, 114, 1 in FIG. 11). 15 and 1 16).
本発明のより好適な実施形態によれば、 下記の理由によってひとつの中間デー タュニッ ト CP SC— PDUに含まれる正しい方の転送バケツ トである TSパケ ッ トのデータを取り出して、 データ廃棄量を低減すると言う本発明の副次的目的 を達成することが可能となる。  According to a more preferred embodiment of the present invention, the data of the TS packet which is the correct transfer packet included in one intermediate data unit CP SC-PDU is taken out for the following reason, and the amount of data discard is determined. It is possible to achieve the secondary object of the present invention, that is, to reduce the amount of light.
まず、 カウント部( 3 )のカウントセル数が送信側のひとつの中間デ一タュニッ トを構成する複数のセルデ一夕のセル数より小さく(n<8)、 またこのカウン ト セル数が小さな受信セルデ一タのセルへッダの誤り検出符号デ一タにより該受信 セルデータのセルヘッダに誤りがなく、 さらにカウント部(3)のカウントセル数 が送信側のひとつの中間データュニッ トを構成する複数のセルデータのセル数の 半分の値以上である場合には( n > 3参照)、 送信側のひとつの中間データュニッ トを構成する複数のセルデータの一部のセルデータが送受信の間で損失している 可能性が極めて強い。 この様な場合には、 ひとつの中間データュニッ ト(CPC S 一 P DU)から構成される複数の転送パケッ ト(T S、 2 0)のうち所定のパターン と一致する同期パタ一ンを含む転送パケッ ト(TS、 20)に対応するひとつの中 間データュニッ ト(C PC S— PDU)の部分データがバケツ ト構成部(70)へ転 送され、所定のパターンと 致する同期パターンを含む転送バケツ ト(TS、 2 ()) 力'構成されるので、 上記の本発明の副次的目的を達成することが可能となる。 本発明の具体的な実施形態のデータ受信装置は、 First, the number of counted cells in the counting section (3) is smaller than the number of cells in a plurality of cells constituting one intermediate data unit on the transmitting side (n <8), and the number of counted cells is small. There is no error in the cell header of the received cell data due to the error detection code data of the cell header of the cell data, and the number of count cells in the count section (3) constitutes one intermediate data unit on the transmission side. If more than half the number of cells of the cell data of the transmitter (see n> 3), some of the cell data that constitutes one intermediate data unit on the transmitting side will be lost during transmission and reception. Very likely. In such a case, a predetermined pattern among a plurality of transfer packets (TS, 20) composed of one intermediate data unit (CPC S-P DU) The partial data of one intermediate data unit (CPCS-PDU) corresponding to the transfer packet (TS, 20) including the synchronization pattern that matches the packet is transferred to the bucket forming unit (70) and Since the transfer bucket (TS, 2 ()) including the synchronization pattern matching the above pattern is configured, the above-described secondary object of the present invention can be achieved. A data receiving device according to a specific embodiment of the present invention includes:
上記バケツ ト構成部(70)で構成される上記複数の転送バケツ ト(T S、 20) を所望のプログラムデータへ復号するデータ復号部( 92、 図 5参照)と、  A data decoding unit (92, see FIG. 5) for decoding the plurality of transfer buckets (TS, 20) configured by the bucket configuration unit (70) into desired program data;
上記バケツト構成部(70)で上記受信 '構成による上記ひとつの中間デ一タュ ニッ ト(C PCS— PDU)から構成される上記転送バケツ ト(TS、 20)の上記パ ケッ トヘッダ(20 1)の上記同期パターンが上記所定のパターンと一致すること が上記転送バケツ ト同期パターン検査部(6)で検査された場合に上記転送パケッ ト(T S、 20 )の上記パケッ トヘッダ( 20 1 )のパケッ 卜識別用フィ一ルドデ一タ (P I D)と選択プログラムのプログラムデータが格納された複数の転送バケツ ト (T S、 20)のパケッ ト識別用フィ—ルドデータ(P I D)との比較を行う識別フィ 一ルド比較部( 1 1、 12 )とをさらに具備してなり 14、 図 1 5参照)、 上記ひとつの中間データュニッ ト(C PC S— PDU)から構成される上記複数 の転送バケツ ト(T S、 20)のうち上記所定のパターンと一致する同期パターン を含む上記転送パケッ ト(TS、 20)に対応する上記ひとつの中間データュニッ ト(C PCS— PDU)の上記部分データが上記バケツ ト構成部(70)へ転送され、 上記所定のパターンと一致する上記同期パターンを含む上記転送パケッ ト(T S、 20 )が構成される際に (図 1 1のステップ 1 12、 1 1 3、 1 14、 1 15、 1 1 6参照)、 上記ひとつの中間データュニッ ト(C P C S— P D U)のデ一夕のうち上 記部分データ以外のデ一夕は転送バケツ ト(TS、 20) の構成のために実効的に 使用されず実効的に破棄されるものであり、  The packet header (201) of the transfer bucket (TS, 20) composed of the one intermediate data unit (CPCS-PDU) according to the reception configuration in the bucket configuration unit (70) When it is checked by the transfer packet synchronization pattern checker (6) that the synchronization pattern matches the predetermined pattern, the packet of the packet header (201) of the transfer packet (TS, 20) is checked. An identification field for comparing the packet identification field data (PID) with the packet identification field data (PID) of a plurality of transfer buckets (TS, 20) storing the program data of the selected program. And a plurality of transfer buckets (TSs) composed of the one intermediate data unit (CPCS-PDU). , 20) matches the above predetermined pattern The partial data of the one intermediate data unit (CPCS-PDU) corresponding to the transfer packet (TS, 20) including the synchronization pattern to be transferred is transferred to the bucket forming unit (70), and the predetermined pattern is transmitted. When the above-mentioned transfer packet (TS, 20) including the above-mentioned synchronization pattern is constructed (see steps 112, 113, 114, 115, 116 of FIG. 11), Of the intermediate data unit (CPCS-PDU) other than the above-mentioned partial data is not effectively used and discarded due to the configuration of the transfer bucket (TS, 20) Things,
上記部分データ以外の上記データの実効的な破棄に際して、 上記識別フィール ド比較部(1 1、 1 2)が上記実効的破棄データに関して上記二つのバケツ ト識別 用フィールドデータの一致を検出した場合は、 上記実効的破棄一致の検出結果が 上記データ復号部(92、 図 5参照)へ伝達されることを特徴とする。  When effectively discarding the data other than the partial data, when the identification field comparing unit (11, 12) detects a match between the two bucket identification field data with respect to the effective discarded data, The detection result of the effective discard match is transmitted to the data decoding unit (92, see FIG. 5).
本発明の具体的な実施形態によれば、 下記の理由によってデータ廃棄によるビ デ才、 オーディオ等のプログラムデータの品質低下を最小限とすると言う本発明 の他の副次的目的を達成することが可能となる。  According to a specific embodiment of the present invention, it is another object of the present invention to minimize the deterioration of program data such as video and audio due to data discard for the following reasons. Becomes possible.
すなわち、 上述のデータの実効的な破棄に際しては、 早い時点から廃棄される デ一タがあると言う識別フィールド比較部( 1 1、 12 )の一致検出結果がデータ 復号部(92)へ伝達されるため、データ復号部(92)はこれに応答する対応処理を 行うことができるので、 卜-記の本発明の他の副次的目的を達成することが可能と なる。 本発明のその他の目的と特徴は、 以下の実施例から明かとなるであろう。 図面の簡単な説明 That is, when the above-mentioned data is effectively discarded, the match detection result of the identification field comparison unit (11, 12) indicating that there is data to be discarded from an early point is transmitted to the data decoding unit (92). Therefore, the data decoding unit (92) can perform a corresponding process in response to this, so that it is possible to achieve another subsidiary object of the present invention described in the above description. Other objects and features of the present invention will become apparent from the following examples. BRIEF DESCRIPTION OF THE FIGURES
図 1は本発明の第一の実施例のデータ受信装置を示す図である。 FIG. 1 is a diagram showing a data receiving apparatus according to a first embodiment of the present invention.
図 2は T Sバケツ トを示す図である。 FIG. 2 is a diagram showing a TS bucket.
図 3は ATMセルを示す図である。 FIG. 3 is a diagram showing an ATM cell.
図 4は T Sバケツ トと ATMセルの関係を示す図である。 Fig. 4 is a diagram showing the relationship between the TS bucket and ATM cells.
図 5は出願前に検討されたデータ受信装置を示す図である。 FIG. 5 is a diagram showing a data receiving apparatus studied before the filing.
図 6は図 5のデータ受信装置の A TM-T S変換部を示す図である。 FIG. 6 is a diagram showing an ATM-TS converter of the data receiving device of FIG.
図 7は図 5のデータ受信装置の T S復号部を示す図である。 FIG. 7 is a diagram showing a TS decoding unit of the data receiving device of FIG.
図 8は図 1のデータ受信装置の処理内容を示すフローチヤ一 トである。 FIG. 8 is a flowchart showing the processing contents of the data receiving device of FIG.
図 9は図 8の処理 Aの処理内容を示すフローチヤ一トである。 FIG. 9 is a flowchart showing the processing contents of the processing A in FIG.
図 1 0は図 8の処理 Bの処理内容を示すフローチヤ一トである。 FIG. 10 is a flowchart showing the processing contents of the processing B in FIG.
図 1 1は図 1 0の処理 Dの処理内容を示すフローチヤ一トである。 FIG. 11 is a flowchart showing the processing contents of the processing D in FIG.
図 1 2は図 1 0の処理 Eの処理内容を示すフローチヤ一トである。 FIG. 12 is a flowchart showing the processing contents of the processing E in FIG.
図 13は図 8の処理 Cの処理内容を示すフローチヤ一トである。 FIG. 13 is a flowchart showing the processing contents of the processing C in FIG.
図 14は本発明の第二の実施例のデータ受信装置を示す図である。 FIG. 14 is a diagram showing a data receiving device according to the second embodiment of the present invention.
図 1 5は本発明の第三の実施例のデータ受信装置を示す図である。 発明を実施するための最良の形態 FIG. 15 is a diagram showing a data receiving device according to the third embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 本発明の各実施例について、 図面を参照してより詳細に説明する。 図 1に本発明の第一の実施例によるデータ受信装置の A T M-T S変換部の構 成を示す。  Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings. FIG. 1 shows a configuration of an ATM-TS conversion section of a data receiving apparatus according to a first embodiment of the present invention.
図 1の ATM-T S変換部の構成として、 図 6の ATM-TS変換部と相違する 点を以下に説明する。  The difference between the configuration of the ATM-TS converter in FIG. 1 and that of the ATM-TS converter in FIG. 6 will be described below.
まず、 図 1では、 図 6の ATM-TS変換部のセル同期部 91 1の代わりに、 A TMセルへッダを検出してセル同期を検出し、 ATMセルの区切りを検出する機 能にセルへッダの誤りの有無を示す誤り情報を出力する機能を付加したセル同期 部 1が設けられている。  First, in Fig. 1, instead of the cell synchronization unit 911 of the ATM-TS conversion unit in Fig. 6, a function to detect ATM cell headers to detect cell synchronization and to detect ATM cell delimiters is provided. A cell synchronization unit 1 is provided which has a function of outputting error information indicating the presence or absence of an error in a cell header.
さらに、 図 1では、 新たにセル数カウント部 3と、 TSパケッ ト同期バイ ト検 査部 6と、 T Sパケッ トフィルタ制御部 80とを設けたものである。 以下、 これ らセル同期部 1、 CPSC— PDU組立部 2、 セル数カウント部 3、 ユーザ間表 示検査部 4、 CRC検査部 5、 TSパケッ ト同期バイ ト検査部 6、 TSバケツ トフィルタ部 70、TSバケツ トフィルタ制御部 80からなる ATM-T S変換部 の機能について説明する。  Further, in FIG. 1, a cell number counting unit 3, a TS packet synchronization byte inspection unit 6, and a TS packet filter control unit 80 are newly provided. Hereinafter, these are a cell synchronization unit 1, a CPSC-PDU assembly unit 2, a cell number counting unit 3, an inter-user display inspection unit 4, a CRC inspection unit 5, a TS packet synchronization byte inspection unit 6, and a TS bucket filter unit. 70, the function of the ATM-TS converter comprising the TS bucket filter controller 80 will be described.
受信データである ATMセルを受けるセル同期部 1は ATMセル区切り検出 情報とセルヘッダ誤り有無情報とをセル数カウント部 3に供給する一方、 ひとつ の中間データュニッ トである CP SC— PDUを構成する 8個の ATMセルの境 界 ATMセル識別情報 (例えば、 最終 ATMセル識別情報、 ATMレイヤユーザ間 表示)をユーザ間表示検査部 4へ供給する。 さらに、 セル同期部 1からは TSパケ ッ トのパケッ トヘッダの同期パターン (特定パターン)が、 TSバケツ ト同期バイ ト検査部 6へ供給される。 Cell synchronizer 1 receiving ATM cells as received data Information and the cell header error presence / absence information are supplied to the cell number counting section 3, while the boundary of eight ATM cells constituting one intermediate data unit, CP SC—PDU, is the ATM cell identification information (for example, the last ATM cell). The identification information and the display between the ATM layer and the user are supplied to the inter-user display inspection unit 4. Further, the synchronization pattern (specific pattern) of the packet header of the TS packet is supplied from the cell synchronization unit 1 to the TS bucket synchronization byte inspection unit 6.
CRC検査部 5は、 CP SC— PDU組立部 2で組み立てられたひとつの中問 データュニットである CP SC— PDUに対し CRC検査を行う。 この CP SC — PDUに対する CRC検査は前述と同様、 C P S C— PDUの 384バイ トを 被除数、 ある生成多項式を除数として割算を行う。 この割算の結果、 剰余が 0の 時 C P S C— P D U内に誤りがないと判定し、 0でない場合には C P SC-PD U内に誤りがあると判定する。  The CRC checker 5 performs a CRC check on the CP SC-PDU, which is one intermediate data unit assembled by the CP SC-PDU assembler 2. Similar to the above, the CRC check for the CPSC-PDU is performed using the 384 bytes of the CPSC-PDU as the dividend and a certain generator polynomial as the divisor. As a result of this division, when the remainder is 0, it is determined that there is no error in CPSC-PDU, and when it is not 0, it is determined that there is an error in CPSC-PDU.
従って、 セル数カウント部 3は、 セル同期部 1からの ATMセル区切り検出情 報とセルへッダ誤り有無情報、 ユーザ間表示検査部 4からの境界 ATMセル識別 情報、 CRC検査部 5からの中間データュニッ ト C P SC— PDUの CRC検査 結果に基づき、 中間データュニッ ト CP SC— PDUの先頭 ATMセルを 1とし て次に境界 ATMセル識別情報 (ュ一ザ間表示)が 1となる ATMセルまでの AT Mセル数をカウントする一方、 C P S C— PDUの区切りを C P S C— PDU組 立部 2と CRC検査部 5と TSバケツ ト同期バイ ト検査部 6とに通知する。 尚、 CP SC— PDUの区切りを求める手順の詳細については後述する。  Therefore, the cell count unit 3 receives the ATM cell delimitation detection information and cell header error presence / absence information from the cell synchronization unit 1, the boundary ATM cell identification information from the inter-user display inspection unit 4, and the Intermediate data unit CP SC—Based on the CRC check result of the PDU, the first ATM cell of the intermediate data unit CP SC—PDU is set to 1 and then to the ATM cell whose border ATM cell identification information (display between users) becomes 1. While counting the number of ATM cells, the CPSC—PDU delimiter is notified to the CPSC—PDU assembly unit 2, CRC check unit 5, and TS bucket synchronization byte check unit 6. The details of the procedure for obtaining the CP SC-PDU delimiter will be described later.
一方、 T Sパケッ ト同期バイ ト検査部 6は、 中間データユニッ ト C P S C— P DUから構成される T Sバケツ トの同期バイ トが ATMセルに格納されているベ きバイ トが同期バイ トの値 0 X 47(特定パターン、 同期パターン)と一致するか 否かを検査する。 また T Sパケッ トフィルタ制御部 80は、 C R C検査部 5の検 杏結果と TSバケツ ト同期バイ ト検査部 6の検査結果とを参照し、 CPSC— P DUから TSバケツ トを取り出す。  On the other hand, the TS packet synchronization byte inspection unit 6 determines that the synchronization byte of the TS bucket composed of the intermediate data unit CPSC-PDU is stored in the ATM cell, and the value of the synchronization byte is the byte. Checks whether it matches 0 X 47 (specific pattern, synchronization pattern). Further, the TS packet filter control unit 80 refers to the inspection result of the CRC inspection unit 5 and the inspection result of the TS bucket synchronization byte inspection unit 6 and extracts the TS bucket from the CPSC-PDU.
C P S C— PDU組立部 2では ATMセルからセルへッダを取り除いて C P S C一 PDUを組み立て、 T Sパケッ トフィルタ部 70に送る。 また、 CRC検査 部 5では組み立てられた CP SC— PDUに対し CRC検査を行い、 CP SC— PDU内の誤りの有無を検出する。  The CPSC—PDU assembly unit 2 removes the header from the ATM cell, assembles a CPSC-PDU, and sends it to the Ts packet filter unit 70. In addition, the CRC check unit 5 performs a CRC check on the assembled CP SC-PDU to detect the presence or absence of an error in the CP SC-PDU.
次に図 1の本実施例の A TM-T S変換部全体の処理の流れを、詳細に説明する。 まず、 セル同期部 1は、 受信した ATMセルの区切りを検出する。 次にユーザ間 表示検査部 4は、 セルヘッダ内のユーザ間表示を調べる。 CP SC— PDUは 8 個の ATMセルで構成されるため、 通常は 8セルの間隔でユーザ間表示が 1にな る ATMセルが現れる。 ここで、 説明のため、 前回ユーザ問表示が 1であった A TMセルの次の ATMセルのことを基準セルと呼ぶことにする。 図 8に、セル同期後の本 A TM-T S変換部の CPSC— PDU組立部 2の処理 の最上位のフローチヤ一トを示す。本実施例の ATM-T S変換部では、 ステップ 81でのセル数カウント部 3のカウント結果を nとした時、 そのセル数カウント 結果 nによって(l)n = 8の時、 (2)n<8の時、 (3)n>8の時、 の 3通りに場 合分けし、 これら 3通りの場合に対して、 それぞれステップ 82、 83、 84で 処理 A、 処理 B、 処理 Cを行う。 以下、 これら処理 A、 処理 B、 処理 Cについて 説明する。 Next, the processing flow of the entire ATM-TS conversion unit of the present embodiment in FIG. 1 will be described in detail. First, the cell synchronization unit 1 detects a break of the received ATM cell. Next, the inter-user display inspection unit 4 checks the inter-user display in the cell header. Since the CP SC—PDU consists of eight ATM cells, ATM cells with a user-to-user indication of one usually appear at intervals of eight cells. Here, for the sake of explanation, the ATM cell next to the ATM cell for which the user inquiry indication was 1 last time is called a reference cell. FIG. 8 shows the top-level flowchart of the processing of the CPSC-PDU assembling unit 2 of the ATM-TS conversion unit after cell synchronization. In the ATM-TS conversion section of this embodiment, when the count result of the cell number counting section 3 in step 81 is n, (l) n = 8 by the cell count result n, (2) n When <8, (3) n> 8, the following three cases are performed, and for these three cases, processing A, processing B, and processing C are performed in steps 82, 83, and 84, respectively. . Hereinafter, these processes A, B, and C will be described.
図 9に処理 Aのフローチヤ一トを示す。 処理 Aはユーザ間表示の間隔が正しい 場合の処理である。 この場合、 CPSC— PDU組立部 2では、 基準セルからュ ―ザ間表示が 1となる A T Mセルまでの 8セルから CPSC— PDUを組み立て、 ステップ 9 1、 92でこの C P S C— PDUに対する CRC検査を CRC検査部 5で行う。 この CRC検査の結果、 誤り力検出されなければ、 ステップ 93で T Sバケツ トフィルタ部 70により C P S C— P D Uの T Sバケツ トのデータ力 ?取 り出され、 TSとして出力される。 反対に誤りが検出された場合には、 ステップ 94で CP SC— PDUのデータを廃棄する。 Fig. 9 shows the flowchart of process A. Process A is a process when the display interval between users is correct. In this case, the CPSC-PDU assembling unit 2 assembles the CPSC-PDU from eight cells from the reference cell to the ATM cell where the user-to-user indication is 1, and performs a CRC check on the CPSC-PDU in steps 91 and 92. This is performed by the CRC checker 5. The result of this CRC check, if undetected error power, data force of TS bucket bets CPSC- PDU by TS bucket preparative filter unit 70 in step 93? Is Ri issued preparative is output as TS. Conversely, if an error is detected, step 94 discards the CP SC-PDU data.
図 1 0に処理 Bのフローチャートを示す。 処理 Bでは、 ユーザ間表示が 1であ るセルが基準セルから nセル (ただし n < 8 )目に現れた場合の処理である。  FIG. 10 shows a flowchart of the process B. Process B is a process in the case where a cell whose display between users is 1 appears at the nth cell (where n <8) from the reference cell.
CP SC— PDU組立部 2では、 まずステップ 1 01で、 セル同期部 1の誤り 情報を参照することにより、 ユーザ間表示が 1となった nセル目におけるセルへ ッダの誤りの有無を調べる。 誤りがない場合は、 ATMセルの損失が生じた可能 性があるためステップ 102で後述の処理 Dを.行う。 一方、 セルへッダに誤りが ある場合には、 ステップ 103で、 基準セルから 8セル Sのユーザ間表示を参照 する。 このステップ 103での参照ユーザ間表示が 1である場合、 またはステツ プ 103での参照ユーザ間表示が 0であっても 8セル目のセルヘッダに誤りがあ り参照ユーザ間表示が誤っている可能性があることがステップ 1 04で確認され た場合、 ステップ 1 05で基準セルから 8セルを仮の CPSC— PDUとして、 ステップ 106、 107で CRC検査部 5はこの仮の CP SC— PDUに対し C RC検査を行う。 ステップ】 07の CRC検査の結果、 誤りが検出されなかった 場合には仮の C P S C— PDUは真の C P S C— PDUであったと判定し、 ステ ップ 108ではこの CPSC— PDUから TSバケツ トフィルタ部 70を介して TSパケッ トを抽出する。 一方、 ステップ 1 03で基準セルから 8セル目の参照 ユーザ間表示が 0であること力 ?確認され、 更にステップ 1 04でセルへッダの誤 りがないこと力確認された場合、 またはステップ 106、 107で仮の CPSC 一 PDUに対する CRC検査の結果、 誤り力 s検出された場合には、 ステップ 10 9で後述の処理 Eを行う。 The CP SC—PDU assembling unit 2 first checks in step 101 whether there is a cell header error in the n-th cell where the indication between users is 1 by referring to the error information of the cell synchronizing unit 1. . If there is no error, there is a possibility that an ATM cell has been lost, so the processing D described later is performed in step 102. On the other hand, if there is an error in the cell header, in step 103, reference is made to the display between users in the 8-cell S from the reference cell. If the display between reference users in step 103 is 1, or even if the display between reference users in step 103 is 0, the cell header in the eighth cell is incorrect and the display between reference users may be incorrect. If it is confirmed in step 104 that there is a possibility, the CRC checker 5 makes 8 cells from the reference cell as a temporary CPSC-PDU in step 105, and Perform C RC inspection. Step: If no error is detected as a result of the CRC check in step 07, it is determined that the tentative CPSC-PDU is a true CPSC-PDU, and in step 108, a TS bucket filter unit is generated from this CPSC-PDU. Extract TS packets through 70. On the other hand, force Step 1 03 displayed for 8 cells th reference user from the reference cell is 0? Confirmed, if it is confirmed further erroneous Riganai that force header to the cell in step 1 04, or step, If the error power s is detected as a result of the CRC check for the temporary CPSC PDU in 106 and 107, the process E described later is performed in step 109.
次に処理 Dについて説明する。 図 1 1に処理 Dのフローチャートを示す。 処理 Dは基準セルから nセル目(nく 8)でユーザ間表示が 1 となり、 かつ nセル目の セルでセルヘッダの誤りがない場合の処理である。 この場合、 ひとつの中間デー 夕ュニッ トの CP S C— PDUを構成する 8個の ATMセルのうち(8— n)セル 力損失した可能性がある。 処理 Dでは、 中間データュニッ ト C P SC— PDUか ら構成される TSバケツ トの同期バイトの値が 0 X 4 7(特定パターン、同期パタ ーン)と一致するか否かを TSバケツト同期バイ ト検査部 6力;調べることにより、 セル損失が二つの TSバケツ トのうちどちらで生じたかを判定し、 正しく受信で きている CPCS内の TSバケツ トを抽出する。 Next, the processing D will be described. FIG. 11 shows a flowchart of the processing D. processing D is the process when the display between users is 1 in the nth cell (n x 8) from the reference cell, and there is no cell header error in the nth cell. In this case, it is possible that (8-n) of the eight ATM cells that make up the CP SC-PDU of one intermediate data unit have lost power. In process D, the TS bucket synchronization byte determines whether the value of the synchronization byte of the TS bucket composed of the intermediate data unit CP SC—PDU matches 0x47 (specific pattern, synchronization pattern). Inspection unit 6: Determines which of the two TS buckets caused the cell loss by examining, and extracts the TS bucket in the CPCS that has been correctly received.
この処理 Dでは、 まずステップ 1 1 1で基準セルからユーザ間表示が 1である セルまでのセル数 nが 3より大きいかどうかを調べる。 ここで、 基準セルからュ —ザ間表示が 1であるセルまでの nセルを仮の C P S C— PDUとする。 nが 3 以下の場合、仮の CP S C— PDUのデータ量は 1 44バイ ト 1セル 4 8バイ ト X 3セル)以下であり、 T Sパケッ 卜のパケッ ト長 1 88バイ トに満たない。 こ の場合、 仮の CPSC— PDUの中に有効な TSバケツ トは存在しないため、 仮 の C P S C— PDUのデータを廃棄する。  In this process D, first, in step 1 1 1, it is checked whether or not the number n of cells from the reference cell to the cell whose display between users is 1 is greater than 3. Here, n cells from the reference cell to the cell having a user-to-user indication of 1 are assumed to be temporary CPSC-PDUs. When n is 3 or less, the data amount of the temporary CPSC—PDU is 144 bytes 1 cell 48 bytes X 3 cells) or less, and the packet length of the TS packet is less than 188 bytes. In this case, since there is no valid TS bucket in the temporary CPSC-PDU, the data of the temporary CPSC-PDU is discarded.
ステップ 1 1 1で仮の CP SC— PDUのセル数が 3より大きいことが確認さ れた場合には、 TSパケッ ト同期バイ ト検査部 6はステップ 1 1 2で仮の C P S C— PDU内の TSバケツ トの同期バイトを調べる。 TSバケツ トの问期バイ ト は TSバケツ トの先頭 1バイ ト目のバイ トであり、 0 x 4 7である。 正常な CP S C— PDUでは TSバケツ トが二つ連続しているため、 C P S C— PDUの先 頭 1バイ トと、 先頭から数えて 1 89バイ ト目が TSの同期バイ トとなる。 CP SC— PDUの最後のバイ トを基準-にすると、 後ろから 1 9 6(= 1 88 + 8)バ イ ト目と 3 76バイ ト目が TSの同期バイ トとなる(図 4参照)。 そこで、 ステツ プ 1 1 3、 1 1 4により、 上記仮の CPSC— PDUの先頭 1バイ トと、 先頭か ら数えて 1 89バイ ト目が 0 X 4 7ならば、 仮の CP SC— PDU内に格納され る二つの TSバケツ トのうち前から 1番目の TSバケツ 卜が含まれていると判定 して、 ステップ 1 1 5で 1番目の TSバケツ トを抽出する。 一方、 ステップ 1 1 5により、 仮の C P SC— PDUの後ろから 1 96バイ ト が T Sの同期バイ ト だった場合には、 CP SC— PDUの 2番目の TSバケツ 卜が含まれていると判 定して、 ステップ 1 1 6で 2番目の TSパケッ トを抽出する。 このように処理 D では、 仮の C P SC— PDU中に TSバケツ トが含まれていると判定された場合 は、 その TSパケッ トを抽出し、 仮の C P S C— P DU内のその他のデータを廃 棄する。  If it is confirmed in Step 1 1 1 that the number of cells of the temporary CPSC—PDU is greater than 3, the TS packet synchronization byte checker 6 proceeds to Step 1 12 with the temporary CPSC—PDU in the temporary PDU. Examine the synchronization byte in the TS bucket. The long-term byte of the TS bucket is the first byte of the TS bucket and is 0x47. Since two TS buckets are continuous in a normal CPS C—PDU, the first byte of the CPS C—PDU and the 189th byte counted from the first are the TS synchronization bytes. CP SC—Based on the last byte of the PDU, the 196th (= 188 + 8) and 376th bytes from the back are the TS synchronization bytes (see Figure 4) . Therefore, according to steps 113 and 114, if the first byte of the temporary CPSC-PDU and the 1189th byte from the head are 0X47, the temporary CPSC-PDU It is determined that the first TS bucket from the front of the two TS buckets stored therein is included, and the first TS bucket is extracted in step 1 15. On the other hand, according to step 115, if the last 196 bytes of the temporary CP SC—PDU are TS synchronization bytes, it is determined that the second TS bucket of the CP SC—PDU is included. Then, in step 1 16, the second TS packet is extracted. In this way, in process D, when it is determined that the TS packet is included in the temporary CPSC-PDU, the TS packet is extracted and the other data in the temporary CPSC-PDU is extracted. Discard.
次に処理 Eについて説明する。 図 1 2に処理 Eのフローチヤ一トを示す。 処理 Eでは次にステップ 1 2 1でユーザ間表示が 1 となるセルを待ち、 ステップ 1 2 2でュ一ザ間表示が 1であつたセルとその直前の 7セルの合計 8セルを仮の C P SC— PDUとして、 ステップ 1 23で CRC検査を行う。 CRC検査の結果、 誤りがないとステップ 124で判定された場合には、 仮の CPSC— PDUを真 の C P S C— PDUと判定し、 ステップ 125で TSバケツ トを取り出す。 反対 にステップ 124で CRC検査で誤りが検出された場合には、 ステップ 1 26の データ廃棄とステップ 127の 1セルの進め処理とを経由して再度処理 Eの最初 に戻り、 誤りのない真の CP SC— PDUが見つかるまで処理を繰り返す。 次に処理 Cについて説明する。 処理 Cは基準セルから次にユーザ間表示が 1と なるセルまでのセル数が 8を超えている場合の処理である。 図 1 3にこの処理 C のフローチャートを示す。 処理 Cでは、 まず、 基準セルから 8セル Hのセルへッ ダに誤りがあり参照ユーザ間表示が誤っている可能性があることがステツプ 1 3 1で確認された場合、 ステップ 132で基準セルから 8セルを仮の CP SC— P DUとして、 ステップ 133、 1 34で CRC検査部 5はこの仮の CP S C— P DUに対し CRC検査を行う。 ステップ 134の CRC検査の結果、 誤りがない 場合には仮の CP SC— PDUを真の CPSC— PDUとし、 ステップ 135で はこのひとつの中間データュニッ ト CPSC— PDUから TSバケツ トフィルタ 部 70を介して二つの TSバケツ トを抽出する。 尚、 取り出した CP SC— PD Uの次のセルを基'準セルとして再び処理を行う(図 8参照)。 ステップ 1 3 1で基 準セルから 8セル目のセルへッダに誤りがないこと確認された場合、 もしくはス テツプ 134での CRC検査の結果、 誤りが検出された場合には、 ステップ 13 6で、 n = 4とし、 処理 Dにより前パケッ ト部の抽出を試み(図 1 1参照)、 その 後、 処理 Eにより次の真の CPSC— PDUを探す (図 1 2参照)。 Next, the processing E will be described. Fig. 12 shows the flowchart of process E. In process E, next, the cell in which the display between users is 1 is waited in step 122, and the cell in which the display between users is 1 and the immediately preceding cell in step 122 are totaled 8 cells in total. CP As SC—PDU, the CRC is checked in step 123. As a result of the CRC inspection, if it is determined in step 124 that there is no error, the temporary CPSC-PDU is determined to be a true CPSC-PDU, and in step 125, a TS bucket is extracted. Conversely, if an error is detected in the CRC check in step 124, the processing returns to the beginning of processing E again through the data discarding in step 126 and the one-cell advance processing in step 127, and the error-free true CP SC — Repeat until a PDU is found. Next, the process C will be described. Process C is a process when the number of cells from the reference cell to the next cell where the display between users becomes 1 exceeds eight. FIG. 13 shows a flowchart of the process C. In process C, first, if it is confirmed in step 13 1 that there is an error in the cell header of cell 8 H from the reference cell and there is a possibility that the display between the reference users is wrong, From Steps 8 and 9 as the temporary CP SC-P DU, in steps 133 and 134, the CRC inspection unit 5 performs a CRC inspection on the temporary CP SC-P DU. If there is no error as a result of the CRC check in step 134, the tentative CPSC-PDU is regarded as a true CPSC-PDU. To extract two TS buckets. The process is performed again with the next cell of the taken out CP SC-PDU as the reference cell (see FIG. 8). If it is confirmed in step 13 that there is no error in the header of the eighth cell from the reference cell, or if an error is detected as a result of the CRC check in step 134, Then, set n = 4, and try to extract the previous packet part by processing D (see Fig. 11), and then search for the next true CPSC-PDU by processing E (see Fig. 12).
以上説明したように、図 1の本実施例のデータ受信装置の A TM-T S変換部で は、 基準セルから次にユーザ間表示が 1となるセルまでのセル数に応じて上述の 処理 A、 処理 B、 処理 Cを行い、 それぞれ C P S C— PDUに対する処理が終了 した時点で、 処理完了した C P S C— P DUの直後のセルを次の基準セルとして 同様の処理を橾り返すものである(図 8参照)。  As described above, the ATM-TS converter of the data receiving apparatus of the present embodiment shown in FIG. 1 performs the above-described processing in accordance with the number of cells from the reference cell to the cell where the next display between users becomes one. A, Process B and Process C are performed, and when the process for the CPSC-PDU is completed, the same process is repeated with the cell immediately after the completed CPSC-P DU as the next reference cell ( (See Figure 8).
このように本実施例では、 セルへッダの誤りが原因でユーザ間表示が誤ってい た場合にも中間データユニッ ト C P S C— P D Uを正しく組み立てることが可能 となる。 また、 C P SC— PDUを構成するセルが欠けていた場合に、 廃棄する TSバケツ トのデータを最小限にできる。  As described above, in the present embodiment, the intermediate data unit CPSC-PDU can be correctly assembled even when the display between users is incorrect due to an error in the cell header. Also, when cells constituting the CPSC-PDU are missing, the data of the TS bucket to be discarded can be minimized.
また、 本発明は上述の具体的実施例に限定されるものではなく、 その基本的な 技術思想の範囲内で種々の変形が可能である。  Further, the present invention is not limited to the above-described specific embodiments, and various modifications can be made within the scope of the basic technical idea.
上述の実施例では、 ひとつの中間データュニッ ト C P S C— PDUは 8個の A T Mセルに分割され、 境界 A T Mセル識別情報である A T Mレイャュ一ザ間表示 はこの 8個の ATMセルのうち最終の ATMセルか否かを区別する最終 ATMセ ル識別情報で有った力 ?、 逆に 8個の ATMセルのうち先頭の ATMセルか否かを 区別する先頭 ATMセル識別情報でもよく、 この場合には、 セル同期部 1は受信 データである A T Mセルを受けてこの先頭 A T Mセル識別情報をュ一ザ間表示検 査部 4へ供給すれば良いことは言うもでもない。 In the above embodiment, one intermediate data unit CPSC—PDU is divided into eight ATM cells, and the boundary ATM cell identification information between ATM layers is displayed by the last ATM cell among the eight ATM cells. What was the last ATM cell identification information that distinguished whether or not it is ? Conversely, whether it was the first ATM cell among the eight ATM cells The head ATM cell identification information to be distinguished may be used. In this case, the cell synchronization unit 1 may receive the ATM cell as the received data and supply this head ATM cell identification information to the inter-user display inspection unit 4. Not to mention that.
なお、 上述の処理 Dでは、 仮の C P S C— PDUから抽出する T Sバケツ トの 信頼性を向上させるための処理を付加してもよい。 例えば、 仮の CP SC— PD Uを構成する 8個の ATMセルの全セルについてセルへッダの誤りがない場合に 限り、 T Sパケッ トの抽出を行うこと力考えられる。 これにより C P SC— PD U内のビッ ト誤りの可能性が低いこと力'保証され、 抽出される TSバケツ トの信 頼性が向上する。  In the above-described process D, a process for improving the reliability of the TS bucket extracted from the temporary CPSC-PDU may be added. For example, it is conceivable to extract TS packets only if there are no cell header errors for all eight ATM cells that make up the temporary CPSC-PDU. This ensures that the possibility of bit errors in the CPSC-PDU is low, and improves the reliability of the extracted TS bucket.
また上述の処理 Eでは、 ユーザ問表示が 1のセルとその直前の 7セルのみを仮 の C P S C— PDUとして扱った力 ユーザ間表示が 0であってもそのセルのセ ルヘッダに誤りがあることがステップ 12 1とステップ 122との間の他のステ ップで確認された場合には、 そのセルとその直前の 7セルの合計 8セルを仮の C PSC— PDUとしステップ 123、 124で CRC検査を行ってもよい。 これ によりユーザ間表示が誤っている場合にも、 正しく CPSC— PDUを組み立て ることが可能となる。  Also, in process E described above, the cell header of the cell with the user indication of 1 and the 7 cells immediately before it are treated as the temporary CPSC-PDU, even if the indication between the users is 0, there is an error in the cell header of that cell. If this is confirmed in another step between step 121 and step 122, the cell and the seven cells immediately before it are used as a temporary C PSC-PDU, and the CRC An inspection may be performed. This makes it possible to correctly assemble the CPSC-PDU even if the display between users is incorrect.
次に本発明の第二の実施例について説明する。 図 14に本実施例のデータ受信 装置の ATM- TS変換部を示す。  Next, a second embodiment of the present invention will be described. FIG. 14 shows the ATM-TS converter of the data receiving device of the present embodiment.
図 14に示す本実施例は、図 1の ATM-TS変換部に TSバケツ ト P I D取得 部 1 1と P I D比較部 12とを加え、 さらに図 1の TSバケツ トフィルタ制御部 80にデータ廃棄情報を出力する機能を付加した T Sバケツ トフィルタ制御部 8 1を用いて構成したものである。 以下、 TSバケツ ト P I D取得部 1 1、 P I D 比較部 12、 TSバケツトフィルタ制御部 81について説明する。  In the present embodiment shown in FIG. 14, a TS bucket PID acquisition unit 11 and a PID comparison unit 12 are added to the ATM-TS conversion unit of FIG. 1, and the data discard information is transmitted to the TS bucket filter control unit 80 of FIG. This is configured by using a TS bucket filter control unit 81 to which a function of outputting a is added. Hereinafter, the TS bucket PID acquisition unit 11, the PID comparison unit 12, and the TS bucket filter control unit 81 will be described.
廃棄する TSバケツ トヘッダの特定パターンの同期バイ ト(同期パターン)が正 しいことが廃棄する TSバケツ ト同期バイ ト検査部 6にて検出された場合には、 TSバケツ ト P I D取得部 1 1は TSバケツ トへッダ内の P I D (バケツ ト識別 用フィ一ルドのデータ)を取得する。  If the TS bucket synchronization byte inspection unit 6 detects that the synchronization byte (synchronization pattern) of the specific pattern of the TS bucket header to be discarded is correct, the TS bucket PID acquisition unit 11 Get the PID (bucket identification field data) in the TS bucket header.
P I D比較部 12では、 T Sパケッ ト P I D取得部 1 1で取得した P I Dとそ の時点でデータ受信装置で選択されているプログラムのビデオデータが格納され ている TSバケツトの P I D (以下ビデオ P I Dと呼ぶ)との比較を行うとともに、 同様にオーディォデータが格納されている TSバケツ トの P I D (以下オーディ ォ P I Dと呼ぶ)との比較を行う。 これらの比較の結果、 TSバケツ ト P I D取得 部 1 1にて取得した P I Dがビデオ P I Dまたはオーディオ P I Dと等しい場合 には、 それぞれビデオデータ廃棄情報とオーディオデータ廃棄情報とを P I D比 較部 12が出力する。 これらビデオデータ廃棄情報、 オーディオデータ廃棄情報 はそれぞれ T S復号部 92のビデオデコーダ 922、 オーディォデコーダ 923 (図 7参照)に入力される。 なお、 上記ビデオ P ID、 オーディオ P I Dは後述す るプログラム時刻情報 PC R_P I Dと同様、 TS復号部 92(図 5、 図 7参照)か ら与えられる。 In the PID comparison unit 12, the PID acquired by the TS packet PID acquisition unit 11 and the PID of the TS bucket storing the video data of the program selected by the data receiving device at that time (hereinafter referred to as video PID) ) As well as the PID of the TS bucket in which audio data is stored (hereinafter referred to as audio PID). As a result of these comparisons, if the PID acquired by the TS bucket PID acquisition unit 11 is equal to the video PID or the audio PID, the PID comparison unit 12 outputs the video data discard information and the audio data discard information, respectively. I do. The video data discard information and the audio data discard information are respectively supplied to the video decoder 922 and the audio decoder 923 of the TS decoder 92. (See Figure 7). The video PID and the audio PID are provided from the TS decoding unit 92 (see FIGS. 5 and 7), similarly to the program time information PCR_PID described later.
特に TSパケッ トフィルタ制御部 81では、 データ廃棄を行う場合に、 データ 廃棄の有無をデータ廃棄情報として後段の TS復号部 92(図 5、 図 7参照)に伝 える。 TS復号部 92ではデータ廃棄情報を受け取り、 それに応答したデータ廃 棄対応処理を行う。  In particular, when performing data discarding, the TS packet filter control unit 81 transmits the presence / absence of data discarding to the subsequent TS decoding unit 92 (see FIGS. 5 and 7) as data discarding information. The TS decoding section 92 receives the data discard information and performs a data discard handling process in response to the data discard information.
このようにこの実施例では、 データ廃棄により T Sの時間軸が不連続になるこ とを後段の T S復号部 92 (図 5、 図 7参照)に予め知らせることができるため、 TSの時間軸の不連続によるビデオやオーディォの復号への悪影響を最小限に抑 えることが可能となる。 また、 ビデオデータ廃棄情報、 オーディオデータ廃棄情 報をそれぞれビデオデコーダ、 オーディオデコーダに伝達することにより、 前も つてデータ廃棄に対する対策を行うことができ、 デ一夕廃棄の影響を最小限に抑 えることが可能となる。 この結果、 ATMセルの損失や誤りが TSへ及ぼす悪影 響を低減することが可能となる。  As described above, in this embodiment, the TS decoding unit 92 (see FIGS. 5 and 7) at the subsequent stage can be notified in advance that the time axis of the TS will be discontinuous due to data discarding. It is possible to minimize the adverse effect on video and audio decoding due to discontinuity. Also, by transmitting video data discard information and audio data discard information to the video decoder and audio decoder, respectively, it is possible to take countermeasures against data discard in advance, and to minimize the impact of data discard. It becomes possible. As a result, it is possible to reduce the adverse effect on the TS caused by the loss or error of the ATM cell.
なお、 この実施例では P I D比較部 12において、 廃棄する TSパケッ トの P I Dの比較対象となる P I Dがビデオ P I D、 オーディオ P I Dの場合について 示した力 s、 比較対象となる P I Dはこの二つに限定されるものではない。 例えば T Sの一つのプログラムがビデオ、 ォ一ディォとそれ以外の要素から構成される 場合には、 その要素が格納されている TSバケツ トの P I Dも比較対象とする構 成も可能であることは言うまでもない。 In this embodiment, in the PID comparison unit 12, the force s shown when the PID to be compared with the PID of the TS packet to be discarded is a video PID and an audio PID, and the PID to be compared is limited to these two. It is not something to be done. For example, if one program of TS consists of video, audio, and other elements, it is possible that the PID of the TS bucket in which that element is stored can also be compared. Needless to say.
次に本発明の第三の実施例について説明する。 図 15に本実施例のデータ受信 装置の ATM-TS変換部を示す。 本実施例は図 14の ATM-TS変換部にダミ —バケツ ト生成部 10を加えることによって、 データ廃棄情報の代わりに TSの 時間軸の不連続を示すダミーパケッ トを T Sに揷入するものである。  Next, a third embodiment of the present invention will be described. FIG. 15 shows the ATM-TS conversion unit of the data receiving device of the present embodiment. In this embodiment, a dummy packet indicating the discontinuity of the time axis of the TS is inserted into the TS instead of the data discard information by adding the dummy-bucket generation unit 10 to the ATM-TS conversion unit of FIG. is there.
ダミーバケツト生成部 10では、 ATM-TS変換部で TSバケツ トのデータの 廃棄を行う場合に、 その時点で選択されているプログラム時刻情報 P C R (Program Clock Reference)が格納されている T Sパケッ トの P I D (以下 P C R— P I Dと呼ぶ)を P I Dとして持つダミーの TSバケツ トを生成するものである。ま た、 このダミーバケツ トは、 ノ、。ケッ 卜の先頭 4バイ トの TSバケツ トヘッダの後 に adaptation— field ¾r持ち、 adap tion— field Wの discontinuity一 indicator (小連fec表/: 1としたものにする。 なお、 PCR— P I Dは TS復号部 92(図 5、 図 7参照)か ら与えられる。 TSバケツ トフィルタ部 71では、 CPSC— PDUから取り出 された TSバケツ トと、 ダミーバケツ ト生成部 10で生成されたダミーバケツ ト を切り替えて出力する。 この切り替えのタイミングは TSバケツ トフィルタ制御 部 81により制御される。 この実施例では、 上記ダミーバケツ トを用いて TS内に時問軸の不連続を示す 情報を埋め込むことにより、 T s復号-部の処理を変更することなくデータ廃棄を T S復号部に伝達することが可能となる。 In the dummy bucket generation unit 10, when discarding TS bucket data in the ATM-TS conversion unit, the PID of the TS packet storing the currently selected program time information PCR (Program Clock Reference) is stored. (Hereinafter referred to as PCR-PID) as a dummy TS bucket having a PID. Also, this dummy bucket is no. After the first 4 bytes of the TS bucket header, there is an adaptation-field ¾r, and the discontinuity of the adaptation-field W is one indicator (Koren fec table /: 1. The PCR-PID is TS This is provided from the decoding unit 92 (see FIGS. 5 and 7) In the TS bucket filter unit 71, the TS bucket extracted from the CPSC-PDU and the dummy bucket generated by the dummy bucket generation unit 10 The switching timing is controlled by the TS bucket filter control unit 81. In this embodiment, the information indicating the discontinuity of the time axis is embedded in the TS using the dummy bucket, thereby transmitting the data discard to the TS decoding unit without changing the processing of the Ts decoding unit. It becomes possible.
以上、本発明の種々の実施例について詳細に説明した力 ATM-T S変換部を 構成する各構成要素は必ずしも専用ハードウェアである必要はない。 例えば、 ハ 一ドウエアとしては CP U (Central Processing Unit)とメモリ(Memory Unit)を用い、 各構成要素の機能をメモリ内に格納されたアプリケーションプログラムのサブル 一チンプログラム等のソフトウエアによって実現することも可能である。  As described above, the components constituting the ATM-TS converter described in detail for the various embodiments of the present invention do not necessarily need to be dedicated hardware. For example, using hardware such as a CPU (Central Processing Unit) and a memory (Memory Unit), the functions of each component are realized by software such as a subroutine program of an application program stored in the memory. Is also possible.
本発明の実施例によれば、 ユーザ間表示が誤っている場合にも正しい C P S C — PDUを構成することが可能となる。 また、 CP SC— PDU内の TSバケツ トの同期バイ トを調べることにより、 セル損失のある C P SC— PDUから TS パケッ トを取り出すことが可能となる。 このため、 データの廃棄量を最小限に抑 えることができる。  According to the embodiment of the present invention, it is possible to configure a correct CPSC-PDU even when the display between users is incorrect. Also, by examining the synchronization byte of the TS bucket in the CP SC-PDU, it becomes possible to extract the TS packet from the CP SC-PDU with cell loss. Therefore, the amount of data discard can be minimized.
さらにまた、データ廃棄を行う場合に A T M- T S変換部の後段の T S復号部内 ビデオデコーダ、 オーディオデコーダにデータ廃棄の予告を行うことにより、 デ ―タ廃棄の悪影響を最小限に抑えることが可能となる。  Furthermore, when discarding data, it is possible to minimize the adverse effects of data discarding by notifying the video decoder and audio decoder in the TS decoder after the ATM-TS converter of the data discard. Becomes
従って、 本発明の実施例によれば T S内のビデオ、 オーディオの出力の品質を 向上することができる。  Therefore, according to the embodiment of the present invention, the quality of video and audio output in TS can be improved.
本発明によれば、 受信データである ATMセルのセルへッダの誤りによるひと つの中間データュニッ ト CP S C— PDUの組み立て誤りを低減することの可能 なデータ受信装置を提供することが可能となる。 産業上の利用可能性  According to the present invention, it is possible to provide a data receiving apparatus capable of reducing an error in assembling one intermediate data unit CP SC-PDU due to an error in a cell header of an ATM cell as received data. . Industrial applicability
本発明はビデオ、 オーディォ等のデータを多重化したストリームを ATMセル 方式で送受信するデータ送受信システムのデータ受信装置に利用することができ る。特に、 MPEG2 (Moving Picture Experts Group 2 )システム規格で定められる T S (Transport Stream)にて、 ビデオ、 オーディオデータを多重化した後、 ATMセ ルに分割して送信されたデータを受信するデータ受信装置に応用できる。  INDUSTRIAL APPLICABILITY The present invention can be used for a data receiving device of a data transmitting / receiving system that transmits / receives a stream obtained by multiplexing data such as video and audio in the ATM cell system. In particular, a data receiving device that receives video and audio data multiplexed by TS (Transport Stream) defined by the MPEG2 (Moving Picture Experts Group 2) system standard, and then divides the data into ATM cells and receives the transmitted data Applicable to

Claims

請 求 の 範 囲 The scope of the claims
. 送信側で、 パケッ トへッダと符号化データとを含む複数の転送パケッ トから 誤り検出符号データカ?付加されたひとつの中間データュニッ トを構成し、 該ひ とつの中間データュニッ トの分割によってセルへッダとデ一夕列とを含む複数 のセルデータを構成して送信し、 上記複数のセルデータのそれぞれのセルへッ ダは対応するセルデータが上記ひとつの中間デ一タュニッ トから構成される上 記複数のセルデータの先頭のセルデータと最終のセルデータとのいずれか一方 の境界セルであるか否かを示す境界セル識別情報を含み、 . In the transmission side, constitute an error detection code Detaka? Appended one intermediate Detayuni' bets from a plurality of transfer packets including a header and encoded data to the packet, by resolution of the intermediate Detayuni' bets該Hi convex A plurality of cell data including a cell header and a sequence of data are configured and transmitted, and each of the cell headers of the plurality of cell data has corresponding cell data transmitted from the one intermediate data unit. Boundary cell identification information indicating whether the cell data is one of the first cell data and the last cell data of the plurality of cell data, and
上記送信された上記複数のセルデータを受信するデータ受信装置であつて、 上記複数の受信セルデ一タカ >ら誤り検出符号デ一タが付加されたひとつの中 問データュニッ トを構成するデータ構成部と、  A data receiving device for receiving the transmitted plurality of cell data, wherein the data forming unit comprises one interrogation data unit to which error detection code data is added from the plurality of received cell data. When,
上記データ構成部で構成された上記ひとつの中間デー夕ユニッ トに付加され た上記誤り検出符号デ一タから誤りを検査する誤り検査部と、  An error checking unit for checking an error from the error detection code data added to the one intermediate data unit configured by the data configuration unit;
上記受信 '構成による上記ひとつの中間データュニッ トからバケツ トへッダ と符号化データとを含む複数の転送バケツ トを構成するバケツ ト構成部と、 t記複数の受 セルデータの上記境界セル識別情報に応答し、 受信セルデ— 夕が上記境界セルであることを上記境界セル識別情報が示した後、 後続の受信 セルデータが上記境界セルであることを次の境界セル識別情報が示すまでの受 信セルデータのセル数をカウントするカウント部とを具備してなり、  A bucket forming unit forming a plurality of transfer buckets including the header and the coded data from the one intermediate data unit by the above-mentioned receiving structure, and the boundary cell identification of the plurality of received cell data; In response to the information, the boundary cell identification information indicates that the reception cell data is the boundary cell, and then the next boundary cell identification information indicates that the subsequent reception cell data is the boundary cell. A counting unit for counting the number of cells of the received cell data,
Ji記力ゥント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数に一致する時は、 上記誤り検 査部から誤りが検出されないことに応答して上記デ一タ構成部で構成された上 記ひとつの中問データュニッ トは上記バケツ ト構成部へ転送されて、 上記複数 の転送パケッ 卜が ί 成され、  When the number of count cells in the Ji recording component matches the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, it is determined that no error is detected from the error detection unit. In response, the above-mentioned interrogative data unit composed of the data constituent unit is transferred to the bucket constituent unit, and the plurality of transfer packets are formed.
上記力ゥン ト ^のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを搆成する 1. 衩数のセルデータのセル数より小さい時は、 該カウント セル数が小さな ·ίύ·セルデータのセルへッダの誤り検出符号デ一タにより該受 信セルデータの七ルへッダに誤りがあると言う検査結果に応答し、 さらに上記 誤り検¾部から^りが検出されないことに応答して上記データ構成部で構成さ れた上記ひとつの中 Pi]データュニッ トは上記バケツ ト構成部へ転送されて、 上 記複数の転込パケッ トが構成されることを特徴とするデータ受信装置。 The number of count cells of the above-mentioned force count forms the above-mentioned one intermediate data unit on the transmitting side. 1. When the number of cells of the plurality of cell data is smaller than the number of cells of the plurality of cell data, the number of the count cells is small. Responds to the test result that the header of the received cell data has an error by the error detection code data of the cell header of the cell data, and no error is detected from the error detection unit. In response to this, the one [Pi] data unit composed of the data configuration unit is transferred to the bucket configuration unit, and the plurality of transfer packets are configured. Data receiver.
. 上記バケツ ト ί¾成部で上記受信 '構成による上記ひとつの中間データュニッ トから構成される上記転送バケツ トの上記バケツ トヘッダの同期パターン力 f所 定のパターンと一致するか否かを検査する転送パケッ ト同期パターン検査部を さらに具備してなり、 A transfer for checking whether or not the synchronous pattern strength f of the bucket header of the transfer bucket composed of the one intermediate data unit according to the reception configuration in the bucket forming unit f matches a predetermined pattern. It further comprises a packet synchronization pattern inspection unit,
上記力ゥント部の力ゥントセル数が上記送信側の上記ひとつの中間デ一夕ュ ニッ トを構成する上記複数のセルデータのセル数より小さい時は、 該カウント セル数が小さな受信セルデータのセルへッダの誤り検出符号データにより該受 信セルデータのセルヘッダに誤りがないと言う検査結果に応答し、 さらに上記 カウント部の上記カウントセル数がヒ記送信側の上記ひとつの中間データュニ ッ トを構成する上記複数のセルデータのセル数の半分の値以上であることに応 答し、 さらに上記転送パケッ ト同期パターン検査部の検査出力に応答して、 上 記ひとつの中間データュニッ トから構成される上記複数の転送バケツトのうち 上記所定のパターンと一致する同期パターンを含む転送パケッ トに対応する上 記ひとつの中間データュニッ トの部分データが上記バケツ ト構成部へ転送され、 上記所定のパターンと一致する上記同期パターンを含むヒ記転送パケッ トが構 成されることを特徴とする請求の範囲第 1項に記載のデータ受信装置。The number of force cells in the power point unit is equal to the one intermediate delay on the transmitting side. When the number of cells of the plurality of cell data constituting the nit is smaller than the number of cells of the plurality of cell data, it is required that the cell header of the received cell data has no error by the error detection code data of the cell header of the received cell data having the small number of counted cells. In response to the inspection result, the number of cells in the counting unit is more than half the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side. In response to the inspection output of the transfer packet synchronization pattern inspection unit, a transfer including a synchronization pattern that matches the predetermined pattern among the plurality of transfer buckets composed of the one intermediate data unit. The partial data of the above-mentioned one intermediate data unit corresponding to the packet is transferred to the above-mentioned bucket constituting section, and the above-mentioned predetermined pattern and Match the data receiving apparatus according to claim 1, characterized in that it is made arsenide Symbol transfers packets Toga構 containing the synchronization pattern.
. 上記バケツ ト構成部で構成される上記複数の転送バケツ トを所望のプログラ ムデ一タへ復号するデータ復号部と、 A data decoding unit that decodes the plurality of transfer buckets configured by the bucket configuration unit into desired program data;
上記バケツ ト構成部で上記受信 ·構成による上記ひとつの中間データュニッ トから構成される上記転送パケッ トの上記パケットへッダの h記同期バタ一ン が上記所定のパターンと一致することが上記転送パケッ ト同期パタ一ン検査部 で検査された場合に上記転送バケツ トの上記バケツ トヘッダのバケツ ト識別用 フィ一ルドデータと選択プログラムのプログラムデータ力 f格納された複数の転 送パケッ トのパケッ ト識別用フィ一ルドデ一タとの比較を行う識別フィールド 比較部とをさらに具備してなり、 In the above-mentioned packet forming unit, the above-mentioned transfer is performed when the synchronization pattern of the packet header of the above-mentioned packet header of the above-mentioned transfer packet composed of the above-mentioned one intermediate data unit by the above-mentioned reception and structure matches the above-mentioned predetermined pattern. When inspected by the packet synchronization pattern inspection unit, the packet data of the plurality of transfer packets stored with the field data for bucket identification of the bucket header of the transfer packet and the program data of the selected program f. An identification field comparison unit that compares the data with the field data for identification.
上記ひとつの中間データュニットから構成される上記複数の転送バケツ トの うち上記所定のパターンと一致する同期パターンを含む上記転送パケッ トに対 応する上記ひとつの中間データュニッ 卜の上記部分データが上記バケツ ト構成 部へ転送され、 上記所定のパターンと一致する上記同期パターンを含む上記転 送バケツ トカ ?構成される際に、 上記ひとつの中間データュニッ トのデータのう ち上記部分データ以外のデータは転送パケッ トの構成のために実効的に使用さ れず実効的に破棄されるものであり、 Among the plurality of transfer buckets composed of the one intermediate data unit, the partial data of the one intermediate data unit corresponding to the transfer packet including the synchronization pattern that matches the predetermined pattern is the bucket. is transferred to the component, when it is the transfer bucket crossing? configuration including the synchronization pattern consistent with the predetermined pattern, data other than the one intermediate Detayuni' DOO data sac Chi the partial data transfer packets Are not effectively used due to the composition of the
上記部分データ以外の上記データの実効的な破棄に際して、 上記識別フィ一 ルド比較部が上記実効的破棄デ一タに関.して上記二つのパケッ ト識別用フィ一 ルドデータの一致を検出した場合は、 上記実効的破棄一致の検出結果が上記デ —夕復号部へ伝達されることを特徴とする請求の範囲第 2項に記載のデータ受 信装置。 When the data other than the partial data is effectively discarded, the identification field comparing unit detects a match between the two packet identification field data with respect to the effective discard data. 3. The data receiving apparatus according to claim 2, wherein, in this case, the detection result of the effective discard match is transmitted to the data decoding unit.
. 送信側で、 パケットヘッダと符号化データとを含む複数の転送パケットから 誤り検出符号データが付加されたひとつの中間データュニッ トを構成し、 該ひ とつの中間データュニッ トの分割によってセルヘッダとデー夕列とを含む複数 のセルデータを構成して送信し、 上記複数のセルデータのそれぞれのセルへッ ダは対応するセルデータが上記ひとつの中間データユニッ トから構成される上 記複数のセルデ一タの先頭のセルデータと最終のセルデータとのいずれか一方 の境界セルであるか否かを示す境界セル識別情報を含み、 On the transmitting side, one intermediate data unit to which error detection code data is added is composed of a plurality of transfer packets including a packet header and encoded data, and the cell header and the data are divided by dividing the one intermediate data unit. A plurality of cell data including a column and the like are configured and transmitted, and each cell data of the above plurality of cell data is read. Indicates whether the corresponding cell data is a boundary cell of one of the first cell data and the last cell data of the above plurality of cell data composed of the one intermediate data unit. Including boundary cell identification information;
上記送信された上記複数のセルデータを受信するデータ受信装置であつて、 上記複数の受信セルデ一タから誤り検出符号デ一タ力付加されたひとつの中 間データュニットを構成するデータ構成部と、  A data receiving device for receiving the transmitted plurality of cell data, comprising: a data constituent unit forming one intermediate data unit to which an error detection code data is added from the plurality of received cell data;
上記デ一夕構成部で構成された上記ひとつの中間データユニッ トに付加され た上記 り検出符号データから誤りを検査する誤り検査部と、  An error checking unit for checking an error from the detection code data added to the one intermediate data unit configured by the data configuration unit;
上記受信 '構成による上記ひとつの中間データュニッ トからバケツ トヘッダ と符号化データとを含む複数の転送バケツ トを構成するバケツ ト構成部と、 上記複数の受信セルデータの上記境界セル識別情報に応答し、 受信セルデー タが上記境界セルであることを上記境界セル識別情報が示した後、 後続の受信 セルデータが上記境界セルであることを次の境界セル識別情報が示すまでの受 信セルデ一夕のセル数をカウントするカウント部とを具備してなり、  A packet configuring unit configured to form a plurality of transfer buckets including a bucket header and encoded data from the one intermediate data unit according to the reception configuration, and responding to the boundary cell identification information of the plurality of received cell data; After the boundary cell identification information indicates that the reception cell data is the boundary cell, the reception cell data until the next boundary cell identification information indicates that the subsequent reception cell data is the boundary cell. And a counting unit for counting the number of cells of
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数に一致する時は、 上記誤り検 査部から誤り力'検出されないことに応答して上記デ一タ構成部で構成された上 記ひとつの中間データュニッ トは上記バケツ ト構成部へ転送されて、 上記複数 の転送バケツ トカ s構成され、 When the number of count cells in the counting unit matches the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, a response is returned to the error detecting unit that no error is detected. intermediate Detayuni' DOO above SL one constituted by the de one data structure portion is transferred to the bucket preparative component is composed of the plurality of transfer buckets crossing s and,
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数より大きい時は、 上記カウン ト部のカウントセル数が上記送信側の上記ひとつの中間データュニッ トを構成 する上記複数のセルデータのセル数に一致する受信セルデータのセルへッダの mり検出符号データにより該受信セルデータのセルへッダに誤りがあると言う 検査結果に応答し、 さらに上記誤り検査部から誤り力 ?検出されないことに応答 して上記データ構成部で構成された上記ひとつの中間データュニッ トは上記パ ケッ ト構成部へ転送されて、 上記複数の転送バケツ トが構成されることを特徴 とするデータ受信装置。When the number of count cells in the counting unit is larger than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, the number of counting cells in the counting unit is one in the transmitting side. Inspection result that the cell header of the received cell data has an error due to the detection code data of the cell header of the received cell data that matches the number of cells of the plurality of cell data constituting the intermediate data unit of the above in response to further error power from the error check unit? intermediate Detayuni' preparative defined above which is constituted by the data structure portion in response one can not be detected is transferred to the path Kek preparative component, said plurality of transfer A data receiving device comprising a bucket.
. 上記バケツ ト構成部で上記受信 '構成による上記ひとつの中間データュニッ トから構成される上記転送バケツ トの上記バケツ トヘッダの同期パターンが所 定のパターンと一致するか否かを検査する転送パケッ ト同期パターン検査部を さらに具備してなり、 A transfer packet for checking whether or not a synchronization pattern of the bucket header of the transfer bucket composed of the one intermediate data unit according to the reception configuration in the bucket configuration unit matches a predetermined pattern. Further comprising a synchronous pattern inspection unit,
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数より小さい時は、 該カウント セル数が小さな受信セルデ一タのセルへッダの誤り検出符号データにより該受 信セルデータのセルへッダに誤りがないと言う検査結果に応答し、 さらに上記 カウント部の上記カウントセル数が上記送信側の上記ひとつの中間データュニ ッ トを構成する上記複数のセルデータのセル数の半分の値以上であることに応 答し、 さらに上記転送パケッ ト同期パターン検査部の検査出力に応答して、 上 記ひとつの中間データュニッ トから構成される上記複数の転送バケツ トのうち 上記所定のパターンと一致する同期パターンを含む転送パケッ トに対応する上 記ひとつの中間データュニッ トの部分データが上記バケツ ト構成部へ転送され、 上記所定のパターンと一致する上記同期パターンを含む上記転送パケッ トが構 成されることを特徴とする請求の範囲第 4項に記載のデータ受信装置。When the number of count cells in the counting section is smaller than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, the cell header of the received cell data having the smaller number of counted cells is used. Responds to the test result that the cell header of the received cell data has no error with the error detection code data of Responds that the number of counted cells in the counting section is equal to or greater than half the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, and further includes the transfer packet synchronization pattern. In response to the inspection output of the inspection unit, one of the plurality of transfer buckets composed of the one intermediate data unit corresponding to the transfer packet including the synchronization pattern that matches the predetermined pattern. 5. The transfer packet according to claim 4, wherein partial data of an intermediate data unit is transferred to the bucket configuring unit, and the transfer packet including the synchronization pattern matching the predetermined pattern is configured. Data receiving device.
. 上記バケツ ト構成部で構成される上記複数の転送バケツ トを所望のプログラ ムデ一タへ復号するデ一タ復号部と、 A data decoding unit that decodes the plurality of transfer buckets configured by the bucket configuration unit into desired program data;
上記パケッ ト構成部で上記受信 ·構成による十.記ひとつの中間データュニッ トから構成される上記転送バケツ トの上記バケツ トヘッダの上記同期パターン が上記所定のパターンと一致すること力5'上記転送パケッ ト同期パターン検査部 で検査された場合に上記転送バケツ トの上記バケツ トヘッダのバケツ ト識別用 フィールドデータと選択プログラムのプログラムデータが格納された複数の転 送パケッ トのパケッ ト識別用フィールドデータとの比較を行う識別フィ一ルド 比較部とをさらに具備してなり、 According to the reception / configuration in the packet configuration section, the synchronization pattern of the bucket header of the transfer bucket composed of one intermediate data unit matches the predetermined pattern. 5 'The transfer packet When the packet is inspected by the synchronization pattern inspection unit, the packet identification field data of the bucket header of the transfer packet and the packet identification field data of a plurality of transmission packets storing the program data of the selected program are stored. And an identification field comparing unit for comparing
上記ひとつの中問デ一タュニッ トから構成される上記複数の転送バケツ トの うち上記所定のパターンと一致する同期パターンを含む上記転送パケッ トに対 応する上記ひとつの中間データュニッ トの上記部分データが上記バケツ ト構成 部へ転送され、 上 !ki所定のパターンと一致する上記同期パターンを含む上記転 送バケツ 卜が ½成される際に、 上記ひとつの中間データュニッ トのデータのう ち上記部分データ以外のデータは転送パケッ トの構成のために実効的に使用さ れず実効的に破栾されるものであり、  The partial data of the one intermediate data unit corresponding to the transfer packet including a synchronization pattern that matches the predetermined pattern among the plurality of transfer buckets composed of the one intermediate data unit. Is transferred to the above-mentioned bucket constituting unit, and when the above-mentioned transfer bucket including the above-mentioned synchronization pattern matching the predetermined pattern is formed, the above-mentioned portion of the data of the one intermediate data unit is generated. Data other than data is not effectively used due to the configuration of the transfer packet, but is effectively destroyed.
上記部分データ以外の上記デ一タの実効的な破棄に際して、 上記識別フィ一 ルド比 1¾部が上, 幼的破棄デ一タに関して上記二つのパケッ ト識別用フィ一 ルドデータの を i 出した場合は、 上記実効的破棄 -致の検出結果が上記デ 一夕復 S Γ,ΐへ ί iされることを特徴とする請求の範囲第 5項に記載のデ一タ受 1a装置。 When the above data other than the above partial data is effectively discarded, the discrimination field ratio of 1¾ is higher, and the values of the above two packet discrimination field data are obtained for child discard data. 6. The data receiving device 1a according to claim 5, wherein in the case, the detection result of the effective discard-match is sent to the data recovery device SΓ, ΐ.
. 送信側で、 パケッ トヘッダと符号化データとを含む複数の転送パケッ トから 誤り検出符号データが付加されたひとつの中間データュニッ トを構成し、 該ひ とつの中間データュニッ トの分割によってセルヘッダとデータ列とを含む複数 のセルデータを構成して送信し、 上記複数のセルデータのそれぞれのセルへッ ダは対応するセルデータが上記ひとつの中間データュニッ トから構成される上 記複数のセルデータの先頭のセルデータと最終のセルデ一タとのいずれか一方 の境界セルであるか否かを示す境界セル識別情報を含み、 上記送信された上記複数のセルデータを受信するデータ受信装置であって、 上記複数の受信セルデータから誤り検出符号データ力付加されたひとつの中 間データュニッ トを構成するデータ構成部と、 On the transmitting side, one intermediate data unit to which error detection code data is added is composed of a plurality of transfer packets including a packet header and encoded data, and the cell header and data are divided by dividing the one intermediate data unit. A plurality of cell data including a column is composed and transmitted, and each cell header of the plurality of cell data has a corresponding cell data composed of the one intermediate data unit. Boundary cell identification information indicating whether the boundary cell is one of the first cell data and the last cell data, A data receiving device for receiving the transmitted plurality of cell data, comprising: a data constituent unit forming one intermediate data unit added with error detection code data from the plurality of received cell data;
上記デ一タ構成部で構成された上記ひとつの中間データユニッ トに付加され た上記誤り検出符号データから誤りを検査する誤り検査部と、  An error checking unit for checking an error from the error detection code data added to the one intermediate data unit configured by the data configuration unit;
上記受信 '構成による上記ひとつの中間データュニッ トからバケツ トヘッダ と符号化データとを含む複数の転送バケツ トを構成するバケツ ト構成部と、 上記複数の受信セルデータの上記境界セル識別情報に応答し、 受信セルデ— 夕が上記境界セルであることを上記境界セル識別情報が示した後、 後続の受信 セルデータが上記境界セルであることを次の境界セル識別情報が示すまでの受 信セルデータのセル数をカウントするカウント部とを具備してなり、  A packet configuring unit configured to form a plurality of transfer buckets including a bucket header and encoded data from the one intermediate data unit according to the reception configuration, and responding to the boundary cell identification information of the plurality of received cell data; After the boundary cell identification information indicates that the reception cell data is the boundary cell, the reception cell data until the next boundary cell identification information indicates that the subsequent reception cell data is the boundary cell. And a counting unit for counting the number of cells of
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間デ一タュ ニッ トを構成する上記複数のセルデータのセル数に一致する時は、 上記誤り検 査部から誤りが検出されないことに応答して上記デ一タ構成部で構成された上 記ひとつの中間データュニッ トは上記バケツ ト構成部へ転送されて、 上記複数 の転送バケツ トが構成され、  When the number of count cells of the counting unit matches the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmission side, it is determined that no error is detected from the error detection unit. In response, the one intermediate data unit configured by the data configuration unit is transferred to the bucket configuration unit, and the plurality of transfer buckets are configured.
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数より小さい時は、 該カウント セル数が小さな受信セルデータのセルへッダの誤り検出符号デ一タにより該受 信セルデータのセルへッダに誤りがあると言う検査結果に応答し、 さらに上記 誤り検査部から誤りが検出されないことに応答して上記データ構成部で構成さ れた上記ひとつの中間データュニッ トは上記バケツ ト構成部へ転送されて、 上 記複数の転送バケツ トカ s'構成され、 When the number of count cells of the counting section is smaller than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, the number of count cells is smaller than the number of cell headers of received cell data. The error detection code data responds to the check result indicating that there is an error in the cell header of the received cell data, and further comprises the data configuration unit in response to no error being detected from the error check unit. The one intermediate data unit that has been transferred is transferred to the bucket forming unit, where the plurality of transfer buckets s ′ are formed, and
上記カウント部のカウントセル数が上記送信側の上記ひとつの中間データュ ニッ トを構成する上記複数のセルデータのセル数より大きい時は、 上記カウン ト部のカウントセル数が上記送信側の上記ひとつの中間データュニッ トを構成 する上記複数のセルデータのセル数に一致する受信セルデータのセルへッダの 誤り検出符号デ一タにより該受信セルデー夕のセルへッダに誤りがあると言う 検査結果に応答し、 さらに上記誤り検査部から誤り力 s検出されないことに応答 して上記データ構成部で構成された上記ひとつの中間データュニッ トは上記パ ケッ ト構成部へ転送されて、 上記複数の転送バケツ トカ構成されることを特徴 とするデータ受信装置。 When the number of count cells in the counting unit is larger than the number of cells of the plurality of cell data constituting the one intermediate data unit on the transmitting side, the number of counting cells in the counting unit is one in the transmitting side. Inspection that there is an error in the cell header of the received cell data according to the error detection code data of the cell header of the received cell data that matches the number of cells of the plurality of cell data constituting the intermediate data unit of the above. In response to the result, and further, in response to the error power s not being detected by the error checking unit, the one intermediate data unit formed by the data forming unit is transferred to the packet forming unit, and the plurality of intermediate data units are transferred to the packet forming unit. A data receiving device comprising a transfer bucket.
. 上記バケツ ト構成部で上記受信 '構成による上記ひとつの中間データュニッ トから構成される上記転送バケツ 卜の上記バケツ トヘッダの同期パターンカ所 定のパターンと一致するか否かを検査する転送パケッ ト同期バタ一ン検査部を さらに具備してなり、 上記力ゥン ト部のカウントセル数が上記送信側の上記ひとつの中間デ一夕ュ ニッ トを構成する上記複数のセルデータのセル数より小さい時は、 該カウン ト セル数が小さな受信セルデ一タのセルへッダの誤り検出符号デ一タにより該受 信セルデータのセルへッダに誤りがないと言う検査結果に応答し、 さらに上記 カウント部の上記カウントセル数が上記送信側の上記ひとつの中間データュニ ッ トを構成する上記複数のセルデータのセル数の半分の値以上であることに応 答し、 さらに上記転送パケッ ト同期パターン検査部の検査出力に応答して、 上 記ひとつの中間データュニッ トから構成される上記複数の転送バケツ トのうち 上記所定のパターンと一致する同期バタ一ンを含む転送パケッ トに対応する上 記ひとつの中間デ一タユニッ トの部分デ一タが上記パケッ ト構成部へ転送され、 上記所定のパターンと一致する上記同期パターンを含む上記転送パケッ トが構 成されることを特徴とする請求の範囲第 7項に記載のデータ受信装置。Transfer packet synchronization for checking whether or not the above-mentioned bucket header synchronization pattern of the above-mentioned bucket header of the above-mentioned bucket composed of the above-mentioned one intermediate data unit by the above-mentioned reception unit matches with the predetermined pattern. It further comprises a butterfly inspection section, When the number of count cells in the counting section is smaller than the number of cells of the plurality of cell data constituting the one intermediate packet on the transmitting side, the number of count cells is small. In response to the test result indicating that there is no error in the cell header of the received cell data by the error detection code data of one of the cell headers, In response to the fact that the number of cells of the plurality of cell data constituting the one intermediate data unit is equal to or more than half the number of cells, and in response to the inspection output of the transfer packet synchronization pattern inspection unit, The one intermediate data unit corresponding to a transfer packet including a synchronous pattern matching the predetermined pattern among the plurality of transfer packets composed of the one intermediate data unit. 8. The transfer packet according to claim 7, wherein the partial data of the packet is transferred to the packet forming unit, and the transfer packet including the synchronization pattern matching the predetermined pattern is formed. Data receiving device.
. 上記バケツ ト構成部で構成される上記複数の転送バケツ トを所望のプログラ ムデータへ復号するデ一タ復号部と、 A data decoding unit that decodes the plurality of transfer buckets configured by the bucket configuration unit into desired program data;
上記バケツ ト構成部で上記受信 ·構成による上記ひとつの中間データュニッ トから構成される上記転送バケツ トの上記バケツトヘッダの上記同期パターン が上記所定のパターンと一致することが上記転送パケッ ト同期パターン検査部 で検査された場合に上記転送バケツ トの上記バケツトヘッダのバケツ ト識別用 フィ一ルドデータと選択プログラムのプログラムデータが格納された複数の転 送パケッ トのパケッ ト識別用フィールドデータとの比較を行う識別フィールド 比較部とをさらに具備してなり、  The transfer packet synchronization pattern checking unit that the bucket synchronization pattern of the bucket header of the transfer bucket composed of the one intermediate data unit by the reception and configuration in the bucket configuration unit matches the predetermined pattern. When the packet is inspected in the above step, the packet identification field data of the bucket header of the transmission bucket is compared with the packet identification field data of a plurality of transmission packets storing the program data of the selected program. An identification field comparing unit,
上記ひとつの中間データュニッ トから構成される上記複数の転送バケツ トの うち上記所定のパターンと一致する同期パターンを含む上記転送パケッ トに対 応する上記ひとつの中間データュニッ トの上記部分データが上記バケツ ト構成 部へ転送され、 上記所定のバタ一ンと一致する上記同期バタ一ンを含む上記転 送バケツ ト力5'構成される際に、 上記ひとつの中間データュニッ トのデータのう ち上記部分データ以外のデータは転送パケッ トの構成のために実効的に使用さ れず実効的に破棄されるものであり、 Among the plurality of transfer buckets composed of the one intermediate data unit, the partial data of the one intermediate data unit corresponding to the transfer packet including the synchronization pattern that matches the predetermined pattern is the bucket. When the transfer bucket force 5 ′ is transferred to the packet configuration unit and includes the synchronous pattern matching the predetermined pattern, the portion of the data of the one intermediate data unit is formed. Data other than data is not effectively used due to the configuration of the transfer packet, but is effectively discarded.
上記部分データ以外の上記データの実効的な破棄に際して、 上記識別フィ一 ルド比較部が上記実効的破棄データに関して上記二つのパケッ ト識別用フィー ルドデータの一致を検出した場合は、 上記実効的破棄一致の検出結果が上記デ 一タ復号部へ伝達されることを特徴とする請求の範囲第 8項に記載のデータ受 信装置。  When effectively discarding the data other than the partial data, if the identification field comparing unit detects a match between the two packet identification field data with respect to the effective discarded data, the effective discarding is performed. 9. The data receiving apparatus according to claim 8, wherein a detection result of the coincidence is transmitted to the data decoding unit.
PCT/JP1996/002721 1996-09-20 1996-09-20 Data receiver WO1998012843A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP1996/002721 WO1998012843A1 (en) 1996-09-20 1996-09-20 Data receiver
TW086108890A TW337626B (en) 1996-09-20 1997-06-25 Data receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1996/002721 WO1998012843A1 (en) 1996-09-20 1996-09-20 Data receiver

Publications (1)

Publication Number Publication Date
WO1998012843A1 true WO1998012843A1 (en) 1998-03-26

Family

ID=14153865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1996/002721 WO1998012843A1 (en) 1996-09-20 1996-09-20 Data receiver

Country Status (2)

Country Link
TW (1) TW337626B (en)
WO (1) WO1998012843A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298650A (en) * 1995-04-10 1996-11-12 Digital Equip Corp <Dec> Method and apparatus for keeping on conditioning and carrying program data regardless of carrying timing
JPH08298508A (en) * 1995-04-26 1996-11-12 Graphics Commun Lab:Kk Multiplex data mutual communication method, multiplex data mutual communication system, terminal on gateway and asynchronous network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298650A (en) * 1995-04-10 1996-11-12 Digital Equip Corp <Dec> Method and apparatus for keeping on conditioning and carrying program data regardless of carrying timing
JPH08298508A (en) * 1995-04-26 1996-11-12 Graphics Commun Lab:Kk Multiplex data mutual communication method, multiplex data mutual communication system, terminal on gateway and asynchronous network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
TECHNICAL RESEARCH REPORT OF IEICE CS93-164, 27 January 1994, SAKAE OKUBO, "MPEG-2 Video Coding and its Application to ATM Network, International Standardization Movement of ISO/IEC and ITU-T". *
TECHNICAL RESEARCH REPORT OF IEICE CS95-177, 26 January 1996, KATSUHIRO ISHIMARU, TETSURO FUJII, TOMOKO SAWABE, JUNJI SUZUKI, SADAYASU ONO, "ATM Transmission Characteristics of MPEG-2 Coded Ultra-High Definition Mation Video". *
THE ANNUAL MEETING IN AUTUMN, 1994, OF IEICE SB-9-3, 5 September 1994, NAOTAKA MORITA, "Problem of MPEG-2 Transfer in ATM". *
THE ANNUAL MEETING IN SPRING, 1994, OF IEICE B-853, 10 March 1994, KAZUHIRO MATSUZAKI, YOSHIAKI KATO, HIDEO YOSHIDA, ATSUHIRO YAMAGISHI ATSUMICHI MURAKAMI, "Review of the Error Correction Technique Considering Matching Between ATM Cell and MPEG-2 System Standard". *

Also Published As

Publication number Publication date
TW337626B (en) 1998-08-01

Similar Documents

Publication Publication Date Title
US5878041A (en) Error handling in transmission of data that cannot be retransmitted
EP1634462B1 (en) Apparatus for processing null packets in a digital media receiver
US5991912A (en) Digital video transport error handling in cell based communications systems
JP2001045092A (en) Communication equipment and method, communication system and recording medium
JP4332267B2 (en) Encoder and decoder
AU744452B2 (en) Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
JP2001308863A (en) Interface device
CA2263188C (en) Atm communications system and method
US7839925B2 (en) Apparatus for receiving packet stream
US20080025389A1 (en) Method and Apparatus for False Sync Lock Detection in a Digital Media Receiver
US5606558A (en) Method of and devices for transmitting in ATM cells information supplied in the form of a series of distinct entities for a given application
US6081504A (en) Apparatus and method for cell discard
US6873621B2 (en) System for controlling AAL1 cell bandwidth
US7447231B2 (en) DS3 to ASI converter with reduced memory
WO1998012843A1 (en) Data receiver
KR100709126B1 (en) Apparatus and method for ethernet frame generation to offer the wideband multimedia service
JP3753006B2 (en) Communication device and communication method
KR0153919B1 (en) Apparatus for recovring mpeg transport stream interfacing atm network
JP4437974B2 (en) TS packet interleaver, TS packet converter, TS-IP converter and IP-TS converter
JP3337054B2 (en) ATM cell assembly / disassembly equipment
WO2004114675A1 (en) Method and apparatus for error detection of compressed video in a digital media receiver
Sohn et al. Jitter reduction in CBR MPEG-2 transport stream packet communications over lossy ATM network
Hessenmuller et al. High-quality audio and video signal transmission in a broadband ISDN based on ATD-the problem of cell losses
US7391733B2 (en) Digital service hierarchy level 3 (DS3) application detection
JP2000092126A (en) Device and method for packetization and data transmission equipment

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP KR SG US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase