CN103139612B - A kind of dynamic network distribution tree management method of live video distribution - Google Patents

A kind of dynamic network distribution tree management method of live video distribution Download PDF

Info

Publication number
CN103139612B
CN103139612B CN201110392490.0A CN201110392490A CN103139612B CN 103139612 B CN103139612 B CN 103139612B CN 201110392490 A CN201110392490 A CN 201110392490A CN 103139612 B CN103139612 B CN 103139612B
Authority
CN
China
Prior art keywords
broadcast service
live broadcast
video
net cast
node server
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.)
Active
Application number
CN201110392490.0A
Other languages
Chinese (zh)
Other versions
CN103139612A (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.)
SUZHOU DALIAN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SUZHOU DALIAN INFORMATION 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 SUZHOU DALIAN INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU DALIAN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110392490.0A priority Critical patent/CN103139612B/en
Publication of CN103139612A publication Critical patent/CN103139612A/en
Application granted granted Critical
Publication of CN103139612B publication Critical patent/CN103139612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to Information & Communication Technology field, and in particular to a kind of dynamic network distribution tree management method of live video distribution.For each video live broadcast service, an independent net cast distribution tree in live video distribution, can be all created.The net cast distribution tree of video live broadcast service is not the static configuration when video live broadcast service is registered, but when video live broadcast service is played, the dynamic creation by the subscription client triggering net cast distribution tree dynamic creation process of application video live broadcast service access service.When last receive user of video live broadcast service stops receiving the business, triggering net cast distribution tree dynamic demolishing process, dynamic remove the net cast distribution tree of the video live broadcast service.

Description

