Data transfer device

Abstract
A data transfer apparatus receives from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, and transfers the repeat data to a lower station, the data transfer apparatus including a storage unit having a storage area; an extraction unit for extracting the types of repeat data from the received data stream; a writing unit for writing the extracted repeat data to the storage area; a data structure ratio determination unit for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output unit for reading the repeat data stored in the storage unit, and outputting the read repeat data at the determined ratio.
Description


BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention


[0002] The present invention relates to a data transfer apparatus used in digital broadcasting to receive content data that is repeatedly transmitted by a data broadcast, and to control transfer of the received content data.


[0003] 2. Description of the Related Art


[0004] Developments in digital broadcasting in recent years mean that it is becoming common for content data that composes data broadcast programs such as electronic program guides, weather forecasts or news to be multiplexed and broadcast, in addition to video data and audio data that compose broadcast programs.


[0005] Such content data is transmitted with a different transmission method to video and audio data. This method is called a DSM-CC (Digital Storage Media Command and Control) carousel transmission method.


[0006] This DSM-CC carousel transmission method is defined in international standard ISO/IEC 13818-6 “Part 6: Extensions for Digital Storage Media Command and Control”, and refers to a method of transmitting the same data repeatedly in cycles.


[0007] In this transmission method, the same data broadcast program is provided repeatedly to viewers, enabling each viewer to extract the content data and view the data broadcast program on demand.


[0008] Types of digital broadcasting include BS (Broadcasting Satellite) digital broadcasting and terrestrial digital broadcasting. In terrestrial digital broadcasting, various types of multiplexed data are transmitted with use of special-purpose cables from a central television station (hereinafter “key station”) to a local affiliate station (hereinafter “local station”). This enables local station to provide viewers with data broadcast programs in real time.


[0009] However, the key station and the local station generally use different data frequency bands for transmission of content data. This gives rise to a problem that when the data frequency band available to the key station is narrower than that available to the local station, if the content data from the key station is output by the local station at the same bitrate at which it is input from the key station, part of the local station's data frequency band is wasted because it is not used in output of content data. A further problem is that when the data frequency band available to the local station is narrower than the data frequency band available to the key station, content data input from the key station cannot be output at the same bitrate at which it is input.



SUMMARY OF THE INVENTION

[0010] In view of the above-described problem, the object of the present invention is to provide a data transfer apparatus and a data transfer method that enable reception of content data and transfer of the content data to a lower station with effective use of a local station data frequency band.


[0011] Here, lower station denotes an external relay station or reception apparatus.


[0012] Here, transfer denotes processing received data and broadcasting or transmitting via cables the resulting data. Processing denotes modifying the transmission rate and the structure ratio of the received data.


[0013] In order to realize the stated object the present invention is A data transfer apparatus that receives from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, and transfers the repeat data to a lower station, including: a storage unit having a storage area; an extraction unit for extracting the types of repeat data from the received data stream; a writing unit for writing the extracted repeat data to the storage area; a data structure ratio determination unit for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output unit for reading the repeat data stored in the storage unit, and outputting the read repeat data at the determined ratio.


[0014] According to the stated construction, even if the data frequency band available to the local station is wider than the data frequency band available to the key station, the rate at which repeat data is repeatedly transferred can be adjusted by reading the stored repeat data a number of times necessary according to the difference in the frequency bands. Therefore, full use can be made of the available frequency band, and the repeat data can be transferred effectively at a predetermined structure ratio.


[0015] Note that repeat data denotes carousels, modules and so on that compose content data.


[0016] Carousel denotes one unit of data that is repeatedly transmitted from the broadcast station according to the DSM-CC carousel transmission method.


[0017] Module denotes the smallest unit of data that has significance as information, and is the unit of data that composes a carousel.


[0018] Here, the storage area may be composed of a plurality of allocated storage areas, each of which is for storing a different one of the types of repeat data, and each time the extraction unit extracts one of the types of repeat data, the writing unit may overwrite, with the extracted repeat data, repeat data stored in the allocated storage area for the extracted type of repeat data.


[0019] According to the stated construction, the size of the memory for storing content data can be reduced, and the newest content data can always be stored. Therefore, even if content data is updated, the updated content data can be promptly transferred and provided to the viewer's reception apparatus.


[0020] Here, each of the plurality of types of repeat data may be composed of a plurality of data packets, and the data ratio determination unit may include: a counting sub-unit for counting, for each type of repeat data, the number of data packets extracted over a predetermined length of time, and the data structure ratio determination unit may determine the ratio based on a ratio between the number of data packets counted for each type of repeat data.


[0021] According to the stated construction, each type of repeat data can be transferred at the same structure ratio as the structure rate of the repeat data transmitted from the key station, an uniform data broadcast program can be provided to viewers without differences occurring between the key station and the local station in the content of the content data. Furthermore, it is possible to avoid transfer of content data to viewers' reception devices at a structure ratio that is not intended by the key station (for example, repeat data that composes a menu screen for the viewer to select a data broadcast program being transmitted at an extremely low structure ratio).


[0022] Furthermore, when the data frequency band available to the local station is wider than the data frequency band available to the key station, the local station can transfer the repeat data at a higher bitrate than that of the key station. As a result, a viewer can view a desired data broadcast program sooner requesting the program than in the case of the key station.


[0023] Here, the data stream may further include output information data that includes output ratio information showing a ratio between the types of repeat data output by the upper station, the extraction unit may further extract the output information data, and the data structure ratio determination unit may determine the ratio based on the output ratio information included in the extracted output information data.


[0024] According to the stated construction, it is possible to for the key station to adjust in advance the structure ratio of repeat data transferred from the local station. Therefore, the structure ratio of repeat data can be varied according to the frequency with which viewers watch the local station data broadcast program, and repeat data that is viewed frequently can be transferred more frequently.


[0025] Here, the output unit may include: an output rate instruction information reception sub-unit for receiving a instruction information for instructing an overall output bitrate and a ratio between the types of repeat data in a data stream output per specified unit of time, the data structure ratio determination unit may include: an instruction information storage sub-unit that has a recording area in which the instruction information is recorded; and an instruction information recording sub-unit for recording the received instruction information in the recording area, the data structure ratio determination unit may determine the ratio based on the recorded instruction information, and the output unit may output the repeat data stored in the storage unit at the overall bitrate shown by the instruction information.


[0026] According to the stated construction, an operator at the local station can instruct the structure ratio and the transfer speed of repeat data that is broadcast to viewers' reception apparatuses. Therefore, the operator can choose the information for which there is a high demand in that timeslot, and give high priority to the transfer speed of the repeat data that composes that information, and the operator can also increase the transfer speed of content data in timeslots in which a data broadcast program has a large amount of viewers.


[0027] Here, the data stream may further include instruction information data that has (a) instruction information for instructing a ratio between the types of repeat data that are included in a data stream to be output per fixed length of time and (b) an overall output bitrate; the extraction unit may further extracts the instruction information data from the data stream, the data structure ratio determination unit may determines the ratio based on the instruction information included in the extracted instruction information data, and the output unit may output the repeat data stored in the storage unit at the overall bitrate shown by the instruction information.


[0028] According to the stated construction, it is possible to for the key station to adjust in advance the structure ratio of repeat data transferred from the local station. Therefore, the structure ratio of repeat data can be varied according to the frequency with which viewers watch the local station data broadcast program, and repeat data that is viewed frequently can be transferred more frequently.


[0029] Here, each type of repeat data may be composed of a plurality of data packets that are transmitted according to a carousel transmission method, and the data stream may be a transport stream.


[0030] According to the stated construction, even if the data frequency band available to the local station is wider than the data frequency band available to the key station, the rate at which repeat data is repeatedly transferred can be adjusted by reading the stored repeat data a number of times necessary according to the difference in the frequency bands. Therefore, full use can be made of the available frequency band, and the repeat data can be transferred effectively at a predetermined structure ratio.


[0031] Here, each of the types of repeat data may have a PID that specifies the type of repeat data, the storage unit may store at least one set of a first PID and a second PID, the first PID identifying a PID that is to be re-written, and the second PID specifying a PID with which the PID identified by the first PID is to be re-written, and the data output unit may include: a judgement sub-unit for judging whether a PID of repeat data to be read by the data output means matches the first PID in the set stored by the storage unit; and a PID re-writing sub-unit for, when the PID of the repeat data to be read matches the first PID, re-writing the PID of the repeat data with the PID specified by the second PID in the set.


[0032] According to the stated construction, the PID of data packets having a specified PID is rewritten to a predetermined PID before transmitting the data packets, therefore solving problems that arise when the specified PID is already being used as the PID of a different type of data packets to those sent from the key station.


[0033] Furthermore, in order to realize the stated object the present invention is a data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packet that does not include data to be reproduced and displayed, and (b) transfers the received repeat data to a lower station, including: a storage unit having a storage area; an extraction unit for extracting the types of the repeat data from the received first data stream; a writing unit for writing the extracted repeat data to the storage area; a detection unit for detecting the null data packet in the received second type of data stream; an output data selection unit for successively selecting one of the types of repeat data to be output; and an output unit for, (c) when the detection unit detects the null data packet, reading from the storage unit a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (d) when the detection unit does not detect a null data packet, outputting the received second data stream.


[0034] According to the stated construction, null data packets, which are dummy data packets, are replaced with successively selected data packets that compose repeat data, and the result transferred. As a result, the data transmission efficiency is improved by making effective use of the data frequency band, without transferring unnecessary data.


[0035] Here, the storage area may be composed of a plurality of allocated storage areas, each of which is for storing a different one of the types of repeat data, and each time the extraction unit extracts one of the types of repeat data, the writing unit may overwrite, with the extracted repeat data, repeat data stored in the allocated storage area for the extracted type of repeat data.


