WO2015196457A1 - Method for routing key frame and media server - Google Patents

Method for routing key frame and media server Download PDF

Info

Publication number
WO2015196457A1
WO2015196457A1 PCT/CN2014/080968 CN2014080968W WO2015196457A1 WO 2015196457 A1 WO2015196457 A1 WO 2015196457A1 CN 2014080968 W CN2014080968 W CN 2014080968W WO 2015196457 A1 WO2015196457 A1 WO 2015196457A1
Authority
WO
WIPO (PCT)
Prior art keywords
key frame
sender
media server
receiving
user terminal
Prior art date
Application number
PCT/CN2014/080968
Other languages
French (fr)
Chinese (zh)
Inventor
刘玎
Original Assignee
北京新媒传信科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京新媒传信科技有限公司 filed Critical 北京新媒传信科技有限公司
Priority to PCT/CN2014/080968 priority Critical patent/WO2015196457A1/en
Priority to CN201480010649.XA priority patent/CN105519121B/en
Publication of WO2015196457A1 publication Critical patent/WO2015196457A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices

Definitions

  • the present invention relates to the field of multimedia technologies, and in particular, to a method for routing key frames in a multimedia interworking and a media server.
  • the media server interacts with multiple users (e.g., user A, user B, user C, and user D) as shown in FIG.
  • user A requests a key frame from user B
  • user B routes the key frame requested by user A to user B, user C, and user D connected to the media server through the media server.
  • an embodiment of the present invention provides a method for key frame routing and a media server to solve the problem of network stress caused by non-directional routing in the prior art.
  • an embodiment of the present invention provides a method for routing a key frame, including: a media server buffering a last valid key frame of each user terminal; when receiving a key frame of only one receiver requesting a sender The media server routes the last valid key frame of the sender that is cached by itself to the receiver.
  • the method further includes: when receiving, by the at least two receivers, the key frame of the sender, the media server determines a receiving time corresponding to the request of the at least two receivers.
  • the method further includes: If the receiving time is in the preset time range, the media server notifies the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routing to other recipients, and updating at the same time The last valid keyframe of the sender that is itself cached.
  • the method further includes:
  • the media server determines the reason of the at least two receiver requests
  • the media server routes the last valid key frame of the sender that is cached by itself to the one or more receivers;
  • the media server notifies the sender to regenerate a new key frame and receives a new key frame regenerated by the sender It is then routed to the other recipients, while updating the last valid keyframe of the sender that is itself cached.
  • the method further includes:
  • the media server periodically detects the last valid key frame of each user terminal that is cached by itself;
  • the user terminal If it is detected that the last valid key frame of a user terminal that is itself cached has expired, the user terminal is notified to regenerate a new key frame, and after receiving the new key frame regenerated by the user terminal, routing is performed to The other individual user terminals simultaneously update the last valid key frame of the user terminal that is cached by itself.
  • an embodiment of the present invention provides a media server, including: a cache unit, configured to cache a last valid key frame of each user terminal;
  • a first routing unit configured to: when receiving a key frame of only one receiver requesting the sender, routing the last valid key frame of the sender buffered by the buffer unit to the receiver.
  • the media server further includes: a time determining unit, configured to determine, when the at least two receivers request the key frame of the sender, the receiving time corresponding to the request of the at least two receivers.
  • a time determining unit configured to determine, when the at least two receivers request the key frame of the sender, the receiving time corresponding to the request of the at least two receivers.
  • the media server further includes: a second routing unit, configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the The sender regenerates a new keyframe and receives a new regenerated by the sender The key frame is then routed to the other recipients, and the last valid key frame of the sender of the cache unit cache is updated.
  • a second routing unit configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the The sender regenerates a new keyframe and receives a new regenerated by the sender The key frame is then routed to the other recipients, and the last valid key frame of the sender of the cache unit cache is updated.
  • the media server further includes:
  • a reason judging unit configured to determine, after the media server determines a receiving time corresponding to the request of the at least two receiving parties, if the receiving time exceeds a preset time range, the reason for requesting the at least two receiving parties Make judgments;
  • a third routing unit configured to: if the request is caused by loss of a key frame saved by one or more receivers, routing the last valid key frame of the sender buffered by the cache unit to the one or more receivers Party
  • a fourth routing unit if the reason for the request is that one or more receivers have problems in decoding with the key frame, notifying the sender to regenerate a new key frame, and receiving the regenerated by the sender The new key frame is then routed to the other recipients, while the last valid key frame of the sender of the cache unit cache is updated.
  • the media server further includes:
  • a period detecting unit configured to periodically detect a last valid key frame of each user terminal buffered by the cache unit
  • a processing unit configured to notify the user terminal to regenerate a new key frame if the last valid key frame of a user terminal that is cached by the cache unit is detected to be invalid, and regenerate the user terminal after receiving the user terminal
  • the new key frame is then routed to the other individual user terminals, and the last valid key frame of the user terminal buffered by the cache unit is updated.
  • the beneficial effects of the present invention are as follows:
  • the present invention caches the last valid key frame of each user terminal through the media server, and when the key frame of only one receiver requesting the sender is received, the media server caches the last of the senders
  • the technical solution of the present invention also considers the actual scenario.
  • the multimedia interworking of the multi-user terminal if only one receiving direction requests the key frame, the request is requested.
  • FIG. 1 is a schematic diagram of a network in multimedia interworking in the prior art
  • FIG. 2 is a flow chart showing a method for routing key frames in multimedia interworking according to an embodiment of the present invention
  • FIG. 3 is a flow chart showing a method for routing key frames in multimedia interworking according to another embodiment of the present invention.
  • FIG. 4 is a structural diagram of a media server according to another embodiment of the present invention. Mode for Carrying Out the Invention Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood, and the scope of the disclosure may be fully disclosed to those skilled in the art.
  • the main technical idea of the present invention is that the media server caches the last valid key frame of each user terminal. When receiving a key frame that only one receiver requests the sender, the media server validates the last one of the senders that are cached by itself.
  • the key frame is directly routed to the recipient, and the requested key frame is no longer routed by the sender to the other user terminals connected to the media server through the media server.
  • the invention can realize the directional routing, reduce the waste of the transmission resources, reduce the network pressure, and can largely ensure the analysis of the subsequent data; when there are many user terminals, the prior art can be significantly solved due to the loss of a certain key frame in the prior art.
  • the entire network pressure caused by non-directional routing is geometrically multiplied The number of sudden rises.
  • each user terminal connected to the media server in the embodiment of the present invention may be used as a sender or a receiver, and is not specifically limited.
  • FIG. 2 is a flow chart showing a method for routing key frames in multimedia interworking according to an embodiment of the invention. As shown in FIG. 2, a method for routing key frames in multimedia interworking according to an embodiment of the present invention includes the following steps:
  • the media server caches the last valid key frame of each user terminal.
  • a frame is the basic unit that makes up a video image.
  • the key frame is also called I frame (I frame ), which is a full frame compressed coded frame; when decoding, only the I frame data can be used to reconstruct the complete image; I frame is generated without reference to other pictures.
  • I frame is also called an intra picture and is usually the first frame of each GOP (Group of Pictures).
  • a GOP is a set of continuous pictures, a video compression technology used by MPEG (Moving Pictures Experts Grou).
  • MPEG encoding divides pictures (i.e., frames) into three types: I, P, and B.
  • I is an internally coded frame
  • P is a forward predictive frame
  • B is a bidirectionally interpolated frame.
  • the I frame is a complete picture
  • the P and B frames record changes relative to the I frame. Since the I frame is the reference frame of the subsequent P frame and the B frame, the I frame quality directly affects the quality of the subsequent frames in the same group, so the P frame and the B frame have a dependency on the I frame, and there is no I frame, P frame and B. The frame cannot be decoded.
  • the I frame is a large picture, and the amount of information occupied by the I frame is relatively large.
  • the media server caches the last valid I frame sent by each user terminal connected to itself for forwarding.
  • the media server When receiving a key frame that only one receiver requests the sender, the media server routes the last valid key frame of the sender that is cached by the media server to the receiver.
  • the routing scheme of the key frame of the embodiment of the present invention is compared with the prior art.
  • the media server finally routes the key frame of the sender to the receiver, the difference is the prior art.
  • the sender needs to regenerate the key frame and send it to the media server, and the media server receives the key frame regenerated by the sender and then routes it to the receiver.
  • the embodiment of the present invention is the sender of the media server that caches itself. The last valid keyframe is routed directly to the receiver.
  • the method embodiment of the present invention uses the media server to cache the last valid key frame of each user terminal.
  • the media server validates the last one of the senders that are cached by itself.
  • the key frame is directly routed to the receiver, which can implement directional routing, reduce the waste of transmission resources, and solve the problem that the entire network pressure rises due to the use of non-directional routing when a certain key frame is lost in the prior art. And while significantly reducing network pressure, it can also largely avoid the problem that subsequent data cannot be parsed.
  • the present invention mainly deals with the case where the receiver requests a key frame. There are two main reasons why the receiver requests key frames. One is the loss of key frames. This is common. The other is that there are problems when decoding key frames. For example, P frames have errors in using I frame restoration.
  • FIG. 3 shows a flow chart of a method for routing key frames in multimedia interworking according to another embodiment of the present invention.
  • a method for routing key frames in multimedia interworking according to another embodiment of the present invention includes the following steps:
  • the media server caches the last valid key frame of each user terminal.
  • the media server receives a request for at least two recipients to request a key frame of the sender.
  • the media server determines, according to the receiving time corresponding to the request of the at least two receivers, if the receiving time is in the preset time range, the process goes to step S35; if the receiving time exceeds the preset time range, Go to step S34.
  • the media server determines whether the receiving time is within a preset time range, wherein the preset time range is preferably [0, 500 ms], but is not limited thereto.
  • the receiving time is within the preset time range, it may be considered that the request of the at least two recipients is received simultaneously.
  • the receiving time exceeds the preset time range, it may be considered that the request of the at least two parties is received at different times.
  • the media server when the media server receives the key frame of user A, user C, and user D requesting user B, the media server first determines the receiving time of receiving three requests of user A, user C, and user D, if three requests If the receiving time is concentrated in the time range of Is, it is considered that the three requests are received at the same time; if the receiving time exceeds the time range of Is, it is considered that the three requests are not received at the same time.
  • the media server determines the cause of the request of the at least two receivers. If the reason of the request is that one or more receivers have problems in decoding by using the key frame, proceed to step S35; if the reason for the request is one Or the key frames saved by the plurality of receivers are lost, and the process proceeds to step S36.
  • the media server When it is determined that the at least two receivers request the key frame of the same sender, the media server further analyzes and determines the cause of the request of the at least two receivers.
  • the embodiment of the present invention distinguishes the request reason that at least two receivers request the key frame of the same sender at the same time, can further implement directional routing, reduce network pressure, and avoid one or some receivers from saving key frames. Loss caused by the sudden increase in network pressure.
  • the reason for the request of the receiver may be included in the request, or the media server may perform the analysis according to the received request to obtain the request of the receiver, and the embodiment of the present invention is not limited thereto. , will not repeat them here.
  • the media server notifies the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routes to each of the other user terminals, and simultaneously updates the last valid key of the sender that is cached by itself. frame.
  • the media server routes the last valid key frame of the sender that is cached by itself to the one or more receivers.
  • each user terminal simultaneously updates the last valid key frame of the sender that is itself cached.
  • the media server determines the reception time of more than one recipient requesting the same recipient. This is because: If User A, User C, and User D request key frames from User B at the same time, User B will receive three requests in succession at the same time.
  • FIG. 4 shows a structural diagram of a media server according to another embodiment of the present invention.
  • a media server 400 according to another embodiment of the present invention includes:
  • the buffer unit 410 is configured to cache the last valid key frame of each user terminal
  • the first routing unit 420 is configured to, when receiving a key frame that only one receiver requests the sender, route the last valid key frame of the sender buffered by the buffer unit 410 to the receiver.
  • the media server 400 provided by the embodiment of the present invention further includes:
  • a time judging unit configured to: when receiving at least two recipients requesting a key frame of the sender, The receiving time corresponding to the request of the at least two recipients is determined.
  • media server 400 provided by the embodiment of the present invention further includes:
  • a second routing unit configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the sender to regenerate a new key frame, And after receiving the new key frame regenerated by the sender, routing to the other recipients, and simultaneously updating the last valid key frame of the sender of the cache unit cache.
  • the media server 400 further includes: a reason determining unit, configured to determine, by the media server, a receiving time corresponding to the request of the at least two receiving parties, Determining, by the preset time range, the reason for the request of the at least two receivers;
  • a third routing unit configured to: if the request is caused by loss of a key frame saved by one or more receivers, routing the last valid key frame of the sender buffered by the cache unit to the one or more receivers Party
  • a fourth routing unit if the reason for the request is that one or more receivers have problems in decoding with the key frame, notifying the sender to regenerate a new key frame, and receiving the regenerated by the sender The new key frame is then routed to the other recipients, while the last valid key frame of the sender of the cache unit cache is updated.
  • the media server 400 further includes: a period detecting unit, configured to periodically detect, on a last valid key frame of each user terminal buffered by the cache unit;
  • a processing unit configured to notify the user terminal to regenerate a new key frame if the last valid key frame of a user terminal that is cached by the cache unit is detected to be invalid, and regenerate the user terminal after receiving the user terminal
  • the new key frame is then routed to the other individual user terminals, and the last valid key frame of the user terminal buffered by the cache unit is updated.
  • a media server caches the sender of the sender by buffering the last valid key frame of each user terminal and receiving a key frame of only one receiver requesting the sender.
  • the last effective key frame is routed to the receiver's technical solution, and the sender no longer regenerates new key frames and routes them to other individuals in the multimedia interworking through the media server.
  • the user terminal solves the problem that the entire network pressure rises due to the use of non-directional routing when a certain key frame is lost in the prior art; and the technical solution of the present invention also considers the actual scenario, in the multimedia intercommunication of the multi-user terminal. If there is only one receiving direction requesting a key frame from the sender, the reason for the request is very large because the single receiver loses the key frame of the sender, and only the key frame requested by it needs to be routed to the single receiver. That is, other user terminals do not need the key frame of the sender, so the technical solution of the present invention can greatly avoid the problem that the subsequent data cannot be parsed while reducing the network pressure.
  • the media server is used to notify the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routing to the other user terminals.
  • the technical solution of updating the last valid key frame of the sender that is cached at the same time can largely guarantee the parsing of subsequent data.
  • the embodiment of the present invention uses the request reason for not receiving more than one receiver requesting a certain sender's key frame at the same time.
  • the differentiated technical solution can further realize directional routing, reduce network pressure, avoid the problem that the whole network pressure rises due to the loss of saved key frames by one or some receivers, and can also largely avoid subsequent data. Unresolved issue.
  • the media server periodically detects the last valid key frame of each user terminal that is cached by the media server, and ensures that the last valid key frame of each user terminal buffered by the media server is always in the Valid state. It should be noted:
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals.
  • Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method for routing a key frame, and a media server. The method of the present invention comprises: a media server caching a last effective key frame of each user terminal; and when a key frame, of which only one receiving party requests a sending party, is received, the media server routing a last effective key frame of the sending party cached by itself to the receiving party. The solution of the present invention can realize directional routing, reduce network pressure, and avoid the problem that the entire network pressure sharply increases caused by one or more certain receiving parties due to the loss of stored key frames.

