Processing device, program and processing method

By replacing null packets with transmission control packets and dynamically controlling the number of additional packets, the method ensures efficient and stable transmission of PSI/SI data, addressing the unpredictability of null packets in transport streams.

JP7533021B2Active Publication Date: 2024-08-14OKI ELECTRIC INDUSTRY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020142438
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-26
Publication Date
2024-08-14
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

Existing methods struggle to predict the amount of null packets in transport streams, leading to incomplete transmission of PSI/SI within a predetermined period, causing sudden increases in transmission rate and quality deterioration.

Method used

A stream acquisition unit acquires a transport stream, replacing null packets with transmission control packets containing divided data, and dynamically determines the number of additional packets to be added per unit time to ensure completion within the period, using a packet processing unit to control the transmission of PSI/SI.

Benefits of technology

This approach efficiently transmits transmission control data while maintaining transmission quality by stabilizing the transmission rate, even when the number of null packets is unpredictable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533021000001
    Figure 0007533021000001
  • Figure 0007533021000006
    Figure 0007533021000006
  • Figure 0007533021000005
    Figure 0007533021000005
Patent Text Reader

Abstract

To efficiently transmit transmission control data while suppressing deterioration of transmission quality.SOLUTION: A processing device includes a stream acquisition unit that acquires a first transport stream containing a plurality of packets, and a packet processing unit that outputs a second transport stream by replacing a Null packet contained in the first transport stream with a transmission control packet in which divided data of the transmission control data is stored, and adding the transmission control packet to the first transport stream, and the packet processing unit dynamically determines the number of additional packets, which is the number of the transmission control packets to be added to the first transport stream every unit time such that the output of the transmission control data is completed within a predetermined cycle.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a processing device, a program, and a processing method. [Background technology]

[0002] 2. Description of the Related Art In recent years, IP broadcasting services have been put to practical use, in which TS packets contained in a transport stream (TS), which is the output of terrestrial digital broadcasting waves or a real-time encoder, are multicast to an Internet Protocol (IP) network.

[0003] In IP broadcasting, in addition to video and audio data, an electronic program guide and transmission control data required for reception are also transmitted. Examples of transmission control data include PSI (Program Specific Information) and SI (Service Information). PSI / SI is transmitted periodically so that viewers can receive PSI / SI whenever they turn on their receivers. For example, the transmission period is determined by the type of data; for example, an electronic program guide is transmitted once every three minutes, and PAT data required for reception is transmitted once every 0.1 seconds.

[0004] Although the amount of such transmission control data is small compared to the video data and audio data, if it is sent all at once in a periodic manner, the transmission rate will momentarily increase. For this reason, a method can be considered in which the transmission control data is normalized to a constant rate and then superimposed on the video data and audio data before being sent.

[0005] On the other hand, TS packets contained in transport streams output by terrestrial digital broadcasting and real-time encoders also contain dummy packets (commonly known as Null packets) inserted to keep the transmission rate constant. Patent Document 1 discloses a method of using the Null packets to transmit transmission control data. Specifically, Patent Document 1 discloses a method of replacing the Null packets with PSI / SI and transmitting them. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] International Publication No. 2009 / 147776 Summary of the Invention [Problem to be solved by the invention]

[0007] However, it is difficult to predict in advance the amount of Null packets contained in a transport stream generated in real time. Therefore, in the method described in Patent Document 1, when the amount of Null packets contained in a transport stream is insufficient, the transmission of PSI / SI cannot be completed within a predetermined period. In order to complete the transmission of PSI / SI within a period, it is possible to transmit untransmitted PSI / SI packets just before the end of the period, but in this case, the transmission rate increases momentarily, and the transmission quality deteriorates.

[0008] Therefore, the present invention has been made in consideration of the above problems, and an object of the present invention is to provide a new and improved processing device, program, and processing method that are capable of efficiently transmitting transmission control data while suppressing deterioration of transmission quality. [Means for solving the problem]

[0009] In order to solve the above problem, according to one aspect of the present invention, there is provided a processing device comprising: a stream acquisition unit that acquires a first transport stream including a plurality of packets; and a packet processing unit that outputs a second transport stream by replacing null packets included in the first transport stream with transmission control packets storing divided data of transmission control data, and adding the transmission control packets to the first transport stream, wherein the packet processing unit dynamically determines the number of added packets, which is the number of transmission control packets to be added to the first transport stream, per unit time so that output of the transmission control data is completed within a predetermined period. An apparatus is provided.

