Summary of the invention
Developing state according to above-mentioned supervisory control system, and at taking turns the problem that incision technology exists in the existing supervisory control system, the purpose of this invention is to provide a kind of wheel cutting apparatus based on multicast, a kind ofly comprise that this takes turns the wheel cutting system based on multicast of cutting apparatus, and a kind ofly be applied to the wheel blanking method that this takes turns cutting system based on multicast.
To achieve the above object of the invention, the invention provides a kind of wheel cutting apparatus based on multicast, this is taken turns and records encoding terminal and the decoding terminal information that is in same multicast network with it on the cutting apparatus;
This is taken turns cutting apparatus and includes:
Receiver module is used to receive the configure packet of round cut plan;
Parsing module is used to resolve the configure packet of above-mentioned round cut plan, draws the parameter setting of this round cut plan;
Instruction module is used for the parameter setting according to above-mentioned this round cut plan, and the described decoding terminal that sends instructions down and set to described encoding terminal and this round cut plan of this round cut plan setting is to carry out this round cut plan.
Wherein, the parameter setting of described this round cut plan includes encoding terminal tabulation and decoding terminal list;
This encoding terminal tabulation is used for setting, and carries out in this round cut planning process, is used for sending the encoding terminal of data, wherein comprises and is no less than 2 described encoding terminal;
This decoding terminal tabulation is used for setting, and carries out in this round cut planning process, is used for receiving the decoding terminal of data, wherein comprises and is no less than 1 described decoding terminal.
Wherein, the parameter setting of described this round cut plan also includes time started and dwell time;
This time started parameter is used to set the concrete time that begins to carry out this round cut plan;
This dwell time parameter is used to set the concrete time that stops to carry out this round cut plan.
Wherein, the parameter setting of described this round cut plan also includes duration at interval; This interval duration parameters is used for setting, and carries out in this round cut planning process the interval duration of encoding terminal described in the described encoding terminal tabulation of every double program request.
Wherein, the parameter setting of described this round cut plan also includes the round cut mode, and this round cut mode parameter is used for setting, and carries out in this round cut planning process, and the precedence of encoding terminal described in the described encoding terminal tabulation of program request be in proper order or at random.
Also have, the invention provides a kind of wheel cutting system, include based on multicast:
Multicast network is used for based on multicasting technology transmission data;
Operated client (VC) is used to issue the configure packet of round cut plan;
Encoding terminal (EC) is used for the encoding process data, and it is issued to described multicast network, is that the data of multicast send terminal;
Decoding terminal (DC) is used to receive the data from described multicast network, and it is carried out decoding processing, is the data receiving terminal of multicast;
Management server (VM) includes above-mentioned wheel cutting apparatus based on multicast, records the information of described encoding terminal (EC) and described decoding terminal (DC) on it; This management server receives the configure packet of above-mentioned round cut plan, and this configure packet carried out after parameter that dissection process draws this round cut plan is provided with, the described decoding terminal (DC) of the send instructions described encoding terminal (EC) set to this round cut plan and this round cut plan setting is set down to carry out this round cut plan according to this parameter.
For above-mentioned wheel cutting system based on multicast, if described encoding terminal (EC) is a video encoder, and described decoding terminal (DC) is Video Decoder, at this moment, should be embodied in the video wheel cutting system based on multicast based on wheel cutting system of multicast.
Have, the invention provides a kind of wheel blanking method based on multicast, this method is applied to the above-mentioned wheel cutting system based on multicast that comprises multicast network, operated client (VC), encoding terminal (EC), decoding terminal (DC), reaches management server (VM);
This method comprises the following step:
(1) described operated client (VC) is formulated the round cut plan according to user's request, generates the configure packet of this round cut plan, and issues this configure packet to described management server (VM);
(2) this management server (VM) receives above-mentioned configure packet, and this configure packet is carried out drawing after the dissection process parameter setting of this round cut plan;
(3) this management server (VM) is according to the above-mentioned parameter setting, and the decoding terminal (DC) that sends instructions down and set to encoding terminal (EC) and this round cut plan of this round cut plan setting is to carry out this round cut plan.
When carrying out above-mentioned steps (2), described management server (VM) returns a value to described operated client (VC) after receiving the configure packet of this round cut plan, makes it learn according to this return value whether this round cut plan is provided with success.
When carrying out above-mentioned steps (3), this round cut plan of described execution comprises following substep:
(3-1) first encoding terminal (EC of this round cut plan setting of program request
1);
(3-2) first encoding terminal (EC that this round cut plan of program request is set
1) switch to second encoding terminal (EC that this round cut plan of program request is set
2);
(3-3) according to the setting of this round cut plan, repeat above-mentioned steps (3-2), the dwell time of setting until this round cut plan arrives, and perhaps this management server (VM) receives the order that stops to carry out this round cut plan.
When carrying out above-mentioned steps (3-1), first encoding terminal (EC that this round cut plan of described program request is set
1), comprise following substep:
(3-1-1) described management server (VM) is specified first multicast group (G
1);
(3-1-2) described management server (VM) is judged first encoding terminal (EC that described this round cut plan is set
1) whether at this first multicast group (G
1) in, be then to continue following step (3-1-3), otherwise to this first encoding terminal (EC
1) under send instructions and make it to this first multicast group (G
1) continue following step (3-1-3) after sending data;
(3-1-3) described management server (VM) sends instructions under the decoding terminal (DC) that this round cut plan is set, and makes it add above-mentioned first multicast group (G
1) and begin to receive data.
When carrying out above-mentioned steps (3-2), described first encoding terminal (EC that this round cut plan of program request is set
1) switch to second encoding terminal (EC that this round cut plan of program request is set
2), comprise following substep:
(3-2-1) described management server (VM) is specified second multicast group (G2);
(3-2-2) described management server (VM) is judged second encoding terminal (EC that described this round cut plan is set
2) whether at this second multicast group (G
2) in, be then to continue following step (3-2-3), otherwise to this second encoding terminal (EC
2) under send instructions and make it to this second multicast group (G
2) continue following step (3-2-3) after sending data;
(3-2-3) described management server (VM) sends instructions under the described decoding terminal (DC) that this round cut plan is set, and makes it add above-mentioned second multicast group (G
2) and begin to receive data;
(3-2-4) described management server (VM) is to described first encoding terminal (EC
1) under send instructions, it is stopped to above-mentioned first multicast group (G
1) the transmission data.
For above-mentioned wheel blanking method based on multicast, if described encoding terminal (EC) is a video encoder, and described decoding terminal (DC) is Video Decoder, at this moment, should be embodied in the video wheel blanking method based on multicast based on wheel blanking method of multicast.
For above-mentioned video wheel blanking method based on multicast, when carrying out described step (3-2-3), this decoding terminal (DC) detect receive from above-mentioned second multicast group (G
2) video data, occurring up to information frame (Information Frames) just should be from described second multicast group (G
2) the video data output of decoding, and stop to receive from above-mentioned first multicast group (G
1) video data.
And above-mentioned decoding terminal (DC) is stopping reception from described first multicast group (G
1) video data the time, report the return value of a handover success to described management server (VM), make this management server (VM) learn to send instructions down and make described first encoding terminal (EC according to this handover success return value
1) stop to described first multicast group (G
1) the transmission data.
The contrast prior art, major advantage of the present invention is: the present invention complies with the developing state of network real-time monitoring system, has realized the round cut based on multicast, has filled up the blank of prior art at this part, enlarge the way of round cut, thereby can satisfy user's higher demand.
Another advantage of the present invention is: the round cut plan is provided with a plurality of parameters such as encoding terminal tabulation, decoding terminal tabulation, time started, dwell time, interval duration, round cut mode, these parameters all can be set flexibly according to user's actual need, thereby can at utmost satisfy user's various different demands.
An advantage more of the present invention is: the present invention is to switch behind the information frame (Information Frames) by the video data that requires decoding terminal and receive again, make the monitor video in the handoff procedure not have phenomenons such as interruption, shake, mosaic, burr and smear, monitor video quality height.
Embodiment
With reference to the Fig. 4 in the Figure of description, introduce the wheel cutting apparatus based on multicast provided by the invention in detail.
This is taken turns and records encoding terminal and the decoding terminal information that is in same multicast network with it on the cutting apparatus; Be used to receive the configure packet of round cut plan, and this configure packet carried out after parameter that dissection process draws this round cut plan is provided with, described decoding terminal that the send instructions described encoding terminal set to this round cut plan and this round cut plan set is set down to carry out this round cut plan according to this parameter.
As shown in Figure 4, this is taken turns cutting apparatus and includes:
Receiver module shown in Figure 4 is used to receive the configure packet of described round cut plan;
Parsing module shown in Figure 4 is used to resolve the configure packet of above-mentioned round cut plan, draws the parameter setting of this round cut plan;
Instruction module shown in Figure 4 is used for the parameter setting according to above-mentioned this round cut plan, and the described decoding terminal that send instructions the down described encoding terminal set to this round cut plan and this round cut plan are set is to carry out this round cut plan.
Wherein, the parameter of described round cut plan has:
The encoding terminal tabulation: be used for setting, carry out in this round cut planning process, be used for sending the encoding terminal of data, the number of wherein said encoding terminal is no less than 2;
The decoding terminal tabulation: be used for setting, carry out in this round cut planning process, be used for receiving the decoding terminal of data, the number of wherein said decoding terminal is no less than 1;
Time started: the time started that is used to set this round cut plan of execution; The default setting of this time started parameter is current system time, and also i.e. this round cut plan is execution immediately by default settings;
Dwell time: the dwell time that is used to set this round cut plan of execution; The default settings of this dwell time is empty, and also i.e. this round cut plan is to carry out forever by default settings;
Interval duration: be used for setting, carry out in this round cut planning process, the interval duration described in the described encoding terminal tabulation of every double program request between the encoding terminal;
Round cut mode: be used for setting, carry out in this round cut planning process, the precedence of encoding terminal in the described encoding terminal tabulation of program request; This round cut mode parameter be provided with order and two kinds at random, order expression in carrying out this round cut planning process, is ranked the order described encoding terminal in this encoding terminal tabulation of program request successively according to encoding terminal described in the described encoding terminal tabulation; Expression at random, in carrying out this round cut planning process, a described encoding terminal in the described encoding terminal tabulation of random choose carries out program request and switches.
Calculated all parameters of above-mentioned round cut all can be set flexibly according to user's actual need.
With reference to Fig. 5 in the Figure of description, introduce the wheel cutting system based on multicast provided by the invention in detail.As shown in Figure 5, should include based on the wheel cutting system of multicast:
IP network shown in Figure 5 as multicast network, is used for based on multicasting technology transmission data;
Camera shown in Figure 5 links to each other with following encoder, is used to gather video data;
Encoder shown in Figure 5 is used for the encoding process video data, and it is issued to described IP network; This encoder is that the data of multicast send terminal as encoding terminal EC;
Decoder shown in Figure 5 is used to receive the video data from described IP network, and it is carried out decoding processing; This decoder is the data receiving terminal of multicast as decoding terminal DC;
Video wall shown in Figure 5 as client, is used for showing through above-mentioned decoder decode processed video data;
Client shown in Figure 5 as operated client VC, is used for formulating the round cut plan according to user's request, is issued to following management server (VM) after generating the configure packet of this round cut plan; This client also can show through described decoder decode processed video data simultaneously;
Management server shown in Figure 5 (VM) is whole center of taking turns cutting system, records the information of described encoder (encoding terminal EC) and described decoder (decoding terminal DC); This management server receives the configure packet of the described round cut plan that described client (operated client VC) issues, this configure packet is carried out drawing after the dissection process parameter setting of this round cut plan, and the send instructions described encoder (encoding terminal EC) set to this round cut plan and the described decoder (decoding terminal DC) of this round cut plan setting are set down according to the parameter of this round cut plan, to carry out this round cut plan; Wherein, the information of described encoder (encoding terminal EC) and described decoder (decoding terminal DC) comprises the corresponding relation between described encoder (encoding terminal EC) and the described decoder (decoding terminal DC), this corresponding relation can for one to one, one-to-many, many-one;
Monitoring data stream shown in Figure 5 is used for watching in real time, just as in the traffic-police center real time monitoring traffic in somewhere at that time;
The network storage equipment shown in Figure 5 is used for video data is stored in the storage system of far-end, realizes the centralized management and the inquiry of video data;
Playback of data stream shown in Figure 5 is used for having access to afterwards, and the user can formulate the playing plan of historical video data, has access to the historical video data in the above-mentioned network storage equipment.
Specify 1: because the cause of video wall shown in camera, Fig. 5 shown in Fig. 5, encoder shown in Fig. 5 correspondingly is a video encoder, and decoder correspondingly is a Video Decoder shown in Fig. 5 simultaneously; So, based on the wheel cutting system of multicast, be embodied in video wheel cutting system shown in Fig. 5 based on multicast.
Specify 2: from above-mentioned introduction as can be seen, shown in Fig. 5 based on the wheel cutting system of multicast, the real-time monitoring system that comes down to have the round cut function; More particularly, based on the video of multicast wheel cutting system, come down to have the real-time monitor video system of round cut function shown in Fig. 5.
Specify 3: the network storage equipment shown in Fig. 5, and the stream of playback of data shown in Fig. 5 are the selection element of the wheel cutting system based on multicast provided by the invention, are not its essential elements.
With reference to the Fig. 6 in the Figure of description, introduce the wheel blanking method based on multicast provided by the invention in detail.This method is applied to the above-mentioned wheel cutting system based on multicast that comprises multicast network, operated client (VC), encoding terminal (EC), decoding terminal (DC), reaches management server (VM).
As shown in Figure 6, this method comprises the following step:
(1) described operated client (VC) is formulated the round cut plan according to user's request, generates the configure packet of this round cut plan, and issues this configure packet to described management server (VM);
(2) this management server (VM) receives the configure packet of above-mentioned this round cut plan, and this configure packet is carried out the parameter setting that dissection process draws this round cut plan;
(3) this management server (VM) is according to the parameter setting of above-mentioned this round cut plan, and the described decoding terminal (DC) that sends instructions down and set to described encoding terminal (EC) and this round cut plan of this round cut plan setting is to carry out this round cut plan.
Wherein, when carrying out above-mentioned steps (2), after described management server receives this configure packet, return a value, make it learn according to this return value whether this round cut plan is provided with success to described operated client (VC).
Further, as shown in Figure 6, above-mentioned steps (3), this round cut plan of described execution comprises following substep again:
(3-1) first encoding terminal (EC of this round cut plan setting of program request
1);
(3-2) first encoding terminal (EC that this round cut plan of program request is set
1) switch to second encoding terminal (EC that this round cut plan of program request is set
2);
(3-3) according to the setting of this round cut plan, repeat above-mentioned steps (3-2), the dwell time of setting until this round cut plan arrives, and perhaps described management server (VM) receives the order that stops to carry out this round cut plan.
Further, as shown in Figure 6, above-mentioned steps (3-1), first encoding terminal (EC that this round cut plan of described program request is set
1), comprise following substep again:
(3-1-1) described management server (VM) is specified first multicast group (G
1);
(3-1-2) this management server (VM) is judged first encoding terminal (EC that described this round cut plan is set
1) whether at this first multicast group (G
1) in, be then to continue following step (3-1-3), otherwise to this first encoding terminal (EC
1) under send instructions and make it to this first multicast group (G
1) continue following step (3-1-3) after sending data;
(3-1-3) this management server (VM) sends instructions under the decoding terminal (DC) that described this round cut plan is set, and makes it add above-mentioned first multicast group (G
1) and begin to receive data.
Equally further, as shown in Figure 6, above-mentioned steps (3-2), described first encoding terminal (EC that this round cut plan of program request is set
1) switch to second encoding terminal (EC that this round cut plan is set
2), comprise following substep again:
(3-2-1) described management server (VM) is specified second multicast group (G2);
(3-2-2) described management server (VM) is judged second encoding terminal (EC that described this round cut plan is set
2) whether at this second multicast group (G
2) in, be then to continue following step (3-2-3), otherwise to this second encoding terminal (EC
2) under send instructions and make it to this second multicast group (G
2) continue following step (3-2-3) after sending data;
(3-2-3) described management server (VM) sends instructions under the decoding terminal (DC) that described this round cut plan is set, and makes it add this second multicast group (G
2) and begin to receive data;
(3-2-4) described management server (VM) is to first encoding terminal (EC of described this round cut plan setting
1) under send instructions, it is stopped to above-mentioned first multicast group (G
1) the transmission data.
For above-mentioned wheel blanking method based on multicast, if described encoding terminal (EC) is a video encoder, and described decoding terminal (DC) is a Video Decoder; Then should be embodied in video wheel blanking method based on the wheel blanking method of multicast based on multicast.
Like this, when carrying out above-mentioned steps (3-2-3), the decoding terminal (DC) that described this round cut plan is set detect receive from above-mentioned second multicast group (G
2) video data, occurring up to information frame (Information Frames) just should be from described second multicast group (G
2) the video data output of decoding, and stop to receive from above-mentioned first multicast group (G
1) video data.
And the decoding terminal (DC) that described this round cut plan is set is stopping reception from described first multicast group (G
1) video data the time, report the return value of a round cut success to described management server (VM), make this management server (VM) learn to send instructions down and make described first encoding terminal (EC according to this round cut success return value
1) stop to described first multicast group (G
1) the transmission data.
At last,, describe in detail, use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the sequential flow process of round cut plan with reference to Fig. 7 in the Figure of description.
At first, the Reference numeral among Fig. 7 is done a detailed description:
VC represents operated client, is used for formulating the round cut plan according to user's request, and after generating the configure packet of this round cut plan, this configure packet is handed down to management server VM;
VM represents management server, be used to receive the configure packet of above-mentioned this round cut plan, and after this configure packet of dissection process parameter of drawing this round cut plan is provided with, the decoding terminal that sends instructions down and set to encoding terminal and this round cut plan of this round cut plan setting is with the required operations of this round cut plan of complete execution;
EC
1, EC
2, EC
3The presentation code terminal is used for data are carried out encoding process, is that the data of multicast send terminal;
DC represents decoding terminal, is used for data are carried out decoding processing, is the data receiving terminal of multicast;
I represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the first step of round cut plan; This step I relates to described based on operated client VC in the wheel cutting system of multicast and management server VM, comprises described based on the step (1) in the wheel blanking method of multicast; Also promptly, the execution content of this step I is: described operated client VC formulates the round cut plan according to user's request, and is handed down to described management server VM after generating the configure packet of this round cut plan;
II represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out second step of round cut plan; This Step II relates to described based on the management server VM in the wheel cutting system of multicast, comprises described based on the step (2) in the wheel blanking method of multicast; Also be, the execution content of this Step II is: this management server VM receives the configure packet of above-mentioned this round cut plan, and this configure packet of dissection process draws the parameter setting of this round cut plan, and this management server VM returns a value to above-mentioned operated client VC and makes it learn that according to this return value this round cut plan is provided with success simultaneously;
III represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 3rd step of round cut plan; This Step II I relates to described first encoding terminal EC based on the management server VM in the wheel cutting system of multicast and described this round cut plan setting
1, comprise described based on the step (3-1-1) in the wheel blanking method of multicast, and step (3-1-2); Also promptly, the execution content of this Step II I is: this management server VM specifies first multicast group G
1, and judge first encoding terminal EC that above-mentioned this round cut plan is set
1Whether at this first multicast group G
1In, be then to continue following IV, otherwise this management server VM is to this first encoding terminal EC
1Under send instructions and make it to this first multicast group G
1Continue following IV after sending data;
IV represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 4th step of round cut plan; This step IV relates to described decoding terminal DC based on the management server VM in the wheel cutting system of multicast and described this round cut plan setting, comprises described based on the step (3-1-3) in the wheel blanking method of multicast; Also promptly, the execution content of this step IV is: this management server VM sends instructions under the decoding terminal DC that above-mentioned this round cut plan is set and makes it add above-mentioned first multicast group G
1And begin to receive data;
V represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 5th step of round cut plan; This step V relates to described second encoding terminal EC based on the management server VM in the wheel cutting system of multicast and described this round cut plan setting
2, comprise described based on the step (3-2-1) in the wheel blanking method of multicast, step (3-2-2); Also promptly, the execution content of this step V is: this management server VM specifies second multicast group G
2, and judge second encoding terminal EC that above-mentioned this round cut plan is set
2Whether at this second multicast group G
2In, be then to continue following step VI, otherwise this management server VM is to this second encoding terminal EC
2Under send instructions and make it to this second multicast group G
2Continue following VI after sending data;
VI represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 6th step of round cut plan; This step VI relates to described based on the management server VM in the wheel cutting system of multicast and described this round cut plan setting decoding terminal DC, comprises described based on the step (3-2-3) in the wheel blanking method of multicast; Also promptly, the execution content of this step VI is: this management server VM sends instructions under the decoding terminal DC that above-mentioned this round cut plan is set and makes it add above-mentioned second multicast group G
2And begin to receive data;
VII represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 7th step of round cut plan; This step VII relates to described first encoding terminal EC based on the management server VM in the wheel cutting system of multicast and described this round cut plan setting
1, comprise described based on the step (3-2-4) in the wheel blanking method of multicast; Also promptly, the execution content of this step VII is: first encoding terminal EC that this management server VM sets to above-mentioned this round cut plan
1Under send instructions it stopped to above-mentioned first multicast group G
1Send data;
VIII represents: use the wheel cutting system based on multicast provided by the invention, move the wheel blanking method based on multicast provided by the invention, carry out the 8th step of round cut plan; This step VII comprises described based on the step (3-3) in the wheel blanking method of multicast; Also promptly, the execution content of this step VII is: according to this round cut plan, repeat above-mentioned V, VI, reach VII, the dwell time of setting until this round cut plan arrives, and perhaps described management server VM receives the order that stops to carry out this round cut plan.
Below, in conjunction with specific embodiments above-mentioned sequential flow process shown in Figure 7 is explained in more detail:
One of specific embodiment:
As shown in Figure 7, for the wheel cutting system based on multicast that the invention described above provides, it moves the wheel blanking method based on multicast provided by the invention, and the flow process of carrying out the round cut plan is:
I, described VC formulate according to user's request and formulate a round cut plan: at 8 in the morning to 6 pm was every 30 seconds order program request encoding terminal EC1-EC6 and send data to decoding terminal DC3; This VC generates the configure packet of this round cut plan, and this configure packet is handed down to described VM;
II, described VM receive the configure packet of above-mentioned this round cut plan, and this configure packet of dissection process draws the parameter setting of this round cut plan:
The encoding terminal tabulation of this round cut plan is EC1-EC6,
The decoding terminal of this round cut plan is DC3,
The time started of this round cut plan is 8:00am,
The dwell time of this round cut plan is 18:00pm,
The interval duration of this round cut plan is 30 seconds,
The round cut mode of this round cut plan is an order;
Simultaneously, after this VM receives this configure packet, return a value to this VC and make it learn whether this round cut plan is provided with success according to this return value;
III, the mornings 8 point, described VM specifies first multicast group G1, and judge that whether be positioned at described encoding terminal tabulates primary encoding terminal EC1 at this G1, be then to continue following IV, otherwise this VM make it continue following IV after this G1 sends data to sending instructions under this EC1;
Send instructions under IV, the described VM decoding terminal DC3 in the tabulation of described decoding terminal and make it add above-mentioned multicast group G1 and begin to receive data;
V, after 30 seconds, described VM specifies second multicast group G2, and judge that whether be positioned at described encoding terminal tabulates deputy encoding terminal EC2 at this G2, be then to continue following VI, otherwise this VM make it continue following VI after this G2 sends data to sending instructions under this EC2;
VI, described VM send instructions under described DC3 and make it add above-mentioned G2 and begin to receive data;
This DC3 detects the video data from above-mentioned G2 that receives, and occurs just will being somebody's turn to do from the output of decoding of the video data of described G2 up to information frame (InformationFrames), and stops to receive video data from above-mentioned G1;
Simultaneously, this DC3 reports the return value of a handover success to this VM;
After VII, this VM received the return value of above-mentioned handover success, sending instructions under above-mentioned EC1 made it stop to send data to above-mentioned G1;
VIII, by described encoding terminal tab sequential, repeated above-mentioned V, VI, VII every 30 seconds, program request is arranged in each encoding terminal of described encoding terminal tabulation until 6 pm successively.
Two of specific embodiment:
As shown in Figure 7, for the wheel cutting system based on multicast that the invention described above provides, it moves the wheel blanking method based on multicast provided by the invention, and the flow process of carrying out the round cut plan is:
I, described VC formulate according to user's request and formulate a round cut plan: from 8 in the evening same day to next day 6:00 AM every 30 seconds order program request encoding terminal EC7-EC15 and send data to decoding terminal DC4; This VC generates the configure packet of this round cut plan, and this configure packet is handed down to described VM;
II, described VM receive the configure packet of above-mentioned this round cut plan, and this configure packet of dissection process draws the parameter setting of this round cut plan:
The encoding terminal tabulation of this round cut plan is EC7-EC15,
The decoding terminal of this round cut plan is DC4,
The time started of this round cut plan is 20:00pm,
The dwell time of this round cut plan is 6:00am,
The interval duration of this round cut plan is 30 seconds,
The round cut mode of this round cut plan is an order;
Simultaneously, after this VM receives this configure packet, return a value to this VC and make it learn whether this round cut plan is provided with success according to this return value;
III, evenings 8 point, described VM specifies first multicast group G1, and judge that whether be positioned at described encoding terminal tabulates primary encoding terminal EC7 at this G1, be then to continue following IV, otherwise this VM make it continue following IV after this G1 sends data to sending instructions under this EC7;
Send instructions under IV, the described VM decoding terminal DC4 in the tabulation of described decoding terminal and make it add above-mentioned multicast group G1 and begin to receive data;
V, after 30 seconds, described VM specifies second multicast group G2, and judge that whether be positioned at described encoding terminal tabulates deputy encoding terminal EC8 at this G2, be then to continue following VI, otherwise this VM make it continue following VI after this G2 sends data to sending instructions under this EC8;
VI, described VM send instructions under described DC4 and make it add above-mentioned G2 and begin to receive data;
This DC4 detects the video data from above-mentioned G2 that receives, and occurs just will being somebody's turn to do from the output of decoding of the video data of described G2 up to information frame (InformationFrames), and stops to receive video data from above-mentioned G1;
Simultaneously, this DC4 reports the return value of a handover success to this VM;
After VII, this VM received the return value of above-mentioned handover success, sending instructions under above-mentioned EC7 made it stop to send data to above-mentioned G1;
VIII, by described encoding terminal tab sequential, repeated above-mentioned V, VI, VII every 30 seconds, program request is arranged in each encoding terminal of described encoding terminal tabulation until 6:00 AM next day successively.
Three of specific embodiment:
As shown in Figure 7, for the wheel cutting system based on multicast that the invention described above provides, it moves the wheel blanking method based on multicast provided by the invention, and the flow process of carrying out the round cut plan is:
I, described VC formulate according to user's request and formulate a round cut plan: the encoding terminal and send data to decoding terminal DC1 and DC2 among the program request encoding terminal EC1-EC16 at random every 40 seconds from now on; This VC generates the configure packet of this round cut plan, and this configure packet is handed down to described VM;
II, described VM receive the configure packet of above-mentioned this round cut plan, and this configure packet of dissection process draws the parameter setting of this round cut plan:
The encoding terminal tabulation of this round cut plan is EC1-EC16,
The decoding terminal of this round cut plan is DC1, DC2,
The time started of this round cut plan is current system time,
The dwell time of this round cut plan is empty,
The interval duration of this round cut plan is 40 seconds,
The round cut mode of this round cut plan is at random;
Simultaneously, after this VM receives this configure packet, return a value to this VC and make it learn whether this round cut plan is provided with success according to this return value;
III, described VM specify first multicast group G1, and whether the described encoding terminal EC6 that judges selected at random be then to continue following IV, otherwise this VM makes it continue following IV after this G1 sends data to sending instructions under this EC-6 in this G1;
IV, described VM in the tabulation of described decoding terminal decoding terminal DC1 and DC2 under send instructions and make it add above-mentioned multicast group G1 and begin to receive data;
V, after 40 seconds, described VM specifies second multicast group G2, and whether the described encoding terminal EC13 that judges selected at random be then to continue following VI, otherwise this VM makes its following VI of continuation after this G2 sends data to sending instructions under this EC13 in this G2;
VI, described VM send instructions under described DC1 and DC2 and make it add above-mentioned G2 and begin to receive data;
This DC1 and DC2 detect the video data from above-mentioned G2 that receives, and occur just will being somebody's turn to do from the output of decoding of the video data of described G2 up to information frame (Information Frames), and stop to receive video data from above-mentioned G1;
Simultaneously, this DC1 and DC2 report the return value of a handover success to this VM;
After VII, this VM received the return value of above-mentioned handover success, sending instructions under above-mentioned EC6 made it stop to send data to above-mentioned G1;
VIII, repeated above-mentioned V, VI, VII every 40 seconds, an encoding terminal among the described encoding terminal EC1-EC16 of program request receives the order that stops to carry out this round cut plan until described VM at random.
What need statement is that foregoing invention content and specific embodiment are intended to prove the practical application of technical scheme provided by the present invention, should not be construed as the qualification to protection range of the present invention.Those skilled in the art are in spirit of the present invention and principle, when making various modifications or modification.Protection scope of the present invention is as the criterion with appended claims.