Inter-frame encoding/decoding equipment for television signals includes inter-frame encoding equipment generating an encoded signal by encoding a difference between television signals and the output of a frame memory and inter-frame decoding equipment which receives the encoded signal sent from the inter-frame encoding device via a transmission line. The decoding equipment decodes by adding its output of the frame memory to the encoded signal. The inter-frame encoding equipment is provided with a first operation circuit which calculates remainders obtained by dividing a predetermined value, into bit groups of the output or the input of the frame memory. The inter-frame decoding equipment is provided with a second operation circuit which calculates remainders obtained by dividing, the predetermined value, into the bit groups of the output or the input of its frame memory. The inter-frame decoding equipment is further provided with a comparator circuit which compares and checks the remainders calculated by the first and the second operation circuits to detect a transmission error.

Patent
   4677480
Priority
Jun 16 1983
Filed
Jun 14 1984
Issued
Jun 30 1987
Expiry
Jun 30 2004
Assg.orig
Entity
Large
2
6
all paid
1. A system for detecting a transmission error during transmission of television signals over a transmission line and non-coincidence of stored data in first and second frame memories having inputs and outputs, said system comprising:
inter-frame encoding means, operatively connected to the transmission line and to receive the television signals, for encoding a difference between the television signals and the output of the first frame memory as an encoded signal to be sent over the transmission line, and for providing a first clock pulse and a first picture frame period signal, said inter-frame encoding means comprising:
the first frame memory; and
first operation means, operatively connected to one of the input and output of the first frame memory, for calculating a first error check word, said first operation means comprising:
a plurality of first input terminals, operatively connected to the first frame memory;
a plurality of first AND circuits, each having one input operatively connected to a corresponding one of said first input terminals and another input operatively connected to receive the first clock pulse;
a plurality of first binary counters, each having an input operatively connected to one of said first AND circuits and a reset terminal operatively connected to receive the first picture frame period signal, for counting a first number of bits having a predetermined logic level in a first picture frame period and for producing an output; and
a first latch circuit, having inputs operatively connected to receive the output of said first binary counters, for latching the output of said first binary counters for the first picture frame period and for outputting the output of said first binary counters as the first error check word;
inter-frame decoding means, operatively connected to the transmission line, for receiving the encoded signals sent from said inter-frame encoding means via the transmission line, for decoding the encoded signal by adding the output of the second frame memory to the encoded signal and for providing a second clock pulse and a second picture frame period signal, said inter-frame decoding means comprising:
the second frame memory; and
second operation means, operatively connected to one of the input and the output of the second frame memory, for calculating a second error check word, said second operation means comprising:
a plurality of second input terminals, operatively connected to the second frame memory;
a plurality of second AND circuits, each having one input operatively connected to a corresponding one of said second input terminals and another input operatively connected to receive the second clock pulse;
a plurality of second binary counters, each having an input operatively connected to one of said second AND circuits and a reset terminal operatively connected to receive the second picture frame period signal, for counting a second number of bits having the predetermined logic level in a second picture frame and for producing an output; and
a second latch circuit, having inputs operatively connected to receive the output of said second binary counters, for latching the output of said second binary counters for the second picture frame period and for outputting the output of said second binary counters as the second error check word; and
comparator means, operatively connected to the transmission line and said second operation means, for comparing and checking the first and second error check words calculated by said first and second operation means to detect the transmission error and non-coincidence of the stored data in the first and second frame memories.
2. A system for detecting and correcting a transmission error in picture data transmitting over a transmission line and non-coincidence of stored data in frame memories, comprising:
inter-frame encoding equipment in an A station, operatively connected to the transmission line, for creating encoded data by encoding the picture data and for providing a first clock pulse and a first picture frame period signal, said inter-frame encoding equipment comprising:
a first frame memory having an input and an output, for storing first picture frame data;
encoding means for generating the encoded data in dependence upon the first picture frame data;
first operation means, operatively connected to one of the input and the output of said first frame memory, for calculating a first error check word, comprising:
a plurality of first input terminals, operatively connected to the first frame memory;
a plurality of first AND circuits, each having one input operatively connected to a corresponding one of said first input terminals and another input operatively connected to receive the first clock pulse;
a plurality of first binary counters, each having an input operatively connected to one of said first AND circuits and a reset terminal operatively connected to receive the first picture frame period signal, for counting a first number of bits having a predetermined logic level in a first picture frame period and for producing an output; and
a first latch circuit, having inputs operatively connected to the output of each of said first binary counters, for latching the output of each of said first binary counters for the first picture frame period and for outputting the output of all of said first binary counters as the first error check word in said first operation means; and
a multiplexer unit, operatively connected to said first operation means and the transmission line, for combining the first error check word and the encoded data; and
inter-frame decoding equipment in a B station, operatively connected via the transmission line to said multiplexer unit in said inter-frame encoding equipment, for decoding the encoded data, comprising:
separation means, operatively connected to the transmission line, for separating the first error check word and the encoded data;
a second frame memory, having an input and an output, for storing second picture frame data;
decoding means for decoding the encoded data in dependence upon the second picture frame data;
second operation means, operatively connected to one of the input and the output of said second frame memory, for calculating a second error check word and for providing a second clock pulse and a second picture frame period signal, said second operation means comprising:
a plurality of second input terminals, operatively connected to the second frame memory;
a plurality of second AND circuits, each having one input operatively connected to a corresponding one of said second input terminals and another input operatively connected to receive the second clock pulse;
a plurality of second binary counters, each having an input operatively connected to one of said second AND circuits and a reset terminal operatively connected to receive the second picture frame period signal, for counting a second number of bits having the predetermined logic level in a second picture frame period and for producing an output; and
a second latch circuit, having inputs operatively connected to the output of each of said second binary counters, for latching the output of each of said second binary counters for the second picture frame period and for outputting the output of all of said second binary counters as the second error check word in said second operation means; and
comparator means, operatively connected to said separation means, said second operation means and the transmission line, for comparing and checking the first and second error check words calculated by said first and second operation means to detect the transmission error and non-coincidence of first and second picture frame data stored in said first and second frame memories, for generating a resending request signal when non-coincidence of the first and second error check words is detected in the B station, and for transmitting the resending request signal to said first frame memory in the A station, said inter-frame encoding equipment in the A station responding to the resending request signal by processing the picture data in a reset mode and producing a reset display signal for combination with the picture data in said multiplexer for transmission over the transmission line, said second frame memory in the B station responding to the reset display signal by entering a reset processing code.

