WO2012000388A1 - 网络电视多代理服务器动态链接的方法和网络电视*** - Google Patents

网络电视多代理服务器动态链接的方法和网络电视*** Download PDF

Info

Publication number
WO2012000388A1
WO2012000388A1 PCT/CN2011/075830 CN2011075830W WO2012000388A1 WO 2012000388 A1 WO2012000388 A1 WO 2012000388A1 CN 2011075830 W CN2011075830 W CN 2011075830W WO 2012000388 A1 WO2012000388 A1 WO 2012000388A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
proxy server
user
proxy
abnormal
Prior art date
Application number
PCT/CN2011/075830
Other languages
English (en)
French (fr)
Inventor
刘宇
熊勤
王磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012000388A1 publication Critical patent/WO2012000388A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the invention relates to the field of communications, in particular to a method for dynamically linking a network television multi-agent server and a network television system. Background technique
  • the user server 30 directly provides service-related services for the set-top box, and the service authentication, charging, and the like of the user server 30 need to be completed by the proxy server 20.
  • the network television system provides services to the user server 30 in a manner of using a multi-proxy server.
  • the proxy server host 10 for providing load balancing and allocating available proxy servers to the user server 30. 20, which itself has the function of the proxy server 20, and the remaining proxy servers 20 are ordinary proxy servers.
  • the user server 30 can select only one proxy server 20 to provide services for itself at the same time.
  • the proxy server 30 finds that the proxy server 20 serving itself is abnormal, initiates a request to reacquire the proxy server 20 to the proxy server host 10. After receiving the request, the proxy server 10 returns a new available proxy server 20 to the user server 30 for service through a load balancing algorithm. After receiving the newly assigned proxy server 20, the user server 30 switches to the new proxy server 20 for service. In order for the user server 30 to communicate normally with the proxy server 20, a link must be established. Currently, the network television system uses a static configuration, and each user server 30 has a link with all the proxy servers 20, which is a user server 30. When the proxy server 20 providing the service is switched, the user server 30 directly communicates with the proxy server 20 using the established link.
  • the proxy server 20 needs to establish a link with each user server 30. For example, if there are 1000 user services in the network television system Server 30, the proxy server 20 has to build 1000 links, and the proxy server 20 consumes a large amount of memory space to maintain the link. Summary of the invention
  • the main object of the present invention is to provide a method for dynamically linking a network television multi-agent server and a network television system, so that the proxy server provides services for the user server with less memory space.
  • the invention provides a method for dynamically linking a network television multi-agent server, comprising: a user server applying for a proxy server to a proxy server host;
  • the proxy server master allocates a proxy server according to the application of the user server; the user server establishes a link with the newly assigned proxy server.
  • the requesting, by the user server, the proxy server to the proxy server host includes: when the user server detects the abnormality of the existing proxy server, adding the existing proxy server to the abnormal server list of the user server, and sending the abnormality The list of servers to the proxy server.
  • the method for dynamically linking the network television multi-agent server further comprises:
  • the newly assigned proxy server When the user server and the newly assigned proxy server fail to establish a link or the heartbeat of the user server sent to the newly assigned proxy server does not respond, the newly assigned proxy server is added to the abnormal server list of the user server, and the abnormal server list is sent to Proxy server host.
  • the method further includes: turning off the user when the newly allocated proxy server is not an existing proxy server of the user server, and the existing proxy server is not the proxy server host a link between the server and the existing proxy server;
  • the proxy server terminal allocates the proxy server according to the application of the user server, including: When the default proxy server is normal, the proxy server assigns the default proxy server to serve the user server.
  • the invention also provides a network television system, comprising a proxy server host, a user server and at least one proxy server, wherein the user server is configured to apply for a proxy server to the proxy server host, and the newly assigned proxy The server establishes a link;
  • the proxy server host is configured to allocate a proxy server according to an application of the user server.
  • the user server is specifically configured to:
  • the existing proxy server is added to the abnormal server list of the user server, and the abnormal server list is sent to the proxy server host.
  • the user server is further configured to:
  • the newly assigned proxy server is added to the abnormal server list of the user server, and the abnormal server list is sent to the proxy server master end.
  • the user server is further configured to:
  • the link between the user server and the existing proxy server is closed;
  • the proxy server host is specifically configured to allocate the default proxy server to provide services for the user server when the default proxy server is normal.
  • the method for dynamically linking a network television multi-agent server and the network television system proposed by the invention the method for dynamically allocating a proxy server to a user server through a proxy server host end,
  • the proxy server serves the user server with less memory space.
  • Figure 1 is a schematic diagram of the structure of the server end of the current network television system
  • FIG. 2 is a schematic flowchart of a method for dynamically linking a network television multi-agent server according to an embodiment of the present invention
  • FIG. 3 is a schematic flow chart of still another embodiment of a method for dynamically linking a network television multi-agent server according to the present invention
  • FIG. 4 is a schematic diagram of a signaling flow of a method for dynamically linking a network television multi-agent server according to the present invention
  • FIG. 5 is a schematic structural diagram of a network television system according to the present invention. detailed description
  • the method for dynamically linking a network television multi-agent server and the network television system proposed by the invention provide a proxy server with a proxy server for dynamically allocating a proxy server to the user server, thereby enabling the proxy server to provide services for the user server with less memory space.
  • an embodiment of a method for dynamically linking a network television multi-agent server according to the present invention which includes:
  • Step 101 The user server applies to the proxy server to apply for a proxy server; specifically:
  • the existing proxy server When the user server detects an abnormality of the existing proxy server, the existing proxy server is added to the abnormal server list of the user server, and the abnormal server list is sent to the proxy server host;
  • Step 102 The proxy server is configured to allocate a proxy server according to the application of the user server; specifically:
  • the proxy server assigns the default proxy server Serve the user server.
  • Step 103 The user server establishes a link with the newly assigned proxy server.
  • the method further includes:
  • Step 104 When the user server and the newly assigned proxy server fail to establish a link or the user server sends a heartbeat to the newly assigned proxy server, the newly assigned proxy server is added to the abnormal server list of the user server, and the abnormal server is sent. List to the proxy server host;
  • Step 105 When the newly allocated proxy server is not an existing proxy server of the user server, and the existing proxy server is not the proxy server host, close the link between the user server and the existing proxy server;
  • Step 106 Clear the abnormal server list of the user server.
  • FIG. 4 an embodiment of a method for dynamically linking a network television multi-agent server of the present invention will be described in detail.
  • a default proxy server is pre-configured for the user server in the network television system. If the default proxy server is running normally, the proxy server first assigns the default proxy server to the user server for service. The user server establishes a static configuration link with the proxy server host during system initialization, and then requests the proxy server from the proxy server host until the user server is assigned to an available proxy server and successfully communicates with the newly assigned proxy server.
  • the newly assigned proxy server is preferably the default proxy server of the user server, and may also be a proxy server host and other proxy servers.
  • the newly assigned proxy server is an existing proxy server, the existing link is maintained. If the newly assigned proxy server is not an existing proxy server and is not a proxy server host, the user server establishes a link with the newly assigned proxy server, and timed Send a heartbeat message to the newly assigned proxy server, and then switch to the newly assigned proxy server after receiving the response, and close the existing generation. The link to the server.
  • the user server When the user server communicates with the newly assigned proxy server, the user server periodically re-applies to the proxy server for the proxy server when the current link and the heartbeat are normal, to ensure that the proxy server is abnormal and replaces the new proxy server at any time, as long as The reassigned proxy server is different from the existing proxy server and then switches to the reassigned proxy server.
  • the proxy server host uses a load balancing algorithm to return an available proxy server other than the abnormal proxy server to the user server.
  • the proxy server is added to the list of abnormal proxy servers, if the number of proxy servers in the list of abnormal proxy servers exceeds The total number of proxy servers in the system clears the list of abnormal proxy servers and waits for the next timing period to reapply to the proxy server.
  • the user server only establishes a dynamic link with two proxy servers, one is an existing proxy server, and the other is a newly assigned proxy server link that is being switched, which greatly reduces the proxy server for maintenance.
  • the method for dynamically linking a network television multi-agent server provides a proxy server with a proxy server with a small memory space to provide a service for the user server through a proxy server.
  • an embodiment of the network television system of the present invention including a proxy server host 40, a user server 60, and at least one proxy server 50, wherein
  • a user server 60 configured to apply to the proxy server 40 for the proxy server 50, and establish a link with the newly assigned proxy server 50; a proxy server 40 for distributing a proxy server according to the application of the user server 60
  • User server 60 is specifically used to:
  • the existing proxy server 50 is added to the abnormal server list of the user server 60 and sent to the proxy server host 40.
  • the proxy server host 40 is specifically used to:
  • the default proxy server 50 When the default proxy server 50 is normal, the default proxy server 50 is assigned to service the user server 60.
  • the user server 60 is further configured to:
  • the newly assigned proxy server 50 is added to the abnormal server list of the user server 60 and sent to the proxy server host. 40;
  • the user server 60 is closed from the existing proxy server 50. ; Clear the list of exception servers for user server 60.
  • a default proxy server 50 is pre-configured for the user server 60 in the network television system. If the default proxy server 50 is operating normally, the proxy server host 40 preferentially assigns the default proxy server 50 to the user server 60 for service.
  • the user server 60 establishes a static configuration link with the proxy server host 40 at system initialization, and then applies to the proxy server 40 for the proxy server 50 until the user server 60 is assigned to the available proxy server 50, and with the newly assigned The proxy server 50 successfully communicates, and the newly assigned proxy server 50 preferably
  • the default proxy server 50 of the user server 60 can also be the proxy server host 40 and other proxy servers 50.
  • the existing link is maintained. If the newly assigned proxy server 50 is not the existing proxy server 50 and is not the proxy server host 40, the user server 60 is newly allocated.
  • the proxy server 50 establishes a link and periodically transmits a heartbeat to the newly assigned proxy server 50, and upon receiving the response, switches to the newly assigned proxy server 50 while closing the link with the existing proxy server 50.
  • the user server 60 When the user server 60 communicates with the newly assigned proxy server 50, the user server 60 periodically re-applies to the proxy server host 40 for the proxy server 50 when the current link and the heartbeat are normal, to ensure that the proxy server 50 is replaced whenever it is abnormal.
  • the new proxy server 50 switches to the reassigned proxy server 50 as long as the reassigned proxy server 50 is different from the existing proxy server 50.
  • the user server 60 After the user server 60 is dynamically linked with the newly assigned proxy server 50, if the proxy server 50 is abnormally unable to provide the service, the user server 60 adds the proxy server 50 to the abnormal server list of the user server 60, and then carries the abnormal proxy server information again.
  • the proxy server 50 is applied to the proxy server 40, and the proxy server 40 returns a usable proxy server 50 other than the abnormal proxy server to the user server 60 using a load balancing algorithm.
  • the proxy server 50 is added to the list of abnormal proxy servers, if the proxy server in the list of abnormal proxy servers If the number of 50 exceeds the total number of proxy servers 50 in the system, the list of abnormal proxy servers is cleared, and the proxy server 50 is re-applied for the next timing cycle.
  • the user server 60 only establishes a dynamic link with the two proxy servers 50, one is the existing proxy server 50, and one is using the newly assigned proxy server 50 link that is being switched, greatly reducing The memory used by the proxy server 50 to maintain static links Space.
  • the proxy server 50 dynamically allocates the proxy server 50 to the user server 60, so that the proxy server 50 provides the user server 60 with less memory space.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Hardware Redundancy (AREA)

