CN101695044A - Stream media service node and load balancing method thereof - Google Patents

Stream media service node and load balancing method thereof Download PDF

Info

Publication number
CN101695044A
CN101695044A CN200910190529A CN200910190529A CN101695044A CN 101695044 A CN101695044 A CN 101695044A CN 200910190529 A CN200910190529 A CN 200910190529A CN 200910190529 A CN200910190529 A CN 200910190529A CN 101695044 A CN101695044 A CN 101695044A
Authority
CN
China
Prior art keywords
resource
resource unit
service
control module
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910190529A
Other languages
Chinese (zh)
Inventor
李鹏程
肖蓉
刘澍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910190529A priority Critical patent/CN101695044A/en
Publication of CN101695044A publication Critical patent/CN101695044A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a stream media service node and a load balancing method thereof. The method comprises the following steps: a resource management module in the stream media service node monitoring the load conditions of all resource units in the stream media service node in real time; after receiving the service request of a user, the resource management module selecting the resource unit providing service for the user according to the preset resource selection strategy and acquiring a control module that the resource unit belongs to; and the control module controlling the resource unit to provide the stream media service for the user within the service period. The stream media service node comprises the resource management module and the control module. The invention improves the whole performance of the stream media service node, thus providing high quality stream media service for the user.

Description