1. Field of the Invention

The present invention relates to a system for detecting a transmission error in digital television signals that are encoded by an inter-frame encoding system.

2. Description of the Prior Art

An inter-frame encoding/decoding system compresses the transmission band by transmitting an estimated error only, with a decoded digital television signal of a preceding frame as a predicted value. Therefore, the predicted value produced by inter-frame encoding equipment must be in agreement with the predicted value of an inter-frame decoding device. When a decoded error has occurred in the digital television signals decoded by the inter-frame decoding equipment due to a transmission error, the error remains in the decoded digital television signals unless it is corrected by some method. Therefore, the detection of a transmission error, or the detection of the fact that the predicted value of the decoding equipment is different from the predicted value of the encoding equipment, is important in the inter-frame encoding/decoding system.

A cyclic redundancy check code (CRC) system has been generally used to detect a transmission error. Even with the system for detecting a transmission error based upon the CRC system, however, as well known, sometimes the transmission error can not be detected when a transmission error is not detected, the decoded error is left in the decoded digital television signals.

An object of the present invention is to provide a system which is capable of detecting transmission errors more reliably than the CRC system.

Another object of the present invention is to provide a system which is capable of detecting transmission errors by requiring reduced amounts of redundancy bits compared to the CRC system.

The above-mentioned objects can be achieved by providing inter-frame encoding/decoding equipment for television signals which includes inter-frame encoding equipment which encodes the difference between television signals and the output or the input of a first frame memory, and inter-frame decoding equipment which receives encoded signals sent from the inter-frame encoding device via a transmission line and decodes by adding the output of a second frame memory to the encoded signal. A system for detecting a transmission error is included by providing the inter-frame encoding equipment with a first operation circuit which generates first remainders obtained by dividing, by a predetermined value, the number of bits of logic "1" in bit groups of the output or the input of the first frame memory, and providing the inter-frame decoding equipment with a second operation circuit which generates second remainders obtained by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups of the output or the input of the second frame memory and a comparator circuit which compares and checks the remainders generated by the first and second operation circuits to detect the transmission error.