[0036] According to the stated construction, the size of the memory for storing content data can be reduced, and the newest content data can always be stored. Therefore, even if content data is updated, the updated content data can be promptly transferred and provided to the viewer's reception apparatus.


[0037] Here, the output data selection unit may include: a counting sub-unit for counting, for each type of repeat data, the number of data packets extracted over a predetermined length of time, and the output data selection unit may successively selects a type of repeat data to be output, in compliance with a determined priority order based on a ratio between the number of data packets counted for the types of repeat data.


[0038] According to the stated construction, each type of repeat data can be transferred at the same structure ratio as the structure rate of the repeat data transmitted from the key station, an uniform data broadcast program can be provided to viewers without differences occurring between the key station and the local station in the content of the content data. Furthermore, it is possible to avoid transfer of content data. to viewers' reception devices at a structure ratio that is not intended by the key station (for example, repeat data that composes a menu screen for the viewer to select a data broadcast program being transmitted at an extremely low structure ratio) Here, the repeat data may be composed of a plurality of data packets that are transmitted according to a carousel transmission method, and each of the first type and second type of data streams may be a transport stream.


[0039] According to the stated construction, null data packets, which are dummy data packets, are replaced with successively selected data packets that compose repeat data, and the result transferred. As a result, the data transmission efficiency is improved by making effective use of the data frequency band, without transferring unnecessary data.


[0040] Here, the second type of data stream may include data packets, each data packet having one of a plurality of types of PIDs, the plurality of types of PIDs including a first PID; the storage unit may store a second PID; the detection unit may further detect a data packet having the first PID in the received second type of data stream, and the output unit may further, when the detection unit detects the data packet having the first PID, read the second PID from the storage unit, overwrite the first PID of the detected data packet with the second PID, and output the resulting data packet.


[0041] According to the stated construction, the PID of data packets having a specified PID is rewritten to a predetermined PID before transmitting the data packets, therefore solving problems that arise when the specified PID is already being used as the PID of a different type of data packets to those sent from the key station.


[0042] Furthermore, in order to realize the stated object the present invention is a data transfer apparatus that receives from an upper station a data stream that includes pieces of repeat data that are repeatedly transmitted by the upper station, and transfers the received repeat data to a lower station, including: a storage unit having a storage area for storing one piece of the repeat data; an extraction unit for successively extracting the pieces of repeat data at a time from the received data stream; a writing unit for writing the extracted piece of repeat data to the storage area, and, each time the extraction unit newly extracts one of the pieces of repeat data, overwriting the piece of repeat data stored in the storage area with the newly-extracted piece of repeat data; and an output unit for reading the piece of repeat data stored in the storage unit, and outputting the read piece of repeat data.


[0043] Furthermore, the present invention is a data transfer apparatus that receives from an upper station a data stream that includes pieces of repeat data that are repeatedly transmitted by the upper station, and transfers the received repeat data to a lower station, each piece of repeat data being updated at a predetermined interval and including update information showing that the updated piece of repeat data has been updated, including: a storage unit having a storage area for storing one piece of the repeat data; an extraction unit for successively extracting the pieces of repeat data from the received data stream; an update judgement unit for judging, based on the update information, whether the extracted piece of repeat data has been updated; a writing unit for writing a first extracted piece of repeat data to the storage area, and, only when one of the extracted pieces of repeat data is judged to have been updated, replacing the updated piece of repeat data with the piece of repeat data stored in the storage unit; and an output unit for reading the piece of repeat data stored in the storage unit, and outputting the read piece of repeat data.


[0044] According to the stated constructions, even if the data frequency band available to the local station is wider than the data frequency band available to the key station, the rate at which repeat data is repeatedly transferred can be adjusted by reading the stored repeat data a number of times necessary according to the difference in the frequency bands. Therefore, full use can be made of the available frequency band, and the repeat data can be transferred effectively at a predetermined structure ratio. Furthermore, the size of the memory for storing content data can be reduced.


[0045] Furthermore, even when the data frequency band available to the local station is narrower than the data frequency available to the key station, since it is not necessary to temporarily accumulate a large amount of data in the memory in order to adjust the transfer rate, repeat data can be transferred to the lower station without use of a large memory.


[0046] In addition the newest content data can always be stored. Therefore, even if content data is updated, the updated content data can be promptly transferred and provided to the viewer's reception apparatus.


[0047] Furthermore, in order to realize the stated object the present invention is a data transfer method, a recording medium having a program recorded thereon, and a program used in a data transfer apparatus that (a) receives from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, (b) transfers the repeat data to a lower station, and (c) has a storage area, the method, the program recorded on the recording medium, and the program including: an extraction step for extracting the types of repeat data from the received data stream; a writing step for writing the extracted repeat data to the storage area; a data structure ratio determination step for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output step for reading the repeat data stored in the writing step, and outputting the read repeat data at the determined ratio.


[0048] According to the stated method, recording medium, and program, even if the data frequency band available to the local station is wider than the data frequency band available to the key station, the rate at which repeat data is repeatedly transferred can be adjusted by reading the stored repeat data a number of times necessary according to the difference in the frequency bands. Therefore, full use can be made of the available frequency band, and the repeat data can be transferred effectively at a predetermined structure ratio.


[0049] Furthermore, in order to realize the stated object the present invention is a data transfer method, recording medium having a program recorded thereon, and a program for use in a data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packets that does not include data to be reproduced and displayed, (b) transfers the received repeat data to a lower station, and (c) has a storage area, the method, the program recorded on the recording medium, and the program including: an extraction step for extracting the types of the repeat data from the received first data stream; a writing step for writing the extracted repeat data to the storage area; a detection step for detecting the null data packet in the received second type of data stream; an output data selection step for successively selecting one of the types of repeat data to be output; and an output step for, (d) when the detection step detects the null data packet, reading from the storage area a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (e) when the detection step does not detect a null data packet, outputting the received second data stream.


[0050] According to the stated method, program recorded on the recording medium, and the program, null data packets, which are dummy data packets, are replaced with successively selected data packets that compose repeat data, and the result transferred. As a result, the data transmission efficiency is improved by making effective use of the data frequency band, without transferring unnecessary data.







BRIEF DESCRIPTION OF THE DRAWINGS

[0051] These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings which illustrate a specific embodiment of the invention.


[0052] In the drawings:


[0053]
FIG. 1 shows the structure of the principal components of the data transfer apparatus 100 in an embodiment of the present invention;


[0054]
FIG. 2 shows the form of content data transmitted from a broadcast station according to DSM-CC carousel transmission method;


[0055]
FIGS. 3A to 3D show the relationship between data packets, sections, modules, carousels and content data;


[0056]
FIG. 4 shows schematically an example of the structure of content data stored in a data storage unit 101;


[0057]
FIG. 5 is a table showing one example of an input data packet count counted by a extracted data counting unit 103 for each module ID;


[0058]
FIG. 6 is a table showing one example of a management information table;


[0059]
FIG. 7 shows parameters used by the data structure ratio determination unit 104 for performing data structure ratio determination process;


[0060]
FIGS. 8A to 8D show examples of PID multiplex accumulated count tables held by a data structure ratio determination unit 104;


[0061]
FIGS. 9A to 9D show examples of module multiplex accumulated count tables held by the data structure ratio determination unit 104;


[0062]
FIG. 10 is a flowchart showing output target section determination process performed by the data structure ratio determination unit 104;


[0063]
FIG. 11 is a flowchart showing processing performed by the data structure ratio determination unit 104 at step 1007;


[0064]
FIG. 12 shows the structure of the principal components of a data transfer apparatus 200;


[0065]
FIG. 13 shows one example of output bitrate information;


[0066]
FIG. 14 shows the structure of the principal components of a data transfer apparatus 300;


[0067]
FIG. 15 is a table showing one example of instruction information;


[0068]
FIG. 16 shows the structure of the principal components of a data transfer apparatus 400;


[0069]
FIG. 17 shows the structure of the principal components of a data transfer apparatus 500;


[0070]
FIG. 18 shows one example of an AV data packet transport stream received by a video data obtaining unit 507;


[0071]
FIG. 19 shows one example of a data stream that the data output unit 505 outputs after receiving the AV data packets shown in FIG. 18 from the video data obtaining unit 507;


[0072]
FIG. 20 is a flowchart showing the operations of the data packet selection process performed by a data output unit 505;


[0073]
FIG. 21 shows the structure of the principal components of a data transfer apparatus 600;


[0074]
FIG. 22 is a flowchart showing operations of a data structure ratio determination process;


[0075]
FIG. 23 is a flowchart showing the former part of an output target data packet determination process performed by the data structure ratio determination unit 104;


[0076]
FIG. 24 is a flowchart showing the latter part of the output target data packet determination process performed by the data structure ratio determination unit 104; and


[0077]
FIG. 25 is a flowchart showing a content data packet output process performed by a data output unit 105.







DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0078] The following describes embodiments of the present invention with use of the drawings.


[0079] First Embodiment


[0080] <Structure>


[0081]
FIG. 1 shows the structure of the principal components of a data transfer apparatus 100 in an embodiment of the present invention. The data transfer apparatus 100 is composed of a data storage unit 101, a data extraction unit 102, an extracted data counting unit 103, a data structure ratio determination unit 104, a data output unit 105, and a data output rate storage unit 106.


[0082] The hardware of the data transfer apparatus 100 includes a CPU (central processing unit), a ROM (read-only memory), a RAM (random access memory), a hard disk, a decoder, and a filter. Computer programs are stored in the ROM or the hard disk, and the data transfer apparatus 100 achieves its functions according to operations of the CPU in accordance with the computer programs. This is the same for a data transfer apparatus 200, a data transfer apparatus 300, a data transfer apparatus 400, a data transfer apparatus 500, and a data transfer apparatus 600 that are described later.