A kind of stream media service node and load-balancing method thereof
Technical field
The present invention relates to IPTV (IPTV) technology, specifically, relate to a kind of stream media service node and load-balancing method thereof.
Background technology
IPTV is a kind of multiple technologies such as the Internet, multimedia, communication that integrate, and the brand-new technology of the multiple interactive services that comprises Digital Television is provided to the domestic consumer.
The basic service that the IPTV system provides comprises program request, live, time shift, TV playback.IPTV set-top box (STB), be after the Streaming Media user obtains the URL (Uniform Resource Locator URL(uniform resource locator)) of program from EPG (electronic program list) server, to be undertaken alternately by RTSP (RTP) signaling and stream media service node.A stream media service node can provide streaming media service for up to ten thousand users simultaneously.
A stream media service node is become by the polylith group of blade servers, and blade server is used for handling RTSP signaling or Streaming Media.For the stream media node that service can be provided for up to ten thousand users, the load balancing that signaling that it is inner and medium are handled is an important problem, and wherein load comprises network traffics, file I/O, memory consumption and CPU or the like.
The general load-balancing method that adopts based on module of existing load-balancing method.Stream media node comprises a plurality of control blades, and each control blade is according to the resource blade of the disposal ability control right quantity of self.Wherein, each control blade logically is called a module, and each resource blade logically is called a unit.Stream media node is distributed to corresponding resume module to request according to the static information that disposes after the request of receiving the user, static information is configured in advance according to the service ability of each module.But this method is to be all service time of each user prerequisite mutually, but in fact each user's service time is also inequality, user on some unit may withdraw from soon, and the user on some unit is long service time, and the load on each Resource Unit is just different like this.And do not consider abnormal conditions based on the processing method of module yet, and break down as certain unit, service etc. can not be provided.The existence of these problems causes the load balancing situation between module and intermodule, unit and unit unsatisfactory, and can increase the cross-module probability of resource and the communication overhead of intermodule of obtaining.
Summary of the invention
Because above-mentioned background the invention provides a kind of stream media service node and load-balancing method thereof, can make load balancing reach better effect.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
A kind of load-balancing method of stream media service node comprises the steps:
Resource management module in A, the stream media service node is monitored the load state of each Resource Unit in the stream media service node in real time;
After B, described resource management module are received user's service request, be chosen as the Resource Unit that this user provides service, obtain the affiliated control module of this Resource Unit according to the predetermined resource selection strategy; Described control module is controlled described Resource Unit and is provided streaming media service at viability to this user.
In a kind of embodiment of said method, described predetermined resource selection strategy is for selecting the Resource Unit of present load minimum.
In a kind of embodiment of said method, described step B specifically comprises:
After B1, resource management module are received user's service request, be chosen as the Resource Unit that this user provides service, the control module under the unit number by this Resource Unit obtains number according to the predetermined resource selection strategy;
B2, resource management module send to the control corresponding module according to control module number with the unit number of user's service request and Resource Unit;
B3, control module are to the resource of the described Resource Unit of resource management module application;
B4, resource management module return the resource bid result to control module, the load state of each Resource Unit of real-time update;
B5, control module send request to described Resource Unit, control described Resource Unit and provide streaming media service at viability to this user.
In a kind of embodiment of said method, also comprise the service process ends, described service process ends comprises:
C1, resource management module are received the service ending request, to the described service ending request of control corresponding module forwards;
C2, described control module send the service ending request to corresponding Resource Unit, and described Resource Unit finishes to provide service to the user;
C3, described control module discharge resource to resource management module, this Resource Unit load state of resource management module real-time update.
In a kind of embodiment of said method, the load state of described Resource Unit comprises the occupation condition of the network bandwidth, file I/O, internal memory, CPU.
In a kind of embodiment of said method, when control module or Resource Unit break down, also can by trigger or regularly detection mode report to resource management module.
The invention also discloses a kind of stream media service node, comprising:
Resource management module is used for monitoring in real time the load state of each Resource Unit of stream media service node; And after receiving user's service request, be chosen as the Resource Unit that this user provides service according to the predetermined resource selection strategy, obtain the affiliated control module of this Resource Unit;
Described control module, being used to control described Resource Unit provides streaming media service at viability to this user.
In a kind of embodiment of above-mentioned stream media service node, described resource management module, when service beginning and service finish to the load state real-time update of Resource Unit.
The present invention is by the resource management management real-time monitoring to the load condition of each Resource Unit, and is chosen as the Resource Unit that this user provides service according to the predetermined resource selection strategy in view of the above, thereby can reach better load balancing effect.
Description of drawings
Fig. 1 is the system architecture sketch of the embodiment of the invention;
Fig. 2 is the signaling and the medium flow graph of the embodiment of the invention;
Fig. 3 is the flow chart of the user of the embodiment of the invention to node request service;
Fig. 4 is the flow chart that the user of the embodiment of the invention finishes to serve.
Embodiment
The contrast accompanying drawing elaborates to specific embodiments of the present invention below.
Main purpose of the present invention is to provide the load-balancing method of stream media service node in a kind of IPTV system, can make the load of each module of intranodal, unit reach dynamic equalization, improves streaming media service quality.Its core concept is to utilize resource management module to come each module of unified management, and the load state of each Resource Unit under each module, is chosen as the Resource Unit that the user provides service by resource management module.
As shown in Figure 1, the stream media service node of the embodiment of the invention comprises signaling forwarding module, resource management module, control module and Resource Unit.Wherein, control module comprise several (control module 1, control module 2 ... control module N), several Resource Units are arranged under each control module, for example, in Fig. 1, control module has M1 Resource Unit for 1 time, control module has M2 Resource Unit for 2 times, M3 Resource Unit arranged under the control module N, and M1, M2, M3 can be identical, also can be different.The signaling forwarding module can carry out Signalling exchange with resource management module, wherein,
Signaling forwarding module: be responsible for receiving and transmitting the signaling request that the user initiates to stream media service node.
Resource management module: comprise pre-analyzing sub-module of signaling and resource management submodule.The pre-analyzing sub-module of signaling is resolved in advance to the signaling that the signaling forwarding module forwards, and tentatively judges signaling type and whether needs to apply for media resource.If need the application media resource, the pre-analyzing sub-module of signaling then can be obtained the Resource Unit number of for example load minimum and the control module under this unit number to the resource management submodule according to the predetermined resource selection strategy, and set up signaling and transmit the data field, set up a data field for each user's viability, the signaling that this user is this time served is all sent to same control module.The resource management submodule is responsible for the collection and the statistics of resource operating position in resource selection and the whole node, its each module, the service ability of each Resource Unit to the streaming media service intranodal, manage such as unifications such as the network bandwidth, file I/O, internal memory and CPU, the Resource Unit of service is provided to provide for the user according to the predetermined resource selection strategy for the real-time occupation condition of each unit and module in the monitor node.In this example, the predetermined resource selection strategy is set at the Resource Unit of selecting the present load minimum.Certainly, the predetermined resource selection strategy can be set other selection strategy according to current actual demand.
Control module: be responsible for user's request is handled in stream media service node, to resource management module application resource, the operating resource unit provides service etc.
Resource Unit: be responsible for the user streaming media service is provided.
Fig. 2 is the signaling and the medium flow graph of example of the present invention, and according to this figure, set-top box (STB) at first will be obtained the URL of required programs to the EPG server, sends request according to URL to node corresponding then, and promptly the signaling forwarding module to this node sends request.After the signaling forwarding module is received request, signaling is transmitted to resource management module.After resource management module is received signaling, by the pre-analyzing sub-module of its signaling signaling is resolved in advance, judge whether it is the Client-initiated media service request, if then to the Resource Unit and the corresponding with it control module of resource management submodule query load minimum.The pre-analyzing sub-module of signaling can number be noted this control module, the basis of transmitting as this service signaling.The pre-analyzing sub-module of signaling is forwarded to this control module with request then.This control module is according to the resource of the unit number that obtains to resource management submodule application allocated resource unit, apply for successfully after, control module is to the Resource Unit transmission service request of this appointment.This Resource Unit is received provides streaming media service to the user after the request.In addition, when control module or Resource Unit break down, also can by trigger or regularly detection mode report to resource management module, resource management module carries out corresponding the processing, for example control module or the Resource Unit that breaks down withdrawed from service, get rid of until its fault.
Fig. 3 is that the user may further comprise the steps to the flow chart of node request service in the example of the present invention:
Step S301: set-top box (STB) sends RTSP and asks the signaling forwarding module, and the signaling forwarding module is received the request that set-top box is sent.
Step S302: the request that the signaling forwarding module will be received sends to resource management module.
Step S303: the resource type that the pre-analyzing sub-module analysis request of the signaling of resource management module needs, Resource Unit to resource management submodule query load minimum, and the unit number by Resource Unit finds the control module number under this unit, and control module number is informed the pre-analyzing sub-module of signaling.
Step S304: the pre-analyzing sub-module of signaling is noted the basis of control module conduct service signaling forwarding this time, and will ask to send to the control corresponding module with unit number.
Step S305: control module is obtained the resource of designating unit to the resource management module application.
Step S306: resource management module upgrades each unit loads situation, i.e. occupation condition to application result and real-time statistics that control module is returned the designating unit resource.
Step S307: if the success of application designating unit, control module sends request to this Resource Unit, asks it to provide streaming media service to the user, and this Resource Unit provides service to the user.
Fig. 4 is the flow chart that the user finishes to serve in the example of the present invention, may further comprise the steps:
Step S401: set-top box sends the service ending request to the signaling forwarding module, and the signaling forwarding module is received the service ending request.
Step S402: the signaling forwarding module will be served the pre-analyzing sub-module of signaling that ending request is transmitted to resource management module, the information of record will be served ending request and be sent to corresponding control module when the pre-analyzing sub-module of signaling is asked (being service request) according to the first time.
Step S403: control module sends the request that finishes service to Resource Unit.
Step S404: Resource Unit finishes to provide service to the user.
Step S405: control module discharges resource to resource management module, this unit loads situation of resource management module real-time update.
Step S406: control module sends the response that service has finished by the pre-analyzing sub-module of signaling to the signaling forwarding module.
Step S407: the signaling forwarding module sends the response that service has finished to set-top box.
Adopt the present invention, by the real-time monitoring of resource management module to the load state of each Resource Unit, and carry out the selection of Resource Unit according to predetermined selection strategy, make the load of interior each Resource Unit of stream media service node can realize dynamic equalization, than existing according to module poll processing mode, the overall performance of stream media service node is improved, thereby can provide high-quality streaming media service for the user.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, but this example of just lifting for ease of understanding should not think that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can make various possible being equal to and change or replacement, these changes or replacement all should belong to protection scope of the present invention.

