技术领域technical field
本发明涉及计算机通信技术领域,尤其涉及一种UDP媒体数据通信方法、装置、机顶盒及系统。The invention relates to the technical field of computer communication, in particular to a UDP media data communication method, device, set-top box and system.
背景技术Background technique
随着DLNA(DIGITAL LIVING NETWORK ALLIANCE,数字生活网络联盟)技术的发展,使得数字媒体和内容服务的无限制的共享和增长成为可能。利用DLNA标准,我们可以把手机和客厅的机顶盒设备连到同一个WiFi局域网中,实现把整个机顶盒的屏幕投放到手机上以及使用手机观看电视上的DVB(Digital Video Broadcasting,数字视频广播)直播节目。这样,无论我们是在卧室或卫生间等均可以控制机顶盒的屏幕以及收看电视上的DVB直播节目。对于机顶盒的屏幕投放到手机屏幕上以及收看电视上的DVB直播节目的这种应用场景,基于对实时性要求很高的情况下,一般我们优先选择UDP(User Datagram Protocol,用户数据报协议)协议作为传输方式,UDP协议是TCP/IP协议栈的一个子集,属于传输层的协议,其具有同为传输层协议的TCP所望尘莫及的速度优势。然而,由于各机顶盒芯片厂商对于编码器出数据的速度以及帧缓冲大小没有统一的标准,这就导致在一些平台上由于编码器突发大量数据,在DLNA获得媒体数据后通过UDP进行传输时,引起网络流量突然增大,在网络流量突然增长时,由于带宽或者中转设备的限制而出现终端设备接收网络数据丢失的问题,继而影响到用户的体验。因此,如何解决由于网络流量突然增加时,终端设备接收直播源数据不丢失的技术问题,实现平滑顺畅播放直播节目,显得异常重要。With the development of DLNA (DIGITAL LIVING NETWORK ALLIANCE, Digital Living Network Alliance) technology, unlimited sharing and growth of digital media and content services become possible. Using the DLNA standard, we can connect the mobile phone and the set-top box device in the living room to the same WiFi LAN, so as to put the screen of the entire set-top box on the mobile phone and use the mobile phone to watch DVB (Digital Video Broadcasting, digital video broadcasting) live programs on TV. . In this way, whether we are in the bedroom or the bathroom, etc., we can control the screen of the set-top box and watch DVB live programs on the TV. For the application scenario where the screen of the set-top box is projected on the screen of the mobile phone and watching DVB live programs on TV, based on the high real-time requirements, we generally choose UDP (User Datagram Protocol) protocol first. As a transmission method, the UDP protocol is a subset of the TCP/IP protocol stack and belongs to the protocol of the transport layer. It has an unmatched speed advantage over TCP, which is also a transport layer protocol. However, since each set-top box chip manufacturer does not have a uniform standard for the speed of the encoder output data and the size of the frame buffer, this leads to a large amount of data burst due to the encoder on some platforms. When DLNA obtains media data and transmits it through UDP, It causes a sudden increase in network traffic. When the network traffic suddenly increases, due to the limitation of bandwidth or transit equipment, the problem of terminal equipment receiving network data loss occurs, which in turn affects the user experience. Therefore, how to solve the technical problem of not losing the live source data received by the terminal device due to a sudden increase in network traffic, and realize smooth and smooth broadcasting of live programs is extremely important.
发明内容Contents of the invention
本发明提供一种UDP媒体数据通信方法、装置、机顶盒及系统,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。The present invention provides a UDP media data communication method, device, set-top box and system, which realizes the transmission of media data at a uniform speed, provides guarantee for the smooth and smooth broadcasting of live programs by intelligent terminals, and has good user experience effect.
本发明采用以下技术方案:The present invention adopts following technical scheme:
第一方面,本发明提供一种UDP媒体数据通信方法,包括:In a first aspect, the present invention provides a UDP media data communication method, comprising:
智能终端根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数;The intelligent terminal matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box, and the http connection request includes the network buffer length and the encoder setting parameters of the intelligent terminal;
机顶盒接收所述http连接请求,根据所述编码器设置参数设置并启动编码器,将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块,将所述媒体数据块发送至智能终端。The set-top box receives the http connection request, sets and starts the encoder according to the encoder setting parameters, and buffers the media data encoded by the encoder to the buffer through the DLNA application. When the length of the media data in the buffer is greater than or When it is equal to the length of the network buffer, each time a media data block whose length is less than or equal to the length of the network buffer is read from the buffer, and the media data block is sent to the smart terminal.
具体地,所述编码器设置参数包括码率和分辨率;Specifically, the encoder setting parameters include code rate and resolution;
所述将所述媒体数据块发送至智能终端,包括:The sending of the media data block to the smart terminal includes:
启动数据发送线程;Start the data sending thread;
所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:The sleep time T after the data sending thread sends the media data block each time, the calculation formula of the sleep time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,时间单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, and the time unit is ms .
进一步地,所述将所述媒体数据块发送至智能终端之后,还包括:Further, after sending the media data block to the smart terminal, it also includes:
机顶盒检测http连接状态,如果所述http连接断开,编码器停止工作。The set-top box detects the status of the http connection, and if the http connection is disconnected, the encoder stops working.
第二方面,本发明提供一种UDP媒体数据通信方法,包括:In a second aspect, the present invention provides a UDP media data communication method, comprising:
接收智能终端发送的http连接请求,所述http连接请求包括所述智能终端的网络缓冲区长度和编码器设置参数;Receive the http connection request that intelligent terminal sends, and described http connection request comprises the network buffer length of described intelligent terminal and encoder setting parameter;
根据所述编码器设置参数设置并启动编码器;Setting and starting the encoder according to the encoder setting parameters;
将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块;The media data encoded by the encoder is buffered to the buffer through the DLNA application, and when the length of the media data in the buffer is greater than or equal to the length of the network buffer, the length of each read from the buffer is less than or a media data block equal to the length of the network buffer;
将所述媒体数据块发送至智能终端。Send the media data block to the smart terminal.
具体地,所述编码器设置参数包括码率和分辨率;Specifically, the encoder setting parameters include code rate and resolution;
所述将所述媒体数据块发送至智能终端,包括:The sending of the media data block to the smart terminal includes:
启动数据发送线程;Start the data sending thread;
所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:The sleep time T after the data sending thread sends the media data block each time, the calculation formula of the sleep time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,时间单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, and the time unit is ms .
进一步地,所述将所述媒体数据块发送至智能终端之后,还包括:Further, after sending the media data block to the smart terminal, it also includes:
检测http连接状态,如果所述http连接断开,编码器停止工作。Detect http connection status, if said http connection is broken, encoder stops working.
第三方面,本发明提供一种UDP媒体数据通信装置,配置于机顶盒,包括:In a third aspect, the present invention provides a UDP media data communication device configured in a set-top box, including:
连接请求接收单元,用于接收智能终端发送的http连接请求,所述http连接请求包括所述智能终端的网络缓冲区长度和编码器设置参数;The connection request receiving unit is used to receive the http connection request sent by the intelligent terminal, and the http connection request includes the network buffer length and the encoder setting parameters of the intelligent terminal;
编码器启动单元,用于根据所述编码器设置参数设置并启动编码器;An encoder starting unit, configured to set and start the encoder according to the encoder setting parameters;
媒体数据块读取单元,用于将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块;The media data block reading unit is used to buffer the media data encoded by the encoder to the buffer through the DLNA application. When the length of the media data in the buffer is greater than or equal to the length of the network buffer, each time from Read media data blocks whose length is less than or equal to the length of the network buffer in the buffer;
媒体数据块发送单元,将所述媒体数据块发送至智能终端;a media data block sending unit, for sending the media data block to the smart terminal;
所述媒体数据块发送单元包括:The media data block sending unit includes:
数据发送线程启动单元,用于启动数据发送线程;A data sending thread start unit, configured to start a data sending thread;
休眠单元,用于所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:A dormancy unit, used for the dormancy time T after the data sending thread sends the media data block each time, the calculation formula of the dormancy time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, the unit is ms.
进一步地,还包括:Further, it also includes:
连接状态检测单元,用于检测http连接状态,如果所述http连接断开,编码器停止工作。The connection state detection unit is used to detect the http connection state, if the http connection is disconnected, the encoder stops working.
第四方面,本发明还提供一种机顶盒,包括上述所述的UDP媒体数据通信装置。In a fourth aspect, the present invention further provides a set-top box, including the above-mentioned UDP media data communication device.
第五方面,本发明还提供一种UDP媒体数据通信系统,包括如上述所述的机顶盒、智能终端和WiFi设备,所述机顶盒和智能终端均与所述WiFi设备连接,In the fifth aspect, the present invention also provides a UDP media data communication system, including the above-mentioned set-top box, smart terminal and WiFi device, the set-top box and smart terminal are both connected to the WiFi device,
所述智能终端根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数;The intelligent terminal matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box, and the http connection request includes the network buffer length and the encoder setting parameters of the intelligent terminal;
所述机顶盒接收所述http连接请求,根据所述编码器设置参数设置并启动编码器,将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块,将所述媒体数据块发送至智能终端。The set-top box receives the http connection request, sets and starts the encoder according to the encoder setting parameters, and buffers the media data encoded by the encoder to the buffer through the DLNA application. When the media data length of the buffer is When it is greater than or equal to the length of the network buffer, each time a media data block whose length is less than or equal to the length of the network buffer is read from the buffer, and the media data block is sent to the smart terminal.
本发明提供的技术方案带来如下有益效果:The technical scheme provided by the invention brings the following beneficial effects:
通过智能终端和机顶盒的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。Through the interaction between the smart terminal and the set-top box, according to the performance of the current smart terminal, the transmission mechanism of the media data of the set-top box is determined, which avoids the problem of UDP media data transmission loss caused by the difference in the configuration of the smart terminal, and realizes sending media data at a uniform speed. Smart terminals provide a guarantee for smooth and smooth playback of live programs, and the user experience is good.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据本发明实施例的内容和这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to the content of the embodiment of the present invention and these drawings without any creative effort.
图1是本发明提供的UDP媒体数据通信方法第一个实施例的方法流程图。Fig. 1 is a method flowchart of the first embodiment of the UDP media data communication method provided by the present invention.
图2是本发明提供的UDP媒体数据通信方法第二个实施例的方法流程图。Fig. 2 is a method flowchart of the second embodiment of the UDP media data communication method provided by the present invention.
图3是本发明提供的UDP媒体数据通信方法第三个实施例的方法流程图。Fig. 3 is a method flowchart of the third embodiment of the UDP media data communication method provided by the present invention.
图4是本发明提供的UDP媒体数据通信方法第四个实施例的方法流程图。Fig. 4 is a method flowchart of the fourth embodiment of the UDP media data communication method provided by the present invention.
图5是本发明提供的UDP媒体数据通信装置第一个实施例的结构方框图。Fig. 5 is a structural block diagram of the first embodiment of the UDP media data communication device provided by the present invention.
图6是本发明提供的UDP媒体数据通信装置第二个实施例的结构方框图。Fig. 6 is a structural block diagram of a second embodiment of a UDP media data communication device provided by the present invention.
图7是本发明提供的机顶盒的结构方框图。Fig. 7 is a structural block diagram of the set-top box provided by the present invention.
图8是本发明提供的UDP媒体数据通信系统的系统示意图。Fig. 8 is a system schematic diagram of the UDP media data communication system provided by the present invention.
具体实施方式detailed description
为使本发明解决的技术问题、采用的技术方案和达到的技术效果更加清楚,下面将结合附图对本发明实施例的技术方案作进一步的详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only the technical solutions of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.
图1是本发明提供的UDP媒体数据通信方法第一个实施例的方法流程图。参考图1所示,该UDP媒体数据通信方法,包括:Fig. 1 is a method flowchart of the first embodiment of the UDP media data communication method provided by the present invention. Referring to Fig. 1, the UDP media data communication method includes:
S101、智能终端根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数。S101. The smart terminal matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box. The http connection request includes the network buffer length of the smart terminal and the encoder setting parameters.
具体地,所述编码器设置参数包括码率和分辨率。Specifically, the encoder setting parameters include code rate and resolution.
需要说明的是,机顶盒和智能终端连接到同一个WiFi设备上,智能终端通过DLNA协议获得机顶盒的媒体数据,媒体数据包括直播节目列表,为机顶盒可以提供的媒体服务资源。It should be noted that the set-top box and the smart terminal are connected to the same WiFi device, and the smart terminal obtains the media data of the set-top box through the DLNA protocol. The media data includes the live program list, which is the media service resource that the set-top box can provide.
智能终端获取其CPU性能信息和网络缓冲区长度信息。预先根据不同的智能终端CPU性能,设置不同的分辨率,码率。如表1所示:The smart terminal obtains its CPU performance information and network buffer length information. Set different resolutions and bit rates in advance according to different smart terminal CPU performance. As shown in Table 1:
表1:智能终端CPU性能对应的分辨率和码率Table 1: Resolutions and bit rates corresponding to the CPU performance of smart terminals
表1仅是作为举例说明,并不作为对本发明的限制,针对智能终端的配置信息对应的分辨率和码率在一个范围内都是可以实现流畅播放的。码率为智能终端要求编码器的编码速率。Table 1 is only used as an example and not as a limitation to the present invention. The resolution and bit rate corresponding to the configuration information of the smart terminal can achieve smooth playback within a range. The code rate is the code rate required by the smart terminal for the encoder.
具体地,http连接请求的形式如下:Specifically, the form of the http connection request is as follows:
http://192.168.6.83:8080/mediaService.play?type=ts,venc=h264,aenc=aac,resolution=1280*720,bitrate=3145728,procotol=udp,buff=1024,business=mediaplay,channid=1?udp://@192.168.6.80:1234http://192.168.6.83:8080/mediaService.play? type=ts, venc=h264, aenc=aac, resolution=1280*720, bitrate=3145728, procotol=udp, buff=1024, business=mediaplay, channid=1? udp://@192.168.6.80:1234
其中,http://192.168.6.83:8080/mediaService.play为机顶盒设备地址,type为请求机顶盒设备发送的媒体数据封装格式;venc和aenc为音视频的编码格式;resolution为分辨率;bitrate为码率;procotol为媒体数据发送的网络协议,一般为udp或tcp;buff为智能终端接收网络数据的网卡缓冲区长度;business为请求的业务类型,分为DVB直播和镜屏(机顶盒屏幕投射到智能终端)两种。Channid为节目号;当business=mediaplay时有效。udp://@192.168.6.80:1234为智能终端要接收数据的地址和端口号,当procotol=udp时,该字段有效。Among them, http://192.168.6.83:8080/mediaService.play is the address of the set-top box device, type is the media data encapsulation format requested to be sent by the set-top box device; venc and aenc are the audio and video encoding formats; resolution is the resolution; bitrate is the code rate; procotol is the network protocol for sending media data, usually udp or tcp; buff is the length of the network card buffer for smart terminals to receive network data; terminal) two types. Channid is the program number; it is valid when business=mediaplay. udp://@192.168.6.80:1234 is the address and port number for the smart terminal to receive data. When procotol=udp, this field is valid.
S102、机顶盒接收所述http连接请求,根据所述编码器设置参数设置并启动编码器,将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块,将所述媒体数据块发送至智能终端。S102. The set-top box receives the http connection request, sets and starts the encoder according to the encoder setting parameters, and buffers the media data encoded by the encoder to the buffer through the DLNA application. When the media data length of the buffer is When it is greater than or equal to the length of the network buffer, each time a media data block whose length is less than or equal to the length of the network buffer is read from the buffer, and the media data block is sent to the smart terminal.
所述缓冲区为环形缓冲区,开辟向智能终端发送媒体数据的线程。The buffer is a ring buffer, which opens up a thread for sending media data to the smart terminal.
将所述媒体数据块发送至智能终端,包括:Send the media data block to the smart terminal, including:
启动数据发送线程;Start the data sending thread;
所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:The sleep time T after the data sending thread sends the media data block each time, the calculation formula of the sleep time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,时间单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, and the time unit is ms .
在其他实施例中,M值可以根据实际情况调整,当M=2时,表示发送速度是播放码率的二倍,M值应当大于1,以确保由于网络延时等因素,导致发送速度赶不上播放速度,进而导致视频卡顿。In other embodiments, the M value can be adjusted according to the actual situation. When M=2, it means that the sending speed is twice the playback bit rate, and the M value should be greater than 1 to ensure that the sending speed cannot catch up due to factors such as network delay. playback speed, causing video freezes.
机顶盒将编码完成的媒体数据发送给DLNA应用,DLNA应用将媒体数据缓冲到环形缓冲区,线程不断地从环形缓冲区中读取并发送媒体数据。The set-top box sends the encoded media data to the DLNA application, and the DLNA application buffers the media data into the ring buffer, and the thread continuously reads and sends the media data from the ring buffer.
本发明实施例提供的UDP媒体数据通信方法智能终端根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数,机顶盒根据智能终端发送的编码器设置参数设置并启动编码器,并根据网络缓冲区长度确定发送的媒体数据块的长度,通过智能终端和机顶盒的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。According to the UDP media data communication method provided by the embodiment of the present invention, the intelligent terminal matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box. The http connection request includes the network buffer length and the encoder of the intelligent terminal. Set the parameters, the set-top box sets and starts the encoder according to the encoder setting parameters sent by the smart terminal, and determines the length of the sent media data block according to the length of the network buffer, through the interaction between the smart terminal and the set-top box, according to the performance of the current smart terminal, determine The media data transmission mechanism of the set-top box avoids the problem of UDP media data transmission loss due to the configuration differences of smart terminals, realizes the uniform speed of media data transmission, and provides a guarantee for the smooth and smooth playback of live programs by smart terminals, and the user experience effect is good .
图2是本发明提供的UDP媒体数据通信方法第二个实施例的方法流程图。参考图2所示,该UDP媒体数据通信方法,包括:Fig. 2 is a method flowchart of the second embodiment of the UDP media data communication method provided by the present invention. Shown in Fig. 2 with reference to, this UDP media data communication method comprises:
S201、智能终端根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数。S201. The smart terminal matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box. The http connection request includes the network buffer length of the smart terminal and the encoder setting parameters.
S202、机顶盒接收所述http连接请求,根据所述编码器设置参数设置并启动编码器,将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块,将所述媒体数据块发送至智能终端。S202. The set-top box receives the http connection request, sets and starts the encoder according to the encoder setting parameters, and buffers the media data encoded by the encoder to the buffer through the DLNA application. When the media data length of the buffer is When it is greater than or equal to the length of the network buffer, each time a media data block whose length is less than or equal to the length of the network buffer is read from the buffer, and the media data block is sent to the smart terminal.
S203、机顶盒检测http连接状态,如果所述http连接断开,编码器停止工作。S203. The set-top box detects the status of the http connection, and if the http connection is disconnected, the encoder stops working.
http连接断开的原因有多种,比如用户关闭智能终端的直播以及网络不稳定导致断开等。There are many reasons for the disconnection of the http connection, such as the user turning off the live broadcast of the smart terminal or the disconnection caused by unstable network.
具体地,在停止编码器工作的同时,销毁环形缓冲区,避免机顶盒内存泄漏。Specifically, while the encoder is stopped, the ring buffer is destroyed to avoid memory leaks in the set-top box.
步骤S201和S202的详细内容参考图1所示的方法,这里不再赘述。For details of steps S201 and S202, refer to the method shown in FIG. 1 , and details are not repeated here.
本发明实施例提供的UDP媒体数据通信方法与图1所示方法,除了通过智能终端和机顶盒的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好之外,还利用http得连接状态控制机顶盒的服务是否停止,实时性好,简单方便,最大程度的利用了资源。The UDP media data communication method provided by the embodiment of the present invention and the method shown in Figure 1, in addition to the interaction between the smart terminal and the set-top box, according to the performance of the current smart terminal, determine the transmission mechanism of the media data of the set-top box, avoiding the configuration difference of the smart terminal The problem of UDP media data transmission loss caused by nature has realized the uniform speed transmission of media data, which provides a guarantee for the smooth and smooth playback of live programs on smart terminals. In addition to good user experience, it also uses http connection status to control whether the service of the set-top box is stopped. , good real-time performance, simple and convenient, and utilize resources to the greatest extent.
图3是本发明提供的UDP媒体数据通信方法第三个实施例的方法流程图。参考图3所示,该UDP媒体数据通信方法应用于机顶盒端,包括:Fig. 3 is a method flowchart of the third embodiment of the UDP media data communication method provided by the present invention. Referring to Fig. 3, the UDP media data communication method is applied to the set-top box end, including:
S301、接收智能终端发送的http连接请求,所述http连接请求包括所述智能终端的网络缓冲区长度和编码器设置参数。S301. Receive an http connection request sent by a smart terminal, where the http connection request includes a network buffer length and encoder setting parameters of the smart terminal.
具体地,所述编码器设置参数包括码率和分辨率。Specifically, the encoder setting parameters include code rate and resolution.
需要说明的是,机顶盒和智能终端连接到同一个WiFi设备上,智能终端通过DLNA协议获得机顶盒的媒体数据,媒体数据包括直播节目列表,为机顶盒可以提供的媒体服务资源。It should be noted that the set-top box and the smart terminal are connected to the same WiFi device, and the smart terminal obtains the media data of the set-top box through the DLNA protocol. The media data includes the live program list, which is the media service resource that the set-top box can provide.
智能终端获取其CPU性能信息和网络缓冲区长度信息。预先根据不同的智能终端CPU性能,设置不同的分辨率,码率。码率为智能终端要求编码器的编码速率。The smart terminal obtains its CPU performance information and network buffer length information. Set different resolutions and bit rates in advance according to different smart terminal CPU performance. The code rate is the code rate required by the smart terminal for the encoder.
具体地,http连接请求的形式如下:Specifically, the form of the http connection request is as follows:
http://192.168.6.83:8080/mediaService.play?type=ts,venc=h264,aenc=aac,resolution=1280*720,bitrate=3145728,procotol=udp,buff=1024,business=mediaplay,channid=1?udp://@192.168.6.80:1234http://192.168.6.83:8080/mediaService.play? type=ts, venc=h264, aenc=aac, resolution=1280*720, bitrate=3145728, procotol=udp, buff=1024, business=mediaplay, channid=1? udp://@192.168.6.80:1234
其中,http://192.168.6.83:8080/mediaService.play为机顶盒设备地址,type为请求机顶盒设备发送的媒体数据封装格式;venc和aenc为音视频的编码格式;resolution为分辨率;bitrate为码率;procotol为媒体数据发送的网络协议,一般为udp或tcp;buff为智能终端接收网络数据的网卡缓冲区长度;business为请求的业务类型,分为DVB直播和镜屏(机顶盒屏幕投射到智能终端)两种。Channid为节目号;当business=mediaplay时有效。udp://@192.168.6.80:1234为智能终端要接收数据的地址和端口号,当procotol=udp时,该字段有效。Among them, http://192.168.6.83:8080/mediaService.play is the address of the set-top box device, type is the media data encapsulation format requested to be sent by the set-top box device; venc and aenc are the audio and video encoding formats; resolution is the resolution; bitrate is the code rate; procotol is the network protocol for sending media data, usually udp or tcp; buff is the length of the network card buffer for smart terminals to receive network data; terminal) two types. Channid is the program number; it is valid when business=mediaplay. udp://@192.168.6.80:1234 is the address and port number for the smart terminal to receive data. When procotol=udp, this field is valid.
S302、根据所述编码器设置参数设置并启动编码器。S302. Set and start an encoder according to the encoder setting parameters.
S303、将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块。S303. Buffer the media data encoded by the encoder into a buffer through the DLNA application, and when the length of the media data in the buffer is greater than or equal to the length of the network buffer, read from the buffer each time A media data block whose length is less than or equal to the length of the network buffer.
通常选取的缓冲区的媒体数据长度与网络缓冲区长度相同,每次从编码器取出的媒体数据长度相同,在进行网络发送时,每次发送的数据帧等于智能终端的网络缓冲区长度,这样实现了机顶盒匀速发送媒体数据,也不错造成媒体数据丢失,合理利用了资源。Usually the length of the media data in the selected buffer is the same as the length of the network buffer, and the length of the media data taken out from the encoder is the same each time. When sending over the network, the data frame sent each time is equal to the length of the network buffer of the smart terminal. Realized that the set-top box sends media data at a uniform speed, and also caused loss of media data, and rationally used resources.
S304、将所述媒体数据块发送至智能终端。S304. Send the media data block to the smart terminal.
启动数据发送线程;Start the data sending thread;
所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:The sleep time T after the data sending thread sends the media data block each time, the calculation formula of the sleep time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,时间单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, and the time unit is ms .
在其他实施例中,M值可以根据实际情况调整,当M=2时,表示发送速度是播放码率的二倍,M值应当大于1,以确保由于网络延时等因素,导致发送速度赶不上播放速度,进而导致视频卡顿。In other embodiments, the M value can be adjusted according to the actual situation. When M=2, it means that the sending speed is twice the playback bit rate, and the M value should be greater than 1 to ensure that the sending speed cannot catch up due to factors such as network delay. playback speed, causing video freezes.
本发明实施例提供的UDP媒体数据通信方法机顶盒根据智能终端发送的编码器设置参数设置并启动编码器,并根据网络缓冲区长度确定发送的媒体数据块的长度,通过机顶盒和智能终端的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。The UDP media data communication method set-top box provided by the embodiment of the present invention sets and starts the encoder according to the encoder setting parameter sent by the intelligent terminal, and determines the length of the media data block to be sent according to the length of the network buffer, and through the interaction between the set-top box and the intelligent terminal, According to the performance of the current smart terminal, determine the transmission mechanism of the set-top box media data, avoid the problem of UDP media data transmission loss caused by the difference in the configuration of the smart terminal, realize the uniform speed of sending media data, and play live programs smoothly for the smart terminal Guarantee is provided, and the user experience effect is good.
图4是本发明提供的UDP媒体数据通信方法第四个实施例的方法流程图。参考图4所示,该UDP媒体数据通信方法应用于机顶盒端,包括:Fig. 4 is a method flowchart of the fourth embodiment of the UDP media data communication method provided by the present invention. Referring to Fig. 4, the UDP media data communication method is applied to the set-top box end, including:
S401、接收智能终端发送的http连接请求,所述http连接请求包括所述智能终端的网络缓冲区长度和编码器设置参数。S401. Receive an http connection request sent by the smart terminal, where the http connection request includes the network buffer length and encoder setting parameters of the smart terminal.
S402、根据所述编码器设置参数设置并启动编码器。S402. Set and start an encoder according to the encoder setting parameters.
S403、将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块。S403. Buffer the media data encoded by the encoder to a buffer through the DLNA application, and when the length of the media data in the buffer is greater than or equal to the length of the network buffer, read from the buffer each time A media data block whose length is less than or equal to the length of the network buffer.
S404、将所述媒体数据块发送至智能终端。S404. Send the media data block to the smart terminal.
S405、检测http连接状态,如果所述http连接断开,编码器停止工作。S405. Detect the status of the http connection, and if the http connection is disconnected, the encoder stops working.
http连接断开的原因有多种,比如用户关闭智能终端的直播以及网络不稳定导致断开等。There are many reasons for the disconnection of the http connection, such as the user turning off the live broadcast of the smart terminal or the disconnection caused by unstable network.
具体地,在停止编码器工作的同时,销毁环形缓冲区,避免机顶盒内存泄漏。Specifically, while the encoder is stopped, the ring buffer is destroyed to avoid memory leaks in the set-top box.
步骤S401、S402、S403及S404的详细内容请参考图3所示的方法,这里不再赘述。For details of steps S401, S402, S403, and S404, please refer to the method shown in FIG. 3 , which will not be repeated here.
本发明实施例提供的UDP媒体数据通信方法与图3所示方法,除了通过智能终端和机顶盒的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好之外,还利用http得连接状态控制机顶盒的服务是否停止,实时性好,简单方便,最大程度的利用了资源。The UDP media data communication method provided by the embodiment of the present invention and the method shown in Figure 3, in addition to the interaction between the smart terminal and the set-top box, according to the performance of the current smart terminal, determine the transmission mechanism of the media data of the set-top box, avoiding the configuration difference of the smart terminal The problem of UDP media data transmission loss caused by nature has realized the uniform speed transmission of media data, which provides a guarantee for the smooth and smooth playback of live programs on smart terminals. In addition to good user experience, it also uses http connection status to control whether the service of the set-top box is stopped. , good real-time performance, simple and convenient, and utilize resources to the greatest extent.
图5是本发明提供的UDP媒体数据通信装置第一个实施例的结构方框图。参考图5所示,该UDP媒体数据通信装置配置于机顶盒,包括:Fig. 5 is a structural block diagram of the first embodiment of the UDP media data communication device provided by the present invention. Referring to Fig. 5, the UDP media data communication device is configured in a set-top box, including:
连接请求接收单元100,用于接收智能终端发送的http连接请求,所述http连接请求包括所述智能终端的网络缓冲区长度和编码器设置参数;The connection request receiving unit 100 is configured to receive the http connection request sent by the smart terminal, the http connection request including the network buffer length and the encoder setting parameters of the smart terminal;
编码器启动单元110,用于根据所述编码器设置参数设置并启动编码器;编码器设置参数包括码率和分辨率。The encoder starting unit 110 is configured to set and start the encoder according to the encoder setting parameters; the encoder setting parameters include code rate and resolution.
媒体数据块读取单元120,用于将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块。The media data block reading unit 120 is configured to buffer the media data encoded by the encoder to the buffer through the DLNA application, and when the length of the media data in the buffer is greater than or equal to the length of the network buffer, each time Read a media data block whose length is less than or equal to the length of the network buffer from the buffer.
媒体数据块发送单元130,将所述媒体数据块发送至智能终端。The media data block sending unit 130 is configured to send the media data block to the smart terminal.
具体地,一些实施例中,所述媒体数据块发送单元130包括:Specifically, in some embodiments, the media data block sending unit 130 includes:
数据发送线程启动单元131,用于启动数据发送线程;A data sending thread starting unit 131, configured to start a data sending thread;
休眠单元132,用于所述数据发送线程每次发送完媒体数据块后休眠时间T,所述休眠时间T的计算公式为:The dormancy unit 132 is used for the dormancy time T after the data sending thread sends the media data block each time, and the calculation formula of the dormancy time T is:
T=1000.0/B/8.0/S/M–Δt;其中,B为码率;S为网络缓冲区长度;M为修正值,默认为2;Δt为媒体数据块的发送时间,时间单位为ms。T=1000.0/B/8.0/S/M–Δt; among them, B is the code rate; S is the length of the network buffer; M is the correction value, the default is 2; Δt is the sending time of the media data block, and the time unit is ms .
在其他实施例中,M值可以根据实际情况调整,当M=2时,表示发送速度是播放码率的二倍,M值应当大于1,以确保由于网络延时等因素,导致发送速度赶不上播放速度,进而导致视频卡顿。In other embodiments, the M value can be adjusted according to the actual situation. When M=2, it means that the sending speed is twice the playback bit rate, and the M value should be greater than 1 to ensure that the sending speed cannot catch up due to factors such as network delay. playback speed, causing video freezes.
本装置的详细内容请参考图3所示方法的相关内容,这里不再赘述。For details of the device, please refer to the relevant content of the method shown in FIG. 3 , which will not be repeated here.
本发明实施例提供的UDP媒体数据通信装置机顶盒根据智能终端发送的编码器设置参数设置并启动编码器,并根据网络缓冲区长度确定发送的媒体数据块的长度,通过机顶盒和智能终端的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。The UDP media data communication device set-top box provided by the embodiment of the present invention sets and starts the encoder according to the encoder setting parameters sent by the intelligent terminal, and determines the length of the media data block to be sent according to the length of the network buffer, and through the interaction between the set-top box and the intelligent terminal, According to the performance of the current smart terminal, determine the transmission mechanism of the set-top box media data, avoid the problem of UDP media data transmission loss caused by the difference in the configuration of the smart terminal, realize the uniform speed of sending media data, and play live programs smoothly for the smart terminal Guarantee is provided, and the user experience effect is good.
图6是本发明提供的UDP媒体数据通信装置第二个实施例的结构方框图。参考图6所示,该UDP媒体数据通信装置配置于机顶盒,其与图5所示装置的不同之处在于,还包括:Fig. 6 is a structural block diagram of a second embodiment of a UDP media data communication device provided by the present invention. Referring to Fig. 6, the UDP media data communication device is configured in a set-top box, and its difference from the device shown in Fig. 5 is that it also includes:
连接状态检测单元140,用于检测http连接状态,如果所述http连接断开,编码器停止工作。The connection state detection unit 140 is used to detect the http connection state, and if the http connection is disconnected, the encoder stops working.
本发明实施例提供的UDP媒体数据通信装置在具有图5所示装置的优点的同时,还利用http得连接状态控制机顶盒的服务是否停止,实时性好,简单方便,最大程度的利用了资源。The UDP media data communication device provided by the embodiment of the present invention not only has the advantages of the device shown in Figure 5, but also utilizes the http connection status to control whether the service of the set-top box is stopped, has good real-time performance, is simple and convenient, and utilizes resources to the greatest extent.
图7是本发明提供的机顶盒的结构方框图。参考图7所示,该机顶盒1包括上述所述的UDP媒体数据通信装置10。该机顶盒1通过和智能终端的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。Fig. 7 is a structural block diagram of the set-top box provided by the present invention. Referring to FIG. 7 , the set-top box 1 includes the above-mentioned UDP media data communication device 10 . The set-top box 1 determines the media data transmission mechanism of the set-top box according to the performance of the current intelligent terminal through the interaction with the intelligent terminal, avoiding the problem of UDP media data transmission loss caused by the configuration difference of the intelligent terminal, and realizing the uniform transmission of media data , which provides a guarantee for the smooth and smooth playback of live programs on smart terminals, and the user experience is good.
图8是本发明提供的UDP媒体数据通信系统的系统示意图。参考图8所示,该UDP媒体数据通信系统包括上述所述的机顶盒1、智能终端2和WiFi设备3,所述机顶盒1和智能终端2均与所述WiFi设备3连接,Fig. 8 is a system schematic diagram of the UDP media data communication system provided by the present invention. With reference to shown in Figure 8, this UDP media data communication system comprises above-mentioned set-top box 1, intelligent terminal 2 and WiFi equipment 3, described set-top box 1 and intelligent terminal 2 are all connected with described WiFi equipment 3,
所述智能终端2根据其CPU性能信息匹配对应的编码器设置参数,向机顶盒1发送http连接请求,所述http连接请求包括该智能终端的网络缓冲区长度和编码器设置参数;The intelligent terminal 2 matches the corresponding encoder setting parameters according to its CPU performance information, and sends an http connection request to the set-top box 1, and the http connection request includes the network buffer length and the encoder setting parameters of the intelligent terminal;
所述机顶盒1接收所述http连接请求,根据所述编码器设置参数设置并启动编码器,将所述编码器编码完成的媒体数据通过DLNA应用缓冲至缓冲区,当所述缓冲区的媒体数据长度大于或等于所述网络缓冲区长度时,每次从所述缓冲区中读取长度小于或等于所述网络缓冲区长度的媒体数据块,将所述媒体数据块发送至智能终端2。The set-top box 1 receives the http connection request, sets and starts the encoder according to the encoder setting parameters, and buffers the media data encoded by the encoder to the buffer through the DLNA application. When the media data in the buffer is When the length is greater than or equal to the length of the network buffer, each time a media data block whose length is less than or equal to the length of the network buffer is read from the buffer, and the media data block is sent to the smart terminal 2 .
本发明提供的UDP媒体数据通信系统通过智能终端和机顶盒的交互,根据当前智能终端的性能,确定机顶盒媒体数据的发送机制,避免了因为智能终端的配置差异性而导致UDP媒体数据发送丢失的问题,实现了匀速发送媒体数据,为智能终端流畅平滑的播放直播节目提供了保障,用户体验效果好。The UDP media data communication system provided by the present invention determines the transmission mechanism of the media data of the set-top box according to the performance of the current intelligent terminal through the interaction between the intelligent terminal and the set-top box, and avoids the problem of loss of UDP media data transmission caused by the configuration difference of the intelligent terminal , Realized sending media data at a uniform speed, provided a guarantee for smart terminals to play live programs smoothly and smoothly, and the user experience effect is good.
以上内容仅为本发明的较佳实施例,对于本领域的普通技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,本说明书内容不应理解为对本发明的限制。The above content is only a preferred embodiment of the present invention. For those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. limits.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610840294.8ACN106375786B (en) | 2016-09-22 | 2016-09-22 | UDP media data communication method, device, set-top box and system |
| PCT/CN2017/102889WO2018054349A1 (en) | 2016-09-22 | 2017-09-22 | Data sending and receiving methods, and apparatuses and systems thereof |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610840294.8ACN106375786B (en) | 2016-09-22 | 2016-09-22 | UDP media data communication method, device, set-top box and system |
| Publication Number | Publication Date |
|---|---|
| CN106375786Atrue CN106375786A (en) | 2017-02-01 |
| CN106375786B CN106375786B (en) | 2020-03-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610840294.8AExpired - Fee RelatedCN106375786B (en) | 2016-09-22 | 2016-09-22 | UDP media data communication method, device, set-top box and system |
| Country | Link |
|---|---|
| CN (1) | CN106375786B (en) |
| WO (1) | WO2018054349A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018054349A1 (en)* | 2016-09-22 | 2018-03-29 | 深圳创维数字技术有限公司 | Data sending and receiving methods, and apparatuses and systems thereof |
| CN107948660A (en)* | 2017-11-16 | 2018-04-20 | 北京小米移动软件有限公司 | The method and device of Video coding adaptation |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090115893A1 (en)* | 2003-12-03 | 2009-05-07 | Sony Corporation | Transitioning Between Two High Resolution Video Sources |
| CN103596063A (en)* | 2013-11-20 | 2014-02-19 | 海信集团有限公司 | Method for setting terminal, TV, multi-screen interactive system and screen capture parameters |
| CN103995683A (en)* | 2014-04-24 | 2014-08-20 | 深圳创维-Rgb电子有限公司 | Multi-screen interaction method and system |
| CN104581367A (en)* | 2015-01-04 | 2015-04-29 | 华为技术有限公司 | Method and device for sharing multimedia content |
| CN104602118A (en)* | 2013-10-30 | 2015-05-06 | 中国移动通信集团公司 | Multimedia data output method and equipment |
| CN105025094A (en)* | 2015-07-09 | 2015-11-04 | 传成文化传媒(上海)有限公司 | Multi-screen interaction method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102075728B (en)* | 2011-01-18 | 2015-08-12 | 中兴通讯股份有限公司 | The method and system of a kind of shared audio frequency and/or video |
| CN105898506A (en)* | 2016-05-03 | 2016-08-24 | 乐视控股(北京)有限公司 | Method and system for multi-screen playing of media files |
| CN106375786B (en)* | 2016-09-22 | 2020-03-17 | 深圳创维数字技术有限公司 | UDP media data communication method, device, set-top box and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090115893A1 (en)* | 2003-12-03 | 2009-05-07 | Sony Corporation | Transitioning Between Two High Resolution Video Sources |
| CN104602118A (en)* | 2013-10-30 | 2015-05-06 | 中国移动通信集团公司 | Multimedia data output method and equipment |
| CN103596063A (en)* | 2013-11-20 | 2014-02-19 | 海信集团有限公司 | Method for setting terminal, TV, multi-screen interactive system and screen capture parameters |
| CN103995683A (en)* | 2014-04-24 | 2014-08-20 | 深圳创维-Rgb电子有限公司 | Multi-screen interaction method and system |
| CN104581367A (en)* | 2015-01-04 | 2015-04-29 | 华为技术有限公司 | Method and device for sharing multimedia content |
| CN105025094A (en)* | 2015-07-09 | 2015-11-04 | 传成文化传媒(上海)有限公司 | Multi-screen interaction method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018054349A1 (en)* | 2016-09-22 | 2018-03-29 | 深圳创维数字技术有限公司 | Data sending and receiving methods, and apparatuses and systems thereof |
| CN107948660A (en)* | 2017-11-16 | 2018-04-20 | 北京小米移动软件有限公司 | The method and device of Video coding adaptation |
| Publication number | Publication date |
|---|---|
| CN106375786B (en) | 2020-03-17 |
| WO2018054349A1 (en) | 2018-03-29 |
| Publication | Publication Date | Title |
|---|---|---|
| CN110121114B (en) | Method for transmitting stream data and data transmitting apparatus | |
| JP4558802B2 (en) | Method and apparatus for adaptive buffering | |
| US8966131B2 (en) | System method for bi-directional tunneling via user input back channel (UIBC) for wireless displays | |
| KR101780300B1 (en) | Connectionless transport for user input control for wireless display devices | |
| CN104125429B (en) | Video data transmission adjusting method and device | |
| US20080025414A1 (en) | Apparatus and method for transmitting moving picture stream using bluetooth | |
| JP2016021763A (en) | Feedback channel for wireless display devices | |
| CN103888818A (en) | Method, equipment and system for playing television programs | |
| CN113242436B (en) | Live broadcast data processing method and device and electronic equipment | |
| US20160044079A1 (en) | Distribution control system, distribution control method, and computer-readable storage medium | |
| CN111263192A (en) | Video processing method and related equipment | |
| CN104168439A (en) | Video coding method and apparatus | |
| WO2023216798A1 (en) | Audio and video transcoding apparatus and method, and device, medium and product | |
| CN108574816B (en) | Video networking terminal and communication method and device based on video networking terminal | |
| CN106375786B (en) | UDP media data communication method, device, set-top box and system | |
| CN101515934B (en) | Method, device and communication system for forwarding scalable video coded data message | |
| CN110198384B (en) | A kind of communication method and relay server based on video networking | |
| CN1996813B (en) | Self-adapted media transfer management of the continuous media stream used for LAN/WAN environment | |
| CN104158804A (en) | Multi-screen interaction method | |
| CN114157903B (en) | Redirection method, device, apparatus, storage medium and program product | |
| CN201123043Y (en) | Household wireless multimedia game system | |
| CN111385081B (en) | End-to-end communication method and device, electronic equipment and medium | |
| WO2016107174A1 (en) | Method and system for processing multimedia file data, player and client | |
| US11558776B2 (en) | Devices and system for transmitting and receiving compressed bitstream via wireless stream and handling transmission error | |
| US20240236409A9 (en) | Electronic apparatus, server apparatus and control method thereof |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20200317 |