[0083] The data storage unit 101 includes a RAM and a hard disk, and stores content data that has been extracted by the data extraction unit 102. Specifically, content data, which is composed of modules, is stored in module units in storage areas allocated to each module (hereinafter “allocated storage area(s)”). Note that modules will be described later.


[0084]
FIG. 2 is a visual representation of content data transmitted from a broadcast station according to the DSM-CC carousel transmission method. The content data is transmitted in packets, as shown by packets 200 to 209 in FIG. 2. Each data packet has a fixed length of 188 bytes. Each data packet is identified by a PID, a module ID, and a block Number incorporated therein, or by its place in the order in which the data packets are transmitted.


[0085] Here, the PID is an identifier for distinguishing carousels and types of data packets. The PID is used, for example, to identify each carousel and video data that compose the content data.


[0086] The module ID identifies each module in a carousel.


[0087] The block Number identifies each section in a module.


[0088] Section denotes a unit of data unit in a module.


[0089] The following describes the relationship between data packets, sections, modules, carousels and content data. This relationship is shown in FIGS. 3A to 3D.


[0090]
FIGS. 3A, 3B, 3C, and 3D respectively show content data composed of a plurality of carousels 450 and 451, a carousel composed of a plurality of modules 350 and 351, a module composed of a plurality of sections 300 to 345, and a section composed of a plurality of data packets 250 to 273.


[0091] Note that “pnum” in brackets in FIG. 3D is a number given for convenience here to each data packet to show the order of the data packets in the section. In reality, the data packets are not given a number, but are identified by their position in a transmitted section of packet data.


[0092] Note also that in FIGS. 2 and 3, each data packet has a module ID and a block Number appended thereto (this does not comply with MPEG2 specifications). However, it is possible to append a module ID and a block Number only to the head data packet in each section, in compliance with MPEG specifications. In this case, the module ID and the block Number of each data packet, excluding head data packets, are specified based on the order in which the data packets are transmitted.


[0093]
FIG. 4 shows schematically an example of the structure of content data stored in the data storage unit 101. As shown in FIG. 4, content data is stored by PID, module ID and block number. Specifically, the data packets in content data (hereinafter “content data packet”) are sorted according to PID, content data packets having the same PID are further sorted according to module ID, and those having the same module ID are then further sorted according to block number.


[0094] For example, the content data packets having a PID 100 are sorted based on their respective module IDs into modules 410 to 440, and further sorted within the respective module based on their block numbers into sections (for example, sections 420 to 430 in the module 410). Furthermore, each section stores content data packets that belong to that section. Specifically, content data packets 421 to 424 are stored in the section 420, and content data packets 431 to 434 are stored in the section 430.


[0095] The data extraction unit 102, which includes a transport stream decoder, receives and then decodes a transport stream (hereinafter “TS”) that includes content data transmitted from an external apparatus, sets the PID and the module ID of the modules belonging to the PID as filter conditions, and filters them from the decoded data. Then, the data extraction unit 102 extracts one module of content data packets at a time, and stores each extracted module in the data storage unit 101 in the respective allocated storage area.


[0096] Here, when there is already a carousel stored in the data storage unit 101 that has the same PID as a newly-extracted carousel, the data storage unit 102 overwrites the already stored carousel with the newly-extracted carousel. This results in the newly-extracted carousel being stored.


[0097] The extracted data counting unit 103 counts, for each module, the number of content data packets that are received by the data extraction unit 102 over a specified length of time (hereinafter “input data packet count”), and outputs the input data packet count to the data structure ratio determination unit 104.


[0098]
FIG. 5 is a table showing one example of input data packet counts counted by the extracted data counting unit 103 for each module ID. A PID column 510 shows the PID of the received content data packets. Here there are two types of PID 100 and 101.


[0099] A module ID column 520 shows the module ID of the received content data packets. Here, the carousel with the PID 100 is composed of two modules having module IDs 0 and 1 respectively, and the carousel with the PID 101 is composed of three modules having module IDs 0, 1 and 2 respectively.


[0100] A previous one second input packet count column 530 shows the input data packet count counted for each module ID. For the carousel having the PID 100, the module ID 0 has an input data packet count of 375, and the module ID 1 has an input data packet count of 125. For the carousel having the PID 101, the module ID 0 has an input data packet count of 600, the module ID 1 has an input data packet count of 200, and the module ID 2 has an input data packet count of 200.


[0101] The data structure ratio determination unit 104 determines, based on the input data packet count for each module input by the extracted data counting unit 103, a carousel structure ratio and a module structure ratio. The carousel structure ratio denotes a ratio between each type of carousel of content data packets to be output per specified length of time. The module structure ratio denotes a ratio between each type of module of content data packets to be output per specified length of time. The data structure ratio determination unit 104 selects a section of content data packets to be successively output, so as to conform to the carousel structure ratio and the module structure ratio, and notifies the data output unit 105 of the section that is to be output.


[0102] Specifically, the data structure ratio determination unit 104 calculates a ratio of the input data packet count of the carousels (hereinafter “PID ratio”), and a ratio of the input data packet count of the modules in the carousel (hereinafter “module ratio”). The data structure ratio determination unit 104 determines the carousel structure ratio based on the calculated PID ratio, and determines the module structure ratio in the carousel to be output based on the module ratio. Then, the data structure ratio determination unit 104 determines the sections to be successively output based on an order of arrangement of the sections in the module, and notifies the data output unit 105 of sections to be output.


[0103] Note that the reason that the content data packets to be successively output are determined in sections is that the MPEG (Motion Picture Experts Group) 2 specification does not allow a mixture of content data packets that have the same PID but belong to different sections to be output together.


[0104] Taking the example in FIG. 5, the PID ratio of the carousel having the PID 100 and the carousel having the PID 101 is 1:2. Therefore, the data structure ratio determination unit 104 successively determines the section to be output so that the carousel structure ratio of the carousel having the PID 100 and the carousel having the PID 101 is 1:2.


[0105] Furthermore, in the process for successively determining the output target section, the module ratio of the carousel with the PID 100 is 3:1. Therefore, the data structure ratio determination unit 104 successively determines the section to be output from among the sections belonging to each module ID so that the module structure ratio of the module having the module ID 0 and the module having the module ID 1 is 3:1. Furthermore, the module ratio of the carousels having the PID 101 is 3:1:1. Therefore, the data structure ratio determination unit 104 successively determine the section to be output from among the sections belonging to each module ID so that the module structure ratio of the module having the module ID 0, the module having the module ID 1, and the module having the module ID 2 is 3:1:1. Then, the data structure ratio determination unit 104 notifies the data output unit 105 of the section successively selected to be output.


[0106] Here, the data structure ratio determination unit 104 has a management information table that shows the correspondence. between the PID of each carousel, the module ID of each module in the carousel, the block Numbers of each section in each module and the block Number of each section to be output that was most recently notified (hereinafter “previously-notified (section)” denotes a (section) that was most recently notified to the data output unit 105). The data structure ratio determination unit 104 uses the management information table to determine each section to be successively output.


[0107]
FIG. 6 shows one example of a management information table. A PID column 610 shows the PID of each carousel. A module ID column 620 shows the module ID of each module in the carousel. A last section block Number column 630 shows a block number of the last section of each module. A previously-notified block Number column 640 shows the block Number of the section that is to be output that has been most recently notified to the data output unit 105. For example, when the data structure ratio determination unit 104 selects the module having a module ID 0 and a PID 100 as the output target module, it obtains “2”, which is the corresponding previously-notified block Number, and compares the obtained block Number and the last section block Number L1 of the same module. When 2 is smaller than L1, the data structure ratio determination unit 104 selects the section having the next block number in the module, here the block Number 3, as the output target section, notifies the PID, module ID and block number of the selected section to the data output unit 105, and updates the corresponding previously-notified block Number column 640 to “3”.


[0108] On the other hand, when 2 is not smaller than L1, the data structure ratio determination unit 104 selects the first section in the module (the section having a block number 0) as the output target section, notifies the PID, module ID and block Number of the selected section to the data output unit 105, and updates the corresponding previously-notified block Number in the previously-notified block Number column 640 to 0.


[0109] Note that the information in the PID column 610, the module ID column 620 and the last section block Number 630 in the management information table may be set in advance. Alternatively, the information in these columns may be pre-incorporated in transmitted content data packets (for example, as the head content data packet in the carousel of each PID) In this case the data structure ratio determination unit 104 obtains this information through the data extraction unit 102.


[0110]
FIG. 7 shows parameters used by the data structure ratio determination unit 104 for determining output target PIDs and output target sections. A PID column 710 shows the PID of each carousel. A PID multiplex count column 720 shows a PID multiplex count for each PID. A PID multiplex accumulated count column 730 shows a PID multiplex accumulated count for each PID. A module ID column 740 shows a module ID for each module in each carousel. A module multiplex count column 750 shows a module multiplex count for each module ID. A module multiplex accumulated count column 760 shows a module multiplex accumulated count for each module ID.


[0111] The data structure ratio determination unit 104 calculates the PID multiplex count and the PID multiplex accumulated count for each PID, and the module multiplex count and the module multiplex accumulated count for each module ID.


[0112] Here, PID multiplex count is a value set to be an inverse ratio of the PID ratio. For example, taking the example in FIG. 5, the PID ratio of the carousels with the respective PIDs 100 and 101 is 1:2. This ratio expressed as an inverse ratio is, as shown in FIG. 6, 2:1. It is satisfactory to set the value of the PID multiplex count so that it is the inverse ratio of the PID ratio. For example, if the PID multiplex count of the carousel with the PID 100 is set not to 2 but to 1, the PID multiplex count of the carousel with the PID 101 would be set to 0.5 rather than 1.