Further features and advantages of the present invention will be apparent from the ensuing description with reference to the accompanying drawings to which, however, the scope of the invention is in no way limited.

FIG. 1 is a block diagram illustrating an embodiment of the present invention;

FIG. 2 is a block diagram illustrating the operation circuit of FIG. 1;

FIG. 3 is an operation time chart for the operation circuit of FIG. 2;

FIG. 4 is a block diagram illustrating the multiplexer circuit of FIG. 1;

FIGS. 5A-5F are an operation time chart for the multiplexer circuit of FIG. 4;

FIG. 6 is a block diagram illustrating the separating circuit of FIG. 1;

FIGS. 7A-7E is an operation time chart for the separating circuit of FIG. 6;

FIG. 8 is a block diagram illustrating the comparator of FIG. 1;

FIGS. 9A and 9B are a block diagram illustrating inter-frame encoding/decoding equipment using a system for detecting a transmission error according to the present invention.

FIG. 1 is a block diagram illustrating a system for detecting a transmission error according to an embodiment of the present invention. Reference numeral 100 denotes inter-frame encoding equipment, 200 denotes inter-frame decoding equipment, and 300 denotes a transmission line.

First, described below is the inter-frame encoding equipment 100. A digital television signal ak is input to an input terminal 1, and a subtractor 11 calculates the difference (predicted error) relative to the predicted value (decoded digital television signal of a preceding frame) a'k-1 stored in a memory 14. The predicted error is quantized by a quantizer 12 to make it suitable for inter-frame encoding. The predicted error ek after being quantized, is added by the adder 13 to the predicted value a'k-1 to decode ek into a decoded digital television signal a'k, and ek is also sent to a code converter circuit 17. The decoded signal a'k is stored in the memory 14 as a decoded predicted value for the next frame. The predicted error ek sent to the code converter circuit 17 is therein subjected to code conversion (such as variable length encoding or block encoding) to be suitable for being inter-frame encoded. Reference numeral 16 denotes a pulse generator circuit, and 15 denotes an operation circuit. The pulse generator circuit 16 generates pulses for determining the period of arithmetic operation of the operation circuit 15 and further generates fundamental clock pulses. The operation circuit 15 divides the predicted value a'k-1 read from the memory 14 into predetermined bit groups maintaining a pulse period generated by the pulse generator circuit 16 and divides the number of bits of logic "1" present in the bit groups by a predetermined value to calculate a remainder for each of the bit groups.