[0010] In addition, in order to solve the above problem, according to another aspect of the present invention, there is provided a program for causing a computer to function as a processing device comprising: a stream acquisition unit that acquires a first transport stream including a plurality of packets; and a packet processing unit that replaces null packets included in the first transport stream with transmission control packets storing divided data of transmission control data, and outputs a second transport stream by adding the transmission control packets to the first transport stream, wherein the packet processing unit dynamically determines the number of additional packets, which is the number of transmission control packets to be added to the first transport stream, per unit time so that output of the transmission control data is completed within a predetermined period.

[0011] In addition, in order to solve the above problem, according to another aspect of the present invention, there is provided a processing method by a processing device, comprising the steps of: acquiring a first transport stream including a plurality of packets; replacing Null packets included in the first transport stream with transmission control packets storing divided data of transmission control data; and outputting a second transport stream by adding the transmission control packets to the first transport stream, wherein the step of outputting the second transport stream includes dynamically determining, for each unit time, a number of additional packets, which is the number of transmission control packets to be added to the first transport stream, so that output of the transmission control data is completed within a predetermined period. Effect of the Invention

[0012] According to the present invention described above, it is possible to efficiently transmit transmission control data while suppressing deterioration of transmission quality. [Brief description of the drawings]

[0013] [Figure 1] 1 is an explanatory diagram showing the configuration of a transport stream processing system according to an embodiment of the present invention; [Diagram 2] 11 is an explanatory diagram showing an example of changes in the number of data packets and null packets per unit time. FIG. [Diagram 3] 1 is an explanatory diagram showing the configuration of a TS processing device 20 according to an embodiment of the present invention. [Figure 4] 2 is an explanatory diagram showing a specific example of a transport stream output from a packet processing unit 230. FIG. [Diagram 5] 2 is an explanatory diagram showing the operation of a packet processing unit 230 included in the TS processing device 20 according to one embodiment of the present invention. FIG. [Figure 6] 2 is a block diagram showing a hardware configuration of a TS processing device 20. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and duplicated explanations will be omitted.

[0015] In addition, in this specification and drawings, multiple components having substantially the same functional configuration may be distinguished by adding different alphabets after the same reference numeral. However, when there is no need to particularly distinguish between multiple components having substantially the same functional configuration, each of the multiple components is given only the same reference numeral.

[0016] <1. Overview of the transport stream processing system> An embodiment of the present invention relates to a transport stream processing system for processing a transport stream. An overview of the transport stream processing system according to an embodiment of the present invention will be described below with reference to Fig. 1. Note that hereinafter, a transport stream may also be simply referred to as a TS.

[0017] 1 is an explanatory diagram showing the configuration of a transport stream processing system according to an embodiment of the present invention. As shown in Fig. 1, the transport stream processing system according to an embodiment of the present invention includes a TS generating device 10, a TS processing device 20, and a plurality of receiving devices 30.

[0018] (TS generator 10) The TS generating device 10 generates a transport stream and supplies the generated transport stream to the TS processing device 20. The transport stream is made up of a plurality of packets, more specifically, transport packets. The transport packets include data packets having valid data such as video data or audio data, and dummy Null packets that do not contain valid data. Here, a specific example of inserting Null packets will be described with reference to FIG. 2.

[0019] Fig. 2 is an explanatory diagram showing an example of change in the number of data packets and Null packets per unit time. As shown in Fig. 2, the number of data packets per unit time included in a transport stream may vary depending on the unit time. On the other hand, the number of Null packets increases or decreases so as to offset the increase or decrease in the number of data packets per unit time. As a result, as shown in Fig. 2, the total number of data packets and the number of Null packets per unit time remains constant.

[0020] Each transport packet includes a PID (Packet Identifier). The PID indicates what data is stored in the transport packet that includes the PID. For example, if a transport packet is a null packet that does not include valid data, 0x1FFF is written in the PID of the transport packet.

[0021] Such a TS generating device 10 is configured, for example, by a live encoder or a terrestrial digital broadcasting tuner, etc. The above-mentioned transport stream is supplied in real time from the TS generating device 10 to the TS processing device 20 as a first transport stream.