[0113] The PID multiplex accumulated count is a parameter for determining an output target PID in an output target PID and section determination process described later. The PID multiplex accumulated count is updated each time an output target section in a carousel of a PID is determined, by adding. the PID multiplex count of the particular PID to an initial value of the PID multiplex count.


[0114]
FIGS. 8A to 8D show examples of the PID multiplex accumulated count tables held by the data structure ratio determination unit 104. FIG. 8A shows the initial state of each PID multiplex accumulated count. The data structure ratio determination unit 104 makes the carousel with the PID 100 the output target (alternatively the carousel with the PID 101 may be made the output target), and determines an output target section in the output target carousel. Then, the data structure ratio determination unit 104 adds a multiplex count 2 to the multiplex accumulated count of the PID 100, resulting in an updated PID multiplex accumulated count table shown in FIG. 8B.


[0115] Next, the data structure ratio determination unit 104 makes the carousel having the PID 101 the output target, since it has the lower PID multiplex accumulated count value in the updated PID multiplex accumulated count table, and determines an output target section in the output target carousel. Then, the data structure ratio determination unit 104 adds a multiplex count 1 to the multiplex accumulated count of the PID 101, resulting in an updated multiplex accumulated count table shown in FIG. 8C. The data structure ratio determination unit 104 further repeats the stated processing to repeatedly update the PID multiplex accumulated count table.


[0116] The module multiplex count is a value set to be an inverse ratio of the module ratio. For example, using the example in FIG. 5, the module ratio of the modules in the carousel with the PID 100 is 3:1. This ratio expressed as an inverse ratio is, as shown in FIG. 7, 1:3. It is satisfactory to set the value of the module multiplex count so that it is the inverse ratio of the module ratio. For example, if the module multiplex count of the module with the module ID 0 in the carousel having the PID 100 is set not to 8 but to 1, the module multiplex count of the module with the module ID 1 would be set to 3 rather than 24.


[0117] The module multiplex accumulated count is a parameter for determining an output target section in an output target section determination process described later. The module multiplex accumulated count is updated each time an output target section is determined, by adding to an initial value of the module multiplex count a value that is the module multiplex count value multiplied by the number of content data packets in the output target section (hereinafter “multiplex count multiplied value”).


[0118]
FIGS. 9A to 9D show examples of the module multiplex accumulated count tables held by the data structure ratio determination unit 104. FIG. 9A shows the initial state of the multiplex accumulated count of each of the module IDs 0 to 2 in the carousel having the PID 101. The data structure ratio determination unit 104 makes the module having the module ID 0 the output target (alternatively either of the other modules may be made the output target), and determines an output target section in the output target module. Then, the data structure ratio determination unit 104 adds a module multiplex count multiplied value 50, which is obtained by multiplying the module multiplex count value 5 by the number of content data packets in the output target section (for simplicity it is supposed that there are 10 packets in each section), to the module multiplex accumulated count of the module having the module ID 0, resulting in an updated module multiplex accumulated count table shown in FIG. 9B. Note that the module multiplex count multiplied values are calculated using the module multiplex count values of the modules having the PID 101 in the example in FIG. 7 as the module multiplex counts (5 for the module having the module ID 0, 15 for the module having the module ID 1, and 15 for the module having the module ID 15) In the same way, the module multiplex count multiplied values for the module ID 1 and the module ID 2 are calculated.


[0119] Next, the data structure ratio determination unit 104 makes the module having the module ID 1 that has the (equal) lowest module multiplex accumulated count value in the updated module multiplex accumulated count table the output target (alternatively the module having the module ID 2 may be made the output target), and determines an output target section in the output target module. Then the data structure ratio determination unit 104 adds a module multiplex count, multiplication value of 150 to the module multiplex accumulated count of the module having module ID 1, resulting in an updated multiplex accumulated count table shown in FIG. 9C. The data structure ratio determination unit 104 further repeats the stated processing to repeatedly update the module multiplex accumulated count table.


[0120] Note that the output target PID determination process and output target section determination process performed by the data structure ratio determination unit 104 is described later.


[0121] The data output unit 105, which has a memory for storing the content data packets to be output, reads the content data packets in the section to be output from the data storage unit 101, based on the PID, module ID and block Number of the output target section notified by the data structure ratio determination unit 104. Then the data output unit 105 writes the read content data packets in the order in which they are arranged in the section to the memory as a queue, and outputs the content data packets in the order in which they were written at the overall bitrate stored in the data output rate storage unit 106.


[0122] As a result, the overall bitrate is distributed among the carousels and modules to correspond to the carousel structure rate and the module structure rate determined by the data structure ratio determination unit 104, and the structure ratio among carousels and modules output per specified length of time is determined.


[0123] Here, overall bitrate denotes a bitrate set in advance by an operator at which all content data packets are output.


[0124] Furthermore, output denotes broadcasting or transmitting via cables.


[0125] The data output rate storage unit 106 stores this overall bitrate.


[0126] <Operations>


[0127] The following describes operations in the output target PID and output target section determination process performed by the data structure ratio determination unit 104.


[0128]
FIG. 10 is a flowchart showing the output target section determination process performed by the data structure ratio determination unit 104. The output target PID determination process is included in the above process. The data structure ratio determination unit 104 sets a lowest PID multiplex accumulated count (M1) showing the lowest PID multiplex accumulated count value to an initial value of infinite (step S1001), reads the PID multiplex accumulated counts in order from the PID multiplex accumulated count table (step S1002), and compares each read PID multiplex accumulated count to M1 (step S1003).


[0129] When the PID multiplex accumulated count is lower than M1 (step S1003:Y), the data structure ratio determination unit 104 sets that PID multiplex accumulated count to the lowest PID multiplex accumulated count (M1) (step S1004), and judges whether all the read PID multiplex accumulated counts have been compared to M1 (step S1005).


[0130] When all have been compared (step S1005:Y), the data structure ratio determination unit 104 selects the PID showing the PID multiplex accumulated count value set as the lowest PID multiplex accumulated count (M1) as the output target PID (step S1006), and determines an output target section (the processing at step S1007 is described later). Then, the data structure ratio determination unit 104 adds the PID multiplex count of the output target PID to the PID multiplex accumulated count of that PID (step S1008), and updates the value of the PID multiplex accumulated count of the PID with the value obtained at step S1008 (step S1009). The data structure ratio determination unit 104 repeats the processing from step S1001 to step S1009.


[0131] When the PID multiplex accumulated count is not lower than M1 at step S1003 (step S1003:N), the data structure ratio determination unit 104 performs the processing at step S1005.


[0132] When the comparison of all the read PID multiplex accumulated counts to M1 has not finished at step S1005 (step S1005:N), the data structure ratio determination unit 104 repeats the processing from step S1002 to step S1005.


[0133]
FIG. 11 is a flowchart showing the processing performed by the data structure ratio determination unit 104 at step S1007.


[0134] On determining an output target PID at step S1006, the data structure ratio determination unit 104 sets a lowest module multiplex accumulated count (M2) showing the lowest module multiplex accumulated count value to an initial value of infinite (step S1101), reads the module multiplex accumulated counts in order from the module multiplex accumulated count table (step S1102), and compares each read PID multiplex accumulated count to M2 (step S1103).


[0135] When the module multiplex accumulated count is lower than M2 (step S1103:Y), the data structure ratio determination unit 104 sets that multiplex accumulated count as the lowest module multiplex accumulated count (M2) (step S1104), and judges whether all the read module multiplex accumulated counts have been compared to M2 (step S1105).


[0136] When all have been compared (step S1105:Y), the data structure ratio determination unit 104 selects the module showing the module multiplex accumulated count value set as the lowest module multiplex accumulated count (M2) as the output target module (step S1106). Then, by referring to the management information table, the data structure ratio determination unit 104 selects the next section in the selected output target module after the previously-notified section as the output target section. Here, if there is no previously-notified section, or if the previously-notified section is the last section in the output target module, the first section in the module is selected as the output target section (step S1107). The data structure ratio determination unit 104 notifies the determined output target section to the data output unit 105 (step S1008, the content data packet output process performed by the data output unit 105 after receiving notification is described later). The data structure ratio determination unit 104 adds the module multiplex count multiplied value of the output target module to the module multiplex accumulated count of the module (step S1109), updates the value of the module multiplex accumulated count of the module with the value obtained at step S1108 (step S1110), and perform the processing at step S1008 in FIG. 10.


[0137] At step S1103, when the module multiplex accumulated count is not lower than M2 (step S1103:N), the data structure ratio determination unit 104 performs the processing at step S1105.


[0138] At step S1105, when the comparison of all the read module multiplex accumulated counts to M2 has not finished (step S1105:N), the data structure ratio determination unit 104 repeats the processing from steps S1102 to S1105.


[0139] The following describes content packet data output process performed by the data output unit 105 after receiving notification of the output target section from the data structure ratio determination unit 104.


[0140]
FIG. 25 is a flowchart showing the content data packet output process performed by the data output unit 105.


[0141] The data output unit 105 reads the data packets included in the output target section, based on the PID, module ID, and block Number notified from the data structure ratio determination unit 104 set at S1108 in FIG. 11, from the data storage unit 101 (step S2401). Then, the data output unit 105 writes the read content data packets to the memory as a queue in the order that the content data packets are arranged in the section (step S2402), reads the overall bitrate stored in the data output rate storage unit 106 (step S2403), and outputs the written content data packets in the order in which they were written, at the read overall bitrate (step S2404).


