Transmission device and reception device

A transmission device (100) outputs, to a reception device (200), a stored amount of packets in a first transmission buffer (105) just before a certain packet has been written to the first transmission buffer. A first reception buffer amount read unit (206) in the reception device reads a stored amount of packets in a first reception buffer just before the certain packet has been read from the first reception buffer. A storage amount addition unit (207) adds the stored amount of packets in the first transmission buffer and the stored amount of packets in the first reception buffer, and a correction unit (208) adjusts the frequency of a variable frequency oscillator in a reception timestamp timer 209 so that the resulting added value is a constant value.

TECHNICAL FIELD

The present invention relates to technology for performing synchronous transmission between a transmission device and a reception device, such as MPEG2 transport stream (MPEG2 TS) transmission.

Synchronous transmission refers to transmission in which the average bit rate at which packets are input to a transmission device is equal to the average bit rate at which packets are output from a reception device, and the time-base jitter of packets is within a predetermined range.

BACKGROUND ART

Conventionally, there is technology that realizes synchronous transmission by merely performing transmission jitter control with the use of a buffer included in a reception device, under the condition that the input bit rate at which packets are input to a transmission device and the transmission bit rate of packet on a transmission line are both a constant bit rate (CBR) and both the same value (see patent document 1).

In the embodiments of the present invention, “constant bit rate” means that the average bit rate per fixed period is a constant value, and “variable bit rate” means that the average bit rate per certain fixed period varies.

The following describes an outline of the technology disclosed in patent document 1 for realizing conventional synchronous transmission with reference toFIG. 17.FIG. 17shows the structure of a reception device that realizes such conventional synchronous transmission.

A reception device1000includes an input terminal1001that receives an input of a packet from a transmission line, a conditioning circuit1002with a transmission jitter buffer (not depicted) provided therein, a system decoder1003, a timestamp acquisition circuit1004, a PLL (Phase Locked Loop) circuit1005, an output terminal1006for externally outputting packets, and an output terminal1007for externally outputting a system clock.

In the following, BuffRx(t) is a stored amount function that expresses the amount of packets that are stored in the transmission jitter buffer in the conditioning circuit1002at time t. G(t) is a rate function that expresses the input bit rate at which a packet is input to the transmission jitter buffer at time t, and F(t) is a rate function that expresses the output bit rate at which a packet is output from the transmission jitter buffer at time t.

The rate function G(t) is 0 until time T0, and c (c being a constant value) at or after time T0, and the rate function F(t) is 0 until time T1, and c (c being a constant value) at or after time T1(FIG. 18A).

The stored amount function BuffRx(t) at time t, which is at or after time T1, is expressed by the following expression (1)

In expression (1), since the data amount of packets input to the buffer from time T1to time t is the same as the data amount of packets output from the buffer during the same period, expression (1) shows that the stored amount function BuffRx(t) is constant from time T1onward (FIG. 18B). In other words, the stored amount of packets in the buffer is constant.

In consideration of this, the conventional technology realizes synchronous transmission by controlling the speed at which packets are output from the buffer so that the stored amount of packets in the buffer is constant.Patent document 1: Japanese Patent Application Publication No. H8-139704

DISCLOSURE OF THE INVENTION

Problems Solved by the Invention

However, the conventional technology cannot realize synchronous transmission between transmission and reception devices in cases of communication such as when the stored amount of packets in the buffer included in the reception device is not constant. Examples of such communication include (1) when the input bit rate at which packets are input to the transmission device is a variable bit rate (VBR) and the transmission bit rate on the transmission line is a constant bit rate, (2) when the input bit rate at which packets are input to the transmission device is a constant bit rate and the transmission bit rate on the transmission line is a variable bit rate, and (3) when the input bit rate at which packets are input to the transmission device and the transmission bit rate on the transmission line are both variable bit rates.

The following describes how the stored amount of packets in the buffer of a reception device is not constant in the above case (2), with reference toFIGS. 19A and 19B.

In this case, the rate function G(t) is 0 until time T0, and a variable value at or after time T0, and the rate function F(t) is 0 until time T1, and c (c being a constant value) at or after T1(FIG. 19A).

The stored amount function BuffRx(t) at time t, which is at or after time T1, is expressed by the following expression (2)

In expression (2), since the data amount of packets input to the buffer from time T1to time t is not necessarily the same as the data amount of packets output from the buffer during the same period, expression (2) shows that the stored amount function BuffRx(t) is not constant from time T1onward (FIG. 19B). In other words, the stored amount of packets in the buffer is not constant.

In view of the above, an aim of the present invention is to provide a transmission device, a reception device, a transmission method, and a reception method that, by utilizing the stored amount of packets in the buffers included in the transmission and reception devices, realize synchronous transmission between the transmission and reception devices even when either of, or both, the input bit rate at which packets are input to the transmission device and the transmission bit rate on the transmission line is a variable bit rate.

Means to Solve the Problems

In order to achieve the above aim, the present invention is a transmission device including: a transmission counter unit operable to count a constant frequency clock signal; a first transmission buffer unit operable to temporarily store a packet input thereto, and output the stored packet; and a transmission unit operable to (i) transmit the packet stored in the first transmission buffer unit and transmission counter information, the transmission counter information indicating a count value of the transmission counter unit when the packet was input to the transmission device, and (ii) transmit first transmission storage information via a transmission line, the first transmission storage information specifying a stored amount of packets in the first transmission buffer unit at a first timing pertaining to first processing performed on the packet with respect to the first transmission buffer unit.

The present invention is also a transmission method of (i) transmitting a packet stored in a first transmission buffer unit and transmission counter information indicating a count value of a transmission counter unit when the packet was input to a transmission device, and (ii) transmitting, via a transmission line, first transmission storage information for specifying a stored amount of packets in the first transmission buffer unit at a first timing pertaining to first processing performed on the packet with respect to the first transmission buffer unit.

The present invention is also a reception device including: a reception unit operable to receive, via a transmission line and from a transmission device including a transmission counter unit that counts a constant frequency clock signal and a first transmission buffer unit, (i) a packet, (ii) transmission counter information indicating a count value of the transmission counter unit when the packet was input to the transmission device, and (iii) first transmission storage information for specifying a stored amount of packets in the first transmission buffer unit at a first timing pertaining to first processing performed on the packet with respect to the first transmission buffer unit; a reception counter unit operable to count a clock signal at a counting speed that is variable; a first reception buffer unit operable to temporarily store the packet; a correction unit operable to correct the counting speed of the reception counter unit based on the first transmission storage information and first reception storage information, the first reception storage information specifying a stored amount of packets in the first reception buffer unit at a second timing pertaining to second processing performed on the packet with respect to the first reception buffer unit; and a first output control unit operable to control output of the packet from the first reception buffer unit based on the transmission counter information received by the reception unit and reception counter information indicating a count value of the reception counter unit.

The present invention is also a reception method used in a reception device which includes a reception counter unit that counts a clock signal at a counting speed that is variable, and a first reception buffer unit that temporarily stores a received packet, including the steps of: receiving, via a transmission line and from a transmission device including a transmission counter unit that counts a constant frequency clock signal and a first transmission buffer unit, (i) the packet, (ii) transmission counter information indicating a count value of the transmission counter unit when the packet was input to the transmission device, and (iii) first transmission storage information for specifying a stored amount of packets in the first transmission buffer unit at a first timing pertaining to first processing performed on the packet with respect to the first transmission buffer unit; correcting the counting speed of the reception counter unit based on the first transmission storage information and first reception storage information, the first reception storage information specifying a stored amount of packets in the first reception buffer unit at a second timing pertaining to second processing performed on the packet with respect to the first reception buffer unit; and performing first output control to control output of the packet from the first reception buffer unit based on the transmission counter information received in the receiving step and reception counter information indicating a count value of the reception counter unit.

Effects of the Invention

A combination of the transmission device and reception device of the present invention, or a combination of the transmission method and reception method of the present invention, enables adjusting the count speeds of the counters in the transmission and reception devices by utilizing the stored amount of packets in the first transmission buffer unit of the transmission device and the stored amount of packets in the second reception buffer unit of the reception device. This enables synchronous transmission between transmission and reception devices, even in the case of communication between transmission and reception devices in which synchronous communication could not be realized by utilizing solely the stored amount of packets in the buffer included in the reception device (i.e., the bit rate at which packets are input to the transmission device is a variable bit rate, or the transmission bit rate on the transmission line is a variable bit rate).

In the transmission device, the first transmission storage information may be the stored amount of packets in the first transmission buffer unit.

In the reception device, the first transmission storage information may be the stored amount of packets in the first transmission buffer unit, and the first reception storage information may be the stored amount of packets in the first reception buffer unit.

This structure enables the reception device to easily specify the stored amount of packets in the first transmission buffer unit.

The transmission device may further include a counter information attachment unit operable to attach the transmission counter information to the packet, wherein the transmission unit may perform the transmission of the packet and the transmission counter information by transmitting the packet to which the transmission counter information has been attached by the counter information attachment unit.

This structure enables the reception device to easily specify the counter information that corresponds to the packet and that is from when the packet was input to the transmission device.

The transmission device may further include a storage information attachment unit operable to attach the first transmission storage information to the packet, wherein the transmission unit may perform the transmission of the packet and the first transmission storage information by transmitting the packet to which the first transmission storage information has been attached by the storage information attachment unit.