[0022] (TS processing device 20) The TS processing device 20 is an example of a processing device, and is connected to the TS generating device 10 and receives a transport stream from the TS generating device 10. The TS processing device 20 superimposes transmission control data onto the transport stream received from the TS generating device 10. The TS processing device 20 is also connected to a plurality of receiving devices 30 via a network 12, and transmits the transport stream onto which the transmission control data is superimposed to the plurality of receiving devices 30 as a second transport stream.

[0023] The transmission control data is data used for the user to reproduce desired video data and audio data on the receiving device 30. Examples of the transmission control data include PSI (Program Specific Information) and SI (Service Information). Hereinafter, PSI or SI may be referred to as PSI / SI. It is desirable that PSI / SI is superimposed on the transport stream within a predetermined period.

[0024] Furthermore, the network 12 connecting the TS processing device 20 and the image receiving device 30 is a wired or wireless transmission path for information transmitted from devices connected to the network 12. For example, the network 12 may include public line networks such as the Internet, a telephone line network, or a satellite communication network, as well as various types of LANs (Local Area Networks) including Ethernet (registered trademark), and WANs (Wide Area Networks). The network 12 may also include a dedicated line network such as an IP-VPN (Internet Protocol-Virtual Private Network).

[0025] (Image receiving device 30) The image receiving device 30 reproduces the video data and audio data based on the transport stream received from the TS processing device 20 .

[0026] (Identifying issues) As described above, the transport stream supplied from the TS generating device 10 to the TS processing device 20 contains Null packets that do not contain valid data. A method is conceivable in which transmission control data such as PSI / SI is transmitted using these Null packets. For example, by replacing the Null packets with PSI / SI packets obtained by dividing the PSI / SI, it is possible to realize effective use of the bandwidth.

[0027] However, it is difficult to predict in advance the amount of Null packets contained in a transport stream generated in real time. Therefore, in the above method, if the amount of Null packets contained in the transport stream is insufficient, the transmission of PSI / SI will not be completed within a predetermined period. In order to complete the transmission of PSI / SI within a period, it is possible to transmit untransmitted PSI / SI packets just before the end of the period, but in this case, the transmission rate will increase momentarily, deteriorating the transmission quality.

[0028] Taking the above circumstances into consideration, the present inventor has come up with an embodiment of the present invention. According to one embodiment of the present invention, it is possible to efficiently transmit transmission control data such as PSI / SI while suppressing deterioration of transmission quality. The configuration and operation of a TS processing device 20 according to one embodiment of the present invention will be described in detail below.

[0029] <2. TS Processing Device Configuration> 3 is an explanatory diagram showing the configuration of a TS processing device 20 according to an embodiment of the present invention. As shown in FIG. 3, the TS processing device 20 according to an embodiment of the present invention includes a receiving unit 220, a packet processing unit 230, and a transmitting unit 240.

[0030] (Receiving unit 220) The receiver 220 is an example of a stream acquisition unit that receives and acquires a transport stream made up of a plurality of TS packets from the TS generating device 10. The receiver 220 outputs the transport stream received from the TS generating device 10 to the packet processing unit 230.

[0031] (Packet processing unit 230) The packet processing unit 230 superimposes PSI / SI packets obtained by dividing the PSI / SI, as an example of transmission control data, on the transport stream input from the receiving unit 220. Specifically, the packet processing unit 230 has the functions of a packet replacing unit 232, an additional packet number determining unit 234, and a packet adding unit 236, as shown in FIG.

[0032] -Packet replacement unit 232 The packet replacing unit 232 replaces the Null packets included in the transport stream with PSI / SI packets. If the superposition of all the PSI / SI packets has already been completed within the PSI / SI transmission period, the packet replacing unit 232 does not replace the Null packets with PSI / SI packets.

[0033] -Additional packet number determination unit 234 The additional packet number determination unit 234 determines the number of additional packets, which is the number of PSI / SI packets per unit time to be added to the transport stream. Specifically, the additional packet number determination unit 234 determines the number of additional packets so that the superposition of PSI / SI is completed within a predetermined PSI / SI transmission period even when the number of Null packets is insufficient.