[0142] According to the above-described processes, content data packets belonging to each carousel and each module are written to and output from the memory, distributed according to the carousel comparison ratio and the module comparison ratio determined by the data structure ratio determination unit 104 in compliance with the PID ratio and the module ratio. Therefore, each carousel and each module is distributed according to the carousel structure ratio and the module structure ratio determined by the data structure ratio determination unit 104 in compliance with the PID ratio and the module ratio, and the structure ratio between each carousel and between each module to be output per specified length of time is determined.


[0143] Second Embodiment


[0144] In the data transfer apparatus 100 in the first embodiment, the input data packet count is obtained by the extracted data counting unit 103, and the carousel structure ratio and the module structure ratio are determined based on the obtained input data packet count. However, a data transfer apparatus 200 in the present embodiment obtains output bitrate information from a TS transmitted by an external apparatus, and determines the carousel structure ratio and the module structure ratio based on the obtained output bitrate information.


[0145] Here, output bitrate information denotes information showing an output bitrate distributed among modules.


[0146]
FIG. 12 shows the structure of the principal components of the data transfer apparatus 200 in an embodiment of the present invention. The data transfer apparatus 200 is composed of the data storage unit 101, the data extraction unit 102, an extracted data analysis unit 203, the data structure ratio determination unit 104, the data output unit 105, and the data output rate storage unit 106.


[0147] Note that structural elements of the data transfer apparatus 200 that are the same as those in the data transfer apparatus 100 shown in FIG. 1 have the same numbering. The following describes the structural elements in the data transfer apparatus 200 that differ from the data transfer apparatus 100.


[0148] In the present embodiment, the output bitrate information is transmitted embedded in a TS as data packets having attached output information identifiers.


[0149]
FIG. 13 shows one example of the output bitrate information.


[0150] A PID column 510 shows PIDs of carousels that are output. Here two types of such PIDs are shown: 100 and 101.


[0151] A module ID column 520 shows module IDs of modules that are output. The carousel having the PID 100 is composed of two types of modules whose respective module IDs are 0 and 1. The carousel having the PID 101 is composed of three types of modules whose respective module IDs are 0, 1 and 2.


[0152] A module ID column 530 shows an output bitrate allocated to the module of each module ID. For the carousel having the PID 100, the output bitrate is 375 Kbps (kilobits per second) for the module having the module ID 0, and 125 Kbps for the module having the module ID 1. For the carousel having the PID 101, the output bitrate is 600 Kbps for the module having the module ID 0, 200 Kbps for the module having the module ID 1, and 200 Kbps for the module having the module ID 2.


[0153] The data extraction unit 102 extracts data packets that have an output information identifier from the TS, and outputs the extracted data packets to the extracted data analysis unit 203.


[0154] The extracted data analysis unit 203 obtains output bitrate information from the data packets input by the 102, and outputs the obtained output bitrate information to the data structure ratio determination unit 104.


[0155] The data structure ratio determination unit 104 determines the carousel structure ratio and the module structure ratio based on the input output bitrate information, determines content data packets to be successively output in section units so as to comply with the determined carousel structure ratio and the module structure ratio, and notifies each determined output target section to the data output unit 105.


[0156] Since the operations in the output target PID determination process and the output target section determination process performed by the data structure ratio determination unit 104 are the same as those in the first embodiment a description is omitted here.


[0157] Third Embodiment


[0158]
FIG. 14 shows the structure of the principal components of a data transfer apparatus 300 in an embodiment of the present invention. The data transfer apparatus 300 is composed of the data storage unit 101, a data extraction unit 102, the data structure ratio determination unit 104, the data output unit 105, a data output rate instruction unit 303, and an instruction information storage unit 306.


[0159] Note that structural elements of the data transfer apparatus 300 that are the same as those in the data transfer apparatus 100 shown in FIG. 1 have the same numbering. The following describes the structural elements in the data transfer apparatus 300 that differ from the data transfer apparatus 100.


[0160] The data output rate instruction unit 303 receives inputs of the overall bitrate, a PID rate ratio, and a module rate ratio from an operator, and has these inputs stored in the instruction information storage unit 306. Then, the data output rate instruction unit 303 instructs the data output unit 105 to output content data at the input overall bitrate, and notifies the data structure ratio determination unit 104 of the input PID rate ratio and module rate ratio.


[0161] Here, PID rate ratio denotes the ratio at which the overall bitrate is distributed among carousels of each PID.


[0162] Module rate ratio denotes the ratio at which the PID rate ratio for a carousel is distributed among the modules of the carousel.


[0163] The instruction information storage unit 306 stores the overall output bitrate, the PID rate ratio and the module rate ratio input by the operator. Hereinafter the overall output bitrate, the PID rate ratio and the module rate ratio are 44. collectively referred to as instruction information.


[0164]
FIG. 15 is a table showing one example of instruction information An overall output bitrate column 1510 shows the overall output bitrate of content data. A PID column 1520 shows the PID of each carousel that composes the content data. A PID rate ratio column 1530 shows the PID rate ratio distributed to each PID. A module ID column 1540 shows the module ID of each module that composes each carousel. A module rate ratio column 1550 shows the module rate ratio distributed to the module of each module ID.


[0165] The data structure ratio determination unit 104 sets the PID multiplex count and the PID multiplex accumulated count for each PID and the module multiplex count and the module multiplex accumulated count for each module ID, based on the PID rate ratio and the module rate ratio notified by the data output rate instruction unit 303.


[0166] Specifically, the data structure ratio determination unit 104 sets the PID multiplex count for each PID so that the ratio of the PID multiplex count of each PID is an inverse ratio of the PID rate ratio. Then, the data structure ratio determination unit 104 calculates the PID multiplex accumulated count for each PID based on the set PID multiplex count.


[0167] Furthermore, the data structure ratio determination unit 104 sets the module multiplex count for each module ID so that the ratio of the module multiplex count of each module ID is an inverse ratio of the module rate ratio. Then, the data structure ratio determination unit 104 calculates the module multiplex accumulated count for each module ID based on the set module multiplex count.


[0168] Note that the PID multiplex accumulated count and the module multiplex accumulated count are calculated the same way as in the first embodiment.


[0169] Furthermore, the operations of the data structure ratio determination unit 104 in the output target PID and output target section determination process are the same as those in the first embodiment, thus a description thereof is omitted here.


[0170] Accordingly, the content data packets belonging to the carousels and the modules are written to the memory, and output from the memory by the data output unit 105 distributed according to the carousel structure ratio and the module structure ratio determined by the data structure ratio determination unit 104 in compliance with the PID rate ratio and the module rate ratio. Therefore, the overall output bitrate is distributed among the carousels and modules according to the carousel structure ratio and the module structure ratio determined by the data structure ratio determination unit 104 in compliance with the PID rate ratio and the module rate ratio, and the structure ratio between the carousels and the modules to be output per specified length of time is determined.


[0171] Considering the example in FIG. 15, an overall output bitrate of 2000 Kbps is distributed at a PID rate ratio of 1:2 among the carousels having the respective PIDs 100 and 101, the former being allotted 667 Kbps and the latter being allotted 1333 Kbps. The 667 Kbps bitrate allotted to the carousel having the PID 100 is further distributed at a ratio of 2:1 among the modules having respective module IDs 0 and 1 that compose the carousel, the former being allotted 445 Kbps and the latter being allotted 222 Kbps. The 1333 Kbps allotted to the carousel having the PID 101 is further distributed at a ratio of 3:1:1 among the modules having the respective module IDs 0, 1 and 2, so that the modules are allotted 800 Kbps, 266 Kbps, and 266 Kbps respectively.


[0172] In this way in the present embodiment, the output bitrate of modules and carousels that compose content data can be adjusted as desired.


[0173] Fourth Embodiment


[0174] In contrast to the data transfer apparatus 300 in the third embodiment in which instruction information is obtained by the data output rate instruction unit 303, in a data transfer apparatus 400 in the present embodiment the instruction information is obtained from a TS that is transmitted from an external apparatus.


[0175]
FIG. 16 shows the structure of the principal components of the data transfer apparatus 400 in an embodiment of the present invention. The data transfer apparatus 400 is composed of the data storage unit 101, the data extraction unit 102, an instruction information analysis unit 403, the data structure ratio determination unit 104, the data output unit 105, and the data output rate storage unit 106.


[0176] Note that structural elements of the data transfer apparatus 400 that are the same as those in the data transfer apparatus 300 shown in FIG. 14 have the same numbering. The following describes the structural elements in the data transfer apparatus 400 that differ from the data transfer apparatus 300.


[0177] In the present embodiment, the instruction information is transmitted embedded in a TS as packet data to which an instruction information identifier is attached.


[0178] Since the content of the instruction information is the same as that shown in FIG. 15, a description thereof is omitted here.


[0179] The instruction information analysis unit 403 obtains the instruction information from data packets having an instruction information identifier that have been input from the data extraction unit 102, and outputs the obtained instruction information to the data structure ratio determination unit 104.


[0180] The data structure ratio determination unit 104 determines the carousel structure ratio and the module structure ratio based on the instruction information input by the instruction information analysis unit 403, determines the content data packets to be successively output in section units so as to comply with the determined carousel structure ratio and module structure ratio, and notifies each determined output target section to the data output unit 105.


[0181] Since the operations in the output target PID determination process and the output target section determination process performed by the data structure ratio determination unit 104 are the same as those in the first embodiment, a description thereof is omitted here.


[0182] Fifth Embodiment


[0183] <Structure>


[0184]
FIG. 17 shows the structure of the principal components of a data transfer apparatus 500 of the present embodiment. The data transfer apparatus 500 is composed of the data storage unit 101, the data extraction unit 102, the extracted data counting unit 103, the data structure ratio determination unit 104, a data output unit 505, the data output rate storage unit 106, a video data obtaining unit 507, and a null packet detection unit 508.