This structure enables the reception device to easily specify the first transmission storage information that corresponds to the packet.

The transmission device may further include a number attachment unit operable to sequentially attach numbers to packets that are to be transmitted by the transmission unit, in an order in which the packets were input to the transmission device.

In the reception device, the reception unit may be further operable to receive, from the transmission device, sequential numbers that have been assigned to packets in the transmission device in an order in which the packets were input to the transmission device, the reception device may further include: a detection unit operable to detect a count of packets that were not received by the reception unit, based on the sequential numbers received by the reception unit, and the correction unit may correct the counting speed of the reception counter unit so as to obtain a constant value for a sum of the stored amount of packets in the first transmission buffer unit, the stored amount of packets in the first reception buffer unit, and a missing packet amount that is based on the detected count of packets that were not received by the reception unit.

A combination of the above transmission device and reception device enables realizing synchronous transmission between the transmission and reception devices even if a packet is lost on the transmission line.

In the transmission device, the first transmission buffer unit may output the stored packet at a constant bit rate, the transmission device may further include: a second transmission buffer unit operable to temporarily store the packet output from the first transmission buffer unit, the first timing pertaining to the first processing may be a timing pertaining to input processing, and the transmission unit may be further operable to transmit second transmission storage information, the second transmission storage information specifying a stored amount of packets in the second transmission buffer unit at a second timing pertaining to second processing, the second processing being processing for outputting the packet from the second transmission buffer unit.

In the reception device, the first timing pertaining to the first processing may be a timing pertaining to input processing, the reception unit may be further operable to receive second transmission storage information from the transmission device which further includes a second transmission buffer unit that temporarily stores the packet output from the first transmission buffer unit at a constant bit rate and outputs the stored packet, the second transmission storage information specifying a stored amount of packets in the second transmission buffer unit at a timing pertaining to processing for outputting the packet from the second transmission buffer unit, and the reception device may further include: a second reception buffer unit operable to temporarily store the packet and output the stored packet to the first reception buffer unit; and a second output control unit operable to control the output of the packet from the second reception buffer unit, based on the second transmission storage information and second reception storage information, the second reception storage information specifying a stored amount of packets in the second reception buffer unit at a timing pertaining to processing for inputting the packet to the second reception buffer unit.

A combination of the above transmission device and reception device enables realizing synchronous transmission between the transmission and reception devices even if the input bit rate at which packets are input to the transmission apparatus and the transmission bit rate on the transmission line are both variable bit rates.

In the transmission device, the first transmission buffer unit may output the stored packet at a constant bit rate, the transmission device may further include: a second transmission buffer unit operable to temporarily store the packet output from the first transmission buffer unit, and the first timing pertaining to the first processing is a timing pertaining to input processing.

In the reception device, the first timing pertaining to the first processing may be a timing pertaining to input processing, the transmission device may further include a second transmission buffer unit that temporarily stores the packet output from the first transmission buffer unit at a constant bit rate and outputs the stored packet, and the reception device may further include: a second reception buffer unit operable to temporarily store the packet and output the stored packet to the first reception buffer unit; and a second output control unit operable to control the output of the packet from the second reception buffer unit based on (i) the first transmission storage information for specifying the stored amount of packets in the first transmission buffer unit at the first timing pertaining to first processing performed on the packet with respect to the first transmission buffer unit, and (ii) the first reception storage information for specifying the stored amount of packets in the first reception buffer unit at the second timing pertaining to second processing performed on the packet with respect to the first reception buffer unit.

A combination of the above transmission device and reception device enables realizing synchronous transmission between the transmission and reception devices even if the input bit rate at which packets are input to the transmission apparatus and the transmission bit rate on the transmission line are both variable bit rates.

The transmission device may further include a second transmission buffer unit operable to temporarily store the input packet, and transmit the stored packet to the first transmission buffer unit at a constant bit rate.

The present invention is also a reception device including: a reception unit operable to receive, via a transmission line and from a transmission device including a transmission counter unit that counts a constant frequency clock signal, a first transmission buffer unit that temporarily stores a packet and outputs the stored packet at a constant bit rate, and a second transmission buffer unit that temporarily stores the packet output from the first transmission buffer unit, (i) the packet, (ii) transmission counter information indicating a count value of the transmission counter unit when the packet was input to the transmission device, and (iii) transmission storage information for specifying a stored amount of packets in the second transmission buffer unit at a timing pertaining to processing for outputting the packet from the second transmission buffer unit; a reception counter unit operable to count a clock signal at a counting speed that is variable; a first reception buffer unit operable to temporarily store the packet; a second reception buffer unit operable to temporarily store the packet and output the stored packet to the first reception buffer unit; a correction unit operable to correct the counting speed of the reception counter unit based on the transmission storage information and reception storage information, the reception storage information specifying a stored amount of packets in the second reception buffer unit at a timing pertaining to processing for inputting the packet to the second reception buffer unit; a first output control unit operable to control output of the packet from the first reception buffer unit, based on the transmission counter information received by the reception unit and reception counter information indicating a count value of the reception counter unit; and a second output control unit operable to control the output of the packet from the second reception buffer unit, based on the transmission storage information and the reception storage information.

A combination of the above transmission device and reception device enables realizing synchronous transmission between the transmission and reception devices even if the input bit rate at which packets are input to the transmission apparatus and the transmission bit rate on the transmission line are both variable bit rates.

The present invention is also a reception method used in a reception device which includes a reception counter unit that counts a clock signal at a counting speed that is variable, a first reception buffer unit that temporarily stores a packet, and a second reception buffer unit that temporarily stores the packet and outputs the stored packet to the first reception buffer unit, including the steps of: receiving, via a transmission line and from a transmission device including a transmission counter unit that counts a constant frequency clock signal, a first transmission buffer unit that temporarily stores the packet and outputs the stored packet at a constant bit rate, and a second transmission buffer unit that temporarily stores the packet output from the first transmission buffer unit, (i) the packet, (ii) transmission counter information indicating a count value of the transmission counter unit when the packet was input to the transmission device, and (iii) transmission storage information for specifying a stored amount of packets in the second transmission buffer unit at a timing pertaining to processing for outputting the packet from the second transmission buffer unit; correcting the counting speed of the reception counter unit based on the transmission storage information and reception storage information, the reception storage information specifying a stored amount of packets in the second reception buffer unit at a timing pertaining to processing for inputting the packet to the second reception buffer unit; performing first output control to control output of the packet from the first reception buffer unit, based on the transmission counter information received in the receiving step and reception counter information indicating a count value of the reception counter unit; and performing second output control to control the output of the packet from the second reception buffer unit, based on the transmission storage information and the reception storage information.

The above reception method enables realizing synchronous transmission between the transmission and reception devices even if the input bit rate at which packets are input to the transmission apparatus and the transmission bit rate on the transmission line are both variable bit rates.

DESCRIPTION OF THE CHARACTERS

DETAILED DESCRIPTION OF THE INVENTION

The following describes a synchronous transmission system pertaining to embodiment 1 of the present invention that realizes synchronous transmission between a transmission device and a reception device with reference to the drawings.

The present embodiment and the later-described embodiment 2 are directed at a case in which the input bit rate at which packets are input to the transmission device is a variable bit rate, and the transmission bit rate on the transmission line is a constant bit rate.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 1.FIG. 1shows the structure of the synchronous transmission system of the present embodiment.

In the synchronous transmission system, packets are transmitted and received between a transmission device100and a reception device200via a transmission line300. The transmission line300is a transmission line in, for example, an ATM (Asynchronous Transfer Mode) network.

Stored Amount of Packets

Prior to the description of the constituent elements shown inFIG. 1, the following describes the stored amount of packets in a first transmission buffer105and a first reception buffer203shown inFIG. 1, with reference toFIGS. 2A and 2B.FIGS. 2A and 2Bshow changes in bit rate and stored amount of packets over time in the synchronous transmission system ofFIG. 1.

The input bit rate at which packets are input to the first transmission buffer105of the transmission device100is a variable bit rate, and is expressed by a rate function f1(t). Also, the transmission bit rate on the transmission line is a constant bit rate, and is expressed by a rate function g1(t).

In synchronous transmission, the output bit rate at which packets are output from the first reception buffer203of the reception device200is controlled so as to be equal to the input bit rate at which packets are input to the first transmission buffer105. For this reason, letting “delay” express a delay time from when a packet is input to the transmission device100until when a packet is output from the reception device200, the rate function f1(t-delay) expresses the output bit rate at which packets are output from the first reception buffer203.

Here, (1) packet writing to the first transmission buffer105is begun at time0, (2) packet reading from the first transmission buffer105and packet writing to the first reception buffer203are begun at time t0, and (3) packet reading from the first reception buffer203is begun at time t1(=delay).

In this case, the rate function f1(t) is a variable value, and the function g1(t) is 0 until time t0, and c (c being a constant value) at and after time t0(FIG. 2A). Note that the function f1(t-delay) is 0 until time t1(=delay), and a variable value at and after time t1.

Letting BuffTx1(t) be a stored amount function expressing the stored amount of packets in the first transmission buffer105at time t, the following expression (3) indicates the stored amount function BuffTx1(t) at time t, which is at or after time t1(FIG. 2B).

