Video data storing device

Abstract: If received coded video-data includes data with an error unable to be decoded or data disagreeing with ITU-T recommendation H.261 (e.g., the number of bits per frame exceeds the limit defined by the recommendation), it must be stored with due countermeasures taken against an error and inadaptable data, which allows the stored data to be effectively reproduced. Received coded video-data is decoded by a transmission-line decoding portion (31) and divided into frames by a data dividing portion (32), then it is decoded by an information-source decoding portion (33) and then intraframely encoded by a intraframe coding portion (34). According to a signal from a bit-counting portion (35) showing that the number of bits in one frame of coded video-data exceeds the limit defined by ITU-T recommendation H.261 or anomalous signal of a frame image decoded by the information source decoding portion (33), a frame-processing control portion (36) decides how to store each frame and controls a storable data transfer portion (37) to select intraframe-coded data and transfer the selected data to a data storage.

Description: BACKGROUND OF THE INVENTION The present invention relates to a video-data storing device which receives coded video-data from a counterpart terminal over a transmission line, stores the received coded video-coded intact (without decoding) into a storage and transmits the stored coded video-data when reproducing it, and more particularly to a video storing device which is provided with means for coping with the case of receiving coded video-data that does not conform to predetermined data criteria, such as the recommendation H.261 made by ITU-T (International Telecommunication Union). Recently, with the spread and progress of digital communications networks, e.g., ISDN (Integrated Services Digital Networks) together with the advance of image processing technology and the development of high-speed digital signal processing methods, there has been an increasing demand for video-communication services. Representative real-time video-communication services are currently available video communication and video conferencing services. A growing user's interest is now directed to the use of video storage type communication services for providing many unspecified users with video information at any unspecified time. This kind of service uses a datacoding system, communication procedure and data multiplexing method according to ITU-T recommendations because it must provide many unspecified users with information services. In the ITU-T recommendation H. 261 defining a video encoding method, an information source encoder of a video-codec according to the ITU-T recommendation H.261 comprises a coding control portion, a transforming portion, a quantizing portion, an inverse quantizing portion, an inverse transforming portion, a motion-compensating image memory and an in-loop filter. The coding control portion controls an amount of coded data. The transforming portion performs two-dimensional discrete-cosine-transformation of input data by block of 8×8 pixels to develop into frequency range information. The quantizing portion digitizes a signal in the direction of its level to save a data amount. The inverse quantizing portion performs quantizing operation in reverse to the quantizing portion. The inverse transforming portion performs the transforming operation in reverse to the transforming portion. The motion-compensating image memory detects a motion vector by detecting a movement from a current transmittable frame and a proceeding frame. The in-loop filter eliminates high-pass component distortion resulting from interframe prediction. The information source decoding device produces coded video-data from an input video-signal by applying a hybrid coding method that is a combination of an interframe prediction coding for compressing the data amount of the input video-signal using redundancy of the video in the time-base direction with an orthogonal transform coding method for compressing the data amount of the input video-signal using redundancy of the video in the spatial direction. The interframe prediction coding method determines a difference between a succeeding signal and a current signal as a prediction error signal and encodes said prediction error signal. This method is called "interframe coding". If the interframe coding might bring a large difference signal, it is preferred to encode the frame by itself, rather than the interframe coding. This method is called "intraframe coding". With the interframe coding method, it is needed to prepare coded data referring to a preceding frame because of using a differential signal between a current frame and a preceding frame. In reproducing the video signal from the coded data at a receiving terminal, it is therefore needed to use coded data of the precedent frame besides coded data of the current frame. On the contrary, the intraframe coding method encodes a frame without referring to any other frame. Consequently, the receiving terminal can reproduce the video signal from the received coded data by decoding just received frame data without referring any other frame data. A conventional storage type communication system for providing a video storage-and-delivery service includes audiovisual terminals a digital transmission network, a video data storing device, a data storage, a transmission-line decoding portion, a data dividing portion, an information source decoding portion, an intraframe coding portion and a storable data transfer portion. The transmission-line decoding portion decodes video-data received over the transmission line and the data dividing portion divides the output decoded data into data per frame that represents one element of the hierarchical structure of coded video-data. The frames into which coded data was divided are decoded to the original video signal by the information source decoding portion. At that time, only a first frame to be first stored is encoded again in the intraframe mode and then stored. All proceeding frames are stored as outputted from the data dividing portion. The first frame at beginning of storing framed data is thus intraframely coded and can be finely reproduced at the receiving terminal regardless of its inconformity to the ITU-T recommendation H.261. A sequence of coded data, however, may become unable to be decoded if an error arose in a transmission line with a result of corruption of data. The ITU-T recommendation H.261 limits the number of bits in one frame of coded video-data, i.e., 256 kbpf (kbits per frame) if a video-signal format is CIF (Common Intermediate Format), and 64 kbpf if a video signal format is QCIF (Quarter CIF). This is because the decoder is designed for a specified capacity of a buffer for receiving data. If the received coded video-data is unable to be decoded or a frame whose bit-length exceeds the limit defined by the ITU-T recommendation H.261, a conventional storing device decodes said data by a transmission-line decoder, divides the data into frames and stores the frames with no countermeasure. Consequently, frames that do not meet the recommendation are transmitted to a counterpart terminal which, however, can not decode the received video-data. Video data storing devices in which coded video-data received over a transmission line is recorded in the interframe coded form, are disclosed in EP-A-0637888 and GB-A-2278752. In the device of EP-A-0637888, part of a prediction code train is replaced by independently coded frames or fields to facilitate reproduction during high speed search. In the device of GB-A-2278752 errors in a received coded video signal are monitored for image dispersement, in which event the receiver commands the transmitter to change coding mode from interframe to intraframe. SUMMARY OF THE INVENTION In view of the foregoing circumstances, the present invention was made to provide a video storing device which is capable of storing coded video-data in such a way that effective countermeasures can be taken if any received data can not be decoded and/or is inadaptable (e.g., with a bit length per frame over the recommended limit value) and the same countermeasures can be applied to the video-data including the data with an error and/or informal data when reproducing the stored data for further use. According to the present invention there is provided a video data storing device comprising means for dividing received coded video data into frames; means for transferring the received coded video data to a data store; means for checking the received coded video data for conformity with a predetermined data recommendation and thereby detecting irregular data; means for decoding and re-encoding by intraframe encoding the coded video data; and control means for controlling the transferring means so as to store the intraframe encoded data instead of the received coded video data for any such detected irregular data. In the described embodiment the decoding means is operable to decode the coded video data so as to restore the video data, the checking means is operable to check the received video data for compliance with ITU-T recommendation H.261, and the control means is operable to output a control signal generated in accordance with the decision of the checking means, said transferring means being controlled by said control signal. The control means thus detects from the output of the checking means the inconformity of the received coded video-data to the ITU-T recommendation H.261, generates the control signal for selecting either of the received coded video-data and intra re-encoded video-data to be stored, and then it outputs the control signal to the storable data transfer means. Consequently, the received data that contains an error and/or inadaptable data can be stored in the state conforming to the recommendation. Countermeasures against the erroneous data and inadaptable data can be applied when reproducing the stored data. The checking means may be arranged to judge whether video data restored by the decoding means is irregular as to its frame structure according to the ITU-T recommendation H.261. With the abnormality of the decoded image, judged to be the consequence of an error arising in a transmission line, the device re-encodes the decoded image information but in the intra mode to make the storable data to be adapted to the recommendation. The checking means may include a bit-counting portion for counting the bit length of each frame of the received coded video-data and, when the measured bit-length of a frame exceeds a frame length limit defined by the ITU-T recommendation H.261, judges the frame to be irregular. In this device, the bit-counting portion counts the number of bits per frame of coded video-data, discriminates whether the count of bits exceeds or does not exceed the limit of bit-length of one frame, which is defined by the recommendation, and the control means outputs a control signal selected according to the discrimination result. Namely, the bit-counting means and the control means co-operate to detect an inadaptable frame of received coded video-data and interframely re-encode it in order to be stored as adapted to the recommendation. Consequently, no data-frame disagreeing with the recommendation can be stored and, therefore, coded video-data always conforming to the recommendation can be transmitted for reproducing the data at an end terminal. The device is preferably so arranged that when having detected an irregular data in the received coded video data, it transmits a command requesting a video-sending terminal to update video data to promptly eliminate the irregularity of the received video image. In response to the command, the counterpart terminal transmits an intraframely coded video-data (frame). Accordingly, the device not only maintains video-data conformable to the ITU-T recommendation H.261 but also realizes fast restoring of the received video without distortion even if it received any inadaptable video-data. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of an information source decoder of a video-codec according to the ITU-T recommendation H.261. Figure 2 is a construction view of a conventional video-data storage device. Figure 3 is a block diagram showing a video-data storing device embodying the present invention. Figure 4 is a view for explaining the operation of a video-data storing device of the present invention when having received video frame that does not conform to the ITU-T recommendation H.262. Figure 5 is a flow chart of a frame processing control means for deciding storable data to be sent to a video-data storage in a video-data storing system according to the present invention. PREFERRED EMBODIMENT OF THE INVENTION A summary of the ITU-T recommendation H. 261 defining a video encoding method is as follows: Figure 1 is a block diagram of an information source encoder of a video-codec according to the ITU-T recommendation H.261, which encoder comprises a coding control portion 11, a transforming portion 12, a quantizing portion 13, an inverse quantizing portion 14, an inverse transforming portion 15, a motion-compensating image memory 16 and an in-loop filter 17. The coding control portion 11 controls an amount of coded data. The transforming portion 12 performs two-dimensional discrete-cosine-transformation of input data by block of 8×8 pixels to develop into frequency range information. The quantizing portion 13 digitizes a signal in the direction of its level to save a data amount. The inverse quantizing portion 14 performs quantizing operation in reverse to the quantizing portion 13. The inverse transforming portion 15 performs the transforming operation in reverse to the transforming portion 12. The motion-compensating image memory 16 detects a motion vector by detecting a movement from a current transmittable frame and a proceeding frame. The in-loop filter 17 eliminates high-pass component distortion resulting from interframe prediction. The information source decoding device produces coded video-data from an input video-signal by applying a hybrid coding method that is a combination of an interframe prediction coding for compressing the data amount of the input video-signal using redundancy of the video in the time-base direction with an orthogonal transform coding method for compressing the data amount of the input video-signal using redundancy of the video in the spatial direction. The interframe prediction coding method determines a difference between a succeeding signal and a current signal as a prediction error signal and encodes said prediction error signal. This method is called "interframe coding" that corresponds to the case when contacts b and c at two switches 18, 19 of Fig. 1 are connected to each other. If the interframe coding might bring a large difference signal, it is preferred to encode the frame by itself, rather than the use the interframe coding. This method is called "intraframe coding" that is realized when contacts a and c at two switches 18, 19 of Fig. 1 are connected to each other. With the interframe coding method, it is needed to prepare coded data referring to a preceding frame because of using a differential signal between a current frame and a preceding frame. In reproducing the video signal from the coded data at a receiving terminal, it is therefore needed to use coded data of the precedent frame besides coded data of the current frame. On the contrary, the intraframe coding method encodes a frame without referring to any other frame. Consequently, the receiving terminal can reproduce the video signal from the received coded data by decoding just received frame data without referring any other frame data. Figure 2 is a schematic illustration showing a configuration of a conventional storage type communication system for providing a video storage-and-delivery service, which includes audiovisual terminals 21-1, 21-2, 21-3 ... 21-n, a digital transmission network 22, a video data storing device 23, which comprises a transmission-line decoding portion 23a, a data dividing portion 23b, an information source decoding portion 23c, an intraframe coding portion 23d and a storable data transfer portion 23e, and a data storage 24. The transmission-line decoding portion 23a decodes video-data received over the transmission line and the data dividing portion 23b divides the output decoded data into data per frame that represents one element of the hierarchical structure of coded video-data. The frames into which coded data was divided are decoded to the original video signal by the information source decoding portion 23c. At that time, only a first frame to be first stored is encoded again in the intraframe mode and then stored. All proceeding frames are stored as outputted from the data dividing portion 23b. The first frame at beginning of storing framed data is thus intraframely coded and can be finely reproduced at the receiving terminal regardless of its inconformity to the ITU-T recommendation H.261. A sequence of coded data, however, may become unable to be decoded if an error arose in a transmission line with a result of corruption of data. The ITU-T recommendation H.261 limits the number of bits in one frame of coded video-data, i.e., 256 kbpf (kbits per frame) if a video-signal format is CIF (Common Intermediate Format), and 64 kbpf if a video signal format is QCIF (Quarter CIF). This is because the decoder is designed for a specified capacity of a buffer for receiving data. If the received coded video-data is unable to be decoded or a frame whose bit-length exceeds the limit defined by the ITU-T recommendation H.261, a conventional storing device decodes said data by a transmission-line decoder, divides the data into frames and stores the frames with no countermeasure. Consequently, frames that do not meet the recommendation are transmitted to a counterpart terminal which, however, can not decode the received video-data. In view of the foregoing circumstances, the present invention was made to provide a video storing device which is capable of storing coded video-data in such a way that effective countermeasures can be taken if any received data can not be decoded and/or is inadaptable (e.g., with a bit length per frame over the recommended limit value) and the same countermeasures can be applied to the video-data including the data with an error and/or informal data when reproducing the stored data for further use. Fig. 3 is a block diagram of a video storing device embodying the present invention. A transmission-line decoding portion 31 receives coded video-data and decodes the received coded video-data. The data dividing portion 32 connected to the transmission-line decoding portion 31 divides the coded video-data into data per frame. An information-source decoding portion 33 connected to the data dividing portion 32 decodes the coded video data to restore the original video information, one copy of which is used for examining whether it conforms to a coding law defined by the ITU-T recommendation H.261. The other restored information is encoded again but in the intraframe coding mode by an intraframe coding portion 34. A bit-counting portion 35 connected to the data dividing portion 32 counts bit-length of coded video data per frame and examines whether the measured bit-length exceeds the limit bit-length defined by the ITU-T recommendation H.261. A frame processing control portion 36, which is connected to the bit-counting portion 35 and the information-source decoding portion 33, decides how to store the frames in a data storage. A data transfer portion 37, which is connected to the data dividing portion 32, the intraframe coding portion 34 and the frame processing control portion 36, transfers the coded video-data to the data storage. Figure 4 is a view for explaining the processing actions of the video data storing device when having received a frame being not in conformity to the ITU-T recommendation H.261. Fig. 4(I) shows a sequence of video-data received and divided into frames and Fig. 4(II) shows a sequence of the divided data (frames) to be stored. If a frame (A2 frame in the shown case) disagreeing with the ITU-T recommendation H.261 was found in a sequence of the received video-data, it is encoded again but in the intraframe mode to conform to the recommendation and then is stored as a conformable frame (A2' frame). All succeeding frames (A3 and so on) of the received coded video-data are stored as they were received. Figure 5 is a flow chart for explaining the operation of a frame-processing control portion for deciding data to be transferred to a data storage according to the present invention. After receiving a data-storing starting command, the frame-processing control portion waits for a notice of receiving a frame from a bit-counting portion (Step S1). Upon receipt of the notice, the control portion recognizes the first storable frame (Step S2), instructs the storable data transfer portion to transfer output data from an intraframe encoding portion to a data storage (Step S5) and sends a counterpart terminal a command requiring transmission of an image data (Step S6). Then, the control portion waits for a notice of completing receipt of a next frame from the bit-counting portion (Step S1). Upon receipt of the notice, the control portion recognizes the conformity of the received frame (Step S3) and instructs the storable data transfer portion to transfer the received data frame from the dividing portion to the data storage (Step S4). After this, the control unit returns into waiting state (Step S1). Upon receipt of the notice of receiving a next frame data, the control portion, if the frame disagrees with the recommendation (Step S3), instructs the storable data transfer portion to transfer output data from the intraframe coding portion to the data storage (Step S5) and sends a counterpart terminal an audiovisual communication control-signal and a command requiring transmission of a video-frame, which command is defined by the ITU-T recommendation H.230 on audiovisual communication control-signals and message-signals (Step S6). Then, the control unit returns to waiting for a notice of having received a next frame and will repeat the above-mentioned operations. As is apparent from the foregoing, the above-described device offers the following advantages: (1) The video-data storing device is provided with a frame processing control portion and is capable of detecting the inconformity of a received frame to the ITU-T recommendation H.261, generating a control signal by the frame processing portion according to the detection signal, encoding the received inadaptable frame again but in the intraframe mode and storing the intraframe coded frame, realizing thereby storing of the coded video-data conformable to the recommendation. This also assures transmission of the video-data conformable to the recommendation when reproducing the stored video-image. The countermeasure applied to the inadaptable video-data can be also used when reproducing the stored video-data. (2) The video-data storing device is capable of, besides the facilities defined in item (1), detecting abnormality of decoded image resulted from a transmission error, and intraframely encoding said video information, enabling thereby to maintain the information as data conformable to the recommendation. (3) The video-data storing device has, beside the facilities defined in items (1) and (2), a bit-counting portion and is capable of detecting a frame of the received coded video-data, data length of which exceeds the limit defined by the recommendation, according to the count of the bit-counting portion, and informing a frame processing portion of a received frame disagreeing with the recommendation, instructing not to store the disagreeing frame and to intraframely encode the frame and store the interframe coded data. By doing so, it is possible to always store coded video frames conformable to the recommendation as well as to transmit the coded video-data conformable to the recommendation when reproducing the stored video-data. (4) The video-data storing device is capable of, besides the features defined in items (1), (2) and (3), sending a counterpart terminal a command for updating the current image, which command is defined by the ITU-T recommendation H.230, when it has recognized the inconformity of the received data to the ITU-T recommendation H.261. By doing so, it is possible to restore the received image from distortion in the shortest period.