Description

网络电视多代理服务器动态链接的方法和网络电视*** 技术领域
本发明涉及到通信领域, 特别涉及到一种网络电视多代理服务器动态 链接的方法和网络电视***。 背景技术
参照图 1 , 现有网络电视***的服务器端, 用户服务器 30直接为机顶 盒提供业务相关的服务, 用户服务器 30的业务鉴权、 计费等需要通过代理 服务器 20来完成。网络电视***釆用多代理服务器的方式为用户服务器 30 提供服务, 在多个代理服务器 20中, 存在一台代理服务器主控端 10, 用于 提供负载均衡, 为用户服务器 30分配可用的代理服务器 20, 其本身也具有 代理服务器 20的功能, 其余代理服务器 20均为普通代理服务器。 用户服 务器 30在同一时刻只能选择一台代理服务器 20为自身提供服务, 当用户 服务器 30发现为自身提供服务的代理服务器 20异常时, 向代理服务器主 控端 10发起重新获取代理服务器 20的请求, 代理服务器主控端 10收到请 求后, 通过负载均衡算法, 将新的可用代理服务器 20返回给用户服务器 30 为其提供服务。 用户服务器 30收到新分配的代理服务器 20后切换到新的 代理服务器 20上寻求服务。 用户服务器 30要与代理服务器 20正常通信, 就必须建立链路, 目前网络电视***釆用静态配置的方式, 每台用户服务 器 30与全部的代理服务器 20都建有链路, 当为用户服务器 30提供服务的 代理服务器 20发生切换时, 用户服务器 30直接用已经建好的链路与代理 服务器 20进行通信。
但是釆用静态配置建链的方式存在一个缺陷: 代理服务器 20需要与每 台用户服务器 30建立链接。 例如网络电视***中如果存在 1000台用户服 务器 30, 则代理服务器 20就要建 1000条链路, 代理服务器 20要耗用大量 的内存空间来保持链路。 发明内容
本发明的主要目的为提供一种网络电视多代理服务器动态链接的方法 和网络电视***, 使代理服务器用较少的内存空间为用户服务器提供服务。
本发明提出一种网络电视多代理服务器动态链接的方法, 包括: 用户服务器向代理服务器主控端申请代理服务器;
代理服务器主控端根据所述用户服务器的申请分配代理服务器; 用户服务器与新分配的代理服务器建立链接。
优选地, 所述用户服务器向代理服务器主控端申请代理服务器包括: 当用户服务器检测到现有代理服务器异常时, 将所述现有代理服务器 加入用户服务器的异常服务器列表, 并发送所述异常服务器列表至代理服 务器主控端。
优选地, 网络电视多代理服务器动态链接的方法还包括:
当用户服务器和新分配的代理服务器建立链接失败或用户服务器发送 至新分配的代理服务器的心跳无响应时, 将新分配的代理服务器加入用户 服务器的异常服务器列表, 并发送所述异常服务器列表至代理服务器主控 端。
优选地, 所述用户服务器与代理服务器建立链接之后, 还包括: 当新分配的代理服务器不是用户服务器的现有代理服务器, 且所述现 有代理服务器也不是代理服务器主控端时, 关闭用户服务器与所述现有代 理服务器的链接;
清空用户服务器的异常服务器列表。
优选地, 所述代理服务器主控端根据用户服务器的申请分配代理服务 器包括: 当默认代理服务器正常时, 代理服务器主控端分配所述默认代理服务 器为该用户服务器提供服务。
本发明还提出一种网络电视***, 包括代理服务器主控端、 用户服务 器和至少一代理服务器, 其中, 所述用户服务器, 用于向代理服务器主控端申请代理服务器, 以及与 新分配的代理服务器建立链接;
所述代理服务器主控端, 用于根据所述用户服务器的申请分配代理服 务器。
优选地, 所述用户服务器具体用于:
当用户服务器检测到现有代理服务器异常时, 将所述现有代理服务器 加入用户服务器的异常服务器列表, 并发送所述异常服务器列表至代理服 务器主控端。
优选地, 所述用户服务器还用于:
当和新分配的代理服务器建立链接失败或发送至新分配的代理服务器 的心跳无响应时, 将新分配的代理服务器加入用户服务器的异常服务器列 表, 并发送所述异常服务器列表至代理服务器主控端。
优选地, 所述用户服务器还用于:
当新分配的代理服务器不是用户服务器的现有代理服务器, 且所述现 有代理服务器也不是代理服务器主控端时, 关闭用户服务器与所述现有代 理服务器的链接;
清空用户服务器的异常服务器列表。
优选地, 所述代理服务器主控端具体用于当默认代理服务器正常时, 分配所述默认代理服务器为该用户服务器提供服务。
本发明提出的网络电视多代理服务器动态链接的方法和网络电视系 统, 通过代理服务器主控端为用户服务器动态分配代理服务器的方式, 使 代理服务器用较少的内存空间为用户服务器提供服务。 附图说明
图 1为现在网络电视***服务器端的结构示意图;
图 2为本发明网络电视多代理服务器动态链接的方法一实施例的流程 示意图;
图 3 为本发明网络电视多代理服务器动态链接的方法又一实施例的流 程示意图;
图 4为本发明网络电视多代理服务器动态链接的方法的信令流程示意 图;
图 5为本发明网络电视***的结构示意图。 具体实施方式
本发明提出的网络电视多代理服务器动态链接的方法和网络电视系 统, 通过代理服务器主控端为用户服务器动态分配代理服务器的方式, 使 代理服务器用较少的内存空间为用户服务器提供服务。
参照图 2 , 提出本发明网络电视多代理服务器动态链接的方法一实施 例, 包括:
步骤 101 , 用户服务器向代理服务器主控端申请代理服务器; 具体包括:
当用户服务器检测到现有代理服务器异常时, 将现有代理服务器加入 用户服务器的异常服务器列表, 并发送该异常服务器列表至代理服务器主 控端;
步骤 102, 代理服务器主控端根据用户服务器的申请分配代理服务器; 具体包括:
当默认代理服务器正常时, 代理服务器主控端分配该默认代理服务器 为该用户服务器提供服务。
步骤 103 , 用户服务器与新分配的代理服务器建立链接。
参照图 3 ,提出本发明网络电视多代理服务器动态链接的方法又一实施 例, 在上述实施例中, 步骤 103之后还包括:
步骤 104,当用户服务器和新分配的代理服务器建立链接失败或用户服 务器发送至新分配的代理服务器的心跳无响应时, 将新分配的代理服务器 加入用户服务器的异常服务器列表, 并发送该异常服务器列表至代理服务 器主控端;
步骤 105 , 当新分配的代理服务器不是用户服务器的现有代理服务器, 且现有代理服务器不是代理服务器主控端时, 关闭用户服务器与现有代理 服务器的链接;
步骤 106, 清空用户服务器的异常服务器列表。
参照图 4,详细说明本发明网络电视多代理服务器动态链接的方法一实 施例。
在网络电视***中为用户服务器预先配置一个默认代理服务器, 如果 该默认代理服务器运行正常, 代理服务器主控端优先将该默认代理服务器 分配给用户服务器提供服务。 用户服务器在***初始化时与代理服务器主 控端建立静态配置链路, 然后向代理服务器主控端申请代理服务器, 直到 用户服务器分配到可用的代理服务器, 并与新分配的代理服务器成功通信 为止, 新分配的代理服务器优选该用户服务器的默认代理服务器, 也可以 是代理服务器主控端和其它代理服务器。
如新分配的代理服务器是现有代理服务器, 则维持现有链接, 如新分 配的代理服务器不是现有代理服务器且不是代理服务器主控端, 则用户服 务器与新分配代理服务器建立链接, 并定时向新分配的代理服务器发送心 跳报文, 等收到响应后切换到新分配的代理服务器, 同时关闭与现有的代 理服务器的链路。
用户服务器在与新分配的代理服务器通信时, 用户服务器在当前链路 和心跳正常时, 定时向代理服务器主控端重新申请代理服务器, 以确保该 代理服务器异常时随时更换新的代理服务器, 只要再分配的代理服务器和 现有代理服务器不同, 则切换到再分配的代理服务器。
用户服务器与新分配的代理服务器动态建链后, 如该代理服务器异常 无法提供服务, 用户服务器将该代理服务器加入用户服务器的异常服务器 列表, 然后携带该异常代理服务器信息重新向代理服务器主控端申请代理 服务器, 代理服务器主控端釆用负载均衡算法将异常代理服务器之外的可 用代理服务器返回给用户服务器。
如用户服务器和新分配的代理服务器建链失败, 或者发送新分配的代 理服务器心跳无响应, 那么将该代理服务器添加到异常代理服务器列表中, 如果异常代理服务器列表中的代理服务器个数超过了***中总的代理服务 器的数量, 则将异常代理服务器列表清空, 等待下一个定时周期重新申请 代理服务器。
由以上可以看出, 用户服务器只和两个代理服务器的建立动态链路, 一个是现有的代理服务器, 一个是用新分配的正在切换的代理服务器链路, 大大减轻了代理服务器用于维护静态链接而使用的内存空间。
本发明提出的网络电视多代理服务器动态链接的方法, 通过代理服务 器主控端为用户服务器动态分配代理服务器的方式, 使代理服务器用较少 的内存空间为用户服务器提供服务。
参照图 5 ,提出本发明网络电视***一实施例, 包括代理服务器主控端 40、 用户服务器 60和至少一代理服务器 50, 其中,
用户服务器 60 , 用于向代理服务器主控端 40申请代理服务器 50 , 以 及与新分配的代理服务器 50建立链接; 代理服务器主控端 40,用于根据用户服务器 60的申请分配代理服务器
50。
用户服务器 60具体用于:
当用户服务器 60检测到现有代理服务器 50异常时, 将该现有代理服 务器 50加入用户服务器 60的异常服务器列表, 并发送至代理服务器主控 端 40。
代理服务器主控端 40具体用于:
当默认代理服务器 50正常时, 分配所述默认代理服务器 50为该用户 服务器 60提供服务。
另提出本发明网络电视***一实施例, 在上述实施例中, 用户服务器 60还用于:
当和新分配的代理服务器 50建立链接失败或发送至新分配的代理服务 器 50的心跳无响应时, 将新分配的代理服务器 50加入用户服务器 60的异 常服务器列表, 并发送至代理服务器主控端 40;
以及, 当新分配的代理服务器 50不是用户服务器 60的现有代理服务 器 50, 且该现有代理服务器 50也不是代理服务器主控端 40时, 关闭用户 服务器 60与该现有代理服务器 50的链接; 清空用户服务器 60的异常服务 器列表。
参照图 4, 详细说明本发明网络电视***一实施例。
在网络电视***中为用户服务器 60预先配置一个默认代理服务器 50, 如果该默认代理服务器 50运行正常, 代理服务器主控端 40优先将该默认 代理服务器 50分配给用户服务器 60提供服务。 用户服务器 60在***初始 化时与代理服务器主控端 40建立静态配置链路, 然后向代理服务器主控端 40申请代理服务器 50, 直到用户服务器 60分配到可用的代理服务器 50, 并与新分配的代理服务器 50成功通信为止, 新分配的代理服务器 50优选 该用户服务器 60的默认代理服务器 50 , 也可以是代理服务器主控端 40和 其它代理服务器 50。
如新分配的代理服务器 50是现有代理服务器 50, 则维持现有链接, 如 新分配的代理服务器 50不是现有代理服务器 50且也不是代理服务器主控 端 40, 则用户服务器 60与新分配代理服务器 50建立链接, 并定时向新分 配的代理服务器 50发送心跳,等收到响应后切换到新分配的代理服务器 50, 同时关闭与现有的代理服务器 50的链路。
用户服务器 60在与新分配的代理服务器 50通信时, 用户服务器 60在 当前链路和心跳正常时, 定时向代理服务器主控端 40重新申请代理服务器 50, 以确保该代理服务器 50异常时随时更换新的代理服务器 50, 只要再分 配的代理服务器 50和现有代理服务器 50不同, 则切换到再分配的代理服 务器 50。
用户服务器 60与新分配的代理服务器 50动态建链后, 如该代理服务 器 50异常无法提供服务, 用户服务器 60将该代理服务器 50加入用户服务 器 60的异常服务器列表, 然后携带该异常代理服务器信息重新向代理服务 器主控端 40申请代理服务器 50, 代理服务器主控端 40釆用负载均衡算法 将异常代理服务器之外的可用代理服务器 50返回给用户服务器 60。
如用户服务器 60和新分配的代理服务器 50建链失败, 或者发送新分 配的代理服务器 50心跳无响应, 那么将该代理服务器 50添加到异常代理 服务器列表中, 如果异常代理服务器列表中的代理服务器 50个数超过了系 统中总的代理服务器 50的数量, 则将异常代理服务器列表清空, 等待下一 个定时周期重新申请代理服务器 50。
由上可以看出, 用户服务器 60只和两个代理服务器 50的建立了动态 链路, 一个是现有的代理服务器 50, —个是用新分配的正在切换的代理服 务器 50链路, 大大减轻了代理服务器 50用于维护静态链接而使用的内存 空间。
本发明提出的网络电视***, 通过代理服务器主控端 40为用户服务器 60动态分配代理服务器 50的方式, 使代理服务器 50用较少的内存空间为 用户服务器 60提供服务。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直 接或间接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范 围内。