Claims (10)

1. the load-balancing method of a stream media service node is characterized in that, comprises the steps:
Resource management module in A, the stream media service node is monitored the load state of each Resource Unit in the stream media service node in real time;
After B, described resource management module are received user's service request, be chosen as the Resource Unit that this user provides service, obtain the affiliated control module of this Resource Unit according to the predetermined resource selection strategy; Described control module is controlled described Resource Unit and is provided streaming media service at viability to this user.
2. the method for claim 1 is characterized in that, described predetermined resource selection strategy is for selecting the Resource Unit of present load minimum.
3. the method for claim 1 is characterized in that, described step B specifically comprises:
After B1, resource management module are received user's service request, be chosen as the Resource Unit that this user provides service, the control module under the unit number by this Resource Unit obtains number according to the predetermined resource selection strategy;
B2, resource management module send to the control corresponding module according to control module number with the unit number of user's service request and Resource Unit;
B3, control module are to the resource of the described Resource Unit of resource management module application;
B4, resource management module return the resource bid result to control module, the load state of each Resource Unit of real-time update;
B5, control module send request to described Resource Unit, control described Resource Unit and provide streaming media service at viability to this user.
4. the method for claim 1 is characterized in that, also comprises the service process ends, and described service process ends comprises:
C1, resource management module are received the service ending request, to the described service ending request of control corresponding module forwards;
C2, described control module send the service ending request to corresponding Resource Unit, and described Resource Unit finishes to provide service to the user;
C3, described control module discharge resource to resource management module, this Resource Unit load state of resource management module real-time update.
5. as each described method in the claim 1 to 4, it is characterized in that the load state of described Resource Unit comprises the occupation condition of the network bandwidth, file I/O, internal memory, CPU.
6. as each described method among the claim 1-4, it is characterized in that, when control module or Resource Unit break down, by trigger or regularly detection mode report to resource management module.
7. a stream media service node is characterized in that, comprising:
Resource management module is used for monitoring in real time the load state of each Resource Unit of stream media service node; And after receiving user's service request, be chosen as the Resource Unit that this user provides service according to the predetermined resource selection strategy, obtain the affiliated control module of this Resource Unit;
Described control module, being used to control described Resource Unit provides streaming media service at viability to this user.
8. stream media service node as claimed in claim 7 is characterized in that, described predetermined resource selection strategy is for selecting the Resource Unit of present load minimum.
9. stream media service node as claimed in claim 7 is characterized in that, described resource management module, when service beginning and service finish to the load state real-time update of Resource Unit.
10. as each described stream media service node in the claim 7 to 9, it is characterized in that the load state of described Resource Unit comprises the occupation condition of the network bandwidth, file I/O, internal memory, CPU.
CN200910190529A 2009-09-29 2009-09-29 Stream media service node and load balancing method thereof Pending CN101695044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910190529A CN101695044A (en) 2009-09-29 2009-09-29 Stream media service node and load balancing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910190529A CN101695044A (en) 2009-09-29 2009-09-29 Stream media service node and load balancing method thereof

