WO2010031335A1 - Method for controlling media server and system thereof - Google Patents

Method for controlling media server and system thereof Download PDF

Info

Publication number
WO2010031335A1
WO2010031335A1 PCT/CN2009/073981 CN2009073981W WO2010031335A1 WO 2010031335 A1 WO2010031335 A1 WO 2010031335A1 CN 2009073981 W CN2009073981 W CN 2009073981W WO 2010031335 A1 WO2010031335 A1 WO 2010031335A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
media
media server
service capability
user terminal
Prior art date
Application number
PCT/CN2009/073981
Other languages
French (fr)
Chinese (zh)
Inventor
熊勤
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010031335A1 publication Critical patent/WO2010031335A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer

Definitions

  • the present invention relates to the field of multimedia services in network communication, and more particularly to a method and system for precise control of a media server.
  • NGN Next Generation Network
  • Streaming media technology provides a way to transmit video, audio, pictures and other media content in the network. Therefore, streaming media technology has been widely used in multimedia service systems, especially IPTV (Internet Protocol Televison).
  • IPTV Internet Protocol Televison
  • multimedia services such as IPTV network television, video surveillance, and mobile streaming media have gradually become a trend in NGN networks.
  • the redirection and load balancing of the IPTV system for the user media service request is usually based on the number of concurrent users of the media server as performance parameters.
  • the method has the following problems: When the media server provides a plurality of different media services, the media server The accessed user has different resource consumption to the media server, and cannot load balance the service capabilities of the media server (such as CPU resource utilization, network input and output bandwidth, storage 10 resources, sockets, and file descriptor resources). At this time, the number of concurrent users on the media server does not represent the overall performance of the media server. Therefore, controlling according to the number of concurrent servers of the media server may affect the quality of service to the user.
  • An object of the present invention is to provide a method and system for controlling a media server, which utilizes monitoring of service capability parameters of each media server, according to media required by the user terminal.
  • the service type of the physical service selects the best media server for the user terminal, thereby achieving accurate redirection and load balancing of different types of media service requests, ensuring user service quality, and improving system performance and stability as a whole.
  • an aspect of the present invention provides a method for controlling a media server, where the control method includes: receiving current service capability parameters reported by each media server periodically; The information of the media service service, the media service capability required to provide the media service service, and the required value of each service capability are obtained; and the current service capability parameters of the media servers are respectively related to the service of the relative item The capability needs values are compared, and one of the media servers is selected as the best media server according to the comparison result to provide the media service service for the user terminal.
  • the method further includes: redirecting the information of the optimal media server through a media service response response To the user terminal.
  • the foregoing control method after the information of the optimal media server is fed back to the user terminal, further includes: when the optimal media server receives the media service service request of the user terminal, Transmitting media service data for the user terminal, and updating the current service capability parameters.
  • the step of receiving the service capability parameter reported by each media server periodically includes: receiving media concurrent users reported by each media server, central processor utilization, network input and output bandwidth, and storage input / Output resource, socket, and / or file description word resources.
  • the step of selecting one of the media servers as the optimal media server from the media servers includes: selecting that the current service capability parameters meet the corresponding service capability requirements of the corresponding items
  • the media server of the value is a media server that meets the requirements of the media service capability; and the number of media servers that meet the media service capability requirements is determined, and if the judgment result is one, the obtained media server that meets the media service capability requirement is used as the media server.
  • the best media server; if the judgment result is multiple, the current service capability parameters of the obtained media servers that meet the media service capability requirements are weighted and summed to obtain the comprehensive performance value of each media server;
  • the media server with the highest comprehensive performance value is the best media server.
  • the foregoing control method further includes: before receiving the redirect request sent by the user terminal, configuring a correspondence relationship table, where the media service service and the items are established in the correspondence relationship table Business capability requires correspondence between values.
  • the step of calculating the required value of the service capability includes: searching, in the correspondence relationship table, the required service capability values corresponding to the media service service.
  • the foregoing control method after receiving the service capability parameter reported by each media server, further includes: saving the current service capability parameter by using an in-memory database or a relational database.
  • the step of calculating the required value of the service capability includes: determining a type of the media service service and a media service quality level.
  • the form of the media service service request sent by the user terminal includes: video on demand, unicast channel play, multicast channel play, multicast channel time shift play or personal real time recording.
  • the media access control device includes: a service capability parameter receiving module, configured to receive and save current service capability parameters of each media server; and a computing module, according to the user terminal
  • the information of the media service service required in the service request is calculated, and the value of each service capability required to provide the media service service is calculated; and the comparison module sets the service capability parameters of the media servers and the corresponding items respectively. Comparing the service capability required values, selecting one of the media servers as the best media server according to the comparison result, providing the media service service to the user terminal; and redirecting the request receiving and responding module, for receiving the user terminal a redirect request of the media service service, and in response to the redirect request, feeding back information of the best media server to the user terminal.
  • the media access control device further includes: a storage module, configured to store a correspondence relationship table, and establish, in the correspondence relationship table, a value required to provide the media service service and the various service capabilities Corresponding information between.
  • a storage module configured to store a correspondence relationship table, and establish, in the correspondence relationship table, a value required to provide the media service service and the various service capabilities Corresponding information between.
  • the present invention also provides a service capability parameter sending module, which is configured to provide the media access control device with current service capability parameters of the media server. And providing a media service device, where the media service device includes the foregoing service capability parameter sending module.
  • the present invention further provides a user terminal device, configured to send a media service redirection request to the media access control device, and after receiving the information of the best media server fed back by the media access control device, to the media server The device sends a media server request.
  • the present invention also provides a control system for a media server, comprising: the media access control device; the media server device; and the user terminal device.
  • the method and system of the present invention can configure the correspondence between the media service service and the media service capability of the media server required to provide the media service, and when the user requests the media service service, the user can request the media server according to the media service service.
  • the media server can provide the best media service service for the user, and select the best media server to the user terminal device, thereby enabling precise control of various service capability parameters of the media server, and being able to use the media server.
  • Each capability parameter calculates the comprehensive performance value of the device and uses this as a basis for load balancing to meet the user's best service experience.
  • FIG. 1 is a flowchart of a method for accurately controlling a media server according to an embodiment of the present invention
  • FIG. 2 is a combined architecture diagram of an IPTV system
  • FIG. 3 is a timing diagram of accurately controlling a media server to provide media service data for a user terminal by using the method according to the specific embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a precise control system of a media server according to an embodiment of the present invention.
  • the method and system for accurately controlling a media server by periodically receiving service capability parameters reported by each media server, and saving current service capabilities of each media server
  • the force parameter is used to select the most suitable media according to the information of the media service service required by the user terminal (the information includes the type of the media service service and the service quality level of the user terminal) after receiving the redirect request from the user terminal.
  • the server provides a media service for the user terminal, thereby performing quality of service control on the user's media service, and improving the user quality experience of the multimedia service.
  • step S101 is a flowchart of a method for accurately controlling a media server according to an embodiment of the present invention.
  • the method starts from step S101 and includes the following steps:
  • Step S102 receiving current media service capability parameters reported by each media server, in a specific embodiment of the present invention, the media service capability parameter reported by each media server may be established by establishing a long connection communication link, and the media server is typical.
  • Service capability parameters include, but are not limited to, media concurrent users, CPU (Central Processing Unit) resource utilization, network input and output bandwidth, storage 10 (input and output) resources, sockets, and/or file descriptor resources.
  • Step S103 Receive a redirect request of a media service service of the user terminal, where the form of the request includes a form of a media service service and a user service quality level, where the form of the media service service includes but is not limited to video on demand (VOD), unicast channel play , multicast channel playback, multicast channel time shift playback, personal real-time recording.
  • VOD video on demand
  • Step S104 Calculate, according to the information of the media service service required in the redirect service request, the required value of each service capability that is required to be used to provide the media service service.
  • Step S105 Compare the current service capability parameters of each media server with the required service capability values obtained by the lookup table, and determine which media servers can provide the media service service, and the basis for the judgment may be The value of each service capability obtained by the lookup table is compared with the current media service capability parameters of each media server, and the media server whose current service capability parameters satisfy the corresponding service capability requirement value is selected as the media service capability.
  • the required media server, the media server that meets the requirements of the media service capability may be one or more, and if one, the obtained media server that meets the requirements of the media service capability is used as the best medium. If there are multiple, the media access control device can set a weight to each service capability parameter of the media server, and weight and sum the current service capability parameters of each media server to obtain each media server. Quantitative comprehensive performance value, so that the media server with the highest comprehensive performance value can be selected as the best media server among the media servers that meet the media service capability requirements.
  • Step S106 The information of the selected best media server is fed back to the user terminal in response to the redirect service request.
  • the user terminal device After receiving the response, the user terminal device obtains the information of the best media server that provides the media service service for the user terminal, and then sends a media service service request to the determined best media server, and Performing a media service service negotiation to establish a media session; the optimal media server determined by the foregoing method may start providing media service data to the user terminal device, the user terminal device receives the media service data, and further processes the media service data, and the media Business services begin.
  • the media server of NGN (Next Generation Network) such as mobile streaming media is precisely controlled.
  • NGN Next Generation Network
  • the method and system described in the specific embodiments of the present invention will be described in detail below in conjunction with the media server of the IPTV system.
  • the typical IPTV system includes: Media Access Control Device (MACD), multiple media server devices (SSI, SS2... SSn), and user terminal devices (User Equipment ).
  • Media Access Control Device (MACD)
  • SSI multiple media server devices
  • SSn multiple media server devices
  • User Equipment User Equipment
  • FIG. 3 is a timing diagram of accurately controlling a media server to provide media service data for a user terminal by using the method according to the embodiment of the present invention in an IPTV system.
  • the action of each device includes the following steps:
  • Step 200 In the media access control device MACD configuration correspondence table, establish a correspondence relationship between the media service service and the media server to consume the required value of each service capability for providing the media service service, and the implementation manner may be to establish an in-memory database or a relational database.
  • the media service service includes, but is not limited to, video on demand, unicast channel play, multicast channel play, multicast channel time shift play, personal real time recording, and service quality level of the media service;
  • Step 201 All media servers SSI, SS2, ..., SSn and media access control settings
  • the standby MAC address establishes a long-connected communication link, and each media server periodically reports the media service capability parameter of the media server to the media access control device MACD through the communication link, where the media service capability parameter includes the number of media concurrent users, and the CPU resource. Utilization, network input and output bandwidth, storage of 10 resources, sockets and file description word resources;
  • Step 202 The media access control device MACD saves the media service capability parameters collected by each media server, and establishes a performance parameter data table of the media service capability parameter in an in-memory database or a relational database manner, and organizes the data into Step 203:
  • the user terminal device UE sends a media service redirection request to the media access control device MACD, where the media service redirection request form includes but is not limited to VOD video on demand, unicast channel play, and multicast. Channel play, multicast channel time shift play, personal real-time recording, etc., and the media server request also includes the user service quality level;
  • Step 204 The media access control device MACD determines the type of the media service service and the media service quality level according to the information of the media service redirection request sent by the user terminal device, and calculates various services of the media server required to provide the media service service.
  • the corresponding relationship table is searched, and the media service capability necessary for the media server to obtain the media service service of the type and the service quality level is obtained in the corresponding relationship table;
  • the performance parameter data table of the media server is traversed, and the current media service capability parameters of the media server are compared with the required service capability values required for providing the media service service requested by the user, and the media satisfying the requirements of the user media service service is selected.
  • Server SSi
  • Step 205 The media access control device MACD returns a response of the redirect service request to the user terminal device UE, where the response includes the access information of the media server SSi.
  • Step 206 The user terminal device UE sends a media service service request to the media server SSi.
  • the form of the service request includes video on demand, unicast channel play, multicast channel play, multicast channel time shift play, and personal real time recording.
  • the media server request further includes a user service quality level; the user terminal device UE negotiates with the media server SSi to establish a media session;
  • Step 207 The media server SSi starts to send media service data, such as audio and video encoded data and file data, to the user terminal equipment UE, and the user terminal equipment UE receives the media service data, and further processes the media service data, and the media service service starts.
  • media service data such as audio and video encoded data and file data
  • FIG. 4 a schematic structural diagram of the system is provided. The system includes:
  • a service capability parameter sending module configured to provide and send current service capability parameters of each media server
  • a service capability parameter receiving module configured to receive and save current service capability parameters of each media server sent by the service capability parameter sending module
  • the calculation module calculates the required value of each service capability that is required to provide the media service service according to the information of the media service service required by the user terminal to redirect the service request;
  • the current service capability parameters of the media servers are compared with the service capability requirements of the corresponding items, and selecting an optimal media server to provide the media service to the user terminal;
  • the media server that meets the requirements of the service capability of the corresponding service capability parameter is a media server that meets the requirements of the media service capability; and determines the number of media servers that meet the media service capability requirements. If the judgment result is one, the obtained media server that meets the media service capability requirement is used as the optimal media server; if the judgment result is multiple, the current status of the obtained plurality of media servers that meet the media service capability requirement is obtained.
  • the service capability parameters are weighted and summed to obtain the comprehensive performance value of each media server; and the media server with the highest comprehensive performance value is selected as the best media server.
  • a redirection request receiving and responding module configured to receive a redirection request of the user terminal media service service, and feed back information of the optimal media server to the user terminal in response to the redirection request.
  • a storage module configured to store a correspondence relationship table, where the correspondence information between the media service service and the required value of each service capability is established in the correspondence relationship table.
  • control system of the specific embodiment of the present invention can be applied to the precise control of the media server of NGN (Next Generation Network) such as IPTV (Internet TV), video surveillance, mobile streaming media, and the IPTV system is taken as an example, and the IPTV system of the control system is used.
  • NGN Next Generation Network
  • IPTV Internet TV
  • video surveillance video surveillance
  • mobile streaming media mobile streaming media
  • IPTV system IPTV system of the control system is used.
  • the media access control device as the core control device of the IPTV system, the foregoing service capability parameter receiving module, the computing module, the comparison module, the redirect request receiving and responding module, and the storage module may be set in the media access control device, and the service capability parameter is utilized.
  • Receiving module, collection and protection The various service capability parameters of the media server are used to implement load balancing among the media servers; and the storage module is used to store the service capability required values of the media server required to provide a media service service; using the calculation and comparison module Selecting the best media server device suitable for providing media services to the user; at the same time, as the redirect of the user terminal request, using the redirect request receiving and responding module, receiving the media service request of the user terminal device, and determining the best determined by the comparison module The information of the media server is returned to the user terminal device to implement redirection of the user media service request;
  • Media server device As a media service capability providing device of the IPTV system, the media service is directly provided to the user, and the media service may be in the form of content downloading, audio and video playing, real-time recording, etc., and providing media service data to the user terminal device;
  • the control device, the service capability parameter sending module is configured on the media server device, and the service capability parameter sending module provides the media access control device with various current service capability parameters of the media server device;
  • the user terminal device is used as an access device of the IPTV system, and is configured to send a media service redirection request to the media access control device, where the media service can be in the form of content downloading, audio and video playback, real-time recording, etc., and the user terminal device obtains the After controlling the redirected media server device information, the media sends a media server request to the media server device, receives the media service data provided by the media server, and further processes the media service data.
  • the method and system of the present invention can configure the correspondence between the media service service and the media service capability of the media server required to provide the media service, and when the user requests the media service service, the user can request the media server according to the media service service. Determine whether the media server can provide the best media service service for the user, and select the best media server to set the user terminal. Therefore, it is possible to accurately control the various service capability parameters of the media server, and calculate the comprehensive performance value of the device by using the capability parameters of the media server, and use this as a basis for load balancing, thereby satisfying the user's optimal service experience. .

Abstract

A method for controlling media server and system thereof are provided. The method includes: receiving various current service capability parameters reported by various media servers periodically; according to the information of required media service in a reorientation service request, computing the requisite consume of the media service capability for providing the media service to obtain the required value of each service capability; comparing the each current service capability parameters of the each media server with the required value of corresponding service capability respectively, selecting a media server according to the comparison result as an optimal media server to provide the media service for the user terminal. The method and system can realize accurate reorientation and load balance for different types of media service requests, ensure user service quality, and integrally improve the performance and stability of the system.

Description

一种媒体服务器的控制方法和系统  Method and system for controlling media server
技术领域 Technical field
本发明涉及网络通讯中的多媒体业务领域, 尤其是指一种媒体服务器的 精确控制方法和系统。  The present invention relates to the field of multimedia services in network communication, and more particularly to a method and system for precise control of a media server.
背景技术 Background technique
目前, 由于网络带宽的提高和 NGN ( Next Generation Network,下一代网 络)技术的发展,使得在 NGN网络上开展基于媒体内容的增值服务业务有了 可能。 流媒体技术提供了一种在网络中传输视频、 音频、 图片等媒体内容的 方式, 因此流媒体技术在多媒体业务系统, 特别是 IPTV ( Internet Protocol Televison, 网络电视)多媒体业务中得到了广泛的应用。 同时, 随着 NGN网 络技术的发展, 在 NGN网络中开展多媒体业务, 比如 IPTV网络电视、 视频 监控、 移动流媒体等多媒体业务已逐渐成为一种趋势。  At present, due to the improvement of network bandwidth and the development of NGN (Next Generation Network) technology, it is possible to carry out value-added service based on media content on the NGN network. Streaming media technology provides a way to transmit video, audio, pictures and other media content in the network. Therefore, streaming media technology has been widely used in multimedia service systems, especially IPTV (Internet Protocol Televison). . At the same time, with the development of NGN network technology, multimedia services such as IPTV network television, video surveillance, and mobile streaming media have gradually become a trend in NGN networks.
由于 IPTV 系统规模的扩大以及使用业务的用户数增加势必会对系统提 出更高的性能和稳定性要求,因此在 IPTV系统必须要使用有效的服务重定向 和负载均衡策略, 以实现对用户媒体服务的负载均衡。 目前, IPTV系统对用 户媒体服务请求的重定向和负载均衡通常是以媒体服务器并发用户数作为性 能参数, 然而该方法存在以下问题: 在媒体服务器提供多种不同的媒体服务 时, 媒体服务器上所接入的用户对媒体服务器的资源消耗不同, 不能够对媒 体服务器的业务能力 (比如 CPU资源利用率, 网络输入输出带宽, 存储 10 资源, 套接字和文件描述字资源等)进行负载均衡, 此时媒体服务器上的并 发用户数并不能代表媒体服务器的整体性能, 因此按照媒体服务器的并发数 进行控制可能会影响对用户的服务质量。  As the scale of the IPTV system expands and the number of users using the service is bound to impose higher performance and stability requirements on the system, effective IPTV redirection and load balancing policies must be used in the IPTV system to implement user media services. Load balancing. At present, the redirection and load balancing of the IPTV system for the user media service request is usually based on the number of concurrent users of the media server as performance parameters. However, the method has the following problems: When the media server provides a plurality of different media services, the media server The accessed user has different resource consumption to the media server, and cannot load balance the service capabilities of the media server (such as CPU resource utilization, network input and output bandwidth, storage 10 resources, sockets, and file descriptor resources). At this time, the number of concurrent users on the media server does not represent the overall performance of the media server. Therefore, controlling according to the number of concurrent servers of the media server may affect the quality of service to the user.
发明内容 Summary of the invention
本发明的目的在于提供一种对媒体服务器进行控制的方法和系统, 所述 方法利用对各媒体服务器的业务能力参数的监测, 根据用户终端所需要的媒 体业务服务类型, 为用户终端选择最佳的媒体服务器, 从而实现对不同类型 的媒体服务请求的精确重定向和负载均衡, 保证用户服务质量, 在整体上提 高系统的性能和稳定性。 An object of the present invention is to provide a method and system for controlling a media server, which utilizes monitoring of service capability parameters of each media server, according to media required by the user terminal. The service type of the physical service selects the best media server for the user terminal, thereby achieving accurate redirection and load balancing of different types of media service requests, ensuring user service quality, and improving system performance and stability as a whole.
为实现上述发明目的,本发明的一方面提供一种媒体服务器的控制方法, 所述控制方法包括: 接收各媒体服务器周期上报的当前各项业务能力参数; 根据用户终端重定向服务请求中所需要媒体业务服务的信息, 计算为了提供 所述媒体业务服务需要消耗的媒体业务能力, 获得各项业务能力需要值; 将 所述各媒体服务器的当前各项业务能力参数分别与相对项的所述业务能力需 要值进行比较, 根据比较结果选择其中一媒体服务器作为最佳媒体服务器来 为所述用户终端提供所述媒体业务服务。  In order to achieve the above object, an aspect of the present invention provides a method for controlling a media server, where the control method includes: receiving current service capability parameters reported by each media server periodically; The information of the media service service, the media service capability required to provide the media service service, and the required value of each service capability are obtained; and the current service capability parameters of the media servers are respectively related to the service of the relative item The capability needs values are compared, and one of the media servers is selected as the best media server according to the comparison result to provide the media service service for the user terminal.
优选地, 上述所述的控制方法, 在选择所述最佳媒体服务器为所述用户 终端提供所述媒体业务服务之后, 还包括: 将所述最佳媒体服务器的信息通 过媒体服务重定向响应反馈至所述用户终端。  Preferably, after the selecting the best media server to provide the media service to the user terminal, the method further includes: redirecting the information of the optimal media server through a media service response response To the user terminal.
优选地, 上述所述的控制方法, 将所述最佳媒体服务器的信息反馈至所 述用户终端之后, 还包括: 所述最佳媒体服务器在接收到所述用户终端的媒 体业务服务请求时, 为所述用户终端发送媒体业务数据, 并更新所述当前各 项业务能力参数。  Preferably, the foregoing control method, after the information of the optimal media server is fed back to the user terminal, further includes: when the optimal media server receives the media service service request of the user terminal, Transmitting media service data for the user terminal, and updating the current service capability parameters.
优选地, 上述所述的控制方法, 所述接收各媒体服务器周期上报的业务 能力参数的步骤包括: 接收各媒体服务器上报的媒体并发用户数、 中央处理 器利用率、 网络输入输出带宽、 存储输入 /输出资源、 套接字和 /或文件描述字 资源数。  Preferably, in the foregoing control method, the step of receiving the service capability parameter reported by each media server periodically includes: receiving media concurrent users reported by each media server, central processor utilization, network input and output bandwidth, and storage input / Output resource, socket, and / or file description word resources.
优选地, 上述所述的控制方法, 从所述各媒体服务器选择其中一媒体服 务器作为最佳媒体服务器的步骤, 包括: 选择所述当前各项业务能力参数均 满足相对应项所述业务能力需要值的媒体服务器为符合媒体业务能力要求的 媒体服务器; 判断所述符合媒体业务能力要求的媒体服务器的个数, 若判断 结果为一个, 则将所获得的一个符合媒体业务能力要求的媒体服务器作为最 佳媒体服务器; 若判断结果为多个, 则将所获得的多个符合媒体业务能力要 求的媒体服务器的当前各项业务能力参数进行加权求和, 获得各媒体服务器 的综合性能值; 选择所述综合性能值最高的媒体服务器为最佳媒体服务器。 优选地, 上述所述的控制方法, 还包括: 在接收所述用户终端发送的重 定向请求之前, 配置一对应关系表, 在所述对应关系表中建立所述媒体业务 服务与所述各项业务能力需要值之间的对应信息。 Preferably, the foregoing control method, the step of selecting one of the media servers as the optimal media server from the media servers, includes: selecting that the current service capability parameters meet the corresponding service capability requirements of the corresponding items The media server of the value is a media server that meets the requirements of the media service capability; and the number of media servers that meet the media service capability requirements is determined, and if the judgment result is one, the obtained media server that meets the media service capability requirement is used as the media server. The best media server; if the judgment result is multiple, the current service capability parameters of the obtained media servers that meet the media service capability requirements are weighted and summed to obtain the comprehensive performance value of each media server; The media server with the highest comprehensive performance value is the best media server. Preferably, the foregoing control method further includes: before receiving the redirect request sent by the user terminal, configuring a correspondence relationship table, where the media service service and the items are established in the correspondence relationship table Business capability requires correspondence between values.
优选地, 上述所述的控制方法, 计算获得所述各项业务能力需要值的步 骤包括: 在所述对应关系表中查找与所述媒体业务服务对应的所述各项业务 能力需要值。  Preferably, the foregoing control method, the step of calculating the required value of the service capability includes: searching, in the correspondence relationship table, the required service capability values corresponding to the media service service.
优选地, 上述所述的控制方法, 所述接收各媒体服务器周期上报的业务 能力参数之后, 还包括: 以内存数据库或关系数据库的方式保存所述当前各 项业务能力参数。  Preferably, the foregoing control method, after receiving the service capability parameter reported by each media server, further includes: saving the current service capability parameter by using an in-memory database or a relational database.
优选地, 上述所述的控制方法, 计算获得所述各项业务能力需要值的步 骤包括: 判断所述媒体业务服务的类型和媒体业务质量级别。  Preferably, in the foregoing control method, the step of calculating the required value of the service capability includes: determining a type of the media service service and a media service quality level.
优选地, 上述所述的控制方法, 所述用户终端发送的媒体业务服务请求 的形式包括: 视频点播、 单播频道播放、 组播频道播放、 组播频道时移播放 或个人实时录制。  Preferably, in the foregoing control method, the form of the media service service request sent by the user terminal includes: video on demand, unicast channel play, multicast channel play, multicast channel time shift play or personal real time recording.
本发明另一方面提供一种媒体访问控制设备, 所述媒体访问控制设备包 括: 业务能力参数接收模块, 用于接收和保存各媒体服务器的当前各项业务 能力参数; 计算模块, 根据用户终端重定向服务请求中所需要媒体业务服务 的信息, 计算为了提供所述媒体业务服务需要消耗的各项业务能力需要值; 比较模块, 将所述各媒体服务器的业务能力参数分别与相对应项的所述业务 能力需要值进行比较, 根据比较结果选择其中一媒体服务器作为最佳媒体服 务器, 为所述用户终端提供所述媒体业务服务; 以及重定向请求接收与响应 模块, 用于接收所述用户终端媒体业务服务的重定向请求, 并响应所述重定 向请求 , 将所述最佳媒体服务器的信息反馈至所述用户终端。  Another aspect of the present invention provides a media access control device, where the media access control device includes: a service capability parameter receiving module, configured to receive and save current service capability parameters of each media server; and a computing module, according to the user terminal The information of the media service service required in the service request is calculated, and the value of each service capability required to provide the media service service is calculated; and the comparison module sets the service capability parameters of the media servers and the corresponding items respectively. Comparing the service capability required values, selecting one of the media servers as the best media server according to the comparison result, providing the media service service to the user terminal; and redirecting the request receiving and responding module, for receiving the user terminal a redirect request of the media service service, and in response to the redirect request, feeding back information of the best media server to the user terminal.
优选地, 上述所述的媒体访问控制设备, 还包括: 存储模块, 用于存储 一对应关系表, 在所述对应关系表中建立提供所述媒体业务服务与所述各项 业务能力需要值之间的对应信息。  Preferably, the media access control device further includes: a storage module, configured to store a correspondence relationship table, and establish, in the correspondence relationship table, a value required to provide the media service service and the various service capabilities Corresponding information between.
本发明还提供了一种业务能力参数发送模块, 其设置为向上述媒体访问 控制设备提供媒体服务器的当前各项业务能力参数。 以及提供了一种媒体服务设备, 该媒体服务设备包括上述业务能力参数 发送模块。 The present invention also provides a service capability parameter sending module, which is configured to provide the media access control device with current service capability parameters of the media server. And providing a media service device, where the media service device includes the foregoing service capability parameter sending module.
本发明还提供了一种用户终端设备, 其设置为向上述媒体访问控制设备 发送媒体服务重定向请求, 并在接收到上述媒体访问控制设备反馈的最佳媒 体服务器的信息后, 向上述媒体服务器设备发送媒体服务器请求。  The present invention further provides a user terminal device, configured to send a media service redirection request to the media access control device, and after receiving the information of the best media server fed back by the media access control device, to the media server The device sends a media server request.
本发明还提供了一种媒体服务器的控制系统, 包括: 上述媒体访问控制 设备; 上述媒体服务器设备; 以及上述用户终端设备。 本发明所述方法和系 统通过配置媒体业务服务与提供该媒体业务所需要消耗媒体服务器的媒体业 务能力的对应关系表, 用户在请求媒体业务服务时, 能够根据媒体业务服务 对媒体服务器的要求, 对媒体服务器是否能够为用户提供最好的媒体业务服 务进行判断, 并选择最佳的媒体服务器给用户终端设备, 因此能够实现对媒 体服务器各项业务能力参数的精确控制, 并且能够使用媒体服务器的各项能 力参数计算设备的综合性能值并以此作为依据进行负载均衡, 从而满足用户 的最佳服务体验。  The present invention also provides a control system for a media server, comprising: the media access control device; the media server device; and the user terminal device. The method and system of the present invention can configure the correspondence between the media service service and the media service capability of the media server required to provide the media service, and when the user requests the media service service, the user can request the media server according to the media service service. Whether the media server can provide the best media service service for the user, and select the best media server to the user terminal device, thereby enabling precise control of various service capability parameters of the media server, and being able to use the media server. Each capability parameter calculates the comprehensive performance value of the device and uses this as a basis for load balancing to meet the user's best service experience.
附图概述 BRIEF abstract
图 1为本发明具体实施例所述媒体服务器的精确控制方法的流程图; 图 2为 IPTV系统的组合架构图;  1 is a flowchart of a method for accurately controlling a media server according to an embodiment of the present invention; FIG. 2 is a combined architecture diagram of an IPTV system;
图 3为在 IPTV系统中,利用本发明具体实施例所述方法精确控制媒体服 务器, 为用户终端提供媒体业务数据的时序图;  FIG. 3 is a timing diagram of accurately controlling a media server to provide media service data for a user terminal by using the method according to the specific embodiment of the present invention;
图 4 为本发明具体实施例所述媒体服务器的精确控制系统的结构示意 图。  FIG. 4 is a schematic structural diagram of a precise control system of a media server according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及具体 实施例对本发明进行详细描述。  The present invention will be described in detail below with reference to the drawings and specific embodiments.
本发明所述的对媒体服务器进行精确控制的方法和系统, 通过周期地接 收各媒体服务器上报的业务能力参数, 保存各媒体服务器的当前各项业务能 力参数, 用以当接收到用户终端的重定向请求之后, 根据用户终端所需要的 媒体业务服务的信息 (该信息包括媒体业务服务的类型以及用户终端的业务 质量级别) , 选择最适合的媒体服务器为用户终端提供媒体服务, 从而对用 户的媒体服务进行服务质量控制, 提高多媒体业务的用户质量体验。 The method and system for accurately controlling a media server according to the present invention, by periodically receiving service capability parameters reported by each media server, and saving current service capabilities of each media server The force parameter is used to select the most suitable media according to the information of the media service service required by the user terminal (the information includes the type of the media service service and the service quality level of the user terminal) after receiving the redirect request from the user terminal. The server provides a media service for the user terminal, thereby performing quality of service control on the user's media service, and improving the user quality experience of the multimedia service.
图 1为本发明具体实施例所述媒体服务器的精确控制方法的流程图, 参 阅图 1 , 该方法从步骤 S101开始, 包括步骤:  1 is a flowchart of a method for accurately controlling a media server according to an embodiment of the present invention. Referring to FIG. 1, the method starts from step S101 and includes the following steps:
步骤 S102, 接收各媒体服务器周期上报的当前各项媒体业务能力参数, 在本发明具体实施例中, 各媒体服务器上报媒体业务能力参数可以通过建立 长连接通信链路的方式, 而媒体服务器的典型业务能力参数包括但不限于媒 体并发用户数、 CPU (中央处理器)资源利用率、网络输入输出带宽、存储 10(输 入输出)资源, 套接字和 /或文件描述字资源。  Step S102, receiving current media service capability parameters reported by each media server, in a specific embodiment of the present invention, the media service capability parameter reported by each media server may be established by establishing a long connection communication link, and the media server is typical. Service capability parameters include, but are not limited to, media concurrent users, CPU (Central Processing Unit) resource utilization, network input and output bandwidth, storage 10 (input and output) resources, sockets, and/or file descriptor resources.
步骤 S103 , 接收用户终端媒体业务服务的重定向请求, 该请求的形式包 括媒体业务服务的形式和用户业务质量等级, 该媒体业务服务的形式包括但 不限于视频点播 (VOD)、 单播频道播放、 组播频道播放、 组播频道时移播放、 个人实时录制。  Step S103: Receive a redirect request of a media service service of the user terminal, where the form of the request includes a form of a media service service and a user service quality level, where the form of the media service service includes but is not limited to video on demand (VOD), unicast channel play , multicast channel playback, multicast channel time shift playback, personal real-time recording.
步骤 S104, 根据重定向服务请求中所需要媒体业务服务的信息, 计算为 了提供所述媒体业务服务需要消耗的各项业务能力需要值; 对于计算所述各 项业务能力需要值的方式, 可以预先配置一对应关系表, 在所述对应关系表 中, 建立各媒体业务服务与提供各媒体业务服务需要消耗的各项业务能力需 要值的对应信息, 这样即可以依据用户终端所需要媒体业务服务的类型和业 务质量等级, 查找对应关系表, 获得为了提供该类型和业务质量等级的媒体 业务服务, 媒体服务器所必须具备的媒体业务能力。  Step S104: Calculate, according to the information of the media service service required in the redirect service request, the required value of each service capability that is required to be used to provide the media service service. Configuring a correspondence table, in which the correspondence information of each media service service and each service capability required to provide each media service service is established, so that the media service service required by the user terminal can be Type and quality of service level, find the correspondence table, and obtain the media service capabilities that the media server must have in order to provide media service services of this type and service quality level.
步骤 S105 , 将各媒体服务器的当前各项业务能力参数分别与查表获得的 所述各项业务能力需要值进行比较, 判断哪些媒体服务器能够提供该媒体业 务服务, 判断的依据可以是将所述查表获得的各项业务能力需要值分别与各 媒体服务器的当前各项媒体业务能力参数作比较, 选择当前各项业务能力参 数均满足相对应项业务能力需要值的媒体服务器为符合媒体业务能力要求的 媒体服务器, 该符合媒体业务能力要求的媒体服务器可为一个或多个, 若为 一个, 则将所获得的该一个符合媒体业务能力要求的媒体服务器作为最佳媒 体服务器; 若为多个, 则可以在媒体访问控制设备中给媒体服务器的各项业 务能力参数设定一个权重, 对各媒体服务器的当前各项业务能力参数进行加 权求和, 得到各媒体服务器量化的综合性能值, 这样可以在符合媒体服务能 力要求的媒体服务器中, 选择综合性能值最高的媒体服务器为最佳媒体服务 器。 Step S105: Compare the current service capability parameters of each media server with the required service capability values obtained by the lookup table, and determine which media servers can provide the media service service, and the basis for the judgment may be The value of each service capability obtained by the lookup table is compared with the current media service capability parameters of each media server, and the media server whose current service capability parameters satisfy the corresponding service capability requirement value is selected as the media service capability. The required media server, the media server that meets the requirements of the media service capability may be one or more, and if one, the obtained media server that meets the requirements of the media service capability is used as the best medium. If there are multiple, the media access control device can set a weight to each service capability parameter of the media server, and weight and sum the current service capability parameters of each media server to obtain each media server. Quantitative comprehensive performance value, so that the media server with the highest comprehensive performance value can be selected as the best media server among the media servers that meet the media service capability requirements.
步骤 S106, 将所选择的最佳媒体服务器的信息反馈至用户终端, 以响应 所述重定向服务请求。  Step S106: The information of the selected best media server is fed back to the user terminal in response to the redirect service request.
通过以上的方法, 用户终端设备接收到所述响应后, 获得为该用户终端 提供该媒体业务服务的最佳媒体服务器的信息, 即可向该确定的最佳媒体服 务器发送媒体业务服务请求, 并进行媒体业务服务协商, 建立媒体会话; 通 过上述方法确定的该最佳媒体服务器即可以开始向用户终端设备提供媒体业 务数据, 用户终端设备接收媒体业务数据, 并将媒体业务数据进行进一步处 理, 媒体业务服务开始。  After receiving the response, the user terminal device obtains the information of the best media server that provides the media service service for the user terminal, and then sends a media service service request to the determined best media server, and Performing a media service service negotiation to establish a media session; the optimal media server determined by the foregoing method may start providing media service data to the user terminal device, the user terminal device receives the media service data, and further processes the media service data, and the media Business services begin.
移动流媒体等 NGN (下一代网络)的媒体服务器精确控制, 以下将结合 IPTV 系统的媒体服务器对本发明具体实施例所述的方法和系统进行详细描述。 The media server of NGN (Next Generation Network) such as mobile streaming media is precisely controlled. The method and system described in the specific embodiments of the present invention will be described in detail below in conjunction with the media server of the IPTV system.
参阅图 2为 IPTV系统的组成架构图, 通常的 IPTV系统包括: 媒体访问 控制设备( MACD, Media Access Control Device )、多个媒体服务器设备 (SSI , SS2... SSn)和用户终端设备 ( User Equipment ) 。  Refer to Figure 2 for the composition of the IPTV system. The typical IPTV system includes: Media Access Control Device (MACD), multiple media server devices (SSI, SS2... SSn), and user terminal devices (User Equipment ).
图 3为在 IPTV系统中,利用本发明具体实施例所述方法精确控制媒体服 务器为用户终端提供媒体业务数据的时序图。 参阅图 3 , 在 IPTV系统, 釆用 所述方法, 各设备端的动作包括如下步骤:  FIG. 3 is a timing diagram of accurately controlling a media server to provide media service data for a user terminal by using the method according to the embodiment of the present invention in an IPTV system. Referring to FIG. 3, in the IPTV system, the action of each device includes the following steps:
步骤 200: 在媒体访问控制设备 MACD配置对应关系表, 建立媒体业务 服务与媒体服务器为提供该媒体业务服务所需要消耗各项业务能力需要值的 对应关系, 实现方式可以是建立内存数据库或者关系数据库, 其中该媒体业 务服务的形式包括但不限于视频点播、 单播频道播放、 组播频道播放、 组播 频道时移播放、 个人实时录制, 以及媒体业务的业务质量等级;  Step 200: In the media access control device MACD configuration correspondence table, establish a correspondence relationship between the media service service and the media server to consume the required value of each service capability for providing the media service service, and the implementation manner may be to establish an in-memory database or a relational database. The media service service includes, but is not limited to, video on demand, unicast channel play, multicast channel play, multicast channel time shift play, personal real time recording, and service quality level of the media service;
步骤 201 : 所有的媒体服务器 SSI , SS2, ... ... , SSn与媒体访问控制设 备 MACD建立长连接通信链路,每个媒体服务器通过该通信链路周期性地给 媒体访问控制设备 MACD上报本媒体服务器的媒体业务能力参数,该媒体业 务能力参数包括媒体并发用户数, CPU资源利用率, 网络输入输出带宽, 存 储 10资源, 套接字和文件描述字资源数; Step 201: All media servers SSI, SS2, ..., SSn and media access control settings The standby MAC address establishes a long-connected communication link, and each media server periodically reports the media service capability parameter of the media server to the media access control device MACD through the communication link, where the media service capability parameter includes the number of media concurrent users, and the CPU resource. Utilization, network input and output bandwidth, storage of 10 resources, sockets and file description word resources;
步骤 202: 媒体访问控制设备 MACD将所釆集到各媒体服务器的各项媒 体业务能力参数进行保存, 并以内存数据库或者关系数据库的方式建立媒体 业务能力参数的性能参数数据表, 并组织成可方便查找和遍历的结构方式; 步骤 203: 用户终端设备 UE向媒体访问控制设备 MACD发送媒体服务 重定向请求,该媒体服务重定向请求形式包括但不限于 VOD视频点播、单播 频道播放、 组播频道播放、 组播频道时移播放、 个人实时录制等, 此外媒体 服务器请求还包含用户业务质量等级;  Step 202: The media access control device MACD saves the media service capability parameters collected by each media server, and establishes a performance parameter data table of the media service capability parameter in an in-memory database or a relational database manner, and organizes the data into Step 203: The user terminal device UE sends a media service redirection request to the media access control device MACD, where the media service redirection request form includes but is not limited to VOD video on demand, unicast channel play, and multicast. Channel play, multicast channel time shift play, personal real-time recording, etc., and the media server request also includes the user service quality level;
步骤 204: 媒体访问控制设备 MACD根据用户终端设备发送的媒体服务 重定向请求的信息, 判断媒体业务服务的类型和媒体业务质量级别, 计算出 提供该媒体业务服务所需要的媒体服务器的各项业务能力需要值, 在本发明 具体实施例中是通过查找对应关系表的方式, 在对应关系表中查找获得为了 提供该类型和业务质量等级的媒体业务服务, 媒体服务器所必须具备的媒体 业务能力; 同时遍历媒体服务器的性能参数数据表, 将媒体服务器的各项当 前媒体业务能力参数与提供用户请求的媒体业务服务所要求的各项业务能力 需要值进行比较, 选择满足用户媒体业务服务要求的媒体服务器 SSi;  Step 204: The media access control device MACD determines the type of the media service service and the media service quality level according to the information of the media service redirection request sent by the user terminal device, and calculates various services of the media server required to provide the media service service. In the specific embodiment of the present invention, in the specific embodiment, the corresponding relationship table is searched, and the media service capability necessary for the media server to obtain the media service service of the type and the service quality level is obtained in the corresponding relationship table; At the same time, the performance parameter data table of the media server is traversed, and the current media service capability parameters of the media server are compared with the required service capability values required for providing the media service service requested by the user, and the media satisfying the requirements of the user media service service is selected. Server SSi;
步骤 205: 媒体访问控制设备 MACD给用户终端设备 UE返回重定向服 务请求的响应, 响应中包括媒体服务器 SSi的访问信息;  Step 205: The media access control device MACD returns a response of the redirect service request to the user terminal device UE, where the response includes the access information of the media server SSi.
步骤 206: 用户终端设备 UE向媒体服务器 SSi发送媒体业务服务请求, 综上所述该服务请求的形式包括视频点播、 单播频道播放、 组播频道播放、 组播频道时移播放、 个人实时录制, 媒体服务器请求还包含用户业务质量等 级; 用户终端设备 UE与媒体服务器 SSi进行媒体业务服务器协商,建立媒体 会话;  Step 206: The user terminal device UE sends a media service service request to the media server SSi. The form of the service request includes video on demand, unicast channel play, multicast channel play, multicast channel time shift play, and personal real time recording. The media server request further includes a user service quality level; the user terminal device UE negotiates with the media server SSi to establish a media session;
步骤 207: 媒体服务器 SSi开始向用户终端设备 UE发送媒体业务数据, 如音视频编码数据, 文件数据, 用户终端设备 UE接收媒体业务数据, 并将 媒体业务数据作进一步地处理, 媒体业务服务开始。 本发明具体实施例的另一方面提供一种媒体服务器的精确控制系统, 参 阅图 4为所述系统的结构示意图, 所述系统包括: Step 207: The media server SSi starts to send media service data, such as audio and video encoded data and file data, to the user terminal equipment UE, and the user terminal equipment UE receives the media service data, and further processes the media service data, and the media service service starts. Another aspect of the present invention provides a precise control system for a media server. Referring to FIG. 4, a schematic structural diagram of the system is provided. The system includes:
业务能力参数发送模块, 用于提供并发送各媒体服务器的当前各项业务 能力参数;  a service capability parameter sending module, configured to provide and send current service capability parameters of each media server;
业务能力参数接收模块, 用于接收和保存所述业务能力参数发送模块所 发送的各媒体服务器的当前各项业务能力参数;  a service capability parameter receiving module, configured to receive and save current service capability parameters of each media server sent by the service capability parameter sending module;
计算模块,根据用户终端重定向服务请求中所需要媒体业务服务的信息, 计算为了提供所述媒体业务服务需要消耗的各项业务能力需要值;  The calculation module calculates the required value of each service capability that is required to provide the media service service according to the information of the media service service required by the user terminal to redirect the service request;
比较模块, 将所述各媒体服务器的当前各项业务能力参数分别与相对应 项的业务能力需要值进行比较, 选择一最佳媒体服务器为所述用户终端提供 所述媒体业务服务; 该比较方法为: 选择所述当前各项业务能力参数均满足 相对应项所述业务能力需要值的媒体服务器为符合媒体业务能力要求的媒体 服务器; 判断所述符合媒体业务能力要求的媒体服务器的个数, 若判断结果 为一个 , 则将所获得的一个符合媒体业务能力要求的媒体服务器作为最佳媒 体服务器; 若判断结果为多个, 则将所获得的多个符合媒体业务能力要求的 媒体服务器的当前各项业务能力参数进行加权求和, 获得各媒体服务器的综 合性能值; 选择所述综合性能值最高的媒体服务器为最佳媒体服务器。  Comparing, the current service capability parameters of the media servers are compared with the service capability requirements of the corresponding items, and selecting an optimal media server to provide the media service to the user terminal; The media server that meets the requirements of the service capability of the corresponding service capability parameter is a media server that meets the requirements of the media service capability; and determines the number of media servers that meet the media service capability requirements. If the judgment result is one, the obtained media server that meets the media service capability requirement is used as the optimal media server; if the judgment result is multiple, the current status of the obtained plurality of media servers that meet the media service capability requirement is obtained. The service capability parameters are weighted and summed to obtain the comprehensive performance value of each media server; and the media server with the highest comprehensive performance value is selected as the best media server.
重定向请求接收与响应模块, 用于接收所述用户终端媒体业务服务的重 定向请求, 并响应所述重定向请求, 将所述最佳媒体服务器的信息反馈至所 述用户终端。  And a redirection request receiving and responding module, configured to receive a redirection request of the user terminal media service service, and feed back information of the optimal media server to the user terminal in response to the redirection request.
存储模块, 用于存储一对应关系表, 在所述对应关系表中建立所述媒体 业务服务与所述各项业务能力需要值之间的对应信息。  And a storage module, configured to store a correspondence relationship table, where the correspondence information between the media service service and the required value of each service capability is established in the correspondence relationship table.
本发明具体实施例的控制系统可以应用于 IPTV (网络电视)、视频监控、 移动流媒体等 NGN (下一代网络)的媒体服务器精确控制, 以 IPTV系统为例, 釆用该控制系统的 IPTV系统包括:  The control system of the specific embodiment of the present invention can be applied to the precise control of the media server of NGN (Next Generation Network) such as IPTV (Internet TV), video surveillance, mobile streaming media, and the IPTV system is taken as an example, and the IPTV system of the control system is used. Includes:
媒体访问控制设备: 作为 IPTV 系统的核心控制设备, 上述的业务能力 参数接收模块、 计算模块、 比较模块、 重定向请求接收与响应模块、 存储模 块可以设置于该媒体访问控制设备, 利用业务能力参数接收模块, 釆集和保 存媒体服务器的各项业务能力参数,以实现各个媒体服务器之间的负载均衡; 利用存储模块, 存储为提供一媒体业务服务所需要的媒体服务器的各项业务 能力需要值; 利用计算和比较模块, 选择适合给用户提供媒体服务的最佳媒 体服务器设备; 同时作为用户终端请求的重定向, 利用重定向请求接收与响 应模块, 接收用户终端设备的媒体服务请求, 并将比较模块确定的最佳媒体 服务器的信息返回给用户终端设备, 实现用户媒体服务请求的重定向; The media access control device: as the core control device of the IPTV system, the foregoing service capability parameter receiving module, the computing module, the comparison module, the redirect request receiving and responding module, and the storage module may be set in the media access control device, and the service capability parameter is utilized. Receiving module, collection and protection The various service capability parameters of the media server are used to implement load balancing among the media servers; and the storage module is used to store the service capability required values of the media server required to provide a media service service; using the calculation and comparison module Selecting the best media server device suitable for providing media services to the user; at the same time, as the redirect of the user terminal request, using the redirect request receiving and responding module, receiving the media service request of the user terminal device, and determining the best determined by the comparison module The information of the media server is returned to the user terminal device to implement redirection of the user media service request;
媒体服务器设备: 作为 IPTV 系统媒体服务能力提供设备, 直接向用户 提供媒体服务,媒体服务的形式可以是内容下载, 音视频播放和实时录制等, 并给用户终端设备提供媒体业务数据; 同时作为被控设备, 上述的业务能力 参数发送模块设置于该媒体服务器设备, 利用该业务能力参数发送模块向媒 体访问控制设备提供媒体服务器设备的各种当前各业务能力参数;  Media server device: As a media service capability providing device of the IPTV system, the media service is directly provided to the user, and the media service may be in the form of content downloading, audio and video playing, real-time recording, etc., and providing media service data to the user terminal device; The control device, the service capability parameter sending module is configured on the media server device, and the service capability parameter sending module provides the media access control device with various current service capability parameters of the media server device;
用户终端设备: 作为 IPTV 系统的接入设备, 用于向媒体访问控制设备 发送媒体服务重定向请求, 媒体服务的形式可以是内容下载, 音视频播放和 实时录制等, 用户终端设备在获取到经过媒体控制重定向后的媒体服务器设 备信息后, 再向媒体服务器设备发送媒体服务器请求, 接收媒体服务器提供 的媒体业务数据, 并将媒体业务数据进行进一步处理。  The user terminal device is used as an access device of the IPTV system, and is configured to send a media service redirection request to the media access control device, where the media service can be in the form of content downloading, audio and video playback, real-time recording, etc., and the user terminal device obtains the After controlling the redirected media server device information, the media sends a media server request to the media server device, receives the media service data provided by the media server, and further processes the media service data.
综合以上所述, 通过釆用本发明具体实施例所述的方法和系统, 能够实 现对媒体服务器各项业务能力参数的精确控制, 且能够使用媒体服务器的各 项能力参数进行负载均衡, 满足用户的最佳服务体验。  In summary, by using the method and system described in the specific embodiments of the present invention, accurate control of various service capability parameters of the media server can be implemented, and load capacity balancing can be performed by using various capability parameters of the media server to satisfy the user. The best service experience.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润 饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性 Industrial applicability
本发明所述方法和系统通过配置媒体业务服务与提供该媒体业务所需要 消耗媒体服务器的媒体业务能力的对应关系表,用户在请求媒体业务服务时, 能够根据媒体业务服务对媒体服务器的要求, 对媒体服务器是否能够为用户 提供最好的媒体业务服务进行判断, 并选择最佳的媒体服务器给用户终端设 备, 因此能够实现对媒体服务器各项业务能力参数的精确控制, 并且能够使 用媒体服务器的各项能力参数计算设备的综合性能值并以此作为依据进行负 载均衡, 从而满足用户的最佳服务体验。 The method and system of the present invention can configure the correspondence between the media service service and the media service capability of the media server required to provide the media service, and when the user requests the media service service, the user can request the media server according to the media service service. Determine whether the media server can provide the best media service service for the user, and select the best media server to set the user terminal. Therefore, it is possible to accurately control the various service capability parameters of the media server, and calculate the comprehensive performance value of the device by using the capability parameters of the media server, and use this as a basis for load balancing, thereby satisfying the user's optimal service experience. .

Claims

权 利 要 求 书 Claim
1. 一种媒体服务器的控制方法, 所述控制方法包括:  A method for controlling a media server, the control method comprising:
接收各媒体服务器周期上报的当前各项业务能力参数;  Receiving current service capability parameters reported by each media server period;
根据用户终端重定向服务请求中所需要媒体业务服务的信息, 计算为了 提供所述媒体业务服务需要消耗的媒体业务能力, 以获得各项业务能力需要 值; 以及  Calculating the media service capability required to provide the media service service according to the information of the media service service required by the user terminal to redirect the service request, to obtain the value of each service capability;
将所述各媒体服务器的当前各项业务能力参数分别与相对应项的所述业 务能力需要值进行比较, 根据比较结果选择所述各媒体服务器中的一个作为 最佳媒体服务器来为所述用户终端提供所述媒体业务服务。  Comparing each current service capability parameter of each media server with the service capability required value of the corresponding item, and selecting one of the media servers as the best media server according to the comparison result to be the user. The terminal provides the media service service.
2. 如权利要求 1所述的控制方法, 在选择所述最佳媒体服务器为所述用 户终端提供所述媒体业务服务的所述步骤之后, 还包括:  The control method according to claim 1, after the step of selecting the optimal media server to provide the media service to the user terminal, the method further includes:
将所述最佳媒体服务器的信息通过媒体服务重定向响应反馈至所述用户 终端。  The information of the best media server is fed back to the user terminal via a media service redirect response.
3. 如权利要求 2 所述的控制方法, 在将所述最佳媒体服务器的信息反 馈至所述用户终端的所述步骤之后, 还包括:  3. The control method of claim 2, after the step of feeding back the information of the optimal media server to the user terminal, further comprising:
所述最佳媒体服务器在接收到所述用户终端的媒体业务服务请求时, 为 所述用户终端发送媒体业务数据, 并更新所述当前各项业务能力参数。  When receiving the media service service request of the user terminal, the optimal media server sends media service data to the user terminal, and updates the current service capability parameters.
4. 如权利要求 1所述的控制方法, 其中, 所述接收各媒体服务器周期上 报的当前业务能力参数的步骤包括: 接收所述各媒体服务器上报的媒体并发 用户数、 中央处理器利用率、 网络输入输出带宽、 存储输入 /输出资源、 套接 字和 /或文件描述字资源数。  The control method according to claim 1, wherein the step of receiving the current service capability parameter reported by each media server periodically comprises: receiving the number of media concurrent users reported by each media server, the utilization rate of the central processor, Network input and output bandwidth, storage input/output resources, sockets, and/or file descriptor resources.
5. 如权利要求 4所述的控制方法, 其中, 根据比较结果选择所述各媒体 服务器中的一个作为最佳媒体服务器的所述步骤包括: 根据比较结果, 选择 所述各媒体服务器中所述当前各项业务能力参数均高于相对应项的所述业务 能力需要值的媒体服务器为符合媒体业务能力要求的媒体服务器;  The control method according to claim 4, wherein the step of selecting one of the media servers as the optimal media server according to the comparison result comprises: selecting the media server according to the comparison result The media server whose current service capability parameter is higher than the corresponding service capability requirement value of the corresponding item is a media server that meets the media service capability requirement;
判断所述符合媒体业务能力要求的媒体服务器的个数, 若判断结果为一 个, 则将所获得的一个符合媒体业务能力要求的媒体服务器作为最佳媒体服 务器; 若判断结果为多个, 则将所获得的多个符合媒体业务能力要求的媒体 服务器中的每一个的当前各项业务能力参数进行加权求和, 获得所述各媒体 服务器的综合性能值; 以及 Determining the number of media servers that meet the media service capability requirements, and if the judgment result is one, the obtained media server that meets the media service capability requirement is used as the optimal media server; if the judgment result is multiple, Multiple media that meet the media business capability requirements The current service capability parameters of each of the servers are weighted and summed to obtain comprehensive performance values of the media servers;
选择所述综合性能值最高的媒体服务器为最佳媒体服务器。  The media server with the highest comprehensive performance value is selected as the best media server.
6. 如权利要求 1所述的控制方法, 在根据所述媒体业务服务计算所述媒 体业务能力, 以获得所述各项业务能力需要值的所述步骤之前, 还包括: 配置一对应关系表, 在所述对应关系表中建立所述媒体业务服务与所述 各项业务能力需要值之间的对应信息。  The control method according to claim 1, before the step of calculating the media service capability according to the media service service to obtain the required value of each service capability, the method further includes: configuring a correspondence table And establishing, in the correspondence relationship table, correspondence information between the media service service and the required value of each service capability.
7. 如权利要求 6 所述的控制方法, 其中, 根据所述媒体业务服务的信 息计算所述媒体业务能力 , 以获得所述各项业务能力需要值的所述步骤包括: 在所述对应关系表中查找与所述媒体业务服务对应的所述各项业务能力需要 值。  The control method according to claim 6, wherein the calculating the media service capability according to the information of the media service service to obtain the required value of each service capability comprises: The table identifies the required service capability values corresponding to the media service service.
8. 如权利要求 1 所述的控制方法, 在所述接收各媒体服务器周期上报 的当前业务能力参数的步骤之后, 还包括:  The control method of claim 1, after the step of receiving the current service capability parameter reported by each media server, further comprising:
以内存数据库或关系数据库的方式保存所述当前各项业务能力参数。  The current service capability parameters are saved in an in-memory database or a relational database.
9. 如权利要求 1 所述的控制方法, 其中, 根据所述媒体业务服务的信 息计算所述媒体业务能力 , 以获得所述各项业务能力需要值的所述步骤包括: 判断所述媒体业务服务的类型和媒体业务质量级别。 The control method according to claim 1, wherein the step of calculating the media service capability according to the information of the media service service to obtain the required value of each service capability comprises: determining the media service The type of service and the quality level of the media service.
10. 如权利要求 1所述的控制方法, 其中, 所述用户终端重定向服务请 求的形式包括: 视频点播、 单播频道播放、 组播频道播放、 组播频道时移播 放或个人实时录制。  10. The control method according to claim 1, wherein the form of the user terminal redirection service request comprises: video on demand, unicast channel play, multicast channel play, multicast channel time shift play or personal real time recording.
11. 一种媒体访问控制设备, 所述媒体访问控制设备包括:  A media access control device, the media access control device comprising:
业务能力参数接收模块, 其设置为接收和保存各媒体服务器的当前各项 业务能力参数;  a service capability parameter receiving module, configured to receive and save current service capability parameters of each media server;
计算模块, 其设置为根据用户终端重定向服务请求中所需要媒体业务服 务的信息,计算为了提供所述媒体业务服务需要消耗的各项业务能力需要值; 比较模块, 其设置为将所述各媒体服务器的业务能力参数分别与相对应 项的所述业务能力需要值进行比较, 根据比较结果选择其中一媒体服务器作 为最佳媒体服务器, 为所述用户终端提供所述媒体业务服务; 以及 重定向请求接收与响应模块, 其设置为接收所述用户终端媒体业务服务 的重定向请求, 并响应所述重定向请求, 将所述最佳媒体服务器的信息反馈 至所述用户终端。 a calculation module, configured to calculate, according to the information of the media service service required by the user terminal to redirect the service request, a value required for each service capability that is required to provide the media service service; and a comparison module configured to: The service capability parameter of the media server is compared with the service capability requirement value of the corresponding item, and one of the media servers is selected as the best media server according to the comparison result, and the media service service is provided for the user terminal; And a redirection request receiving and responding module, configured to receive a redirection request of the user terminal media service service, and to feed back information of the optimal media server to the user terminal in response to the redirection request.
12、 如权利要求 11所述的媒体访问控制设备, 还包括:  12. The media access control device of claim 11, further comprising:
存储模块, 其设置为存储一对应关系表, 在所述对应关系表中建立所述 媒体业务服务与所述各项业务能力需要值之间的对应信息。  And a storage module, configured to store a correspondence relationship table, and establish corresponding information between the media service service and the required value of each service capability in the correspondence relationship table.
13、 一种业务能力参数发送模块, 其设置为向如权利要求 11或 12所述 的媒体访问控制设备提供媒体服务器的当前各项业务能力参数。  A service capability parameter sending module, configured to provide the media access control device according to claim 11 or 12 with current service capability parameters of the media server.
14、 一种媒体服务器设备, 包括如权利要求 13所述的业务能力参数发送 模块。  A media server device, comprising the service capability parameter sending module according to claim 13.
15、 一种用户终端设备, 其设置为向如权利要求 11或 12所述的媒体访 问控制设备发送媒体服务重定向请求, 并在接收到如权利要求 11或 12所述 媒体访问控制设备反馈的所述最佳媒体服务器的信息后,向如权利要求 14所 述媒体服务器设备发送所述媒体服务器请求。  A user terminal device configured to transmit a media service redirection request to the media access control device according to claim 11 or 12, and to receive feedback from the media access control device according to claim 11 or 12. After the information of the best media server, the media server request is sent to the media server device according to claim 14.
16. 一种媒体服务器的控制系统, 所述控制系统包括:  16. A control system for a media server, the control system comprising:
如权利要求 11或 12所述的媒体访问控制设备;  A medium access control device according to claim 11 or 12;
如权利要求 14所述的媒体服务器; 以及  The media server of claim 14;
如权利要求 15所述的用户终端设备。  A user terminal device according to claim 15.
PCT/CN2009/073981 2008-09-18 2009-09-16 Method for controlling media server and system thereof WO2010031335A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810222398.8A CN101355522B (en) 2008-09-18 2008-09-18 Control method and system for media server
CN200810222398.8 2008-09-18

Publications (1)

Publication Number Publication Date
WO2010031335A1 true WO2010031335A1 (en) 2010-03-25

Family

ID=40308122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073981 WO2010031335A1 (en) 2008-09-18 2009-09-16 Method for controlling media server and system thereof

Country Status (2)

Country Link
CN (1) CN101355522B (en)
WO (1) WO2010031335A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348736A (en) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 Method for selecting route under multicast load scene and routers

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355522B (en) * 2008-09-18 2011-02-23 中兴通讯股份有限公司 Control method and system for media server
CN101795239B (en) * 2010-04-14 2012-10-17 杭州华三通信技术有限公司 Authentication method and equipment
CN101867526A (en) * 2010-06-28 2010-10-20 中兴通讯股份有限公司 A redirecting method and system
CN102571525B (en) * 2010-12-08 2016-01-20 中兴通讯股份有限公司 The management method that a kind of communication equipment service is redirected and device
CN102255900A (en) * 2011-07-05 2011-11-23 中兴通讯股份有限公司 Method, system and device for providing multimedia service
CN102625076A (en) * 2012-04-06 2012-08-01 高剑平 Streaming media-based television interactive video response method and system
CN103793275B (en) * 2012-10-31 2018-09-04 北京华胜天成科技股份有限公司 Realize the system and processing method of load balancing
CN102932271A (en) * 2012-11-27 2013-02-13 无锡城市云计算中心有限公司 Method and device for realizing load balancing
CN105430028B (en) * 2014-09-09 2019-03-29 阿里巴巴集团控股有限公司 Service calling method, providing method and node
CN105871983A (en) * 2015-12-10 2016-08-17 乐视云计算有限公司 Method and device for selecting servers
CN106453637B (en) * 2016-11-24 2018-01-26 深圳市小满科技有限公司 The method, apparatus and cloud platform of cloud platform efficient multiplexing server resource
CN109218355B (en) * 2017-06-30 2021-06-15 华为技术有限公司 Load balancing engine, client, distributed computing system and load balancing method
CN113179334B (en) * 2021-06-30 2021-09-24 神威超算(北京)科技有限公司 Server selection method, device and computer readable medium
CN115379221B (en) * 2022-10-25 2022-12-20 中诚华隆计算机技术有限公司 Streaming media data transmission method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184271A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Multimedia resource service selecting method and multimedia resource function controller
CN101227644A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 Method and apparatus of resource allocation
CN101355522A (en) * 2008-09-18 2009-01-28 中兴通讯股份有限公司 Control method and system for media server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6463454B1 (en) * 1999-06-17 2002-10-08 International Business Machines Corporation System and method for integrated load distribution and resource management on internet environment
CN100377554C (en) * 2004-05-25 2008-03-26 华中科技大学 Load balancing method for cluster server
CN101080001B (en) * 2007-06-22 2010-06-02 中兴通讯股份有限公司 Device for realizing balance of media content in network TV system and its method
CN101119475B (en) * 2007-08-21 2010-06-02 中兴通讯股份有限公司 System and method for implementing video on-demand request redirection in IPTV system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184271A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Multimedia resource service selecting method and multimedia resource function controller
CN101227644A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 Method and apparatus of resource allocation
CN101355522A (en) * 2008-09-18 2009-01-28 中兴通讯股份有限公司 Control method and system for media server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348736A (en) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 Method for selecting route under multicast load scene and routers

Also Published As

Publication number Publication date
CN101355522B (en) 2011-02-23
CN101355522A (en) 2009-01-28

Similar Documents

Publication Publication Date Title
WO2010031335A1 (en) Method for controlling media server and system thereof
EP2880548B1 (en) Methods for quality-aware adaptive streaming over hypertext transfer protocol
US8849984B2 (en) Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program
EP2088719B1 (en) Method and device for distributing file data
US20080209065A1 (en) Method for sending stream media, signaling forwarding device and stream media system
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
JP2016502798A (en) Dynamic bit rate encoding and distribution according to the content situation
CN101540775A (en) Method and device for distributing contents and network system for distributing contents
WO2010127618A1 (en) System and method for implementing streaming media content service
GB2477513A (en) Load balancing method between streaming servers based on weighting of connection and processing loads.
WO2009155802A1 (en) Method, system, service selection entity and service management entity for selecting service provision entity
WO2017125017A1 (en) Method for adjusting cache content, device, and system
WO2010043146A1 (en) Method and device, server cluster for media file storage processing and service processing
CN101800731A (en) Network transmission management server, network transmission management method and network transmission system
CN110445723A (en) A kind of network data dispatching method and fringe node
Wang et al. PLVER: Joint stable allocation and content replication for edge-assisted live video delivery
Chen et al. Enabling on-demand internet video streaming services to multi-terminal users in large scale
US20110302269A1 (en) Flexible data structures and protocols
US8239909B2 (en) Method of securing resources in a video and audio streaming delivery system
US8583819B2 (en) System and method for controlling server usage in peer-to-peer (P2P) based streaming service
JP2005018293A (en) Content delivery control device, content delivery control method and content delivery control program
KR20150133437A (en) Method for arranging cache positioned at subscriber network and system thereof
Yu et al. Self-adaptive schedule mechanism for peer-to-peer multi-rate live streaming system
CN101562626B (en) Method, system and device for medium distribution
WO2012155646A1 (en) Method, system and device for providing multimedia service

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

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

Country of ref document: EP

Kind code of ref document: A1