WO2009030080A1 - Procédé de traitement des transferts dans l'agent cdn - Google Patents

Procédé de traitement des transferts dans l'agent cdn Download PDF

Info

Publication number
WO2009030080A1
WO2009030080A1 PCT/CN2007/003508 CN2007003508W WO2009030080A1 WO 2009030080 A1 WO2009030080 A1 WO 2009030080A1 CN 2007003508 W CN2007003508 W CN 2007003508W WO 2009030080 A1 WO2009030080 A1 WO 2009030080A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
node controller
streaming
agent
handover
Prior art date
Application number
PCT/CN2007/003508
Other languages
English (en)
Chinese (zh)
Inventor
Yan Liu
Original Assignee
Zte Corporation
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 Corporation filed Critical Zte Corporation
Publication of WO2009030080A1 publication Critical patent/WO2009030080A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists

Definitions

  • the present invention relates to the field of telecommunications services IPTV (Internet Television), and in particular to a handover processing method for a streaming media node controller (Agent). Background technique
  • IPTV is an interactive network TV based on broadband high-speed IP network with network video resources as the main body and TV, computer and other display terminals. It integrates various technologies such as Internet, multimedia and communication, and can provide digital TV programs. Many services such as on-demand programming, online information consultation, and visual IP telephony. Since IPTV makes full use of the respective advantages and characteristics of telecommunications, television and internet, it effectively realizes the substantive interaction between media providers and media consumers. Therefore, it will become the next promising value-added service in the telecom industry. , with huge market potential.
  • the Content Distribution Network (CDN Subsystem) is responsible for the distribution control of content and the push of content to edge service nodes to improve the quality of content services in IPTV.
  • the CDN subsystem is mainly composed of a CDN controller (CDN Manager) and a streaming media node controller (CDN Agent).
  • CDN Manager is responsible for accessing the IPTV service management system, and the CDN Agent and the streaming media system together form a distributed streaming media node.
  • Each agent of each node has only one agent at a certain time, and the agent acting as the scheduling agent is the main agent, and the other agent is the standby agent.
  • the main agent or the standby agent has the label in the Manager. (EPG) and the streaming media system only maintain the heartbeat with the main agent, so only the main agent can perform operations such as redirection and other services for the user.
  • EPG EPG
  • the streaming media system only maintain the heartbeat with the main agent, so only the main agent can perform operations such as redirection and other services for the user.
  • a good Agent is used as the new main agent, so that it will not cause the user to provide services due to the Agent failure.
  • the identity of the master/slave agent in the Manager must be consistent with the identity of the Agent itself. If the Agents coexist and cannot communicate with each other, the Manager must be able to perform accurate secondary planting and identification confirmation. There can be no '1 ⁇ green conditions of multiple primary agents under the same node, nor can there be no primary agent under the node but Manager It does not trigger the search for the main Agent. However, it has not been proposed yet to achieve the above. Technical effects program.
  • the present invention has been made in view of the above problems in the related art, and the present invention is directed to a switching processing method of a streaming media node controller (Agent).
  • the streaming media node controller switching processing method according to the present invention is used for streaming media node controller switching in a content distribution network, wherein a streaming media node of the content distribution network has a plurality of streaming media node controllers, and at a certain moment Only one streaming node controller acts as a primary media node controller for scheduling purposes.
  • the method includes: setting an information table and/or a comparison table, wherein the information table records information of each streaming node controller of the content distribution network, where the information includes a node to which the streaming node controller belongs, a working mode, and a link state.
  • the comparison table records the identification information of each node of the content distribution network and/or the mainstream media node controller of the node; the traversal information table and/or the comparison table, for the mainstream media node controller whose link state is abnormal
  • the node and/or the mainstream media node controller's identification information is an empty node, and a primary handover request is initiated.
  • the process of initiating the main handover request by traversing the information table is specifically: setting a first timer, triggering each streaming node controller in the traversal information table, and determining whether the streaming node controller determined to be a link abnormality is The mainstream media node controller, if the determination result is yes, determines the node to which the mainstream media node controller belongs, and selects a streaming media node controller whose link state is normal to send a primary handover request, to request that the switch is Mainstream media node controller.
  • traversing is performed by transmitting a heartbeat request to each of the streaming node controllers in the information table, and a third timer is set, wherein, according to whether the streaming node controller returns to the heart before the third timer expires A mega-response is used to determine if the link is normal. Based on this, the streaming node controller that has no heartbeat response after the third timer expires for a predetermined predetermined number of times determines that it is a streaming node controller whose link is abnormal. Further, for the streaming node controller determined to be abnormal in the link, the link state corresponding to the link recorded in the information table is set to be abnormal.
  • the process of initiating the main handover request by traversing the comparison table is specifically: setting a second timer, triggering each node in the traversal comparison table, and selecting a link of the node for the node whose identification information of the mainstream media node controller is empty
  • the streaming node controller with the normal status sends a primary handover request to request that it switch to the mainstream media node controller.
  • the fourth timer is set when the main handover request is transmitted. It should be noted that the additional information of the third timer/fourth timer carries the base of the associated streaming media node controller.
  • the sender sends a master switch request.
  • the slave handover control request is further sent to all other media control pointcuts under the node to which the new mainstream media node controller belongs to request that the handover be from the streaming node controller.
  • the slave slave switching request is continued; for the case where the handover succeeds, the corresponding working mode of the other stream media control pointcuts in the information table is set to the slave mode.
  • the streaming node controller sets the corresponding working mode in the information table to the slave working mode, and belongs to it.
  • the node sets the corresponding mainstream media node controller identifier in the comparison table to be empty, and reselects the streaming node controller whose link state is normal to send the primary handover request.
  • the invention realizes the switching process of the multi-agent in the IPTV, effectively arbitrates the function of the mutual agent of the multiple agents under the node to provide the monthly service, and ensures that the situation of the unowned agent and the multiple main agents does not occur, so that each The system can stably provide various media services to users, thus ensuring system stability and post-maintenance quality, and reducing maintenance costs.
  • FIG. 3 P 16849 1 is a system framework diagram of an IPT V CDN subsystem to which the present invention is applied;
  • FIG. 2 is a schematic flowchart of an agent handover processing method according to an embodiment of the present invention;
  • FIG. 3 is an agent handover processing method according to an embodiment of the present invention;
  • FIG. 4 is a flowchart of a process after triggering a handover request in an agent handover processing method according to an embodiment of the present invention.
  • FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings.
  • the present invention aims to provide a switching processing method for a streaming media node controller (Agent).
  • Agent streaming media node controller
  • the CDN may include multiple streaming media nodes (hereinafter referred to as nodes), that is, one Manager may control multiple nodes, and each node may have multiple agents, and at some Only one agent acts as the primary agent at a time, and other agents are called standby agents or slave agents. Since each agent may become the primary agent, each agent and its own node are guaranteed to ensure that the system can provide services normally. All the streaming media under the link.
  • nodes multiple streaming media nodes
  • each agent may have multiple agents, and at some Only one agent acts as the primary agent at a time, and other agents are called standby agents or slave agents. Since each agent may become the primary agent, each agent and its own node are guaranteed to ensure that the system can provide services normally. All the streaming media under the link.
  • the idea of the method according to the embodiment of the present invention is roughly as follows, that is, maintaining (storing) the information table and the comparison table, determining whether to initiate a handover request by traversing the information/reference table, and then following the response result to the handover request.
  • the method may include the following processing: Step S202, setting an information table and/or a comparison table, where the information table records information of each agent of the CDN (including the node to which the agent belongs, the working mode Basic information such as link status, communication parameters, IP address, etc.;
  • the comparison table records the identification information of each node of the CDN and/or the primary agent of the node (when a node does not have a primary agent, the corresponding primary agent identifier Empty, wherein the information stored in the information table and the comparison table can be obtained from the database synchronization after the system is restarted;
  • Step S204 traversing the information table and/or the comparison table, for the mainstream media whose link status is abnormal
  • step S204 The node to which the node controller belongs and/or the identifier information of the mainstream media node controller is an empty node, and a primary handover request is initiated.
  • the process of initiating the main handover request by traversing the information table is specifically: setting a first timer, triggering each agent in the traversal information table, that is, according to the communication parameters of the Agent in the information table
  • the agent sends a heartbeat request and sets a third timer.
  • the agent If an agent returns a heart/signal response before the third timer expires, the agent is considered to be normal and the timer is turned off; if an agent is scheduled for a predetermined number of times (may Pre-set) If there is no 3 mega-response after the third timer expires, the agent link is considered abnormal; for the agent determined to be abnormal, the link status recorded in the information table is set to abnormal. And determine whether it is the primary agent. If the judgment result is yes, determine the node to which the primary agent belongs, clear the corresponding primary agent identifier of the node in the comparison table, and select one of the node's link states to be sent by the normal agent.
  • the processing of the primary handover request is specifically as follows: setting a second timer, triggering each node in the traversal comparison table, and selecting a node with a normal link status of the node to be a normal node.
  • the request is switched to request that it be switched to the primary agent, and the fourth timer is set.
  • durations of the foregoing first to fourth timers are flexibly configured according to requirements, to adapt to different application environments or to set an optimal value according to actual conditions, for the third timer/fourth timer.
  • the agent, the set of the heart and the timeout timer are all the third timer/fourth timer. Therefore, in order to distinguish which agent is, it is necessary to carry the related agent in the additional information of setting the timer. Basic information to identify or distinguish Agents.
  • Step 1 Set The timer A (301), the timer A (ie, the first timer) triggers to traverse the Agent information table (302) stored in the memory, where the information table includes the section to which the Agent belongs.
  • Step 2 According to the communication parameters, the Manager initiates a heartbeat request to all Agents (303), and then sets a timeout timer C (ie, the third Timer) (304); Step 3: Determine whether the requested Agent returns the heart 5 response (305). If the response is returned before the timer C times out, the timer C is closed (306), and it is determined whether the working mode reported by the agent is consistent with the saved in the Manager memory. If they are consistent, the process ends (317); if not, the manager The Agent initiates a switch to a consistent handover request (308) and sets a timer D (316) awaiting the handover result.
  • a timeout timer C ie, the third Timer
  • Step 3 Determine whether the requested Agent returns the heart 5 response (305). If the response is returned before the timer C times out, the timer C is closed (306), and it is determined whether the working mode reported by the agent is consistent with the saved in the Manager memory. If they are consistent, the process ends (317); if not, the manager The Agent initiate
  • the agent does not return the heartbeat response after the timer C expires, it is determined that the agent is broken, and the link state of the agent in the memory is set to abnormal (309), and it is determined whether the broken chain agent is The current master agent (310), if not, the process ends (317); if yes, the node (314) to which the agent belongs is obtained, and an agent with a normal state under the node is searched as the master agent, and the switch is sent to The master agent's handover request (315), and sets a timer D (316) waiting for the handover result.
  • Step 1 Set the timer B ( 311 ), the timer B triggers to traverse the node in the memory and the master agent comparison table ( 312 );
  • Step 2 Determine the node in the comparison Whether there is a corresponding main agent (313) in the table, if yes, the process ends (317); if not, the node (314) to which the agent belongs is obtained, and an agent with a normal state under the node is searched as the main agent, It transmits a handover request (315) that is switched to the primary agent, and sets a timer D (316) waiting for the handover result.
  • the agent that is requested to switch returns a handover response before the fourth timer expires, the fourth timer is closed, and the handover is successful; if the handover is successful, the agent is used as the new primary agent, and The corresponding working mode in the information table is set as the main working mode, and its identifier is saved to the comparison table; in the case of the switching failure, the corresponding working mode of the agent in the information table is set to the working mode, and the node to which it belongs is set.
  • the corresponding primary agent ID is set to null, and the link whose status of the node to which the node belongs is normal is sent.
  • the slave handover control request is further sent to all other streaming media control points under the node to which the new primary agent belongs to request that it switch to the secondary agent. Then, for the case where the handover response is not returned or the handover fails, the slave slave switching request is continued; for the case where the handover succeeds, the corresponding working mode of the other stream media control pointcuts in the information table is set to the slave mode. On the other hand, if the agent requested to switch does not return the handover response before the fourth timer expires, the corresponding working mode of the Agent in the information table is set to the slave working mode, and the node to which the node belongs is in the corresponding table in the comparison table.
  • the Agent ID is set to null, and the link of the node to which it belongs is reselected ⁇ !
  • the large state sends a primary handover request to the normal Agent.
  • the Manager needs to determine whether the response responds to the request to switch to the primary agent, or the response to the request to switch from the agent, and then perform subsequent processing according to the determination result.
  • the content can be further understood as shown in Figure 4. 4 is a flowchart showing the processing flow after receiving the handover response in detail, and the present invention will be further described below with reference to FIG. 4. As shown in FIG.
  • Case 1 The agent returns the handover result (401) before the timer D (ie, the fourth timer described above) times out, and then the processing step As follows: Step 1: Turn off timer D (402); Step 2: Determine whether the working mode that the agent wants to switch to is the primary agent (403); If you want to switch to the secondary agent, determine whether the returned switching result is successful ( 404), if it is unsuccessful, continue to send a handover request to the agent to switch from the agent (405), and set a timer D to wait for the handover result (420); if the handover is successful, update the agent in the in-memory agent information table The working mode (406), and synchronously update the information of the agent in the database (407); to switch to the main agent, determine whether the returned switching result is successful (408), if successful, update the in-memory agent information table The working mode of the agent (409), and synchronously updating the information (410) of the agent in the database, and saving the
  • the working mode of the agent in the memory is set to the slave working mode (415), and the information of the agent in the database is updated synchronously (417), and the node in the memory and the master agent are compared.
  • the primary agent corresponding to the node is cleared (416).
  • the node is then searched for a new available primary agent (418), a handover request is sent to the primary agent (419), and a timer D is set to wait for the handover result (420).
  • Case 2 After the timer D has not returned the handover result (413), the agent has the following steps: Determine whether the working mode that the agent is to switch to is the primary agent (414); to switch to the secondary agent, continue to The Agent sends a handover request to the slave agent (421), and sets a timer D to wait for the handover result (420).
  • the working mode of the agent in the memory is set to the slave working mode (415), and the information of the agent in the database is updated synchronously (417), and the node in the memory and the master agent are compared in the table.
  • the primary agent corresponding to the node is cleared ( 416 ).
  • the node is then sought for a new available primary agent (418), a handover request is sent to the primary agent (419), and a timer D is set to wait for the handover result (420). At this point, the process is all over. In this way, through the invention, it is ensured that under the arbitration and identification confirmation of the Manager, the situation of the main agent and the multi-master agent does not occur, so that the whole system can stably provide various media services for the user.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

La présente invention concerne un procédé de traitement des transferts dans l'agent CDN, ce procédé consistant à établir une table d'informations et/ou une table de comparaison, ladite table d'informations contenant les informations de chaque agent de CDN et la table de comparaison indiquant chaque noeud de CDN et/ou les informations d'identificateur de l'agent CDN principal dans le noeud (S202); à parcourir la table d'informations et/ou la table de comparaison pour trouver le noeud auquel appartient l'agent CDN principal ayant une anomalie de l'état de liaison et/ou le noeud dont les informations d'identificateur de l'agent CDN principal sont absentes, lancer la demande de transfert principal (S204). La présente invention permet de réaliser le processus de transfert de plusieurs agents dans un système IPTV.
PCT/CN2007/003508 2007-09-04 2007-12-10 Procédé de traitement des transferts dans l'agent cdn WO2009030080A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710149304A CN100589452C (zh) 2007-09-04 2007-09-04 流媒体节点控制器的切换处理方法
CN200710149304.4 2007-09-04

Publications (1)

Publication Number Publication Date
WO2009030080A1 true WO2009030080A1 (fr) 2009-03-12

Family

ID=39055257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003508 WO2009030080A1 (fr) 2007-09-04 2007-12-10 Procédé de traitement des transferts dans l'agent cdn

Country Status (2)

Country Link
CN (1) CN100589452C (fr)
WO (1) WO2009030080A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589452C (zh) * 2007-09-04 2010-02-10 中兴通讯股份有限公司 流媒体节点控制器的切换处理方法
CN101640688B (zh) * 2009-08-20 2014-03-12 中兴通讯股份有限公司 基于cdn的节点主备用控制器切换方法及cdn网络
CN103138983A (zh) * 2011-12-01 2013-06-05 苏州达联信息科技有限公司 一种视频分发网络全局服务器的主备切换方法及装置
CN103200033B (zh) * 2013-03-21 2016-09-07 中兴通讯股份有限公司 Cdn与网络融合系统及其主、备用调度单元的选举方法
CN105872568A (zh) * 2015-11-19 2016-08-17 乐视云计算有限公司 基于云直播平台传输视频数据的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11146014A (ja) * 1997-02-19 1999-05-28 Nippon Telegr & Teleph Corp <Ntt> 分散マルチメディアサーバ装置,分散マルチメディアサーバ情報アクセス方法およびこの方法を実現するプログラムを記録した記録媒体
US20040073596A1 (en) * 2002-05-14 2004-04-15 Kloninger John Josef Enterprise content delivery network having a central controller for coordinating a set of content servers
CN1691591A (zh) * 2004-04-16 2005-11-02 Ut斯达康公司 松耦合式可扩展分布式多媒体流式传输系统的方法和设备
CN101119318A (zh) * 2007-09-04 2008-02-06 中兴通讯股份有限公司 流媒体节点控制器的切换处理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11146014A (ja) * 1997-02-19 1999-05-28 Nippon Telegr & Teleph Corp <Ntt> 分散マルチメディアサーバ装置,分散マルチメディアサーバ情報アクセス方法およびこの方法を実現するプログラムを記録した記録媒体
US20040073596A1 (en) * 2002-05-14 2004-04-15 Kloninger John Josef Enterprise content delivery network having a central controller for coordinating a set of content servers
CN1691591A (zh) * 2004-04-16 2005-11-02 Ut斯达康公司 松耦合式可扩展分布式多媒体流式传输系统的方法和设备
CN101119318A (zh) * 2007-09-04 2008-02-06 中兴通讯股份有限公司 流媒体节点控制器的切换处理方法

Also Published As

Publication number Publication date
CN100589452C (zh) 2010-02-10
CN101119318A (zh) 2008-02-06

Similar Documents

Publication Publication Date Title
EP1119134B1 (fr) Méthode et appareil pour un protocole amélioré de gestion de groupes pour internet
US9226002B2 (en) Method, device and system for realizing broadcast TV
JP2004531180A (ja) UPnPにおける音声映像管理
US9998298B2 (en) Data transmission method, apparatus, and computer storage medium
JP2002324047A (ja) 分散クライアント/サーバ環境での自動化セッション・リソース・クリーンアップの方法およびシステム。
WO2011103837A2 (fr) Procédé pour le traitement de paquet en cas de panne de serveur et routeur correspondant
JP2004048661A (ja) ネットワークのパス構成のための方法および装置
CN103117876A (zh) 用户状态信息的同步方法及装置
WO2009030080A1 (fr) Procédé de traitement des transferts dans l&#39;agent cdn
WO2009155771A1 (fr) Procédé d’allocation de ressources, serveur, dispositif réseau et système réseau
JP2009118063A (ja) 冗長システム、方法及びプログラム、並びに、サーバ
CN108234922B (zh) 一种录播方法及装置
WO2007093094A1 (fr) Procédé de sélection de la politique de qualité de service et système associé
CN111200622A (zh) 一种资源传输方法及装置、存储介质
CN115567486A (zh) 一种mlag环境下的租约同步方法、装置、设备及介质
JPH11341077A (ja) 情報流通装置選択システム
JP5182051B2 (ja) サービスサーバおよびこれを用いた通信システム
CN112214377B (zh) 一种设备管理方法及系统
CN110505433A (zh) 一种数据处理方法和视联网视频会议平台
JPH10308758A (ja) 通信装置
CN110445639A (zh) 一种服务器的热备方法及装置
US20020065918A1 (en) Method and apparatus for efficient and accountable distribution of streaming media content to multiple destination servers in a data packet network (DPN)
WO2022083281A1 (fr) Procédé et système de transmission de message, dispositif électronique, et support de stockage
US20070115855A1 (en) Route servicing device, method and system applying the device
CN112584193B (zh) 一种利用udp特性构建实时流媒体集群调度的方法

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: 07845865

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: 07845865

Country of ref document: EP

Kind code of ref document: A1