[0185] Note that structural elements of the data transfer apparatus 500 that are the same as those in the data transfer apparatus 100 shown in FIG. 1 have the same numbering. The following describes the structural elements in the data transfer apparatus 500 that differ from the data transfer apparatus 100.


[0186] The video data obtaining unit 507 receives a TS transmitted from an external apparatus. Video data packets, audio data packets, and null data packets are incorporated into the TS. Hereinafter, these three types of packets are collectively referred to as AV data packets. The video data obtaining unit 507 outputs the received AV data packets to the null packet detection unit 508.


[0187] The null packet detection unit 508, on detecting a null packet in the AV data packets transmitted from the video data obtaining unit 507 by recognizing the PID attached to each null data packet, outputs a detection signal to the data output unit 505.


[0188] Here, null data packet denotes dummy packets that have a predetermined PID and that do not include data to be reproduced and displayed. Such null data packets are transmitted included in AV packet data to supplement reductions of the transmitted bitrate for the AV packet data, when the amount of AV data packets of video data transmitted varies with time, so that a predetermined bitrate for the data packets can be maintained.


[0189] The data output unit 505 performs a process for writing content data packets and a process for selecting data packets to be output.


[0190] First, the process for writing content data packets is described. As with the data output unit 105 in the first embodiment, the data output unit 505, which has a memory for storing content data packets to be output, reads content data packets of the section to be output, based on the PID, module ID, and block Number determined by the data structure ratio determination unit 104. The data output unit 505 writes the read content data packets to the memory as a queue.


[0191] Next, the process for selecting a data packet to be output is described.


[0192] The data output unit 505 select a data packet to be output, and outputs the selected data packets.


[0193] Specifically, after receiving an AV data packet from the video data obtaining unit 507, the data output unit 505 selects the AV data packet as an output target data packet when it does not detect a detection signal from the null packet detection unit 508 within a predetermined amount of time, and then outputs the selected AV data packet. When the data output unit 505 does detect a detection signal within the predetermined amount of time, it recognizes the received AV data packet as a null data packet, and instead outputs the data packet that is at the head of the queue in the memory.


[0194] As a result, the null packets in the extracted AV data packet transport stream are substituted with types of content data packets that have been successively selected according to a priority order in compliance with the carousel structure ratio and the module structure ratio determined by the data structure ratio determination unit 104.


[0195]
FIG. 18 shows one example of an AV data packet transport stream received by the video data obtaining unit 507. In FIG. 18, data 2 represents AV data packets that are not null data packets, while NULL represents null data packets.


[0196]
FIG. 19 shows one example of a data stream that the data output unit 505 outputs after receiving the AV data packets shown in FIG. 18 from the video data obtaining unit 507. Data 1 represents content data packets that the data output unit 505 has substituted for the null data packets in FIG. 18.


[0197] <Operations>


[0198] The following describes the operations of the data packet selection process performed by the data output unit 505, with reference to FIG. 20. FIG. 20 is a flowchart showing the operations in the data packet selection process performed by the data output unit 505.


[0199] On receiving an AV data packet from the video data obtaining unit 507 (step S1201:Y), the data output unit 505 judges whether it has received an input of a detection signal from the null packet detection unit 508 within a predetermined amount of time (step S1202).


[0200] When there is an input of a detection signal (step S1202:Y), the data output unit 505 reads the head data packet in the queue of the content data packets stored in the memory, and selects the content data packet as a data packet to be output (step S1203), and outputs the selected packet (step S1204).


[0201] When there is not an input of a detection signal (step S1202:N), the data output unit 505 selects the received AV data packet as the data packet to be output (step S1205), and outputs the selected data packet (step S1204).


[0202] Sixth Embdiment


[0203] In the data transfer apparatus 100 in the first embodiment, content data packets are output in compliance with the carousel structure ratio and the module structure ratio determined following the PID ratio and the module ratio. However, in a data transfer apparatus 600 in the present embodiment content data packets are output in compliance with a pre-set data structure ratio.


[0204] <Structure>


[0205]
FIG. 21 shows the structure of the principal components of the data transfer apparatus 600 of the present embodiment. The data transfer apparatus 600 is composed of the data storage unit 101, the data extraction unit 102, a data output unit 605, and a data output rate storage unit 106.


[0206] Note that structural elements of the data transfer apparatus 600 that are the same as those in the data transfer apparatus 100 shown in FIG. 1 have the same numbering. The following describes the structural elements in the data transfer apparatus 600 that differ from the data transfer apparatus 100.


[0207] The data output unit 605 performs a process for determining the data structure ratio of the content data packets to be output, and a process for outputting the content data packets.


[0208] First, the data structure ratio determination process is described. The data output unit 605 determines content data packets to be output in order of the numbers shown by the PIDs, module IDs and block Numbers of the content data packets (for example, the content data packets in FIG. 4 are in the order 421, 422, 423), and writes the determined content data packets order as a queue in the memory of the data output unit 605. As a result the data structure ratio of the content data packets of each PID and module ID is determined.


[0209] Next, the content data packet output process is described.


[0210] The data output unit 605 outputs the content data packets that are written in its memory in order at the overall output bitrate stored in the data output rate storage unit 106.


[0211] <Operations>


[0212] The following describes the operations of the data structure ratio determination process performed by the data output unit 605.


[0213]
FIG. 22 is a flowchart showing the operations of the data structure ratio determination process performed by the data output unit 605.


[0214] The data output unit 605 makes the next PID after the PID of the previously-notified content data packet the output target PID (step S1301). Here, if the data structure ratio determination process has just started and there is no previously-notified content data packet, the data output unit 605 makes the first PID the output target PID.


[0215] Furthermore, the data output unit 605 judges whether the previously-output content data packet is the last content data packet in the section (step S1302) This judgement can be made, for example, by referring to a flag appended to the last content data packet showing that it is the last content data packet.


[0216] When the content data packet is the last one (step S1302:Y), the data output unit 605 judges whether the section is the last section in the module (step S1303). This judgement can be made, for example, by comparing the number of sections in the module to which the section belongs and the section number showing the number of the section in the module, which are shown in header information included in the head content data packet of each section.


[0217] When the section is the last section (step S1303:Y), the data output unit 605 judges whether the module to which the section belongs is the last module in the particular carousel (step 51304). This judgement may be made, for example, by storing the module ID of the last module of each carousel of each PID in the data storage unit 101, and having the data output unit 605 compare the last module ID among the stored module IDs and the module ID of the module to which the section belongs. Alternatively, the last module ID may be incorporated in DII (DownloadInfoIndication) in the carousel of each PID, and the data output unit 605 may be judged based on the last module ID described in the DII stored in the data storage unit 101, which has been extracted by the data extraction unit 102.


[0218] If the module is the last module (step S1304:Y), the data output unit 605 makes the first content data packet belonging to the first section of the first module in the carousel of the next PID after the output target PID the output target data packet (step S1305), and writes the output target data packet to the memory (step S1306).


[0219] When the content data packet is not the last one (step S1302:N), the data output unit 605 makes the next content data packet in the section the output target data packet (step S1307), and writes the content data packet to the memory (step S1306) When the section is not the last section (step S1303:N), the data output unit 605 makes the first content data packet in the next section in the module after the section the output target data packet (step S1308), and writes the content data packet to the memory (step S1306).


[0220] When the module is not the last module (step S1304:Y), the data output unit 605 makes the first content data packet belonging to the first section of the next module in the carousel the output target data packet (step S1309), and writes the content data packet to the memory (step S1306).


[0221] Note that in the above-described processing output target data packets are determined in order from the head data packet in the carousel of each PID, however the method is not limited to this. For example, a priority order may be determined with each module, and the determination processing of the content data packets performed in this priority order. Alternatively, a priority order may be determined with each carousel, and the content data packets processed in this priority order. Furthermore, it is also possible to perform the output target packet determination process so that the content data packets of sections having different PIDs are mixed together.


[0222] Modifications


[0223] The present invention is not limited to the above-described embodiments. The following is some examples of possible modifications.


[0224] (1) In the first embodiment the data output unit 105 outputs the content data packets written in the memory at the overall output bitrate stored in the data output rate storage unit 106. However, it is possible to vary the overall output bitrate for outputting the content data packets over time. Specifically, input of a new overall output bitrate into the data output rate storage unit 106 by the operator when necessary enables the data output unit 105 to output content data packets at an overall output bitrate that varies over time. It is also possible to store a plurality of overall bitrates in correspondence in the data output rate storage unit 106 with time information showing time slots in which each overall output bitrate is used. The data output unit 105 selects the corresponding overall output bitrate based on the time information, and outputs at that bitrate.


[0225] Accordingly, content data packets can be output at a desired bitrate corresponding to time, in compliance with the carousel structure ratio and the module structure ratio determined by the data structure ratio determination unit 104.


[0226] (2) In the first embodiment, the data structure ratio determination unit 104 determines the carousel structure ratio and the module structure ratio based on the number of data packets input for each module ID by the extracted data counting unit 103. However, the carousel structure ratio and the module structure ratio may instead be determined based on a distribution ratio of the overall output bitrate for each PID and module ID that is determined in advance.


[0227] (3) In the first embodiment, the data structure ratio determination unit 104 determines the carousel structure ratio and the module structure ratio based on the number of data packets input for each module ID by the extracted data counting unit 103. However, it is possible instead to determine these following a preset bitrate for a portion of content data packets (for example, the group of content data packets having the PID 101 in the first embodiment).