[0034] Here, the additional packet number determination unit 234 determines the number of additional packets so that the increase or decrease in the number of additional packets between successive unit times is equal to or smaller than a predetermined standard. With this configuration, it is possible to prevent abrupt changes in the transmission rate and suppress deterioration of the transmission quality. Note that the predetermined standard may be a predetermined number of packets or the rate of increase or decrease in the number of packets.

[0035] The number of additional packets determination unit 234 may determine the number of additional packets based on the relationship between the number of unprocessed packets, which is the number of PSI / SI packets that are not superimposed on the transport stream among the PSI / SI packets (i.e., the number of PSI / SI packets that have not been replaced or added), and the remaining time, which is the time until the end of the PSI / SI transmission period.

[0036] Specifically, if the total number of PSI / SI packets processed within the remaining time when the number of added packets is gradually increased from the next unit time onwards is less than the number of unprocessed packets, the number of added packets determination unit 234 may determine the number of added packets in the current unit time to be a number of packets gradually increased from the number of added packets in the previous unit time. On the other hand, if the total number of PSI / SI packets processed within the remaining time when the number of added packets is gradually increased from the next unit time onwards is greater than the number of unprocessed packets, the number of added packets determination unit 234 may not gradually increase the number of added packets in the current unit time from the number of added packets in the previous unit time.

[0037] According to this configuration, even if no Null packets are subsequently input, it is possible to complete the transmission of PSI / SI within the transmission period while suppressing abrupt changes in the transmission rate. Furthermore, if no Null packets are subsequently input, a PSI / SI packet is added just before the transmission of PSI / SI is not completed even if the number of additional packets is gradually increased per unit time, so that it is possible to suppress the occurrence of additional PSI / SI packets.

[0038] On the other hand, the additional packet number determination unit 234 also has a function of calculating the total number of transmission control packets to be processed within the remaining time when the number of additional packets in the current unit time and the next unit time and thereafter is set to the number of packets obtained by subtracting the number of additional packets in the previous unit time by a predetermined number. If the total number of transmission control packets to be processed within the remaining time is equal to or greater than the number of unprocessed packets, the additional packet number determination unit 234 may determine the number of additional packets in the current unit time to be the number of packets obtained by subtracting the number of additional packets in the previous unit time by a predetermined number.

[0039] According to this configuration, it is possible to reduce the number of added packets early on and complete the transmission of PSI / SI within the transmission period even if no null packets are subsequently input.

[0040] -Packet Addition Unit 236 The packet adding unit 236 adds PSI / SI packets of the number of additional packets determined by the number of additional packets determining unit 234 to the transport stream per unit time. For example, the packet adding unit 236 may add Null packets of the number of additional packets to the transport stream and replace the added Null packets with PSI / SI packets. The transport stream in which the Null packets have been replaced with PSI / SI packets by the packet replacing unit 232 and to which the PSI / SI packets have been added by the packet adding unit 236 is output from the packet processing unit 230 to the transmitting unit 240.

[0041] Here, a specific example of such a transport stream output from the packet processing unit 230 will be described with reference to FIG.

[0042] Fig. 4 is an explanatory diagram showing a specific example of a transport stream output from the packet processing unit 230. Specifically, Fig. 4 shows a specific example of a transport stream output from the packet processing unit 230 when the transport stream shown in Fig. 2 is supplied to the TS processing device 20.

[0043] As shown in Fig. 4, Null packets contained in the transport stream supplied to the TS processing device 20 are successively replaced with PSI / SI packets by the packet replacing unit 232. Furthermore, in the case where no Null packets are input after unit period t1, the added packet number determining unit 234 determines that gradually increasing the number of added packets from the next unit time onwards will not complete the transmission of PSI / SI within the transmission period. Then, the packet adding unit 236 starts adding PSI / SI packets as shown in Fig. 4.

[0044] 4, Null packets are actually input, and the number of input Null packets increases. As a result, the number of added packets determination unit 234 starts to decrease the number of added packets, and at unit time t2, the number of added packets becomes 0. Furthermore, because the transmission of all PSI / SI packets is completed at unit time t3 by replacing the Null packets with PSI / SI packets, Null packets remain in the transport stream after unit time t3.

[0045] (Transmitter 240) The transport stream on which the PSI / SI packets have been superimposed by the packet processing unit 230 is input to the transmitting unit 240. The transmitting unit 240 transmits the transport stream to the image receiving device 30.