Claims: A video-data storing device comprising: means (32) for dividing received coded video data into frames; means (37) for transferring the received coded video data to a data store; means (33 or 35) for checking the received coded video data for conformity with a predetermined data recommendation and thereby detecting irregular data; means for decoding (33) and re-encoding by intraframe encoding (34) the coded video data; and control means (36) for controlling the transferring means (37) so as to store the intraframe encoded data instead of the received coded video data for any such detected irregular data. A video-data storing device according to claim 1, wherein said decoding means (33) is operable to decode the coded video data so as to restore the video data, said checking means (33) is operable to check each divided frame for compliance with ITU-T recommendation H.261, and said control means (36) is operable to output a control signal generated in accordance with the decision of the checking means, said transferring means being controlled by said control signal. A video-data storing device according to claim 1 or claim 2, wherein the checking means (33) is arranged to judge whether video data restored by the decoding means (33) is irregular as to its frame structure according to the ITU-T recommendation H.261. A video-data storing device according to any preceding claim, wherein the checking means (35) includes a bit-counting portion for counting the bit length of each frame of the received coded video-data and, when the measured bit-length of a frame exceeds a frame length limit defined by the ITU-T recommendation H.261, judges the frame to be irregular. A video-data storing device according to any preceding claim, wherein when having detected an irregular data in the received coded video data the device transmits a command requesting a video-sending terminal to update video data to promptly eliminate the irregularity of the received video image.

Inventors: HIBI KEIICHI, IWANO TSUNEAKI, KANADA YOUJI, KURA TSUNEKO, MAKIYAMA TAKESHI, NAKABAYASHI JIRO, NAKAMURA OSAMU, OSHIMA TAKASHI, SHIOI MASAHIRO, HIBI, KEIICHI, IWANO, TSUNEAKI, KANADA, YOUJI, KURA, TSUNEKO, MAKIYAMA, TAKESHI, NAKABAYASHI, JIRO, NAKAMURA, OSAMU, OSHIMA, TAKASHI, SHIOI, MASAHIRO
Applicants: NIPPON TELEGRAPH & TELEPHONE, SHARP KK, NIPPON TELEGRAPH AND TELEPHONE CORPORATION, SHARP KABUSHIKI KAISHA
Application year: 1996
Main classification: H04N9
IPC codes: H04N7, H04M11, H04L1, H04N5, H03M13, H04N9