[0228] (4) In the third and fourth embodiments, the data structure ratio determination unit 104 sets the PID multiplex count and the module multiplex count based on the PID rate ratio and the module rate ratio. However, it is possible to set only the PID multiplex count based on the PID rate ratio, and, as in the first embodiment, set the module multiplex count based on a module rate calculated based on the number of input data packets for each module in a carousel. In this case, the functions of the data structure ratio determination unit 104 can be achieved by adding the extracted data counting unit 103 to the constituent elements of the data transfer apparatuses 300 and 400.


[0229] Similarly, it is possible to set only the module multiplex count based on the module rate ratio, and, as in the first embodiment, set the PID multiplex count based on a PID ratio calculated based on the number of input data packets for each carousel.


[0230] (5) In the third embodiment, it is possible to allocate a content data packet output bitrate for calculating the PID rate ratio and the module rate ratio for each PID and each module ID, instead of using a PID rate ratio and a module rate ratio. In this case, the data structure ratio determination unit 104 calculates the PID rate ratio and the module rate ratio based on the output bitrate allocated for the carousel and module of each PID and each module ID, and performs the same kind of processing as that in the third embodiment.


[0231] In the above-described example, it is possible to allocate an output bitrate to content data packets of a portion of carousels, instead of using the PID rate ratio and the module rate ratio. In this case, an output rate that is the allocated output bitrate subtracted from the overall output bitrate is distributed among the carousel and modules of each module ID and each bitrate, in correspondence with a ratio showing the PID rate ratio and the module rate ratio.


[0232] (6) In the third embodiment two parameters, i.e. the PID rate ratio and the module rate ratio, are used for distributing the overall bitrate, however it is also possible to use only the module rate ratio. In this case, the overall output bitrate is distributed among the modules of each module ID in correspondence with the ratio showing the module rate ratio.


[0233] In the above-described case it is possible to allocate an output bitrate for calculating the module rate ratio for the module of each module ID, instead of using the module rate ratio. In this case, the data structure ratio determination unit 104 calculates the module rate ratio based on the output bitrate allocated to the module of each module ID, and performs the same kind of processing as in the above-described case.


[0234] In the above-described case, an output bitrate may be allocated to some modules instead of using the module rate ratio. In this case, an output bitrate that is the allocated bitrate subtracted from the overall output bitrate is distributed among the module IDs according to the ratio shown by the module rate ratio.


[0235] (7) In the third embodiment, if content data packets having a module ID for which a module rate ratio has not been set are extracted, the content data packets may be distributed at a predetermined bitrate. Taking the example in FIG. 15, if the content data packets in the module having the module ID 2 not having a module rate ratio are extracted, a predetermined module rate ratio (for example, 1) may be allocated to the module.


[0236] (8) In the third embodiment, if data packets whose module ID has a set module rate ratio are not extracted, a predetermined module rate ratio of another module ID may be allocated. Taking the example in FIG. 15, if only the content data packets of the module IDs 0 and 1 among the modules having PIDs are 101 are detected, the module ID set for the module having the PID is 2 may be ignored, and the output bitrate distributed among the modules having the module IDs 0 and 1 at a module rate ratio of 3:1.


[0237] (9) In the third and fourth embodiments, the overall output bitrate may be divided in advance into two output bitrates: a minimum output bitrate and a surplus output bitrate. Here, the minimum bitrate is distributed among the carousels, and the surplus bitrate is re-distributed, based on the PID rate ratio and the module rate ratio, among each PID, carousel of each module ID, and each module, which are given an priority order. The ratio at which the output bitrate is distributed may be a fixed ratio set in advance, or may be varied with time by an operator.


[0238] (10) In the third and fourth embodiments, the PID rate ratio, the module rate ratio, and the overall output bitrate may be varied with time by the operator.


[0239] (11) In the fifth embodiment, the null data packets incorporated in the extracted AV data packet stream are replaced with content data packets determined by the data structure ratio determination unit 104 and output, however the data packets that are replaced are not limited to being null data packets. Other AV data packets having specified a PID may be replaced, as may a plurality of types of AV data packets.


[0240] (12) In the fifth embodiment, instead of replacing data packets, data packets having a specified PID may be detected and the PID rewritten to another predetermined PID before being output. The above-described functions may be realized, for example, by adding the following functions to the following units in the data transfer apparatus 500. The null packet detection unit 508 notifies the data output unit 505 with a detection signal on detecting the specified PID. The data storage unit 101 stores the predetermined PID that is to be used to overwrite the specified PID. The data output unit 505, on receiving the notification with the detection signal from the null packet detection unit 508, reads the predetermined PID from the data output rate storage unit 106, overwrites the PID of the data packets detected as having the specified PID with the predetermined PID, and outputs the data packets whose PID has been overwritten.


[0241] (13) In the first to the fourth embodiments, when the output target PID notified by the data structure ratio determination unit 104 is a specified PID, the data output unit 105 may re-write the PID of the content data packets included in the output target section belonging to the specified PID with a predetermined PID, write the resulting content data packets to the memory, and output the written content data packets. This function can be achieved, for example, in the following way. The data storage unit 101 has an added function of storing in correspondence a re-write target PID for identifying the PID that is re-written and a re-write PID for specifying the PID that is used to re-write. The data output unit 105 has the added functions of, each time notification of an output target PID is received from the data structure ratio determination unit 104, judging whether the notified PID matches the re-write target PID, and when it does match, reading the re-write PID that corresponds to the re-write target PID, and re-writing the PID of each content data packet with the read re-write PID. Note that there may be a plurality of re-write target PIDs and PIDs used to re-write. In this case, the data storage unit 101 stores each re-write target PID in correspondence with a PID used to re-write.


[0242] (14) In the first to fourth and sixth embodiments, the data transfer apparatus may store extracted content data each time the content data is updated.


[0243] The above-described function may be realized by incorporating update information in each content data packet showing that the content data has been updated. Here the update information is, for example, a flag or a version number. The data extraction unit 102 judges, based on the update information of an extracted data packet, whether the content data packet has been updated, and if content data packet has been updated, has the content data packet stored in the data storage unit 101. Note that the content data packets may be updated in module units or in carousel units.


[0244] Furthermore, instead of incorporating update information in each content data packet, update information may be incorporated in the DII in each carousel, and the data extraction unit 102 may be made to judge whether the content data packet has been updated by referring to the update information in the extracted DII.


[0245] (15) In the first to the fifth embodiments, the determination process for output target data packets is performed in section units, put this process may be performed for each content data packet.


[0246] In this case, the output target PID determination process (step S2007) is the same as the process shown in FIG. 10, other than step S1007 which is replaced with step 52007. Here, a description of the steps other than step S2007 is omitted. The following describes the output target data packet process performed by the data structure ratio determination unit 104 at step S2007.


[0247]
FIGS. 23 and 24 are flowcharts showing the output target packet determination process performed by the data structure ratio determination unit 104. The determination process is described with use of FIGS. 23 and 24.


[0248] After determining the output target PID at step S1006, the data structure ratio determination unit 104 judges whether, in the content data packets of the output target PID, the previously-notified content data packet is the last data packet in the particular section (step S2101).


[0249] If the content data packet is the last data packet (step S2101:Y), the data structure ratio determination unit 104 sets the lowest module multiplex accumulated count (M2) showing the lowest the module multiplex accumulated count value to infinite, which is the initial value (step S2102). Then, the data structure ratio determination unit 104 reads the module multiplex accumulated counts in order from the module multiplex accumulated count table(step S2103), and compares each read module multiplex accumulated count to M2 (step S2104).


[0250] When a module multiplex accumulated is lower than M2 (step S2104:Y), the data structure ratio determination unit 104 sets that module multiplex accumulated count as the lowest module multiplex accumulated count (M2) (step S2105), and judges whether all the read module multiplex accumulated counts have been compared to M2 (step S2106).


[0251] When all have been compared (step S2106:Y), the data structure ratio determination unit 104 selects the module showing the module multiplex accumulated count value set as the lowest module multiplex accumulated count (M2) as the output target module (step S2107). Then, by referring to the information in the management information table, the data structure ratio determination unit 104 selects the next section in the selected output target module after the previously notified section as the output target section. Here, if there is no previously-notified section, or if the previously notified section is the last section, the data structure ratio determination unit 104 selects the first section in the output target module (step S2108). The data structure ratio determination unit 104 selects the first content data packet in the output target section as the output target data packet (step S2109). Then, the data structure ratio determination unit 104 notifies the data output unit 105 of the selected output target data packet, and adds the module multiplex count value of the output target module to the module multiplex accumulated count of that module (step S2111), and updates the module multiplex accumulated count of that module in the module multiplex accumulated count table with the value obtained at step S2111 (step S2112).


[0252] At step S2101, if the content data packet is not the last data packet (step S2102:N), the data structure ratio determination unit 104 selects the next content data packet among the content data packets that belong to output target module after the previously-notified content data packet as the output target data packet (step S2110), notifies the data output unit 105, and adds the module multiplex count value of the output target module to the module multiplex accumulated count of that module (step S2111). Then, the data structure ratio determination unit 104 updates the module multiplex accumulated count of that module in the module multiplex accumulated count with the value obtained at step S2111 (step S2112) and performs the same processing as at step 91009 in FIG. 10.


[0253] At step S2104, when the module multiplex accumulated is not lower than M2 (step S2104:N), the data structure ratio determination unit 104 performs the processing at step S2106.


[0254] At step S2106, when all the read module multiplex accumulated counts have not been compared to M2 (step S2106:N), the data structure ratio determination unit 104 repeats the processing from step S2103 to step S2106.


[0255] Note that in the above-described processing, the content data packet output process performed by the data output unit 105 after receiving notification of the selected output target data packet is the same as the processing shown in FIG. 25, except that the processing at step S2401 is instead processing for reading the notified output target data packet, and the processing as step S2404 is instead processing for writing the read output target data packet to the memory.