[0046] <3. Operation of TS processing device> The configuration of the TS processing device 20 according to one embodiment of the present invention has been described above. Next, the operation of the packet processing unit 230 included in the TS processing device 20 according to one embodiment of the present invention will be described in detail with concrete examples.

[0047] First, the parameters used in the explanation are listed below. i Unit time: the period at which the receiving unit 220 inputs the TS packets received from the TS generating device 10 to the packet processing unit 230, and is synonymous with the processing unit time of the packet processing unit 230. t The time from the current time to the next PSI / SI transmission period, i.e. the remaining time until the deadline for transmitting all pending PSI / SI packets. ·n t / i, that is, the number of times that can be processed from the current time to the next PSI / SI transmission period. ·r The number of unsent PSI / SI packets that must be sent from the current time until the next PSI / SI transmission cycle (number of unprocessed packets). The value decreases with each transmission and is reset each time a transmission cycle crosses. d The upper limit of the number of packets that is allowed to increase or decrease per unit time. For example, if d=3, after 100 TS packets have been transmitted, 97 to 103 TS packets may be transmitted in the next unit time. In other words, d is a value that determines the slope (upper and lower limits) of the number of transmitted packets when plotted as a time series graph. The value may be a decimal value such as 0.1. a The number of added packets is the number of PSI / SI packets that the packet processing unit 230 adds to the input TS packets. The initial value is 0, and it changes from moment to moment according to the procedure described below. For example, if the number of packets input from the receiving unit 220 to the packet processing unit 230 per unit time is 100, and the value of a at a certain time is 30, then a total of 130 packets will be output from the packet processing unit 230.

[0048] Using these parameters, the operation of the packet processing unit 230 will be described with reference to FIG.

[0049] Fig. 5 is an explanatory diagram showing the operation of the packet processing unit 230 included in the TS processing device 20 according to one embodiment of the present invention. Fig. 5 shows the operation of the packet processing unit 230 in one unit time.

[0050] 5, first, when a transport stream is input from the receiving unit 220 to the packet processing unit 230 (S304), the packet replacing unit 232 checks whether the number of unprocessed packets r is 0 or not (S308). If the number of unprocessed packets r is not 0 (S308 / No), the packet replacing unit 232 replaces Null packets included in the transport stream with PSI / SI packets (S312), and decrements the number of unprocessed packets r by the number of replacements, which is the number of replaced Null packets (S316).

[0051] If the input transport stream does not contain a null packet, the number of unprocessed packets r does not change. If the number of unprocessed packets r is 0 (S308 / Yes), the packet processing unit 230 outputs the transport stream to the transmitting unit 240 without performing any special processing on the transport stream (S372).

[0052] The number of additional packets determination unit 234 determines whether the number of unprocessed packets r after decrement in S316 is less than 0 (S320). If the number of unprocessed packets r is less than 0 (S320 / Yes), the number of additional packets determination unit 234 sets the number of unprocessed packets r to 0 (S324). Thereafter, the packet processing unit 230 outputs the transport stream to the transmitting unit 240 without performing any particular processing on the transport stream (S372).

[0053] On the other hand, if the number of unprocessed packets r after decrement in S316 is not less than 0 (S320 / No), the number of added packets determination unit 234 determines whether to increase the number of added packets a (S328). Specifically, the number of added packets determination unit 234 determines to increase the number of added packets a if the total number of PSI / SI packets processed within the remaining time t is less than the number of unprocessed packets r when the number of added packets a is gradually increased by d from the next unit time onwards.

[0054] For example, the number of additional packets determination unit 234 determines not to increase the number of additional packets a if the following formula 1 is satisfied, and determines to increase the number of additional packets a if the following formula 1 is not satisfied. r≦(n(2a+(n-1)d)) / 2 (Formula 1)

[0055] Note that the right side of the above formula 1 indicates how many PSI / SI packets can be added in total if the number of additional packets a is not increased this time, and the number of PSI / SI packets is gradually increased by d in the remaining n-1 processing steps.

[0056] If the number of unprocessed packets in a unit time r is 60, the number of additional packets a is 10, d = 1, i = 1 second, t = 4 seconds, and n = 4, the solution to the right-hand side of the above equation 1 is calculated as 46 as follows. (4×(2×10+(4-1)×1)) / 2=46