A kind of dynamic network distribution tree management method of live video distribution
Technical field
The present invention relates to communication network, more particularly to a kind of dynamic network distribution tree manager of live video distribution Method.
Background technology
With the extensive application of video technique, the demand that the net cast based on Internet is serviced increasingly increases, and base Become net cast in the extensive video flow distribution of Internet and service a faced severe challenge.Although CDN skills Art is widely used in distributing web traffic and video request program flow, realizes the access nearby of Web content, alleviates streaming media High-throughput pressure that backbone bandwidth is brought, improve service response speed, but CDN technologies can't be solved well at present The traffic distribution problem of certainly extensive video live broadcast service.
As shown in figure 1, for extensive net cast service, can be by deployment by live source tiny node server set What the video distribution network node server clusters such as group, relay node services device cluster and edge node server cluster were constituted Live video distribution is reduced shared by net cast service transmission improving the efficiency of service of extensive video live broadcast service The network bandwidth.
Height collection for the live video distribution shown in Fig. 1, to the server cluster of a large amount of dispersion deployment Middle management and control are to ensure that the necessary means of network efficiency, reliability, controllability.Video distribution network global server can be with Regard one group of logical device as, realize the work(such as the management of live video distribution, monitoring, dynamic configuration, control, scheduling Can, to live video distribution in all video distribution network node servers carry out centralized Control, management and dispatch.
In live video distribution, live media stream passes through live source tiny node server, relay node services device Inflow edge node server, when subscription client request accesses a video live broadcast service, points to a fringe node clothes Service access URL of business device is submitted to subscription client, and subscription client can utilize this URL be linked into regarding of being asked Frequency live broadcast service, obtains direct broadcast service.
When video live broadcast service is registered to Video Distribution Network, can allocate in advance and constitute the video live broadcast service All kinds of video distribution network node server set of live media stream distribution tree, including:Live source tiny node server, relaying Node server, edge node server etc..This static configuration mode realizes that simply video live broadcast service distribution route is steady It is fixed.But this static configuration mode needs to configure each associated video distribution network node server in advance, in net Need to reconfigure when network topology changes, network operation workload is big.
The content of the invention
In order to solve the technological gap of current live video distribution, the maintenance management of live video distribution is improved Efficiency, the invention provides a kind of dynamic network distribution tree management method of live video distribution.
According to the first aspect of the invention, there is provided a kind of dynamic network distribution tree manager of live video distribution Method, it is characterised in that:
(1) for each video live broadcast service, an independent net cast in live video distribution, can all be created Distribution tree is being responsible for the live media stream distribution of the video live broadcast service;
(2) the net cast distribution tree of video live broadcast service is not the static configuration when video live broadcast service is registered, and It is the dynamic creation by the subscription client triggering of application video live broadcast service access service when video live broadcast service is played 's;
(3) when last receive user of video live broadcast service stops receiving the business, trigger the video straight Broadcast the dynamic demolishing process of the net cast distribution tree of business.
According to the second aspect of the invention, there is provided a kind of net cast distributing list, it is taken by Video Distribution Network node Business device is used for the distributing routing information for recording video live broadcast service, and every net cast distributed recorder therein includes a video The distributing routing information of live broadcast service.Net cast distributing list by business token, business source address, business receiving terminal number, Business receiving terminal address list is constituted.Wherein:Business token is used to identify a video live broadcast service;Business source address table shows This video distribution network node server is in the video live broadcast service distribution tree of the video live broadcast service identified by business token Superior node server address;Business receiving terminal number represents that this video distribution network node server is marked in business token Downstream site number in the video live broadcast service distribution tree of the video live broadcast service of knowledge;Business receiving terminal address list includes this Video distribution network node server is in the video live broadcast service distribution tree of the video live broadcast service identified by business token All downstream site addresses.
According to the third aspect of the invention we, there is provided net cast distribution tree dynamic creation process.Wherein, including following step Suddenly:
A) subscription client request accesses a video live broadcast service;
B) video distribution network global server is that subscription client distributes an edge node server, used as user visitor The Service Access point of the asked video live broadcast service in family end;
C) subscription client sends live broadcast service access request message to the edge node server that step b) distributes;
D) edge node server checks net cast distributing list thereon, and subscription client request is not found in table The net cast distributed recorder of video live broadcast service;
E) edge node server sends live broadcast service routing inquiry request message to video distribution network global server, Inquire about the relay node services device address information of the video live broadcast service;
F) video distribution network global server sends live broadcast service routing query response message to edge node server, The relay node services device address information of the video live broadcast service is carried wherein;
G) edge node server sends the via node clothes that live broadcast service access request message is got in step f) Business device;
H) edge node server is that the video live broadcast service creates a net cast in net cast distributing list Distributed recorder;
I) relay node services device checks net cast distributing list thereon, does not find that edge node server please in table The net cast distributed recorder of the video live broadcast service asked;
J) relay node services device sends live broadcast service routing inquiry request message to video distribution network global server, Inquire about the live source tiny node server address information of the video live broadcast service;
K) video distribution network global server sends live broadcast service routing query response message to relay node services device, The live source tiny node server address information of the video live broadcast service is carried wherein;
L) relay node services device sends the live source station section that live broadcast service access request message is got in step k) Point server;
M) relay node services device is that the video live broadcast service creates a net cast in net cast distributing list Distributed recorder;
N) live source tiny node server checks net cast distributing list thereon, and relay node services are not found in table The net cast distributed recorder of the video live broadcast service of device request;
O) live source tiny node server sends live broadcast service routing inquiry request message and takes to Video Distribution Network is global Business device, inquires about the live source address information of the video live broadcast service;
P) video distribution network global server sends live broadcast service routing query response message and takes to live source tiny node Business device, wherein carrying the live source address information of the video live broadcast service;
Q) live source tiny node server sends the live source that live broadcast service access request message is got in step p);
R) live source tiny node server is that the video live broadcast service creates a video in net cast distributing list Live distributed recorder.
After it experienced above-mentioned net cast distribution tree establishment process, the live media stream of the video live broadcast service can be with The net cast distribution tree for being created is distributed to the subscription client that request receives the business in real time.
According to the fourth aspect of the invention, when video distribution network node server receives a video live broadcast service After live broadcast service access request message, the net cast distribution of video live broadcast service described in net cast distributing list is first checked for Record whether there is.If it is present video distribution network node server will be sent under live broadcast service access request message Level node server or subscription client are added in the business receiving terminal address list in the net cast distributed recorder, And business receiving terminal number is increased into one.
According to the fifth aspect of the invention, there is provided net cast distribution tree dynamic demolishing process.Wherein, including following step Suddenly:
A) subscription client sends video live broadcast service and exits request message to edge node server;
B) edge node server checks the business receiving terminal number of video live broadcast service described in net cast distributing list, It was found that business receiving terminal number is 1, edge node server obtains the video live broadcast service from net cast distributing list Business source address;
C) edge node server sends live broadcast service to the business source address that step b) is obtained and exits request message;
D) edge node server removes the net cast distribution of the video live broadcast service from net cast distributing list Record;
E) relay node services device checks the business receiving terminal number of video live broadcast service described in net cast distributing list, It was found that business receiving terminal number is 1, then relay node services device obtains the video live broadcast service from net cast distributing list Business source address;
F) the business source address that relay node services device is obtained in step e) sends live broadcast service and exits request message;
G) relay node services device removes the net cast distribution of the video live broadcast service from net cast distributing list Record;
H) live source tiny node server checks the business receiving terminal of video live broadcast service described in net cast distributing list Number, it is found that business receiving terminal number is 1, then live source tiny node server obtains the video from net cast distributing list The business source address of live broadcast service;
I) the business source address that live source tiny node server is obtained in step h) sends live broadcast service and exits request Message;
J) live source tiny node server removes the net cast of the video live broadcast service from net cast distributing list Distributed recorder.
According to the sixth aspect of the invention, when video distribution network node server receives a video live broadcast service After live broadcast service exits request message, the business receiving terminal of the video live broadcast service is checked first in net cast distributing list Number, if business receiving terminal number be more than 1, the video distribution network node server will send live broadcast service exit please Seek the downstream site server or subscription client of the message directly video live broadcast service described in net cast distributing list Remove in business receiving terminal address list, and business receiving terminal number is subtracted 1.
According to the seventh aspect of the invention, there is provided subscription client adds the mistake of the net cast distribution tree set up Journey.Wherein, comprise the following steps:
A) subscription client request accesses a video live broadcast service;
B) video distribution network global server is that subscription client distributes an edge node server, used as user visitor The Service Access point of the asked video live broadcast service in family end;
C) edge node server of subscription client distribution in step b) sends live broadcast service access request message;
D) edge node server checks net cast distributing list thereon, finds the net cast of subscription client request The net cast distributed recorder of business is present in net cast distributing list;
E) subscription client is added edge node server the business receiving terminal address list of the video live broadcast service In, and the business receiving terminal number of the video live broadcast service is added 1:
F) edge node server starts the live media stream for forwarding the video live broadcast service to the subscription client.
According to the eighth aspect of the invention, there is provided subscription client exits the process of net cast distribution tree.Wherein, wrap Include following steps:
A) subscription client sends live broadcast service and exits request message to edge node server, and a video is exited in request Live broadcast service;
B) edge node server checks the business receiving terminal number of video live broadcast service described in net cast distributing list, It was found that business receiving terminal number is more than 1;
C) the business receiving terminal list of the video live broadcast service of the edge node server from net cast distributing list In remove subscription client, and the business receiving terminal number of the video live broadcast service is subtracted 1;
D) edge node server stops to subscription client the live media stream for forwarding the video live broadcast service.
Using the solution of the present invention, the net cast distribution tree of each video live broadcast service in live video distribution Can be with dynamic creation, it is not necessary to advance static configuration, such that it is able to improve the maintenance management efficiency of live video distribution.
Description of the drawings
The following detailed description to non-limiting example is read by referring to accompanying drawing, other of the present invention are special Levy, objects and advantages will become more apparent upon.The schematic description and description of the present invention is used to explain the present invention, not structure Into inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 shows live video distribution system structure diagram;
Fig. 2 shows the flow process of the net cast distribution tree dynamic creation process of a specific embodiment of the invention Figure;
Fig. 3 shows the flow process of the net cast distribution tree dynamic demolishing process of a specific embodiment of the invention Figure;
Fig. 4 shows that the subscription client of a specific embodiment of the invention adds the net cast point set up The flow chart for sending out tree process;
Fig. 5 shows that the subscription client of a specific embodiment of the invention exits net cast distribution tree process Flow chart.
Wherein, same or analogous reference represents same or analogous steps characteristic or device/module.
Specific embodiment
Below in conjunction with the accompanying drawings, the preferred embodiment of the present invention is described in detail.
As shown in figure 1, in live video distribution, as video distribution network global server, global server 1 It is responsible for carrying out all video distribution network node servers in network centralized Control, management, monitoring and dispatches.For network Each video live broadcast service of middle distribution, global server 1 all can be born for its one independent net cast distribution tree of establishment The live media stream for blaming the video live broadcast service is distributed in real time.In existing scheme, the net cast point of video live broadcast service Send out tree to be pre-configured with when video live broadcast service registers to Video Distribution Network, it is straight including the responsible video The set of all video distribution network node servers of the live media stream distribution of business is broadcast, such as:Live source tiny node is serviced Device, relay node services device, edge node server etc..
In order to realize the dynamic management of net cast distribution tree, network operation workload is reduced, in the present invention, video is straight The net cast distribution tree for broadcasting business is not pre-configured with when video live broadcast service is registered, but is broadcast in video live broadcast service When putting, the dynamic creation by the subscription client triggering of application video live broadcast service access service.When video live broadcast service When last receive user stops receiving the business, the dynamic dismounting of the net cast distribution tree of video live broadcast service is triggered Process, removes the net cast distribution tree of the video live broadcast service.
It is by taking the live video distribution shown in Fig. 1 as an example, when the request of terminal 1 receives video live broadcast service x, global Service Access points of the 1 allocations of edge node server J31 of server as video live broadcast service x of terminal 1.If now video The live media stream of live broadcast service x is distributed not yet in live video distribution, then triggering starts regarding for video live broadcast service x Frequently live distribution tree creates process so that the live media stream of video live broadcast service x can pass through created net cast point Tree inflow edge node server J31 is sent out, and terminal 1 is forwarded to by edge node server J31.When the request of terminal 1 terminates When receiving video live broadcast service x, if terminal 1 is last reception of video live broadcast service x in live video distribution Person, then trigger the net cast distribution tree demolishing process that edge node server J31 starts video live broadcast service x, so as to stop Distribution of the live media stream of video live broadcast service x to edge node server J31.
Hereinafter, a second aspect of the present invention is described, wherein, Fig. 1 and its associated description are incorporated herein by reference.
By taking the live video distribution shown in Fig. 1 as an example, in each video distribution network node server, such as: J11, J12, J21, J22, J31 etc., all comprising a net cast distributing list, wherein recording the Video Distribution Network node clothes Business device is responsible for the distributing routing information of all video live broadcast services distributed.By taking video live broadcast service x as an example, if net cast The net cast distribution tree of business x is by live source tiny node server J11, relay node services device J21, edge node server J31, J33 are constituted, then regarding comprising video live broadcast service x in the net cast distributing list on relay node services device J21 Frequently live distributed recorder, the record is by business token, business source address, business receiving terminal number, business receiving terminal address column The domains such as table are constituted.Wherein:The mark of video live broadcast service x is preserved in business token domain;Business source address is taken for via node The superior node server of business device J21, i.e.,:The address of live source tiny node server J11;Business receiving terminal number is 2;Business Downstream site list of server addresses comprising relay node services device J21 in receiving terminal address list, i.e.,:Taken by fringe node The list of business device J31, J33 addresses composition.Under normal circumstances, for edge node server, net cast distributing list thereon In business receiving terminal be subscription client, business source address for higher level's relay node services device address.For live source For tiny node server, the business receiving terminal in net cast distributing list thereon is subordinate relay node server, and industry Business source address is the live source address of the video live broadcast service.
Hereinafter, a third aspect of the present invention is described with reference to Fig. 2, wherein, Fig. 1 and its associated description are made in this together It is reference.
With the global server 1 shown in Fig. 1, live source tiny node server J11, relay node services device J21, edge As a example by node server J31, terminal 1, net cast distribution tree dynamic creation process comprises the steps:
Step S10, the request of terminal 1 access video live broadcast service x, and the request message is submitted to global server 1.
Step S11, global server 1 according to the type of terminal 1, residing geographical position, request video live broadcast service In live video distribution, an edge node server is selected to provide service for which etc. information, such as:Allocations of edge node Service Access points of the server J31 as video live broadcast service x of terminal 1, and the URL letters of edge node server J31 are provided Cease to terminal 1.
Step S12, terminal 1 send live broadcast service access request message to edge node server J31, and request accesses video Live broadcast service x.
Step S13, edge node server J31 check net cast distributing list thereon, in table do not find that video is straight The net cast distributed recorder of business x is broadcast, illustrates that edge node server J31 is not yet added to the video of video live broadcast service x In live distribution tree.
Step S 14, edge node server J31 send live broadcast service routing inquiry request message to global server 1, The relay node services device address information of distribution video live broadcast service x is responsible in inquiry.
Step S15, global server 1 is according to video live broadcast service x information, edge node server J31 information, and regards The information such as load of each relay node services device in frequency distribution network, selects a via node in live video distribution Server to provide the forwarding service of video live broadcast service x for edge node server J31.Global server 1 sends live industry Business routing query response message is to edge node server J31, wherein carry providing net cast for edge node server J31 The relay node services device information of business x forwarding service, i.e.,:The address information of relay node services device J21.
Step S16, edge node server J31 send live broadcast service access request message to relay node services device J21, Request adds the net cast distribution tree of video live broadcast service x.
Step S17, edge node server J31 in net cast distributing list create one for video live broadcast service x and regard Frequently live distributed recorder, preserves the mark of video live broadcast service x in the business token domain of the record;During business source address is After the address of node server J21;Business receiving terminal number is 1;IP comprising terminal 1 ground in business receiving terminal address list Location.
Step S18, relay node services device J21 receive from edge node server J31 live broadcast service access please After seeking message, net cast distributing list thereon is checked, the net cast distribution note of video live broadcast service x is not found in table Record, illustrates that relay node services device J21 is not yet added to the net cast distribution tree of video live broadcast service x.
Step S19, relay node services device J21 send live broadcast service routing inquiry request message to global server 1, look into Ask the live source tiny node server address information of video live broadcast service x.
Step S20, global server 1 is according to video live broadcast service x information, relay node services device J21 information, and regards The information such as load of each live source tiny node server in frequency distribution network, in live video distribution, selection one is live Source station node server to provide the forwarding service of video live broadcast service x for relay node services device J21.Global server 1 Live broadcast service routing query response message is sent to relay node services device J21, wherein carry providing for relay node services device J21 The live source tiny node server info of video live broadcast service x forwarding, i.e.,:The address information of live source tiny node server J11.
Step S21, relay node services device J21 send live broadcast service access request message to live source tiny node server J11, request add the net cast distribution tree of video live broadcast service x.
Step S22, relay node services device J21 in net cast distributing list create one for video live broadcast service x and regard Frequently live distributed recorder, preserves the mark of video live broadcast service x in the business token domain of the record;Business source address is straight Broadcast the address of source station node server J11;Business receiving terminal number is 1;Fringe node is included in business receiving terminal address list The IP address of server J31.
Step S23, live source tiny node server J11 check net cast distributing list thereon, do not find to regard in table The net cast distributed recorder of frequency live broadcast service x, illustrates that live source tiny node server J11 not yet adds video live broadcast service x Net cast distribution tree.
Step S24, live source tiny node server J11 send live broadcast service routing inquiry request message to global server 1, inquire about the live source address information of video live broadcast service x.
Step S25, global server 1 send live broadcast service routing query response message to live source tiny node server J11, wherein carry the live source of video live broadcast service x, i.e.,:The address information of live source 1.
Step S26, live source tiny node server J11 send live broadcast service access request message to live source 1, and request adds Enter the net cast distribution tree of video live broadcast service x.
Step S27, live source tiny node server J11 create one for video live broadcast service x in net cast distributing list Bar net cast distributed recorder, preserves the mark of video live broadcast service x in the business token domain of the record;Business source address For the address of live source 1;Business receiving terminal number is 1;Include relay node services device J21's in business receiving terminal address list IP address.
After it experienced above-mentioned net cast distribution tree establishment process, the net cast distribution tree of video live broadcast service x into Work(set up, the live media stream of video live broadcast service x from live source 1, through live source tiny node server J11, via node The real-time inflow terminal of server J21, edge node server J31 1.
Hereinafter, a fourth aspect of the present invention is described, wherein, Fig. 1, Fig. 2 and its associated description are hereby incorporated by With reference to.
With the global server 1 shown in Fig. 1, live source tiny node server J11, relay node services device J21, edge As a example by node server J31, terminal 1, when edge node server J31 receives the straight of video live broadcast service x for carrying out self terminal 1 After broadcasting service access request, the net cast point of video live broadcast service x whether has been included in checking net cast distributing list thereon Send out record.If comprising, illustrate edge node server J31 on the net cast distribution tree of video live broadcast service x, Then terminal 1 is added to edge node server J31 the business receiving terminal ground of video live broadcast service x in net cast distributing list In the list of location, and the business receiving terminal number of video live broadcast service x is added 1.Hereafter, which is connect by edge node server J31 The live media stream of video live broadcast service x of receipts is forwarded to terminal 1 in real time.
When relaying node server J21 receives the live industry of video live broadcast service x from edge node server J31 After business access request, the net cast distribution note of video live broadcast service x whether has been included in checking net cast distributing list thereon Record.If comprising illustrating that relay node services device J21 on the net cast distribution tree of video live broadcast service x, is then relayed The business of video live broadcast service x that node server J21 is added to edge node server J31 in net cast distributing list connects In receiving end address list, and the business receiving terminal number of video live broadcast service x is added 1.Hereafter, relay node services device J21 will The live media stream of its video live broadcast service x for being received is forwarded to edge node server J31 in real time.
When live source tiny node server J11 receives the straight of video live broadcast service x from relay node services device J21 After broadcasting service access request, the net cast point of video live broadcast service x whether has been included in checking net cast distributing list thereon Send out record.If comprising illustrating live source tiny node server J11 in the net cast distribution tree of video live broadcast service x On, then relay node services device J21 is added to the net cast in net cast distributing list by live source tiny node server J11 In the business receiving terminal address list of business x, and the business receiving terminal number of video live broadcast service x is added 1.Hereafter, live source The live media stream of by tiny node server J11 video live broadcast service x received by which is forwarded to relay node services device in real time J21。
Hereinafter, a fifth aspect of the present invention is described with reference to Fig. 3, wherein, Fig. 1 and its associated description are made in this together It is reference.
With the global server 1 shown in Fig. 1, live source tiny node server J11, relay node services device J21, edge As a example by node server J31, terminal 1, if terminal 1 receives the live of video live broadcast service x from edge node server J31 Media Stream, and terminal 1 is a currently the only recipient of video live broadcast service x, then net cast distribution tree dynamic was removed Journey comprises the steps:
Step S30, terminal 1 send live broadcast service and exit request message to edge node server J31, and request stops receiving Video live broadcast service x.
Step S31, edge node server J31 check net cast distributing list thereon, find video live broadcast service x Business receiving terminal number is 1.Edge node server J31 obtains the business of video live broadcast service x from net cast distributing list Source address, i.e.,:Relay node services device J21 addresses.
Step S32, edge node server J31 send live broadcast service and exit request message to relay node services device J21, Request stops the live media stream for receiving video live broadcast service x.
Step S33, the video that edge node server J31 deletes video live broadcast service x from net cast distributing list are straight Broadcast distributed recorder.
Step S34, relay node services device J21 check net cast distributing list thereon, find video live broadcast service x Business receiving terminal number is 1, and relay node services device J21 obtains the business of video live broadcast service x from net cast distributing list Source address, i.e.,:Live source tiny node server J11 addresses.
Step S35, relay node services device J21 send live broadcast service and exit request message to live source tiny node server J11, request stop the live media stream for receiving video live broadcast service x.
Step S36, the video that relay node services device J21 deletes video live broadcast service x from net cast distributing list are straight Broadcast distributed recorder.
Step S37, live source tiny node server J11 check net cast distributing list thereon, find net cast industry The business receiving terminal number of business x is 1.Live source tiny node server J11 obtains net cast industry from net cast distributing list The business source address of business x, i.e.,:1 address of live source.
Step S38, live source tiny node server J11 send live broadcast service and exit request message to live source 1, and request stops The live media stream of video live broadcast service x is received only.
Step S39, deletes video live broadcast service in live source tiny node server J11 net cast distributing lists from it The net cast distributed recorder of x.
After the completion of said process is performed, the live media stream for stopping video live broadcast service x is existed by live video distribution Real-time distribution in network.
Hereinafter, a sixth aspect of the present invention is described, wherein, Fig. 1, Fig. 3 and its associated description are hereby incorporated by With reference to.
With the global server 1 shown in Fig. 1, live source tiny node server J11, relay node services device J21, edge As a example by node server J31, terminal 1, carry out the live broadcast service of self terminal 1 and exit request when edge node server J31 is received Message, after request stops receiving video live broadcast service x, edge node server J31 is regarded in checking net cast distributing list thereon The business receiving terminal number of frequency live broadcast service x.If business receiving terminal number is more than 1, edge node server J31 is by terminal 1 directly removes from the business receiving terminal address list of video live broadcast service x in net cast distributing list, and by business receiving terminal Number subtracts 1.
When the live broadcast service that relaying node server J21 is received from edge node server J31 exits request message, After request stops receiving video live broadcast service x, the business receiving terminal of video live broadcast service x in net cast distributing list thereon is checked Number, if business receiving terminal number is more than 1, relay node services device J21 is by edge node server J31 directly from video Remove in the business receiving terminal address list of video live broadcast service x in live distributing list, and business receiving terminal number is subtracted 1.
When live source tiny node server J11 receives the straight of video live broadcast service x from relay node services device J21 After the business of broadcasting exits request message, the business receiving terminal number of video live broadcast service x in net cast distributing list thereon is checked, such as Fruit business receiving terminal number is more than 1, then live source tiny node server J11 will be relay node services device J21 directly straight from video Remove in the business receiving terminal address list for broadcasting video live broadcast service x in distributing list, and business receiving terminal number is subtracted 1.
Hereinafter, a seventh aspect of the present invention is described with reference to Fig. 4, wherein, Fig. 1 and its associated description are made in this together It is reference.
By taking the global server 1, edge node server J31 shown in Fig. 1, terminal 1 as an example, subscription client is added The process of the net cast distribution tree of foundation comprises the steps:
Step S40, the request of terminal 1 access video live broadcast service x, receive the live media stream of video live broadcast service x.It is described Request message is submitted to global server 1.
Step S41, global server 1 are responsible for forwarding video live broadcast service for 1 allocations of edge node server J31 of terminal The live media stream of x is to terminal 1.
Step S42, terminal 1 send live broadcast service access request message to edge node server J31, and request accesses video Live broadcast service x.
Step S43, edge node server J31 check net cast distributing list thereon, find video live broadcast service x Net cast distributed recorder is present in net cast distributing list.
The IP address of terminal 1 is added the business receiving terminal of video live broadcast service x for step S44, edge node server J31 In address list, and the business receiving terminal number of video live broadcast service x is added one.
Step S45, edge node server J31 start the live media stream for forwarding video live broadcast service x to terminal 1.
Through said process, terminal 1 can obtain the live of video live broadcast service x in real time from edge node server J31 Media Stream.
Hereinafter, a eighth aspect of the present invention is described with reference to Fig. 5, wherein, Fig. 1 and its associated description are made in this together It is reference.
By taking the global server 1, edge node server J31 shown in Fig. 1, terminal 1 as an example, it is assumed that terminal 1 passes through side Edge node server J31 receives the live media stream of video live broadcast service x, and subscription client exits the mistake of net cast distribution tree Journey comprises the steps:
Step S50, terminal 1 send live broadcast service and exit request message to edge node server J31, and request stops receiving Video live broadcast service x.
Step S51, edge node server J31 check the business of video live broadcast service x in net cast distributing list thereon Receiving terminal number, it is found that business receiving terminal number is more than 1, i.e.,:In addition to terminal 1, there is other users terminal to need from fringe node Server J31 receives the live media stream of video live broadcast service x.
Step S52, business receiving terminal of edge node server J31 from video live broadcast service x in net cast distributing list The address of terminal 1 is removed in list, and the business receiving terminal number of video live broadcast service x is subtracted 1.
Step S53, edge node server J31 stop to terminal 1 the live media stream for forwarding video live broadcast service x.
Through said process, edge node server J31 stops to terminal 1 live media for forwarding video live broadcast service x Stream, terminal 1 are no longer able to from edge node server J31 the live media stream for obtaining video live broadcast service x.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improve etc., should be included within the scope of the present invention.

Claims (8)

1. the dynamic network distribution tree management method of a kind of live video distribution, it is characterised in that:It is straight for each video Business is broadcast, can all create an independent net cast distribution tree to be responsible for the net cast industry in live video distribution The live media stream distribution of business;The net cast distribution tree of video live broadcast service is when video live broadcast service is played, by applying The subscription client triggering of video live broadcast service access service and dynamic creation;When last of video live broadcast service is received When user stops receiving the business, the dynamic demolishing process of the net cast distribution tree of the video live broadcast service is triggered;
Net cast distribution tree dynamic creation process comprises the steps:
A) subscription client request accesses a video live broadcast service;
B) video distribution network global server is that subscription client distributes an edge node server, used as subscription client The Service Access point of asked video live broadcast service;
C) subscription client sends live broadcast service access request message to the edge node server that step b) distributes;
D) edge node server checks net cast distributing list thereon, and the video of subscription client request is not found in table The net cast distributed recorder of live broadcast service;
E) edge node server sends live broadcast service routing inquiry request message to video distribution network global server, inquiry The relay node services device address information of the video live broadcast service;
F) video distribution network global server sends live broadcast service routing query response message to edge node server, wherein Carry the relay node services device address information of the video live broadcast service;
G) edge node server sends the relay node services device that live broadcast service access request message is got in step f);
H) edge node server is that the video live broadcast service creates a net cast distribution in net cast distributing list Record;
I) relay node services device checks net cast distributing list thereon, and edge node server request is not found in table The net cast distributed recorder of video live broadcast service;
J) relay node services device sends live broadcast service routing inquiry request message to video distribution network global server, inquiry The live source tiny node server address information of the video live broadcast service;
K) video distribution network global server sends live broadcast service routing query response message to relay node services device, wherein Carry the live source tiny node server address information of the video live broadcast service;
L) relay node services device sends the live source tiny node clothes that live broadcast service access request message is got in step k) Business device;
M) relay node services device is that the video live broadcast service creates a net cast distribution in net cast distributing list Record;
N) live source tiny node server checks net cast distributing list thereon, does not find that relay node services device please in table The net cast distributed recorder of the video live broadcast service asked;
O) live source tiny node server sends live broadcast service routing inquiry request message to video distribution network global server, Inquire about the live source address information of the video live broadcast service;
P) video distribution network global server sends live broadcast service routing query response message to live source tiny node server, The live source address information of the video live broadcast service is carried wherein;
Q) live source tiny node server sends the live source that live broadcast service access request message is got in step p);
R) live source tiny node server is that the video live broadcast service creates a net cast in net cast distributing list Distributed recorder.
2. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In, net cast distributing list is used for recording the distributing routing information of video live broadcast service by video distribution network node server, Distributing routing information of the every net cast distributed recorder therein comprising a video live broadcast service.
3. the dynamic network distribution tree management method of live video distribution according to claim 2, its feature also exist In:Net cast distributing list is:
A) net cast distributing list is by business token, business source address, business receiving terminal number, business receiving terminal address list Constitute;
B) business token is used to identify a video live broadcast service;
C) business source address table shows the video live broadcast service identified in business token by this video distribution network node server Video live broadcast service distribution tree in superior node server address;
D) business receiving terminal number represents the net cast industry identified in business token by this video distribution network node server Downstream site number in the video live broadcast service distribution tree of business;
E) business receiving terminal address list is straight in the video identified by business token comprising this video distribution network node server Broadcast all downstream site addresses in the video live broadcast service distribution tree of business.
4. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In after video distribution network node server receives the live broadcast service access request message of a video live broadcast service, first First check that the net cast distributed recorder of video live broadcast service described in net cast distributing list whether there is, if it is present Video distribution network node server will send downstream site server or the user client of live broadcast service access request message End is added in the business receiving terminal address list of the net cast distributed recorder, and business receiving terminal number is increased by one It is individual.
5. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In net cast distribution tree dynamic demolishing process comprises the steps:
A) subscription client sends video live broadcast service and exits request message to edge node server;
B) edge node server checks the business receiving terminal number of video live broadcast service described in net cast distributing list, finds Business receiving terminal number is 1, and edge node server obtains the business of the video live broadcast service from net cast distributing list Source address;
C) the business source address that edge node server is obtained in step b) sends live broadcast service and exits request message;
D) edge node server removes the net cast distributed recorder of the video live broadcast service from net cast distributing list;
E) relay node services device checks the business receiving terminal number of video live broadcast service described in net cast distributing list, finds Business receiving terminal number is 1, then relay node services device obtains the industry of the video live broadcast service from net cast distributing list Business source address;
F) the business source address that relay node services device is obtained in step e) sends live broadcast service and exits request message;
G) relay node services device removes the net cast distributed recorder of the video live broadcast service from net cast distributing list;
H) live source tiny node server checks the business receiving terminal number of video live broadcast service described in net cast distributing list, It was found that business receiving terminal number is 1, then live source tiny node server obtains the net cast from net cast distributing list The business source address of business;
I) the business source address that live source tiny node server is obtained in step h) sends live broadcast service and exits request message;
J) live source tiny node server removes the net cast distribution of the video live broadcast service from net cast distributing list Record.
6. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In after the live broadcast service that video distribution network node server receives a video live broadcast service exits request message, first The business receiving terminal number of the video live broadcast service is checked in net cast distributing list first, if business receiving terminal number is big In 1, then the video distribution network node server by send live broadcast service exit request message downstream site server or Person's subscription client is directly removed in the business receiving terminal address list of the video live broadcast service described in net cast distributing list, And business receiving terminal number is subtracted 1.
7. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In subscription client adds the process of the net cast distribution tree set up to comprise the steps:
A) subscription client request accesses a video live broadcast service;
B) video distribution network global server is that subscription client distributes an edge node server, used as subscription client The Service Access point of asked video live broadcast service;
C) edge node server of subscription client distribution in step b) sends live broadcast service access request message;
D) edge node server checks net cast distributing list thereon, finds the video live broadcast service of subscription client request Net cast distributed recorder in net cast distributing list exist;
E) during subscription client to be added edge node server the business receiving terminal address list of the video live broadcast service, and The business receiving terminal number of the video live broadcast service is added 1;
F) edge node server starts the live media stream for forwarding the video live broadcast service to the subscription client.
8. the dynamic network distribution tree management method of live video distribution according to claim 1, its feature also exist In subscription client exits the process of net cast distribution tree and comprises the steps:
A) subscription client sends live broadcast service and exits request message to edge node server, and a net cast is exited in request Business;
B) edge node server checks the business receiving terminal number of video live broadcast service described in net cast distributing list, finds Business receiving terminal number is more than 1;
C) move in the business receiving terminal list of the video live broadcast service of the edge node server from net cast distributing list Except subscription client, and the business receiving terminal number of the video live broadcast service is subtracted 1;
D) edge node server stops to subscription client the live media stream for forwarding the video live broadcast service.
CN201110392490.0A 2011-12-01 2011-12-01 A kind of dynamic network distribution tree management method of live video distribution Active CN103139612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110392490.0A CN103139612B (en) 2011-12-01 2011-12-01 A kind of dynamic network distribution tree management method of live video distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110392490.0A CN103139612B (en) 2011-12-01 2011-12-01 A kind of dynamic network distribution tree management method of live video distribution