[0256] Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Therefore, unless such changes and modifications depart from the scope of the present invention, they should be construed as being included therein.


Claims
  • 1. A data transfer apparatus that receives from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, and transfers the repeat data to a lower station, comprising: storage means having a storage area; extraction means for extracting the types of repeat data from the received data stream; writing means for writing the extracted repeat data to the storage area; data structure ratio determination means for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and data output means for reading the repeat data stored in the storage means, and outputting the read repeat data at the determined ratio.
  • 2. The data transfer apparatus of claim 1, wherein the storage area is composed of a plurality of allocated storage areas, each of which is for storing a different one of the types of repeat data, and each time the extraction means extracts one of the types of repeat data, the writing means overwrites, with the extracted repeat data, repeat data stored in the allocated storage area for the extracted type of repeat data.
  • 3. The data transfer apparatus of claim 1, wherein each of the plurality of types of repeat data is composed of a plurality of data packets, the data ratio determination means includes: a counting unit for counting, for each type of repeat data, the number of data packets extracted over a predetermined length of time, and the data structure ratio determination means determines the ratio based on a ratio between the number of data packets counted for each type of repeat data.
  • 4. The data transfer apparatus of claim 1, wherein the data stream further includes output information data that includes output ratio information showing a ratio between the types of repeat data output by the upper station, the extraction means further extracts the output information data, and the data structure ratio determination means determines the ratio based on the output ratio information included in the extracted output information data.
  • 5. The data transfer apparatus of claim 1, wherein the output means includes: an output rate instruction information reception unit for receiving a instruction information for instructing an overall output bitrate and a ratio between the types of repeat data in a data stream output per specified unit of time, the data structure ratio determination means includes: an instruction information storage unit that has a recording area in which the instruction information is recorded; and an instruction information recording unit for recording the received instruction information in the recording area, the data structure ratio determination means determines the ratio based on the recorded instruction information, and the output means outputs the repeat data stored in the storage means at the overall bitrate shown by the instruction information.
  • 6. The data transfer apparatus of claim 1, wherein the data stream further includes instruction information data that has (a) instruction information for instructing a ratio between the types of repeat data that are included in a data stream to be output per fixed length of time and (b) an overall output bitrate, the extraction means further extracts the instruction information data from the data stream, the data structure ratio determination means determines the ratio based on the instruction information included in the extracted instruction information data, and the output means outputs the repeat data stored in the storage means at the overall bitrate shown by the instruction information.
  • 7. The data transfer apparatus of claim 1, wherein each type of repeat data is composed of a plurality of data packets that are transmitted according to a carousel transmission method, and the data stream is a transport stream.
  • 8. The data transfer apparatus of claim 7, wherein each of the types of repeat data has a PID that specifies the type of repeat data, the storage means stores at least one set of a first PID and a second PID, the first PID identifying a PID that is to be re-written, and the second PID specifying a PID with which the PID identified by the first PID is to be rewritten, and the data output means includes: a judgement unit for judging whether a PID of repeat data to be read by the data output means matches the first PID in the set stored by the storage means; and a PID re-writing unit for, when the PID of the repeat data to be read matches the first PID, re-writing the PID of the repeat data with the PID specified by the second PID in the set.
  • 9. A data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packet that does not include data to be reproduced and displayed, and (b) transfers the received repeat data to a lower station, comprising: storage means having a storage area; extraction means for extracting the types of the repeat data from the received first data stream; writing means for writing the extracted repeat data to the storage area; detection means for detecting the null data packet in the received second type of data stream; output data selection means for successively selecting one of the types of repeat data to be output; and output means for, (c) when the detection means detects the null data packet, reading from the storage means a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (d) when the detection means does not detect a null data packet, outputting the received second data stream.
  • 10. The data transfer apparatus of claim 9, wherein the storage area is composed of a plurality of allocated storage areas, each of which is for storing a different one of the types of repeat data, and each time the extraction means extracts one of the types of repeat data, the writing means overwrites, with the extracted repeat data, repeat data stored in the allocated storage area for the extracted type of repeat data.
  • 11. The data transfer apparatus of claim 9, wherein the output data selection means includes: a counting unit for counting, for each type of repeat data, the number of data packets extracted over a predetermined length of time, and the output data selection means successively selects a type of repeat data to be output, in compliance with a determined priority order based on a ratio between the number of data packets counted for the types of repeat data.
  • 12. The data transfer apparatus of claim 9, wherein the repeat data is composed of a plurality of data packets that are transmitted according to a carousel transmission method, and each of the first type and second type of data streams is a transport stream.
  • 13. The data transfer apparatus of claim 12, wherein the second type of data stream includes data packets, each data packet having one of a plurality of types of PIDs, the plurality of types of PIDs including a first PID, the storage means stores a second PID, the detection means further detects a data packet having the first PID in the received second type of data stream, and the output means further, when the detection means detects the data packet having the first PID, reads the second PID from the storage means, overwrites the first PID of the detected data packet with the second PID, and outputs the resulting data packet.
  • 14. A data transfer apparatus that receives from an upper station a data stream that includes pieces of repeat data that are repeatedly transmitted by the upper station, and transfers the received repeat data to a lower station, comprising: storage means having a storage area for storing one piece of the repeat data; extraction means for successively extracting the pieces of repeat data at a time from the received data stream; writing means for writing the extracted piece of repeat data to the storage area, and, each time the extraction means newly extracts one of the pieces of repeat data, overwriting the piece of repeat data stored in the storage area with the newly-extracted piece of repeat data; and output means for reading the piece of repeat data stored in the storage means, and outputting the read piece of repeat data.
  • 15. A data transfer apparatus that receives from an upper station a data stream that includes pieces of repeat data that are repeatedly transmitted by the upper station, and transfers the received repeat data to a lower station, each piece of repeat data being updated at a predetermined interval and including update information showing that the updated piece of repeat data has been updated, comprising: storage means having a storage area for storing one piece of the repeat data; extraction means for successively extracting the pieces of repeat data from the received data stream; update judgement means for judging, based on the update information, whether the extracted piece of repeat data has been updated; writing means for writing a first extracted piece of repeat data to the storage area, and, only when one of the extracted pieces of repeat data is judged to have been updated, replacing the updated piece of repeat data with the piece of repeat data stored in the storage means; and output means for reading the piece of repeat data stored in the storage means, and outputting the read piece of repeat data.
  • 16. A data transfer method used in a data transfer apparatus that (a) receives from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, (b) transfers the repeat data to a lower station, and (c) has a storage area, the method comprising: an extraction step for extracting the types of repeat data from the received data stream; a writing step for writing the extracted repeat data to the storage area; a data structure ratio determination step for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output step for reading the repeat data stored in the writing step, and outputting the read repeat data at the determined ratio.
  • 17. A recording medium having a program recorded thereon for use in a data transfer apparatus, the data transfer apparatus . (a) receiving from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, (b) transferring the repeat data to a lower station, and (c) having a storage area, the program comprising: an extraction step for extracting the types of repeat data from the received data stream; a writing step for writing the extracted repeat data to the storage area; a data structure ratio determination step for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output step for reading the repeat data stored in the writing step, and outputting the read repeat data at the determined ratio.
  • 18. A program for use in a data transfer apparatus that (a) from an upper station a data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station, (b) transfers the repeat data to a lower station, and (c) has a storage area, the program comprising: an extraction step for extracting the types of repeat data from the received data stream; a writing step for writing the extracted repeat data to the storage area; a data structure ratio determination step for determining a ratio between the types of repeat data to be output in a data stream per fixed length of time; and a data output step for reading the repeat data stored in the writing step, and outputting the read repeat data at the determined ratio.
  • 19. A data transfer method for use in a data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packets that does not include data to be reproduced and displayed, (b) transfers the received repeat data to a lower station, and (c) has a storage area, the method comprising: an extraction step for extracting the types of the repeat data from the received first data stream; a writing step for writing the extracted repeat data to the storage area; a detection step for detecting the hull data packet in the received second type of data stream; an output data selection step for successively selecting one of the types of repeat data to be output; and an output step for, (d) when the detection step detects the null data packet, reading from the storage area a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (e) when the detection step does not detect a null data packet, outputting the received second data stream.
  • 20. A recording medium having a program recorded thereon for use in a data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packets that does not include data to be reproduced and displayed, (b) transfers the received repeat data to a lower station, and (c) has a storage area, the program comprising: an extraction step for extracting the types of the repeat data from the received first data stream; a writing step for writing the extracted repeat data to the storage area; a detection step for detecting the null data packet in the received second type of data stream; an output data selection step for successively selecting one of the types of repeat data to be output; and an output step for, (d) when the detection step detects the null data packet, reading from the storage area a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (e) when the detection step does not detect a null data packet, outputting the received second data stream.
  • 21. A program for use in a data transfer apparatus that (a) receives from an upper station (i) a first type of data stream that includes a plurality of types of repeat data, each type of repeat data being repeatedly transmitted by the upper station and being composed of a plurality of repeat data packets, and (ii) a second type of data stream that includes at least one null data packet that is a dummy data packet that does not include data to be reproduced and displayed, (b) transfers the received repeat data to a lower station, and (c) has a storage area, the program comprising: an extraction step for extracting the types of the repeat data from the received first data stream; a writing step for writing the extracted repeat data to the storage area; a detection step for detecting the null data packet in the received second type of data stream; an output data selection step for successively selecting one of the types of repeat data to be output; and an output step for, (d) when the detection step detects the null data packet, reading from the storage area a repeat data packet that composes the selected type of repeat data, replacing the detected null data packet with the read data packet, and outputting the resulting data stream, and (e) when the detection step does not detect a null data packet, outputting the received second data stream.
Priority Claims (1)
Number Date Country Kind
2001-159499 May 2001 JP