[0057] In this case, since 46 is less than the number of unprocessed packets r, which is 60, the above formula 1 is not satisfied. Therefore, the number of additional packets determination unit 234 determines to increase the number of additional packets a per unit time.

[0058] On the other hand, if the number of unprocessed packets in a unit time r is 60, the number of additional packets a is 10, d = 1, i = 1 second, t = 5 seconds, and n = 5, then the solution to the right-hand side of the above equation 1 is calculated as 60 as follows: (5×(2×10+(5-1)×1)) / 2=60

[0059] In this case, since 60 is equal to or greater than the number r of unprocessed packets, 60, the above formula 1 is satisfied. Therefore, the number of additional packets determination unit 234 determines not to increase the number a of additional packets in the unit time.

[0060] When it is determined that the number of additional packets a should be increased by the above-mentioned method (S328 / Yes), the number of additional packets determination unit 234 increments the number of additional packets a by d (S332).

[0061] On the other hand, when the number of additional packets determining unit 234 determines not to increase the number of additional packets a by the above-mentioned method (S328 / No), it determines whether to decrease the number of additional packets a (S336). Specifically, the number of additional packets determining unit 234 calculates the total number of PSI / SI packets to be processed within the remaining time t when the number of additional packets a in the current unit time and the next unit time and thereafter is set to the number of packets obtained by subtracting the number of additional packets a in the previous unit time by d. Then, when the calculated total number of PSI / SI packets is equal to or greater than the number of unprocessed packets r, the number of additional packets determining unit 234 determines to decrease the number of additional packets a.

[0062] For example, the number of additional packets determination unit 234 determines to decrease the number of additional packets a if the following formula 2 is satisfied, and determines not to decrease the number of additional packets a if the following formula 2 is not satisfied. r≦n(a-d) (Formula 2)

[0063] The right side of the above formula 2 indicates how many PSI / SI packets can be added in total when (ad) PSI / SI packets are added in n processes until the next transmission cycle. In other words, if the inequality in the above formula 2 holds, it means that even if the number of added packets a is reduced by d from the current unit time, the PSI / SI can still be transmitted in time for the next transmission cycle.

[0064] If the number of unprocessed packets in a unit time r is 60, the number of additional packets a is 11, d = 1, i = 1 second, t = 6 seconds, and n = 6, the solution to the right-hand side of the above equation 2 is calculated as 60 as follows. 6(11-1)=60

[0065] In this case, since 60 is equal to or greater than the number r of unprocessed packets, 60, the above formula 2 is satisfied. Therefore, the number of additional packets determination unit 234 determines to decrease the number a of additional packets per unit time.

[0066] On the other hand, if the number of unprocessed packets in a unit time r is 60, the number of additional packets a is 10, d = 1, i = 1 second, t = 6 seconds, and n = 6, the solution to the right-hand side of the above equation 2 is calculated as 54 as follows. 6(10-1)=54

[0067] In this case, since 54 is less than 60, which is the number of unprocessed packets r, the above formula 2 is not satisfied. Therefore, the number of additional packets determination unit 234 determines not to decrease the number of additional packets a in the unit time.

[0068] When the number of additional packets determination unit 234 determines to decrease the number of additional packets a by the above-mentioned method (S336 / Yes), it decrements the number of additional packets a by d (S340). Here, when the number of additional packets a is less than 0 (S344 / Yes), the number of additional packets determination unit 234 sets the number of additional packets a to 0 (S348).

[0069] After the process of S332, the branch of No in S336, the branch of No in S344, or the process of S348, the packet adding unit 236 adds a Null packets to the transport stream (S352) and replaces the added Null packets with PSI / SI packets (S356). Then, the packet adding unit 236 decrements the number of unprocessed packets r by the number of replacements, which is the number of replaced Null packets (S360). If the number of unprocessed packets r after the decrement is less than 0 (S364 / Yes), the packet adding unit 236 sets the number of unprocessed packets r to 0 (S368). After that, the packet processing unit 230 outputs the transport stream on which the PSI / SI packets are superimposed by replacement or addition to the transmitting unit 240 (S372).