FIG. 2 is a block diagram of an embodiment of the operation circuit 15 in which the predetermined value in the operation circuit 15 is set to 4, i.e., the divisor is set at 4. FIG. 3 is an operation time chart of signals in the block diagram of FIG. 2. In FIG. 2, reference numerals 31-1 to 31-8 denote AND circuits, 32-1 to 32-8 denote binary counters, and 33 denotes a latch circuit. Predicted values D1 to D8 (a'k-1 of FIG. 1) encoded with 8 bits are input to input terminals 30-1 to 30-8, and the AND circuits 31-1 to 31-8 perform an AND operation with a clock pulse CK1. The binary counters 32-1 to 32-8, which are cleared by a picture frame period signal CK2 received at a reset terminal, count the number of bits of logic "1" in the picture frames and produce the remainders. Here, since the divisor has been set to 4, the binary counters 32-1 to 32-8 can be realized with 2-bit binary counters, and the measured values are the remainders of division by 4. The remainders that consist of 16 bits (Q1-1 ∼Q8-2) are latched in the latch circuit 33 by a picture frame period check signal F and are sent as rk of FIG. 1 to output terminals 34-11, 34-12 to 34-81, 34-82. Although the divisor is set to 4 in the embodiment of FIG. 2, the system can be easily realized with the same setup when the divisor is set to 2j (where j is a positive integer).

The above-mentioned operation will now be explained with respect to FIG. 3. In FIG. 3, D1 is the least significant bit (LSB) of the eight bits which form the predicting signal a'k-1, CK is an output of the AND circuit 31-1, Q1 is an output of the binary counter 32-1, and CKB1 is an output of the latch circuit 33. FIG. 3 shows the state of the path from the input terminal 30-1 to the output terminals 34-11, 34-12 as a typical example. The clock pulse CK1 and the LSB bit D1 are supplied to the AND circuit 31-1 so that the output CK synchronized with the clock pulse CK1 is obtained at the output of the AND circuit 31-1. The output CK is supplied to the counter 32-1 as a clock input. The counter 32-1 counts the output CK, and the value of the outputs Q1-1, Q1-2 changes as shown in Q1 for decimal values. The output of the counter 32-1 is latched every one frame by a frame clock F. Therefore, the output of the latch circuit 33 is changed as shown by CKB1.

The predicted error ek subjected to code conversion by the code converter circuit 17 is multiplexed with the remainder rk from the operation circuit 15 and is sent to the transmission line 300 via a buffer memory 19.

Described below is the inter-frame decoding device 200 which receives coded signals from the transmission line 300. A separating circuit 22 receives the coded signals via a buffer memory 21 and separates the predicted error b'k and the remainder r'k produced by the operation circuit 15 from each other. The predicted error b'k after being separated is subjected to reverse conversion relative to that of the code converter circuit 17, in a code converter circuit 23 and thereby the predicted error b'k is decoded into a predicted error e'k. The predicted error e'k which is decoded, is added by an adder 24 to a predicted value a"k-1 which has been stored in a memory 25 and is thus changed into a decoded digital television signal a"k. The decoded digital television signal a"k is sent to an output terminal 4 and is also written into the memory 25 as a predicted value for the next frame. The predicted value a"k-1 is also input to an operation circuit 26 connected to a pulse generator circuit 27 that work in the same manner as the operation circuit 15 and the pulse generator circuit 16 in the inter-frame encoding equipment 100, whereby a remainder r"k is calculated.

As is obvious from the above description, the predicted values a'k-1 and a"k-1 of the same frame stored in the memories 14 and 25 are kept in agreement with each other after they have once been brought into agreement, unless an error occurs. In other words, the remainder rk of the predicted value a'k-1 of the inter-frame encoding equipment 100 and remainder r"k of the estimated value a"k-1 of the inter-frame decoding equipment 200 are kept in agreement with each other as a matter of course, unless an error occurs. Therefore, a transmission error can be detected by comparing, with the comparator 28, the remainder r'k of the operation circuit 15 with the remainder r"k of the operation circuit 26 in the inter-frame decoding equipment 200. A transmission error, however, cannot be instantly detected if an error has occurred in a plurality of picture elements so that the bits of logic "1" of the decoded predicted values a'k-1, a"k-1 cancel each other or if there are formed multiples of the divisor. Even in this case, however, the transmission error can be detected at a later time since it is left in the decoded predicted value a"k-1, and the subsequent predicted values a"k, a"k+1, - - - change depending upon the input digital television signals ak, ak+1, - - - . When an operation circuit with a divisor like that in 4 of the embodiment of FIG. 2 is employed, as few as 16 redundancy bits need to be added to the picture frames to detect a transmission error.

FIG. 4 is a block diagram of the embodiment of the multiplexer 18 shown in FIG. 1. In FIG. 4, reference numeral 41 denotes a buffer memory which receives picture data from the code converter circuit 17, reference numeral 42 denotes a register which receives as parity data the remainder rk from the operation circuit 15, reference numeral 43 denotes a synchronizing signal generator, reference numeral 44 denotes a control pulse generator, reference numerals 45 to 49 denote AND circuits, and reference numeral 50 denotes an OR circuit. FIG. 5 is a time chart which illustrates the relationships between the frame format (A) output by the OR circuit 50 and the outputs (B), (C), (D), (E) and (F) of the control pulse generator 44. In FIG. 5(A), reference numeral 52 denotes picture data, reference numerals 53, 54, 55, and 56 denote a synchronizing signal, parity data, resending request signal, and a reset display signal, respectively. The output of the OR circuits is sent to the buffer memory 19 shown in FIG. 1.

As is clear from FIG. 5, the gate signals become a high level in the order of (D), (C), (E), (F) and (B), and the synchronizing signal 53, the parity data 54, the resending request signal (DR) 55, the reset display signal 56, and the picture data 52 pass through the AND circuits and are multiplexed in the OR circuit 50 for output. Therefore, the frame format is as shown in FIG. 5(A).

Further, if an error is detected in the receiving unit by detecting non-coincidence of the parity signals r'k and r"k the resending request signal (DR) 55 is sent to the sending side. When the sending side receives this signal 55, the sending side resends the picture data. That is, in the sending side, the input signal is quantized, coded, and sent. On the other hand, since it is necessary to inform the receiving side that the data is the resent data, the reset display signal 56 is multiplexed and sent.

FIG. 6 is a block diagram of the embodiment of the separating circuit 22 shown in FIG. 1. In FIG. 6, reference numeral 61 denotes a frame synchronization circuit, reference numeral 62 denotes a control pulse generator, reference numerals 63 to 66 denote AND circuits, reference numeral 64 denotes a buffer memory which outputs picture data b'k, reference numeral 65 denotes a register which outputs parity data r'k, reference numeral 66 denotes a register which outputs a remote parity non-coincident detecting (reset) signal DR and reference numeral 67 denotes a register which outputs a remote reset display signal DDR.

FIG. 7 is a time chart which illustrates the relationship between the frame format (A) and the control pulses (B), (C), (D) and (E) in FIG. 6. The operation of the separating circuit 22 is explained next. When the format signal shown in FIG. 7(A) is input to the frame synchronization circuit 61, it is synchronized with the frame synchronization signal 53, and the gate pulses shown in FIGS. 7(B), 7(C), 7(D), and 7(E) are output from the control pulse generator 62 and input to the AND circuits 63, 64, 65, and 66, respectively. Therefore, the picture data 52, the parity signal 54, the parity non-coincident detecting data 55, and the reset signal 56 are stored via the AND circuits 63, 64, 65, and 66 into the buffer memory 64 and the registers 65, 66, and 67. The picture data b'k is input to the code converter circuit 23 to be decoded. Further, the parity data r'k is input to the comparator 28 and is compared with r"k from the operation circuit 26.

FIG. 8 is a block diagram of the embodiment of the comparator circuit 28 shown in FIG. 1. In FIG. 8, reference numerals 71 and 72 denote registers, reference numerals 73-1 and 73-16 denote exclusive OR circuits, reference numeral 75 denotes an OR circuit, and reference numeral 76 denotes a register. The output of the register 76 is connected to the terminal 5 shown in FIG. 1. The output r"k of the operation circuit 26 and the output r'k of the separating circuit 22 are supplied to the registers 71 and 72, respectively, and are compared by the exclusive OR circuits 73-1 and 73-16 and the error signal is output from the terminal 5.

FIG. 9 is a block diagram illustrating inter-frame encoding/decoding equipment using the system of the present invention. In FIG. 9, reference numeral 100S denotes inter-frame encoding equipment of the A station, reference numeral 100R denotes inter-frame decoding equipment of the A station, reference numeral 200R denotes inter-frame decoding equipment of the B station and reference numeral 200S denotes inter-frame encoding equipment of the B station. The embodiment of the inter-frame encoding and decoding equipment of each station is the same as that of FIG. 1.

In the equipment illustrated in FIGS. 9A and 9B, when a non-coincidence of the parity is detected by the comparator circuit 28 in the B station, a resending (reset) request signal DR is multiplexed in the multiplexer 18a in the B station to be sent out to the inter-frame decoding equipment 100R in the A station. The reset request DR is received and separated in the separating circuit 22a in the A station, and the separated request signal DR' is transferred to the memory 14 in the A station and is processed to effect the resending (reset) process. The data which is reset processed is added to the reset display signal DDR in the multiplexer 18 and is sent to the B station. When the B station receives and detects the signal DDR in the separating circuit 22 as a signal DDR', the signal DDR' is applied to the memory 25 of the inter-frame decoding circuit 20 in the B station so that the inter-frame decoding equipment is changed to the resending (reset) processing mode. When a non-coincidence of the parity is detected by the comparator 28a in the A station, the resending request process is effected in the B station as shown by adding the index "a", that is, DRa→DR'a→DDRa→DDR'a shown in FIG. 9.

According to the transmission error detection system in the inter-frame encoding/decoding system of the present invention as described by way of the above embodiments, a transmission error can be detected reliably by requiring the addition of a very small number of redundancy bits.

Although the embodiment of the present invention deals with a simple inter-frame encoding/decoding system, it can be easily implied that the invention is also applicable to any other complex inter-frame encoding/decoding system. Further, the setup of bit groups and the value of divisors are in no way limited to those of the above-mentioned embodiments.

Kuroda, Hideo, Mukawa, Naoki, Matsuda, Kiichi, Nishiwaki, Mitsuo, Hiraoka, Makoto, Tsugane, Shuzo

Patent Priority Assignee Title
4827337, Feb 19 1987 NEC Corporation Inter-frame decoding system with frame memories for uninterrupted clear video signals
5117288, Nov 27 1989 LICENTIA PATENT-VERWALTUNGS-GMBH, THEODOR-STERN-KAI 1 D-6000 FRANKFURT AM MAIN 70, FED REP OF GERMANY Method of decoding coded image data utilizing transmission error detection to interrupt decoding and up-dating
Patent Priority Assignee Title
3017091,
3340504,
3430037,
3573726,
3753225,
GB806836,
//////////
Executed onAssignorAssigneeConveyanceFrameReelDoc
Jun 14 1984Nippon Telegraph & Telephone Public Corp.(assignment on the face of the patent)
Jun 14 1984Fujitsu Limited(assignment on the face of the patent)
Jun 14 1984Nec Corp.(assignment on the face of the patent)
Jun 18 1984TSUGANE, SHUZONIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jun 18 1984NISHIWAKI, MITSUONIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jun 18 1984MATSUDA, KIICHINIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jun 18 1984HIRAOKA, MAKOTONIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jun 18 1984MUKAWA, NAOKINIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jun 18 1984KURODA, HIDEONIPPON TELEGRAPH & TELEPHONE PUBLIC CORPORATION A CORP OF JAPANASSIGNMENT OF ASSIGNORS INTEREST 0043010958 pdf
Jul 18 1985Nippon Telegraph and Telephone Public CorporationNippon Telegraph & Telephone CorporationCHANGE OF NAME SEE DOCUMENT FOR DETAILS EFFECTIVE ON 07 12 19850044540001 pdf
Date Maintenance Fee Events
Oct 31 1990M173: Payment of Maintenance Fee, 4th Year, PL 97-247.
Dec 03 1990ASPN: Payor Number Assigned.
Feb 07 1995REM: Maintenance Fee Reminder Mailed.
May 08 1995M184: Payment of Maintenance Fee, 8th Year, Large Entity.
May 08 1995M186: Surcharge for Late Payment, Large Entity.
Sep 01 1995ASPN: Payor Number Assigned.
Sep 01 1995RMPN: Payer Number De-assigned.
Dec 21 1998M185: Payment of Maintenance Fee, 12th Year, Large Entity.


Date Maintenance Schedule
Jun 30 19904 years fee payment window open
Dec 30 19906 months grace period start (w surcharge)
Jun 30 1991patent expiry (for year 4)
Jun 30 19932 years to revive unintentionally abandoned end. (for year 4)
Jun 30 19948 years fee payment window open
Dec 30 19946 months grace period start (w surcharge)
Jun 30 1995patent expiry (for year 8)
Jun 30 19972 years to revive unintentionally abandoned end. (for year 8)
Jun 30 199812 years fee payment window open
Dec 30 19986 months grace period start (w surcharge)
Jun 30 1999patent expiry (for year 12)
Jun 30 20012 years to revive unintentionally abandoned end. (for year 12)