Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
In embodiments of the present invention, videoconference client, video server, ERM and ED belong to the member device in the SDV system, by in the SDV system, adding stream pushing server, can reduce the SDV system to the dependence of ED, described videoconference client can be digital TV terminal.
See also Fig. 1, a kind of schematic flow sheet of method of the video stream pushing based on the switch type video broadcasting is provided for the embodiment of the invention.As shown in Figure 1, the described method of the embodiment of the invention can may further comprise the steps S101-step S104.
S101, the channel request information that the receiver, video client sends, described channel request information is carried the region code of described videoconference client and the ID of channel;
Concrete, when described videoconference client starts, perhaps when described videoconference client switching channels, described video server receives the channel request information that described videoconference client sends, and described channel request information is carried the region code of described videoconference client and the ID of the channel that switches to.
S102, according to the region code of described videoconference client and the ID of described channel, obtain to broadcast the network address information of frequency and the edge device ED corresponding with described frequency of described channel, the network address information of described ED comprises network interconnection protocol IP address and the port numbers of described ED;
Concrete, the network address information of described ED can comprise IP address and the port numbers of described ED.Described video server is judged the current frequency that has distributed that whether exists according to the region code of described videoconference client and the ID of described channel.
If the frequency that current existence has distributed then directly obtains the network address information of the described frequency that has distributed and the ED corresponding with the described frequency that has distributed; If the current frequency that has distributed that do not exist then distributes idle frequency to ERM request, described video server receives the network address information of idle frequency that described ERM sends and the ED corresponding with described idle frequency.
S103 is sent to described videoconference client with described frequency, so that described videoconference client carries out frequency locking according to described frequency;
Concrete, the idle frequency that the frequency that has distributed that described video server will obtain or described ERM send is sent to described videoconference client, and described videoconference client receives the frequency that described video server sends, and locks the frequency of this frequency.
S104, the ID of described channel and the network address information of described ED are sent to stream pushing server, so that described stream pushing server pushes to the transport stream of described channel the described port numbers of described ED, make described ED broadcast the transport stream of described channel at described frequency;
Concrete, described video server is sent to stream pushing server with the ID of described channel and the network address information of ED, so that described stream pushing server obtains the transport stream of described channel according to the ID of described channel, described stream pushing server is sent to described ED with the transport stream of described channel according to described network address information, described ED determines the frequency that needs push according to the port of the transport stream that receives described channel, and described transport stream is converted to radiofrequency signal, push to described frequency.
Need to prove, when described ED sent described radiofrequency signal to described frequency, described videoconference client was according to the described radiofrequency signal of frequency acquisition of frequency of locking, and by radiofrequency signal is processed, obtained described transport stream.
In embodiments of the present invention, by video server IP address and the port numbers of ED is sent to stream pushing server, the transport stream of the channel of correspondence is pushed to the described port numbers of described ED by stream pushing server, need not to add multicast by ED equipment forward end server request, and return response message notice ERM, and reduced the dependence to ED, reduced the coupling between ERM and the ED, utilize existing ED equipment can realize the deployment of SDV system, greatly reduced the lower deployment cost of SDV system.
See also Fig. 2, for the embodiment of the invention provides the schematic flow sheet of another kind based on the method for the video stream pushing of switch type video broadcasting.As shown in Figure 2, the described method of the embodiment of the invention can may further comprise the steps S201-step S207.
S201 adopts self-study mode subregion and/or counts at times the focus channel, and is described focus channel subregion and/or preassignment frequency at times;
Concrete, video server adopts the self-study mode to count the focus channel, and is described focus channel preassignment frequency, wherein, described self-study mode can for:
Be at least one focus channel preassignment frequency, for example, channel A is the focus channel, is the fixing frequency 268 of its preassignment one, then the user in any zone in office when section is watched channel A, all use frequency 268 to carry out plug-flow;
Region code according to videoconference client is at least one focus channel preassignment frequency, and for example, channel A is the focus channel at regional B, then at regional B frequency 268 is set to the corresponding frequency of focus channel A;
The time period of broadcasting according to program is at least one focus channel preassignment frequency, and for example, channel A was the focus channel at 19 o'clock to 21 o'clock, then is set to the corresponding frequency of focus channel A at 19 o'clock to 21 frequencies 268 of naming a person for a particular job;
The time period of broadcasting according to the region code of videoconference client and program is at least one focus channel preassignment frequency, for example, channel A is the focus channel 19 o'clock to 21 o'clock of regional D, then is set to the corresponding frequency of focus channel A at 19 o'clock of regional D to 21 frequencies 268 of naming a person for a particular job.
S202, the channel request information that the receiver, video client sends, described channel request information is carried the region code of described videoconference client and the ID of channel;
S203 judges whether to exist the frequency that has distributed according to the region code of described videoconference client and the ID of described channel;
Concrete, described video server judges whether to exist the frequency that has distributed according to the region code of described videoconference client and the ID of described channel, if so, then changes execution in step S203 over to; If not, then change execution in step S204 over to.
Need to prove, the described frequency that has distributed comprises preallocated frequency and the frequency that has used, and described preallocated frequency can be referring to the self-study mode of step S201; The described frequency that has used is that described video server receives before the ID of the region code of this videoconference client and described channel, other videoconference clients have also asked to play this channel in the same area, video server has distributed frequency according to request for it, and the mapping relations of the frequency of region code, channel and distribution are carried out record, so that the videoconference client of the same area can be shared the transport stream that this frequency receives this channel.
S204 obtains the network address information of the described frequency that has distributed and the ED corresponding with the described frequency that has distributed;
Concrete, if described video server is according to the region code of described videoconference client transmission and the ID of described channel, judge the frequency that current existence has distributed, then directly obtain the described frequency that has distributed and the network address information of the ED that is associated with the described frequency that has distributed.Wherein, the network address information of described ED can comprise IP address and the port numbers of described ED.
S205 obtains the network address information of ED corresponding to idle frequency and described idle frequency from ERM;
Concrete, if described video server is according to the region code of described videoconference client transmission and the ID of described channel, judge the current frequency that has distributed that do not exist, then distribute idle frequency to ERM request, described video server obtains the network address information of idle frequency that described ERM sends and the ED corresponding with described idle frequency.
Preferably, described ERM receives the region code of the described videoconference client of described video server transmission, by the algorithm of self presetting the region code of described videoconference client is calculated, obtain the network address information of optimum ED, the network address information of the idle frequency that described ERM is indicated with the network address information of the ED of described optimum and the ED of described optimum is sent to described video server.
S206 is sent to described videoconference client with described frequency, so that described videoconference client carries out frequency locking according to described frequency;
S207, the ID of described channel and the network address information of described ED are sent to stream pushing server, so that described stream pushing server pushes to the transport stream of described channel the described port numbers of described ED, make described ED broadcast the transport stream of described channel at described frequency;
Wherein, the step S202 of the embodiment of the invention, S206 and S207 can respectively referring to step S101 embodiment illustrated in fig. 1, S103 and S104, not give unnecessary details at this.
In embodiments of the present invention, by video server IP address and the port numbers of ED is sent to stream pushing server, the transport stream of the channel of correspondence is pushed to the described port numbers of described ED by stream pushing server, need not to add multicast by ED equipment forward end server request, and return response message and notify ERM, reduced the dependence to ED, reduced the coupling between ERM and the ED, utilize existing ED equipment can realize the deployment of SDV system, greatly reduced the lower deployment cost of SDV system, and adopt the self-study mode to focus channel preassignment frequency, improved the efficient of video stream pushing, promoted the intelligent of SDV system.
See also Fig. 3, a kind of structural representation of video server is provided for the embodiment of the invention.As shown in Figure 3, described video server 1 comprises:
Information receiving module 11 is used for the channel request information that the receiver, video client sends, and described channel request information is carried the region code of described videoconference client and the ID of channel;
In the specific implementation, when described videoconference client starts, perhaps when described videoconference client switching channels, described information receiving module 11 receives the channel request information that described videoconference client sends, and described channel request information is carried the region code of described videoconference client and the ID of the channel that switches to.
Frequency point information acquisition module 12, be used for according to the region code of described videoconference client and the ID of described channel, obtain to broadcast the network address information of frequency and the ED corresponding with described frequency of described channel, the network address information of described ED comprises IP address and the port numbers of described ED;
In the specific implementation, the network address information of described ED can comprise IP address and the port numbers of described ED.Described frequency point information acquisition module 12 is judged the current frequency that has distributed that whether exists according to the region code of described videoconference client and the ID of described channel.
If the frequency that described video server 1 current existence has distributed, then described frequency point information acquisition module 12 directly obtains the network address information of the described frequency that has distributed and the ED corresponding with the described frequency that has distributed; If the described video server 1 current frequency that has distributed that do not exist, then described frequency point information acquisition module 12 distributes idle frequency to ERM request, receives the network address information of idle frequency that described ERM sends and the ED corresponding with described idle frequency.
Concrete, please in the lump referring to Fig. 4, provide the structural representation of frequency acquisition module for the embodiment of the invention.As shown in Figure 4, described frequency acquisition module 12 comprises: frequency judging unit 121, the first acquiring unit 122 and second acquisition unit 123.
Frequency judging unit 121 is used for judging whether to exist the frequency that has distributed according to the region code of described videoconference client and the ID of described channel;
In the specific implementation, described frequency judging unit 121 judges whether to exist the frequency that has distributed according to the region code of described videoconference client and the ID of described channel, if so, then notify described the first acquiring unit 122 to obtain the network address information of the described frequency that has distributed and the ED corresponding with the described frequency that has distributed; If not, then notify described second acquisition unit 123 to obtain the network address information of ED corresponding to idle frequency and described idle frequency from edge resource management ERM.
Need to prove, the described frequency that has distributed comprises preallocated frequency and the frequency that has used, and described preallocated frequency can be referring to the self-study mode of step S201 embodiment illustrated in fig. 2; The described frequency that has used is that described video server receives before the ID of the region code of this videoconference client and described channel, other videoconference clients have also asked to play this channel in the same area, video server has distributed frequency according to request for it, and the mapping relations of the frequency of region code, channel and distribution are carried out record, so that the videoconference client of the same area can be shared the transport stream that this frequency receives this channel.
The first acquiring unit 122 if be used for there to be the frequency that has distributed, then obtains the network address information of the described frequency that has distributed and the ED corresponding with the described frequency that has distributed;
In the specific implementation, if described frequency judging unit 121 is according to the region code of described videoconference client transmission and the ID of described channel, judge the frequency that current existence has distributed, then described the first acquiring unit 122 directly obtains the described frequency that has distributed and the network address information of the ED that is associated with the described frequency that has distributed.
Second acquisition unit 123 is used for the frequency if there is no distributed, then obtains the network address information of ED corresponding to idle frequency and described idle frequency from edge resource management ERM;
In the specific implementation, if described frequency judging unit 121 is according to the region code of described videoconference client transmission and the ID of described channel, judge the current frequency that has distributed that do not exist, then described second acquisition unit 123 distributes idle frequency to ERM request, obtains the network address information of idle frequency that described ERM sends and the ED corresponding with described idle frequency.
Preferably, described ERM receives the region code of the described videoconference client of described second acquisition unit 123 transmissions, by the algorithm of self presetting the region code of described videoconference client is calculated, obtain the network address information of optimum ED, the network address information of the idle frequency that described ERM is indicated with the network address information of the ED of described optimum and the ED of described optimum is sent to described second acquisition unit 123.
Concrete, please in the lump referring to Fig. 5, provide the structural representation of second acquisition unit for the embodiment of the invention.As shown in Figure 5, described second acquisition unit 123 comprises: send subelement 1231 and receive subelement 1232.
Send subelement 1231, be used for the region code of described videoconference client is sent to described ERM;
In the specific implementation, described transmission subelement 1231 is sent to described ERM with the region code of described videoconference client, distributes idle frequency to the ERM request.
Need to prove, described ERM receives the region code of the described videoconference client of described transmission subelement 1231 transmissions, by the algorithm of self presetting the region code of described videoconference client is calculated, obtain the network address information of optimum ED, the network address information of the frequency that described ERM is indicated with the network address information of the ED of described optimum and the ED of described optimum is sent to described reception subelement 1232.
Receive subelement 1232, be used for receiving the network address information of ED corresponding to idle frequency that described ERM sends and described idle frequency;
In the specific implementation, the network address information of the idle frequency that the described ERM of described reception subelement 1232 receptions sends and the ED corresponding with the idle frequency of described ERM transmission.
Frequency point sending module 13 is used for described frequency is sent to described videoconference client, so that described videoconference client carries out frequency locking according to described frequency;
In the specific implementation, the idle frequency that the frequency that has distributed that described frequency point sending module 13 will be obtained or described ERM send is sent to described videoconference client, described videoconference client receives the frequency that described frequency point sending module 13 sends, and locks the frequency of this frequency.
Facility information sending module 14, be used for the ID of described channel and the network address information of described ED are sent to stream pushing server, so that described stream pushing server pushes to the transport stream of described channel the described port numbers of described ED, make described ED broadcast the transport stream of described channel at described frequency;
In the specific implementation, described facility information sending module 14 is sent to stream pushing server with the ID of described channel and the network address information of ED, so that described stream pushing server obtains the transport stream of described channel according to the ID of described channel, described stream pushing server is sent to described ED with the transport stream of described channel according to described network address information, described ED determines the frequency that needs push according to the port of the transport stream that receives described channel, and described transport stream is converted to radiofrequency signal, push to described frequency.
Need to prove, when described ED sent described radiofrequency signal to described frequency, described videoconference client was according to the described radiofrequency signal of frequency acquisition of frequency of locking, and by radiofrequency signal is processed, obtained described transport stream.
In embodiments of the present invention, by video server IP address and the port numbers of ED is sent to stream pushing server, the transport stream of the channel of correspondence is pushed to the described port numbers of described ED by stream pushing server, need not to add multicast by ED equipment forward end server request, and return response message and notify ERM, reduced the dependence to ED, reduced the coupling between ERM and the ED, utilize existing ED equipment can realize the deployment of SDV system, greatly reduced the lower deployment cost of SDV system, and adopt the self-study mode to focus channel preassignment frequency, improved the efficient of video stream pushing, promoted the intelligent of SDV system.
See also Fig. 6, passed through the structural representation of another kind of video server for the embodiment of the invention.As shown in Figure 6, the described video server 1 of the embodiment of the invention can comprise: information receiving module 11, frequency point information acquisition module 12, frequency point sending module 13, facility information sending module 14 and frequency preassignment module 15; Wherein the structure of information receiving module 11, frequency point information acquisition module 12, frequency point sending module 13 and facility information sending module 14 can referring to associated description embodiment illustrated in fig. 3, not given unnecessary details at this.
Frequency preassignment module 15 be used for to adopt self-study mode subregion and/or counts at times the focus channel, and is described focus channel subregion and/or preassignment frequency at times;
In the specific implementation, described frequency preassignment module 15 adopts the self-study modes to count the focus channel, and is described focus channel preassignment frequency, wherein, described self-study mode can for:
Described frequency preassignment module 15 is at least one focus channel preassignment frequency, for example, channel A is the focus channel, and described frequency preassignment module 15 is fixedly frequency 268 of its preassignment one, then the user in any zone when section in office is watched channel A, all uses frequency 268 to carry out plug-flow;
Region code according to videoconference client is at least one focus channel preassignment frequency, and for example, channel A is the focus channel at regional B, and then described frequency preassignment module 15 is set to the corresponding frequency of focus channel A at regional B with frequency 268;
The time period of broadcasting according to program is at least one focus channel preassignment frequency, and for example, channel A was the focus channel at 19 o'clock to 21 o'clock, and then described frequency preassignment module 15 was set to the corresponding frequency of focus channel A at 19 o'clock to 21 frequencies 268 of naming a person for a particular job;
The time period of broadcasting according to the region code of videoconference client and program is at least one focus channel preassignment frequency, for example, channel A is the focus channel 19 o'clock to 21 o'clock of regional D, and then described frequency preassignment module 15 was set to the corresponding frequency of focus channel A at 19 o'clock of regional D to 21 frequencies 268 of naming a person for a particular job.
In embodiments of the present invention, by video server IP address and the port numbers of ED is sent to stream pushing server, the transport stream of the channel of correspondence is pushed to the described port numbers of described ED by stream pushing server, need not to add multicast by ED equipment forward end server request, and return response message and notify ERM, reduced the dependence to ED, reduced the coupling between ERM and the ED, utilize existing ED equipment can realize the deployment of SDV system, greatly reduced the lower deployment cost of SDV system, and adopt the self-study mode to focus channel preassignment frequency, improved the efficient of video stream pushing, promoted the intelligent of SDV system.
See also Fig. 7, a kind of structural representation of system of the video stream pushing based on the switch type video broadcasting is provided for the embodiment of the invention.As shown in Figure 7, the described system of the embodiment of the invention comprises: video server 1, videoconference client 2, edge resource management ERM3, stream pushing server 4 and edge device ED5, wherein, the structure of described video server 1 can referring to the description of the described embodiment of Fig. 3-Fig. 6, not given unnecessary details at this.
Described videoconference client 2 is used for sending channel request information to described video server, the frequency that returns according to described channel request information by receiving described video server, and the frequency that described video server is returned carries out frequency locking;
In the specific implementation, when described videoconference client 2 starts, perhaps when described videoconference client 2 switching channels, described videoconference client 2 sends channel request information with the transport stream to described video server 1 request channel to described video server 1, described channel request information is carried the region code of described videoconference client and the ID of channel, when receiving the frequency that described video server 1 returns according to described channel request information, the frequency that 2 pairs of described video servers 1 of described videoconference client return carries out frequency locking, and the transport stream of the described channel that pushes of ED5 corresponding to the frequency that the described video server 1 that receives is returned is carried out output display.
Described ERM3, being used for according to the region code that described video server sends is the idle frequency of described channel allocation, and the network address information of the ED5 that described idle frequency and described idle frequency is corresponding is back to described video server;
In the specific implementation, when if described video server 1 is asked idle frequency to described ERM3, described ERM3 receives the region code that described video server 1 sends, by the algorithm of self presetting the region code of described videoconference client 2 is calculated, obtain the network address information of optimum ED5, the network address information of the idle frequency that described ERM3 is indicated with the network address information of the ED5 of described optimum and the ED5 of described optimum is sent to described video server 1.
Please in the lump referring to Fig. 8, provide a kind of structural representation of stream pushing server for the embodiment of the invention.As shown in Figure 8, described stream pushing server 4 comprises:
Facility information receiver module 41 is used for the ID of the channel that the receiver, video server sends and the network address information of ED5, and the network address information of described ED5 comprises IP address and the port numbers of described ED5;
In the specific implementation, when videoconference client 2 starts, perhaps when described videoconference client 2 switching channels, described videoconference client 2 is to the transport stream of described video server 1 request channel, described video server 1 is according to the region code of described videoconference client 2 and the ID of described channel, the network address information of the ED5 that obtains frequency and be associated with described frequency, the network address information of the ED5 that described video server 1 is corresponding with the ID of described channel and described frequency is sent to described facility information receiver module 41, and described facility information receiver module 41 receives the ID of the described channel that described video server 1 sends and the network address information of the ED5 that the frequency that obtains with described video server 1 is corresponding.
Wherein, the network address information of described ED5 can comprise IP address and the port numbers of described ED5.
Transport stream acquisition module 42 is for the transport stream of obtaining described channel according to the ID of described channel;
In the specific implementation, described transport stream acquisition module 42 can add multicast, the transport stream of the described channel that the receiving group net returns to the multicast network application according to the ID of described channel.
Transport stream sending module 43 is for the described port numbers that the transport stream of described channel is pushed to described ED5;
In the specific implementation, described transport stream sending module 43 can adopt the mode of IP-based TS transmission, the transport stream of described channel is pushed to the described port numbers of described ED5, described ED5 determines the frequency that needs push according to the port of the transport stream that receives described channel, and described transport stream is converted to radiofrequency signal, push to described frequency.
Need to prove, when described video server 1 is sent to stream pushing server with the network address information of the ID of described channel and ED5, the frequency that also described video server 1 is obtained is sent to described videoconference client 2, so that described videoconference client 2 is when receiving the frequency that described video server 1 obtains, the frequency of described videoconference client 2 these frequencies of locking, when described ED5 sends described radiofrequency signal to this frequency, described videoconference client 2 is according to the described radiofrequency signal of frequency acquisition of the frequency of locking, and by radiofrequency signal is processed, obtain described transport stream.
Described ED5 is used for receiving the transport stream that described stream pushing server sends, and sends described transport stream according to the port numbers of reception transport stream to the frequency of appointment;
In the specific implementation, described ED5 receives the transport stream of transport stream sending module 43 transmissions of described stream pushing server 4, and the port numbers of the transport stream that sends according to the described transport stream sending module of receive 43 determines the frequency of needs plug-flow, and described ED5 can be converted to the frequency that radiofrequency signal is sent to required plug-flow with described transport stream.
Need to prove, described videoconference client 2 can obtain described radiofrequency signal according to the frequency of the frequency of locking, and described radiofrequency signal is processed, and obtains described transport stream and carries out output display.
In embodiments of the present invention, by video server IP address and the port numbers of ED is sent to stream pushing server, the transport stream of the channel of correspondence is pushed to the described port numbers of described ED by stream pushing server, need not to add multicast by ED equipment forward end server request, and return response message and notify ERM, reduced the dependence to ED, reduced the coupling between ERM and the ED, utilize existing ED equipment can realize the deployment of SDV system, greatly reduced the lower deployment cost of SDV system, and adopt the self-study mode to focus channel preassignment frequency, improved the efficient of video stream pushing, promoted the intelligent of SDV system.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.