[0070] <4. Hardware configuration> An embodiment of the present invention has been described above. The information processing, such as the above-mentioned determination of the number of packets to be added and the superposition of PSI / SI packets, is realized by cooperation between software and the hardware of the TS processing device 20, which will be described below.

[0071] 6 is a block diagram showing a hardware configuration of the TS processing device 20. The TS processing device 20 includes a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a RAM (Random Access Memory) 203, and a host bus 204. The TS processing device 20 also includes a bridge 205, an external bus 206, an interface 207, an input device 208, a display device 209, an audio output device 210, a storage device (HDD) 211, a drive 212, and a network interface 215.

[0072] The CPU 201 functions as an arithmetic processing device and control device, and controls the overall operation of the TS processing device 20 in accordance with various programs. The CPU 201 may also be a microprocessor. The ROM 202 stores programs and arithmetic parameters used by the CPU 201. The RAM 203 temporarily stores programs used in the execution of the CPU 201 and parameters that change appropriately during the execution. These are connected to each other by a host bus 204 that is constituted by a CPU bus or the like. Functions such as a packet replacement unit 232, an added packet number determination unit 234, and a packet addition unit 236 can be realized by the cooperation of the CPU 201, the ROM 202, and the RAM 203 with software.

[0073] The host bus 204 is connected to an external bus 206, such as a PCI (Peripheral Component Interconnect / Interface) bus, via a bridge 205. It is not necessary to configure the host bus 204, the bridge 205, and the external bus 206 separately, and these functions may be implemented in a single bus.

[0074] The input device 208 is made up of input means, such as a mouse, keyboard, touch panel, buttons, microphone, sensors, switches, and levers, through which the user inputs information, and an input control circuit that generates an input signal based on the user's input and outputs it to the CPU 201. A user of the TS processing device 20 can input various types of data and instruct the TS processing device 20 to perform processing operations by operating the input device 208.

[0075] The display device 209 includes, for example, a display device such as a liquid crystal display (LCD) device, a projector device, an OLED (Organic Light Emitting Diode) device, a lamp, etc. Furthermore, the audio output device 210 includes an audio output device such as a speaker and a headphone.

[0076] The storage device 211 is a data storage device configured as an example of a storage unit of the TS processing device 20 according to this embodiment. The storage device 211 may include a storage medium, a recording device that records data on the storage medium, a reading device that reads data from the storage medium, and a deleting device that deletes data recorded on the storage medium. The storage device 211 is configured, for example, with an HDD (Hard Disk Drive) or an SSD (Solid Storage Drive), or a memory having equivalent functions. This storage device 211 drives the storage and stores the programs executed by the CPU 201 and various data.

[0077] The drive 212 is a reader / writer for a storage medium, and is built into or externally attached to the TS processing device 20. The drive 212 reads out information recorded on a removable storage medium 24, such as an attached magnetic disk, optical disk, magneto-optical disk, or semiconductor memory, and outputs the information to the RAM 203 or the storage device 211. The drive 212 can also write information to the removable storage medium 24.

[0078] The network interface 215 is, for example, a communication interface configured with a communication device for connecting to the network 12. In addition, the network interface 215 may be a communication device compatible with a wireless LAN (Local Area Network), or a wired communication device that performs wired communication.

[0079] <5. Conclusion> According to the embodiment of the present invention described above, the transmission bandwidth of null packets, which have no meaning as data, can be used as the transmission bandwidth of PSI / SI, thereby making it possible to improve the bandwidth effectiveness of the network.

[0080] Furthermore, even in a system in which a transport stream is generated in real time and it is difficult to predict the number of null packets that will be generated in the future, it is possible to transmit PSI / SI within a transmission period without causing a sudden fluctuation in the transmission rate by appropriately controlling the addition of PSI / SI. As a result, it is possible to efficiently transmit transmission control data such as PSI / SI while suppressing deterioration of transmission quality.

[0081] Although the preferred embodiment of the present invention has been described in detail with reference to the attached drawings, the present invention is not limited to such an example. It is clear that a person having ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or altered examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally fall within the technical scope of the present invention.

[0082] For example, the steps in the processing of the TS processing device 20 in this specification do not necessarily have to be processed in chronological order according to the order described in the flowchart. For example, the steps in the processing of the TS processing device 20 may be processed in an order different from the order described in the flowchart, or may be processed in parallel.

[0083] It is also possible to create a computer program for causing hardware such as a CPU, ROM, and RAM built into the TS processing device 20 to perform functions equivalent to those of the above-mentioned components of the TS processing device 20. Also provided is a storage medium on which the computer program is stored. [Explanation of symbols]

[0084] 10 TS generator 20 TS Processing Equipment 220 Receiving unit 230 Packet Processing Unit 232 Packet Replacement Unit 234 Additional Packet Number Determination Unit 236 Packet Addition Section 240 Transmitter 30 Image receiving device

Claims

1. a stream acquisition unit that acquires a first transport stream including a plurality of packets; a packet processing unit that replaces a null packet included in the first transport stream with a transmission control packet in which divided data of transmission control data is stored, and adds the transmission control packet to the first transport stream, thereby outputting a second transport stream; Equipped with The packet processing unit dynamically determines, for each unit time, a number of additional packets, which is the number of transmission control packets to be added to the first transport stream, so that output of the transmission control data is completed within a predetermined period.

2. The processing device according to claim 1 , wherein the packet processing unit determines the number of additional packets such that an increase or decrease in the number of additional packets between successive unit times is equal to or smaller than a predetermined standard.

3. 3. The processing device according to claim 1, wherein the packet processing unit determines the number of added packets based on a relationship between a number of unprocessed packets, which is the number of transmission control packets that have not been replaced or added among the transmission control packets that constitute the transmission control data, and a remaining time, which is the time until the end of the specified period.

4. 4. The processing device according to claim 3, wherein, when the total number of transmission control packets to be processed within the remaining time becomes less than the number of unprocessed packets when the number of additional packets is gradually increased from the next unit time onwards, the packet processing unit determines the number of additional packets in the current unit time to be a number of packets gradually increased from the number of additional packets in the previous unit time.

5. 5. The processing device according to claim 3, wherein the packet processing unit determines the number of additional packets in the current unit time to be the number of additional packets obtained by subtracting a predetermined number from the number of additional packets in the previous unit time when a total number of transmission control packets to be processed within the remaining time is equal to or greater than the number of unprocessed packets when the number of additional packets in the current unit time and the next unit time and thereafter is the number of packets obtained by subtracting a predetermined number from the number of additional packets in the previous unit time.

6. The processing device according to any one of claims 3 to 5, wherein the packet processing unit determines the number of additional packets in the current unit time to be the number of additional packets in the previous unit time if the total number of transmission control packets processed within the remaining time becomes equal to or greater than the number of unprocessed packets when the number of additional packets is gradually increased from the next unit time onwards, and if the total number of transmission control packets processed within the remaining time becomes less than the number of unprocessed packets when the number of additional packets in the current unit time and from the next unit time onwards is set to a number of packets obtained by subtracting a predetermined number from the number of additional packets in the previous unit time.

7. 7. The processing device according to claim 1, wherein the transmission control data includes Program Specific Information (PSI) or Service Information (SI).

8. Computer, a stream acquisition unit that acquires a first transport stream including a plurality of packets; a packet processing unit that replaces a null packet included in the first transport stream with a transmission control packet in which divided data of transmission control data is stored, and adds the transmission control packet to the first transport stream, thereby outputting a second transport stream; Equipped with A program for causing the packet processing unit to function as a processing device that dynamically determines the number of additional packets, which is the number of transmission control packets to be added to the first transport stream, per unit time so that output of the transmission control data is completed within a specified period.

9. A processing method using a processing device, comprising: obtaining a first transport stream comprising a plurality of packets; a step of replacing a null packet included in the first transport stream with a transmission control packet in which divided data of transmission control data is stored, and outputting a second transport stream by adding the transmission control packet to the first transport stream; Including, A processing method in which the step of outputting the second transport stream includes dynamically determining a number of additional packets, which is the number of transmission control packets to be added to the first transport stream, per unit time so that output of the transmission control data is completed within a predetermined period.

Citation Information

Patent Citations

  • Program information transmission device

    JP2001251563A

  • Information-transmitting method and information- transmitting device

    JP2002101061A

  • Transmission apparatus for digital broadcast data

    JP2004056214A

  • Transport stream recording and transmission method and device thereof

    WO2009147776A1