Claims

权利要求书
1、 一种网络电视多代理服务器动态链接的方法, 其特征在于, 所述方 法包括:
用户服务器向代理服务器主控端申请代理服务器;
所述代理服务器主控端根据所述用户服务器的申请分配代理服务器; 所述用户服务器与新分配的代理服务器建立链接。
2、 根据权利要求 1所述的网络电视多代理服务器动态链接的方法, 其 特征在于, 所述用户服务器向代理服务器主控端申请代理服务器包括: 当用户服务器检测到现有代理服务器异常时, 将所述现有代理服务器 加入用户服务器的异常服务器列表, 并发送所述异常服务器列表至所述代 理服务器主控端。
3、根据权利要求 1或 2所述的网络电视多代理服务器动态链接的方法, 其特征在于, 还包括:
当所述用户服务器和新分配的代理服务器建立链接失败或所述用户服 务器发送至新分配的代理服务器的心跳无响应时, 将新分配的代理服务器 加入所述用户服务器的异常服务器列表, 并发送所述异常服务器列表至所 述代理服务器主控端。
4、根据权利要求 1或 2所述的网络电视多代理服务器动态链接的方法, 其特征在于, 所述用户服务器与代理服务器建立链接之后, 还包括:
当新分配的代理服务器非用户服务器的现有代理服务器, 且所述现有 代理服务器非代理服务器主控端时, 关闭所述用户服务器与所述现有代理 服务器的链接;
清空所述用户服务器的异常服务器列表。
5、根据权利要求 1或 2所述的网络电视多代理服务器动态链接的方法, 其特征在于, 所述代理服务器主控端根据用户服务器的申请分配代理服务 器包括:
当默认代理服务器正常时, 所述代理服务器主控端分配所述默认代理 服务器为该用户服务器提供服务。
6、 一种网络电视***, 其特征在于, 包括代理服务器主控端、 用户服 务器和至少一代理服务器, 其中,
所述用户服务器, 用于向代理服务器主控端申请代理服务器, 以及与 新分配的代理服务器建立链接;
所述代理服务器主控端, 用于根据所述用户服务器的申请分配代理服 务器。
7、 根据权利要求 6所述的网络电视***, 其特征在于, 所述用户服务 器具体用于:
当所述用户服务器检测到现有代理服务器异常时, 将所述现有代理服 务器加入所述用户服务器的异常服务器列表, 并发送所述异常服务器列表 至所述代理服务器主控端。
8、 根据权利要求 6或 7所述的网络电视***, 其特征在于, 所述用户 服务器还用于:
当和新分配的代理服务器建立链接失败或发送至新分配的代理服务器 的心跳无响应时, 将新分配的代理服务器加入所述用户服务器的异常服务 器列表, 并发送所述异常服务器列表至所述代理服务器主控端。
9、 根据权利要求 6或 7所述的网络电视***, 其特征在于, 所述用户 服务器还用于:
当新分配的代理服务器非用户服务器的现有代理服务器, 且所述现有 代理服务器非代理服务器主控端时, 关闭所述用户服务器与所述现有代理 服务器的链接;
清空用户服务器的异常服务器列表。
10、 根据权利要求 6或 7所述的网络电视***, 其特征在于, 所述代 理服务器主控端具体用于当默认代理服务器正常时, 分配所述默认代理服 务器为该用户服务器提供服务。
PCT/CN2011/075830 2010-06-28 2011-06-16 网络电视多代理服务器动态链接的方法和网络电视*** WO2012000388A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010212882.XA CN101888379B (zh) 2010-06-28 2010-06-28 网络电视多代理服务器动态链接的方法和网络电视***
CN201010212882.X 2010-06-28

