CN102148813B - Media content transmission method and system - Google Patents
Media content transmission method and system Download PDFInfo
- Publication number
- CN102148813B CN102148813B CN201010505825.0A CN201010505825A CN102148813B CN 102148813 B CN102148813 B CN 102148813B CN 201010505825 A CN201010505825 A CN 201010505825A CN 102148813 B CN102148813 B CN 102148813B
- Authority
- CN
- China
- Prior art keywords
- tcp
- media content
- user terminal
- media
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供了一种媒体内容的传输方法和系统。该方法主要包括:控制服务器在接收用户终端发送的媒体内容的传输请求后,与用户终端建立传输控制协议TCP连接,向媒体服务器发送媒体内容的传输参数和媒体内容的传输指令,所述媒体内容的传输参数包括控制服务器的TCP连接的源地址、目的地址和TCP报文的当前序列号,以使所述媒体服务器根据所述媒体内容的传输参数构造媒体内容的TCP报文,根据所述媒体内容的传输指令向所述用户终端发送所述媒体内容的TCP报文。本发明实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接向用户终端传输媒体内容,从而规避了UDP方式交互时中的NAT穿越问题,克服了在控制服务器侧占用两份带宽和过度消耗控制服务器资源的问题。
Embodiments of the present invention provide a method and system for transmitting media content. The method mainly includes: after receiving the transmission request of the media content sent by the user terminal, the control server establishes a transmission control protocol TCP connection with the user terminal, and sends transmission parameters of the media content and a transmission instruction of the media content to the media server, and the media content The transmission parameters include the source address of the TCP connection of the control server, the destination address and the current sequence number of the TCP message, so that the media server constructs the TCP message of the media content according to the transmission parameters of the media content, and according to the media content The content transmission instruction sends the TCP packet of the media content to the user terminal. The embodiment of the present invention realizes that the media server uses the TCP connection between the control server and the user terminal to transmit media content to the user terminal, thus avoiding the problem of NAT traversal in UDP mode interaction, and overcoming the need to occupy two bandwidths on the control server side and Problems with excessive consumption of control server resources.
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种媒体内容的传输方法和系统。The present invention relates to the field of communication technology, in particular to a method and system for transmitting media content.
背景技术 Background technique
作为“三网融合”的重要形式,交互电视已经成为通信行业发展的重点业务方向,其终端用户的规模正在迅速扩张。交互电视的主要业务形态是通过用户终端为用户提供基于IP网络的直播、点播、录播、时移等音视频服务和其它增值类媒体服务。As an important form of "integration of three networks", interactive TV has become the key business direction of the development of the communication industry, and the scale of its end users is expanding rapidly. The main business form of interactive TV is to provide users with audio and video services such as live broadcast, on-demand, recorded broadcast, time-shifting, and other value-added media services based on IP networks through user terminals.
为了确保终端用户的业务体验,CDN(Content Delivery Network,内容分发网络)系统通常致力于将媒体内容推送到部署在网络边缘的媒体服务器,通过媒体服务器向边缘节点提供媒体内容的传输服务。由于边缘节点数量巨大,所有的内容均在CDN的边缘节点进行存储将需要大量的存储资源。由于长尾效应的存在,大约80%的用户请求会集中在20%的媒体内容之上。基于这一现象,CDN往往在边缘节点仅存放那些热门内容。但是随着媒体数字化进程的不断深化,媒体内容的数量在爆炸性的增长,即使仅在CDN边缘节点存放前20%的热门内容仍然会消耗终大量的存储资源。进一步分析终端用户对媒体内容即媒体文件的访问模型可以发现,对媒体文件文件头的访问量大于对媒体文件文件尾的访问量,在这种情况下,将一个每一文件分割为多个片段,在边缘节点仅存储部分较热的片段能够进一步降低边缘节点的存储消耗。采用分片存储的另一个优势是:一个媒体内容的分片片段能够均匀的分布在边缘节点的多台服务器上,这样能够在很大程度上实现边缘节点服务器的负载均衡,实现对服务器资源的充分利用。In order to ensure the service experience of end users, a CDN (Content Delivery Network) system is usually dedicated to pushing media content to a media server deployed at the edge of the network, and providing media content transmission services to edge nodes through the media server. Due to the huge number of edge nodes, storing all content on the edge nodes of the CDN will require a large amount of storage resources. Due to the long tail effect, about 80% of user requests will focus on 20% of the media content. Based on this phenomenon, CDNs often only store popular content on edge nodes. However, with the continuous deepening of media digitization, the amount of media content is growing explosively. Even if only the top 20% of popular content is stored on CDN edge nodes, it will still consume a large amount of storage resources. Further analysis of the end user's access model to media content, that is, media files, reveals that the number of accesses to the header of the media file is greater than the amount of access to the tail of the media file. In this case, each file is divided into multiple segments , storing only some of the hotter segments in edge nodes can further reduce the storage consumption of edge nodes. Another advantage of using fragmented storage is that fragments of a piece of media content can be evenly distributed on multiple servers at the edge node, which can achieve load balancing of the edge node servers to a large extent and realize the resource allocation of server resources. Take advantage of.
现有技术中的第一种媒体服务器向用户终端传输媒体内容的方法为:用户终端向控制服务器发送媒体内容即媒体文件的传输请求,控制服务器根据上述媒体文件的存储情况选择相应的媒体服务器,该媒体服务器向上述用户终端发送上述媒体文件分片的数据包,直到整个媒体文件发送完毕或用户终端主动选择退出媒体文件的接收。In the prior art, the first method for a media server to transmit media content to a user terminal is as follows: the user terminal sends a transmission request of media content, that is, a media file, to the control server, and the control server selects the corresponding media server according to the storage conditions of the above-mentioned media files, The media server sends the fragmented data packets of the media file to the user terminal until the entire media file is sent or the user terminal actively chooses to quit receiving the media file.
在实现本发明过程中,发明人发现现有技术中的第一种媒体服务器向用户终端传输媒体内容的方法至少存在如下问题:存在NAT(Network AddressTranslation,网络地址转换)穿越问题。在该方法中,控制服务器和用户终端之间采用TCP(Transmission Control Protocol,传输控制协议)方式交互,媒体服务器和用户终端之间采用UDP(User Datagram Protocol,用户数据报文协议)方式交互。在用户终端处于私网、媒体服务器处于公网的情况下,媒体服务器为NAT设备,如果不在NAT设备上预先设定公网地址和私网地址的映射关系,NAT设备将无法把UDP报文转发至用户终端。此外,媒体服务器与用户终端之间采用UDP方式交互,媒体内容的传输质量还需要额外的机制去保障。In the process of implementing the present invention, the inventors found that the first method in the prior art for transmitting media content from a media server to a user terminal has at least the following problems: there is a NAT (Network Address Translation, Network Address Translation) traversal problem. In this method, a TCP (Transmission Control Protocol, Transmission Control Protocol) mode is used for interaction between the control server and the user terminal, and a UDP (User Datagram Protocol, User Datagram Protocol) mode is used for interaction between the media server and the user terminal. When the user terminal is in the private network and the media server is in the public network, the media server is a NAT device. If the mapping relationship between the public network address and the private network address is not preset on the NAT device, the NAT device will not be able to forward UDP packets. to the user terminal. In addition, the interaction between the media server and the user terminal adopts the UDP mode, and the transmission quality of the media content needs to be guaranteed by an additional mechanism.
现有技术中的第二种媒体服务器向用户终端传输媒体内容的方法为:用户终端向控制服务器发送媒体内容即媒体文件的传输请求,控制服务器根据上述媒体文件的存储情况选择相应的媒体服务器,该媒体服务器向控制服务器发送上述媒体文件的数据包,控制服务器将收到的数据包转发至用户终端,直到整个媒体文件发送完毕或用户终端主动选择退出媒体文件的接收。The second method in the prior art for a media server to transmit media content to a user terminal is as follows: the user terminal sends a transmission request for media content, that is, a media file, to the control server, and the control server selects a corresponding media server according to the storage conditions of the above-mentioned media files, The media server sends the data packet of the media file to the control server, and the control server forwards the received data packet to the user terminal until the entire media file is sent or the user terminal actively chooses to quit receiving the media file.
在实现本发明过程中,发明人发现现有技术中的第二种媒体服务器向用户终端传输媒体内容的方法至少存在如下问题:需要占用双倍带宽为一个用户终端提供媒体内容的传输服务,控制服务器还需要承担数据包的转发功能,限制了控制服务器的并发处理能力。In the process of implementing the present invention, the inventors found that the second method of media server transmission of media content to user terminals in the prior art has at least the following problems: it needs to occupy double bandwidth to provide media content transmission services for a user terminal, and control The server also needs to undertake the forwarding function of data packets, which limits the concurrent processing capability of the control server.
发明内容 Contents of the invention
本发明的实施例提供了一种媒体内容的传输方法和系统,以实现媒体服务器利用控制服务器和用户终端之间的TCP连接向用户终端传输媒体内容。Embodiments of the present invention provide a method and system for transmitting media content, so that the media server can transmit media content to the user terminal by utilizing the TCP connection between the control server and the user terminal.
一种媒体内容的传输系统,包括:控制服务器,用于在接收用户终端发送的媒体内容的传输请求后,与所述用户终端之间建立传输控制协议TCP连接,并向媒体服务器发送所述媒体内容的传输参数;媒体服务器,用于根据所述控制服务器发送的所述媒体内容的传输参数构造所述媒体内容的TCP报文,向所述用户终端发送所述TCP报文。A transmission system for media content, comprising: a control server, configured to establish a transmission control protocol TCP connection with the user terminal after receiving a transmission request of the media content sent by the user terminal, and send the media content to the media server Content transmission parameters; a media server configured to construct a TCP message of the media content according to the transmission parameters of the media content sent by the control server, and send the TCP message to the user terminal.
一种控制服务器,包括:传输控制协议TCP连接处理模块,用于当接收用户终端发送的媒体内容传输请求时,建立与用户终端的双向TCP连接;传输控制模块,用于根据所述传输请求中媒体内容信息选择向所述用户终端提供相应媒体内容的媒体服务器,并向所述媒体服务器发送所述媒体内容的传输指令;以及TCP流控模块,用于向所述媒体服务器发送所述媒体内容的传输参数,使得所述媒体服务器根据所述媒体内容的传输指令及传输参数向所述用户终端传输所述媒体内容。A control server, comprising: a transmission control protocol TCP connection processing module, configured to establish a bidirectional TCP connection with the user terminal when receiving a media content transmission request sent by the user terminal; a transmission control module, configured to The media content information selects a media server that provides corresponding media content to the user terminal, and sends a transmission instruction of the media content to the media server; and a TCP flow control module, configured to send the media content to the media server transmission parameters, so that the media server transmits the media content to the user terminal according to the transmission instruction and transmission parameters of the media content.
一种媒体服务器,包括:传输控制协议TCP流控模块,用于接收控制服务器发送的媒体内容的传输参数和传输指令;TCP报文构造模块,用于根据所述媒体内容的传输参数构造媒体内容的TCP报文;以及传输控制模块,用于根据所述媒体内容的传输指令向用户终端发送所述媒体内容的TCP报文。A media server, comprising: transmission control protocol TCP flow control module, used to receive transmission parameters and transmission instructions of media content sent by the control server; TCP message construction module, used to construct media content according to the transmission parameters of the media content and a transmission control module, configured to send the TCP message of the media content to the user terminal according to the transmission instruction of the media content.
由上述本发明的实施例提供的技术方案可以看出,本发明实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接向用户终端传输媒体内容,既规避了媒体服务器和用户终端之间采用UDP方式交互时中的NAT穿越问题,又克服了在服务器侧占用两份带宽和过度消耗服务器资源的问题。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the embodiments of the present invention realize that the media server transmits media content to the user terminal using the TCP connection between the control server and the user terminal, which avoids the gap between the media server and the user terminal. The problem of NAT traversal when using UDP to interact with each other, and overcomes the problem of occupying two bandwidths and excessive consumption of server resources on the server side.
附图说明 Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of 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. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例一提供的一种向用户终端传输媒体内容的系统的结构示意图;FIG. 1 is a schematic structural diagram of a system for transmitting media content to a user terminal according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的一种控制服务器的具体结构图;FIG. 2 is a specific structural diagram of a control server provided in Embodiment 1 of the present invention;
图3为本发明实施例一提供的一种媒体服务器的具体结构图;FIG. 3 is a specific structural diagram of a media server provided by Embodiment 1 of the present invention;
图4为本发明实施例二提供的一种向用户终端传输媒体内容的方法的处理流程图;FIG. 4 is a processing flowchart of a method for transmitting media content to a user terminal provided by Embodiment 2 of the present invention;
图5为本发明实施例三提供的一种向用户终端传输媒体内容的方法的处理流程图。FIG. 5 is a processing flowchart of a method for transmitting media content to a user terminal according to Embodiment 3 of the present invention.
具体实施方式 Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
为便于对本发明实施例的理解,下面将结合附图以几个具体实施例为例做进一步的解释说明,且各个实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, several specific embodiments will be taken as examples for further explanation below in conjunction with the accompanying drawings, and each embodiment does not constitute a limitation to the embodiments of the present invention.
实施例一Embodiment one
该实施例提供的一种向用户终端传输媒体内容的系统结构示意图如图1所示,包括如下的设备:A schematic structural diagram of a system for transmitting media content to a user terminal provided in this embodiment is shown in FIG. 1 , including the following devices:
控制服务器11,用于在接收用户终端13发送的媒体内容的传输请求后,与用户终端13建立双向的TCP连接,并向媒体服务器12发送媒体内容的传输参数以及媒体内容的传输指令,以实现媒体内容传输的控制。该媒体内容的传输参数:包括控制服务器11和用户终端13之间的TCP连接的源地址、目的地址和TCP报文的当前序列号。,The control server 11 is used to establish a two-way TCP connection with the user terminal 13 after receiving the transmission request of the media content sent by the user terminal 13, and send the transmission parameters of the media content and the transmission instructions of the media content to the media server 12, so as to realize Control of media content delivery. The transmission parameters of the media content include the source address, the destination address and the current sequence number of the TCP message of the TCP connection between the control server 11 and the user terminal 13 . ,
媒体服务器12,用于根据控制服务器11发送过来的所述媒体内容的传输参数构造媒体内容的TCP报文,根据控制服务器11发送过来的所述媒体内容的传输指令向所述用户终端13发送所述媒体内容的TCP报文。该媒体服务器12具体可以是流服务器。The media server 12 is configured to construct the TCP message of the media content according to the transmission parameters of the media content sent by the control server 11, and send the transmission instruction of the media content sent by the control server 11 to the user terminal 13. TCP packets describing the media content. The media server 12 may specifically be a streaming server.
用户终端13,用于和控制服务器11建立双向的TCP连接,接收所述媒体服务器12发送的媒体内容的TCP报文。对于成功接收到的媒体内容的TCP报文,向控制服务器11发送TCP应答响应;对于网络传输中丢失的媒体内容的TCP报文,向控制服务器11发送TCP重传请求。The user terminal 13 is configured to establish a two-way TCP connection with the control server 11, and receive the TCP message of the media content sent by the media server 12. For the successfully received TCP message of the media content, a TCP response is sent to the control server 11; for the TCP message of the media content lost in network transmission, a TCP retransmission request is sent to the control server 11.
上述控制服务器11的具体结构如图2所示,上述控制服务器11具体可以包括:The concrete structure of above-mentioned control server 11 is shown in Figure 2, and above-mentioned control server 11 specifically can comprise:
TCP连接处理模块111,用于在接收用户终端13发送的媒体内容的传输请求后,通过和用户终端进行TCP协商,与用户终端建立双向的TCP连接。The TCP connection processing module 111 is configured to establish a two-way TCP connection with the user terminal through TCP negotiation with the user terminal after receiving the media content transmission request sent by the user terminal 13 .
传输控制模块112,用于在所述TCP连接处理模块111建立了和用户终端13之间的TCP连接后,根据所述传输请求中的媒体内容信息选择向用户终端13提供相应媒体内容的媒体服务器12,向所述媒体服务器12发送媒体内容的传输指令。The transmission control module 112 is used to select the media server that provides the corresponding media content to the user terminal 13 according to the media content information in the transmission request after the TCP connection processing module 111 establishes the TCP connection with the user terminal 13 12. Send a media content transmission instruction to the media server 12.
TCP流控模块113,用于向所述传输控制模块112选择的媒体服务器12发送媒体内容的传输参数,所述传输参数包括控制服务器11和用户终端13之间的TCP连接的源地址、目的地址和TCP报文的当前序列号。The TCP flow control module 113 is used to send the transmission parameters of the media content to the media server 12 selected by the transmission control module 112, and the transmission parameters include the source address and the destination address of the TCP connection between the control server 11 and the user terminal 13 and the current sequence number of the TCP packet.
进一步地,所述的TCP连接处理模块111,还用于和用户终端13之间进行心跳检测,检测和用户终端之间的TCP连接是否正常。Further, the TCP connection processing module 111 is also used to perform heartbeat detection with the user terminal 13 to detect whether the TCP connection with the user terminal is normal.
进一步地,所述的传输控制模块112,还用于根据和用户终端13之间的交互信息向媒体服务器12发送相应的状态切换指令,控制所述媒体服务器12在快进、快退、跳转、暂停、播放等状态间切换。Further, the transmission control module 112 is also configured to send a corresponding state switching instruction to the media server 12 according to the interaction information with the user terminal 13, to control the media server 12 to fast forward, rewind, jump , pause, play and other states to switch.
进一步地,所述的传输控制模块112,还用于接收用户终端13发送的TCP应答响应或TCP重传请求后,将所述TCP应答响应或TCP重传请求发送给所述媒体服务器12;在进行媒体服务器12切换的过程中,当接到用户终端13发送的TCP应答响应或TCP重传请求后,若TCP应答响应或TCP重传请求对应的TCP序列号小于或等于切换前的媒体服务器12的最后TCP序列号,则将TCP应答响应或TCP重传请求发送给切换前的媒体服务器12;若TCP应答响应或TCP重传请求对应的TCP序列号大于切换前的媒体服务器12的最后TCP序列号,则将TCP应答响应或TCP重传请求发送给切换后的媒体服务器12。Further, the transmission control module 112 is also configured to send the TCP response response or TCP retransmission request to the media server 12 after receiving the TCP response response or the TCP retransmission request sent by the user terminal 13; During the switching process of the media server 12, after receiving the TCP response response or the TCP retransmission request sent by the user terminal 13, if the TCP sequence number corresponding to the TCP response response or the TCP retransmission request is less than or equal to that of the media server 12 before switching If the TCP sequence number corresponding to the TCP response or the TCP retransmission request is greater than the last TCP sequence of the media server 12 before switching, the TCP response or the TCP retransmission request is sent to the media server 12 before switching. number, send the TCP response response or the TCP retransmission request to the switched media server 12.
当上述用户终端13所请求的媒体内容的分片存储在多个媒体服务器12上时:When the segments of the media content requested by the above-mentioned user terminal 13 are stored on multiple media servers 12:
进一步地,所述的传输控制模块112,还用于选择多个媒体服务器12向所述用户终端13发送媒体内容,当控制服务器11接收到上一个媒体服务器12发送的携带最后一个TCP报文的序列号的通知消息后,向下一个媒体服务器12发送所述媒体内容的传输指令。Further, the transmission control module 112 is also used to select a plurality of media servers 12 to send media content to the user terminal 13, when the control server 11 receives the last TCP packet sent by the last media server 12 After the notification message of the serial number, the transmission instruction of the media content is sent to the next media server 12 .
进一步地,所述的TCP流控模块113,还用于当控制服务器11接收到上一个媒体服务器12发送的携带最后一个TCP报文的序列号的通知消息后,向下一个媒体服务器12发送媒体内容的传输参数,所述传输参数包括控制服务器11和用户终端13之间的TCP连接的源地址、目的地址和上述通知消息中携带的最后一个TCP报文的序列号。Further, the TCP flow control module 113 is also used to send the media to the next media server 12 after the control server 11 receives the notification message carrying the sequence number of the last TCP message sent by the previous media server 12. The transmission parameters of the content, the transmission parameters include the source address and destination address of the TCP connection between the control server 11 and the user terminal 13, and the sequence number of the last TCP message carried in the notification message.
从而使得上述下一个媒体服务器12根据接收到的媒体内容的传输指令和媒体内容的传输参数,接替上述上一个媒体服务器12继续向所述用户终端13发送媒体内容的TCP报文。Thus, the next media server 12 takes over from the previous media server 12 and continues to send the TCP message of the media content to the user terminal 13 according to the received media content transmission instruction and media content transmission parameters.
上述媒体服务器12的具体结构如图3所示,上述媒体服务器12具体可以包括:The concrete structure of above-mentioned media server 12 is as shown in Figure 3, and above-mentioned media server 12 specifically can comprise:
TCP流控模块121,用于接收所述控制服务器11发送的上述媒体内容的传输参数,所述传输参数包括控制服务器11和用户终端13之间的TCP连接的源地址、目的地址和TCP报文的当前序列号。将上述媒体内容的传输参数传输给TCP报文构造模块122。The TCP flow control module 121 is configured to receive the transmission parameters of the above media content sent by the control server 11, and the transmission parameters include the source address, destination address and TCP message of the TCP connection between the control server 11 and the user terminal 13 the current serial number of . The above-mentioned transmission parameters of the media content are transmitted to the TCP packet construction module 122 .
TCP报文构造模块122,用于根据接收到的所述TCP流控模块121发送的媒体内容的传输参数构造媒体内容的TCP报文。TCP报文构造模块121所构造的第一个TCP报文的序列号为上述媒体内容的传输参数中的TCP报文的当前序列号加一,TCP报文构造模块121所构造的TCP报文的源地址、目的地址为所述媒体内容的传输参数中的源地址、目的地址。The TCP message construction module 122 is configured to construct a TCP message of the media content according to the received transmission parameters of the media content sent by the TCP flow control module 121 . The sequence number of the first TCP message constructed by the TCP message construction module 121 is the current sequence number of the TCP message in the transmission parameter of the above-mentioned media content plus one, and the TCP message constructed by the TCP message construction module 121 is The source address and destination address are the source address and destination address in the transmission parameters of the media content.
传输控制模块123,用于接收所述控制服务器11发送的上述媒体内容的传输指令,根据上述传输指令以控制服务器11的身份向所述用户终端13发送所述TCP报文构造模块122所构造的TCP报文。The transmission control module 123 is configured to receive the transmission instruction of the above media content sent by the control server 11, and send the TCP message construction module 122 constructed by the TCP message construction module 122 to the user terminal 13 according to the above transmission instruction in the identity of the control server 11. TCP packets.
进一步地,所述的传输控制模块123,还用于根据控制服务器11发送的状态切换指令,在快进、快退、跳转、暂停、播放等状态间切换。Further, the transmission control module 123 is also configured to switch between states such as fast forward, fast rewind, jump, pause, and play according to the state switching instruction sent by the control server 11 .
进一步地,所述的传输控制模块123,还用于接收到控制服务器11转发的来自用户终端13的TCP应答响应后,向所述用户终端13发送下一个TCP报文;还用于接收到控制服务器11转发的来自用户终端13的TCP重传请求后,向所述用户终端13重传相应的TCP报文。Further, the transmission control module 123 is also used for sending the next TCP message to the user terminal 13 after receiving the TCP response from the user terminal 13 forwarded by the control server 11; After forwarding the TCP retransmission request from the user terminal 13, the server 11 retransmits the corresponding TCP message to the user terminal 13.
进一步地,所述的传输控制模块123,还用于当媒体内容的分片存储在多个媒体服务器12上时,在向用户终端13发送了所述媒体服务器12存储的分片中的所有媒体内容后,向控制服务器11发送携带其发送的最后一个TCP报文的序列号的通知消息。Further, the transmission control module 123 is also configured to send all media in the fragments stored by the media servers 12 to the user terminal 13 when the fragments of the media content are stored on multiple media servers 12. After the content, send to the control server 11 a notification message carrying the sequence number of the last TCP message it sent.
该实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接的源地址、目的地址,以控制服务器的身份向所述用户终端发送TCP报文。由于媒体服务器和用户终端之间没有采用UDP方式进行交互,从而规避了UDP方式交互时中的NAT穿越问题,媒体内容的传输质量也不需要额外的机制去保障。由于是通过媒体服务器而不是控制服务器向用户终端发送媒体数据,从而克服了在控制服务器侧占用两份带宽和过度消耗控制服务器资源的问题。This embodiment realizes that the media server uses the source address and destination address of the TCP connection between the control server and the user terminal to send a TCP message to the user terminal as the control server. Since the media server and the user terminal do not use the UDP method for interaction, the NAT traversal problem in the UDP method interaction is avoided, and the transmission quality of the media content does not need an additional mechanism to guarantee. Since the media data is sent to the user terminal through the media server instead of the control server, the problems of occupying two shares of bandwidth and excessive consumption of control server resources on the control server side are overcome.
该实施例通过将媒体内容的分片存储在多个媒体服务器上与TCP连接相互结合的方式向用户终端传输媒体内容的TCP报文,从而实现了多个媒体服务器接替向用户终端发送媒体内容的TCP报文,能够实现媒体服务器的负载均衡,实现对媒体服务资源的充分利用。This embodiment transmits the TCP message of the media content to the user terminal by storing the fragments of the media content on multiple media servers and combining with the TCP connection, thereby realizing that multiple media servers take over the sending of the media content to the user terminal. The TCP message can realize the load balancing of the media server and realize the full utilization of the media service resources.
该实施例通过控制服务器将接收到的用户终端发送的TCP应答响应或TCP重传请求都转发给媒体服务器,实现了媒体服务器根据用户终端的TCP报文的接收情况,向用户终端发送后续的或者重传媒体内容的TCP报文。In this embodiment, by controlling the server to forward the received TCP response or TCP retransmission request sent by the user terminal to the media server, it is realized that the media server sends subsequent or TCP packets for retransmitting media content.
实施例二Embodiment two
基于上述图1所示的向用户终端传输媒体内容的系统,该实施例提供的一种向用户终端传输媒体内容的方法的处理流程如图4所示,包括如下的处理步骤:Based on the system for transmitting media content to a user terminal shown in FIG. 1 above, the processing flow of a method for transmitting media content to a user terminal provided by this embodiment is shown in FIG. 4 , including the following processing steps:
步骤41、控制服务器11在接收到用户终端13发送的媒体内容的传输请求后,与用户终端13之间建立TCP连接,向媒体服务器12发送媒体内容的传输参数和媒体内容的传输指令。Step 41: After receiving the media content transmission request sent by the user terminal 13, the control server 11 establishes a TCP connection with the user terminal 13, and sends the media content transmission parameters and media content transmission instructions to the media server 12.
控制服务器11在接收到用户终端13发送的媒体内容的传输请求后,和用户终端13协商用于传输媒体内容的协议,确定采用何种协议传输媒体内容。上述传输媒体内容的协议可以为TCP协议或者UDP协议,当协商采用TCP协议传输媒体内容时,上述控制服务器11和用户终端13之间通过TCP协商建立TCP连接。After receiving the media content transmission request sent by the user terminal 13, the control server 11 negotiates with the user terminal 13 on a protocol for transmitting media content, and determines which protocol is used to transmit the media content. The protocol for transmitting the media content may be TCP or UDP. When the TCP protocol is used for media content transmission, the control server 11 and the user terminal 13 establish a TCP connection through TCP negotiation.
控制服务器11确定媒体内容的传输参数,该传输参数包括:控制服务器11和用户终端13之间的TCP连接的TCP源地址、TCP目的地址以及TCP连接的TCP报文的当前序列号等。The control server 11 determines the transmission parameters of the media content, and the transmission parameters include: the TCP source address of the TCP connection between the control server 11 and the user terminal 13, the TCP destination address, and the current sequence number of the TCP message of the TCP connection.
上述控制服务器11根据接收到的上述传输请求中的媒体内容信息选择向用户终端13提供媒体内容的媒体服务器12,向该媒体服务器12发送上述媒体内容的传输参数和媒体内容的传输指令。The control server 11 selects the media server 12 that provides media content to the user terminal 13 according to the media content information in the received transmission request, and sends the media content transmission parameters and media content transmission instructions to the media server 12.
步骤42,媒体服务器12根据接收到的媒体内容的传输参数构造媒体内容的TCP报文,根据接收到的媒体内容的传输指令向所述用户终端13发送媒体内容的TCP报文。
上述媒体服务器12接收到上述媒体内容的传输指令和媒体内容的传输参数后,根据上述媒体内容的传输参数构造TCP报文。上述媒体服务器12所构造的第一个TCP报文的序列号为上述媒体内容的传输参数中的TCP报文的当前序列号加一,所构造的TCP报文的源地址和目的地址为所述媒体内容的传输参数中的源地址和目的地址。After receiving the transmission instruction of the media content and the transmission parameters of the media content, the media server 12 constructs a TCP message according to the transmission parameters of the media content. The sequence number of the first TCP message constructed by the above-mentioned media server 12 is the current sequence number of the TCP message in the transmission parameter of the above-mentioned media content plus one, and the source address and destination address of the constructed TCP message are the described The source address and destination address in the transmission parameters of the media content.
然后,上述媒体服务器12根据上述媒体内容的传输指令,以控制服务器11的身份向用户终端13发送上述构造的TCP报文。Then, the above-mentioned media server 12 sends the above-mentioned TCP message to the user terminal 13 in the identity of the control server 11 according to the transmission instruction of the above-mentioned media content.
该实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接的源地址、目的地址,以控制服务器的身份向所述用户终端发送TCP报文。由于媒体服务器和用户终端之间没有采用UDP方式进行交互,从而规避了UDP方式交互时中的NAT穿越问题。由于是通过媒体服务器而不是控制服务器向用户终端发送媒体数据,从而克服了在控制服务器侧占用两份带宽和过度消耗控制服务器资源的问题。This embodiment realizes that the media server uses the source address and destination address of the TCP connection between the control server and the user terminal to send a TCP message to the user terminal as the control server. Since the interaction between the media server and the user terminal does not use the UDP method, the NAT traversal problem in the UDP method interaction is avoided. Since the media data is sent to the user terminal through the media server instead of the control server, the problems of occupying two shares of bandwidth and excessive consumption of control server resources on the control server side are overcome.
实施例三Embodiment Three
基于上述图1所示的向用户终端传输媒体内容的系统,以及上述图2所示的控制服务器和图3所示的媒体服务器的具体结构图,该实施例提供的一种向用户终端传输媒体内容的方法的处理流程如图5所示,包括如下的处理步骤:Based on the system for transmitting media content to user terminals shown in Figure 1 above, and the specific structural diagrams of the control server shown in Figure 2 and the media server shown in Figure 3 above, this embodiment provides a system for transmitting media content to user terminals The processing flow of the content method is shown in Figure 5, including the following processing steps:
步骤51、控制服务器11在接收到用户终端13发送的媒体内容的传输请求后,与用户终端13之间建立TCP连接。
控制服务器11中的TCP连接处理模块111在接收到用户终端13发送的媒体内容的传输请求后,上述TCP连接处理模块111和用户终端13协商用于传输媒体内容的协议,确定采用何种协议传输媒体内容。上述传输媒体内容的协议可以为TCP协议或者UDP协议,当协商采用TCP协议传输媒体内容时,上述TCP连接处理模块111和用户终端13之间通过TCP协商建立TCP连接。After the TCP connection processing module 111 in the control server 11 receives the transmission request of the media content sent by the user terminal 13, the above-mentioned TCP connection processing module 111 and the user terminal 13 negotiate a protocol for transmitting the media content, and determine which protocol to use for transmission media content. The above protocol for transmitting media content may be TCP protocol or UDP protocol. When negotiating to use TCP protocol to transmit media content, the TCP connection processing module 111 and the user terminal 13 establish a TCP connection through TCP negotiation.
上述媒体内容可以包括:RTSP(Real-time Transport StreamingProtocol,实时流媒体传输协议)、HTTP(Hypertext Transfer Protocol,超文本传输协议)流等媒体内容。The above-mentioned media content may include: media content such as RTSP (Real-time Transport Streaming Protocol, real-time streaming media transmission protocol), HTTP (Hypertext Transfer Protocol, hypertext transfer protocol) flow.
用户终端13需要定期向控制服务器11发送心跳消息,控制服务器11中的TCP连接处理模块111向用户终端13返回心跳响应,通过上述用户终端13和控制服务器11之间的心跳检测来检测上述用户终端11和控制服务器13之间的TCP连接的状态。The user terminal 13 needs to periodically send a heartbeat message to the control server 11, and the TCP connection processing module 111 in the control server 11 returns a heartbeat response to the user terminal 13, and detects the above-mentioned user terminal through the heartbeat detection between the above-mentioned user terminal 13 and the control server 11 11 and the state of the TCP connection between the control server 13.
步骤52、控制服务器11向媒体服务器13发送媒体内容的传输参数和媒体内容的传输指令。
上述控制服务器11中的TCP流控模块113确定媒体内容的传输参数,该传输参数包括:控制服务器11和用户终端13之间的TCP连接的TCP源地址、TCP目的地址以及TCP连接的TCP报文的当前序列号等。The TCP flow control module 113 in the above-mentioned control server 11 determines the transmission parameters of the media content, and the transmission parameters include: the TCP source address of the TCP connection between the control server 11 and the user terminal 13, the TCP destination address and the TCP message of the TCP connection current serial number etc.
上述控制服务器11中的传输控制模块112根据接收到的上述传输请求中的媒体内容信息选择向用户终端13提供相应媒体内容的媒体服务器12,向该媒体服务器12发送上述媒体内容的传输参数和媒体内容的传输指令。The transmission control module 112 in the above-mentioned control server 11 selects the media server 12 that provides the corresponding media content to the user terminal 13 according to the media content information in the above-mentioned transmission request received, and sends the transmission parameters and media content of the above-mentioned media content to the media server 12. Content transfer instructions.
在实际应用中,当上述用户终端13请求传输的媒体内容的分片存储在多个媒体服务器12上时,控制服务器11中的传输控制模块112选择上述多个媒体服务器12向用户终端13发送媒体内容,向上述多个媒体服务器12中的存储上述媒体内容的起始分片的第一个媒体内容服务器12发送上述媒体内容的传输参数和媒体内容的传输指令。In practical applications, when the segments of the media content requested by the user terminal 13 to be transmitted are stored on multiple media servers 12, the transmission control module 112 in the control server 11 selects the multiple media servers 12 to send the media to the user terminal 13. content, sending the transmission parameters of the media content and the transmission instruction of the media content to the first media content server 12 among the plurality of media servers 12 that stores the initial segment of the media content.
步骤53、上述媒体服务器12根据接收到的媒体内容的传输参数构造媒体内容的TCP报文,根据接收到的媒体内容的传输指令向所述用户终端13发送媒体内容的TCP报文。Step 53: The media server 12 constructs a TCP message of the media content according to the received transmission parameters of the media content, and sends the TCP message of the media content to the user terminal 13 according to the received transmission instruction of the media content.
上述媒体服务器12中的TCP流控模块121接收到上述传输媒体内容的传输参数后,将上述传输参数传输给上述媒体服务器12中的TCP报文构造模块122。上述TCP报文构造模块122根据上述媒体内容的传输参数构造TCP报文,所构造的第一个TCP报文的序列号为上述媒体内容的传输参数中的TCP报文的当前序列号加一,所构造的TCP报文的源地址和目的地址为所述媒体内容的传输参数中的源地址和目的地址。The TCP flow control module 121 in the media server 12 transmits the transmission parameters to the TCP message construction module 122 in the media server 12 after receiving the transmission parameters for transmitting the media content. Above-mentioned TCP message construction module 122 constructs TCP message according to the transmission parameter of above-mentioned media content, the sequence number of the first TCP message of structure is the current sequence number of the TCP message in the transmission parameter of above-mentioned media content plus one, The source address and destination address of the constructed TCP message are the source address and destination address in the transmission parameters of the media content.
然后,上述媒体服务器12中的传输控制模块123根据上述媒体内容的传输指令,以控制服务器11的身份向用户终端13发送上述构造的TCP报文。Then, the transmission control module 123 in the media server 12 sends the above-mentioned TCP message to the user terminal 13 in the identity of the control server 11 according to the transmission instruction of the media content.
当上述用户终端13请求传输的媒体内容的分片存储在多个媒体服务器12上时,当一个媒体服务器12完成其保存的媒体内容的分片的发送后,则上述媒体服务器12中的传输控制模块123向控制服务器11发送携带其发送的最后一个TCP报文的序列号的通知消息。控制服务器11根据上述通知消息中携带的最后一个TCP报文的序列号和上述媒体内容的所有分片在各个媒体服务器12中的存储情况,选择其他的媒体服务器12继续向上述用户终端发送媒体内容,并向该其他的媒体服务器12发送包含上述最后一个TCP报文的序列号的媒体内容的传输参数和媒体内容的传输指令。上述其它的媒体服务器12根据所述媒体内容的传输参数构造TCP报文,并根据上述媒体内容的传输指令向用户终端13发送所述TCP报文。When the fragments of the media content requested by the above-mentioned user terminal 13 are stored on multiple media servers 12, after one media server 12 finishes sending the fragments of the media content it saves, the transmission control in the above-mentioned media server 12 The module 123 sends to the control server 11 a notification message carrying the sequence number of the last TCP packet sent by it. Control server 11 selects other media servers 12 to continue sending media content to the above-mentioned user terminal according to the sequence number of the last TCP message carried in the above-mentioned notification message and the storage situation of all fragments of the above-mentioned media content in each media server 12 , and send the transmission parameters of the media content and the transmission instruction of the media content including the serial number of the last TCP packet to the other media server 12. The other media server 12 constructs a TCP message according to the transmission parameters of the media content, and sends the TCP message to the user terminal 13 according to the transmission instruction of the media content.
上述控制服务器11中的传输控制模块112还用于根据和用户终端13之间的交互信息向媒体服务器12发送相应的状态切换指令,所述媒体服务器12中的传输控制模块123根据接收到的上述状态切换指令,在快进、快退、跳转、暂停、播放等状态间切换。The transmission control module 112 in the above-mentioned control server 11 is also used to send a corresponding state switching instruction to the media server 12 according to the interaction information with the user terminal 13, and the transmission control module 123 in the media server 12 receives the above-mentioned State switching command, switch between states such as fast forward, fast rewind, jump, pause, and play.
步骤54、用户终端13接收到媒体服务器12发送的媒体内容的TCP报文后,向控制服务器11返回TCP应答响应或TCP重传请求,上述控制服务器11将上述TCP应答响应或TCP重传请求转发给媒体服务器12。
用户终端13接收到媒体服务器12发送的媒体内容的TCP报文后,对于成功接收到的TCP报文,向控制服务器11发送TCP应答响应;对于网络传输中丢失的TCP报文,向控制服务器11发送TCP重传请求。控制服务器11中的传输控制模块112将接收到的用户终端13发送的TCP应答响应或TCP重传请求都转发给媒体服务器12。After receiving the TCP message of the media content sent by the media server 12, the user terminal 13 sends a TCP response response to the control server 11 for the successfully received TCP message; Send a TCP retransmission request. The transmission control module 112 in the control server 11 forwards the received TCP response or TCP retransmission request sent by the user terminal 13 to the media server 12 .
在进行媒体服务器切换的过程中,控制服务器11仍然会接到用户终端13发送的TCP应答响应或TCP重传请求。在这种情况下,控制服务器11将根据如下原则对上述TCP应答响应或TCP重传请求进行转发:During the process of media server switching, the control server 11 will still receive the TCP reply response or TCP retransmission request sent by the user terminal 13 . In this case, the control server 11 will forward the above-mentioned TCP response response or TCP retransmission request according to the following principles:
1、若TCP应答响应或TCP重传请求对应的TCP序列号小于或等于切换前的媒体服务器12的最后TCP序列号,则控制服务器11中的传输控制模块112将TCP应答响应或TCP重传请求发送给切换前的媒体服务器12;1. If the TCP sequence number corresponding to the TCP response or the TCP retransmission request is less than or equal to the last TCP sequence number of the media server 12 before switching, the transmission control module 112 in the control server 11 sends the TCP response response or the TCP retransmission request Send to the media server 12 before switching;
2、若TCP应答响应或TCP重传请求对应的TCP序列号大于切换前的媒体服务器12的最后TCP序列号,则控制服务器11中的传输控制模块112将TCP应答响应或TCP重传请求发送给切换后的媒体服务器12。2. If the TCP sequence number corresponding to the TCP response or the TCP retransmission request is greater than the last TCP sequence number of the media server 12 before switching, then the transmission control module 112 in the control server 11 sends the TCP response response or the TCP retransmission request to The media server 12 after switching.
步骤55、媒体服务器12根据接收到的TCP应答响应或TCP重传请求,向用户终端13发送后续的或者重传媒体内容的TCP报文。
媒体服务器12中的传输控制模块123在接收到控制服务器11转发的TCP应答响应后,继续向用户终端发送后续的媒体内容的TCP报文;在接收到TCP重传请求后,向用户终端重传相应的媒体内容的TCP报文。The transmission control module 123 in the media server 12, after receiving the TCP response that the control server 11 forwards, continues to send the TCP message of the follow-up media content to the user terminal; After receiving the TCP retransmission request, retransmit the A TCP packet of the corresponding media content.
在进行媒体服务器12切换的过程中,控制服务器12接收到控制服务器11发送的包含上一个媒体服务器12发送的最后一个TCP报文的序列号的媒体内容的传输参数和媒体内容的传输指令,上述媒体服务器12根据所述媒体内容的传输参数构造TCP报文,并接替上一个媒体服务器12向用户终端13发送TCP报文。In the process of switching the media server 12, the control server 12 receives the transmission parameters of the media content and the transmission instruction of the media content containing the sequence number of the last TCP message sent by the last media server 12 sent by the control server 11, the above-mentioned The media server 12 constructs a TCP message according to the transmission parameters of the media content, and sends the TCP message to the user terminal 13 taking over from the previous media server 12 .
该实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接的源地址、目的地址,以控制服务器的身份向所述用户终端发送TCP报文。由于媒体服务器和用户终端之间没有采用UDP方式进行交互,从而规避了UDP方式交互时中的NAT穿越问题。由于是通过媒体服务器而不是控制服务器向用户终端发送媒体数据,从而克服了在控制服务器侧占用两份带宽和过度消耗控制服务器资源的问题。This embodiment realizes that the media server uses the source address and destination address of the TCP connection between the control server and the user terminal to send a TCP message to the user terminal as the control server. Since the interaction between the media server and the user terminal does not use the UDP method, the NAT traversal problem in the UDP method interaction is avoided. Since the media data is sent to the user terminal through the media server instead of the control server, the problems of occupying two shares of bandwidth and excessive consumption of control server resources on the control server side are overcome.
该实施例通过将媒体内容的分片存储在多个媒体服务器上与TCP连接相互结合的方式向用户终端传输媒体内容的TCP报文,从而实现了多个媒体服务器接替向用户终端发送媒体内容的TCP报文,能够实现媒体服务器的负载均衡,实现对媒体服务资源的充分利用。This embodiment transmits the TCP message of the media content to the user terminal by storing the fragments of the media content on multiple media servers and combining with the TCP connection, thereby realizing that multiple media servers take over the sending of the media content to the user terminal. The TCP message can realize the load balancing of the media server and realize the full utilization of the media service resource.
该实施例通过控制服务器将接收到的用户终端发送的TCP应答响应或TCP重传请求都转发给媒体服务器,实现了媒体服务器根据用户终端的TCP报文的接收情况,向用户终端发送后续的或者重传媒体内容的TCP报文。In this embodiment, by controlling the server to forward the received TCP response or TCP retransmission request sent by the user terminal to the media server, it is realized that the media server sends subsequent or TCP packets for retransmitting media content.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
综上所述,本发明实施例实现了媒体服务器利用控制服务器和用户终端之间的TCP连接的源地址、目的地址,以控制服务器的身份向所述用户终端发送TCP报文。由于媒体服务器和用户终端之间没有采用UDP方式进行交互,从而规避了UDP方式交互时中的NAT穿越问题。由于是通过媒体服务器而不是控制服务器向用户终端发送媒体数据,从而克服了在控制服务器侧占用两份带宽和过度消耗控制服务器资源的问题。To sum up, the embodiment of the present invention realizes that the media server uses the source address and destination address of the TCP connection between the control server and the user terminal to send a TCP message to the user terminal as the control server. Since the interaction between the media server and the user terminal does not use the UDP method, the NAT traversal problem in the UDP method interaction is avoided. Since the media data is sent to the user terminal through the media server instead of the control server, the problems of occupying two shares of bandwidth and excessive consumption of control server resources on the control server side are overcome.
该实施例通过将媒体内容的分片存储在多个媒体服务器上与TCP连接相互结合的方式向用户终端传输媒体内容的TCP报文,从而实现了多个媒体服务器接替向用户终端发送媒体内容的TCP报文,能够实现媒体服务器的负载均衡,实现对媒体服务资源的充分利用。This embodiment transmits the TCP message of the media content to the user terminal by storing the fragments of the media content on multiple media servers and combining with the TCP connection, thereby realizing that multiple media servers take over the sending of the media content to the user terminal. The TCP message can realize the load balancing of the media server and realize the full utilization of the media service resource.
该实施例通过控制服务器将接收到的用户终端发送的TCP应答响应或TCP重传请求都转发给媒体服务器,实现了媒体服务器根据用户终端的TCP报文的接收情况,向用户终端发送后续的或者重传媒体内容的TCP报文。In this embodiment, by controlling the server to forward the received TCP response or TCP retransmission request sent by the user terminal to the media server, it is realized that the media server sends subsequent or TCP packets for retransmitting media content.
本发明实施例无需额外引入应用层的可靠性机制,对用户终端和网络设备没有额外的要求,降低了实现的复杂度,适用于RTSP、HTTP和HTTPStreaming等多种媒体文件的传输。The embodiment of the present invention does not need to introduce an additional reliability mechanism of the application layer, has no additional requirements on user terminals and network equipment, reduces the complexity of implementation, and is suitable for the transmission of various media files such as RTSP, HTTP, and HTTP Streaming.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010505825.0A CN102148813B (en) | 2010-09-30 | 2010-09-30 | Media content transmission method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010505825.0A CN102148813B (en) | 2010-09-30 | 2010-09-30 | Media content transmission method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102148813A CN102148813A (en) | 2011-08-10 |
| CN102148813B true CN102148813B (en) | 2014-02-26 |
Family
ID=44422810
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010505825.0A Active CN102148813B (en) | 2010-09-30 | 2010-09-30 | Media content transmission method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102148813B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102946389A (en) * | 2012-11-01 | 2013-02-27 | 上海文广互动电视有限公司 | Media service pushing system |
| WO2014117775A1 (en) * | 2013-01-31 | 2014-08-07 | Codemate A/S | Network content delivery method using a delivery helper node |
| CN103701897A (en) * | 2013-12-18 | 2014-04-02 | 兴天通讯技术(天津)有限公司 | Server, terminal and file transmission method |
| WO2016054144A1 (en) * | 2014-09-30 | 2016-04-07 | Level 3 Communications, Llc | Handling long-tail content in a content delivery network |
| CN111507740B (en) * | 2019-01-30 | 2024-03-08 | 北京沃东天骏信息技术有限公司 | Product information display methods, devices, systems, electronic equipment and readable media |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0782072A1 (en) * | 1995-12-26 | 1997-07-02 | Mitsubishi Denki Kabushiki Kaisha | File server load distribution system and method |
| CN101123527A (en) * | 2007-02-25 | 2008-02-13 | 华为技术有限公司 | A streaming media system, signaling forwarding device and streaming media sending method |
| CN101137027A (en) * | 2006-11-23 | 2008-03-05 | 中兴通讯股份有限公司 | A method for storing media slices |
| CN101365103A (en) * | 2007-08-06 | 2009-02-11 | 中国科学院声学研究所 | A Management Method for Interactive Service of Cable TV Network |
-
2010
- 2010-09-30 CN CN201010505825.0A patent/CN102148813B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0782072A1 (en) * | 1995-12-26 | 1997-07-02 | Mitsubishi Denki Kabushiki Kaisha | File server load distribution system and method |
| CN101137027A (en) * | 2006-11-23 | 2008-03-05 | 中兴通讯股份有限公司 | A method for storing media slices |
| CN101123527A (en) * | 2007-02-25 | 2008-02-13 | 华为技术有限公司 | A streaming media system, signaling forwarding device and streaming media sending method |
| CN101365103A (en) * | 2007-08-06 | 2009-02-11 | 中国科学院声学研究所 | A Management Method for Interactive Service of Cable TV Network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102148813A (en) | 2011-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2171600B1 (en) | Assisted peer-to-peer media streaming | |
| CN101123527B (en) | A streaming media system, signaling forwarding device and streaming media sending method | |
| US8166179B2 (en) | Media streaming through a network address translation (NAT) device | |
| JP6382317B2 (en) | Session management and control procedures to support multiple groups of sink devices in a peer-to-peer wireless display system | |
| US8989185B2 (en) | Method and apparatus for converting a multicast session to a unicast session | |
| US20130346562A1 (en) | Data transmission method and apparatus for mobile terminal | |
| CN103634692A (en) | CDN (content distribution network) and P2P (peer-to-peer) based hybrid stream media video-on-demand system | |
| CN103634299A (en) | Real-time stream media transmission terminal and method based on multi-connection | |
| CN104427354B (en) | A kind of method, streaming media server and node subsystem that live media is shared | |
| WO2016180029A1 (en) | Method, device and system for live media data | |
| Zhao et al. | Gridmedia: A practical peer-to-peer based live video streaming system | |
| US9413797B2 (en) | Data communication system and method | |
| CN102148813B (en) | Media content transmission method and system | |
| CN106717015A (en) | Computer network providing redundant data traffic control features and related methods | |
| CN115865878B (en) | Method and device for controlling transmission of media stream, storage medium and electronic equipment | |
| WO2011017982A1 (en) | System, method and terminal for processing media services | |
| CN111107445B (en) | Media protocol stream optimization method and system | |
| CN102547448B (en) | Channel switching method, terminal and system | |
| CN105897853A (en) | Peer-to-peer network connection method and device | |
| US20120023239A1 (en) | Creation Method of Multimedia Service and System Thereof | |
| JP4049123B2 (en) | Electronic device and control method | |
| CN105357088A (en) | Cloud-framework efficient system network transmission method under interactive media service environment | |
| CN110519331B (en) | A kind of video network resource processing method and device | |
| US8549160B2 (en) | Personal media relay for rebroadcasting streaming data | |
| CN100531384C (en) | Dynamic program distribution and service method in cluster type stream media system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |