Method and device for reliably transmitting and receiving media streams

A technology of a transmission device and a receiving device, which is applied in the field of reliable transmission of media streams, can solve problems such as inability to receive and watch clear video images, and achieve the effect of smooth and reliable transmission of video images.

Active Publication Date: 2014-01-22
ZHEJIANG UNIVIEW TECH CO LTD
View PDF8 Cites 54 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In case of short-term congestion or other problems in the IP video surveillance network, user 1 and user 2 cannot receive the complete live stream sent by EC, user 1 and user 2 will not be able to watch clear video images

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for reliably transmitting and receiving media streams
  • Method and device for reliably transmitting and receiving media streams
  • Method and device for reliably transmitting and receiving media streams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] The encoding device implements a time-based backup strategy: the encoding device presets the media stream data retention time as T1, and when the backed up media stream data exceeds the retention time T1, the media stream data will not be backed up. Based on this idea, the specific implementation method of the encoding device when backing up the media stream data is: according to the retention time T1, open up a buffer space of a certain size for backing up the media stream data. The media stream data is written into the cache space in a circular overwriting method during backup, that is, when the cache space is full, the previous media stream data is overwritten from the beginning and new backup data is written. Since the size of the buffer space is calculated based on the backup time T1 of the media stream data and some other calculation factors, such as the encoding bit rate, the cyclic coverage of backing up the media stream data basically ensures that the media stre...

Embodiment 2

[0057] The second embodiment is the optimization of the first embodiment. On the basis of Embodiment 1, further, if the media stream retransmission processing module of the decoding device has not received the retransmitted media stream data after the waiting time T2 has elapsed, it will continue to send the retransmission request. In this embodiment, the maximum number of retransmissions N can be set. This scheme is described in detail below.

[0058] Step 31, open up a cache space on the encoding device for backing up media stream data packets.

[0059] For the specific implementation of this step, please refer to Embodiment 1.

[0060] Step 32, the media stream sending module of the encoding device sends the media stream data packet, and the media stream backup module backs up the sent media stream data packet in the buffer space.

[0061] For the specific implementation of this step, please refer to Embodiment 1.

[0062] Step 33, the media stream receiving module of t...

Embodiment 3

[0079] Embodiment 3 is mainly applicable to the situation of sending media stream data by multicast. This embodiment adds the following technical content on the basis of Embodiment 1 and Embodiment 2: select a detection point in the decoding device that joins the multicast group, and the detection point is used to send an acknowledgment response after receiving the media stream data to the encoding device After receiving the response information, the encoding device deletes the corresponding backup media stream data from the cache.

[0080] Embodiment 3 The media stream reliable transmission device embedded in the encoding device is as follows: Figure 7 shown in the figure 2 Added on the basis of: detection point selection module and media stream deletion module. The device for reliably receiving media streams embedded in the decoding device in Embodiment 3 is as follows: Figure 8 shown in the image 3 A confirmation response module is added on the basis of . These mod...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a scheme of reliably transmitting media streams. In the scheme, an encoding device utilizes a media stream data backup mechanism, a decoding device utilizes a media stream data caching mechanism, wherein the encoding device stores media stream data in a specially developed cache space to realize the purpose of backing up the media stream data when transmitting the media stream data to the decoding device; after finding out that the media stream data is lost, the decoding device transmits a retransmission request to the encoding device and caches subsequently received media stream data; the encoding device responds the retransmission request of the decoding device according to the back-up media stream data in the self cache space; the decoding device decodes and displays the retransmitted media stream data and the cached media stream data together after receiving the retransmitted media stream data. According to the scheme of reliably transmitting the media streams, which is disclosed by the invention, the reliable transmission of the media stream data to the decoding device is realized.

Description

technical field [0001] The invention relates to the field of media stream data transmission, in particular to a method for reliable media stream transmission and a corresponding device. Background technique [0002] In order to ensure social stability and the safety of personal property, the importance of video surveillance is becoming more and more prominent. As the scope of video surveillance continues to increase, the amount of data transmission is also increasing, so more advanced technology is needed to support the transmission of media stream data. With the development and gradual improvement of IP technology, more and more video surveillance is carried by IP network. [0003] In order to minimize the size of video traffic on the IP network, many video surveillance networks use multicast technology for on-demand live streaming. exist figure 1 In this case, both user 1 and user 2 need to view the live stream of the same camera, the encoder EC can only send one stream...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/647H04N21/643H04N21/6405H04N21/231
Inventor 周迪陈乾业张磊
Owner ZHEJIANG UNIVIEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products