WO2009100672A1 - Processing method when content route being abnormity, content route function device and system - Google Patents
Processing method when content route being abnormity, content route function device and system Download PDFInfo
- Publication number
- WO2009100672A1 WO2009100672A1 PCT/CN2009/070338 CN2009070338W WO2009100672A1 WO 2009100672 A1 WO2009100672 A1 WO 2009100672A1 CN 2009070338 W CN2009070338 W CN 2009070338W WO 2009100672 A1 WO2009100672 A1 WO 2009100672A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content
- service request
- media node
- function device
- media
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
Definitions
- the present invention relates to the field of communications, and in particular, to a method, a content routing function device, and a system for processing content exceptions.
- the streaming media service or IPTV (IP Television) service is a new service.
- the streaming media service utilizes streaming technology to transmit multimedia files, including video and audio files, on a packet switched network. This content can be played immediately without having to download it completely.
- the key technology for streaming media implementation is streaming technology, and streaming books.
- Transmission technology is a network transmission technology that processes continuous video and audio information and puts it on the server, allowing users to watch and listen while downloading, without having to wait for the entire file to be downloaded to their own machine.
- IMS IP Multimedia Subsystem
- CSCF Call Session Control Function
- MGCF Media Gateway Control Function
- MRF Functional entities such as the Media Resource Function (media resource function), mainly adopting SIP (Session Initiation Protocol) and Diameter protocol, belong to the upper-layer control subsystem, and have nothing to do with the specific access technology. The ideal solution and direction of development.
- the SIP protocol is an application layer control protocol that can be used to establish, modify, and terminate multimedia sessions (or conferences), such as Internet telephony.
- the SIP protocol also supports inviting participants to participate in existing sessions, such as multiparty conferences.
- the IPTV service provided by the IMS-based architecture can fully utilize the existing mechanisms of registration, authentication, routing, session control and establishment, service triggering, charging, and end-to-end QoS (Quality of Service) guarantee in the IMS network.
- Users provide streaming services and multimedia services that integrate streaming media and real-time session services.
- CDN Content Delivery/Distribution Network
- CDN nodes close to users.
- the user requests content, it can be obtained from these CDN cache nodes in the near future, so that the content can be quickly delivered to the user, thereby improving the user experience and reducing the congestion of the backbone network.
- the embodiment of the present invention provides a processing method, a content routing function device, and a system when the content routing is abnormal.
- the technical solution is as follows:
- a method for processing a content routing exception comprising:
- the content routing function device forwards the content service request to the media node having the requested content
- the content routing function device When the deterministic response to the content service request is not received, the content routing function device reselects the media node having the requested content other than the media node;
- the content routing function device sends the content service request to the reselected media node.
- a content routing function device includes:
- a forwarding module configured to forward a content service request to a media node having the requested content
- An exception processing module configured to: after the forwarding module forwards the content service request, when the deterministic response to the content service request is not received, reselecting a media node having the requested content other than the media node; The content service request is sent to the reselected media node.
- the embodiment of the present invention further provides a system, where the system includes a content routing function device, configured to forward a content service request to a media node having the requested content; and when a deterministic response to the content service request is not received, Reselecting a media node having the requested content other than the media node; transmitting the content service request to the reselected media node.
- a content routing function device configured to forward a content service request to a media node having the requested content
- the content routing function device When the deterministic response to the content service request is not received, the content routing function device reselects the new media node to provide content for the terminal, does not need to notify the terminal to re-route, reduces the participation process of the terminal, and improves content routing. The efficiency enables the terminal to successfully obtain the requested service by sending a content service request, thereby improving the quality of service to the terminal.
- FIG. 1 is a schematic structural diagram of a CDN according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of implementing IPTV based on IMS according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a CDN according to an embodiment of the present invention.
- Embodiment 4 is a schematic structural diagram of a networking provided by Embodiment 1 of the present invention
- 5 is a flowchart of a processing method when a content routing exception is provided according to Embodiment 1 of the present invention
- FIG. 6 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 1 of the present invention.
- FIG. 7 is a message interaction diagram of a processing method when another content routing exception is provided according to Embodiment 1 of the present invention.
- FIG. 8 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 2 of the present invention.
- FIG. 9 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 3 of the present invention.
- FIG. 10 is a schematic structural diagram of a system according to Embodiment 4 of the present invention.
- FIG. 11 is a schematic structural diagram of a content routing function device according to Embodiment 4 of the present invention. detailed description
- the content routing function device forwards the content service request to the media node having the requested content
- the content routing function device When the deterministic response to the content service request is not received, the content routing function device reselects the media node having the requested content other than the media node, and transmits the content service request to the reselected media node.
- the CDN networking structure provided by the embodiment of the present invention, the CDN is hierarchically deployed, and the media node having the requested content is multiple.
- a hierarchical content network consisting of a CS (Center Server) and an ES (Edge Server), including RRS (Request Routing Server), CS and ES are content storage devices, and
- the user terminal delivers the content to the user terminal, and the user terminal requests the service to obtain the address (URL) of the provided content by accessing the web portal;
- the DNS (Domain Name System) server receives the service request of the user terminal, and then resolves based on the DNS mechanism.
- the content address, the RRS address is returned to the user terminal; thereafter, the user terminal sends a content request to the RRS, such as HTTP (HyperText Transfer Protocol), RTSP (Real Time Streaming Protocol), etc.; According to its stored ES load, user IP Select an ES, a user terminal and the content requests are redirected to the ES.
- HTTP HyperText Transfer Protocol
- RTSP Real Time Streaming Protocol
- the embodiment of the present invention provides a structure for combining the CDN and the IMS architecture to implement the IPTV service, where the MF ( Media Control Functions (media function) provides content for users, including MCF (Media Control Function) and MDF (Media Delivery Function), and MCF controls MDF for content delivery.
- the TPF (Transport Processing Functions) in the IMS system has a transmission function and a transmission control function;
- the SCF Service Control Function
- the SCF may select a corresponding MF providing content based on the user terminal location, the MF load, the requested content identifier, and the like;
- the content routing may also be performed based on the MCF, that is, the MCF selects the corresponding MF providing content according to the MCF load, the requested content identifier, etc., and the MCF is embodied as a redirecting server until the service request is routed to the related MF. Complete the content service request of the terminal.
- the CDN in the embodiment of the present invention may adopt the CDN in the OPEN IPTV FORUM standard, and the CDN includes:
- CC Cluster Controller
- CDF Content Delivery Function
- CDF entity for content storage and content delivery
- CDNC Content Delivery Network Controller
- the CDN in the embodiment of the present invention may also adopt other CDN structures, such as the CDN structure in FIG. 1 or in FIG.
- This embodiment provides a method for processing a content routing exception.
- the method is described by using the networking structure provided in FIG. 4 as an example.
- the networking structure includes:
- the IPTV service control function entity SCF is used to implement the IPTV service logic
- UE User Equipment
- SIP-based IPTV service request that is, a content service request
- Media node refers to a media server with media control and / or delivery capabilities.
- the media nodes described herein may have both media control functions and media delivery functions; or they may be separated into separate functional entities with media control functions and media delivery functions, or may have only media delivery functions.
- the media node may be the ES or CS in FIG. 1; or may be the combination of the MCF and the MDF in FIG. 2 or the MDF; or may be the combination of the CC and the CDF in the OPEN IPTV FORUM standard (FIG. 3).
- CDF 5) a content routing function (CRF) for storing content index information, where the content index information includes content distribution information of the edge MS and the core MS, and a content service request for receiving the SIP format, according to the content index Information is routed to content service requests;
- CRF content routing function
- the interface between the CRF and the MS, and the interface between the two CRFs are content routing interfaces, which have content query and content location functions.
- the CRF routes or forwards content service requests to the MS or other CRF through the interface.
- the CRF can also be combined with the media node function into a functional entity, ie the MS has the functionality of the CRF described herein.
- the CRF can also be merged with the media control function entity therein, that is, as a functional entity.
- the MCF provided in Figure 2 may have the functionality of the CRF described herein; or the CC in the OPEN IPTV FORUM standard ( Figure 3) has the functionality of the CRF described herein.
- the secondary CRF has the content index information of the edge MS and the secondary MS, and can perform cross-layer routing. If the routing request directly reaches the secondary CRF, the CRF can select the secondary or edge MS to provide content, when the above route fails.
- the CRF may forward the content service request to the upper routing entity (CRF) or the upper MS;
- the first-level CRF and the second-level CRF have the same functions, and each performs cross-layer content routing. That is, if the routing request directly reaches the primary CRF, it can perform cross-layer routing, that is, the primary or secondary MS may be selected for content. Provided; when receiving the content routing request sent by the subordinate CRF, directly select the primary MS to perform the service. In this way, the primary CRF has content index information managed by the secondary CRF and content index information of the primary MS, so that it can perform cross-layer content routing.
- Level 1 CRF only manages the media content index information of this level, that is, as long as the content service request is received, only one level
- the second option simplifies the functionality of the Level 1 CRF. It is only a subset of the Level 2 CRF function and is simple to implement; in this case, its functionality can also be combined with the Level 1 MS.
- the above-mentioned MS adopts hierarchical deployment to form a typical hierarchical or hierarchical CDN network.
- Figure 4 only the two-level deployment structure is used for description.
- the multi-level deployment is similar, and will not be described in detail here.
- This embodiment provides a processing method when content routing is abnormal.
- the method provides a process when an abnormal situation occurs in the content routing process.
- the following abnormal conditions may occur in the content routing process:
- the MS may not respond for a long time; at this time, the CRF may reselect a new MS and resend the content service request to the newly selected MS;
- the CRF When the CRF sends a content service request to the selected MS, the MS may reply with a failure response. Indicates that there is no requested content. At this point, the CRF can reselect a new MS and resend the content service request to the newly selected MS.
- the processing method when the content is abnormally includes:
- the UE initiates a content service request, and the content service request may be a SIP mode, such as a video on demand (VoD) request.
- the request may carry the content identifier requested by the user, and may also carry the user terminal type. Editing/decoding information, etc., which can be carried in the SDP (Session Description Protocol);
- the IMS core After receiving the content service request initiated by the UE, the IMS core triggers the SCF to perform processing;
- the SCF After receiving the trigger of the IMS core, the SCF performs service logic processing, and sends the content service request to the CRF in the CDN network, where the media node that can provide the content requested by the user is located; wherein, the SCF may be in the IMS standard.
- AS Application Server
- AS Application Server
- IPTV control IPTV control
- TISPAN IPTV control
- the CRF After receiving the content service request, the CRF performs the MS selection, and forwards the content service request to the selected MS, and starts a CRF request timeout timer.
- the CRF may locally store content index information including content of multiple edge MSs and core MSs, where the edge MS refers to the node closest to the user; the core MS refers to the edge except for the edge. MS other than MS;
- the CRF can be selected according to the following strategies:
- the MS selection is performed according to the content index information that is provided.
- the content routing function entity may also perform routing in combination with one or more of the following conditions, including: media node load, terminal location, terminal Ability, media node capabilities, etc.
- the CRF is a secondary CRF
- when performing MS selection only the MS selection is considered in the edge MS and the secondary MS. For example, when the load of the edge node closer to the terminal location exceeds 80%, the MS is considered to have reached With the load threshold, it is possible to select an edge node that is 40% or less from another load that is farther from the terminal, or a secondary MS that has a load of 10% or less.
- the CRF may forward the content service request to the upper-level CRF processing; or, the CRF may also be to the content service.
- the requesting initiator (for example, the SCF) sends a redirect request, which includes the address of the upper-level CRF, and the content service request initiator obtains the address of the upper-level CRF, and then redirects the request to the upper-level CRF processing; Redirect to the upper level CRF.
- the routing process of the upper-level CRF for the content service request and the above CRF routing process Similarly, only the content index information it has may be different.
- the selected MS does not respond to the content service request; whether the network congestion causes the response to time out, or the MS downtime fails to respond, a timeout event of the CRF request timeout timer may eventually occur;
- the MS Normally, after receiving the content service request, the MS sends a response to the CRF and provides the requested content to the terminal. When an abnormal situation occurs, the MS will not respond to the content service request, or send a message without the requested content. The MS in this embodiment does not respond;
- the method of selecting a new MS here may be performed according to the above selection policy; that is, there may be other edge media nodes and the local media node having the requested content, so that one may be additionally selected therein; or if there are no other optional media nodes , the content routing request can be forwarded to the upper CRF for further processing.
- the process here gives the former case.
- the CRF resends the content service request to the newly selected MS.
- the UE initiates a content service request, and this embodiment is a SIP invite;
- the SCF After receiving the trigger of the IMS core, the SCF performs service logic processing, and sends the SIP invite to the CRF in the CDN network.
- the CRF After receiving the SIP invite, the CRF performs the MS selection, and forwards the SIP invite to the selected MS, and starts a CRF request timeout timer.
- the content routing method includes:
- the method for selecting a new MS here may be performed according to the above media node selection policy, that is, there may be other edge media nodes and the local media node having the requested content, so that one may be additionally selected therein; or if there is no other optional
- the media node can forward the content routing request to the upper CRF for further processing. This The flow is given as the former case.
- the CRF After reselection, the CRF initiates a SIP invite request to the newly selected MS.
- This embodiment provides a specific processing method for the abnormal situation in the content routing process, and the operation is simple. Meanwhile, when the CRF in this embodiment does not receive the deterministic response to the content routing request, the media node selection is performed again.
- the method performs re-routing, does not need to notify the terminal to re-route, reduces the participation process of the terminal, improves the efficiency of content routing, enables the terminal to successfully obtain the requested service by sending a content service request, and improves the terminal.
- the quality of service prevents the content service request of the terminal from failing.
- the processing mechanism can be well combined with the IMS signaling routing mechanism, and the IMS and the CDN can be seamlessly combined.
- Example 2 The foregoing method is described by taking the networking structure provided in FIG. 4 as an example. However, the method provided by the embodiment of the present invention is not limited to the networking structure and is applicable to any networking structure, and is not described in detail herein. Example 2
- This embodiment provides a method for processing a content routing exception.
- an embodiment of the method of the present invention and a combination of the prior art may be further provided. This embodiment only gives a description of the case where the content node does not respond or the response timeout. Referring to Figure 8, the processing method of the content path exception is briefly described as follows:
- the processes of 401-407 are basically the same as those of 201-207 described above, except that the SCF in this embodiment is replaced by IPTV control, the CRF function is implemented by the CDNC function, and the CC and CDF constitute a media node.
- the CDNC When the media node selected by the CDNC according to the content service request does not respond or the response times out, the CDNC reselects a media node, here select CC; thereafter the CDNC sends a content service request to the new media node.
- the CRF function here can also be combined with the CC function, and does not affect the existing CDNC function; then the CDF is the media node, and it is easy to give the relevant processing flow, which will not be described in detail here.
- Example 3
- This embodiment provides a processing method when content routing is abnormal.
- an embodiment combining the method of the present invention and the prior art may be further provided. This embodiment gives an explanation only for the case where the content node does not respond or the response times out.
- the processing method when the content routing is abnormal is briefly described as follows: 501-507 is basically the same as the above 201-207, except that the CRF function in this embodiment is implemented by the MCF function, and the MDF is used as a media node.
- the MCF When the MCF selected by the MCF according to the content service request does not respond or the response times out, the MCF reselects a media node, here selects the MDF; thereafter the MCF sends a content service request to the new media node MDF.
- a detailed processing flow can be easily given by Embodiment 1, and will not be described again here.
- CRF can also exist as an independent functional entity, and MCF and MDF form a media node.
- the SCF forwards the content service request to the CRF, which further selects the media node and sends a content service request thereto; when the MCF response times out or responds to no content, the CRF can reselect a media node and send a content service request thereto.
- this embodiment provides a system, including: a content routing function device 41, configured to forward a content service request to a media node 42 having the requested content; and when the content service request is not received.
- a content routing function device 41 configured to forward a content service request to a media node 42 having the requested content; and when the content service request is not received.
- the media node 42 having the requested content other than the media node 42 is reselected; the content service request is sent to the reselected media node 42.
- the system can also include:
- the terminal device 43 is configured to initiate the foregoing content service request
- the multimedia subsystem core device 44 is configured to forward the content service request sent by the terminal device 43 and trigger the service control function device 45 to perform service processing;
- the service control function device 45 is configured to: after receiving the service request triggered by the multimedia subsystem core device 44, perform service logic processing, and send the content service request to the selected content routing function device 41 through the multimedia subsystem core device 44, The content routing function device 41 selects the media node 42 and sends a content service request to the selected media node 42;
- the media node 42 is configured to check whether the content of the content service request exists after receiving the content service request of the content routing function device 41, and if yes, send an acknowledgment response to the content routing function device 41, and provide the requested content to the terminal. If not, the content routing function device 41 is sent a message without the requested content or does not respond to the content service request.
- the deterministic response that the content routing function device 41 does not receive the content service request includes:
- the content routing function device 41 receives a message that the media node 42 does not have the requested content, or the content routing function The device 41 does not respond to the media node 42 within the preset time.
- the media node 42 described herein may have both a media control function and a media delivery function; or it may be separated into separate functional entities having media control functions and media delivery functions, or may have only media delivery functions.
- the media node 42 may be the ES or CS in FIG. 1; or may be the combination of the MCF and the MDF in FIG. 2 or the MDF; or may be the CC and CDF in the OPEN IPTV FORUM standard (FIG. 3). Combination or CDF;
- the content routing function device 41 can also be merged with the media control function entity therein, that is, as a functional entity.
- the MCF in Figure 2 may have the functionality of the content routing function device 41 described herein; or the CC in the OPEN IPTV FORUM standard ( Figure 3) has the functionality of the content routing function device 41 described herein.
- the content routing function device 41 may store the content index information of the plurality of media nodes 42 and the core media nodes in advance, and the content of the content index information is the same as that in the first embodiment, and may be implemented when the media node 42 is selected.
- the strategy described in Example 1 is selected and will not be described in detail herein.
- the content routing function device includes:
- the forwarding module 411 is configured to forward the content service request to the media node having the requested content
- the exception processing module 412 is configured to: after the forwarding module 411 forwards the content service request, when not receiving the deterministic response to the content service request, reselecting the media node having the requested content other than the media node; sending the content service request to Reselected media node.
- the forwarding module 411 includes:
- a media node selection unit configured to select, according to content index information of the content of the plurality of edge media nodes and the core media node that are included in the content, the media node having the content requested in the content service request;
- a forwarding unit configured to forward the content service request to the media node selected by the media node selection unit.
- the exception handling module 412 includes:
- An abnormal situation determining unit configured to: when receiving a message that the media node selected by the forwarding module does not have the requested content, or when the media node selected by the forwarding module does not respond within a preset time, determining that an abnormal situation occurs;
- an exception processing unit configured to: when the abnormal condition determining unit determines that an abnormal situation occurs, reselect a media node having the requested content other than the media node; and send the content service request to the reselected media node.
- the media node is selected according to the content service request, and the content routing is implemented, and the operation is simple and easy to implement.
- the content index information of the plurality of edge media nodes and the core media node stored locally may only have the requested content.
- the media node is selected.
- the method of re-selecting the media node is used to perform re-routing, without notifying the terminal to re-route, minus
- the participation process of the terminal is reduced, the efficiency of content routing is improved, and the terminal can successfully obtain the requested service by sending a content service request, thereby improving the quality of service to the terminal, and the processing mechanism can be good and IMS signaling.
- All or part of the technical solutions provided by the above embodiments may be implemented by software programming, and the software program is stored in a readable storage medium such as a hard disk, an optical disk or a floppy disk in a computer.
- a readable storage medium such as a hard disk, an optical disk or a floppy disk in a computer.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
内容路由异常时的处理方法、 内容路由功能设备和系统 技术领域 Processing method when content routing is abnormal, content routing function device and system
本发明涉及通信领域, 特别涉及一种内容路由异常时的处理方法、 内容路由功能设备 和系统。 说 The present invention relates to the field of communications, and in particular, to a method, a content routing function device, and a system for processing content exceptions. Say
背景技术 Background technique
流媒体业务或 IPTV (IP Television, IP电视) 业务是一种新业务, 流媒体业务利用流 式传输技术, 在包交换网络上传输多媒体文件, 包括视频、 音频等文件内容。 这些内容在 访问时无需完全下载就可以立即播放。 流媒体实现的关键技术就是流式传输技术, 而流式 书 The streaming media service or IPTV (IP Television) service is a new service. The streaming media service utilizes streaming technology to transmit multimedia files, including video and audio files, on a packet switched network. This content can be played immediately without having to download it completely. The key technology for streaming media implementation is streaming technology, and streaming books.
传输技术是把连续的视频和音频信息经过处理后放上服务器, 让用户一边下载一边观看、 收听, 而不需要等整个文件下载到自己机器后就可以观看的网络传输技术。 Transmission technology is a network transmission technology that processes continuous video and audio information and puts it on the server, allowing users to watch and listen while downloading, without having to wait for the entire file to be downloaded to their own machine.
IMS(IP Multimedia Subsystem, IP多媒体子系统)是一种多媒体业务的子系统, 它包括 CSCF ( Call Session Control Function, 呼叫会话控制功能)、 MGCF (Media Gateway Control Function, 媒体网关控制功能)、 MRF (Media Resource Function, 媒体资源功能) 等功能实 体, 主要采用 SIP ( Session Initiation Protocol, 会话初始化协议)、 Diameter协议, 属于上层 控制子系统, 与具体接入技术无关, 是业界普遍认同的移动与固定融合的理想方案和发展 方向。 IMS (IP Multimedia Subsystem) is a subsystem of multimedia services, including CSCF (Call Session Control Function), MGCF (Media Gateway Control Function), MRF ( Functional entities such as the Media Resource Function (media resource function), mainly adopting SIP (Session Initiation Protocol) and Diameter protocol, belong to the upper-layer control subsystem, and have nothing to do with the specific access technology. The ideal solution and direction of development.
SIP协议是一个应用层的控制协议, 可以用来建立、 修改、 和终止多媒体会话 (或者会 议), 例如 Internet 电话。 SIP协议也支持邀请参与者参加已经存在的会话, 比如多方会议。 The SIP protocol is an application layer control protocol that can be used to establish, modify, and terminate multimedia sessions (or conferences), such as Internet telephony. The SIP protocol also supports inviting participants to participate in existing sessions, such as multiparty conferences.
基于 IMS架构提供的 IPTV业务, 可以充分利用 IMS网络中已有的注册、 认证、 路由、 会话控制与建立、 业务触发、 计费、 端到端 QoS (Quality of Service, 服务质量) 保证等机 制为用户提供流媒体业务及融合流媒体和实时会话业务的多媒体业务。 The IPTV service provided by the IMS-based architecture can fully utilize the existing mechanisms of registration, authentication, routing, session control and establishment, service triggering, charging, and end-to-end QoS (Quality of Service) guarantee in the IMS network. Users provide streaming services and multimedia services that integrate streaming media and real-time session services.
CDN (Content Delivery/Distribution Network, 内容交付 /分发网络) 是随着网站规模逐 步扩大而出现的, 适当的 CDN部署可以使靠近用户的 CDN节点缓存热点网页、 图像等。 当用户请求内容时, 可以就近从这些 CDN缓存节点获取, 使内容可以快速交付给用户, 从 而改善用户体验, 同时可以减轻骨干网络的拥塞状况。 CDN (Content Delivery/Distribution Network) is augmented with the scale of the website. Appropriate CDN deployment enables hot-spot web pages, images, etc. to be cached by CDN nodes close to users. When the user requests content, it can be obtained from these CDN cache nodes in the near future, so that the content can be quickly delivered to the user, thereby improving the user experience and reducing the congestion of the backbone network.
在实现本发明的过程中, 发明人发现现有上述技术至少存在以下问题: In the process of implementing the present invention, the inventors have found that the prior art described above has at least the following problems:
现有的 CDN机制下, 若选定的媒体节点没有内容或出现其它异常情况时, 没有相应的 处理措施完成终端的内容业务请求, 导致终端的请求失败。 发明内容 Under the existing CDN mechanism, if the selected media node has no content or other abnormal conditions, there is no corresponding The processing method completes the content service request of the terminal, and the request of the terminal fails. Summary of the invention
为了在媒体节点出现异常情况时, 能够完成终端的内容业务请求, 本发明实施例提供 了一种内容路由异常时的处理方法、 内容路由功能设备和系统。 所述技术方案如下: In order to complete the content service request of the terminal when the abnormality occurs in the media node, the embodiment of the present invention provides a processing method, a content routing function device, and a system when the content routing is abnormal. The technical solution is as follows:
一种内容路由异常时的处理方法, 所述方法包括: A method for processing a content routing exception, the method comprising:
内容路由功能设备转发内容业务请求到具有所请求内容的媒体节点; The content routing function device forwards the content service request to the media node having the requested content;
当没有收到对内容业务请求的确定性响应时, 所述内容路由功能设备重新选择所述媒 体节点以外的具有所请求内容的媒体节点; When the deterministic response to the content service request is not received, the content routing function device reselects the media node having the requested content other than the media node;
所述内容路由功能设备将所述内容业务请求发送到重新选择的媒体节点。 The content routing function device sends the content service request to the reselected media node.
一种内容路由功能设备, 所述设备包括: A content routing function device, the device includes:
转发模块, 用于转发内容业务请求到具有所请求内容的媒体节点; a forwarding module, configured to forward a content service request to a media node having the requested content;
异常处理模块, 用于所述转发模块转发所述内容业务请求后, 当没有收到对内容业务 请求的确定性响应时, 重新选择所述媒体节点以外的具有所请求内容的媒体节点; 将所述 内容业务请求发送到重新选择的媒体节点。 An exception processing module, configured to: after the forwarding module forwards the content service request, when the deterministic response to the content service request is not received, reselecting a media node having the requested content other than the media node; The content service request is sent to the reselected media node.
本发明实施例还提供了一种系统, 所述系统包括内容路由功能设备, 用于转发内容业 务请求到具有所请求内容的媒体节点; 以及当没有收到对内容业务请求的确定性响应时, 重新选择所述媒体节点以外的具有所请求内容的媒体节点; 将所述内容业务请求发送到重 新选择的媒体节点。 The embodiment of the present invention further provides a system, where the system includes a content routing function device, configured to forward a content service request to a media node having the requested content; and when a deterministic response to the content service request is not received, Reselecting a media node having the requested content other than the media node; transmitting the content service request to the reselected media node.
本发明实施例提供的技术方案的有益效果是: The beneficial effects of the technical solutions provided by the embodiments of the present invention are:
通过当没有收到对内容业务请求的确定性响应时, 内容路由功能设备重新选择新的媒 体节点为终端提供内容, 不需要通知终端重新进行路由选择, 减少了终端的参与过程, 提 高了内容路由的效率, 使终端发送一次内容业务请求就能够成功地获取到请求的业务, 提 高了对终端的服务质量。 附图说明 When the deterministic response to the content service request is not received, the content routing function device reselects the new media node to provide content for the terminal, does not need to notify the terminal to re-route, reduces the participation process of the terminal, and improves content routing. The efficiency enables the terminal to successfully obtain the requested service by sending a content service request, thereby improving the quality of service to the terminal. DRAWINGS
图 1是本发明实施例提供的 CDN的结构示意图; 1 is a schematic structural diagram of a CDN according to an embodiment of the present invention;
图 2是本发明实施例提供的基于 IMS实现 IPTV的结构示意图; 2 is a schematic structural diagram of implementing IPTV based on IMS according to an embodiment of the present invention;
图 3是本发明实施例提供的 CDN结构示意图; 3 is a schematic structural diagram of a CDN according to an embodiment of the present invention;
图 4是本发明实施例 1提供的组网结构示意图; 图 5是本发明实施例 1提供的内容路由异常时的处理方法的流程图; 4 is a schematic structural diagram of a networking provided by Embodiment 1 of the present invention; 5 is a flowchart of a processing method when a content routing exception is provided according to Embodiment 1 of the present invention;
图 6是本发明实施例 1提供的内容路由异常时的处理方法的消息交互图; 6 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 1 of the present invention;
图 7是本发明实施例 1提供的另一内容路由异常时的处理方法的消息交互图; 7 is a message interaction diagram of a processing method when another content routing exception is provided according to Embodiment 1 of the present invention;
图 8是本发明实施例 2提供的内容路由异常时的处理方法的消息交互图; 8 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 2 of the present invention;
图 9是本发明实施例 3提供的内容路由异常时的处理方法的消息交互图; 9 is a message interaction diagram of a method for processing a content routing exception according to Embodiment 3 of the present invention;
图 10是本发明实施例 4提供的系统的结构示意图; FIG. 10 is a schematic structural diagram of a system according to Embodiment 4 of the present invention; FIG.
图 11是本发明实施例 4提供的内容路由功能设备的结构示意图。 具体实施方式 FIG. 11 is a schematic structural diagram of a content routing function device according to Embodiment 4 of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。 The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例提供的内容路由异常时的处理方法, 包括: The method for processing the content routing exception provided by the embodiment of the present invention includes:
内容路由功能设备转发内容业务请求到具有所请求内容的媒体节点; The content routing function device forwards the content service request to the media node having the requested content;
当没有收到对内容业务请求的确定性响应时, 该内容路由功能设备重新选择上述媒体 节点以外的具有所请求内容的媒体节点, 将内容业务请求发送到重新选择的媒体节点。 When the deterministic response to the content service request is not received, the content routing function device reselects the media node having the requested content other than the media node, and transmits the content service request to the reselected media node.
其中, 具有所请求的内容的媒体节点有多个, 可以通过 CDN的组网结构实现进行媒体 节点的选取, 如图 1所示, 本发明实施例提供的 CDN组网结构, 该 CDN是分级部署的, 由 CS (Center Server, 中心服务器) 和 ES (Edge Server, 边缘服务器) 组成分级的内容网 络, 其中, 包括 RRS (Request Routing Server, 请求路由服务器), CS和 ES是内容存储设 备, 并可以交付内容给用户终端, 用户终端通过访问 web 门户网站进行业务请求, 请求获 取提供内容的地址 (URL); DNS (Domain Name System, 域名系统) 服务器收到用户终端 的业务请求后, 基于 DNS机制解析内容地址, 将 RRS的地址返回给用户终端; 此后, 用户 终端向 RRS发出内容请求, 如采用 HTTP (HyperText Transfer Protocol, 超文本传输协议), RTSP (Real Time Streaming Protocol, 实时流协议) 等; RRS根据自身存储的 ES负载、 用 户 IP等信息选择一个 ES, 并将用户终端的内容请求重定向到该 ES。 The CDN networking structure provided by the embodiment of the present invention, the CDN is hierarchically deployed, and the media node having the requested content is multiple. a hierarchical content network consisting of a CS (Center Server) and an ES (Edge Server), including RRS (Request Routing Server), CS and ES are content storage devices, and The user terminal delivers the content to the user terminal, and the user terminal requests the service to obtain the address (URL) of the provided content by accessing the web portal; the DNS (Domain Name System) server receives the service request of the user terminal, and then resolves based on the DNS mechanism. The content address, the RRS address is returned to the user terminal; thereafter, the user terminal sends a content request to the RRS, such as HTTP (HyperText Transfer Protocol), RTSP (Real Time Streaming Protocol), etc.; According to its stored ES load, user IP Select an ES, a user terminal and the content requests are redirected to the ES.
为了更好地实现媒体节点出现异常情况时, 完成终端的内容业务请求, 参见图 2, 本发 明实施例提供了一种将 CDN与 IMS架构相结合实现 IPTV业务的结构, 该结构中的 MF (Media Control Functions,媒体功能)为用户提供内容,包括 MCF (Media Control Function, 媒体控制功能) 和 MDF (Media Delivery Function, 媒体交付功能), MCF控制 MDF进行 内容交付。 IMS系统中的 TPF (Transport Processing Functions, 传输处理功能)具有传输功能和传 输控制功能; In order to better implement the content service request of the terminal when the media node is abnormal, referring to FIG. 2, the embodiment of the present invention provides a structure for combining the CDN and the IMS architecture to implement the IPTV service, where the MF ( Media Control Functions (media function) provides content for users, including MCF (Media Control Function) and MDF (Media Delivery Function), and MCF controls MDF for content delivery. The TPF (Transport Processing Functions) in the IMS system has a transmission function and a transmission control function;
SCF ( Service Control Function, 业务控制功能) 可以基于用户终端位置、 MF负载、 所 请求的内容标识等选择相应的 MF提供内容; The SCF (Service Control Function) may select a corresponding MF providing content based on the user terminal location, the MF load, the requested content identifier, and the like;
或者, 内容路由也可以基于 MCF进行, 即由 MCF根据 MCF负载、所请求的内容标识 等选择相应的 MF提供内容, 此时 MCF体现为一个重定向服务器, 直到把业务请求路由到 相关的 MF, 完成终端的内容业务请求。 Alternatively, the content routing may also be performed based on the MCF, that is, the MCF selects the corresponding MF providing content according to the MCF load, the requested content identifier, etc., and the MCF is embodied as a redirecting server until the service request is routed to the related MF. Complete the content service request of the terminal.
参见图 3,本发明实施例中的 CDN可以采用 OPEN IPTV FORUM标准中的 CDN, CDN 包括: Referring to FIG. 3, the CDN in the embodiment of the present invention may adopt the CDN in the OPEN IPTV FORUM standard, and the CDN includes:
CC (Cluster Controller, 集群控制器), 用于控制 CDF (Content Delivery Function, 内 容交付功能) 实体进行内容提供; CC (Cluster Controller), which is used to control the CDF (Content Delivery Function) entity for content provision;
CDF实体, 用于进行内容存储和内容交付; CDF entity for content storage and content delivery;
CDNC (Content Delivery Network Controller, 内容网控制器), 用于进行内容路由, 即 选择用于内容交付的 CC功能实体; CDNC (Content Delivery Network Controller), used for content routing, that is, selecting a CC functional entity for content delivery;
本发明实施例中的 CDN也可以采用其它的 CDN结构, 例如图 1中的 CDN结构或图 2中的 The CDN in the embodiment of the present invention may also adopt other CDN structures, such as the CDN structure in FIG. 1 or in FIG.
MF结构。 实施例 1 MF structure. Example 1
本实施例提供了一种内容路由异常时的处理方法, 该方法以图 4提供的组网结构为例进 行说明, 该组网结构中包括: This embodiment provides a method for processing a content routing exception. The method is described by using the networking structure provided in FIG. 4 as an example. The networking structure includes:
1 ) IPTV业务控制功能实体 SCF, 用于实现 IPTV业务逻辑; 1) The IPTV service control function entity SCF is used to implement the IPTV service logic;
2) 用户终端 (UE, User Equipment) , 用于发起基于 SIP的 IPTV业务请求, 即内容业 务请求; 2) User equipment (UE, User Equipment), used to initiate a SIP-based IPTV service request, that is, a content service request;
3 )IMS标准中的 IMS核 IMScore,其功能遵循现有技术中 3GPP(3rd Generation Partnership Project, 第三代合作伙伴计划) 标准中的 IMS核的功能; 3) The IMS core IMScore in the IMS standard, whose function complies with the functions of the IMS core in the 3GPP (3rd Generation Partnership Project) standard in the prior art;
4)媒体节点 (MS, Media Station) , 指具有媒体控制和 /或交付能力的媒体服务器。 这 里所述的媒体节点可以同时具有媒体控制功能和媒体交付功能; 或者也可以分开为具有媒 体控制功能和媒体交付功能的独立功能实体, 或者也可以只具有媒体交付功能。 4) Media node (MS, Media Station), refers to a media server with media control and / or delivery capabilities. The media nodes described herein may have both media control functions and media delivery functions; or they may be separated into separate functional entities with media control functions and media delivery functions, or may have only media delivery functions.
具体而言, 媒体节点可以是图 1中的 ES或 CS; 也可以是图 2中的 MCF与 MDF的组合或者 MDF; 或者也可以是 OPEN IPTV FORUM标准中 (图 3 ) 的 CC与 CDF的组合或者 CDF; 5 ) CRF(Content Routing Function, 内容路由功能实体), 用于保存内容索引信息, 该内 容索引信息包括边缘 MS和核心 MS的内容分布信息;以及用于接收 SIP格式的内容业务请求, 根据内容索引信息对内容业务请求进行内容路由; Specifically, the media node may be the ES or CS in FIG. 1; or may be the combination of the MCF and the MDF in FIG. 2 or the MDF; or may be the combination of the CC and the CDF in the OPEN IPTV FORUM standard (FIG. 3). Or CDF; 5) a content routing function (CRF) for storing content index information, where the content index information includes content distribution information of the edge MS and the core MS, and a content service request for receiving the SIP format, according to the content index Information is routed to content service requests;
CRF与 MS之间的接口, 以及两个 CRF之间的接口为内容路由接口, 具有内容查询和内 容定位功能, CRF通过该接口路由或者转发内容业务请求到 MS或者其它 CRF。 The interface between the CRF and the MS, and the interface between the two CRFs are content routing interfaces, which have content query and content location functions. The CRF routes or forwards content service requests to the MS or other CRF through the interface.
CRF也可以和媒体节点功能合并为一个功能实体, 即 MS具有这里所述的 CRF的功能。 在媒体节点中的媒体控制功能和媒体交付功能作为独立实体存在时, CRF也可以和其中 的媒体控制功能实体合并, 即作为一个功能实体。 例如: 图 2所提供的 MCF可以具有这里所 述 CRF的功能; 或者在 OPEN IPTV FORUM标准中(图 3 )的 CC具有这里所述的 CRF的功能。 The CRF can also be combined with the media node function into a functional entity, ie the MS has the functionality of the CRF described herein. When the media control function and the media delivery function in the media node exist as independent entities, the CRF can also be merged with the media control function entity therein, that is, as a functional entity. For example: The MCF provided in Figure 2 may have the functionality of the CRF described herein; or the CC in the OPEN IPTV FORUM standard (Figure 3) has the functionality of the CRF described herein.
针对 CDN分级结构, CRF的功能具体如下: For the CDN hierarchy, the functions of the CRF are as follows:
二级 CRF具有边缘 MS和二级 MS的内容索引信息, 并且可以进行跨层路由选择, 若路 由请求直接到达二级 CRF, 该 CRF可以选择二级或边缘 MS进行内容提供, 当上述路由失败 时, 该 CRF可以向上级路由实体 (CRF) 或者上级 MS转发内容业务请求; The secondary CRF has the content index information of the edge MS and the secondary MS, and can perform cross-layer routing. If the routing request directly reaches the secondary CRF, the CRF can select the secondary or edge MS to provide content, when the above route fails. The CRF may forward the content service request to the upper routing entity (CRF) or the upper MS;
一级 CRF的功能可以有两种选择: There are two options for the level 1 CRF function:
1 ) 一级 CRF和二级 CRF的功能相同, 都进行跨层的内容路由, 即若路由请求直接到达 一级 CRF, 其可以进行跨层路由选择, 即可能选择一级或二级 MS进行内容提供; 当收到下 级 CRF发来的内容路 ώ请求时, 则直接选择一级 MS进行服务。 在这种方式下, 一级 CRF具 有二级 CRF所管理的内容索引信息, 以及一级 MS的内容索引信息, 这样, 其可以进行跨层 的内容路由。 1) The first-level CRF and the second-level CRF have the same functions, and each performs cross-layer content routing. That is, if the routing request directly reaches the primary CRF, it can perform cross-layer routing, that is, the primary or secondary MS may be selected for content. Provided; when receiving the content routing request sent by the subordinate CRF, directly select the primary MS to perform the service. In this way, the primary CRF has content index information managed by the secondary CRF and content index information of the primary MS, so that it can perform cross-layer content routing.
2)一级 CRF只管理本层次的媒体内容索引信息, 即只要收到内容业务请求, 只从一级 2) Level 1 CRF only manages the media content index information of this level, that is, as long as the content service request is received, only one level
MS中进行选择。 Make a selection in the MS.
第二种选择对一级 CRF的功能做了简化, 它只是二级 CRF功能的一个子集, 其实现简 单; 这种情况下, 也可以将其功能与一级 MS合并。 The second option simplifies the functionality of the Level 1 CRF. It is only a subset of the Level 2 CRF function and is simple to implement; in this case, its functionality can also be combined with the Level 1 MS.
上述 MS采用分级部署, 构成典型的分层或分级 CDN网络, 图 4中仅以两级部署结构作 以说明, 多级的部署与此类似, 这里不再详述。 The above-mentioned MS adopts hierarchical deployment to form a typical hierarchical or hierarchical CDN network. In Figure 4, only the two-level deployment structure is used for description. The multi-level deployment is similar, and will not be described in detail here.
本实施例提供了一种内容路由异常时的处理方法, 该方法给出了在内容路由过程中出 现异常情况时的处理过程, 其中, 在内容路由过程中可能出现以下异常情况: This embodiment provides a processing method when content routing is abnormal. The method provides a process when an abnormal situation occurs in the content routing process. The following abnormal conditions may occur in the content routing process:
第一种: 当 CRF将内容业务请求发送给所选定的 MS后, 该 MS可能长时间没有响应; 这 时 CRF可以重新选择一个新的 MS, 并向新选择的 MS重新发送内容业务请求; First: After the CRF sends the content service request to the selected MS, the MS may not respond for a long time; at this time, the CRF may reselect a new MS and resend the content service request to the newly selected MS;
第二种: 当 CRF将内容业务请求发送给所选定的 MS后, 该 MS可能以失败响应回复, 表明自身没有所请求的内容。 这时 CRF可以重新选择一个新的 MS, 并向新选择的 MS重新 发送内容业务请求。 Second: When the CRF sends a content service request to the selected MS, the MS may reply with a failure response. Indicates that there is no requested content. At this point, the CRF can reselect a new MS and resend the content service request to the newly selected MS.
参见图 5, 该内容路由异常时的处理方法包括: Referring to FIG. 5, the processing method when the content is abnormally includes:
101: UE发起内容业务请求, 该内容业务请求可以是 SIP方式, 例如 VoD (Video on Demand, 视频点播) 请求, 该请求中可以携带用户所请求的内容标识, 也可以携带用户终 端类型, 支持的编 /解码信息等, 这些信息可以携带在 SDP ( Session Description Protocol, 会话描述协议) 中; The UE initiates a content service request, and the content service request may be a SIP mode, such as a video on demand (VoD) request. The request may carry the content identifier requested by the user, and may also carry the user terminal type. Editing/decoding information, etc., which can be carried in the SDP (Session Description Protocol);
102: IMScore收到 UE发起的内容业务请求后, 触发 SCF进行处理; 102: After receiving the content service request initiated by the UE, the IMS core triggers the SCF to perform processing;
103: SCF收到 IMScore的触发后,进行业务逻辑处理,并将该内容业务请求发送给 CDN 网络中的 CRF, 由其定位可以提供用户所请求内容的媒体节点; 其中, SCF可以是 IMS标 准中的 AS (Application Server, 应用服务器); 也可以是 Open IPTV Forum IPTV标准中的 103: After receiving the trigger of the IMS core, the SCF performs service logic processing, and sends the content service request to the CRF in the CDN network, where the media node that can provide the content requested by the user is located; wherein, the SCF may be in the IMS standard. AS (Application Server); can also be in the Open IPTV Forum IPTV standard
IPTV control控制器 (IPTV control)或者 TISPAN基于 IMS的 IPTV标准中的业务控制功能IPTV control (IPTV control) or TISPAN's IMS-based IPTV standard for business control functions
SCF实体等; SCF entity, etc.
104: CRF收到该内容业务请求后, 进行 MS的选择, 并将该内容业务请求转发到所选 择的 MS, 并启动 CRF请求超时定时器; 104: After receiving the content service request, the CRF performs the MS selection, and forwards the content service request to the selected MS, and starts a CRF request timeout timer.
在进行 MS选择时 (即内容路由), CRF可以预先在本地存储包含多个边缘 MS和核心 MS所具有的内容的内容索引信息, 其中, 边缘 MS指最靠近用户的节点; 核心 MS指除了 边缘 MS以外的 MS; When performing MS selection (ie, content routing), the CRF may locally store content index information including content of multiple edge MSs and core MSs, where the edge MS refers to the node closest to the user; the core MS refers to the edge except for the edge. MS other than MS;
进一步地, 选择 MS时, CRF可以根据如下策略进行选择: Further, when selecting MS, the CRF can be selected according to the following strategies:
根据所具有的内容索引信息进行 MS选择; 另外, 在进行选择过程时, 内容路由功能实 体还可以结合如下条件中的一个或多个进行路由选择, 这些条件包括: 媒体节点负载、 终 端位置、 终端能力、 媒体节点能力等。 The MS selection is performed according to the content index information that is provided. In addition, when performing the selection process, the content routing function entity may also perform routing in combination with one or more of the following conditions, including: media node load, terminal location, terminal Ability, media node capabilities, etc.
如果该 CRF为二级 CRF, 在进行 MS选择时, 则只考虑在边缘 MS和二级 MS中进行 MS选择, 例如与终端位置较近的边缘节点的负载超过 80%时, 认为该 MS已经达到负载门 限, 因而可以选择距离该终端较远的另一负载为 40%以下的边缘节点, 或者也可以选择负 载为 10%以下的二级 MS等。 当该 CRF无法找到可用的 MS时, 即此时在边缘 MS和二级 MS均没有所请求的内容时, CRF可以将内容业务请求转发到上一级 CRF处理; 或者, CRF 也可以向内容业务请求发起方 (例如 SCF) 发送重定向请求, 其中包含其上一级 CRF的地 址, 内容业务请求发起方得到上一级 CRF的地址后, 将该请求重定向到上一级 CRF处理; 将其重定向到上一级 CRF。上一级 CRF对于内容业务请求的路由过程与上述 CRF路由过程 类似, 只是其所具有的内容索引信息可能有所不同。 If the CRF is a secondary CRF, when performing MS selection, only the MS selection is considered in the edge MS and the secondary MS. For example, when the load of the edge node closer to the terminal location exceeds 80%, the MS is considered to have reached With the load threshold, it is possible to select an edge node that is 40% or less from another load that is farther from the terminal, or a secondary MS that has a load of 10% or less. When the CRF cannot find an available MS, that is, when neither the edge MS nor the secondary MS has the requested content, the CRF may forward the content service request to the upper-level CRF processing; or, the CRF may also be to the content service. The requesting initiator (for example, the SCF) sends a redirect request, which includes the address of the upper-level CRF, and the content service request initiator obtains the address of the upper-level CRF, and then redirects the request to the upper-level CRF processing; Redirect to the upper level CRF. The routing process of the upper-level CRF for the content service request and the above CRF routing process Similarly, only the content index information it has may be different.
105: 所选择的 MS对该内容业务请求未作响应; 无论是网络拥塞导致响应超时, 或者 是 MS宕机无法响应, 最终都可以出现 CRF请求超时定时器的超时事件; 105: The selected MS does not respond to the content service request; whether the network congestion causes the response to time out, or the MS downtime fails to respond, a timeout event of the CRF request timeout timer may eventually occur;
正常情况下, MS收到内容业务请求后, 会向 CRF发送响应, 并向终端提供所请求的 内容, 当出现异常情况时, MS将对内容业务请求不作响应,或发送没有所请求内容的消息, 本实施例的 MS为不作响应; Normally, after receiving the content service request, the MS sends a response to the CRF and provides the requested content to the terminal. When an abnormal situation occurs, the MS will not respond to the content service request, or send a message without the requested content. The MS in this embodiment does not respond;
106: 当 CRF请求超时定时器的响应超时后, CRF重新选择一个新的 MS; 106: When the response of the CRF request timeout timer expires, the CRF reselects a new MS;
这里选择新的 MS的方法可以按照上述选择策略进行;即可能还有其它边缘媒体节点和 本级媒体节点具有所请求的内容, 从而可以在其中另外选择一个; 或者如果没有其它可选 的媒体节点, 则可以向上一级 CRF转发内容路由请求, 由其进行进一步处理。 这里流程给 出为前一种情况。 The method of selecting a new MS here may be performed according to the above selection policy; that is, there may be other edge media nodes and the local media node having the requested content, so that one may be additionally selected therein; or if there are no other optional media nodes , the content routing request can be forwarded to the upper CRF for further processing. The process here gives the former case.
107: CRF向新选择的 MS重新发送内容业务请求。 107: The CRF resends the content service request to the newly selected MS.
参见图 6, 为图 5内容路由过程的消息交互图, 简单介绍如下: Referring to Figure 6, the message interaction diagram of the content routing process of Figure 5 is briefly introduced as follows:
201: UE发起内容业务请求, 本实施例为 SIP invite; 201: The UE initiates a content service request, and this embodiment is a SIP invite;
202: 0^8∞6收到1^发起的81? ^^^后, 触发 SCF进行处理; 202: 0^8∞6 After receiving 81? ^^^ initiated by 1^, the SCF is triggered to be processed;
203: SCF收到 IMScore的触发后, 进行业务逻辑处理, 并将该 SIP invite发送给 CDN 网络中的 CRF; 203: After receiving the trigger of the IMS core, the SCF performs service logic processing, and sends the SIP invite to the CRF in the CDN network.
204: CRF收到该 SIP invite后, 进行 MS的选择, 并将该 SIP invite转发到所选择的 MS, 并启动 CRF请求超时定时器; 204: After receiving the SIP invite, the CRF performs the MS selection, and forwards the SIP invite to the selected MS, and starts a CRF request timeout timer.
205: 所选择的 MS对该 SIP invite未作响应; 205: The selected MS does not respond to the SIP invite;
206: 当 CRF请求超时定时器的响应超时后, CRF重新选择一个新的 MS; 206: After the response of the CRF request timeout timer expires, the CRF reselects a new MS;
207: CRF向新选择的 MS重新发送 SIP invite„ 207: CRF resends SIP invite to newly selected MS
参见图 7, 针对上述第二种异常情况, 该内容路由方法包括: Referring to FIG. 7, for the second abnormal situation, the content routing method includes:
301 -304与图 6中的 201-204的处理过程相同, 这里不再详述; 301-304 is the same as the processing of 201-204 in Fig. 6, and will not be described in detail here;
305: 当收到 SIP invite请求的 MS发现自身没有所请求的内容时, 向 CRF发送失败响 应, 本实施例以 SIP 4xx响应指示这一失败情况; 305: When the MS that receives the SIP invite request finds that it does not have the requested content, it sends a failure response to the CRF, and this embodiment indicates the failure condition by using the SIP 4xx response;
306: CRF收到此失败响应后, 重新进行 MS选择; 306: After receiving the failure response, the CRF performs the MS selection again.
这里选择新的 MS的方法可以按照上述媒体节点选择策略进行,即可能还有其它边缘媒 体节点和本级媒体节点具有所请求的内容, 从而可以在其中另外选择一个; 或者如果没有 其它可选的媒体节点, 则可以向上一级 CRF转发内容路由请求, 由其进行进一步处理。 这 里流程给出为前一种情况。 The method for selecting a new MS here may be performed according to the above media node selection policy, that is, there may be other edge media nodes and the local media node having the requested content, so that one may be additionally selected therein; or if there is no other optional The media node can forward the content routing request to the upper CRF for further processing. This The flow is given as the former case.
307: 重新选择后, CRF向新选定的 MS发起 SIP invite请求。 307: After reselection, the CRF initiates a SIP invite request to the newly selected MS.
本实施例针对内容路由过程中的异常情况给出了具体的处理方法, 操作简单; 同时, 本实施例中的 CRF没有收到对内容路由请求的确定性响应时, 采取重新进行媒体节点选择 的方法进行再次路由, 不需要通知终端重新进行路由选择, 减少了终端的参与过程, 提高 了内容路由的效率, 使终端发送一次内容业务请求就能够成功地获取到请求的业务, 提高 了对终端的服务质量, 防止了终端的内容业务请求失败, 其处理机制可以很好的和 IMS信 令路由机制结合, 可以使 IMS和 CDN进行无缝结合。 This embodiment provides a specific processing method for the abnormal situation in the content routing process, and the operation is simple. Meanwhile, when the CRF in this embodiment does not receive the deterministic response to the content routing request, the media node selection is performed again. The method performs re-routing, does not need to notify the terminal to re-route, reduces the participation process of the terminal, improves the efficiency of content routing, enables the terminal to successfully obtain the requested service by sending a content service request, and improves the terminal. The quality of service prevents the content service request of the terminal from failing. The processing mechanism can be well combined with the IMS signaling routing mechanism, and the IMS and the CDN can be seamlessly combined.
本实施例提供的方法是针对二级 CDN网络加以说明的, 显然, 这个方法同样适用于多 级 CDN网络, 这里不再赘述。 The method provided in this embodiment is described for a secondary CDN network. Obviously, this method is also applicable to a multi-level CDN network, and details are not described herein again.
上述方法是以图 4提供的组网结构为例进行说明的, 但本发明实施例提供的方法不局 限于这种组网结构, 适用于任何组网结构, 这里不再详述。 实施例 2 The foregoing method is described by taking the networking structure provided in FIG. 4 as an example. However, the method provided by the embodiment of the present invention is not limited to the networking structure and is applicable to any networking structure, and is not described in detail herein. Example 2
本实施例提供了一种内容路由异常时的处理方法, 对于 Open IPTV Forum IPTV标准而 言, 可以进一步给出本发明实施例的方法和现有技术结合的实施例。 本实施例仅就内容节 点无响应或响应超时的情况给出说明,参见图 8,内容路 ώ异常时的处理方法简单描述如下: This embodiment provides a method for processing a content routing exception. For the Open IPTV Forum IPTV standard, an embodiment of the method of the present invention and a combination of the prior art may be further provided. This embodiment only gives a description of the case where the content node does not respond or the response timeout. Referring to Figure 8, the processing method of the content path exception is briefly described as follows:
401— 407与上述 201— 207的过程基本相同,不同之处在于,本实施例中的 SCF被 IPTV control替代, CRF功能由 CDNC功能实现, CC和 CDF构成媒体节点。 The processes of 401-407 are basically the same as those of 201-207 described above, except that the SCF in this embodiment is replaced by IPTV control, the CRF function is implemented by the CDNC function, and the CC and CDF constitute a media node.
当 CDNC根据内容业务请求选择的媒体节点没有响应或者响应超时时, CDNC重新选 择一个媒体节点, 在这里就是选择 CC; 此后 CDNC向该新媒体节点发送内容业务请求。 When the media node selected by the CDNC according to the content service request does not respond or the response times out, the CDNC reselects a media node, here select CC; thereafter the CDNC sends a content service request to the new media node.
对于媒体节点响应无内容的情况,在这里就是 CC响应无内容的情况, 也可以据此说明 给出相应流程。 For the case where the media node responds to no content, here is the case where the CC response has no content, and the corresponding flow can also be given according to the description.
另夕卜, 这里的 CRF功能也可以与 CC功能合并, 不影响现有 CDNC功能; 则这时 CDF 就是媒体节点, 同样容易给出相关处理流程, 这里不再详述。 实施例 3 In addition, the CRF function here can also be combined with the CC function, and does not affect the existing CDNC function; then the CDF is the media node, and it is easy to give the relevant processing flow, which will not be described in detail here. Example 3
本实施例提供了一种内容路由异常时的处理方法, 对于 TISPAN IPTV标准而言, 可以 进一步给出本发明方法和现有技术结合的实施例。 本实施例仅就内容节点无响应或响应超 时的情况给出说明。 参见图 9, 内容路由异常时的处理方法简单描述如下: 501 - 507与上述 201— 207的过程基本相同, 不同之处在于, 本实施例中的 CRF功能 由 MCF功能实现, MDF作为媒体节点。 This embodiment provides a processing method when content routing is abnormal. For the TISPAN IPTV standard, an embodiment combining the method of the present invention and the prior art may be further provided. This embodiment gives an explanation only for the case where the content node does not respond or the response times out. Referring to Figure 9, the processing method when the content routing is abnormal is briefly described as follows: 501-507 is basically the same as the above 201-207, except that the CRF function in this embodiment is implemented by the MCF function, and the MDF is used as a media node.
当 MCF根据内容业务请求选择的媒体节点 MDF没有响应或者响应超时时, MCF重新 选择一个媒体节点, 在这里就是选择 MDF; 此后 MCF向该新媒体节点 MDF发送内容业务 请求。 由实施例 1可以容易给出详细的处理流程, 这里不再赘述。 When the MCF selected by the MCF according to the content service request does not respond or the response times out, the MCF reselects a media node, here selects the MDF; thereafter the MCF sends a content service request to the new media node MDF. A detailed processing flow can be easily given by Embodiment 1, and will not be described again here.
对于媒体节点响应无内容的的情况, 在这里就是 MDF响应无内容的情况, 也可以据此 说明容易给出相应流程。 For the case where the media node responds to no content, here is the case where the MDF responds to no content, and it is also possible to easily give the corresponding flow according to the description.
另外, 这里 CRF也可以作为独立功能实体存在, MCF和 MDF构成媒体节点。 SCF将 内容业务请求转发给 CRF, 由其进一步选择媒体节点, 并向其发送内容业务请求; 当 MCF 响应超时或者响应无内容时, CRF可以重新选择一个媒体节点并向其发送内容业务请求。 实施例 4 In addition, CRF can also exist as an independent functional entity, and MCF and MDF form a media node. The SCF forwards the content service request to the CRF, which further selects the media node and sends a content service request thereto; when the MCF response times out or responds to no content, the CRF can reselect a media node and send a content service request thereto. Example 4
参见图 10, 本实施例提供了一种系统, 该系统包括: 内容路由功能设备 41, 用于转发 内容业务请求到具有所请求内容的媒体节点 42 ; 以及当没有收到对内容业务请求的确定性 响应时, 重新选择上述媒体节点 42以外的具有所请求内容的媒体节点 42 ; 将内容业务请求 发送到重新选择的媒体节点 42。 Referring to FIG. 10, this embodiment provides a system, including: a content routing function device 41, configured to forward a content service request to a media node 42 having the requested content; and when the content service request is not received. In response to the sexual response, the media node 42 having the requested content other than the media node 42 is reselected; the content service request is sent to the reselected media node 42.
该系统还可以包括: The system can also include:
终端设备 43, 用于发起上述内容业务请求; The terminal device 43 is configured to initiate the foregoing content service request;
多媒体子系统核心设备 44, 用于转发终端设备 43发送的内容业务请求, 并触发业务控 制功能设备 45进行业务处理; The multimedia subsystem core device 44 is configured to forward the content service request sent by the terminal device 43 and trigger the service control function device 45 to perform service processing;
业务控制功能设备 45, 用于收到多媒体子系统核心设备 44触发的业务请求后, 进行业 务逻辑处理, 通过多媒体子系统核心设备 44将内容业务请求发送给所选择的内容路由功能 设备 41, 由内容路由功能设备 41选择媒体节点 42, 并将内容业务请求发送到选择的媒体节 点 42; The service control function device 45 is configured to: after receiving the service request triggered by the multimedia subsystem core device 44, perform service logic processing, and send the content service request to the selected content routing function device 41 through the multimedia subsystem core device 44, The content routing function device 41 selects the media node 42 and sends a content service request to the selected media node 42;
媒体节点 42, 用于收到内容路由功能设备 41的内容业务请求后, 检查自身是否有内容 业务请求的内容, 如果有, 向内容路由功能设备 41发送确认响应, 并为终端提供所请求的 内容; 如果没有, 向内容路由功能设备 41发送没有所请求内容的消息或者不响应上述内容 业务请求。 The media node 42 is configured to check whether the content of the content service request exists after receiving the content service request of the content routing function device 41, and if yes, send an acknowledgment response to the content routing function device 41, and provide the requested content to the terminal. If not, the content routing function device 41 is sent a message without the requested content or does not respond to the content service request.
上述内容路由功能设备 41没有收到对内容业务请求的确定性响应包括: The deterministic response that the content routing function device 41 does not receive the content service request includes:
内容路由功能设备 41接收到媒体节点 42没有所请求内容的消息, 或者内容路由功能设 备 41在预设时间内媒体节点 42无响应。 The content routing function device 41 receives a message that the media node 42 does not have the requested content, or the content routing function The device 41 does not respond to the media node 42 within the preset time.
这里所述的媒体节点 42可以同时具有媒体控制功能和媒体交付功能; 或者也可以分开 为具有媒体控制功能和媒体交付功能的独立功能实体, 或者也可以只具有媒体交付功能。 The media node 42 described herein may have both a media control function and a media delivery function; or it may be separated into separate functional entities having media control functions and media delivery functions, or may have only media delivery functions.
具体而言, 媒体节点 42可以是图 1中的 ES或 CS; 也可以是图 2中的 MCF与 MDF的组合或 者 MDF; 或者也可以是 OPEN IPTV FORUM标准中 (图 3 ) 的 CC与 CDF的组合或者 CDF; 在媒体节点 42中的媒体控制功能和媒体交付功能作为独立实体存在时, 内容路由功能 设备 41也可以和其中的媒体控制功能实体合并, 即作为一个功能实体。 例如: 图 2中的 MCF 可以具有这里所述内容路由功能设备 41的功能; 或者在 OPEN IPTV FORUM标准中 (图 3 ) 的 CC具有这里所述的内容路由功能设备 41的功能。 Specifically, the media node 42 may be the ES or CS in FIG. 1; or may be the combination of the MCF and the MDF in FIG. 2 or the MDF; or may be the CC and CDF in the OPEN IPTV FORUM standard (FIG. 3). Combination or CDF; When the media control function and the media delivery function in the media node 42 exist as independent entities, the content routing function device 41 can also be merged with the media control function entity therein, that is, as a functional entity. For example: The MCF in Figure 2 may have the functionality of the content routing function device 41 described herein; or the CC in the OPEN IPTV FORUM standard (Figure 3) has the functionality of the content routing function device 41 described herein.
上述内容路由功能设备 41 中也可以预先存储多个媒体节点 42和核心媒体节点的内容 索引信息, 内容索引信息的内容同实施例 1中的内容相同, 在进行媒体节点 42选择时, 可 以使用实施例 1所述的策略进行选择, 这里不再详述。 The content routing function device 41 may store the content index information of the plurality of media nodes 42 and the core media nodes in advance, and the content of the content index information is the same as that in the first embodiment, and may be implemented when the media node 42 is selected. The strategy described in Example 1 is selected and will not be described in detail herein.
参见图 11, 该内容路由功能设备包括: Referring to Figure 11, the content routing function device includes:
转发模块 411, 用于转发内容业务请求到具有所请求内容的媒体节点; The forwarding module 411 is configured to forward the content service request to the media node having the requested content;
异常处理模块 412, 用于转发模块 411转发内容业务请求后, 当没有收到对内容业务请 求的确定性响应时, 重新选择媒体节点以外的具有所请求内容的媒体节点; 将内容业务请 求发送到重新选择的媒体节点。 The exception processing module 412 is configured to: after the forwarding module 411 forwards the content service request, when not receiving the deterministic response to the content service request, reselecting the media node having the requested content other than the media node; sending the content service request to Reselected media node.
进一步地, 转发模块 411包括: Further, the forwarding module 411 includes:
媒体节点选择单元, 用于根据自身包含的多个边缘媒体节点和核心媒体节点所具有的 内容的内容索引信息, 选择具有内容业务请求中请求的内容的媒体节点; a media node selection unit, configured to select, according to content index information of the content of the plurality of edge media nodes and the core media node that are included in the content, the media node having the content requested in the content service request;
转发单元, 用于将内容业务请求转发到媒体节点选择单元选择的媒体节点。 And a forwarding unit, configured to forward the content service request to the media node selected by the media node selection unit.
异常处理模块 412包括: The exception handling module 412 includes:
异常情况确定单元, 用于当接收到转发模块选择的媒体节点没有所请求内容的消息, 或者在预设时间内转发模块选择的媒体节点无响应时, 确定出现异常情况; An abnormal situation determining unit, configured to: when receiving a message that the media node selected by the forwarding module does not have the requested content, or when the media node selected by the forwarding module does not respond within a preset time, determining that an abnormal situation occurs;
异常处理单元, 用于当上述异常情况确定单元确定出现异常情况时, 重新选择媒体节 点以外的具有所请求内容的媒体节点; 将内容业务请求发送到重新选择的媒体节点。 And an exception processing unit, configured to: when the abnormal condition determining unit determines that an abnormal situation occurs, reselect a media node having the requested content other than the media node; and send the content service request to the reselected media node.
本实施例通过根据内容业务请求选择媒体节点, 实现了内容路由, 操作简单, 易于实 现; 同时, 通过本地存储的多个边缘媒体节点和核心媒体节点的内容索引信息, 可以只在 具有所请求内容的媒体节点中作选择, 同时, 当没有收到对内容路由请求的确定性响应时, 采取重新进行媒体节点选择的方法进行再次路由, 不需要通知终端重新进行路由选择, 减 少了终端的参与过程, 提高了内容路由的效率, 使终端发送一次内容业务请求就能够成功 地获取到请求的业务, 提高了对终端的服务质量, 其处理机制可以很好的和 IMS信令路由 机制结合, 可以使 IMS和 CDN进行无缝结合。 以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现, 其软件程序 存储在可读取的存储介质中, 存储介质例如: 计算机中的硬盘、 光盘或软盘。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 In this embodiment, the media node is selected according to the content service request, and the content routing is implemented, and the operation is simple and easy to implement. Meanwhile, the content index information of the plurality of edge media nodes and the core media node stored locally may only have the requested content. The media node is selected. At the same time, when the deterministic response to the content routing request is not received, the method of re-selecting the media node is used to perform re-routing, without notifying the terminal to re-route, minus The participation process of the terminal is reduced, the efficiency of content routing is improved, and the terminal can successfully obtain the requested service by sending a content service request, thereby improving the quality of service to the terminal, and the processing mechanism can be good and IMS signaling. The combination of routing mechanisms allows seamless integration of IMS and CDN. All or part of the technical solutions provided by the above embodiments may be implemented by software programming, and the software program is stored in a readable storage medium such as a hard disk, an optical disk or a floppy disk in a computer. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810057703.2 | 2008-02-05 | ||
| CNA2008100577032A CN101505261A (en) | 2008-02-05 | 2008-02-05 | Processing method for content routing exception, content routing functional equipment and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009100672A1 true WO2009100672A1 (en) | 2009-08-20 |
Family
ID=40956659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2009/070338 Ceased WO2009100672A1 (en) | 2008-02-05 | 2009-02-02 | Processing method when content route being abnormity, content route function device and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101505261A (en) |
| WO (1) | WO2009100672A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119583438A (en) * | 2024-11-27 | 2025-03-07 | 天翼安全科技有限公司 | A disaster recovery management method and device for front-end resources |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102427412A (en) * | 2011-12-31 | 2012-04-25 | 网宿科技股份有限公司 | Zero-delay disaster recovery switching method and system of active standby source based on content distribution network |
| CN102868753B (en) * | 2012-09-25 | 2016-03-02 | 网宿科技股份有限公司 | Adaptive null response restoration methods and device after content-based distributing network optimization |
| CN102932466B (en) * | 2012-11-07 | 2015-09-23 | 网宿科技股份有限公司 | The distributed source method for supervising of content-based distributing network and system |
| CN108123927A (en) * | 2016-11-30 | 2018-06-05 | 中兴通讯股份有限公司 | A kind of CDN network communication means, apparatus and system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040225749A1 (en) * | 2003-05-08 | 2004-11-11 | Gregory Pavlik | Transformation of web site summary via taglibs |
| CN101006710A (en) * | 2004-06-30 | 2007-07-25 | 建利尔电子公司 | Auto block and auto discovery in a distributed comunication system |
-
2008
- 2008-02-05 CN CNA2008100577032A patent/CN101505261A/en active Pending
-
2009
- 2009-02-02 WO PCT/CN2009/070338 patent/WO2009100672A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040225749A1 (en) * | 2003-05-08 | 2004-11-11 | Gregory Pavlik | Transformation of web site summary via taglibs |
| CN101006710A (en) * | 2004-06-30 | 2007-07-25 | 建利尔电子公司 | Auto block and auto discovery in a distributed comunication system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119583438A (en) * | 2024-11-27 | 2025-03-07 | 天翼安全科技有限公司 | A disaster recovery management method and device for front-end resources |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101505261A (en) | 2009-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8392583B2 (en) | Distribution of shared content streams in communications networks | |
| US8332527B2 (en) | Streaming media network system, streaming media service realization method and streaming media service enabler | |
| CN101547189B (en) | Method, system and device for establishing CoD service | |
| US8077717B2 (en) | Method and system for providing multicast services | |
| WO2010115331A1 (en) | Content location method and content delivery network node | |
| JP4932906B2 (en) | System for accessing television across IP services in an IMS architecture network | |
| US20130007186A1 (en) | Controlling content caching and retrieval | |
| RU2647654C2 (en) | System and method of delivering audio-visual content to client device | |
| JP2009533925A (en) | node | |
| WO2008049314A1 (en) | Method and system for implementing multicasting service or broadcasting service based on the next generation network | |
| WO2007093124A1 (en) | The method and system of multimedia resource scheduling | |
| WO2009024081A1 (en) | A method, device and system for processing the continuity of the media stream in a session | |
| CN102148739B (en) | IMS (IP (Internet Protocol) Multimedia Subsystem) session routing control method and system | |
| WO2009124747A1 (en) | Conference system and method | |
| US9026677B2 (en) | Method and apparatus for providing video on demand | |
| WO2009100672A1 (en) | Processing method when content route being abnormity, content route function device and system | |
| CN102111608B (en) | Communication method and device of video monitoring system | |
| CN101557331B (en) | Method and system for processing content index and content routing function and content distributing control entity | |
| CN101193068B (en) | A method and device for responding to a request | |
| WO2011015015A1 (en) | Content upload method and content delivery function entity | |
| CN101399822B (en) | Method for determining media stream path relation and call control system | |
| WO2008089702A1 (en) | System and method for implementing stream-media service, and stream-media service control function entity | |
| WO2009003408A1 (en) | Media stream switching method, system and equipment in time-shift television service | |
| WO2008098504A1 (en) | Method and system for providing multicast service and device for providing multicast service parameter | |
| WO2009092307A1 (en) | A method,system and device for accessing non-sip resource |
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: 09710831 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: 09710831 Country of ref document: EP Kind code of ref document: A1 |