Publications (1)

Publication Number Publication Date
WO2012000388A1 true WO2012000388A1 (zh) 2012-01-05

Family

ID=43074100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075830 WO2012000388A1 (zh) 2010-06-28 2011-06-16 网络电视多代理服务器动态链接的方法和网络电视***

Country Status (2)

Country Link
CN (1) CN101888379B (zh)
WO (1) WO2012000388A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888379B (zh) * 2010-06-28 2014-11-05 中兴通讯股份有限公司 网络电视多代理服务器动态链接的方法和网络电视***
CN107171885B (zh) * 2017-03-31 2019-11-15 北京奇艺世纪科技有限公司 一种检测服务器运行状态的方法、装置和***
CN113301380B (zh) * 2021-04-23 2024-03-12 海南视联通信技术有限公司 一种业务管控方法、装置、终端设备和存储介质
CN113965577B (zh) * 2021-08-31 2024-02-27 联通沃音乐文化有限公司 一种智能切换Socks5代理服务器节点的***与方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394423A (zh) * 2008-09-27 2009-03-25 中兴通讯股份有限公司 一种媒体定位、搜索方法和***
WO2010023662A1 (en) * 2008-08-25 2010-03-04 Webtview Ltd. Iptv extended content provisioning
CN101888379A (zh) * 2010-06-28 2010-11-17 中兴通讯股份有限公司 网络电视多代理服务器动态链接的方法和网络电视***

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512222C (zh) * 2006-06-12 2009-07-08 腾讯科技(深圳)有限公司 点对点流媒体通讯***及其超级节点资源的配置方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010023662A1 (en) * 2008-08-25 2010-03-04 Webtview Ltd. Iptv extended content provisioning
CN101394423A (zh) * 2008-09-27 2009-03-25 中兴通讯股份有限公司 一种媒体定位、搜索方法和***
CN101888379A (zh) * 2010-06-28 2010-11-17 中兴通讯股份有限公司 网络电视多代理服务器动态链接的方法和网络电视***

Also Published As

Publication number Publication date
CN101888379B (zh) 2014-11-05
CN101888379A (zh) 2010-11-17

Similar Documents

Publication Publication Date Title
TWI724106B (zh) 資料中心間的業務流量控制方法、裝置及系統
CN109586972B (zh) 用户终端设备的接入方法、***和宽带网络网关
CN102447624B (zh) 在服务器集群上实现负载均衡的方法、节点服务器及集群
CN106559451B (zh) 用户迁移方法和装置
WO2015074396A1 (zh) 一种软件定义网络sdn的自动配置方法、设备及***
CN102333027B (zh) 基于vrrpe备份组的流量负载分担实现方法及其装置
CN102255633B (zh) 一种多机架用户备份的方法及***
US11627010B2 (en) Method to support redundancy switching of virtual MAC cores
WO2012000388A1 (zh) 网络电视多代理服务器动态链接的方法和网络电视***
CN103095722A (zh) 一种更新网络安全表的方法及网络设备、dhcp服务器
CN105721328A (zh) 一种vrrp负载均衡的方法、装置和路由器
CN107770010A (zh) 一种基于OpenFlow的家庭组网方法和家庭组网***
CN115567486A (zh) 一种mlag环境下的租约同步方法、装置、设备及介质
WO2016065804A1 (zh) 一种流量负载均衡方法及路由设备
CN103401954B (zh) 虚拟dhcp的实现方法
CN111010459A (zh) 一种解决slb做snat时ip地址冲突的方法
JP5437290B2 (ja) サービス振分方法、サービス振分装置、およびプログラム
JP2017038218A (ja) 通信システムおよび設定方法
CN105847143B (zh) 基于vrrp的负载均衡方法及***
CN101159701B (zh) 基于vrrp的路由器动态分配带宽的方法及***
JP2006235837A (ja) 負荷分散システム、負荷分散装置管理サーバ、負荷分散装置の切り替え方法及びプログラム
CN104618148A (zh) 一种防火墙设备的备份方法和设备
JP5529081B2 (ja) ネットワークシステムおよび伝送装置並びに接続管理方法
WO2011035586A1 (zh) 热备份场景下的地址分配方法、装置和***
CN108768798B (zh) 一种设备接入方法及装置

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

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

Country of ref document: EP

Kind code of ref document: A1