CN102185880A - Video live-broadcast load equalizing method and video live-broadcast load equalizing system - Google Patents

Video live-broadcast load equalizing method and video live-broadcast load equalizing system Download PDF

Info

Publication number
CN102185880A
CN102185880A CN2011100546892A CN201110054689A CN102185880A CN 102185880 A CN102185880 A CN 102185880A CN 2011100546892 A CN2011100546892 A CN 2011100546892A CN 201110054689 A CN201110054689 A CN 201110054689A CN 102185880 A CN102185880 A CN 102185880A
Authority
CN
China
Prior art keywords
server
video fragment
marginal
terminal
fragment file
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.)
Granted
Application number
CN2011100546892A
Other languages
Chinese (zh)
Other versions
CN102185880B (en
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201110054689.2A priority Critical patent/CN102185880B/en
Publication of CN102185880A publication Critical patent/CN102185880A/en
Application granted granted Critical
Publication of CN102185880B publication Critical patent/CN102185880B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video live-broadcast load equalizing method and a video live-broadcast load equalizing system. A terminal sends a request of playing a video fragment file to a root server; the root server receives the request of playing the video fragment file sent by the terminal, finds a boundary server address nearest to the terminal, and redirects a connecting address of the terminal as the boundary server address; and the terminal requests the video fragment file to a boundary server. If the video fragment file exists in the boundary server, the boundary server returns the video fragment file to the terminal; and if the video fragment file does not exist in the boundary server, a live-broadcast source server registered to the boundary server requests the video fragment file, and the living-broadcast source server returns the video fragment file to the terminal. By adopting the technical scheme, loads are equalized in the live-broadcast service of the video fragment file when a large user visits, and the investment cost of the system is reduced.

Description

A kind of net cast load-balancing method and system
Technical field
The present invention relates to the net cast technical field, relate in particular to a kind of net cast load-balancing method and system.
Background technology
In based on the live process of fragment file video frequency program, in the face of a large number of users visit time, the load capacity that needs extending video living broadcast of programs server, also need directly visit direct broadcast server near user's areal setting for the speed of accelerating end-user access simultaneously, this solves the problem of the load balancing of direct broadcast service with regard to needs.While, shuts down because of reasons such as plant maintenance need make part server when service is provided for the user at live broadcast system, promptly needs system to use the service load technology of Adjustable real-time joint to support the carrying out of continual net cast business.Live load-balancing technique is to solve the live middle large user's visit of video frequency program, and network distribution type is disposed the framework demand, with the main method that satisfies the dynamic Service configuration requirement.
Use the hardware layer mode to finish live load balancing scheme, for example use hardware device mode as F5 BIG-IP load-equalizing switch F5 one class, its technical scheme is that many direct broadcast servers are installed in a network, at its front end a mutual machine of F5 load balancing is set then, network by the IP layer connects, in the face of the user provides a virtual server, when its service of user capture, user capture is led respectively thereafter on the different server, and F5 can confirm that can application program return corresponding data to request.If faults such as a certain station server generation service stopping of F5 BIG-IP back, deadlock, F5 can check out and with this server identification for shutting down, thereby user's access request is not sent on this server that breaks down.Like this, as long as other server is normal, user's visit just can not be affected.Shut down server in case repair, F5 BIG-IP will investigate application automatically and can make correct response and recover to this server transmissioning data client requests.
But, hardware load server valency involves great expense, and it is complicated that configuration is installed by system, and it and direct broadcast server need can effectively provide load balancing service in the same network segment, can't the inter-network section, can't carry out distributed deployment on the network partial node provides load balancing service.
Can also use the DNS round-robin technique, the DNS round-robin technique is that identical domain name is explained on the different IP, DNS uses wherein when resolving the user capture domain name at random, and the IP of certain main frame gives the user, this technology can intelligence the visit capacity of adjustment server to different server, alleviate the pressure of server.In the time of in the middle of live visit capacity is in continuous growth always, under the situation that reaches server resource operation bottleneck, adopted the DNS round-robin technique, only needing to increase number of servers just can smooth upgrade.
But DNS repeating query mode since the IP analytic expression at random, its load balancing effect is not fine.When the main shut-down system that direct broadcast service is provided maybe needs to safeguard; deletion the tabulation can not be resolved from DNS in its IP address at once; be resolved to when causing user capture on the main frame that service can not be provided; DNS upgrades in addition needs the long period to come into force, and particularly all needs the long period could arrive the user side to international domain name change dns resolution.
Summary of the invention
The objective of the invention is to propose a kind of net cast load-balancing method and system, realized in video fragment file live broadcast service, the load balance process the when large user is measured visit has reduced system's input cost.
For reaching this purpose, the present invention by the following technical solutions:
A kind of net cast load-balancing method may further comprise the steps:
A, terminal are sent the request of displaying video fragment file to root server;
The marginal server address nearest with described terminal searched in the request of the displaying video fragment file that B, root server receiving terminal send, and the link address that is redirected terminal is described marginal server address;
C, terminal are to described marginal server requests video fragment file;
If the described marginal server of D has described video fragment file, then described marginal server returns to terminal with described video fragment file;
If the described marginal server of E does not have described video fragment file, then to the described video fragment of the live source server requests file of described marginal server registers, described live source server returns to terminal with described video fragment file.
Step e is further comprising the steps of:
If described marginal server does not have described video fragment file, then to the described video fragment of the node server request file of described marginal server registers;
If node server has described video fragment file, described node server returns to terminal with described video fragment file;
If described node server does not have described video fragment file, then to the described video fragment of the live source server requests file of described node server registration, described live source server returns to terminal with described video fragment file.
A marginal server registers has and is no less than two live source servers, and a live source server correspondence is no less than two marginal servers.
A marginal server registers has and is no less than two node servers, and a node server correspondence is no less than two marginal servers; A node server is registered to have and is no less than two live source servers, and a live source server correspondence is no less than two node servers.
A kind of net cast SiteServer LBS, comprise root server, live source server, marginal server and terminal, root server be no less than two live source servers and be connected, live source server be no less than two marginal servers and be connected, marginal server be no less than two live source servers and be connected, the limit server is connected with terminal, wherein
Root server is used for the request of the displaying video fragment file that receiving terminal sends, and searches the marginal server address nearest with described terminal, and the link address that is redirected terminal is described marginal server address;
The live source server is used to receive the request that obtains described video fragment file, and described video fragment file is returned to terminal;
The limit server is used for the request of the described video fragment of the acquisition file that receiving terminal sends, and described video fragment file is returned to terminal, and is used for sending the request that obtains described video fragment file to the live source server;
Terminal is used for sending to root server and marginal server the request of displaying video fragment file, and receives described video file and play.
Also comprise node server, described node server is between live source server and marginal server, node server be no less than two marginal servers and be connected, marginal server be no less than two node servers and be connected, node server be no less than two live source servers and be connected, live source server be no less than two node servers and be connected, described node server is used to receive the request that obtains described video fragment file, described video fragment file is returned to terminal, and be used for sending the request that obtains described video fragment file to the live source server, described marginal server also is used for sending the request that obtains described video fragment file to node server.
Adopted technical scheme of the present invention; solved in fragmentation net cast business; load balance process when the large user is measured the visit direct broadcast service; strange land partial node internet video live broadcasting; satisfy server zone individual servers in live process and shut down the needs of problems of not interrupting direct broadcast service; greatly reduce system's input cost when direct broadcast service is implemented load-balancing function, the validity of system load balancing is provided simultaneously and the dynamically demand of adjustment is implemented in service.
Description of drawings
Fig. 1 is the structural representation of net cast SiteServer LBS in the specific embodiment of the invention.
Fig. 2 is the flow chart of net cast load balancing in the specific embodiment of the invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
Fig. 1 is the structural representation of net cast SiteServer LBS in the specific embodiment of the invention.As shown in Figure 1, this net cast SiteServer LBS comprises root server 100, live source server 101, node server 103, marginal server 105 and terminal, root server be no less than two live source servers and be connected, node server be no less than two live source servers and be connected, live source server be no less than two node servers and be connected, node server be no less than two marginal servers and be connected, marginal server be no less than two node servers and be connected, marginal server is connected with terminal.
Wherein, the marginal server address nearest with terminal searched in the request of the displaying video fragment file that the root server receiving terminal sends, and the link address that is redirected terminal is marginal server address.
The live source server receives the request that obtains video fragment file, and video fragment file is returned to terminal.
Node server receives the request that obtains video fragment file, and video fragment file is returned to terminal, and is used for sending the request that obtains video fragment file to the live source server.
The request of the acquisition video fragment file that limit server receiving terminal is sent returns to terminal with video fragment file, and sends the request that obtains video fragment file to the live source server, also sends the request that obtains video fragment file to node server.
Terminal is used for the request to root server and marginal server transmission displaying video fragment file, and the receiver, video file is play.
Fig. 2 is the flow chart of net cast load balancing in the specific embodiment of the invention.As shown in Figure 2, this net cast load balancing flow process may further comprise the steps:
Step 201, terminal are sent the request of displaying video fragment file to root server.
The marginal server address nearest with this terminal searched in the request of the displaying video fragment file that step 202, root server receiving terminal send, and the link address that is redirected terminal is this limit server address.
Step 203, terminal are to this limit server requests video fragment file.
Step 204, judge whether this limit server has this video fragment file, if having, then goes to step 205, if do not have, then installs step 206.
If step 205 should have this video fragment file by the limit server, then should the limit server this video fragment file be returned to terminal, terminal is play.
If step 206 should the limit server this video fragment file not, then to the node server request video fragment file of this limit server registers.
Step 207, judge whether this node server has this video fragment file, if having, then goes to step 208, if do not have, then goes to step 209.
If this node server of step 208 has this video fragment file, this node server returns to terminal with this video fragment file, and terminal is play.
If this node server of step 209 is this video fragment file not, then to this video fragment file of live source server requests of this node server registration, this live source server returns to terminal with video fragment file, and terminal is play.
Wherein, a marginal server registers has and is no less than two node servers, and a node server correspondence is no less than two marginal servers; A node server is registered to have and is no less than two live source servers, and a live source server correspondence is no less than two node servers.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (6)

1. a net cast load-balancing method is characterized in that, may further comprise the steps:
A, terminal are sent the request of displaying video fragment file to root server;
The marginal server address nearest with described terminal searched in the request of the displaying video fragment file that B, root server receiving terminal send, and the link address that is redirected terminal is described marginal server address;
C, terminal are to described marginal server requests video fragment file;
If the described marginal server of D has described video fragment file, then described marginal server returns to terminal with described video fragment file;
If the described marginal server of E does not have described video fragment file, then to the described video fragment of the live source server requests file of described marginal server registers, described live source server returns to terminal with described video fragment file.
2. a kind of net cast load-balancing method according to claim 1 is characterized in that step e is further comprising the steps of:
If described marginal server does not have described video fragment file, then to the described video fragment of the node server request file of described marginal server registers;
If node server has described video fragment file, described node server returns to terminal with described video fragment file;
If described node server does not have described video fragment file, then to the described video fragment of the live source server requests file of described node server registration, described live source server returns to terminal with described video fragment file.
3. a kind of net cast load-balancing method according to claim 1 is characterized in that, a marginal server registers has and is no less than two live source servers, and a live source server correspondence is no less than two marginal servers.
4. a kind of net cast load-balancing method according to claim 2 is characterized in that, a marginal server registers has and is no less than two node servers, and a node server correspondence is no less than two marginal servers; A node server is registered to have and is no less than two live source servers, and a live source server correspondence is no less than two node servers.
5. net cast SiteServer LBS, it is characterized in that, comprise root server, live source server, marginal server and terminal, root server be no less than two live source servers and be connected, live source server be no less than two marginal servers and be connected, marginal server be no less than two live source servers and be connected, marginal server is connected with terminal, wherein
Root server is used for the request of the displaying video fragment file that receiving terminal sends, and searches the marginal server address nearest with described terminal, and the link address that is redirected terminal is described marginal server address;
The live source server is used to receive the request that obtains described video fragment file, and described video fragment file is returned to terminal;
The limit server is used for the request of the described video fragment of the acquisition file that receiving terminal sends, and described video fragment file is returned to terminal, and is used for sending the request that obtains described video fragment file to the live source server;
Terminal is used for sending to root server and marginal server the request of displaying video fragment file, and receives described video file and play.
6. a kind of net cast SiteServer LBS according to claim 5, it is characterized in that, also comprise node server, described node server is between live source server and marginal server, node server be no less than two marginal servers and be connected, marginal server be no less than two node servers and be connected, node server be no less than two live source servers and be connected, live source server be no less than two node servers and be connected
Described node server is used to receive the request that obtains described video fragment file, described video fragment file is returned to terminal, and be used for sending the request that obtains described video fragment file to the live source server, described marginal server also is used for sending the request that obtains described video fragment file to node server.
CN201110054689.2A 2011-03-08 2011-03-08 Video live-broadcast load equalizing method and video live-broadcast load equalizing system Expired - Fee Related CN102185880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110054689.2A CN102185880B (en) 2011-03-08 2011-03-08 Video live-broadcast load equalizing method and video live-broadcast load equalizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110054689.2A CN102185880B (en) 2011-03-08 2011-03-08 Video live-broadcast load equalizing method and video live-broadcast load equalizing system

Publications (2)

Publication Number Publication Date
CN102185880A true CN102185880A (en) 2011-09-14
CN102185880B CN102185880B (en) 2014-06-18

Family

ID=44571950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110054689.2A Expired - Fee Related CN102185880B (en) 2011-03-08 2011-03-08 Video live-broadcast load equalizing method and video live-broadcast load equalizing system

Country Status (1)

Country Link
CN (1) CN102185880B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468852A (en) * 2013-09-18 2015-03-25 腾讯科技(北京)有限公司 Method, device and system for client to select IP link address
CN104580219A (en) * 2015-01-09 2015-04-29 天脉聚源(北京)科技有限公司 Method and system for providing live broadcast streams
CN105431835A (en) * 2013-06-06 2016-03-23 爱立信电视公司 Defragmentation of adaptive streaming segment files in a content delivery network
CN105872587A (en) * 2015-11-25 2016-08-17 乐视云计算有限公司 Video request processing method and device
CN109496432A (en) * 2017-11-06 2019-03-19 深圳市大疆创新科技有限公司 Stream media live broadcasting method and system
CN110069342A (en) * 2019-04-11 2019-07-30 西安交通大学 Net cast channel dispositions method is merged under a kind of mobile cloud computing environment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938508A (en) * 2009-07-01 2011-01-05 中国电信股份有限公司 Method and system for shortening time delay in peer-to-peer network streaming media live broadcast system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938508A (en) * 2009-07-01 2011-01-05 中国电信股份有限公司 Method and system for shortening time delay in peer-to-peer network streaming media live broadcast system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105431835A (en) * 2013-06-06 2016-03-23 爱立信电视公司 Defragmentation of adaptive streaming segment files in a content delivery network
CN104468852A (en) * 2013-09-18 2015-03-25 腾讯科技(北京)有限公司 Method, device and system for client to select IP link address
CN104580219A (en) * 2015-01-09 2015-04-29 天脉聚源(北京)科技有限公司 Method and system for providing live broadcast streams
CN104580219B (en) * 2015-01-09 2018-02-09 天脉聚源(北京)科技有限公司 A kind of method and system that live TV stream is provided
CN105872587A (en) * 2015-11-25 2016-08-17 乐视云计算有限公司 Video request processing method and device
CN109496432A (en) * 2017-11-06 2019-03-19 深圳市大疆创新科技有限公司 Stream media live broadcasting method and system
US11284126B2 (en) 2017-11-06 2022-03-22 SZ DJI Technology Co., Ltd. Method and system for streaming media live broadcast
CN110069342A (en) * 2019-04-11 2019-07-30 西安交通大学 Net cast channel dispositions method is merged under a kind of mobile cloud computing environment
CN110069342B (en) * 2019-04-11 2021-01-15 西安交通大学 Method for deploying fusion video live broadcast channel in mobile cloud computing environment

Also Published As

Publication number Publication date
CN102185880B (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN102185880B (en) Video live-broadcast load equalizing method and video live-broadcast load equalizing system
US8510807B1 (en) Real-time granular statistical reporting for distributed platforms
CN103856569B (en) A kind of method and apparatus of synchronous domain name system asset information
PH12019501538A1 (en) Service processing and consensus method and device
CN101534204B (en) Streaming media information distribution system and method thereof and user end
KR20190038760A (en) Load balancing optimization method and device based on cloud monitoring
CN104834722A (en) CDN (Content Delivery Network)-based content management system
CN111176723B (en) Service grid and link version based service multi-version release system and method
CN101848137B (en) Load balancing method and system applied to three-layer network
CN102629938B (en) Method for carrying out video acceleration on network video loading and system thereof
CN102202229B (en) Method and device for real-time video gateway
CN102968442A (en) Network map tile service aggregation method and system
CN102594876B (en) The mixing accelerating system of game real time data and more new data
US20190036870A1 (en) Domain name resolution system, domain name resolution server, and domain name resolution method
EP2254310A3 (en) Web service system and method
CN105978950A (en) Server resource distribution method, apparatus and system thereof
GB2494764B (en) Optimizating clustered network attached storage (NAS) usage
WO2008074481A3 (en) Data network service based on profiling client-addresses
CN102082800A (en) User request processing method and server
WO2011002169A3 (en) High availability database management system and database management method using same
US20160381127A1 (en) Systems and methods for dynamic networked peer-to-peer content distribution
CN107896257A (en) Method, apparatus, equipment and the medium of deploying client subsystem function
CN107835262A (en) A kind of streaming media server dynamical load distribution method
CN102984547A (en) Self-adaption cloud playback system
CN104580391A (en) Server bandwidth improving method suitable for cloud computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Video live-broadcast load equalizing method and video live-broadcast load equalizing system

Effective date of registration: 20160520

Granted publication date: 20140618

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2016990000415

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20180509

Granted publication date: 20140618

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2016990000415

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Video live-broadcast load equalizing method and video live-broadcast load equalizing system

Effective date of registration: 20180509

Granted publication date: 20140618

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: Yimin source (Beijing) Technology Co., Ltd.|TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2018990000351

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140618

Termination date: 20210308

CF01 Termination of patent right due to non-payment of annual fee