Letting BuffRx1(t) be a stored amount function expressing the stored amount of packets in the first reception buffer203at time t, the following expression (4) indicates the stored amount function BuffRx1(t) at time t, which is at or after time t1(FIG. 2B)

Based on expressions (3) and (4), the following expression (5) indicates a sum of the stored amount of packets in the first transmission buffer105at time t, which is at or after time t1, and the stored amount of packets in the first reception buffer203at time t+delay.

As shown above, the sum of the stored amount of packets in the first transmission buffer105at time t, which is at or after time t1, and the stored amount of packets in the first reception buffer203at time t+delay is a constant value (FIG. 2B).

In other words, a constant value is obtained for the sum of the stored amount of packets in the first transmission buffer105just before a certain packet is written to the first transmission buffer105and the stored amount of packets in the first reception buffer203just before the certain packet is read from the first reception buffer203. Also, a constant value is obtained for the sum of the stored amount of packets in the first transmission buffer105just after a certain packet has been written to the first transmission buffer105and the stored amount of packets in the first reception buffer203just after the certain packet has been read from the first reception buffer203.

In the present embodiment, synchronous transmission between the transmission device100and reception device200is realized by utilizing the above relationship in which the sum of the stored packet amounts is constant.

The present embodiment makes use of the sum of the stored amount of packets in the first transmission buffer105just before a certain packet is written to the first transmission buffer105and the stored amount of packets in the first reception buffer203just before the certain packet is read from the first reception buffer203.

Note that it is acceptable to use the sum of the stored amount of packets in the first transmission buffer105just after a certain packet has been written to the first transmission buffer105and the stored amount of packets in the first reception buffer203just after the certain packet has been read from the first reception buffer203.

Although it is desirable to use either of the above sums to realize synchronous transmission, when a sufficient amount of packets is stored in the first transmission buffer105and the first reception buffer203, there may be a slight difference in the timing at which the stored amounts of the first transmission buffer105and the first reception buffer203are acquired.

Transmission Device

The transmission device100includes an input terminal101, a transmission timestamp timer102, a timestamp attachment unit103, a first transmission buffer amount attachment unit104, the first transmission buffer105, a first transmission buffer amount read unit106, and a transmission processing unit107.

When a packet is input to the input terminal101, the input packet is output to the timestamp attachment unit103.

The transmission timestamp timer102counts a constant frequency clock signal and outputs a count value. An exemplary structure of the transmission timestamp timer102is described later with reference toFIG. 4.

The timestamp attachment unit103receives the input packet and attaches a count value, which is supplied from the transmission timestamp timer102, to the beginning of the received packet as a timestamp. Note that in the present embodiment, although the count value is directly used as the timestamp, the count value may be substituted with a time, and information indicating the substituted time may be used as the timestamp.

The first transmission buffer amount attachment unit104attaches a later-described first transmission buffer amount, which is input from the first transmission buffer amount read unit106, to the beginning of the packet having the timestamp attached thereto.

The first transmission buffer105is constituted from a FIFO (First In First Out) buffer. The first transmission buffer105temporarily stores input packets, and outputs the stored packets at a constant bit rate. Note that the first transmission buffer105joins a plurality of packets together and outputs the group of packets (hereinafter, called the “joined packet”) in order to increase transmission efficiency.

The first transmission buffer amount read unit106reads the stored amount of packets in the first transmission buffer105(hereinafter, called the “first transmission buffer amount”), and outputs the first transmission buffer amount to the first transmission buffer amount attachment unit104. Here, the first transmission buffer amount is the stored amount of packets in the first transmission buffer105just before the writing, to the first transmission buffer105, of the packet to which the first transmission buffer amount is to be attached by the first transmission buffer amount attachment unit104.

In order to facilitate processing in the reception device200, the first transmission buffer amount is the stored amount of data in the first transmission buffer105excluding the data amounts of the timestamp and the first transmission buffer amount itself.

The first transmission buffer amount can be calculated in, for example, the following way. The data size of the timestamp and the first transmission buffer amount are assumed to be fixed data sizes. The sum of the data sizes of the timestamp and the first transmission buffer amount is multiplied by the number of packets stored in the first transmission buffer105(a value equaling the number of input packets minus the number of output packets). The value resulting from the multiplication is subtracted from the actual stored amount of the first transmission buffer105. The value resulting from the subtraction is the first transmission buffer amount.

The transmission processing unit107performs modulation processing, protocol processing, address header processing, etc. suitable for transmission. A description of the modulation processing, protocol processing, address header processing, etc. has been omitted since they are not directly related to the present invention. It should be noted that the present invention can be applied to any kind of transmission, regardless of the modulation processing, protocol processing, address header processing, etc.

In the above-described transmission device100, when a packet is input to the input terminal101(N101ofFIG. 3), the timestamp attachment unit103attaches a count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp (N102), and furthermore, the first transmission buffer amount attachment unit104attaches a first transmission buffer amount read by the first transmission buffer amount read unit106to the beginning of the packet having the timestamp attached thereto (N103). The packet having attached the timestamp and first transmission buffer amount attached thereto is stored in the first transmission buffer105.

The first transmission buffer105outputs the joined packet (N104). The transmission processing unit107performs predetermined processing on the joined packet, and the resulting packet is sent to the transmission line300.

Transmission Timestamp Timer

The following describes the structure of the transmission timestamp timer102included in the transmission device100shown inFIG. 1, with reference toFIG. 4.FIG. 4shows the structure of the transmission timestamp timer102shown inFIG. 1.

The transmission timestamp timer102includes an oscillator102a, a counter102b, and an output terminal102c.

The oscillator102ais a constant frequency oscillator, and is constituted so as to generate a constant frequency clock signal with use of quartz or the like. The oscillation frequency is set high enough that the residual time-base jitter of a post-cycle recovery packet is within a predetermined amount.

The counter102bcounts the constant frequency clock signal generated by the oscillator102a, and externally outputs a count value via the output terminal102c. The count value output via the output terminal102cis supplied to the timestamp attachment unit103.

Reception Device

The reception device200performs time-base recovery processing, rate control processing and the like, which are conditions of synchronous transmission. Note that time-base recovery processing is processing for keeping the time-base jitter of packets within a predetermined range. Also, rate control processing is processing for equalizing the average bit rate of transmitted packets between transmission and reception devices.

The reception device200includes a reception processing unit201, a separation unit202, the first reception buffer203, a timestamp buffer204, a first transmission buffer amount buffer205, a first reception buffer amount read unit206, a stored amount addition unit207, a correction unit208, a reception timestamp timer209, a comparison unit210, a packet read unit211, and an output terminal212.

Upon receiving a packet via the transmission line300, the reception processing unit201performs processing that is opposite from the processing performed by the transmission processing unit107, and recovers the joined packet. A description of the processing performed by the reception processing unit201has been omitted since it does not directly relate to the present invention.

The separation unit202separates the joined packet received from the reception processing unit201into a plurality of first transmission buffer amounts, a plurality of timestamps, and a plurality of packets. The separation unit202outputs the first transmission buffer amounts, timestamps, and packets to the first transmission buffer amount buffer205, timestamp buffer204, and first reception buffer203respectively.

The first reception buffer203is constituted from a FIFO buffer, and temporarily stores input packets. Packets output from the first reception buffer203are externally sent via the output terminal212.

The timestamp buffer204is constituted from a FIFO buffer, and temporarily stores input timestamps.

The first transmission buffer amount buffer205is constituted from a FIFO buffer, and temporarily stores input first transmission buffer amounts.

The first reception buffer amount read unit206reads the stored amount of packets in the first reception buffer203(hereinafter, called the “first reception buffer amount”), and outputs the read first reception buffer amount to the stored amount addition unit207. The first reception buffer amount is the stored amount of packets in the first reception buffer203just before the reading from the first reception buffer203of the packet having attached thereto the first transmission buffer amount that was output to the stored amount addition unit207by the first transmission buffer amount buffer205.

The stored amount addition unit207adds the first transmission buffer amount that was retrieved from the first transmission buffer amount buffer205and the first reception buffer amount that was received from the first reception buffer amount read unit206. Note that since both the first reception buffer203and the first transmission buffer amount buffer205are constituted from FIFO buffers, the first transmission buffer amount retrieved from the first transmission buffer amount buffer205is the first transmission buffer amount that is attached to the packet to be read from the first reception buffer203.

The correction unit208controls the counting speed of the reception timestamp timer209so that the added value received as input from the stored amount addition unit207is constant.

If the added value increases, the counting speed of the reception timestamp timer209has become slower than the counting speed of the transmission timestamp timer102. The correction unit208therefore outputs a control signal instructing the reception timestamp timer209to increase the counting speed.

If the added value decreases, the counting speed of the reception timestamp timer209has become faster than the counting speed of the transmission timestamp timer102. The correction unit208therefore outputs a control signal instructing the reception timestamp timer209to decrease the counting speed.

The reception timestamp timer209decreases the counting speed upon receiving an input of the control signal instructing a reduction in counting speed, and increases the counting speed upon receiving an input of the control signal instructing an increase in counting speed. Furthermore, the reception timestamp timer209is preset such that when the count value of the transmission timestamp timer102and the count value of the reception timestamp timer209are seen as the same time, the count value of the reception timestamp timer209is made smaller than the count value of the reception timestamp timer102by an amount that corresponds to a fixed delay time. Note that an exemplary structure of the reception timestamp timer209is described further below with reference toFIG. 5.