Publications (1)

Publication Number Publication Date
CN101695044A true CN101695044A (en) 2010-04-14

Family

ID=42093986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910190529A Pending CN101695044A (en) 2009-09-29 2009-09-29 Stream media service node and load balancing method thereof

Country Status (1)

Country Link
CN (1) CN101695044A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107951A (en) * 2013-02-05 2013-05-15 广东全通教育股份有限公司 Streaming media load balance method and system based on customer behavior
CN103139607A (en) * 2011-11-30 2013-06-05 中国航天科工集团第二研究院七〇六所 Real-time network monitoring system and method thereof
CN103501444A (en) * 2013-09-29 2014-01-08 深圳市龙视传媒有限公司 Video resource management method and video resource manager
WO2016045383A1 (en) * 2014-09-22 2016-03-31 中兴通讯股份有限公司 Load balancing method for service processing module, and media server
CN106453125A (en) * 2016-11-04 2017-02-22 中国电子科技集团公司第二十八研究所 Load balancing system for remote service calling based on real-time load rate

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139607A (en) * 2011-11-30 2013-06-05 中国航天科工集团第二研究院七〇六所 Real-time network monitoring system and method thereof
CN103139607B (en) * 2011-11-30 2016-02-24 中国航天科工集团第二研究院七〇六所 A kind of real-time network monitoring system and method thereof
CN103107951A (en) * 2013-02-05 2013-05-15 广东全通教育股份有限公司 Streaming media load balance method and system based on customer behavior
CN103107951B (en) * 2013-02-05 2016-08-24 广东全通教育股份有限公司 A kind of Streaming Media load-balancing method based on customer action and system
CN103501444A (en) * 2013-09-29 2014-01-08 深圳市龙视传媒有限公司 Video resource management method and video resource manager
CN103501444B (en) * 2013-09-29 2017-01-04 深圳市同洲电子股份有限公司 A kind of video resource management method and video resource manager
WO2016045383A1 (en) * 2014-09-22 2016-03-31 中兴通讯股份有限公司 Load balancing method for service processing module, and media server
CN106453125A (en) * 2016-11-04 2017-02-22 中国电子科技集团公司第二十八研究所 Load balancing system for remote service calling based on real-time load rate
CN106453125B (en) * 2016-11-04 2019-09-10 中国电子科技集团公司第二十八研究所 A kind of remote service calling SiteServer LBS based on real time load rate