Publications (2)

Publication Number Publication Date
CN103139612A CN103139612A (en) 2013-06-05
CN103139612B true CN103139612B (en) 2017-03-29

Family

ID=48498823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110392490.0A Active CN103139612B (en) 2011-12-01 2011-12-01 A kind of dynamic network distribution tree management method of live video distribution

Country Status (1)

Country Link
CN (1) CN103139612B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034106B (en) * 2015-03-10 2019-06-25 中国电信股份有限公司 Network-building method, networking management method and device and system
CN105100080B (en) * 2015-06-30 2018-11-23 广州华多网络科技有限公司 It is a kind of based on the board class interactive approach, relevant device and the system that are broadcast live online
CN105681387A (en) * 2015-11-26 2016-06-15 乐视云计算有限公司 Method, device and system for uploading live video
CN105656876A (en) * 2015-11-26 2016-06-08 乐视云计算有限公司 Live video play method, device and system
CN109309643B (en) * 2017-07-26 2021-03-30 中国电信股份有限公司 Live broadcast time shifting processing method and system and source station
CN109618241A (en) * 2018-12-21 2019-04-12 网宿科技股份有限公司 Audio/video flow distribution method and dynamic father node in audio/video flow dissemination system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247252A (en) * 2008-03-10 2008-08-20 华为技术有限公司 Method, device and system for multicast fast heavy-route
CN101488913A (en) * 2008-12-10 2009-07-22 南京邮电大学 Application layer multicasting tree constructing method based on two-layer recurrent neural network
CN101789900A (en) * 2009-11-19 2010-07-28 福建星网锐捷网络有限公司 Multicast forwarding route query method, intermediate node and management node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247252A (en) * 2008-03-10 2008-08-20 华为技术有限公司 Method, device and system for multicast fast heavy-route
CN101488913A (en) * 2008-12-10 2009-07-22 南京邮电大学 Application layer multicasting tree constructing method based on two-layer recurrent neural network
CN101789900A (en) * 2009-11-19 2010-07-28 福建星网锐捷网络有限公司 Multicast forwarding route query method, intermediate node and management node

