INTER-FRAME ENCODING/DECODING EQUIPMENT PROVIDED WITH A SYSTEM FOR DETECTING A TRANSMISSION ERROR

Abstract: An inter-frame encoding/decoding equipment for tele­ vision signals consists of inter-frame encoding equipment encoding a difference between television signals and the output of a frame memory and inter-frame decoding equip­ ment which receives an encoded signal sent from the inter-frame encoding device via a transmission line, which decodes by adding the output of the frame memory to the encoded signal. The inter-frame encoding equipment is provided with a first operation circuit which operates the remainders obtained by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of the frame memory is divided by a predetermined unit. The inter-frame decoding equipment is provided with a second operation circuit which operates the remainders obtaiend by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input ot the frame memory is divided by a predetermined unit. The inter-frame decoding equipment is further provided with a comparator circuit which compares and checks the values operated by the first and the second operation circuits to detect a transmission error.

Description: 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. An inter-frame encoding/decoding system compresses the transmission band by transmitting an estimated error (difference) only, with a decoded digital television signal of a preceding frame as predicted value. Therefore, the predicted value of inter-frame encoding equipment must be in agreement with the predicted value of an inter-frame decoding device. In case 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, sometime the transmission error cannot be detected. If the transmission error is overlooked, the decoded error is left in the decoded digital television signals. It is desirable to provide a system which is capable of detecting transmission errors more reliably than the CRC system. It is also desirable provide a system which is capable of detecting transmission errors by requiring reduced amounts of redundancy bits. A paper by H Kuroda entitled "1.5 Mbit/s Interframe Codec for Video Teleconferencing Signals", GLOBECOM '82 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, Miami, 2-Nov to 02-Dec-1982, Vol. 3, pages 987 - 991, IEEE, New York discloses a video transmission system having the features of the preambles of accompanying claims 1 and 2. US-A-2,822,979 discloses a counting and dividing circuit which determines a remainder for a word of binary code values based on a predetermined modulus. According to the present invention, there is provided a system for detecting a transmission error in inter-frame encoding/decoding equipment for picture data of television signals, which equipment comprises inter-frame encoding equipment for encoding a difference between the picture data and the output of a first frame memory and inter-frame decoding equipment for receiving a transmitted signal sent from said inter-frame encoding equipment via a transmission line, and which decodes by adding the output of second frame memory to said transmitted signal; characterised in that: said inter-frame encoding equipment is provided with a first operation circuit operable prior to an encoding process to produce remainders by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of said frame memory is divided by a predetermined unit; said inter-frame decoding equipment is provided with a second operation circuit operable following a decoding process to produce remainders by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of said second frame memory is divided by a predetermined unit, and a comparator circuit operable to compare and check the remainders produced by said first and said second operation circuits to detect an error between the picture data prior to encoding and the picture data after decoding. Reference will now be made, by way of example, to the accompanying drawings, to which, however, the scope of the invention is in no way limited. Figure 1 is a block diagram illustrating an embodiment of the present invention. Figure 2 is a block diagram illustrating the operation circuit of Fig. 1. Figure 3 is an operation time chart of the operation circuit of Fig. 2. Figure 4 is a block diagram illustrating the multiplexer circuit of Fig. 1. Figure 5 is an operation time chart of the operation circuit of Fig. 4. Figure 6 is a block diagram illustrating the separating circuit of Fig. 1. Figure 7 is an operation time chart of the separating circuit of Fig. 6. Figure 8 is a block diagram illustrating the comparator of Fig. 1. Figures 9A and 9B are a block diagram illustrating inter-frame encoding/decoding equipment using a system for detecting a transmission error embodying the present invention. Figure 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 a k 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 so as to be suited for being inter-frame encoded. The predicted error e k which is quantized is added by the adder 13 to the predicted value a' k-1 to form the decoded digital television signal a' k , and is sent to a code converter circuit 17. The decoded signal a' k is stored in the memory 14 as an encoded predicted value for the next frame. The predicted error e k sent to the code converter circuit 17 is then subjected to code conversion (such as variable length encoding or block encoding) so as 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 the remainder. Figure 2 is a block diagram of the embodiment in which a predetermined value of the operation circuit 15 is set to 4, i.e., the divisor is set to 4. Figure 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 D₁ to D₈ (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 clock CK₁. The binary counters 32-1 to 32-8, which are cleared with a picture frame period CK₂ for each bit unit, measure 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 remainders when being divided by 4. The remainders that consist of 16 bits (Q₁₋₁∿Q₈₋₂) are latched in the latch circuit 33 with a picture frame period check F and are sent as r k 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 even when the divisor is set to 2 j (j is an integer). The above-mentioned operation is explained by Fig. 3. In Fig. 3, D₁ is the least significant bit (LSB) of eight bits which forms a predicting signal, CK is an output of the AND circuit 31-1, Q₁ is an output of the binary counter 32-1, and CKB₁ is an output of the latch circuit 33. Figure 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 CK₁ and the LSB bit D₁ are supplied to the AND circuit 31-1 so that the output synchronized with the clock CK₁ is obtained at the output of the AND circuit 31-1. The output CK is supplied to the counter 32-1 as the clock. The counter 32-1 counts the output CK, and the value of the outputs Q₁₋₁ , Q₁₋₂ changes as shown in Q₁ in a decimal value. 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 CKB₁. The predicted error e k subjected to code conversion by the code converter circuit 17 is multiplexed on the remainder r k 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 signals via a buffer memory 21 and separates the predicted error b' k and the remainder r' k of the operation circuit 15 from each other. The predicted error b' k which is separated is subjected to reverse conversion relative to that of the code converter circuit 17, in a code converter circuit 23 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 decoded 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 calculated by an operation circuit 26 and 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 r k of the predicted value a' k-1 of the interframe 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 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 a k , a k+1 , ---. When the operation circuit with the divisor of 4 of the embodiment of Fig. 2 is employed, redundancy bits of a number as small as 16 need to be added to the picture frames to detect a transmission error. Figure 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 parity data r k 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, reference numeral 50 denotes OR circuit. Figure 5 is an operation time chart which illustrates the relationships between the frame format (A) and the outputs (B), (C), (D), (E) and (F) of the control pulse generator. 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 high level in the order of (D), (C), (E) 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 pass through the AND circuits and are multiplexed in the OR circuit 50 so as to output. Therefore, the frame format becomes as shown in Fig. 5(A). Further, if the error is detected at the receiving side, 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 request display signal is multiplexed and sent. Figure 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 data and reference numeral 67 denotes a register which outputs a remote reset information. Figure 7 is an operation 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 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 Fig. 7(B), (C), (D), (E) are output from the control pulse generator 62 and input to AND circuits 63, 64, 65, and 66. Therefore, the picture data 52, the parity data 54, the parity non-coincident detecting data 55, and the reset data are stored via the AND circuits 63, 64, 65, and 66 to the buffer memory 64 and the registers 65, 66, and 67. The picture data b' k is input to the code converter circuit 23 so as 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. Figure 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 gates 73-1 and 73-16 and the error signal is output from the terminal 5. Figure 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 circuit shown in Figs. 9A and 9B, when a non-coincidence of the parity is caused in the comparator circuit 28 in the B station, a resending (reset) request signal DR is multiplexed in the multiplexer 18a in the B station so as to be sent out to the inter-frame decoding equipment 100R in the A station. The 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 so as 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 in the comparator 28a in the A station, the resending request process is effected to 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 an embodiment in the foregoing, a transmission error can be detected reliably by requiring the addition of a very reduced 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. Futher, the setup of bit groups and the value of divisors are in no way limited to those of the above-mentioned embodiment.

Claims: A system for detecting a transmission error in inter-frame encoding/decoding equipment for picture data (a k ) of television signals, which equipment comprises inter-frame encoding equipment (100) for encoding a difference (e k ) between the picture data (a k ) and the output (a K-1 ) of a first frame memory (14) and inter-frame decoding equipment (200) for receiving a transmitted signal sent from said interframe encoding equipment (100) via a transmission line (300), and which decodes by adding the output (a" k-1 ) of a second frame memory (25) to said transmitted signal; characterised in that: said inter-frame encoding equipment (100) is provided with a first operation circuit (15) operable prior to an encoding process to produce remainders (r K ) by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of said frame memory (14) is divided by a predetermined unit; said inter-frame decoding equipment (200) is provided with a second operation circuit (26) operable following a decoding process to produce remainders (r" K ) by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of said second frame memory (25) is divided by a predetermined unit, and a comparator circuit (28) operable to compare and check the remainders (r' k ,r" k ) produced by said first and said second operation circuits (15,26) to detect an error between the picture data (a K ) prior to encoding and the picture data (a" k ) after decoding. A system for detecting a transmission error in inter-frame encoding/decoding equipment for picture data of television signals, which equipment comprises first inter-frame encoding equipment (100S) in an A station, first inter-frame decoding equipment (200R) in a B station connected via a transmission line (300) to said first inter-frame encoding equipment (100S), second inter-frame encoding equipment (200S) in the B station, and second inter-frame decoding equipment (100R) in the A station connected via a transmission line (300a) to said second inter-frame encoding equipment (200S); characterised in that: said first and second inter-frame encoding equipment (100S,200S) each include a first operation circuit (15,15a) operable prior to an encoding process to produce remainders by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of a first frame memory (14,14a) is divided by a predetermined unit, and a multiplexer unit (18,18a) operable to combine the output (r k ,r ka ) of said first operation circuit (15,15a) and the encoded picture data (b k ,b ka ); and in that said first and second inter-frame decoding equipment (200R,100R) each includes a separation circuit (22,22a) operable to separate the transmitted output (r' k ,r' ka ) of said first operation circuit (15,15a) and the transmitted encoded picture data (b' k ,b' ka ), a second operation circuit (26,26a) operable following a decoding process to produce remainders (r" k ,r" ka ) by dividing, by a predetermined value, the number of bits of logic "1" in the bit groups into which the output or the input of a second frame memory (25,25a) is divided by a predetermined unit, and a comparator circuit (28,28a) operable to compare and check the remainders (r' k ,r" k ;r' ka ,r" ka ) produced by said first and said second operation circuits (15,26;15a,26a) to detect an error between the picture data prior to encoding and the picture data after decoding; wherein when a non-coincidence of parity is detected in the comparator circuit (28,28a) in one of the A and B stations, a resending request (DR,DR a ) is multiplexed in the multiplexer unit (18a,18) in that station and is sent to the separation circuit (22a,22) in the other station, the separated request (DR', DR a ) is transferred to said frame memory (14,14a) in the other station, the data which is reset processed is added to a reset display signal (DDR,DDRa) in the multiplexer (18,18a) in the other station, and, when the first station receives the transmitted reset display signal (DDR',DDR'a), said display signal is applied to the frame memory (25,25a) of the inter-frame decoding equipment in the first station to place it in a reset processing mode. A system for detecting a transmission error according to claim 1 or 2, wherein said first operation circuit (15;15,15a) and said second operation circuit (26;26,26a) each comprise a plurality of input terminals (30-1,...,30-8) for receiving a respective bit output or input (D₁...D₈) of said frame memory (14,25;14,14a,25,25a), a plurality of AND gates (31-1,...,31-8) each having one input terminal connected to one of said input terminals (30-1,...,30-8) and another input terminal connected to a clock pulse source (CK₁), a plurality of binary counters (32-1,...,32-8) each having one input terminal connected to the one of the outputs of said AND gates, operable to be cleared by a picture frame period (CK₂) and to count the number of bits of logic "1" in a frame of picture data, and a latch circuit (33) having inputs connected to the outputs (Q₁₋₁,Q₁₋₂,...Q₈₋₂) of said binary counters, operable to latch the outputs of said binary counters every picture frame period, and to output the remainders in said binary counters. A system for detecting a transmission error according to claim 1, 2, or 3, further comprising a multiplexer unit (18; 18, 18a) operable to combine the output (r k ) of the first operation circuit (15; 15, 15a) and the encoded picture data (b k ), wherein said multiplexer unit (18;18,18a) comprises a buffer memory (41) for storing encoded picture data (b k ;b k ,b ka ), a register (42) for storing the remainders (r k ;r k ,r ka ) output from the first operation circuit (15;15,15a), a control pulse generator (44), a first AND gate (45) having a first input connected to the output of the buffer memory (41) and a second input connected to a first output of the control pulse generator, a second AND gate (46) having a first input connected to the output of the register (42) and a second input connected to a second output of the control pulse generator (44), and an OR gate (50) with inputs connected to the outputs of the first and second AND gates (45,46), whereby under control of the control pulse generator the encoded picture data (b k ;b k ,b ka ) and remainders (r k ;r k ,r ka ) are combined in the output from the OR gate (50). A system for detecting a transmission error according to any preceding claim, further comprising a separation circuit (22; 22, 22a) operable to separate the transmitted output (r' k ) of the first operation circuit (15; 15, 15a) and the transmitted encoded picture data (b' k ), wherein said separation circuit (22;22,22a) comprises a control pulse generator (62), a first AND gate (63) having a first input connected to a first output of the control pulse generator and a second input connected to receive the transmitted signal, a second AND gate (64) having a first input connected to a second output of the control pulse generator and a second input connected to receive the transmitted signal, a buffer memory (64) for the transmitted encoded picture data (b' k ;b' k ,b' ka ), connected to the output of the first AND gate (63), and a register (65) for the transmitted remainders (r' k ;r' k ,r' ka ), connected to the output of the second AND gate (64), whereby under control of the control pulse generator the transmitted signal is separated into the picture data and the remainders. A system for detecting a transmission error according to claim 4, wherein said multiplexer unit (18;18,18a) further comprises a synchronizing signal generator (43) and a third AND gate (47) having a first input connected to the output of the synchronizing signal generator (43), a second input connected to a third output of the control pulse generator (44), and an output connected to an input of said OR gate (50), whereby a synchronizing signal is combined together with the picture data and the remainders in the transmitted signal. A system for detecting a transmission error according to claims 4,5 and 6 in combination, wherein the separation circuit (22;22,22a) further comprises a frame synchronization unit (61) which synchronizes operation of the control pulse generator (62) using the synchronization signal present in the transmitted signal.

Inventors: HIRAOKA, MAKOTO, KURODA, HIDEO, MATSUDA, KIICHI, MUKAWA, NAOKI, NISHIWAKI, MITSUO, TSUGANE, SHUZO
Applicants: FUJITSU LIMITED, NEC CORPORATION, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Application year: 1984
Main classification: H04N7
IPC codes: H03M13, H04L1, H04N7, H04B14