Similar Documents

Publication Publication Date Title
US11012728B2 (en) Predictive allocation of multimedia server resources
US11109077B2 (en) Controlling delivery of requested content based on delivery bandwidth limitations
US11785311B2 (en) Optimized delivery techniques
CN101682355B (en) Method and apparatus providing scalability for channel change requests in a switched digital video system
US9807460B2 (en) Optimal provisioning and management of bandwidth in a video-on-demand services architecture
KR101088575B1 (en) Method and apparatus for controlling information available from content distribution points
US8806045B2 (en) Predictive popular content replication
EP3466085B1 (en) Methods and systems for generation of dynamic multicast channel maps
CN103201984B (en) For the system and method for the dynamic-configuration of the overlay network based on ISN memory
CN110460879B (en) Video request scheduling method, device, server and storage medium
CN101695044A (en) Stream media service node and load balancing method thereof
CN104427354A (en) Broadcast media sharing method and node subsystem, and streaming media server
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
CN102497300B (en) A kind of method and apparatus controlling user's access
CN107872424B (en) Method and device for watching and live broadcasting streaming media information
CN100576905C (en) A kind of VOD frequency treating method and device thereof
CN101621545B (en) Device and method for pulling down media resource towards terminal device
CN115514981A (en) Video stream scheduling system and related product
JP2019506098A (en) Content related information providing method and apparatus for multimedia service
CN100508490C (en) System comprising execution nodes for executing schedules
CN100459520C (en) System and method for sharing internal storage cache between multiple stream servers
CN112752070A (en) Data transmission method, device, terminal equipment and storage medium
CN104053058A (en) Channel switching time-delay method and access control equipment
CN116193165A (en) Efficient video protocol conversion distributed cluster scheduling method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20100414