Also Published As

Publication number Publication date
CN103139612A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN103139612B (en) A kind of dynamic network distribution tree management method of live video distribution
CN101282281B (en) Medium distributing system and apparatus as well as flow medium play method
US7882245B2 (en) Presence service access device, presence service system and method for publishing and acquiring presence information
CN101136861B (en) Method of providing an IPTV service and network unit
US8755297B2 (en) System and method for collecting, reporting, and analyzing data on application-level activity and other user information on a mobile data network
CN101616170B (en) Method for supplying media stream service and system thereof
CN102027713B (en) Providing trigger based traffic management
JP5590580B2 (en) Method and system for supporting communication peer selection in an overlay network
CN103139656B (en) A kind of cluster formula dynamic network distribution tree management method of live video distribution
KR101111155B1 (en) A communication network system and communication network service processing method
US20100069092A1 (en) Scalable Geo-location Event Processing
KR20120074300A (en) Hierarchical publish and subscribe system
GB2454868A (en) Wireless content distribution and advertising
CN108063735B (en) VNF cluster distribution method and device
CN102037684A (en) Group communication system using media server having distributed structure and method thereof
DE602004006308D1 (en) METHOD FOR CLAIMING CLIENT REQUIREMENTS FOR WEB SERVICES
CN108289097A (en) The computer implemented method and multi-tenant sip server system of tenant are managed in multi-tenant sip server system
CN103563314B (en) For system and method for passive communication services
CN105610930A (en) Data optimization method based on DNS (Domain Name Server)
CN101662508B (en) Method for data transmission based on point-to-point protocol, device and system thereof
CN101931798B (en) Multi-network environment video monitoring streaming media delivery route positioning method
US7680912B1 (en) System and method for managing and provisioning streamed data
CN101300562A (en) Method and apparatus regarding use of a service convergence fabric
CN103139082B (en) The dynamic routing method and device of a kind of live video distribution
CN105591871B (en) A kind of method and apparatus of the automatic discovery Virtual Private Network branch node of configuration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant