[go: up one dir, main page]

CN101626385B - media service method and system - Google Patents

media service method and system Download PDF

Info

Publication number
CN101626385B
CN101626385B CN200910164084.1A CN200910164084A CN101626385B CN 101626385 B CN101626385 B CN 101626385B CN 200910164084 A CN200910164084 A CN 200910164084A CN 101626385 B CN101626385 B CN 101626385B
Authority
CN
China
Prior art keywords
media
edge node
user equipment
url
node
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.)
Expired - Fee Related
Application number
CN200910164084.1A
Other languages
Chinese (zh)
Other versions
CN101626385A (en
Inventor
王德超
熊勤
王印龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910164084.1A priority Critical patent/CN101626385B/en
Publication of CN101626385A publication Critical patent/CN101626385A/en
Priority to PCT/CN2010/073950 priority patent/WO2011017976A1/en
Application granted granted Critical
Publication of CN101626385B publication Critical patent/CN101626385B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1046Call controllers; Call servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种媒体服务方法及系统,该方法包括:边缘节点接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源;边缘节点判断其能否为用户设备提供媒体资源;边缘节点在判断结果为否的情况下,向中心节点发送请求消息;边缘节点接收来自中心节点响应于请求消息的媒体资源,并将媒体资源发送给用户设备。通过本发明优化了系统的资源共享能力,提高了用户体验的效果。

The invention discloses a media service method and system. The method comprises: an edge node receives a media service request from a user equipment, wherein the media service request is used to request media resources; the edge node judges whether it can provide the user equipment with media resources ; If the judgment result is negative, the edge node sends a request message to the central node; the edge node receives the media resource from the central node in response to the request message, and sends the media resource to the user equipment. The invention optimizes the resource sharing capability of the system and improves the effect of user experience.

Description

媒体服务方法及系统Media service method and system

技术领域 technical field

本发明涉及通信领域,具体而言,涉及一种媒体服务方法及系统。The present invention relates to the communication field, in particular, to a media service method and system.

背景技术 Background technique

移动流媒体技术是把连续的声音和影像信息经过采集、压缩处理后存储到网络服务器上,使移动终端用户能够一边下载一边收听、观看,而不需要等到整个多媒体文件下载完成就可以即时观看的技术。Mobile streaming media technology collects and compresses continuous audio and video information and stores them on the network server, so that mobile terminal users can listen and watch while downloading, without waiting for the entire multimedia file to be downloaded and then watch it immediately. technology.

在提供移动流媒体业务时,一般是根据用户归属的物理区域分别架设服务器节点,由该节点为本区域内的用户提供媒体服务。当系统中的媒体文件越来越多时,会给节点的存储造成很大压力,同时对于一些较生僻的冷门内容,每个节点都保存一份会造成存储资源的浪费,但是,如果为了减轻存储压力使每个节点有选择性地保存部分媒体文件,当用户请求节点上不存在的媒体文件时,系统无法提供服务,影响用户体验。When providing mobile streaming media services, server nodes are generally set up according to the physical areas to which users belong, and the nodes provide media services for users in this area. When there are more and more media files in the system, it will put a lot of pressure on the storage of nodes. At the same time, for some relatively unpopular content, each node saves a copy, which will cause a waste of storage resources. However, if in order to reduce storage The pressure makes each node selectively save some media files. When a user requests a media file that does not exist on the node, the system cannot provide services and affects user experience.

发明内容 Contents of the invention

针对相关技术中的服务器分节点在存储资源时产生的存储资源浪费以及资源不存在时系统无法提供服务的问题而提出本发明,为此,本发明的主要目的在于提供一种改进的媒体服务方案,以解决上述问题至少之一。The present invention is proposed in view of the waste of storage resources generated by server sub-nodes in the related art when storing resources and the system’s inability to provide services when resources do not exist. Therefore, the main purpose of the present invention is to provide an improved media service solution , to address at least one of the above problems.

为了实现上述目的,根据本发明的一个方面,提供了一种媒体服务方法。In order to achieve the above purpose, according to one aspect of the present invention, a media service method is provided.

根据本发明的媒体服务方法包括:边缘节点接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源;边缘节点判断其能否为用户设备提供媒体资源;边缘节点在判断结果为否的情况下,向中心节点发送请求消息;边缘节点接收来自中心节点响应于请求消息的媒体资源,并将媒体资源发送给用户设备。The media service method according to the present invention includes: the edge node receives a media service request from the user equipment, wherein the media service request is used to request media resources; the edge node judges whether it can provide media resources for the user equipment; the edge node judges that the result is If not, send a request message to the central node; the edge node receives the media resource from the central node in response to the request message, and sends the media resource to the user equipment.

优选地,边缘节点接收来自中心节点响应于请求消息的媒体资源包括:中心节点向边缘节点发送携带有用于提供媒体资源的媒体服务器地址的URL;边缘节点根据URL向URL对应的媒体服务器发起媒体服务请求,并接收来自URL对应的媒体服务器的媒体资源。Preferably, the edge node receiving the media resource from the central node in response to the request message includes: the central node sends to the edge node a URL carrying a media server address for providing the media resource; the edge node initiates a media service to the media server corresponding to the URL according to the URL Request and receive the media resource from the media server corresponding to the URL.

优选地,边缘节点向中心节点发送请求消息包括:边缘节点向用户设备发送携带有边缘节点的媒体服务器地址的URL,其中,URL中携带有边缘节点不能提供媒体资源的指示标识;用户设备根据URL向URL对应的媒体服务器发起媒体服务请求;URL对应的媒体服务器接收到来自用户设备的服务请求之后,向中心节点发送请求消息。Preferably, the edge node sending the request message to the central node includes: the edge node sending a URL carrying the address of the media server of the edge node to the user equipment, wherein the URL carries an indication that the edge node cannot provide media resources; the user equipment according to the URL Initiate a media service request to the media server corresponding to the URL; after receiving the service request from the user equipment, the media server corresponding to the URL sends a request message to the central node.

优选地,在判断结果为是的情况下,边缘节点将媒体资源发送给用户设备。Preferably, if the judgment result is yes, the edge node sends the media resource to the user equipment.

优选地,在边缘节点接收到来自用户设备的媒体服务请求之前,方法还包括:边缘节点根据预定策略保存媒体资源。Preferably, before the edge node receives the media service request from the user equipment, the method further includes: the edge node saves the media resource according to a predetermined policy.

为了实现上述目的,根据本发明的另一方面,提供了一种媒体服务系统。In order to achieve the above object, according to another aspect of the present invention, a media service system is provided.

根据本发明的媒体服务系统包括边缘节点和中心节点,其中,边缘节点包括:第一接收模块,用于接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源;判断模块,用于判断边缘节点能够为用户设备提供媒体资源;第一发送模块,用于在判断模块的判断结果为否的情况下,向中心节点发送请求消息;第二接收模块,边缘节点接收来自中心节点响应于请求消息的媒体资源;第二发送模块,用于将媒体资源发送给用户设备。The media service system according to the present invention includes an edge node and a central node, wherein the edge node includes: a first receiving module, configured to receive a media service request from a user equipment, wherein the media service request is used to request media resources; a judging module, It is used to judge that the edge node can provide media resources for the user equipment; the first sending module is used to send a request message to the central node when the judgment result of the judgment module is negative; the second receiving module is used for the edge node to receive the message from the central node. The media resource in response to the request message; the second sending module, configured to send the media resource to the user equipment.

优选地,第二接收模块包括:第一接收子模块,用于接收来自中心节点的携带有用于提供媒体资源的媒体服务器地址的URL;发起子模块,用于根据URL向URL对应的媒体服务器发起媒体服务请求;第二接收子模块,用于接收来自URL对应的媒体服务器的媒体资源。Preferably, the second receiving module includes: a first receiving submodule, configured to receive a URL from the central node carrying a media server address for providing media resources; an initiating submodule, configured to initiate a media server corresponding to the URL according to the URL Media service request; the second receiving submodule is used to receive the media resource from the media server corresponding to the URL.

优选地,第一发送模块包括:第一发送子模块,用于向用户设备发送携带有边缘节点的媒体服务器地址的URL,其中,URL中携带有边缘节点不能提供媒体资源的指示标识,以便于用户设备根据URL向URL对应的媒体服务器发起媒体服务请求;第二发送子模块,用于在接收到来自用户设备的服务请求之后,向中心节点发送请求消息。Preferably, the first sending module includes: a first sending submodule, configured to send a URL carrying the address of the media server of the edge node to the user equipment, wherein the URL carries an indication that the edge node cannot provide media resources, so as to facilitate The user equipment initiates a media service request to the media server corresponding to the URL according to the URL; the second sending submodule is configured to send a request message to the central node after receiving the service request from the user equipment.

优选地,边缘节点还包括:保存模块,用于根据预定策略保存媒体资源。Preferably, the edge node further includes: a storage module, configured to store media resources according to a predetermined strategy.

优选地,中心节点包括:第三接收模块,用于接收来自边缘节点请求消息,其中,请求消息用于请求媒体资源:第三发送模块,用于将媒体资源发送给边缘节点。Preferably, the central node includes: a third receiving module, configured to receive a request message from an edge node, wherein the request message is used to request a media resource; and a third sending module, configured to send the media resource to the edge node.

通过本发明,采用了根据策略在分节点(即,边缘节点)上保存媒体资源,当用户终端请求的媒体资源在分节点上不存在时,该分节点从中心节点获取该媒体资源,解决了的服务器分节点在存储资源时产生的存储资源浪费以及资源不存在时系统无法提供服务的问题,进而达到了优化系统的资源共享能力以及提高用户体验的效果。Through the present invention, the media resources are stored on sub-nodes (that is, edge nodes) according to policies. When the media resources requested by the user terminal do not exist on the sub-nodes, the sub-nodes obtain the media resources from the central node, which solves the problem of The waste of storage resources generated by the server sub-nodes when storing resources and the problem that the system cannot provide services when resources do not exist, thereby achieving the effect of optimizing the resource sharing capabilities of the system and improving user experience.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的媒体服务方法的流程图;Fig. 1 is a flowchart of a media service method according to an embodiment of the present invention;

图2是根据本发明实施例的移动流媒体系统组网的结构示意图;Fig. 2 is a schematic structural diagram of a mobile streaming media system networking according to an embodiment of the present invention;

图3是根据本发明实施例的服务中继方法的流程图;3 is a flowchart of a service relay method according to an embodiment of the present invention;

图4是根据本发明实施例的以非中继形式提供点播服务的流程图;FIG. 4 is a flow chart of providing on-demand services in a non-relay form according to an embodiment of the present invention;

图5是根据本发明实施例的以中继形式提供点播服务的流程图;FIG. 5 is a flow chart of providing on-demand services in the form of relays according to an embodiment of the present invention;

图6是根据本发明实施例的媒体服务系统的结构框图;Fig. 6 is a structural block diagram of a media service system according to an embodiment of the present invention;

图7是根据本发明实施例的媒体服务系统具体的结构框图。Fig. 7 is a specific structural block diagram of a media service system according to an embodiment of the present invention.

具体实施方式 detailed description

功能概述Functional Overview

相关技术中的服务器分节点在存储资源时产生的存储资源浪费以及资源不存在时系统无法提供服务的问题,本发明实施例提供了一种媒体服务方案,该方案的处理原则如下:边缘节点接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源;边缘节点确定在其不能为用户设备提供媒体资源的情况下,向中心节点发送请求消息;边缘节点接收来自中心节点响应于请求消息的媒体资源,并将媒体资源发送给用户设备。In the related art, the server sub-nodes generate waste of storage resources when storing resources and the system cannot provide services when resources do not exist. Embodiments of the present invention provide a media service solution. The processing principles of the solution are as follows: edge nodes receive A media service request from the user equipment, wherein the media service request is used to request media resources; the edge node determines that it cannot provide the user equipment with media resources, and sends a request message to the central node; the edge node receives a response from the central node Request the media resource for the message and send the media resource to the user device.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

在以下实施例中,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In the following embodiments, the steps shown in the flowcharts of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and, although a logical order is shown in the flowcharts, in some cases , the steps shown or described may be performed in a different order than here.

方法实施例method embodiment

根据本发明的实施例,提供了一种媒体服务方法,图1是根据本发明是实施例的媒体服务方法的流程图,如图1所示,该方法包括如下的步骤S102至步骤S106:According to an embodiment of the present invention, a media service method is provided. FIG. 1 is a flowchart of a media service method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps S102 to S106:

步骤S102,边缘节点接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源。Step S102, the edge node receives a media service request from the user equipment, where the media service request is used to request media resources.

步骤S104,边缘节点判断该边缘节点能否为用户设备提供请求的媒体资源,并在确定在其不能为用户设备提供媒体资源的情况下,向中心节点发送请求消息;在边缘节点确定其能为用户设备提供媒体资源的情况下,边缘节点将媒体资源发送给用户设备。Step S104, the edge node judges whether the edge node can provide the requested media resources for the user equipment, and sends a request message to the central node when it is determined that it cannot provide the media resources for the user equipment; When the user equipment provides media resources, the edge node sends the media resources to the user equipment.

步骤S106,边缘节点接收来自中心节点响应于请求消息的媒体资源,并将媒体资源发送给用户设备。Step S106, the edge node receives the media resource from the central node in response to the request message, and sends the media resource to the user equipment.

边缘节点不能为用户设备提供媒体资源的原因可以是该边缘节点不存在该媒体资源,但原因并不限于此,例如,该原因还可以是因为边缘节点的负载过大等。The reason why the edge node cannot provide the user equipment with the media resource may be that the edge node does not have the media resource, but the reason is not limited thereto. For example, the reason may also be that the load of the edge node is too large.

需要说明的是,边缘节点不需要保存所有的媒体资源,可以根据预定策略保存媒体资源,例如,可以根据该媒体资源点播的次数,该媒体资源的创建时间等。It should be noted that the edge node does not need to store all the media resources, and may store the media resources according to a predetermined strategy, for example, according to the number of times the media resource is ordered, the creation time of the media resource, and so on.

其中,在步骤S106中的边缘节点接收来自中心节点响应于请求消息的媒体资源包括如下步骤:Wherein, the edge node in step S106 receives the media resource from the central node in response to the request message, including the following steps:

步骤A,中心节点向边缘节点发送携带有用于提供媒体资源的媒体服务器地址的统一资源定位符(UniformResourceLocator,简称为URL)。In step A, the central node sends a uniform resource locator (UniformResourceLocator, referred to as URL) carrying the address of a media server for providing media resources to the edge node.

步骤B,边缘节点根据URL向URL对应的媒体服务器发起媒体服务请求,并接收来自URL对应的媒体服务器的媒体资源。In step B, the edge node initiates a media service request to the media server corresponding to the URL according to the URL, and receives media resources from the media server corresponding to the URL.

在步骤S104中,边缘节点向中心节点发送请求消息包括如下步骤:In step S104, sending the request message from the edge node to the central node includes the following steps:

步骤C,边缘节点向用户设备发送携带有边缘节点的媒体服务器地址的URL,其中,URL中携带有边缘节点不存在媒体资源的指示标识。In step C, the edge node sends a URL carrying the address of the media server of the edge node to the user equipment, wherein the URL carries an indication that the edge node does not have a media resource.

步骤D,用户设备根据URL向URL对应的媒体服务器发起媒体服务请求。In step D, the user equipment initiates a media service request to the media server corresponding to the URL according to the URL.

步骤E,URL对应的媒体服务器接收到来自用户设备的服务请求之后,向中心节点发送请求消息。Step E, after receiving the service request from the user equipment, the media server corresponding to the URL sends a request message to the central node.

下面结合具体的网络对上述步骤102至步骤S106,图2是根据本发明实施例的移动流媒体系统组网的结构示意图,如图2所示,在该移动流媒体系统中采用总部-省分二级架构的方式进行部署,在总部设置一个中心节点(也称为总部节点);在各省设置一个边缘节点(也称为省分节点或本地节点),其中,在省分节点的媒体服务器上配置总部节点的业务引擎地址信息,在此节点是指一个业务引擎设备和多台媒体服务器设备的组合。The above step 102 to step S106 is described below in conjunction with a specific network. FIG. 2 is a schematic structural diagram of a mobile streaming media system network according to an embodiment of the present invention. As shown in FIG. Deployment in the form of a two-level architecture, setting up a central node (also called a headquarters node) at the headquarters; setting up an edge node (also called a provincial node or a local node) in each province, where the media server Configure the service engine address information of the headquarters node, where a node refers to a combination of a service engine device and multiple media server devices.

业务引擎用来管理媒体服务器设备和各媒体服务器设备上存放的文件信息(即,媒体资源),其中,省分业务引擎还负责处理与用户设备(UserEquipment,简称为UE)的交互。业务引擎接收到来自用户设备的媒体服务请求后,先从数据库中检索出有哪些媒体服务器设备包含用户请求的媒体文件(即,媒体资源),然后,综合该省分节点内各媒体服务器的硬件性能和/或并发流数选择一个最合适的服务器,最终组装出用于提供媒体服务的URL提供给用户,用户使用此URL进行媒体服务请求。The service engine is used to manage the media server device and the file information (ie, media resources) stored on each media server device, wherein the provincial service engine is also responsible for processing the interaction with the user equipment (User Equipment, referred to as UE for short). After the service engine receives the media service request from the user equipment, it first retrieves from the database which media server equipment contains the media files requested by the user (that is, media resources), and then synthesizes the hardware of each media server in the provincial node The most suitable server is selected based on the performance and/or the number of concurrent streams, and finally a URL for providing media services is assembled and provided to users, and users use this URL to request media services.

媒体服务器上可以为用户提供点播、直播和下载等媒体服务,可以由多台媒体服务器设备共同组成集群,媒体服务器使用大容量磁阵保存节点上媒体文件的实体内容。The media server can provide users with media services such as on-demand, live broadcast and download, and can be composed of multiple media server devices to form a cluster. The media server uses a large-capacity disk array to store the physical content of the media files on the node.

总部节点中的音视频无线接入协议(WirelessAccessProtocol,简称为WAP)门户负责展现移动流媒体系统中的媒体文件,用户设备通过访问WAP门户浏览系统中的媒体文件列表。The audio and video Wireless Access Protocol (WAP) portal in the headquarters node is responsible for displaying the media files in the mobile streaming media system, and the user equipment browses the list of media files in the system by accessing the WAP portal.

总部节点的媒体服务器上保存所有的媒体文件,每个省分节点根据一定的策略只存储部分实体文件,例如,可以根据系统实际运营情况只保存热门内容或者新上线的内容并定期动态调整。所有的移动流媒体用户都可以根据其终端编号(例如,手机号码)归属到某个边缘节点。当一个用户设备请求媒体服务时,由无线网络或有线固定网络负责将请求发送到其归属的省分节点的省分业务引擎,该省分业务引擎根据本节点数据库中保存的媒体文件记录进行查询,如果在省分媒体服务器上存在用户请求的媒体文件,则直接由该节点的本地媒体服务器为用户提供服务;如果省分媒体服务器上不存在对应媒体文件,则触发服务中继流程,经由省分媒体服务器、总部业务引擎和总部媒体服务器等网元通过一系列交互后选择一个最优的可用总部媒体服务器设备,由其负责向省分媒体服务器提供用户请求内容的媒体服务。下面对该中继流程进行详细的介绍。All media files are stored on the media server of the headquarters node, and each provincial node only stores some physical files according to a certain strategy. For example, only popular content or newly launched content can be saved according to the actual operation of the system and dynamically adjusted regularly. All mobile streaming media users can be assigned to a certain edge node according to their terminal numbers (for example, mobile phone numbers). When a user equipment requests a media service, the wireless network or wired fixed network is responsible for sending the request to the provincial service engine of the provincial node to which it belongs, and the provincial service engine searches according to the media file records stored in the database of the local node , if there is a media file requested by the user on the provincial media server, the local media server of the node will directly provide the service for the user; if there is no corresponding media file on the provincial media server, the service relay process will be triggered, via the provincial After a series of interactions, network elements such as the branch media server, headquarters service engine, and headquarters media server select an optimal available headquarters media server device, which is responsible for providing the media service of the content requested by the user to the provincial media server. The relay process is described in detail below.

该中继流程为:当用户设备请求服务时若自身归属节点不具备服务条件,先由归属节点内的省分媒体服务器向总部业务引擎发起重定向请求(需要说明的是,重定向是指根据系统中媒体文件的分布信息和各媒体设备的运行情况,选取一台媒体服务器为用户提供服务),总部业务引擎生成一个包括总部媒体服务器地址的服务URL返回给省分媒体服务器,省分媒体服务器使用此URL向总部媒体服务器请求服务,总部媒体服务器向省分媒体服务器发送媒体码流,省分媒体服务器将媒体码流转发给用户设备,完成媒体交互流程。其中提供总部媒体服务器与省分媒体服务器之间、省分媒体服务器与用户设备之间时的数据传输形式跟服务类型相关,一般的流媒体数据传输是通过实时传输协议(Real-timeTransportProtocol,简称为RTP)和实时传输控制协议(Real-timeTransportControlProtocol,简称为RTCP)配合完成。图3是根据本发明实施例的服务中继方法的流程图,如图3所示,该流程包括如下步骤:The relay process is: when a user equipment requests a service, if its own home node does not have the service conditions, the provincial media server in the home node first initiates a redirection request to the headquarters service engine (it should be noted that redirection refers to The distribution information of media files in the system and the operation status of each media device, select a media server to provide services for users), the business engine of the headquarters generates a service URL including the address of the media server of the headquarters and returns it to the provincial media server, and the provincial media server Use this URL to request services from the headquarters media server. The headquarters media server sends the media code stream to the provincial media server, and the provincial media server forwards the media code stream to the user equipment to complete the media interaction process. Among them, the data transmission form between the headquarters media server and the provincial media server, and between the provincial media server and the user equipment is related to the service type. The general streaming media data transmission is through the Real-time Transport Protocol (Real-timeTransportProtocol, referred to as RTP) and Real-time Transport Control Protocol (Real-timeTransportControlProtocol, referred to as RTCP) are completed in cooperation. FIG. 3 is a flowchart of a service relay method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:

步骤S301,用户设备向归属节点的省分业务引擎发起媒体服务请求。In step S301, the user equipment initiates a media service request to the provincial service engine of the home node.

步骤S302,省分业务引擎接收到该媒体服务请求后,在数据库中查找用户请求的内容在本地节点的媒体服务设备上是否存在。In step S302, after receiving the media service request, the provincial service engine searches the database whether the content requested by the user exists on the media service device of the local node.

步骤S303,根据步骤S302中的查找结果,并结合省分节点中媒体服务设备的硬件性能和并发流数等情况确定省分节点是否可以提供服务。Step S303, according to the search result in step S302, combined with the hardware performance of the media service equipment in the provincial node and the number of concurrent streams, etc., determine whether the provincial node can provide services.

步骤S304,如果省分节点可以为用户提供服务,直接由省分媒体服务器向用户设备发送媒体码流,开始服务流程。Step S304, if the provincial node can provide services for the user, the provincial media server directly sends the media code stream to the user equipment, and starts the service process.

步骤S305,如果省分节点无法提供服务,需要触发中继流程。此时,由省分业务引擎生成一个临时的服务URL返回给用户设备,URL中的服务设备网路协议(InternetProtocol,简称为IP)地址填写本节点中任意一个媒体服务器的地址,同时,在URL中通过一个标识参数表示本次服务需要走中继流程。Step S305, if the provincial node cannot provide the service, a relay process needs to be triggered. Now, a temporary service URL generated by the provincial service engine is returned to the user equipment, and the service equipment Internet Protocol (Internet Protocol, referred to as IP) address in the URL fills in the address of any media server in this node. An identification parameter is used to indicate that this service needs to go through the relay process.

步骤S306,用户设备使用步骤S305中返回的URL向省分媒体服务器发起请求,省分媒体服务器取出请求URL中的中继标识参数,向总部业务引擎发起重定向请求。Step S306, the user equipment uses the URL returned in step S305 to initiate a request to the provincial media server, and the provincial media server retrieves the relay identification parameter in the request URL, and initiates a redirection request to the headquarters service engine.

步骤S307,总部业务引擎在总部节点内进行重定向,生成一个含有总部媒体服务器地址的可用URL,然后,将URL封装在某种格式的响应消息中将结果返回给发出请求的省分媒体服务器。In step S307, the headquarter business engine performs redirection in the headquarter node to generate an available URL containing the address of the headquarter media server, and then encapsulates the URL in a response message of a certain format and returns the result to the requesting provincial media server.

步骤S308,省分媒体服务器使用接收到的新URL向总部媒体服务器请求服务,总部媒体服务器向省分媒体服务器发送所请求内容的码流数据。In step S308, the provincial media server uses the received new URL to request a service from the headquarters media server, and the headquarters media server sends code stream data of the requested content to the provincial media server.

步骤S309,省分媒体服务器将接收到的码流数据转发给用户设备,开始媒体服务流程。In step S309, the provincial media server forwards the received code stream data to the user equipment, and starts the media service process.

下面将结合实例对本发明实施例的实现过程进行详细描述。The implementation process of the embodiment of the present invention will be described in detail below with reference to examples.

下面以用户设备请求视频文件点播服务为例,分别说明当用户归属的省分节点上存在用户请求的内容和不存在用户请求的内容两种情况下,本实施例的流程。Taking the video file on-demand service requested by the user equipment as an example, the flow of this embodiment will be described respectively when the content requested by the user exists and the content requested by the user does not exist on the provincial node to which the user belongs.

图4是根据本发明实施例的以非中继形式提供点播服务的流程图,如图4所示,在该流程中由省分流媒体服务器直接为用户提供服务,UE一般指移动手机终端;WAP是指音视频WAP门户,门户上提供节目入口列表,实际应用中用户设备先访问WAP门户,在页面上选择一个感兴趣的内容进行访问触发点播流程;本地流媒体服务器(LocalStreamingServer,简称为LSS)部署在网络边缘节点,负责某个省的用户本地接入,提供流媒体的点播、直播、下载等服务的媒体服务器;本地业务引擎(LocalServiceEngine,简称为LSE)与本地流媒体服务器组成省分节点,共同为用户提供移动流媒体服务。如图4所示,该流程包括如下步骤:Fig. 4 is the flow chart of providing on-demand service in the non-relay form according to the embodiment of the present invention, as shown in Fig. 4, in this flow process, directly provide service for the user by the provincial stream media server, UE generally refers to the mobile phone terminal; WAP Refers to the audio and video WAP portal, which provides a list of program entries. In practical applications, the user device first visits the WAP portal, and selects an interesting content on the page to access and trigger the on-demand process; the local streaming server (Local Streaming Server, referred to as LSS) Deployed at the edge of the network, it is responsible for the local access of users in a certain province, and the media server that provides streaming media on-demand, live broadcast, download and other services; the local service engine (LocalServiceEngine, referred to as LSE) and the local streaming server form a provincial node , to jointly provide users with mobile streaming services. As shown in Figure 4, the process includes the following steps:

步骤S401,用户设备通过无线网络访问移动流媒体系统的WAP门户。Step S401, the user equipment accesses the WAP portal of the mobile streaming media system through a wireless network.

步骤S402,WAP门户将移动流媒体系统中的音视频媒体文件以列表的方式展现在页面上,返回给用户设备。In step S402, the WAP portal displays the audio and video media files in the mobile streaming media system on the page in the form of a list, and returns it to the user equipment.

步骤S403,用户选择感兴趣的媒体文件进行点播,向自身节点的LSE发送点播服务请求,该消息是一个超文本传输协议(HyperTextTransferProtocol,简称为HTTP)格式的GET请求。In step S403, the user selects a media file of interest for on-demand, and sends an on-demand service request to the LSE of the user node. The message is a GET request in HyperText Transfer Protocol (HTTP) format.

步骤S404,LSE在自身节点数据库的内容记录表中检索,查找用户请求的内容在本地流媒体服务器上是否存在,如果存在用户请求的内容流媒体服务器运行正常,则将结果消息以HTTP包的形式返回,HTTP消息头中结果码是200,HTTP消息体中包含了LSE生成的结果URL,URL中设置proxy参数为0表示该内容在省分节点存在,不需要走服务中继流程。Step S404, LSE searches in the content record table of its own node database to find whether the content requested by the user exists on the local streaming media server, and if the content requested by the user exists, the streaming media server is running normally, and then sends the result message in the form of an HTTP packet Return, the result code in the HTTP message header is 200, and the HTTP message body contains the result URL generated by LSE. Setting the proxy parameter in the URL to 0 means that the content exists in the provincial node, and there is no need to go through the service relay process.

步骤S405,用户设备收到LSE的响应后,取出响应消息中的URL,以实时流协议(Real-timeStreamingProtocol,简称为RTSP)消息向LSS发起服务请求。Step S405, after receiving the response from the LSE, the user equipment takes out the URL in the response message, and initiates a service request to the LSS with a Real-time Streaming Protocol (RTSP) message.

步骤S406,LSS收到用户设备RTSP请求后,判断发现其请求URL中proxy参数为0,在服务器的磁阵上定位到用户请求的文件所在位置,开始向用户设备发送码流数据,提供点播服务。Step S406, after the LSS receives the RTSP request from the user equipment, it judges that the proxy parameter in the URL of the request is 0, locates the location of the file requested by the user on the disk array of the server, and starts sending code stream data to the user equipment to provide on-demand services .

图5是根据本发明实施例的以中继形式提供点播服务的流程图如图5所示,当用户设备请求点播时,省分业务引擎向用户设备返回的消息中通知用户设备需要触发中继流程,然后通过省分流媒体服务器、总部业务引擎和总部流媒体服务器之间进行交互完成点播中继流程。全局流媒体服务器(GlobalStreamingServer,简称为GSS),部署在移动流媒体系统的总部节点,通过中继的方式分担各省分节点的服务压力;全局业务引擎(GolbalServiceEngine,简称为GSE)当收到LSS的重定向请求时在总部节点的流媒体服务器器中选择一个最优的可用设备,将该服务器的信息传回给LSS。该流程包括如下步骤:Fig. 5 is a flow chart of providing on-demand services in the form of relays according to an embodiment of the present invention. As shown in Fig. 5, when a user equipment requests an on-demand service, the provincial service engine notifies the user equipment that a relay needs to be triggered in the message returned to the user equipment process, and then complete the on-demand relay process through the interaction between the provincial branch streaming media server, the headquarters business engine and the headquarters streaming media server. Global Streaming Server (Global Streaming Server, referred to as GSS), deployed in the headquarters node of the mobile streaming media system, share the service pressure of each provincial node through relay; Global Service Engine (Golbal Service Engine, referred to as GSE) When redirecting the request, select an optimal available device in the streaming media server of the headquarters node, and send the information of the server back to the LSS. The process includes the following steps:

步骤S501,用户设备访问移动流媒体系统的WAP门户。Step S501, the user equipment accesses the WAP portal of the mobile streaming media system.

步骤S502,WAP门户将系统中的音视频媒体文件以列表的方式展现在页面上,返回给用户设备。In step S502, the WAP portal displays the audio and video media files in the system on the page in the form of a list, and returns it to the user equipment.

步骤S503,用户选择感兴趣的媒体文件进行点播,向自身节点的LSE发送点播服务请求。In step S503, the user selects an interested media file to order, and sends an on-demand service request to the LSE of the user node.

步骤S504,LSE在节点数据库的内容记录表中检索,查找用户请求的内容在本地流媒体服务器上是否存在,如果不存在则生成一个临时的服务URL,URL中的流媒体服务器地址填写本地节点中任一流媒体服务器IP,同时通过将URL中的标识参数proxy设置为1表示本地无此内容,后续需要触发中继流程,响应消息也以HTTP包的形式返回,HTTP消息头中结果码是200,HTTP消息体中包含了LSE生成的结果URL。Step S504, LSE searches in the content record table of the node database to find out whether the content requested by the user exists on the local streaming server, if not, a temporary service URL is generated, and the address of the streaming server in the URL is filled in the local node For any streaming media server IP, at the same time, by setting the identification parameter proxy in the URL to 1, it means that there is no such content locally, and the relay process needs to be triggered later, and the response message is also returned in the form of an HTTP packet. The result code in the HTTP message header is 200. The HTTP message body contains the result URL generated by LSE.

步骤S505,用户设备收到LSE的响应后,取出响应消息体中的URL,以RTSP格式向LSS发起服务请求。Step S505, after receiving the response from the LSE, the user equipment takes out the URL in the response message body, and initiates a service request to the LSS in RTSP format.

步骤S506,LSS收到用户设备请求后,判断发现其请求URL中proxy参数为1,向GSE发起重定向请求,请求获取一个可以服务的点播URL。In step S506, after receiving the request from the user equipment, the LSS determines that the proxy parameter in the request URL is 1, and initiates a redirection request to the GSE, requesting to obtain a serviceable VOD URL.

步骤S507,GSE检索总部节点数据库的内容记录表,查找哪些流媒体设备包含用户请求的媒体文件,同时根据各设备的运行情况选择一个流媒体服务器,最终生成一个可以给LSS提供中继服务的可用URL,格式形如:Step S507, GSE retrieves the content record table of the headquarter node database, finds which streaming media devices contain the media files requested by the user, and selects a streaming media server according to the operation status of each device, and finally generates an available streaming media server that can provide relay services to the LSS URL, the format is as follows:

rtsp://<GSS-IP>:<GSS-Port>/vod.3gp?userid=8618807880000&subcontentid=9013100020090514012300...,rtsp://<GSS-IP>:<GSS-Port>/vod.3gp? userid=8618807880000&subcontentid=9013100020090514012300...,

其中,GSS-IP是总部节点中一个可以服务的流媒体服务器的地址,GSS-Port是该流媒体服务器提供视频流媒体服务的端口号,然后GSE封装一个RTSP响应消息,消息中结果码填为302(MovedTemporarily,重定向,表示要完成请求必须进行进一步操作),同时将新生成的URL填入响应包头(response-header)中的位置(Location)参数域中,然后返回给省分流媒体服务器。Among them, GSS-IP is the address of a streaming media server that can serve in the headquarters node, GSS-Port is the port number of the streaming media server that provides video streaming services, and then GSE encapsulates an RTSP response message, and the result code in the message is filled as 302 (MovedTemporarily, redirection, indicating that further operations must be performed to complete the request), and simultaneously fill in the newly generated URL in the Location parameter field in the response-header, and then return to the provincial streaming media server.

步骤S508,LSS收到结果码为302的RTSP响应后,从响应消息包里response-header的Location域中取出新的URL发起中继请求。In step S508, after receiving the RTSP response with result code 302, the LSS fetches a new URL from the Location field of the response-header in the response message packet to initiate a relay request.

步骤S509,GSS收到LSS的服务请求后定位到所请求的实体文件,开始向LSS发送码流数据。In step S509, the GSS locates the requested entity file after receiving the service request from the LSS, and starts to send code stream data to the LSS.

步骤S510,LSS将收到的码流数据转发给用户设备,开始给用户提供点播服务。In step S510, the LSS forwards the received code stream data to the user equipment, and starts to provide the user with an on-demand service.

在本实施例中以点播服务为例进行说明,同理,也可以扩展到直播和下载等媒体服务领域。以上所述仅为本发明的一种较好的实施方式,但本发明的保护范围并不局限于此,所有基于本发明的实质进行的各种替换和修改,均应属于本发明的权利保护范围。In this embodiment, the on-demand service is taken as an example for illustration, and similarly, it can also be extended to media service fields such as live broadcast and download. The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and all the various replacements and modifications based on the essence of the present invention shall belong to the protection of the rights of the present invention scope.

装置实施例Device embodiment

根据本发明的实施例,提供了一种媒体服务系统,图6是根据本发明实施例的媒体服务系统的结构框图,如图6所示,中心节点可以连接一个或多个边缘节点,边缘节点包括:第一接收模块62、第一发送模块64、第二接收模块66、第二发送模块68,下面对该边缘节点进行详细的介绍。According to an embodiment of the present invention, a media service system is provided. FIG. 6 is a structural block diagram of a media service system according to an embodiment of the present invention. As shown in FIG. 6, the central node can be connected to one or more edge nodes, and the edge nodes It includes: a first receiving module 62, a first sending module 64, a second receiving module 66, and a second sending module 68. The edge node will be described in detail below.

第一接收模块62,用于接收来自用户设备的媒体服务请求,其中,媒体服务请求用于请求媒体资源;判断模块60连接至第一接收模块62和第一发送模块64,该模块用于判断边缘节点能否为用户设备提供媒体资源;第一发送模块64连接至第一接收模块62,用于在确定边缘节点不能为用户设备提供媒体资源的情况下,向中心节点发送请求消息;第二接收模块66连接至第一发送模块64,边缘节点接收来自中心节点响应于请求消息的媒体资源;第二发送模块68连接至第二接收模块66,用于将媒体资源发送给用户设备。The first receiving module 62 is configured to receive a media service request from the user equipment, wherein the media service request is used to request media resources; the judging module 60 is connected to the first receiving module 62 and the first sending module 64, and this module is used to judge Can the edge node provide media resources for the user equipment; the first sending module 64 is connected to the first receiving module 62, and is used to send a request message to the central node when it is determined that the edge node cannot provide media resources for the user equipment; the second The receiving module 66 is connected to the first sending module 64, and the edge node receives the media resource from the central node in response to the request message; the second sending module 68 is connected to the second receiving module 66, and is used for sending the media resource to the user equipment.

图7是根据本发明实施例的媒体服务系统具体的结构框图,如图7所示,第二接收模块66包括:第一接收子模块662、发起子模块664、第二接收子模块666,下面对此进行详细描述。Fig. 7 is a specific structural block diagram of a media service system according to an embodiment of the present invention. As shown in Fig. 7, the second receiving module 66 includes: a first receiving submodule 662, an initiating submodule 664, and a second receiving submodule 666. Face this for a detailed description.

第一接收子模块662,用于接收来自中心节点的携带有用于提供媒体资源的媒体服务器地址的URL;发起子模块664连接至第一接收子模块662,用于根据URL向URL对应的媒体服务器发起媒体服务请求;第二接收子模块666,连接至发起子模块664用于接收来自URL对应的媒体服务器的媒体资源。The first receiving submodule 662 is used to receive the URL carrying the media server address for providing media resources from the central node; the initiating submodule 664 is connected to the first receiving submodule 662, and is used to send the URL to the corresponding media server according to the URL Initiate a media service request; the second receiving submodule 666 is connected to the initiating submodule 664 for receiving media resources from the media server corresponding to the URL.

如图7所示,第一发送模块64包括:第一发送子模块642和第二发送子模块644,其中,第一发送子模块642,用于向用户设备发送携带有边缘节点的媒体服务器地址的URL,其中,URL中携带有边缘节点不能提供媒体资源的指示标识,以便于用户设备根据URL向URL对应的媒体服务器发起媒体服务请求;第二发送子模块644,用于在接收到来自用户设备的服务请求之后,向中心节点发送请求消息。As shown in FIG. 7 , the first sending module 64 includes: a first sending submodule 642 and a second sending submodule 644, wherein the first sending submodule 642 is configured to send the media server address carrying the edge node to the user equipment URL, where the URL carries an indication that the edge node cannot provide media resources, so that the user equipment can initiate a media service request to the media server corresponding to the URL according to the URL; the second sending submodule 644 is configured to receive After the service request of the device, send a request message to the central node.

如图7所示,该边缘节点还包括:保存模块74,该模块用于根据预定策略保存媒体资源。As shown in FIG. 7, the edge node further includes: a saving module 74, which is used for saving media resources according to a predetermined strategy.

如图7所示,该中心节点包括:第三接收模块76、第三发送模块78,下面对该中心节点进行详细的介绍。As shown in FIG. 7 , the central node includes: a third receiving module 76 and a third sending module 78 , and the central node will be described in detail below.

第三接收模块76,用于接收来自边缘节点请求消息,其中,请求消息用于请求媒体资源:第三发送模块78连接至第三接收模块76,用于将媒体资源发送给边缘节点。The third receiving module 76 is configured to receive a request message from an edge node, wherein the request message is used to request a media resource: the third sending module 78 is connected to the third receiving module 76 and configured to send the media resource to the edge node.

可以看出,通过本发明描述的方法使各省分节点按照一定的策略保存系统中的部分内容资源,同时对于本地节点不存在的内容可以通过中继的方式提供服务,能有效地解决节点内容存储和提供稳定服务之间的矛盾,较好地优化了系统的资源共享能力。It can be seen that through the method described in the present invention, each provincial node can save some content resources in the system according to a certain strategy, and at the same time, it can provide services for content that does not exist in the local node through relaying, which can effectively solve the problem of node content storage. The contradiction between the system and the provision of stable services has better optimized the resource sharing capabilities of the system.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Optionally, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or they can be integrated into Multiple modules or steps are fabricated into a single integrated circuit module to realize. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1.一种媒体服务方法,其特征在于,包括:1. A media service method, characterized in that, comprising: 边缘节点接收来自用户设备的媒体服务请求,其中,所述媒体服务请求用于请求媒体资源,移动流媒体用户根据用户设备编号归属到某个所述边缘节点;The edge node receives a media service request from the user equipment, wherein the media service request is used to request media resources, and the mobile streaming media user belongs to a certain edge node according to the user equipment number; 所述边缘节点判断其能否为所述用户设备提供所述媒体资源;The edge node judges whether it can provide the media resource for the user equipment; 所述边缘节点在判断结果为否的情况下,向中心节点发送请求消息;The edge node sends a request message to the central node when the judgment result is negative; 所述边缘节点接收来自所述中心节点响应于所述请求消息的所述媒体资源,并将所述媒体资源发送给所述用户设备;receiving, by the edge node, the media resource from the central node in response to the request message, and sending the media resource to the user equipment; 其中,所述边缘节点向所述中心节点发送所述请求消息包括:Wherein, the sending of the request message by the edge node to the central node includes: 所述边缘节点向所述用户设备发送携带有所述边缘节点的媒体服务器地址的URL,其中,所述URL中携带有所述边缘节点不能提供所述媒体资源的指示标识;The edge node sends a URL carrying the address of the media server of the edge node to the user equipment, where the URL carries an indication that the edge node cannot provide the media resource; 所述用户设备根据所述URL向所述URL对应的所述媒体服务器发起媒体服务请求;The user equipment initiates a media service request to the media server corresponding to the URL according to the URL; 所述URL对应的媒体服务器接收到来自所述用户设备的服务请求之后,向所述中心节点发送所述请求消息。After receiving the service request from the user equipment, the media server corresponding to the URL sends the request message to the central node. 2.根据权利要求1所述的方法,其特征在于,所述边缘节点接收来自所述中心节点响应于所述请求消息的所述媒体资源包括:2. The method according to claim 1, wherein the receiving, by the edge node, the media resource from the central node in response to the request message comprises: 所述中心节点向所述边缘节点发送携带有用于提供所述媒体资源的媒体服务器地址的URL;The central node sends a URL carrying an address of a media server for providing the media resource to the edge node; 所述边缘节点根据所述URL向所述URL对应的媒体服务器发起媒体服务请求,并接收来自所述URL对应的媒体服务器的所述媒体资源。The edge node initiates a media service request to a media server corresponding to the URL according to the URL, and receives the media resource from the media server corresponding to the URL. 3.根据权利要求1至2中任一项所述的方法,其特征在于,在所述判断结果为是的情况下,所述边缘节点将所述媒体资源发送给所述用户设备。3. The method according to any one of claims 1 to 2, wherein when the judgment result is yes, the edge node sends the media resource to the user equipment. 4.根据权利要求1所述的方法,其特征在于,在所述边缘节点接收到来自所述用户设备的所述媒体服务请求之前,所述方法还包括:4. The method according to claim 1, wherein before the edge node receives the media service request from the user equipment, the method further comprises: 所述边缘节点根据预定策略保存媒体资源。The edge node saves media resources according to a predetermined policy. 5.一种媒体服务系统,包括边缘节点和中心节点,其特征在于,所述边缘节点包括:5. A media service system, comprising an edge node and a central node, characterized in that the edge node comprises: 第一接收模块,用于接收来自用户设备的媒体服务请求,其中,所述媒体服务请求用于请求媒体资源,移动流媒体用户根据用户设备编号归属到某个所述边缘节点;The first receiving module is configured to receive a media service request from a user equipment, wherein the media service request is used to request media resources, and mobile streaming media users belong to a certain edge node according to the user equipment number; 判断模块,用于判断所述边缘节点能够为所述用户设备提供所述媒体资源;A judging module, configured to judge that the edge node can provide the media resource for the user equipment; 第一发送模块,用于在所述判断模块的判断结果为否的情况下,向中心节点发送请求消息;A first sending module, configured to send a request message to the central node when the judging result of the judging module is negative; 第二接收模块,所述边缘节点接收来自所述中心节点响应于所述请求消息的所述媒体资源;a second receiving module, the edge node receives the media resource from the central node in response to the request message; 第二发送模块,用于将所述媒体资源发送给所述用户设备;a second sending module, configured to send the media resource to the user equipment; 其中,所述第一发送模块包括:Wherein, the first sending module includes: 第一发送子模块,用于向所述用户设备发送携带有所述边缘节点的媒体服务器地址的URL,其中,所述URL中携带有所述边缘节点不能提供所述媒体资源的指示标识,以便于所述用户设备根据所述URL向所述URL对应的所述媒体服务器发起媒体服务请求;The first sending submodule is configured to send a URL carrying the media server address of the edge node to the user equipment, where the URL carries an indication that the edge node cannot provide the media resource, so that Initiating a media service request from the user equipment to the media server corresponding to the URL according to the URL; 第二发送子模块,用于在接收到来自所述用户设备的服务请求之后,向所述中心节点发送所述请求消息。The second sending submodule is configured to send the request message to the central node after receiving the service request from the user equipment. 6.根据权利要求5所述的系统,其特征在于,所述第二接收模块包括:6. The system according to claim 5, wherein the second receiving module comprises: 第一接收子模块,用于接收来自所述中心节点的携带有用于提供所述媒体资源的媒体服务器地址的URL;A first receiving submodule, configured to receive a URL carrying an address of a media server for providing the media resource from the central node; 发起子模块,用于根据所述URL向所述URL对应的媒体服务器发起媒体服务请求;An initiating submodule, configured to initiate a media service request to a media server corresponding to the URL according to the URL; 第二接收子模块,用于接收来自所述URL对应的媒体服务器的所述媒体资源。The second receiving submodule is configured to receive the media resource from the media server corresponding to the URL. 7.根据权利要求6所述的系统,其特征在于,所述边缘节点还包括:7. The system according to claim 6, wherein the edge node further comprises: 保存模块,用于根据预定策略保存媒体资源。The saving module is used for saving media resources according to a predetermined strategy. 8.根据权利要求5至7中任一项所述的系统,其特征在于,所述中心节点包括:8. The system according to any one of claims 5 to 7, wherein the central node comprises: 第三接收模块,用于接收来自所述边缘节点请求消息,其中,请求消息用于请求媒体资源:A third receiving module, configured to receive a request message from the edge node, where the request message is used to request media resources: 第三发送模块,用于将所述媒体资源发送给所述边缘节点。A third sending module, configured to send the media resource to the edge node.
CN200910164084.1A 2009-08-10 2009-08-10 media service method and system Expired - Fee Related CN101626385B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910164084.1A CN101626385B (en) 2009-08-10 2009-08-10 media service method and system
PCT/CN2010/073950 WO2011017976A1 (en) 2009-08-10 2010-06-13 Method and system for media service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910164084.1A CN101626385B (en) 2009-08-10 2009-08-10 media service method and system

Publications (2)

Publication Number Publication Date
CN101626385A CN101626385A (en) 2010-01-13
CN101626385B true CN101626385B (en) 2016-03-30

Family

ID=41522069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910164084.1A Expired - Fee Related CN101626385B (en) 2009-08-10 2009-08-10 media service method and system

Country Status (2)

Country Link
CN (1) CN101626385B (en)
WO (1) WO2011017976A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626385B (en) * 2009-08-10 2016-03-30 中兴通讯股份有限公司 media service method and system
CN101964794A (en) * 2010-09-30 2011-02-02 中兴通讯股份有限公司 Media tandem method and system for multimedia service system
CN102638731B (en) * 2011-12-13 2018-04-17 中兴通讯股份有限公司 A kind of optimization method and system of user's program request
CN103731400A (en) * 2012-10-12 2014-04-16 三星电子(中国)研发中心 Resource sharing system and method
CN106170967B (en) * 2014-12-30 2019-10-18 华为技术有限公司 A media resource transmission device and method
CN106657402B (en) * 2017-02-21 2019-10-22 上海微喂网络科技有限公司 Transmission method and transmission architecture of real-time multimedia content distribution network
CN107707616B (en) * 2017-08-21 2019-02-12 贵州白山云科技股份有限公司 A kind of data transmission method and system
CN110691127B (en) * 2019-09-25 2022-04-12 北京奇艺世纪科技有限公司 Data acquisition control system, data acquisition control method and related device
CN111277663B (en) * 2020-02-07 2021-08-27 山东大学 Intelligent management and control method and system for building with double service pools
CN115208955B (en) * 2021-03-29 2024-04-19 贵州白山云科技股份有限公司 Method, device, computer equipment and medium for processing resource request
CN113891114B (en) * 2021-11-18 2023-12-15 上海哔哩哔哩科技有限公司 Transcoding task scheduling method and device
CN115277694B (en) * 2022-06-29 2023-12-08 北京奇艺世纪科技有限公司 Data acquisition method, device, system, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137042A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Static program distribution and service method in cluster type stream media system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388788C (en) * 2005-12-27 2008-05-14 北京邮电大学 A performance-optimized mobile video-on-demand service system and its implementation method
CN101626385B (en) * 2009-08-10 2016-03-30 中兴通讯股份有限公司 media service method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137042A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Static program distribution and service method in cluster type stream media system

Also Published As

Publication number Publication date
CN101626385A (en) 2010-01-13
WO2011017976A1 (en) 2011-02-17

Similar Documents

Publication Publication Date Title
CN101626385B (en) media service method and system
EP2719133B1 (en) A generalized dual-mode data forwarding plane for information-centric network
KR101079211B1 (en) Method and apparatus for managing multimedia content
US8930806B2 (en) Providing toolbars
US8407260B2 (en) Method and apparatus for caching broadcasting information
KR101330052B1 (en) Method for providing content caching service in adapted content streaming and local caching device thereof
CN108886629A (en) Signaling of application content packaging and delivery
CN104618506A (en) A crowdsourcing content distribution network system, method and device
JP2007529073A (en) Cache server network and content file delivery scheduling method
KR20040018392A (en) Method and apparatus for obtaining data information
US9479607B2 (en) Content caching and delivering system with traffic of repetitively requested content reduced
CN102084661A (en) Proxy functionality
US20180375962A1 (en) Facilitation of efficient web site page loading
WO2013029569A1 (en) A Generalized Dual-Mode Data Forwarding Plane for Information-Centric Network
US8824676B2 (en) Streaming video to cellular phones
JP5347759B2 (en) Inheritance communication management device
KR101283297B1 (en) Server for relaying contents and method for providing contents therein
Qin et al. Lehigh explorer: A real time video streaming application with mobility support for content centric networks
US11671515B2 (en) Methods, network node and client device for acquisition and delivery of resources in a communications network
KR20160147861A (en) Information object acquisition method, server and user equipment
US20050177874A1 (en) Access information generating device, access information generating method and receiver device
Curran Understanding the Internet: a glimpse into the building blocks, applications, security and hidden secrets of the Web
CN108513096B (en) Information transmission method, proxy server, terminal device and content server
CN104781807B (en) Management method, server and the client of streaming media resource
CN113420001A (en) Data sharing method and edge computing device

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160330