The comparison unit210compares the count value indicated by the timestamp received from the timestamp buffer204and the count value received from the reception timestamp timer209, and if the received count values match, the comparison unit210outputs a packet read signal for instructing the packet read unit211to read a packet. Note that since the first reception buffer203and the timestamp buffer204are constituted from FIFO buffers, the timestamp that is retrieved from the timestamp buffer204is the timestamp that is attached to the packet that is to be read from the first reception buffer203.

The packet read unit211receives the packet read signal from the comparison unit210, and thereafter causes the first reception buffer203to output one packet.

Reception Timestamp Timer

The following describes the structure of the reception timestamp timer209included in the reception device200ofFIG. 1, with reference toFIG. 5.FIG. 5shows the structure of the reception timestamp timer209shown inFIG. 1.

The reception timestamp timer209includes a variable frequency oscillator209a, a counter209b, a control terminal209c, a count value output terminal209d, an initial value input terminal209e, and a clock output terminal209f.

The variable frequency oscillator209acan oscillate at frequencies within a predetermined range. The variable frequency oscillator209asupplies a clock signal at the oscillated frequency to the counter209b, as well as externally outputs the clock signal via the clock output terminal209f.

The variable frequency oscillator209aincreases the oscillation frequency upon receiving, from the control terminal209c, a control signal that is an instruction to increase the count speed, and decreases the oscillation frequency upon receiving a control signal that is an instruction to decrease the count speed.

The counter209bretrieves, from the timestamp buffer204via the input terminal209e, the timestamp that was stored first in the timestamp buffer204, and is preset based on the count value indicated by the retrieved timestamp.

Note that since a packet received by the transmission device100is output from the reception device200at a delay equal to a transmission fixed delay time, the counter209bmust output a count value while maintaining an offset, with respect to the counter102b, that corresponds to the transmission fixed delay time. The counter209bis therefore preset such that when the count value of the counter102band the count value of the counter209bare seen as the same time, the count value of the counter209bis made smaller than the count value of the counter102bby an amount that corresponds to the transmission fixed delay time.

The counter209bcounts the clock signal generated by the variable frequency oscillator209a, and externally outputs the count value via the count value output terminal209d. The count value output via the count value output terminal209dis supplied to the comparison unit210.

Time-Base Recovery Processing

The counter209bthat has been preset as described above counts the clock signal generated by the variable frequency oscillator209a, and outputs a count value to the comparison unit210via the count value output terminal209d.

The comparison unit210compares the count value indicated by the timestamp retrieved from the timestamp buffer204and the count value received from the reception timestamp timer209, and if both count values match, the comparison unit210outputs the packet read signal to the packet read unit211. Upon receiving the packet read signal from the comparison unit210, the packet read unit211causes the first reception buffer203to output one packet.

According to this processing, as indicated by N105inFIG. 3, the time-base of the packet is recovered, and the packet is output from the reception device200at the transmission fixed delay time with respect to reception by the transmission device100.

It should be noted that the output of packets from the reception device200is controlled with use of a count value obtained by counting a limited frequency. For this reason, if the clock signal used for counting in the transmission timestamp timer102and the reception timestamp timer209is asynchronous with the clock signal for processing, the packet will be output from the reception device200with residual jitter that equals one or two clocks of the clock signal used for counting in the transmission timestamp timer102and the reception timestamp timer209.

Rate Control Processing

The first reception buffer amount read unit206reads the first reception buffer amount of the first reception buffer203, and outputs the read first reception buffer amount to the stored amount addition unit207. The stored amount addition unit207retrieves the first transmission buffer amount from the first transmission buffer amount buffer205.

The stored amount addition unit207adds the first transmission buffer amount retrieved from the first transmission buffer amount buffer205and the first reception buffer amount received from the first reception buffer amount read unit206.

If the result of the addition increases, the correction unit208outputs a control signal for instructing the reception timestamp timer209to increase the counting speed. Upon receiving this control signal, the reception timestamp timer209increases the counting speed.

If the result of the addition decreases, the correction unit208outputs a control signal for instructing the reception timestamp timer209to decrease the counting speed. Upon receiving this control signal, the reception timestamp timer209decreases the counting speed.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device even if the input bit rate at which packets are input to the transmission device is a variable bit rate and the transmission bit rate on the transmission line is a constant bit rate.

Supplementary Remarks

(1) In the first embodiment and the hereinafter-described embodiment, the stored amounts of packets to which timestamps and transmission buffer amounts have not been attached are used as the stored amount of packets in the first reception buffer203and stored amount of packets in the first transmission buffer105used in the correction of the counting speed in the reception timestamp timer209. However, the present invention is not limited to this. The stored amounts of packets may include either, or both, timestamps and transmission buffer amounts.

(2) In the first embodiment and the hereinafter-described embodiment, the frequency of the clock signal generated by the variable frequency oscillator209ais controlled so as to enable changing the counting speed of the reception timestamp timer209. However, the counting speed of the reception timestamp timer209may be changed by making the frequency of the clock signal a constant frequency and changing the method by which the counter209bperforms counting.

The following describes a synchronous transmission system pertaining to embodiment 2 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

The present embodiment is the same as embodiment 1, with the addition of a function for realizing synchronous transmission between transmission and reception devices even if a packet is lost on the transmission line.

Note that the same reference characters have been given to constituent elements of embodiment 2 that are substantially the same as embodiment 1, and descriptions thereof have been omitted since the descriptions in embodiment 1 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 6.FIG. 6shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100aand a reception device200atransmit and receive packets via the transmission line300. Note that packets input to the transmission device100ahave a fixed length.

Transmission Device

The transmission device100ahas the same structure as the transmission device100of embodiment 1, with the addition of a sequence number generation unit121and a sequence number attachment unit122.

The sequence number generation unit121sequentially generates numbers beginning from a value of “1” (hereinafter, called a “sequence number”), and supplies the generated sequence number to the sequence number attachment unit122.

The sequence number attachment unit122attaches the sequence number supplied from the sequence number generation unit121to the beginning of a joined packet output from the first transmission buffer105.

In the transmission device100a, when a packet is input to the input terminal101, the timestamp attachment unit103attaches the count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp, and furthermore, the first transmission buffer amount attachment unit104attaches the first transmission buffer amount read by the first transmission buffer amount read unit106to the beginning of the packet having the timestamp attached thereto. The packet having the timestamp and first transmission buffer amount attached thereto is stored in the first transmission buffer105.

The first transmission buffer105outputs a joined packet composed of a fixed number of packets that have been joined together. The sequence number attachment unit122attaches the sequence number supplied from the sequence number generation unit121to the beginning of the joined packet output from the first transmission buffer105. The transmission processing unit107performs predetermined processing on the joined packet having the sequence number attached thereto, and outputs the resulting packet to the transmission line.

Reception Device

The reception device200ahas the same structure as the reception device200of embodiment 1, with the addition of a missing packet detection unit221and a buffer amount correction unit222, and a separation unit202ainstead of the separation unit202.

The separation unit202areceives the joined packet having the sequence number attached thereto from the reception processing unit201, and separates the received joined packet into the sequence number, a plurality of first transmission buffer amounts, a plurality of timestamps, and a plurality of packets. The separation unit202aoutputs the sequence number, first transmission buffer amounts, timestamps, and packets to the missing packet detection unit221, the first transmission buffer amount buffer205, the timestamp buffer204, and the first reception buffer203respectively.

The missing packet detection unit221detects, based on the sequence number received from the separation unit202a, the number of packets that were lost on the transmission line between the received joined packet and the joined packet that was received immediately therebefore, and outputs the detected number of missing packets to the buffer amount correction unit222. Note that an exemplary structure of the missing packet detection unit221is described later with reference toFIG. 7.

With reference to the number of missing packets received from the missing packet detection unit221, the buffer amount correction unit222stores “missing” in correspondence with a sequence number (to indicate that the joined packet having that sequence number attached thereto was not received) or “received” in correspondence with a sequence number (to indicate that the joined packet having that sequence number attached thereto was received).

For example, if 1, 0, 2, and 0 are received from the missing packet detection unit221as the numbers of missing joined packets, the buffer amount correction unit222stores “missing” in correspondence with sequence number “1”, “received” in correspondence with sequence number “2”, “received in correspondence with sequence number “3”, “missing” in correspondence with sequence number “4”, “missing” in correspondence with sequence number “5”, “received” in correspondence with sequence number “6”, and “received” in correspondence with sequence number “7”.

The buffer amount correction unit222counts the number of packets output from the first reception buffer203, specifies which of the sequence numbers the packet that is to be output next corresponds to, and specifies, from among the sequence numbers including and after the specified sequence number, the number of sequence numbers that are stored in correspondence with “missing”.

The buffer amount correction unit222multiplies the specified number of sequence numbers by the number of packets included in the joined packet, and multiplies the result by the data size of the packet. The value resulting from this multiplication is the data amount of the packets that were lost on the transmission line (hereinafter, called the missing amount) and that were supposed to be stored in the first reception buffer203.

The buffer amount correction unit222adds the added value received from the stored amount addition unit207and the missing amount, and outputs the resulting added value to the correction unit208.

Instead of using the added value received from the stored amount addition unit207, the correction unit208of embodiment 2 uses the added value received from the buffer amount correction unit222to control the counting speed in the reception timestamp timer209so that the added value received from the buffer amount correction unit222is a constant value.