Description

一种关键帧路由的方法及媒体服务器 技术领域 本发明涉及多媒体技术领域, 特别涉及一种多媒体互通中关键帧路由的方 法及媒体服务器。 发明背景 目前, 随着互联网业务的不断成熟, 以及终端设备性能和网络覆盖的提升, 多媒体技术发展迅速。  The present invention relates to the field of multimedia technologies, and in particular, to a method for routing key frames in a multimedia interworking and a media server. BACKGROUND OF THE INVENTION At present, with the continuous maturity of Internet services and the improvement of terminal equipment performance and network coverage, multimedia technology has developed rapidly.
通常媒体服务器与多用户 (如用户 A、 用户 B、 用户 C和用户 D )进行多 媒体信息交互, 如附图 1所示。 用户 A向用户 B请求关键帧时, 现有技术中用 户 B会通过媒体服务器将用户 A请求的关键帧同时路由至与媒体服务器相连的 用户 B 、 用户 C和用户 D。  Typically, the media server interacts with multiple users (e.g., user A, user B, user C, and user D) as shown in FIG. When user A requests a key frame from user B, in the prior art, user B routes the key frame requested by user A to user B, user C, and user D connected to the media server through the media server.
在实现本发明的过程中, 发明人发现上述现有技术至少存在如下问题: 用户 A向用户 B请求关键帧时,其实此时用户 C和用户 D并不需要用户 B 发送的关键帧, 而媒体服务器无条件的转发(无定向路由)用户 B生成的关键 帧给其他不需要的用户, 会造成传输资源的浪费, 整个网络的网络压力会成倍 的增长。 发明内容 基于上述问题, 本发明实施例提供了一种关键帧路由的方法及媒体服务器, 以解决现有技术中无定向路由造成的网络压力的问题。  In the process of implementing the present invention, the inventor has found that the above prior art has at least the following problems: When user A requests a key frame from user B, in fact, user C and user D do not need the key frame sent by user B, and the media The server unconditionally forwards (non-directional routing) key frames generated by user B to other users, which will cause waste of transmission resources, and the network pressure of the entire network will increase exponentially. SUMMARY OF THE INVENTION Based on the above problems, an embodiment of the present invention provides a method for key frame routing and a media server to solve the problem of network stress caused by non-directional routing in the prior art.
依据本发明的一个方面, 本发明实施例提供了一种关键帧路由的方法, 包 括: 媒体服务器緩存各个用户终端的最后一个有效关键帧; 当接收到只有一个 接收方请求发送方的关键帧时, 媒体服务器将自身緩存的所述发送方的最后一 个有效关键帧路由给所述接收方。  According to an aspect of the present invention, an embodiment of the present invention provides a method for routing a key frame, including: a media server buffering a last valid key frame of each user terminal; when receiving a key frame of only one receiver requesting a sender The media server routes the last valid key frame of the sender that is cached by itself to the receiver.
可选地, 所述方法还包括: 当接收到至少两个接收方请求所述发送方的关 键帧时, 媒体服务器对所述至少两个接收方的请求对应的接收时间进行判断。  Optionally, the method further includes: when receiving, by the at least two receivers, the key frame of the sender, the media server determines a receiving time corresponding to the request of the at least two receivers.
可选地, 所述媒体服务器对所述至少两个接收方的请求对应的接收时间进 行判断之后, 所述方法还包括: 若所述接收时间位于预设时间范围, 媒体服务器通知所述发送方重新生成 新的关键帧, 并在接收到所述发送方重新生成的新的关键帧后路由给其他各个 接收方, 同时更新自身緩存的所述发送方的最后一个有效关键帧。 Optionally, after the determining, by the media server, the receiving time corresponding to the request of the at least two receiving parties, the method further includes: If the receiving time is in the preset time range, the media server notifies the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routing to other recipients, and updating at the same time The last valid keyframe of the sender that is itself cached.
可选地, 所述媒体服务器对所述至少两个接收方的请求对应的接收时间进 行判断之后, 所述方法还包括:  Optionally, after the determining, by the media server, the receiving time corresponding to the request of the at least two receivers, the method further includes:
若所述接收时间超出预设时间范围, 媒体服务器对所述至少两个接收方请 求的原因进行判断;  If the receiving time exceeds the preset time range, the media server determines the reason of the at least two receiver requests;
若请求的原因是一个或多个接收方保存的关键帧丟失, 媒体服务器将自身 緩存的所述发送方的最后一个有效关键帧路由给所述一个或多个接收方;  If the reason for the request is that the key frame saved by one or more receivers is lost, the media server routes the last valid key frame of the sender that is cached by itself to the one or more receivers;
若请求的原因是一个或多个接收方在利用关键帧解码时出现问题, 则媒体 服务器通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重新生成 的新的关键帧后路由给其他各个接收方, 同时更新自身緩存的所述发送方的最 后一个有效关键帧。  If the reason for the request is that one or more recipients have problems in decoding with the key frame, the media server notifies the sender to regenerate a new key frame and receives a new key frame regenerated by the sender It is then routed to the other recipients, while updating the last valid keyframe of the sender that is itself cached.
可选地, 所述方法还包括:  Optionally, the method further includes:
媒体服务器周期性地对自身緩存的各个用户终端的最后一个有效关键帧进 行检测;  The media server periodically detects the last valid key frame of each user terminal that is cached by itself;
若检测出自身緩存的某个用户终端的最后一个有效关键帧已经失效, 则通 知所述用户终端重新生成新的关键帧, 并在接收到所述用户终端重新生成的新 的关键帧后路由给其他各个用户终端, 同时更新自身緩存的所述用户终端的最 后一个有效关键帧。  If it is detected that the last valid key frame of a user terminal that is itself cached has expired, the user terminal is notified to regenerate a new key frame, and after receiving the new key frame regenerated by the user terminal, routing is performed to The other individual user terminals simultaneously update the last valid key frame of the user terminal that is cached by itself.
依据本发明的另一方面, 本发明实施例提供了一种媒体服务器, 包括: 緩存单元, 用于緩存各个用户终端的最后一个有效关键帧; According to another aspect of the present invention, an embodiment of the present invention provides a media server, including: a cache unit, configured to cache a last valid key frame of each user terminal;
第一路由单元, 用于当接收到只有一个接收方请求发送方的关键帧时, 将 所述緩存单元緩存的所述发送方的最后一个有效关键帧路由给所述接收方。  And a first routing unit, configured to: when receiving a key frame of only one receiver requesting the sender, routing the last valid key frame of the sender buffered by the buffer unit to the receiver.
可选地, 媒体服务器还包括: 时间判断单元, 用于当接收到至少两个接收 方请求所述发送方的关键帧时, 对所述至少两个接收方的请求对应的接收时间 进行判断。  Optionally, the media server further includes: a time determining unit, configured to determine, when the at least two receivers request the key frame of the sender, the receiving time corresponding to the request of the at least two receivers.
可选地, 媒体服务器还包括: 第二路由单元, 用于所述对所述至少两个接 收方的请求对应的接收时间进行判断之后, 若所述接收时间位于预设时间范围, 通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重新生成的新的 关键帧后路由给其他各个接收方, 同时更新所述緩存单元緩存的所述发送方的 最后一个有效关键帧。 Optionally, the media server further includes: a second routing unit, configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the The sender regenerates a new keyframe and receives a new regenerated by the sender The key frame is then routed to the other recipients, and the last valid key frame of the sender of the cache unit cache is updated.
可选地, 媒体服务器还包括:  Optionally, the media server further includes:
原因判断单元, 用于所述媒体服务器对所述至少两个接收方的请求对应的 接收时间进行判断之后, 若所述接收时间超出预设时间范围, 对所述至少两个 接收方请求的原因进行判断;  a reason judging unit, configured to determine, after the media server determines a receiving time corresponding to the request of the at least two receiving parties, if the receiving time exceeds a preset time range, the reason for requesting the at least two receiving parties Make judgments;
第三路由单元, 用于若请求的原因是一个或多个接收方保存的关键帧丟失, 将所述緩存单元緩存的所述发送方的最后一个有效关键帧路由给所述一个或多 个接收方;  a third routing unit, configured to: if the request is caused by loss of a key frame saved by one or more receivers, routing the last valid key frame of the sender buffered by the cache unit to the one or more receivers Party
第四路由单元, 用于若请求的原因是一个或多个接收方在利用关键帧解码 时出现问题, 通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重 新生成的新的关键帧后路由给其他各个接收方, 同时更新所述緩存单元緩存的 所述发送方的最后一个有效关键帧。  a fourth routing unit, if the reason for the request is that one or more receivers have problems in decoding with the key frame, notifying the sender to regenerate a new key frame, and receiving the regenerated by the sender The new key frame is then routed to the other recipients, while the last valid key frame of the sender of the cache unit cache is updated.
可选地, 媒体服务器还包括:  Optionally, the media server further includes:
周期检测单元, 用于周期性地对緩存单元緩存的各个用户终端的最后一个 有效关键帧进行检测;  a period detecting unit, configured to periodically detect a last valid key frame of each user terminal buffered by the cache unit;
处理单元, 用于若检测出所述緩存单元緩存的某个用户终端的最后一个有 效关键帧已经失效, 则通知所述用户终端重新生成新的关键帧, 并在接收到所 述用户终端重新生成的新的关键帧后路由给其他各个用户终端, 同时更新所述 緩存单元緩存的所述用户终端的最后一个有效关键帧。  a processing unit, configured to notify the user terminal to regenerate a new key frame if the last valid key frame of a user terminal that is cached by the cache unit is detected to be invalid, and regenerate the user terminal after receiving the user terminal The new key frame is then routed to the other individual user terminals, and the last valid key frame of the user terminal buffered by the cache unit is updated.
本发明的有益效果为: 本发明通过媒体服务器緩存各个用户终端的最后一 个有效关键帧, 当接收到只有一个接收方请求发送方的关键帧时, 媒体服务器 将自身緩存的所述发送方的最后一个有效关键帧路由给该接收方的技术方案, 不再由该发送方重新生成新的关键帧并通过媒体服务器路由给多媒体互通中的 其他各个用户终端, 解决了现有技术中由于某一方关键帧丟失时釆用无定向路 由导致的整个网络压力骤升的问题; 同时本发明的技术方案也考虑到实际场景, 在多用户终端多媒体互通中, 如果只有一个接收方向发送方请求关键帧, 请求 的原因很大情况下是由于该单个接收方丟失了该发送方的关键帧, 此时只需要 将其请求的关键帧路由给该单个接收方即可, 其他用户终端并不需要该发送方 的关键帧, 因此本发明的技术方案在降低了网络压力的同时, 也能够很大程度 上避免后续数据无法解析的问题。 The beneficial effects of the present invention are as follows: The present invention caches the last valid key frame of each user terminal through the media server, and when the key frame of only one receiver requesting the sender is received, the media server caches the last of the senders A technical solution for routing a valid key frame to the receiver, no longer regenerating a new key frame by the sender and routing to other user terminals in the multimedia interworking through the media server, thereby solving the problem in the prior art due to a certain party When the frame is lost, the problem of the entire network pressure rise caused by the non-directional routing is adopted; at the same time, the technical solution of the present invention also considers the actual scenario. In the multimedia interworking of the multi-user terminal, if only one receiving direction requests the key frame, the request is requested. The reason is very large because the single receiver loses the key frame of the sender, and only needs to request the key frame of the request to the single receiver, and other user terminals do not need the sender's Key frames, so the technical solution of the present invention reduces network stress When it is possible to a large extent Avoid problems with subsequent data that cannot be resolved.
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明的技术 手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图简要说明 通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并 不认为是对本发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的 部件。 在附图中:  The above description is only an overview of the technical solutions of the present invention, and the technical means of the present invention can be more clearly understood, and can be implemented in accordance with the contents of the specification, and the above and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below. BRIEF DESCRIPTION OF THE DRAWINGS Various other advantages and benefits will become apparent to those of ordinary skill in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图 1示出了现有技术中多媒体互通中的网络示意图;  FIG. 1 is a schematic diagram of a network in multimedia interworking in the prior art;
图 2 示出了本发明一实施例的一种多媒体互通中关键帧路由的方法的流程 图;  2 is a flow chart showing a method for routing key frames in multimedia interworking according to an embodiment of the present invention;
图 3 示出了本发明另一实施例的一种多媒体互通中关键帧路由的方法的流 程图;  3 is a flow chart showing a method for routing key frames in multimedia interworking according to another embodiment of the present invention;
图 4示出了本发明另一实施例的一种媒体服务器的结构图。 实施本发明的方式 下面将参照附图更详细地描述本公开的示例性实施例。 虽然附图中显示了 本公开的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。 相反, 提供这些实施例是为了能够更透彻地理解本 公开, 并且能够将本公开的范围完整的传达给本领域的技术人员。 本发明的主要技术构思在于, 媒体服务器緩存各个用户终端的最后一个有 效关键帧, 当接收到只有一个接收方请求发送方的关键帧时, 媒体服务器将自 身緩存的所述发送方的最后一个有效关键帧直接路由给该接收方, 而不再由所 述发送方通过媒体服务器将请求的关键帧路由给与媒体服务器相连的其他各个 用户终端。 本发明能够实现定向路由, 减少传输资源的浪费, 降低网络压力, 且能够很大程度上保证后续数据的解析; 在用户终端较多时, 可以显著解决现 有技术中在某一方关键帧丟失时由于无定向路由导致的整个网络压力成几何倍 数骤升的问题。 FIG. 4 is a structural diagram of a media server according to another embodiment of the present invention. Mode for Carrying Out the Invention Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood, and the scope of the disclosure may be fully disclosed to those skilled in the art. The main technical idea of the present invention is that the media server caches the last valid key frame of each user terminal. When receiving a key frame that only one receiver requests the sender, the media server validates the last one of the senders that are cached by itself. The key frame is directly routed to the recipient, and the requested key frame is no longer routed by the sender to the other user terminals connected to the media server through the media server. The invention can realize the directional routing, reduce the waste of the transmission resources, reduce the network pressure, and can largely ensure the analysis of the subsequent data; when there are many user terminals, the prior art can be significantly solved due to the loss of a certain key frame in the prior art. The entire network pressure caused by non-directional routing is geometrically multiplied The number of sudden rises.
根据相应的应用场景, 本发明实施例中与媒体服务器相连的各个用户终端 既可以作为发送方, 也可以作为接收方, 并不做具体限定。  According to the corresponding application scenario, each user terminal connected to the media server in the embodiment of the present invention may be used as a sender or a receiver, and is not specifically limited.
图 2 示出了根据本发明一实施例的一种多媒体互通中关键帧路由的方法的 流程图。 如图 2 所示, 本发明一实施例提供的一种多媒体互通中关键帧路由的 方法, 包括如下步骤:  2 is a flow chart showing a method for routing key frames in multimedia interworking according to an embodiment of the invention. As shown in FIG. 2, a method for routing key frames in multimedia interworking according to an embodiment of the present invention includes the following steps:
S 11、 媒体服务器緩存各个用户终端的最后一个有效关键帧。  S11. The media server caches the last valid key frame of each user terminal.
帧是组成视频图像的基本单位。 关键帧也叫 I帧 (I frame ), 是一个全帧压 缩的编码帧; 解码时仅用 I帧的数据就可重构完整图像; I帧不需要参考其他画 面而生成。 I 帧又称为内部画面 (intra picture) , 通常是每个 GOP ( Group of Pictures,画面组)的第一个帧。一个 GOP就是一组连续的画面,是 MPEG( Moving Pictures Experts Grou , 动态图像专家组) 所使用的一种视频压缩技术。  A frame is the basic unit that makes up a video image. The key frame is also called I frame (I frame ), which is a full frame compressed coded frame; when decoding, only the I frame data can be used to reconstruct the complete image; I frame is generated without reference to other pictures. An I frame is also called an intra picture and is usually the first frame of each GOP (Group of Pictures). A GOP is a set of continuous pictures, a video compression technology used by MPEG (Moving Pictures Experts Grou).
MPEG编码将画面 (即帧)分为 I、 P、 B三种, I是内部编码帧, P是前向 预测帧, B是双向内插帧。 I帧是一个完整的画面, 而 P帧和 B帧记录的是相对 于 I帧的变化。 因为 I帧是后续 P帧和 B帧的参考帧, I帧质量直接影响到同组 中以后各帧的质量, 所以 P帧和 B帧对 I帧具有依赖性, 没有 I帧, P帧和 B帧 就无法解码。 I帧相比较后续的 P帧和 B帧而言, I帧是大图, 所占数据的信息 量比较大。  MPEG encoding divides pictures (i.e., frames) into three types: I, P, and B. I is an internally coded frame, P is a forward predictive frame, and B is a bidirectionally interpolated frame. The I frame is a complete picture, while the P and B frames record changes relative to the I frame. Since the I frame is the reference frame of the subsequent P frame and the B frame, the I frame quality directly affects the quality of the subsequent frames in the same group, so the P frame and the B frame have a dependency on the I frame, and there is no I frame, P frame and B. The frame cannot be decoded. Compared with the subsequent P frame and B frame, the I frame is a large picture, and the amount of information occupied by the I frame is relatively large.
在多媒体互通中, 媒体服务器对与自身相连的各个用户终端的最后一次发 送的有效 I帧进行緩存, 以备转发使用。  In multimedia interworking, the media server caches the last valid I frame sent by each user terminal connected to itself for forwarding.
S12、 当接收到只有一个接收方请求发送方的关键帧时, 媒体服务器将自身 緩存的该发送方的最后一个有效关键帧路由给该接收方。  S12. When receiving a key frame that only one receiver requests the sender, the media server routes the last valid key frame of the sender that is cached by the media server to the receiver.
当用户终端只有两方时, 本发明实施例的关键帧的路由方案与现有技术相 比, 虽然最终都是由媒体服务器将发送方的关键帧路由给接收方, 但不同的是 现有技术中发送方需要重新生成关键帧发送给媒体服务器, 由媒体服务器接收 到该发送方重新生成的关键帧后再路由给接收方; 而本发明实施例是由媒体服 务器将其自身緩存的发送方的最后一个有效关键帧直接路由给接收方。  When the user terminal has only two parties, the routing scheme of the key frame of the embodiment of the present invention is compared with the prior art. Although the media server finally routes the key frame of the sender to the receiver, the difference is the prior art. The sender needs to regenerate the key frame and send it to the media server, and the media server receives the key frame regenerated by the sender and then routes it to the receiver. The embodiment of the present invention is the sender of the media server that caches itself. The last valid keyframe is routed directly to the receiver.
当用户终端多于两方时(大于等于三方),为清楚阐明本发明实施例的方案, 下面以四个用户终端 (用户 A、 用户 B、 用户 C和用户 D )为示例进行说明。  When there are more than two user terminals (three or more parties), in order to clearly clarify the solution of the embodiment of the present invention, four user terminals (User A, User B, User C, and User D) are described below as an example.
当只有用户 A向用户 B请求关键帧时, 现有技术中, 用户 B会将用户 A请 求的关键帧通过媒体服务器同时路由至与媒体服务器相连的用户 B 、 用户 C和 用户 D; 即用户 B的关键帧需要在网络中传输 1+3=4次。 而在本发明实施例中, 媒体服务器只需将自身緩存的用户 B的最后一个有效关键帧发送给用户 A即可, 即用户 B的关键帧只需要在网络中传输 0+1=1次。 可以理解, 当用户终端越多, 本发明实施例的方案降低网络压力的效果越显著。 When only user A requests a key frame from user B, in the prior art, user B simultaneously routes the key frame requested by user A to the user B, user C, and the media server connected to the media server through the media server. User D; that is, user B's key frame needs to be transmitted 1+3=4 times in the network. In the embodiment of the present invention, the media server only needs to send the last valid key frame of the user B that is cached to the user A, that is, the key frame of the user B only needs to transmit 0+1=1 times in the network. It can be understood that the more the user terminals are, the more significant the effect of the solution of the embodiment of the present invention is to reduce the network pressure.
实际上, 在多用户终端多媒体互通中, 如果只有一个接收方向发送方请求 关键帧, 很大情况下是由于该单个接收方自身丟失了该发送方的关键帧, 此时 只需将其请求的该发送方的关键帧路由给该单个接收方即可, 其他用户终端并 不需要该发送方的关键帧。 现有技术的那种无定向路由方案, 不考虑每个用户 终端的实际需要, 一旦有一个接收方请求发送方的关键帧, 即将该发送方重新 生成的关键帧同时路由给媒体服务器相连的各个用户终端, 显然造成了传输资 源的浪费, 导致网络压力会成倍的增长。 尤其是路由的是关键帧 I帧, I帧是大 图, 所占数据的信息量比较大, 将导致由于某一用户终端出现关键帧丟失导致 的整个网络压力骤升的问题。  In fact, in multi-user terminal multimedia intercommunication, if only one receiving direction requests a key frame from the sender, it is often because the single receiver itself loses the key frame of the sender, and only needs to request it. The sender's key frame is routed to the single receiver, and other user terminals do not need the sender's key frame. The non-directional routing scheme of the prior art does not consider the actual needs of each user terminal. Once a receiver requests a key frame of the sender, the key frame regenerated by the sender is simultaneously routed to each of the media servers. The user terminal obviously causes a waste of transmission resources, which causes the network pressure to increase exponentially. In particular, the routing is the key frame I frame, the I frame is a large picture, and the amount of information occupied by the data is relatively large, which will cause the entire network pressure to rise due to the loss of key frames in a certain user terminal.
本发明方法实施例釆用了媒体服务器緩存各个用户终端的最后一个有效关 键帧, 当接收到只有一个接收方请求发送方的关键帧时, 媒体服务器将自身緩 存的所述发送方的最后一个有效关键帧直接路由给该接收方的方案, 可以实现 定向路由, 减少传输资源的浪费, 解决了现有技术中由于某一方关键帧丟失时 釆用无定向路由导致的整个网络压力骤升的问题, 且在显著降低网络压力的同 时, 也能够很大程度上避免后续数据无法解析的问题。 关键帧的发送有两种, 一种是接收方请求关键帧, 一种是发送方主动发送 关键帧; 本发明主要处理的是接收方请求关键帧的情况。 接收方请求关键帧的 原因主要有两种, 一种是关键帧丟失, 这种情况很常见; 再一种是利用关键帧 解码时出现问题, 例如 P帧在利用 I帧还原出现了错误。  The method embodiment of the present invention uses the media server to cache the last valid key frame of each user terminal. When receiving only one key frame of the receiver requesting the sender, the media server validates the last one of the senders that are cached by itself. The key frame is directly routed to the receiver, which can implement directional routing, reduce the waste of transmission resources, and solve the problem that the entire network pressure rises due to the use of non-directional routing when a certain key frame is lost in the prior art. And while significantly reducing network pressure, it can also largely avoid the problem that subsequent data cannot be parsed. There are two types of key frame transmission. One is that the receiver requests a key frame, and the other is that the sender actively transmits the key frame. The present invention mainly deals with the case where the receiver requests a key frame. There are two main reasons why the receiver requests key frames. One is the loss of key frames. This is common. The other is that there are problems when decoding key frames. For example, P frames have errors in using I frame restoration.
基于上述说明, 图 3 示出了根据本发明另一实施例的一种多媒体互通中关 键帧路由的方法的流程图。 如图 3 所示, 本发明另一实施例提供的一种多媒体 互通中关键帧路由的方法, 包括如下步骤:  Based on the above description, FIG. 3 shows a flow chart of a method for routing key frames in multimedia interworking according to another embodiment of the present invention. As shown in FIG. 3, a method for routing key frames in multimedia interworking according to another embodiment of the present invention includes the following steps:
S31、 媒体服务器緩存各个用户终端的最后一个有效关键帧。  S31. The media server caches the last valid key frame of each user terminal.
532、 媒体服务器接收到至少两个接收方请求发送方的关键帧的请求。  532. The media server receives a request for at least two recipients to request a key frame of the sender.
533、 媒体服务器对该至少两个接收方的请求对应的接收时间进行判断, 若 该接收时间位于预设时间范围 ,转入步骤 S35;若该接收时间超出预设时间范围 , 转入步骤 S34。 533. The media server determines, according to the receiving time corresponding to the request of the at least two receivers, if the receiving time is in the preset time range, the process goes to step S35; if the receiving time exceeds the preset time range, Go to step S34.
具体的, 媒体服务器判断该接收时间是否在预设时间范围内, 其中该预设 时间范围优选可以为 [0, 500ms], 但是并不局限于此。  Specifically, the media server determines whether the receiving time is within a preset time range, wherein the preset time range is preferably [0, 500 ms], but is not limited thereto.
若该接收时间位于预设时间范围, 则可以视为同时接收到该至少两个接收 方的请求。  If the receiving time is within the preset time range, it may be considered that the request of the at least two recipients is received simultaneously.
若该接收时间超出预设时间范围, 则可以视为不同时间接收到该至少两个 接^:方的请求。  If the receiving time exceeds the preset time range, it may be considered that the request of the at least two parties is received at different times.
例如, 媒体服务器接收到用户 A、 用户 C和用户 D都请求用户 B的关键帧 时, 媒体服务器首先对接收到用户 A、 用户 C和用户 D三个请求的接收时间进 行判断, 若三个请求的接收时间集中在 Is的时间范围内, 则视为同时接收到这 三个请求; 若接收时间超出 Is的时间范围,则视为不是同时接收到这三个请求。  For example, when the media server receives the key frame of user A, user C, and user D requesting user B, the media server first determines the receiving time of receiving three requests of user A, user C, and user D, if three requests If the receiving time is concentrated in the time range of Is, it is considered that the three requests are received at the same time; if the receiving time exceeds the time range of Is, it is considered that the three requests are not received at the same time.
534、 媒体服务器对该至少两个接收方的请求的原因进行判断, 若请求的原 因是一个或多个接收方在利用关键帧解码时出现问题, 则转入步骤 S35; 若请求 的原因是一个或多个接收方保存的关键帧丟失, 转入步骤 S36。  534. The media server determines the cause of the request of the at least two receivers. If the reason of the request is that one or more receivers have problems in decoding by using the key frame, proceed to step S35; if the reason for the request is one Or the key frames saved by the plurality of receivers are lost, and the process proceeds to step S36.
当确定出不同时接收到至少两个接收方请求同一发送方的关键帧时, 媒体 服务器将进一步对该至少两个接收方的请求的原因进行分析判断。  When it is determined that the at least two receivers request the key frame of the same sender, the media server further analyzes and determines the cause of the request of the at least two receivers.
这是因为在多个接收方请求同一发送方的关键帧的时间跨度较大时, 请求 原因很有可能是出于多种, 例如部分接收方是由于保存的关键帧丟失而请求的, 或者部分接收方是发现在利用现有关键帧解码时出现了问题。 本发明实施例对 不同时接收到至少两个接收方请求同一发送方的关键帧的请求原因进行区分, 能够进一步实现定向路由, 降低网络压力, 避免某一或者某些接收方由于保存 的关键帧丟失导致的整个网络压力骤升的问题。  This is because when multiple receivers request a time span of the same sender's key frame, the reason for the request is likely to be multiple, for example, part of the receiver is requested due to the loss of the saved key frame, or part of it. The receiver was found to have problems using existing keyframe decoding. The embodiment of the present invention distinguishes the request reason that at least two receivers request the key frame of the same sender at the same time, can further implement directional routing, reduce network pressure, and avoid one or some receivers from saving key frames. Loss caused by the sudden increase in network pressure.
在本实施例的一种实现方式中, 可以将接收方请求的原因包含在请求中, 或者媒体服务器可以根据接收到的请求进行分析得到接收方请求的原因, 本发 明实施例并不局限于此, 在此不再赘述。  In an implementation manner of this embodiment, the reason for the request of the receiver may be included in the request, or the media server may perform the analysis according to the received request to obtain the request of the receiver, and the embodiment of the present invention is not limited thereto. , will not repeat them here.
535、 媒体服务器通知该发送方重新生成新的关键帧, 并在接收到该发送方 重新生成的新的关键帧后路由给其他各个用户终端, 同时更新自身緩存的该发 送方的最后一个有效关键帧。  535. The media server notifies the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routes to each of the other user terminals, and simultaneously updates the last valid key of the sender that is cached by itself. frame.
536、媒体服务器将自身緩存的所述发送方的最后一个有效关键帧路由给这 一个或多个接收方。  536. The media server routes the last valid key frame of the sender that is cached by itself to the one or more receivers.
当多个接收方同时向一个发送方请求关键帧时, 说明多个接收方都需要该 发送方的关键帧, 此时很大可能性是由于这些接收方在利用该发送方的关键帧 解码时出现了问题, 此时需要由该接收方生成新的关键帧并由媒体服务器路由 给其他各个用户终端, 同时更新自身緩存的该发送方的最后一个有效关键帧。 When multiple receivers request a key frame from a sender at the same time, it means that multiple receivers need the The key frame of the sender, at this time, the great possibility is that these receivers have problems in decoding the key frame of the sender, and it is necessary for the receiver to generate a new key frame and route it to the other by the media server. Each user terminal simultaneously updates the last valid key frame of the sender that is itself cached.
在本发明实施例中, 媒体服务器对多于一个接收方请求同一个接收方的接 收时间进行判断相当有必要。 这是因为: 如果用户 A、 用户 C和用户 D同时向 用户 B请求关键帧, 那么无论多么同时, 用户 B都将先后的收到三个请求。  In the embodiment of the present invention, it is quite necessary for the media server to determine the reception time of more than one recipient requesting the same recipient. This is because: If User A, User C, and User D request key frames from User B at the same time, User B will receive three requests in succession at the same time.
如果按照现有技术用户 B会连续生成三个关键帧然后由媒体服务器依次同 时路由给用户 A、 用户 C和用户 D; 即釆用现有技术的方案, 用户 B的关键帧 需要在网络中传输( 1+3 ) *3=12次。  According to the prior art, user B continuously generates three key frames and then routes them to user A, user C, and user D simultaneously by the media server; that is, using the prior art scheme, user B's key frames need to be transmitted in the network. (1+3) *3=12 times.
如果依照本发明实施例的方案, 媒体服务器接收到这三个请求的接收时间 集中在一定时间范围内,将视为同时接收到这三个请求,则仅需通知一次用户 B 重新生成关键帧, 然后由媒体服务器同时路由给用户 A、 用户 C和用户 D; 即 用户 B的关键帧只需要在网络中传输(1+3 ) *1=4次。  According to the solution of the embodiment of the present invention, if the receiving time of the media server receiving the three requests is concentrated within a certain time range, it will be regarded as receiving the three requests at the same time, and only the user B needs to be notified once to regenerate the key frame. Then, the media server simultaneously routes to user A, user C, and user D; that is, user B's key frame only needs to be transmitted in the network (1+3) *1=4 times.
在本发明的一个实施例中, 为避免媒体服务器由于緩存的某个发送方的最 后一个有效关键帧失效, 将导致其他接收方利用该关键帧解码时出现问题, 媒 体服务器会周期性地对自身緩存的各个用户终端的最后一个有效关键帧进行检 测, 若检测出某用户终端的最后一个有效关键帧已经失效, 则通知该用户终端 重新生成新的关键帧, 并在接收到该用户终端重新生成的新的关键帧后路由给 其他各个用户终端, 同时更新自身緩存的该用户终端的最后一个有效关键帧。 该发明方法实施例可以保证媒体服务器緩存的各个用户终端的最后一个有效关 键帧始终处于有效状态。 基于与上述方法相同的发明构思, 图 4示出了根据本发明另一实施例的一 种媒体服务器的结构图。 如图 4所示, 本发明另一实施例提供的一种媒体服务 器 400, 包括:  In an embodiment of the present invention, in order to prevent the media server from failing due to the last valid key frame of a certain sender of the cache, the other server will cause problems when decoding the key frame, and the media server periodically periodically The last valid key frame of each user terminal that is cached is detected. If it is detected that the last valid key frame of a user terminal has expired, the user terminal is notified to regenerate a new key frame, and the user terminal is regenerated after receiving the user terminal. The new key frame is then routed to each of the other user terminals, and the last valid key frame of the user terminal that is cached by itself is updated. The embodiment of the inventive method can ensure that the last valid key frame of each user terminal buffered by the media server is always in a valid state. Based on the same inventive concept as the above method, FIG. 4 shows a structural diagram of a media server according to another embodiment of the present invention. As shown in FIG. 4, a media server 400 according to another embodiment of the present invention includes:
緩存单元 410, 用于緩存各个用户终端的最后一个有效关键帧;  The buffer unit 410 is configured to cache the last valid key frame of each user terminal;
第一路由单元 420 , 用于当接收到只有一个接收方请求发送方的关键帧时, 将所述緩存单元 410緩存的所述发送方的最后一个有效关键帧路由给所述接收 方。  The first routing unit 420 is configured to, when receiving a key frame that only one receiver requests the sender, route the last valid key frame of the sender buffered by the buffer unit 410 to the receiver.
一种实施方式中, 本发明实施例提供的媒体服务器 400, 还包括:  In an embodiment, the media server 400 provided by the embodiment of the present invention further includes:
时间判断单元, 用于当接收到至少两个接收方请求所述发送方的关键帧时, 对所述至少两个接收方的请求对应的接收时间进行判断。 a time judging unit, configured to: when receiving at least two recipients requesting a key frame of the sender, The receiving time corresponding to the request of the at least two recipients is determined.
进一步地, 本发明实施例提供的媒体服务器 400, 还包括:  Further, the media server 400 provided by the embodiment of the present invention further includes:
第二路由单元, 用于所述对所述至少两个接收方的请求对应的接收时间进 行判断之后, 若所述接收时间位于预设时间范围, 通知所述发送方重新生成新 的关键帧, 并在接收到所述发送方重新生成的新的关键帧后路由给其他各个接 收方, 同时更新所述緩存单元緩存的所述发送方的最后一个有效关键帧。  a second routing unit, configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the sender to regenerate a new key frame, And after receiving the new key frame regenerated by the sender, routing to the other recipients, and simultaneously updating the last valid key frame of the sender of the cache unit cache.
在另一实施方式中, 本发明实施例提供的媒体服务器 400, 还包括: 原因判断单元, 用于所述媒体服务器对所述至少两个接收方的请求对应的 接收时间进行判断之后, 若所述接收时间超出预设时间范围, 对所述至少两个 接收方请求的原因进行判断;  In another embodiment, the media server 400 according to the embodiment of the present invention further includes: a reason determining unit, configured to determine, by the media server, a receiving time corresponding to the request of the at least two receiving parties, Determining, by the preset time range, the reason for the request of the at least two receivers;
第三路由单元, 用于若请求的原因是一个或多个接收方保存的关键帧丟失, 将所述緩存单元緩存的所述发送方的最后一个有效关键帧路由给所述一个或多 个接收方;  a third routing unit, configured to: if the request is caused by loss of a key frame saved by one or more receivers, routing the last valid key frame of the sender buffered by the cache unit to the one or more receivers Party
第四路由单元, 用于若请求的原因是一个或多个接收方在利用关键帧解码 时出现问题, 通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重 新生成的新的关键帧后路由给其他各个接收方, 同时更新所述緩存单元緩存的 所述发送方的最后一个有效关键帧。  a fourth routing unit, if the reason for the request is that one or more receivers have problems in decoding with the key frame, notifying the sender to regenerate a new key frame, and receiving the regenerated by the sender The new key frame is then routed to the other recipients, while the last valid key frame of the sender of the cache unit cache is updated.
优选地, 再一实施方式中, 本发明实施例提供的媒体服务器 400, 还包括: 周期检测单元, 用于周期性地对緩存单元緩存的各个用户终端的最后一个 有效关键帧进行检测;  Preferably, in another embodiment, the media server 400 according to the embodiment of the present invention further includes: a period detecting unit, configured to periodically detect, on a last valid key frame of each user terminal buffered by the cache unit;
处理单元, 用于若检测出所述緩存单元緩存的某个用户终端的最后一个有 效关键帧已经失效, 则通知所述用户终端重新生成新的关键帧, 并在接收到所 述用户终端重新生成的新的关键帧后路由给其他各个用户终端, 同时更新所述 緩存单元緩存的所述用户终端的最后一个有效关键帧。  a processing unit, configured to notify the user terminal to regenerate a new key frame if the last valid key frame of a user terminal that is cached by the cache unit is detected to be invalid, and regenerate the user terminal after receiving the user terminal The new key frame is then routed to the other individual user terminals, and the last valid key frame of the user terminal buffered by the cache unit is updated.
本发明产品实施例的媒体服务器中各单元的具体工作方式, 可以参见上述 本发明方法实施例中的相关内容, 在此不再赘述。 综上所述, 根据本发明的一种媒体服务器, 通过緩存各个用户终端的最后 一个有效关键帧, 当接收到只有一个接收方请求发送方的关键帧时, 将自身緩 存的所述发送方的最后一个有效关键帧路由给该接收方的技术方案, 不再由该 发送方重新生成新的关键帧并通过媒体服务器路由给多媒体互通中的其他各个 用户终端, 解决了现有技术中由于某一方关键帧丟失时釆用无定向路由导致的 整个网络压力骤升的问题; 同时本发明的技术方案也考虑到实际场景, 在多用 户终端多媒体互通中, 如果只有一个接收方向发送方请求关键帧, 请求的原因 很大情况下是由于该单个接收方丟失了该发送方的关键帧, 此时只需要将其请 求的关键帧路由给该单个接收方即可, 其他用户终端并不需要该发送方的关键 帧, 因此本发明的技术方案在降低了网络压力的同时, 也能够很大程度上避免 后续数据无法解析的问题。 For the specific working mode of each unit in the media server of the embodiment of the present invention, refer to the related content in the foregoing method embodiment of the present invention, and details are not described herein again. In summary, a media server according to the present invention caches the sender of the sender by buffering the last valid key frame of each user terminal and receiving a key frame of only one receiver requesting the sender. The last effective key frame is routed to the receiver's technical solution, and the sender no longer regenerates new key frames and routes them to other individuals in the multimedia interworking through the media server. The user terminal solves the problem that the entire network pressure rises due to the use of non-directional routing when a certain key frame is lost in the prior art; and the technical solution of the present invention also considers the actual scenario, in the multimedia intercommunication of the multi-user terminal. If there is only one receiving direction requesting a key frame from the sender, the reason for the request is very large because the single receiver loses the key frame of the sender, and only the key frame requested by it needs to be routed to the single receiver. That is, other user terminals do not need the key frame of the sender, so the technical solution of the present invention can greatly avoid the problem that the subsequent data cannot be parsed while reducing the network pressure.
进一步地, 当多个接收方同时向一个发送方请求关键帧时, 说明多个接收 方都需要该发送方的关键帧, 此时很大可能性是由于这些接收方在利用该发送 方的关键帧解码时出现了问题, 本发明实施例釆用媒体服务器通知所述发送方 重新生成新的关键帧, 并在接收到所述发送方重新生成的新的关键帧后路由给 其他各个用户终端, 同时更新自身緩存的该发送方的最后一个有效关键帧的技 术方案, 能够很大程度上保证后续数据的解析。  Further, when multiple receivers request a key frame from one sender at the same time, it is indicated that multiple receivers need the key frame of the sender, and the possibility is that the receiver is using the key of the sender. A problem occurs in the frame decoding. In the embodiment of the present invention, the media server is used to notify the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routing to the other user terminals. The technical solution of updating the last valid key frame of the sender that is cached at the same time can largely guarantee the parsing of subsequent data.
进一步地, 当不同时接收到多于一个接收方请求所述发送方的关键帧时, 本发明实施例釆用对不同时接收到多于一个接收方请求某个发送方的关键帧的 请求原因进行区分的技术方案, 能够进一步实现定向路由, 降低网络压力, 避 免某一或者某些接收方由于保存的关键帧丟失导致的整个网络压力骤升的问 题, 同时也能够很大程度上避免后续数据无法解析的问题。  Further, when different key receivers requesting the sender's key frame are not received at the same time, the embodiment of the present invention uses the request reason for not receiving more than one receiver requesting a certain sender's key frame at the same time. The differentiated technical solution can further realize directional routing, reduce network pressure, avoid the problem that the whole network pressure rises due to the loss of saved key frames by one or some receivers, and can also largely avoid subsequent data. Unresolved issue.
进一步地, 本发明实施例釆用媒体服务器周期性地对自身緩存的各个用户 终端的最后一个有效关键帧进行检测的技术方案, 可以保证媒体服务器緩存的 各个用户终端的最后一个有效关键帧始终处于有效状态。 需要说明的是:  Further, in the embodiment of the present invention, the media server periodically detects the last valid key frame of each user terminal that is cached by the media server, and ensures that the last valid key frame of each user terminal buffered by the media server is always in the Valid state. It should be noted:
本发明的各个部件实施例可以以硬件实现, 或者以在一个或者多个处理器 上运行的软件模块实现, 或者以它们的组合实现。 本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器( DSP )来实现根据本发明实施 例中的一些或者全部部件的一些或者全部功能。 本发明还可以实现为用于执行 这里所描述的方法的一部分或者全部的设备或者装置程序 (例如, 计算机程序 和计算机程序产品)。 这样的实现本发明的程序可以存储在计算机可读介质上, 或者可以具有一个或者多个信号的形式。 这样的信号可以从因特网网站上下载 得到, 或者在载体信号上提供, 或者以任何其他形式提供。 本文中所称的 "一个实施例"、 "实施例" 或者 "一个或者多个实施例" 意 味着, 结合实施例描述的特定特征、 结构或者特性包括在本发明的至少一个实 施例中。 此外, 请注意, 这里 "在一个实施例中" 的词语例子不一定全指同一 个实施例。 The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form. "One embodiment," or "an embodiment," or "one or more embodiments" as used herein means that the particular features, structures, or characteristics described in connection with the embodiments are included in at least one embodiment of the invention. In addition, it is noted that the phrase "in one embodiment" herein does not necessarily refer to the same embodiment.
此外, 还应当注意, 本说明书中使用的语言主要是为了可读性和教导的目 的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏 离所附权利要求书的范围和精神的情况下, 对于本技术领域的普通技术人员来 说许多修改和变更都是显而易见的。 对于本发明的范围, 对本发明所做的公开 是说明性的, 而非限制性的, 本发明的范围由所附权利要求书限定。  In addition, it should be noted that the language used in the specification has been selected for the purpose of reading and teaching, and is not intended to explain or limit the subject matter of the present invention. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims

权利要求书 Claim
1、 一种关键帧路由的方法, 其特征在于, 所述方法包括: A method for routing a key frame, the method comprising:
媒体服务器緩存各个用户终端的最后一个有效关键帧;  The media server caches the last valid key frame of each user terminal;
当接收到只有一个接收方请求发送方的关键帧时, 媒体服务器将自身緩存 的所述发送方的最后一个有效关键帧路由给所述接收方。  When a key frame is received that only one recipient requests the sender, the media server routes the last valid key frame of the sender that it caches to the recipient.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当接收到至少两个接收方请求所述发送方的关键帧时, 媒体服务器对所述 至少两个接收方的请求对应的接收时间进行判断。  2. The method according to claim 1, wherein the method further comprises: when receiving at least two recipients requesting a key frame of the sender, the media server is to the at least two receivers The corresponding reception time is requested to be judged.
3、 根据权利要求 2所述的方法, 其特征在于, 所述媒体服务器对所述至少 两个接收方的请求对应的接收时间进行判断之后, 所述方法还包括:  The method according to claim 2, wherein, after the media server determines the receiving time corresponding to the request of the at least two receivers, the method further includes:
若所述接收时间位于预设时间范围, 媒体服务器通知所述发送方重新生成 新的关键帧, 并在接收到所述发送方重新生成的新的关键帧后路由给其他各个 接收方, 同时更新自身緩存的所述发送方的最后一个有效关键帧。  If the receiving time is in the preset time range, the media server notifies the sender to regenerate a new key frame, and after receiving the new key frame regenerated by the sender, routing to other recipients, and updating at the same time The last valid keyframe of the sender that is itself cached.
4、 根据权利要求 2所述的方法, 其特征在于, 所述媒体服务器对所述至少 两个接收方的请求对应的接收时间进行判断之后, 所述方法还包括:  The method according to claim 2, wherein, after the media server determines the receiving time corresponding to the request of the at least two receivers, the method further includes:
若所述接收时间超出预设时间范围, 媒体服务器对所述至少两个接收方请 求的原因进行判断;  If the receiving time exceeds the preset time range, the media server determines the reason of the at least two receiver requests;
若请求的原因是一个或多个接收方保存的关键帧丟失, 媒体服务器将自身 緩存的所述发送方的最后一个有效关键帧路由给所述一个或多个接收方;  If the reason for the request is that the key frame saved by one or more receivers is lost, the media server routes the last valid key frame of the sender that is cached by itself to the one or more receivers;
若请求的原因是一个或多个接收方在利用关键帧解码时出现问题, 则媒体 服务器通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重新生成 的新的关键帧后路由给其他各个接收方, 同时更新自身緩存的所述发送方的最 后一个有效关键帧。  If the reason for the request is that one or more recipients have problems in decoding with the key frame, the media server notifies the sender to regenerate a new key frame and receives a new key frame regenerated by the sender It is then routed to the other recipients, while updating the last valid keyframe of the sender that is itself cached.
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 所述方法还包括: 媒体服务器周期性地对自身緩存的各个用户终端的最后一个有效关键帧进 行检测;  The method according to any one of claims 1-4, wherein the method further comprises: the media server periodically detecting the last valid key frame of each user terminal that is cached by itself;
若检测出自身緩存的某个用户终端的最后一个有效关键帧已经失效, 则通 知所述用户终端重新生成新的关键帧, 并在接收到所述用户终端重新生成的新 的关键帧后路由给其他各个用户终端, 同时更新自身緩存的所述用户终端的最 后一个有效关键帧。 If it is detected that the last valid key frame of a user terminal that is itself cached has expired, the user terminal is notified to regenerate a new key frame, and after receiving the new key frame regenerated by the user terminal, routing is performed to The other individual user terminals simultaneously update the last valid key frame of the user terminal that is cached by itself.
6、 一种媒体服务器, 其特征在于, 包括: 6. A media server, comprising:
緩存单元, 用于緩存各个用户终端的最后一个有效关键帧;  a cache unit, configured to cache a last valid key frame of each user terminal;
第一路由单元, 用于当接收到只有一个接收方请求发送方的关键帧时, 将 所述緩存单元緩存的所述发送方的最后一个有效关键帧路由给所述接收方。  And a first routing unit, configured to: when receiving a key frame of only one receiver requesting the sender, routing the last valid key frame of the sender buffered by the buffer unit to the receiver.
7、 根据权利要求 6所述的媒体服务器, 其特征在于, 还包括:  The media server according to claim 6, further comprising:
时间判断单元, 用于当接收到至少两个接收方请求所述发送方的关键帧时, 对所述至少两个接收方的请求对应的接收时间进行判断。  The time judging unit is configured to determine, when the at least two receivers request the key frame of the sender, the receiving time corresponding to the request of the at least two receivers.
8、 根据权利要求 7所述的媒体服务器, 其特征在于, 还包括:  The media server according to claim 7, further comprising:
第二路由单元, 用于所述对所述至少两个接收方的请求对应的接收时间进 行判断之后, 若所述接收时间位于预设时间范围, 通知所述发送方重新生成新 的关键帧, 并在接收到所述发送方重新生成的新的关键帧后路由给其他各个接 收方, 同时更新所述緩存单元緩存的所述发送方的最后一个有效关键帧。  a second routing unit, configured to: after the receiving time corresponding to the request of the at least two receivers is determined, if the receiving time is in a preset time range, notify the sender to regenerate a new key frame, And after receiving the new key frame regenerated by the sender, routing to the other recipients, and simultaneously updating the last valid key frame of the sender of the cache unit cache.
9、 根据权利要求 7所述的媒体服务器, 其特征在于, 还包括:  9. The media server according to claim 7, further comprising:
原因判断单元, 用于所述媒体服务器对所述至少两个接收方的请求对应的 接收时间进行判断之后, 若所述接收时间超出预设时间范围, 对所述至少两个 接收方请求的原因进行判断;  a reason judging unit, configured to determine, after the media server determines a receiving time corresponding to the request of the at least two receiving parties, if the receiving time exceeds a preset time range, the reason for requesting the at least two receiving parties Make judgments;
第三路由单元, 用于若请求的原因是一个或多个接收方保存的关键帧丟失, 将所述緩存单元緩存的所述发送方的最后一个有效关键帧路由给所述一个或多 个接收方;  a third routing unit, configured to: if the request is caused by loss of a key frame saved by one or more receivers, routing the last valid key frame of the sender buffered by the cache unit to the one or more receivers Party
第四路由单元, 用于若请求的原因是一个或多个接收方在利用关键帧解码 时出现问题, 通知所述发送方重新生成新的关键帧, 并在接收到所述发送方重 新生成的新的关键帧后路由给其他各个接收方, 同时更新所述緩存单元緩存的 所述发送方的最后一个有效关键帧。  a fourth routing unit, if the reason for the request is that one or more receivers have problems in decoding with the key frame, notifying the sender to regenerate a new key frame, and receiving the regenerated by the sender The new key frame is then routed to the other recipients, while the last valid key frame of the sender of the cache unit cache is updated.
10、 根据权利要求 6-9任一项所述的媒体服务器, 其特征在于, 还包括: 周期检测单元, 用于周期性地对緩存单元緩存的各个用户终端的最后一个 有效关键帧进行检测;  The media server according to any one of claims 6-9, further comprising: a period detecting unit, configured to periodically detect a last valid key frame of each user terminal buffered by the buffer unit;
处理单元, 用于若检测出所述緩存单元緩存的某个用户终端的最后一个有 效关键帧已经失效, 则通知所述用户终端重新生成新的关键帧, 并在接收到所 述用户终端重新生成的新的关键帧后路由给其他各个用户终端, 同时更新所述 緩存单元緩存的所述用户终端的最后一个有效关键帧。  a processing unit, configured to notify the user terminal to regenerate a new key frame if the last valid key frame of a user terminal that is cached by the cache unit is detected to be invalid, and regenerate the user terminal after receiving the user terminal The new key frame is then routed to the other individual user terminals, and the last valid key frame of the user terminal buffered by the cache unit is updated.
PCT/CN2014/080968 2014-06-27 2014-06-27 Method for routing key frame and media server WO2015196457A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/080968 WO2015196457A1 (en) 2014-06-27 2014-06-27 Method for routing key frame and media server
CN201480010649.XA CN105519121B (en) 2014-06-27 2014-06-27 A kind of method and media server of key frame routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/080968 WO2015196457A1 (en) 2014-06-27 2014-06-27 Method for routing key frame and media server

Publications (1)

Publication Number Publication Date
WO2015196457A1 true WO2015196457A1 (en) 2015-12-30

Family

ID=54936518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080968 WO2015196457A1 (en) 2014-06-27 2014-06-27 Method for routing key frame and media server

Country Status (2)

Country Link
CN (1) CN105519121B (en)
WO (1) WO2015196457A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798734A (en) * 2018-08-02 2020-02-14 广州视源电子科技股份有限公司 Video frame caching and forwarding method and device and computer equipment
CN110636333A (en) * 2019-08-19 2019-12-31 西安万像电子科技有限公司 Frame loss processing method and device
CN113965714B (en) * 2021-09-10 2023-06-23 北京百度网讯科技有限公司 Video stream processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132521A (en) * 2007-09-25 2008-02-27 华为技术有限公司 Method and device for switching IPTV channels
US20080100694A1 (en) * 2006-10-27 2008-05-01 Microsoft Corporation Distributed caching for multimedia conference calls
CN102291561A (en) * 2010-06-18 2011-12-21 微软公司 Reducing use of periodic key frames in video conferencing
US20130106984A1 (en) * 2011-11-02 2013-05-02 Cisco Technology, Inc. Techniques for performing key frame requests in media servers and endpoint devices

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060114080A (en) * 2005-04-27 2006-11-06 삼성전자주식회사 System and method of providing multimedia streaming service
CN101742271B (en) * 2008-11-10 2012-09-05 华为技术有限公司 Method, system and device for transmitting stream media data
CN102118653B (en) * 2009-12-31 2012-12-26 华为技术有限公司 Method and device for ensuring service quality of live broadcast of web television
CN103533387B (en) * 2013-10-21 2016-08-17 腾讯科技(深圳)有限公司 A kind of live video control, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080100694A1 (en) * 2006-10-27 2008-05-01 Microsoft Corporation Distributed caching for multimedia conference calls
CN101132521A (en) * 2007-09-25 2008-02-27 华为技术有限公司 Method and device for switching IPTV channels
CN102291561A (en) * 2010-06-18 2011-12-21 微软公司 Reducing use of periodic key frames in video conferencing
US20130106984A1 (en) * 2011-11-02 2013-05-02 Cisco Technology, Inc. Techniques for performing key frame requests in media servers and endpoint devices

Also Published As

Publication number Publication date
CN105519121A (en) 2016-04-20
CN105519121B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US20180262815A1 (en) Video processing method and apparatus, and computer storage medium
KR101398319B1 (en) Real-time video detector
KR101739821B1 (en) Methods for error concealment due to enhancement layer packet loss in scalable video coding (svc) decoding
KR20180031547A (en) Method and apparatus for adaptively providing multiple bit rate stream media in server
US20120263241A1 (en) Real-Time Audio or Video Transcoding
EP3345392B1 (en) Video coding
CN108141581B (en) Video coding
KR20160139020A (en) Broadcast and broadband hybrid service with mmt and dash
US8189492B2 (en) Error recovery in an audio-video multipoint control component
JP2010520665A5 (en)
WO2015120766A1 (en) Video optimisation system and method
WO2015061083A1 (en) Adapting a jitter buffer
WO2012167558A1 (en) Method, terminal, server and system for playing media file
US10778354B1 (en) Asynchronous enhancement of multimedia segments using input quality metrics
US10560215B1 (en) Quality control service using input quality metrics
WO2015196457A1 (en) Method for routing key frame and media server
JP5344541B2 (en) Data transmission apparatus, transmission method and program
JP2014509159A (en) Number of active layers for video coding signaling
US20150172689A1 (en) Decoding Frames
JP2013051565A (en) Communication terminal device, communication control method, and communication control program
TWI573448B (en) Streaming connection management method and system
US11334979B2 (en) System and method to detect macroblocking in images
US11409415B1 (en) Frame interpolation for media streaming
CN105359485B (en) Method for obtaining content parts of multimedia content by a client terminal
WO2018161790A1 (en) Video transmission method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14896237

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14896237

Country of ref document: EP

Kind code of ref document: A1