If the added value increases, the counting speed of the reception timestamp timer209has become slower than the counting speed of the transmission timestamp timer102. The correction unit208therefore outputs a control signal instructing the reception timestamp timer209to increase the counting speed. Upon receiving this control signal, the reception timestamp timer209increases the counting speed.

If the added value decreases, the counting speed of the reception timestamp timer209has become faster than the counting speed of the transmission timestamp timer102. The correction unit208therefore outputs a control signal instructing the reception timestamp timer209to decrease the counting speed. Upon receiving this control signal, the reception timestamp timer209decreases the counting speed.

In the rate control processing of the present embodiment, the counting speed of the reception timestamp timer209is adjusted so as to obtain a constant value for the sum of the stored amount of packets in the first transmission buffer105(the first transmission buffer amount), the stored amount of packets in the first reception buffer203(the first reception buffer amount), and the missing amount of packets that were lost on the transmission line and were supposed to be stored in the first reception buffer203.

Note that a description of the time-base recovery processing performed by reception device200ahas been omitted due to being substantially the same as the time-base recovery processing in embodiment 1.

Missing Packet Detection Unit

The following describes the structure of the missing packet detection unit221included in the reception device200ofFIG. 6, with reference toFIG. 7.FIG. 7shows the structure of the missing packet detection unit shown inFIG. 6.

The missing packet detection unit221includes a storage unit221a, an addition unit221b, a subtraction unit221c, an input terminal221d, and an output terminal221e.

The storage unit221ainitially stores a value of 0.

Upon receiving a sequence number from the input terminal221d, the storage unit221astores the received sequence number, and outputs the sequence number stored immediately previously (the value “0” when a sequence number is input for the first time) to the addition unit221b.

The addition unit221badds 1 to the value received from the storage unit221a, and outputs the resulting added value to the subtraction unit221c.

The subtraction unit221csubtracts the received added value from the sequence number received from the input terminal221d, and outputs the resulting subtracted value to the buffer amount correction unit222via the output terminal221e. The subtracted value obtained by the subtraction unit221cindicates the number of joined packets that are missing between the joined packet having attached thereto the sequence number currently received from the input terminal221dand the joined packet having attached thereto the sequence number that was received immediately previously from the input terminal221d.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device when the input bit rate at which packets are input to the transmission device is a variable bit rate and the transmission bit rate on the transmission line is a constant bit rate, and even if a packet is lost on the transmission line.

The following describes a synchronous transmission system pertaining to embodiment 3 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

Embodiments 1 and 2 are directed at a case in which the bit rate at which packets are input to the transmission device is a variable bit rate, and the transmission bit rate on the transmission line is a constant bit rate. In contrast, the present embodiment and the later-described embodiment 4 are directed at case in which the input bit rate at which packets are input to the transmission device is a constant bit rate, and the transmission bit rate on the transmission line is a variable bit rate.

Note that the same reference characters have been given to constituent elements of the present embodiment that have substantially the same functions as in embodiment 1, and descriptions thereof have been omitted since the descriptions in embodiment 1 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 8.FIG. 8shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100band a reception device200btransmit and receive packets via a transmission line300b. The transmission line300bis, for example, a wireless transmission line.

Stored Amount of Packets

Prior to the description of the constituent elements shown inFIG. 8, the following describes the stored amount of packets in a second transmission buffer105band a second reception buffer203bshown inFIG. 8, with reference toFIGS. 9A and 9B.FIGS. 9A and 9Bshow changes in bit rate and stored amount of packets over time in the synchronous transmission system ofFIG. 8.

The input bit rate at which packets are input to the second transmission buffer105bof the transmission device100bis a constant bit rate, and is expressed by a rate function f2(t). Also, the transmission bit rate on the transmission line is a variable bit rate, and is expressed by a rate function g2(t).

In synchronous transmission, the output bit rate at which packets are output from the second reception buffer203bis controlled so as to be equal to the input bit rate at which packets are input to the second transmission buffer105b. For this reason, letting “delay” express a delay time from when a packet is input to the transmission device100buntil when a packet is output from the reception device200b, the rate function f2(t-delay) expresses the output bit rate at which packets are output from the second reception buffer203b.

Here, (1) packet writing to the second transmission buffer105bis begun at time0, (2) packet reading from the second transmission buffer105band packet writing to the second reception buffer203bare begun at time t0, and (3) packet reading from the second reception buffer203bis begun at time t1(=delay).

In this case, the rate function f2(t) is c (c being a constant value), and the function g2(t) is 0 until time to, and a variable value at and after time t0(FIG. 9A). Note that the function f2(t-delay) is 0 until time t1(=delay), and c (c being a constant value) at and after time t1.

Letting BuffTx2(t) be a stored amount function expressing the stored amount of packets in the second transmission buffer105bat time t, the following expression (6) indicates the stored amount function BuffTx2(t) at time t, which is at or after time t1(FIG. 9B).

Letting BuffRx2(t) be a stored amount function expressing the stored amount of packets in the second reception buffer203bat time t, the following expression (7) indicates the stored amount function BuffRx2(t) at time t, which is at or after time t1(FIG. 9B)

Based on expressions (6) and (7), the following expression (8) indicates a sum of the stored amount of packets in the second transmission buffer105bat time t, which is at or after time t1, and the stored amount of packets in the second reception buffer203bat time t.

As shown above, a constant value is obtained for the sum of the stored amount of packets in the second transmission buffer105bat time t, which is at or after time t1, and the stored amount of packets in the second reception buffer203bat time t (FIG. 9B).

In other words, a constant value is obtained for the sum of the stored amount of packets in the second transmission buffer105bjust after a certain packet has been read from the second transmission buffer105band the stored amount of packets in the second reception buffer203bjust after the certain packet has been written to the second reception buffer203b. Also, a constant value is obtained for the sum of the stored amount of packets in the second transmission buffer105bjust before a certain packet is read from the second transmission buffer105band the stored amount of packets in the second reception buffer203bjust before the certain packet is written to the second reception buffer203b.

In the present embodiment, synchronous transmission between the transmission device100band reception device200bis realized by utilizing the relationship in which the sum of the stored packet amounts is constant.

The present embodiment makes use of the sum of the stored amount of packets in the second transmission buffer105bjust after a certain packet has been read from the second transmission buffer105band the stored amount of packets in the second reception buffer203bjust after the certain packet has been written to the second reception buffer203b.

Note that the sum of the stored amount of packets in the second transmission buffer105bjust before a certain packet is read from the second transmission buffer105band the stored amount of packets in the second reception buffer203bjust before the certain packet is written to the second reception buffer203bmay be used.

Although it is desirable to use either of the above sums to realize synchronous transmission, when a sufficient amount of packets is stored in the second transmission buffer105band the second reception buffer203b, there may be a slight difference in the timing at which the stored amounts of the second transmission buffer105band the second reception buffer203bare acquired.

Transmission Device

The transmission device100bincludes the input terminal101, the transmission timestamp timer102, the timestamp attachment unit103, the second transmission buffer105b, a second transmission buffer amount read unit106b, a second transmission buffer amount attachment unit104b, and the transmission processing unit107.

The second transmission buffer105bis constituted from a FIFO buffer. The second transmission buffer105btemporarily stores input packets, and outputs the stored packets at a variable bit rate. Note that the second transmission buffer105bjoins a plurality of packets together and outputs the group of packets (the joined packet) in order to increase transmission efficiency.

The second transmission buffer amount read unit106breads the stored amount of packets in the second transmission buffer105b(hereinafter, called the “second transmission buffer amount”), and outputs the second transmission buffer amount to the second transmission buffer amount attachment unit104b. Here, the second transmission buffer amount is the stored amount of packets in the second transmission buffer105bjust after the reading, from the second transmission buffer105b, of the packet to which the second transmission buffer amount is to be attached by the second transmission buffer amount attachment unit104b.

In order to facilitate processing in the reception device200, the second transmission buffer amount is the stored amount of data in the second transmission buffer105bexcluding the data amount of the timestamp.

The second transmission buffer amount can be calculated in, for example, the following way. The data size of the timestamp is assumed to be a fixed data size. The data size of the timestamp is multiplied by the number of packets stored in the second transmission buffer105b(a value equaling the number of input packets minus the number of output packets). The value resulting from the multiplication is subtracted from the actual stored amount of the second transmission buffer105b. The value resulting from the subtraction is the second transmission buffer amount.

The second transmission buffer amount attachment unit104battaches the second transmission buffer amount, which is input from the second transmission buffer amount read unit106b, to the beginning of the joined packet received from the second transmission buffer105b.

In the transmission device100b, when a packet is input to the input terminal101(N301ofFIG. 10), the timestamp attachment unit103attaches a count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp (N302). The packet having the timestamp attached thereto is stored in the second transmission buffer105b.

The second transmission buffer105boutputs the joined packet (N303). The second transmission buffer amount attachment unit104battaches a second transmission buffer amount read by the second transmission buffer amount read unit106bto the beginning of the joined packet (N304). The transmission processing unit107performs predetermined processing on the joined packet having the second transmission buffer amount attached thereto, and the resulting packet is sent to the transmission line300b.

Reception Device

The reception device200bperforms time-base recovery processing, rate control processing and the like, which are conditions of synchronous transmission. The reception device200bincludes the reception processing unit201, a separation unit202b, the second reception buffer203b, the timestamp buffer204, a second reception buffer amount read unit206b, a stored amount addition unit207b, a correction unit208b, the reception timestamp timer209, the comparison unit210, the packet read unit211, and the output terminal212.

The separation unit202breceives, from the reception processing unit201, a joined packet having a second transmission buffer amount attached thereto, and separates the received joined packet into a second transmission buffer amount, a plurality of timestamps, and a plurality of packets. The separation unit202boutputs the second transmission buffer amount, timestamps, and packets to the stored amount addition unit207b, timestamp buffer204, and second reception buffer203brespectively.

The second reception buffer203bis constituted from a FIFO buffer, and temporarily stores input packets. Packets output from the second reception buffer203bare externally sent via the output terminal212(N305ofFIG. 10).

The second reception buffer amount read unit206breads the stored amount of packets in the second reception buffer203b(hereinafter, called the “second reception buffer amount”), and outputs the read second reception buffer amount to the stored amount addition unit207b. The second reception buffer amount is the stored amount of packets in the second reception buffer203bjust after the writing to the second reception buffer203bof the packets constituting the joined packet having attached thereto the second transmission buffer amount that was output to the stored amount addition unit207b.

The stored amount addition unit207badds the second transmission buffer amount that was received from the separation unit202band the second reception buffer amount that was received from the second reception buffer amount read unit206b.

Note that just after the packets included in the joined packet input from the separation unit202bhave been written to the second reception buffer203b, the second transmission buffer amount that is input to the stored amount addition unit207bby the separation unit202bis the second transmission buffer amount that was attached to the joined packet whose packets were just previously written to the second reception buffer203b.

The correction unit208bcontrols the counting speed of the reception timestamp timer209so that the added value received as input from the stored amount addition unit207bis constant.

If the added value increases, the counting speed of the reception timestamp timer209has become slower than the counting speed of the transmission timestamp timer102. The correction unit208btherefore outputs a control signal instructing the reception timestamp timer209to increase the counting speed.

If the added value decreases, the counting speed of the reception timestamp timer209has become faster than the counting speed of the transmission timestamp timer102. The correction unit208btherefore outputs a control signal instructing the reception timestamp timer209to decrease the counting speed.

Note that a description of the time-base recovery processing performed by reception device200bhas been omitted due to being substantially the same as the time-base recovery processing in embodiment 1.

Rate Control Processing

The second reception buffer amount read unit206breads the second reception buffer amount of the second reception buffer203b, and outputs the read second reception buffer amount to the stored amount addition unit207b. The stored amount addition unit207breceives an input of the second transmission buffer amount from the separation unit202b.

The stored amount addition unit207badds the second transmission buffer amount received from the separation unit202band the second reception buffer amount received from the second reception buffer amount read unit206.

If the result of the addition increases, the correction unit208boutputs a control signal for instructing the reception timestamp timer209to increase the counting speed. Upon receiving this control signal, the reception timestamp timer209increases the counting speed.

If the result of the addition decreases, the correction unit208boutputs a control signal for instructing the reception timestamp timer209to decrease the counting speed. Upon receiving this control signal, the reception timestamp timer209decreases the counting speed.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device even if the input bit rate at which packets are input to the transmission device is a constant bit rate and the transmission bit rate on the transmission line is a variable bit rate.

Supplementary Remarks

(1) In the third embodiment and the hereinafter-described embodiment, the stored amounts of packets to which timestamps have not been attached are used as the stored amount of packets in the second transmission buffer105band stored amount of packets in the second reception buffer203bused in the correction of the counting speed in the reception timestamp timer209. However, the present invention is not limited to this. The stored amounts of packets may include the timestamps.

The following describes a synchronous transmission system pertaining to embodiment 4 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

The present embodiment is the same as embodiment 3, with the addition of a function for realizing synchronous transmission between transmission and reception devices even if a packet is lost on the transmission line.

Note that the same reference characters have been given to constituent elements of embodiment 4 that are substantially the same as embodiments 1 to 3, and descriptions thereof have been omitted since the descriptions in embodiments 1 to 3 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 11.FIG. 11shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100cand a reception device200ctransmit and receive packets via the transmission line300b. Note that packets input to the transmission device100chave a fixed length.

Transmission Device

The transmission device100chas the same structure as the transmission device100bof embodiment 3, with the addition of a sequence number generation unit121and a sequence number attachment unit122.

In the transmission device100c, when a packet is input to the input terminal101, the timestamp attachment unit103attaches the count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp. The packet having the timestamp attached thereto is stored in the second transmission buffer105b.

The second transmission buffer105boutputs a joined packet composed of a fixed number of packets that have been joined together. The second transmission buffer amount attachment unit104battaches the second transmission buffer amount read by the second transmission buffer amount read unit106bto the beginning of the joined packet, and the sequence number attachment unit122attaches the sequence number supplied from the sequence number generation unit121to the beginning of the joined packet having the second transmission buffer amount attached thereto. The transmission processing unit107performs predetermined processing on the joined packet having the sequence number and second transmission buffer amount attached thereto, and outputs the resulting packet to the transmission line300b.

Reception Device

The reception device200chas the same structure as the reception device200bof embodiment 3, with the addition of a missing packet detection unit221and a buffer amount correction unit222, and a separation unit202cinstead of the separation unit202b.

The separation unit202creceives the joined packet having the sequence number and second transmission buffer amount attached thereto from the reception processing unit201, and separates the received joined packet into the sequence number, the second transmission buffer amount, a plurality of timestamps, and a plurality of packets. The separation unit202coutputs the sequence number, second transmission buffer amount, timestamps, and packets to the missing packet detection unit221, the stored amount addition unit207b, the timestamp buffer204, and the second reception buffer203brespectively.

The reception device200cperforms rate control processing as follows.

Just after the packets included in the joined packet input from the separation unit202chave been written to the second reception buffer203b, the second reception buffer amount read unit206breads the second reception buffer amount of the second reception buffer203b, and outputs the read second reception buffer amount to the stored amount addition unit207b.

Also, in the same way as described in embodiment 2, the missing packet detection unit221detects, based on the sequence number received from the separation unit202c, the number of packets that were lost on the transmission line, and outputs the detected number of missing packets to the buffer amount correction unit222.

The stored amount addition unit207badds the second transmission buffer amount received from the separation unit202cand the second reception buffer amount received from the second reception buffer amount read unit206b.

In the same way as described in embodiment 2, the buffer amount correction unit222calculates the data amount of packets included in a joined packet that was lost on the transmission line (missing packet amount) and that were supposed to be stored in the second reception buffer203b. The buffer amount correction unit222then adds the calculated missing packet amount to the added value received from the stored amount addition unit207b.

Based on the added value received from the buffer amount correction unit222, the correction unit208bcontrols the counting speed of the reception timestamp timer209so that the added value received from the buffer amount correction unit222is constant.

If the added value increases, the counting speed of the reception timestamp timer209has become slower than the counting speed of the transmission timestamp timer102. The correction unit208btherefore outputs a control signal instructing the reception timestamp timer209to increase the counting speed. Upon receiving this control signal, the reception timestamp timer209increases the counting speed.

If the added value decreases, the counting speed of the reception timestamp timer209has become faster than the counting speed of the transmission timestamp timer102. The correction unit208btherefore outputs a control signal instructing the reception timestamp timer209to decrease the counting speed. Upon receiving this control signal, the reception timestamp timer209decreases the counting speed.

Note that a description of the time-base recovery processing performed by reception device200chas been omitted due to being substantially the same as the time-base recovery processing in embodiment 1.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device when the input bit rate at which packets are input to the transmission device is a constant bit rate and the transmission bit rate on the transmission line is a variable bit rate, and even if a packet is lost on the transmission line.

The following describes a synchronous transmission system pertaining to embodiment 5 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

Embodiments 1 and 2 are directed at a case in which the bit rate at which packets are input to the transmission device is a variable bit rate, and the transmission bit rate on the transmission line is a constant bit rate. Embodiments 3 and 4 are directed at case in which the bit rate at which packets are input to the transmission device is a constant bit rate, and the transmission bit rate on the transmission line is a variable bit rate. In contrast, the present embodiment and the later-described embodiments 6 and 7 are directed at a case in which the bit rate at which packets are input to the transmission device is a variable bit rate, and the transmission bit rate on the transmission line is a variable bit rate.

Note that the same reference characters have been given to constituent elements of the present embodiment that have substantially the same functions as in embodiments 1 to 4, and descriptions thereof have been omitted since the descriptions in embodiments 1 to 4 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 12.FIG. 12shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100dand a reception device200dtransmit and receive packets via the transmission line300b.

Transmission Device

The transmission device100dincludes the input terminal101, a first transmission unit150, and a second transmission unit160.

The first transmission unit150has the same structure as the transmission device100of embodiment 1, with the exception of lacking the input terminal101and the transmission processing unit107. The first transmission unit150outputs packets that were received at a variable input rate, to the second transmission unit160at a constant bit rate. Control for outputting packets from the first transmission buffer105at a constant bit rate is realized by, in the exemplary case of an MPEG2 TS, extracting the stream rate from the stream header, and outputting the packets at a stream rate obtained by adding the extracted stream rate and the rate corresponding to the timestamps attached to the input packets and the rate corresponding to the overhead data of the first transmission buffer amount.

The second transmission unit160has the same structure as the transmission device100bof embodiment 3, with the exception of lacking the input terminal101, the transmission timestamp timer102, and the timestamp attachment unit103. The second transmission unit160outputs packets received from the first transmission unit150at a constant bit rate, to the transmission line300bat a variable bit rate.

In the transmission device100d, when a packet is input to the input terminal101(N501inFIG. 13), the timestamp attachment unit103attaches the count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp (N502), and furthermore, the first transmission buffer amount attachment unit104attaches the first transmission buffer amount read by the first transmission buffer amount read unit106to the beginning of the packet having the timestamp attached thereto (N503). The packet having the timestamp and first transmission buffer amount attached thereto is stored in the first transmission buffer105.

The packet that is stored in the first transmission buffer105is output at a constant bit rate, and stored in a second transmission buffer105b.

The second transmission buffer105boutputs a joined packet composed of a fixed number of packets that have been joined together (N504). The second transmission buffer amount attachment unit104battaches a second transmission buffer amount read by the second transmission buffer amount read unit106bto the beginning of the joined packet (N505). The transmission processing unit107performs predetermined processing on the joined packet having the second transmission buffer amount attached thereto, and the resulting packet is sent to the transmission line300b.

Reception Device

The reception device200dincludes a second reception unit260, a first reception unit250, and the output terminal212.

The second reception unit260performs substantially the same rate control processing as the rate control processing performed by the reception device200b. However, the second reception unit260does not perform the time-base recovery processing performed by the reception device200b. This is because it is sufficient for time-base recovery to be performed when packets are output from the reception device200d, and it is sufficient for the second reception unit260to output packets to the first reception unit250at a constant bit rate that is equal to the constant bit rate at which packets are output from the first transmission unit150to the second transmission unit160.

The second reception unit260includes the reception processing unit201, a separation unit202d, the second transmission buffer203b, the second reception buffer amount read unit206b, the stored amount addition unit207b, the correction unit208b, and a read rate control unit251.

The separation unit202dreceives, from the reception processing unit201, a joined packet having a second transmission buffer amount attached thereto, and separates the received joined packet into a plurality of first transmission buffer amounts, a second transmission buffer amount, a plurality of timestamps, and a plurality of packets. The separation unit202boutputs the first transmission buffer amounts, the second transmission buffer amount, timestamps, and packets to the first transmission buffer amount buffer205, the stored amount addition unit207b, timestamp buffer204, and second reception buffer203brespectively.

Instead of controlling the oscillation frequency of the variable frequency oscillator209aof the reception timestamp timer209, the correction unit208bof the present embodiment performs later-described control of the oscillation frequency by a later-described variable frequency oscillator251aincluded in the read rate control unit251.

The read rate control unit251controls the output bit rate at which packets are output from the second reception buffer203b.

The second reception unit260performs rate control processing as follows.

The stored amount of packets in the second transmission buffer105bjust after the joined packet has been read from the second transmission buffer105b(the second transmission buffer amount received from the separation unit202d) is added to the stored amount of packets in the second reception buffer203bjust after the plurality of packets included in the joined packet have been written to the second reception buffer203b(the second reception buffer amount that is read by and received from the second reception buffer amount read unit206b) to obtain an added value, and the correction unit208bcontrols the read rate control unit251so that the added value is a constant value.

If the added value increases, the bit rate at which packets are output from the second reception buffer203bhas become lower than the bit rate at which packets are output from the second transmission buffer105b. The correction unit208btherefore outputs a control signal instructing the read rate control unit251to increase the output bit rate.

If the added value decreases, the bit rate at which packets are output from the second reception buffer203bhas become higher than the bit rate at which packets are output from the second transmission buffer105b. The correction unit208btherefore outputs a control signal instructing the read rate control unit251to decrease the output bit rate.

Based on the control signal received from the correction unit208b, the read rate control unit251controls the bit rate at which packets are output from the second reception buffer203b.

Read Rate Control Unit

The following describes the structure of the read rate control unit251included in the reception device200dofFIG. 12, with reference toFIG. 14.FIG. 14shows the structure of the read rate control unit251shown inFIG. 12.

The read rate control unit251includes the variable frequency oscillator251a, a CBR read unit251b, a control signal input terminal251c, a read signal output terminal251d, and a clock output terminal251e.

The variable frequency oscillator251acan oscillate at frequencies within a predetermined range. The variable frequency oscillator251asupplies a clock signal at the oscillated frequency to the counter209b, as well as outputs the clock signal to the clock output terminal251e.

The variable frequency oscillator251aincreases the oscillation frequency upon receiving, from the control terminal209c, a control signal that is an instruction to increase the bit rate at which packets are read from the second reception buffer203b, and decreases the oscillation frequency upon receiving a control signal that is an instruction to decrease the bit rate at which packets are read from the second reception buffer203b.

The CBR read unit251bincludes a counter that counts the clock signal received from the variable frequency oscillator251a, and generates a read signal upon counting a certain number of clock signals. The CBR read unit251boutputs the generated read signal to the second reception buffer203bvia the read signal output terminal251d. Upon receiving the read signal, the second reception buffer203boutputs one stored packet to the first reception buffer203.

Returning to the description ofFIG. 12, the first reception unit250has the same structure as the reception device200of embodiment 1, with the exception of lacking the reception processing unit201, the separation unit202, and the output terminal212. The first reception unit250performs substantially the same time-base recovery processing and rate control processing as the reception device200of embodiment 1.

The first reception unit250performs rate control processing as follows.

The stored amount of packets in the first transmission buffer105just before a certain packet is written to the first transmission buffer105(the first transmission buffer amount that was retrieved from the first transmission buffer amount buffer205) is added to the stored amount of packets in the first reception buffer203just before the certain packet is read from the first reception buffer (the first reception buffer amount that is read by and received from the first reception buffer amount read unit206) to obtain an added value, and the correction unit208controls the oscillation frequency of the variable frequency oscillator209ain the reception timestamp timer209so that the added value is a constant value.

If the added value increases, the correction unit208controls the variable frequency oscillator209ato increase the oscillation frequency, and if the added value decreases, the correction unit208controls the variable frequency oscillator209ato decrease the oscillation frequency.

The first reception unit250performs time-base recovery processing as follows.

The variable frequency oscillator209ain the reception timestamp timer209oscillates at a frequency according to the control of the correction unit208, and the counter209bcounts the clock signal generated by the variable frequency oscillator209a.

The comparison unit210compares the count value indicated by the timestamp retrieved from the timestamp buffer204and the count value received from the counter209b, and if both count values match, the comparison unit210outputs the packet read signal to the packet read unit211. Upon receiving the packet read signal from the comparison unit210, the packet read unit211causes the first reception buffer203to output one packet. Accordingly, one packet is externally output from the first reception buffer203via the output terminal212.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device even if the input bit rate at which packets are input to the transmission device is a variable bit rate and the transmission bit rate on the transmission line is a variable bit rate.

The following describes a synchronous transmission system pertaining to embodiment 6 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

Embodiment 6 describes a simplified structure of the transmission device100dand reception device200dof embodiment 5, and enables synchronous transmission even if both the input bit rate and transmission bit rate of packets are variable bit rates.

Note that the same reference characters have been given to constituent elements of the present embodiment that have substantially the same functions as in embodiments 1 to 5, and descriptions thereof have been omitted since the descriptions in embodiments 1 to 5 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 15.FIG. 15shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100eand a reception device200etransmit and receive packets via the transmission line300b.

Transmission Device

The transmission device100eincludes the input terminal101, a first transmission unit150e, and a second transmission unit160ethat has the same structure as the second transmission unit160of embodiment 5.

The first transmission unit150eincludes the transmission timestamp timer102, the timestamp attachment unit103, and the first transmission buffer105that temporarily stores packets input at a variable bit rate and outputs the stored packets at a constant bit rate. Control for outputting packets from the first transmission buffer105at a constant bit rate is realized by, in the exemplary case of an MPEG2 TS, extracting the stream rate from the stream header, and outputting the packets at a stream rate obtained by adding the extracted stream rate and the rate corresponding to the timestamps attached to the input packets and the rate corresponding to the overhead data of the first transmission buffer amount.

In the transmission device100e, when a packet is input to the input terminal101, the timestamp attachment unit103attaches a count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp. The packet having the timestamp attached thereto is stored in the first transmission buffer105.

The packet stored in the first transmission buffer105is output to the second transmission buffer105bat a constant bit rate, and stored in the second transmission buffer105b.

The second transmission buffer105boutputs a joined packet composed of a plurality of packets that have been joined together. The second transmission buffer amount attachment unit104battaches the second transmission buffer amount read by the second transmission buffer amount read unit106bto the beginning of the joined packet. The transmission processing unit107performs predetermined processing on the joined packet having the second transmission buffer amount attached thereto, and outputs the resulting packet to the transmission line300b.

Reception Device

The reception device200eincludes a second reception unit260e, a first reception unit250e, and an input terminal221.

Similarly to the second reception unit260of embodiment 5, the second reception unit260eperforms substantially the same rate control processing as the rate control processing performed by the reception device200b, but does not perform the time-base recovery processing performed by the reception device200b.

The second reception unit260ehas the same structure as the second reception unit260of embodiment 5, with the exception of a separation unit202einstead of the separation unit202d.

The separation unit202ereceives a joined packet from the reception processing unit201, and separates the received joined packet into the second transmission buffer amount, a plurality of timestamps, and a plurality of packets. The separation unit202boutputs the second transmission buffer amount, timestamps, and packets to the stored amount addition unit207b, timestamp buffer204, and second reception buffer203brespectively.

Note that a description of the rate control processing performed by the second reception unit260ehas been omitted due to being substantially the same as the rate control processing performed by the second reception unit260of embodiment 5.

It should be noted that in embodiment 6, the clock signal whose frequency is controlled by the correction unit208bis output from the read rate control unit251to the reception timestamp timer209evia the clock output terminal251e.

The first reception unit250eperforms substantially the same time-base recovery processing as the time-base recovery processing performed by the reception device200. However, the first reception unit250edoes not perform the rate control processing performed by the reception device200b.

The first reception unit250edoes not perform rate control processing for the following reason.

The second reception unit260eperforms rate control processing. The frequency of the clock signal output by the read rate control unit251of the second reception unit260is therefore adjusted to the same frequency as the clock signal generated by the oscillator102aof the transmission timestamp timer102. Using the clock signal output by the read rate control unit251therefore eliminates the need to generate a clock signal whose frequency has been adjusted to be the same as the clock signal generated by the oscillator102aof the transmission timestamp timer102.

The first reception unit250eincludes a reception timestamp timer209e, the comparison unit210, the packet read unit211, and the first reception buffer203.

The reception timestamp timer209eincludes a counter that counts the clock signal received from the read rate control unit251, and outputs a count value to the comparison unit210. The counter included in the reception timestamp timer209eis preset in the same procedure as the counter209bof the reception timestamp timer209. Note that the reception timestamp timer209edoes not include a variable frequency oscillator like the reception timestamp timer209.

The first reception unit250eperforms time-base recovery as follows.

The preset reception timestamp timer209ecounts the clock signal received from the read rate control unit251, and outputs the count value to the comparison unit210. The comparison unit210compares the count value indicated by the timestamp retrieved from the timestamp buffer204and the count value received from the reception timestamp timer209e, and if both count values match, the comparison unit210outputs the packet read signal to the packet read unit211. Upon receiving the packet read signal from the comparison unit210, the packet read unit211causes the first reception buffer203to output one packet.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device that have a simpler structure than embodiment 5, even if the input bit rate at which packets are input to the transmission device is a variable bit rate and the transmission bit rate on the transmission line is a variable bit rate.

Supplementary Remarks

(1) In embodiment 6, the following may be performed if the frequency of the oscillator102ain the transmission timestamp timer102is different from the frequency of the variable frequency oscillator251ain the read rate control unit251. A PLL circuit or the like may be used to multiply or divide the frequency of the variable frequency oscillator251a, and a clock signal having the multiplied or divided frequency may be supplied to the reception timestamp timer209e.

The following describes a synchronous transmission system pertaining to embodiment 7 of the present invention that realizes synchronous transmission between a transmission device and a reception device, with reference to the drawings.

Embodiment 7 describes a simplified structure of the transmission device100dand reception device200dof embodiment 5, and enables synchronous transmission even if both the input bit rate and transmission bit rate of packets are variable bit rates.

Note that the same reference characters have been given to constituent elements of the present embodiment that have substantially the same functions as in embodiments 1 to 6, and descriptions thereof have been omitted since the descriptions in embodiments 1 to 6 are applicable.

Synchronous Transmission System

The following describes the structure of the synchronous transmission system of the present embodiment with reference toFIG. 16.FIG. 16shows the structure of the synchronous transmission system of the present embodiment.

A transmission device100fand a reception device200ftransmit and receive packets via the transmission line300b.

Transmission Device

The transmission device100fincludes the input terminal101, a first transmission unit150fthat has the same structure as the first transmission unit150eof embodiment 5, and a second transmission unit160f.

The second transmission unit160fincludes the second transmission buffer105band the transmission processing unit107.

In the transmission device100e, when a packet is input to the input terminal101, the timestamp attachment unit103attaches a count value supplied from the transmission timestamp timer102to the beginning of the input packet as a timestamp, and furthermore, the first transmission buffer amount attachment unit104attaches a first transmission buffer amount read by the first transmission buffer amount read unit106to the beginning of the packet having the timestamp attached thereto. The packet having the timestamp and first transmission buffer amount attached thereto is stored in the first transmission buffer105.

The packet that is stored in the first transmission buffer105is output at a constant bit rate, and stored in the second transmission buffer105b. Control for outputting packets from the first transmission buffer105at a constant bit rate is realized by, in the exemplary case of an MPEG2 TS, extracting the stream rate from the stream header, and outputting the packets at a stream rate obtained by adding the extracted stream rate and the rate corresponding to the timestamps attached to the input packets and the rate corresponding to the overhead data of the first transmission buffer amount.

The second transmission buffer105boutputs a joined packet composed of a plurality of packets that have been joined together, and the transmission processing unit107performs predetermined processing on the joined packet and outputs the resulting packet to the transmission line300b.

Reception Device

The reception device200fincludes a second reception unit260f, a first reception unit250f, and the input terminal221.

The second reception unit260fincludes the reception processing unit201, a separation unit202f, a CBR read unit271, and the second reception buffer203b.

The separation unit202freceives a joined packet from the reception processing unit201, and separates the received joined packet into a plurality of first transmission buffer amounts, a plurality of timestamps, and a plurality of packets. The separation unit202foutputs the first transmission buffer amounts, timestamps, and packets to the first transmission buffer amount buffer205, timestamp buffer204, and second reception buffer203brespectively.

The CBR read unit271includes a counter that counts the clock signal supplied from the reception timestamp timer209, and generates a read signal upon counting a certain number of clock signals. Upon receiving the read signal, the second reception buffer203boutputs one stored packet to the first reception buffer203.

The frequency of the clock signal input to the CBR read unit271from the reception timestamp timer209has been adjusted to be the same as the frequency of the oscillator102ain the transmission timestamp timer102. As such, in the present embodiment there is no need to perform rate control processing with use of the stored amount of packets in the second transmission buffer105band the stored amount of packets in the second reception buffer203b.

Note that the second reception unit260fdoes not perform time-base recovery processing because it is sufficient for time-base recovery to be performed on packets that are output from the first reception buffer203.

The first reception unit250fhas the same structure as the first reception unit250of embodiment 5, and performs time-base recovery processing and rate control processing. The clock signal generated by the variable frequency oscillator209in the reception timestamp timer209is output to the CBR read unit271via the clock output terminal209f.

A description of the time-base recovery processing and rate control processing performed by the first reception unit250fhas been omitted since they are the same as the time-base recovery processing and rate control processing performed by the first reception unit250of embodiment 5.

The present embodiment as described above enables realizing synchronous transmission between a transmission device and a reception device that have a simpler structure than embodiment 5, even if the input bit rate at which packets are input to the transmission device is a variable bit rate and the transmission bit rate on the transmission line is a variable bit rate.

Supplementary Remarks

(1) In the above-described embodiments, the input packets may be packets relating to an MPEG2 TS.

(2) In the above-described embodiments, the stored amount of packets in the transmission buffer (the first transmission buffer105or second transmission buffer) is transmitted from the transmission device to the reception device, and is used in adjusting the counting speed of the counter included in the reception device. However, the present invention is not limited to this. The information that is transmitted from the transmission device to the reception device may be any information that enables specifying the stored amount of packets in the transmission buffer.

For example, the stored amount of packets in the transmission buffer is equivalent with a value obtained by subtracting the time integration value of the rate at which packets are output from the transmission buffer from the time integration value of the rate at which packets are input to the transmission buffer.

Similarly, the stored amount of packets in the reception buffer (the first reception buffer203or the second reception buffer203b) is equivalent with a value obtained by subtracting the time integration value of the rate at which packets are output from the reception buffer from the time integration value of the rate at which packets are input to the reception buffer.

Therefore, the values equal to the stored amounts of packets in the transmission buffer and reception buffer may be calculated with use of input/output rates, and the counting speed of the counter may be adjusted so that the sum of the calculated values is constant.

In view of this, instead of transmitting the stored amount of packets in the transmission buffer to the reception device, the transmission device may measure the input and output rates with respect to the transmission buffer, and transmit the measured input and output rates to the reception device. In such a case, the reception device measures the input and output rates with respect to the reception buffer.

Note that since the time integration value of the rate of output from the transmission buffer is the same as the time integration value of the rate of input to the reception buffer, these two time integration values cancel each other out when adding the values equal to the stored amounts of packets in the transmission buffer and reception buffer. For this reason, it is sufficient for only the rate of input to the transmission buffer to be transmitted to the reception device, and for the reception device to only measure the rate of output from the reception buffer.

(3) The present invention may be reception methods for performing processing equivalent to the functions of part or all of the constituent elements in the above-described embodiments.

Alternatively, the present invention may be programs that describe processing equivalent to the functions of part or all of the constituent elements in the above-described embodiments, where the programs are stored in memory and executed by a CPU etc.

INDUSTRIAL APPLICABILITY

The present invention can be used in synchronous transmission between a transmission device and a reception device, is useful in applications such as high definition video transmission over a home network, and is applicable to stream transmission over a global network such as the Internet.