CN101132518B - Video-on-demand method and system and LAN gateway - Google Patents

Video-on-demand method and system and LAN gateway Download PDF

Info

Publication number
CN101132518B
CN101132518B CN2006100623351A CN200610062335A CN101132518B CN 101132518 B CN101132518 B CN 101132518B CN 2006100623351 A CN2006100623351 A CN 2006100623351A CN 200610062335 A CN200610062335 A CN 200610062335A CN 101132518 B CN101132518 B CN 101132518B
Authority
CN
China
Prior art keywords
program
terminal equipment
request
lan
area network
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
CN2006100623351A
Other languages
Chinese (zh)
Other versions
CN101132518A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100623351A priority Critical patent/CN101132518B/en
Publication of CN101132518A publication Critical patent/CN101132518A/en
Application granted granted Critical
Publication of CN101132518B publication Critical patent/CN101132518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

This invention discloses a method for ordering video programs, which stores video programs in LAN when multiple terminals order a same video program and the watching time is supersositioned, so terminal devices watching the program later can use part of the data watched by one before it to watch the program locally so as to reduce bandwidth occupation between servers and LAN and terminal device can carry out individual operation of quick-in and quick-out according to the needs. This invention also discloses a system for ordering video programs and LAN gateway.

Description

A kind of method and system of video request program and LAN gateway
Technical field
The present invention relates to video on demand techniques, particularly a kind of method and system of video request program and LAN gateway.
Background technology
Video request program (Video On Demand, VOD) be media technology in the ascendant in recent years, it is multidisciplinary that this technology relates to computer technology, the network communications technology, TV tech, multimedia technology, digital compression technology etc., the VOD technology can make the interest of people according to oneself, not by video tape recorder, video disc player and directly oneself computer or TV on video frequency program and the information oneself liked in the request program storehouse, the essence of VOD technology is that the user of information initiatively obtains multimedia messages according to oneself demand.
Home network (Home Network, HN) be a small-sized local area network (LAN) of household internal, Fig. 1 is the home network schematic diagram, usually there is one family gateway 102 (Home Gateway in the home network 104, HG) and a plurality of terminal equipment 103 (Home Network End Device, HNED), terminal equipment 103 is undertaken alternately by home gateway 102 and video server 101, and the various terminal equipments 103 in 102 pairs of home networks 104 of home gateway manage and be responsible for they and extraneous communicating by letter.
Can realize VOD by mode of unicast at present, when program of user's program request, terminal equipment will be set up one by home gateway and video server and be connected and be used to transmit program data under this mode.Put simultaneously as a plurality of users and just to have a plurality of connections sowing time simultaneously.In home network, when the same program of a plurality of terminal equipments program request successively, this program need be issued repeatedly, even the user of a plurality of terminal equipments watches the time of program to have coincidence also can't the content that had received before to be used.
Because whenever issuing a program data will take certain bandwidth, by the VOD that the multicast mode realizes dual mode is arranged at present for saving bandwidth, a kind of is to broadcast program by server end timing land wheel, for example 3 are carried out multicast one time, 5 are carried out multicast again one time, the mode that this timing wheel is broadcast program can't realize VOD truly, and the user can't freely select reproduction time; Another kind of mode is that server will be gone up the adjacent request to same program (for example in 30 seconds to the request of same program) time and put into a multicast group and carry out multicast, server to a multicast address (as address realm: send data 224.0.0.0-239.255.255.255), all terminal equipments that join in this multicast group can both receive these program datas, though can save bandwidth like this, but, the data in the multicast control fully by server because sending, what the terminal in all multicast group was received in the identical moment all is identical data, so the user can't fast forwarding and fast rewinding.If the user wants to carry out operations such as fast forwarding and fast rewinding, must withdraw from multicast group and be converted to the clean culture form.
From the implementation of above-mentioned existing VOD as can be seen, when following scene occurring: be in the same program of a plurality of user's program requests in the same home network, and they watch the time of program that coincidence is arranged, issue program data with mode of unicast, need issue program data one time for each user, like this viewing time after the user can not utilize viewing time program data the preceding, and need receive identical program data once more, taken a large amount of bandwidth between server and the home network; And issue program data with the multicast mode, and though can save bandwidth, the user but can not carry out these individual operations of fast forwarding and fast rewinding, poor user experience is not VOD truly.
Summary of the invention
In view of this, the invention provides a kind of method and system and LAN gateway of video request program, make when the viewing time that the same video frequency program of a plurality of terminal equipment program requests and a plurality of terminal equipments are arranged in the local area network (LAN) has coincidence, at this video frequency program of local area network (LAN) storage inside, make viewing time after the terminal equipment partial video data that can utilize previous terminal equipment to watch, utilize the program data of local area network (LAN) inside to watch the partial video program, thereby reach the bandwidth occupancy that when video request program, reduces between server and the local area network (LAN).
For achieving the above object, the technical scheme of the present invention's proposition is as follows:
A kind of method of video request program, the method comprising the steps of:
Receive that terminal equipment one sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
Preferably, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if do not have then terminal equipment one keeps and being connected of video server.
Preferably, begun Time Calculation point switching time play according to the program start time of terminal equipment one and terminal equipment two by LAN gateway.
Preferably, as follows when arriving the process of notifying terminal equipment one to switch when putting described switching time:
LAN gateway notice terminal equipment one switches data source; Terminal equipment backward office area network gateway is at a moment's notice initiated real-time streaming protocol RTSP request; LAN gateway is set up the realtime transmission protocol RTP connection and is returned response to terminal equipment one after receiving the RTSP request; Terminal equipment one is received the response back and is added the RTP session and begin transmission to the LAN gateway request, and LAN gateway begins to send program data to terminal equipment one after receiving the request that begins to send.
Preferably, this method also comprises step:
Receive the request of the termination request program that terminal equipment one or terminal equipment two send; Judge whether local area network (LAN) inside has the storage of local area network (LAN) inside of the request correspondence of described termination request program, have and judge then whether local area network (LAN) inside has other-end equipment using the storage of described local area network (LAN) inside, be, then keep the storage of described local area network (LAN) inside,, then do not delete the storage of described local area network (LAN) inside.
Preferably, program request of establishment is tabulated and is controlled described switching.
Preferably, described request list comprises field: programm name, program address, whether occur first, whether program is stored, stores start time point, storage finishes time point, memory location, program start time, relative time switching point, program source target location and the current number that is used.
A kind of system of video request program, this system comprises: video server, LAN gateway and terminal equipment, wherein: terminal equipment, be used for from video server or LAN gateway receiving video program, accept LAN gateway management and control, terminal equipment comprises terminal equipment one and terminal equipment two; Video server is used to provide video frequency program; LAN gateway is used to connect video server and terminal equipment and makes terminal equipment obtain video frequency program by LAN gateway from video server, receives terminal equipment one when LAN gateway and sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
Preferably, described LAN gateway comprises: monitor module, control module and memory module, wherein: memory module is used for according to control module indication video frequency program is stored; Monitor module, be used to monitor the order request of terminal equipment and stop order request, and described order request is sent to control module; Control module is used for when receiving that terminal equipment one sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
Preferably, described control module, tabulation manages to program request to be used to create the request that program request is tabulated, basis receives, and calculates some switching time, indicates memory module to store, notify terminal equipment switch data source to video frequency program.
A kind of LAN gateway of video request program comprises: monitor module, control module and memory module, wherein:
Memory module is used for according to control module indication video frequency program being stored;
Monitor module, be used to monitor the order request of terminal equipment and stop order request, and described order request is sent to control module;
Control module is used for after receiving that terminal equipment one sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
The beneficial effect that the present invention can reach is as follows:
When the viewing time that the same video frequency program of a plurality of terminal equipment program requests and a plurality of terminal equipments are arranged in the local area network (LAN) has coincidence, technical scheme of the present invention is passed through at this video frequency program of local area network (LAN) storage inside, make viewing time after the terminal equipment partial video data that can utilize previous terminal equipment to receive watch, and needn't repeat to obtain data from external server, thereby reach the bandwidth occupancy that when video request program, reduces between external server and the local area network (LAN), when using the local area network (LAN) internal data to watch video frequency program, terminal equipment can also carry out individual operations such as fast forwarding and fast rewinding as required to video frequency program simultaneously.
Description of drawings
Fig. 1 has the home network schematic diagram now;
The schematic flow sheet of Fig. 2 method of the present invention;
Handling process schematic diagram after the reception order request of Fig. 3 the inventive method;
Signalling exchange figure during the switching program data source of Fig. 4 the inventive method between LAN gateway and the terminal equipment;
The reception of Fig. 5 the inventive method stops the handling process schematic diagram after the order request;
Fig. 6 LAN gateway schematic diagram of the present invention.
Embodiment
In order to make goal of the invention of the present invention, technical scheme clearer, the present invention program's main realization principle and embodiment thereof and the corresponding beneficial effect that reaches are explained in detail below in conjunction with each accompanying drawing.
As shown in Figure 2, be the overall procedure schematic diagram of method of the present invention, its main implementation procedure is as follows:
Step 201. receives that terminal equipment one sends the order request of video frequency program;
Step 202. judges whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside;
Step 203. is calculated some switching time, receives described video frequency program when arriving the program data source of notifying terminal equipment one to switch to local area network (LAN) inside when putting switching time.
When receiving the request of the termination request program that terminal equipment sends, the processing procedure of LAN gateway is as follows:
Judge whether local area network (LAN) inside has the storage of local area network (LAN) inside of the request correspondence of described termination request program, have and judge then whether local area network (LAN) inside has other-end equipment using the storage of described local area network (LAN) inside, be, then keep the storage of described local area network (LAN) inside,, then do not delete the storage of described local area network (LAN) inside.
The specific implementation above-mentioned steps, can manage and control the order request of video frequency program and the request that stops in program request tabulation of the inner establishment of local area network (LAN) net, calculate some switching time, the notice terminal equipment switches between the program data source of video server and local area network (LAN) inside.
Below so that inner to create a program request tabulation be the implementation procedure that example describes step 201~step 203 in detail at local area network (LAN):
When starting, in LAN gateway, creates LAN gateway a program request tabulation, LAN gateway is created corresponding record for each order request in the program request tabulation, when certain terminal equipment of local area network (LAN) inside sends the order request of video frequency program, the tabulation of LAN gateway retrieval program request, if the historical record of the corresponding order request of this record has been arranged in the program request tabulation, then begin video frequency program in this order request correspondence of local area network (LAN) storage inside, and calculate some switching time of this order request, when being played to the data source that LAN gateway notifies this terminal equipment to switch to local area network (LAN) inside when putting switching time, terminal equipment continues to watch video frequency program.
When LAN gateway starts, at first in LAN gateway, create a program request tabulation, comprise field: programm name, program address, whether occur first, whether program is stored, stores start time point n, storage finishes time point n, memory location n, program start time, relative time switching point m, program source target location m, the current number that is used.Concrete field name and related description see the following form:
Field name Explanation
Programm name The title of program
Program address The address of program
Whether occur first Whether the order request of representing this program is to occur for the first time
Whether program is stored Represent whether the content of this program has carried out local storage in local area network (LAN) inside, and this program does not need by complete storage, and stored content can be the part of whole program
Storage start time point n Represent this program from when beginning to store, have a plurality ofly that n represents n in this locality, down with
Storage finishes time point n Corresponding with the storage start time point, represent that when this program stops at local storage, has a plurality of
Memory location n Corresponding with the storage start time point, represent the position of this programme content in the local area network (LAN) storage inside, can be physical location, as the core position, can be logical place also, as pathname/filename, have a plurality of.
Program start time The time that program begins to play
Put m relatively switching time Represent can switch to after how long this program begins to play and use local data to proceed to play, have a plurality ofly, m represents m, down with
Program source target location m With to put m relative switching time corresponding, expression switches to the program source of this program when putting m switching time which program source of this locality when playing programs arrives, and has a plurality of
The current number that is used Represent this locality of this program stores data are current by how many programs to be used
Those skilled in the art can do some adaptability revisions to the field in the above-mentioned program request tabulation, such as " putting m relatively switching time " being changed into " putting m absolute switching time ".
Under the situation of creating the program request tabulation, the detailed process that realize step 201~202 is as follows:
As shown in Figure 3, be the handling process schematic diagram of LAN gateway in the inventive method after receiving order request, specifically be described below:
Step 301. LAN gateway is received the order request of terminal equipment one;
Step 302. LAN gateway is that the order request of terminal equipment one is created record one in the program request tabulation;
Step 303~step 308. is according to the tabulation of the programm name in the order request and program address retrieval program request, according to result for retrieval to the field assignment in the program request tabulation, and according to the result for retrieval decision whether at local area network (LAN) storage inside video frequency program:
If there is not the record of order request correspondence in the program request tabulation, promptly there is not corresponding " programm name " and " program address " field, then be record one " programm name ", " program address ", " whether occurring first ", " the current number of times that is used " field assignment in the program request tabulation, owing to do not have corresponding record in the program request tabulation, whether first the order request that shows this program is to occur for the first time, thereby be that " very ", " the current number of times that is used " are 0 with " appearance " field assignment;
If the record two of the order request correspondence of terminal equipment two is arranged in the program request tabulation, then showing is having terminal equipment two at the identical program of program request this moment, and need be specially this moment for writing down one and record two each field assignment in the program request tabulation:
For writing down " whether occurring first ", " relative time switching point m ", " program source target location m " the field assignment in, because the program of program request has had corresponding record, the order request that shows this program is not to occur for the first time, so " whether occurring first " field assignment is " vacation ";
Owing to terminal equipment two has been arranged at this program of program request in the local area network (LAN), so time begins at this video frequency program of local area network (LAN) storage inside, be " whether program is stored " in the record two, " storage start time point n ", " storage finishes time point n ", " memory location n " field assignment simultaneously;
Step 309. LAN gateway is that order request is created the connection of terminal equipment to video server, after each order request begins, all be directly to be connected earlier, have only when the arrival of terminal equipment displaying video programs is put switching time LAN gateway just to notify terminal equipment to switch to the video frequency program that program request is watched in this locality with video server.Connecting and all may there be a buffering course in switch data source and actual beginning between playing at every turn, for example after terminal and server connect, player on the terminal can be put into buffering area earlier with the data that receive, and then reading of data is play from buffering area, and the purpose of doing like this is in order to guarantee that play quality is avoided because the play quality that network problem causes descends;
When step 310. begins to play when the video frequency program of record one correspondence, give " program start time " field assignment in the record one;
Above step 302 and step 309 do not have the requirement or the restriction of sequencing;
Under the situation of creating the program request tabulation, the detailed process that step 203 realizes is as follows: calculate some switching time of the video frequency program of record one correspondence according to " program start time " and " putting m relative switching time " of record one, switching time, point was that " program start time " adds the value of " putting m relative switching time "; The local data source that switches to record two correspondences when the video program play that writes down a correspondence when put switching time is watched the program of record one correspondence, and " the current number that is used " that writes down in two added 1.
Referring to Fig. 4, the Signalling exchange figure during for the switching program data source of the inventive method between LAN gateway and the terminal equipment:
When the terminal equipment displaying video programs arrives when putting switching time, at first LAN gateway is notified terminal equipment switch data source, the terminal equipment backward office area network gateway that has notice is initiated real-time streaming protocol (Real TimeStreaming Protocol, RTSP) request, LAN gateway is set up RTP (The Real-time Transport Protocol after receiving the RTSP request, RTP) connect and return response to terminal equipment, terminal equipment is received the response back and is added the RTP session and begin transmission to the LAN gateway request, and LAN gateway begins to send program data to terminal equipment after receiving request.
Wherein notify the address that has comprised the new data source in the message in terminal equipment switch data source, if switch to local data in the local area network (LAN) from video server, this address is exactly the IP address+file path name of local area network (LAN), if the local data in local area network (LAN) switches to video server, this address is exactly video server domain name+file path name.
Processing procedure when above step 201~203rd, LAN gateway receive the order request of video frequency program.
Processing procedure when LAN gateway receives the termination order request of video frequency program, referring to Fig. 5, the reception that provides for the inventive method stops the handling process schematic diagram after the order request, is specially:
The record that stops the order request correspondence is found in step 501~step 502. retrieval program request tabulation, if being recorded as first, this occurs, then " whether occurring " field value first is " very ", enter step 503, if this record is not to occur first, then " whether occurring " field value first is " vacation ", then enters step 509;
Step 503. is checked " whether program is stored " field, and its value is "Yes" then enters step 504 if this video frequency program has been stored in this locality, and its value is a "No" if this video frequency program does not have storage in this locality, then enters step 506;
Step 504~step 505. judges whether this locality storage that other ask using the video frequency program that stops the order request correspondence according to " the current number of times that is used " field, " the current number of times that is used " is zero, show that then the storage of this this locality do not used by other-end equipment, then enter step 506, otherwise keep this record;
The described record of step 506. deletion;
Step 507~step 508. judges whether this locality storage data corresponding with described record, is, then deletes described local data, not, then enters step 512;
Step 509. judges whether this termination request is using this locality storage of other programs, and "Yes" then enters step 510, and "No" then enters step 511;
" the current number of times that is used " field of the step 510. pair recording of programs that is being used subtracts 1;
The described record of step 511. deletion enters step 512;
Step 512. finishes.
Below in conjunction with concrete application scenarios, method of the present invention is set forth:
Example one:
When LAN gateway starts, at first in LAN gateway, create a program request tabulation, comprise field: programm name, program address, whether occur first, whether program is stored, stores start time point n, storage finishes time point n, memory location n, program start time, relative time switching point m, program source target location m, the current number that is used, the epiphase before concrete field name and related description and the step 201 is together.
Set-top box 1 (Set Top Box, STB1) in the 12:00 program request program A, the length of A is 90 minutes, STB2 is at this program of 12:35 also program request, STB3 begins this program of program request at 1:00.
12:00, HG receives the order request of STB1, in the program request tabulation, create the record of STB1 for STB1, programm name and the tabulation of program address retrieval program request according to the STB1 program request, give STB1 field assignment in the program request tabulation according to result for retrieval, owing to there is not the record of order request correspondence in the program request tabulation, promptly there is not corresponding " programm name " and " program address " field, then be recorded in " programm name " in the program request tabulation of STB1, " program address ", " whether occur first ", " the current number of times that is used " field assignment: " programm name " assignment is " Crazy Stone ", " program address " assignment for " rtp: //for.com/movies/ Crazy Stone .mpg " owing to do not have corresponding record in the program request tabulation, whether first the order request that shows this program is to occur for the first time, thereby be " very " with " appearance " field assignment, " the current number of times that is used " is 0;
HG is that the order request of STB1 is created the connection of STB1 to video server;
When the video frequency program of STB1 correspondence began to play, giving " program start time " field assignment in the record of STB2 was " 12:00 ";
12:35, HG receives the order request of STB2, in the program request tabulation, create the record of STB2 for STB2, programm name and the tabulation of program address retrieval program request according to the STB2 program request, give STB2 field assignment in the program request tabulation according to result for retrieval, because the record of STB1 has been arranged in the program request tabulation, show that then this moment, just there was terminal equipment HG inside at the identical program of program request, need be each field assignment in the program request tabulation of being recorded in of the record of STB1 and STB2 this moment, is specially:
Owing to STB1 has been arranged at this program of program request in the HG, so in time, begin at this video frequency program of HG storage inside, be that "Yes", " storage start time point 1 " assignment are " d:/storage/stb1/movies/001.mp4 " for " 35 minutes ", " memory location 1 " assignment for " the whether program is stored " assignment in the record of STB1 simultaneously, owing to be storage for the first time, so the n value among " storage start time point n ", " the memory location n " is 1, n hereinafter and the value of m also are like this.
Be " whether occurring first ", " relative time switching point 1 ", " program source target location 1 " the field assignment in the record of STB2, because the program of program request has had corresponding record, the order request that shows this program is not to occur for the first time, so " whether occurring " the field assignment first is " vacation ", " relative time switching point 1 " assignment is " 35 minutes ", and " program source target location 1 " is " d:/storage/stb1/movies/001.mp4 ";
HG is that the order request of STB2 is created the connection of STB2 to video server, because after each order request begins, all be directly to be connected earlier, have only when the arrival of terminal equipment displaying video programs is put switching time LAN gateway just to notify terminal equipment to switch to the video frequency program that program request is watched in HG inside with video server;
When the video frequency program of STB2 correspondence began to play, giving " program start time " field assignment in the record of STB2 was " 12:35 ";
1:00, HG receive the order request of STB3, are each the field assignment in the record of STB1 and STB2 and STB3, and " the putting 1 switching time relatively " of calculating STB3 is 35 minutes;
1:10, promptly the data source that HG notifies STB2 to switch to HG inside when STB2 watches 35 minutes is watched program, and " the current number that is used " among the STB1 added 1;
1:30, be to have stopped order request after STB1 has watched 90 minutes, because " whether occurring first " field value in the record of STB1 is " very ", retrieving its " whether program is stored " field is that "Yes" and " the current number that is used " are 1, illustrate that the terminal equipment that other are just being arranged in HG is that STB2 is using local storage, so the record of STB1 is not deleted;
1:35, the data source that HG notified STB3 to switch to HG inside when promptly STB3 watched 35 minutes is watched program, and " the current number that is used " among the STB1 added 1, and " the current number that is used " among the STB1 is 2 at this moment;
2:05, be to have stopped order request after STB2 has watched 90 minutes, because the order request of STB2 is not the request that occurs first, and STB2 has used the local data of STB1 storage, need this moment " the current number of times that is used " in the record of STB1 subtracted 1, delete the record of STB2 then, " the current number that is used " among the STB1 is 1 at this moment;
2:30, be to have stopped order request after STB3 has watched 90 minutes, because the order request of STB3 is not the request that occurs first, and STB3 has used the local data of STB1 storage, need this moment " the current number of times that is used " in the record of STB1 subtracted 1, delete the record of STB3 then, " the current number that is used " among the STB1 is 0 at this moment, if since system can be regular inspection record find that " the current number that is used " is 0 record and not have corresponding with it connection (expression stops the program request of this program) just to delete this record, thereby the record of STB1 is also deleted at this moment.
Example two:
STB1 in the 12:00 program request program A, the length of A is 90 minutes, STB2 is at this program of 12:35 also program request, this moment, HG began A is carried out this locality storage, and to put the relative switching time of calculating STB2 be 35 minutes.
1:00, STB1 have stopped the program request to A, and this moment, HG also stopped the storage to A;
1:10, promptly the data source that HG notifies STB2 to switch to HG inside when STB2 watches 35 minutes is watched program;
1:35, local data is used up, and HG notice STB2 switches to video server and continues to watch program A.
Example three:
STB1 in the 12:00 program request program A, the length of A is 90 minutes, STB2 is at this program of 12:35 also program request, this moment, HG began A is carried out this locality storage, and to put the relative switching time of calculating STB2 be 35 minutes.
1:10, promptly the data source that HG notifies STB2 to switch to HG inside when STB2 watches 35 minutes is watched program;
1:15, STB1 proceed to 85 offices of A soon and watch, and this moment, HG also stored since 85 offices;
1:50 when STB2 sees to 75 minutes, does not have local data to use, and it switches to video server and continues to watch;
2:00 when STB2 sees 85 minutes, switches back and uses the data of HG inside to continue to watch.
Example four:
STB1 in the 12:00 program request program A, the length of A is 90 minutes, STB2 is at this program of 12:35 also program request, this moment, HG began in HG inside A to be stored, and relative switching time of the point that calculates STB2 is 35 minutes.
35 offices that 12:40, STB2 proceed to A soon begin to watch, and this moment, it brought into use the data of HG inside;
System of the present invention, its main design philosophy is to utilize LAN gateway to monitor the request of the terminal equipment of local area network (LAN) net inside, and the request of management control terminal, when identical and viewing time has coincidence when the video frequency program that listens to terminal equipment one and terminal equipment two program requests, at this video frequency program of local area network (LAN) storage inside, LAN gateway calculates some switching time, switches to local data source by LAN gateway notice terminal equipment one when putting switching time and continues to watch video frequency program when arriving.Particularly, system of the present invention comprises: video server, LAN gateway, terminal equipment, wherein:
Video server is used to provide video frequency program;
LAN gateway, being used to connect video server and terminal equipment makes terminal equipment obtain video frequency program by LAN gateway from video server, the request of monitoring and management terminal device, store video programs, the switching of calculating some switching time, control terminal;
Terminal equipment is used for accepting the management and the control of LAN gateway from video server or LAN gateway receiving video program.
LAN gateway comprises: monitor module, control module, memory module, wherein:
Monitor module, be used to monitor the order request of terminal equipment and stop order request, and described request is sent to control module;
Control module, be used for the request that receives from the monitoring module is managed control, calculate the switching of some switching time, control terminal, promptly be used to create the program request tabulation, program request managed, calculate some switching time, indicate memory module to store, notify terminal equipment switch data source video frequency program according to the request that receives.
Memory module is used for according to the instruction of control module video frequency program being stored.
It should be noted that: the function that control module in the LAN gateway and memory module are performed, can finish by local area network (LAN), also can finish by independent equipment respectively, also can finish by the equipment of a common LAN gateway outside.
The present invention also provides a kind of LAN gateway, and its main design philosophy is can be according to the request of terminal equipment, at local area network (LAN) storage inside video frequency program, so that the terminal equipment of back program request can directly be watched the partial video program in local area network (LAN) inside.
Referring to Fig. 6, be the schematic diagram of LAN gateway of the present invention, LAN gateway 601 comprises: monitor module 6011, control module 6012, memory module 6013, wherein:
Monitor module 6011, be used to monitor the order request of terminal equipment and stop order request, and described request is sent to control module.Control module 6012, be used for the request that receives from the monitoring module is managed control, calculate the switching of some switching time, control terminal, tabulation manages to program request particularly promptly to create the request that program request is tabulated, basis receives, and calculates some switching time, indicates memory module to store, notify the terminal equipment switch data to video frequency program.Memory module 6013 is used for according to the instruction of control module video frequency program being stored.
In above-mentioned LAN gateway 601, control module 6012 and memory module 6013 can also be positioned at the outside of LAN gateway 601, are respectively independently local memory device, and control module 6012 and memory module 6013 also can be a common autonomous device.
The use field of the technical scheme of the video request program that the present invention proposes includes but not limited to Digital Television (Digital Television, DTV) field and Internet Protocol Television (IP Television, IPTV) field.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the method for a video request program is characterized in that, the method comprising the steps of:
Receive that terminal equipment one sends the order request of video frequency program;
Create the connection of terminal equipment one for described order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server;
Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
2. the method for claim 1 is characterized in that, judges whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if do not have then terminal equipment one keeps and being connected of video server.
3. the method for claim 1 is characterized in that, has been begun the Time Calculation point of playing switching time according to the program start time of terminal equipment one and terminal equipment two by LAN gateway.
4. the method for claim 1 is characterized in that, the process of notifying terminal equipment one to switch when putting described switching time is as follows when arriving:
LAN gateway notice terminal equipment one switches data source;
Terminal equipment backward office area network gateway is at a moment's notice initiated real-time streaming protocol RTSP request;
LAN gateway is set up the realtime transmission protocol RTP connection and is returned response to terminal equipment one after receiving the RTSP request;
Terminal equipment one is received the response back and is added the RTP session and begin transmission to the LAN gateway request, and LAN gateway begins to send program data to terminal equipment one after receiving the request that begins to send.
5. the method for claim 1 is characterized in that, this method also comprises step:
Receive the request of the termination request program that terminal equipment one or terminal equipment two send;
Judge whether local area network (LAN) inside has the storage of local area network (LAN) inside of the request correspondence of described termination request program, have and judge then whether local area network (LAN) inside has other-end equipment using the storage of described local area network (LAN) inside, be, then keep the storage of described local area network (LAN) inside,, then do not delete the storage of described local area network (LAN) inside.
6. as each described method of claim 1 to 5, it is characterized in that, create a program request and tabulate and control described switching.
7. method as claimed in claim 6, it is characterized in that described request list comprises field: programm name, program address, whether occur first, whether program is stored, stores start time point, storage finishes time point, memory location, program start time, relative time switching point, program source target location and the current number that is used.
8. the system of a video request program is characterized in that, this system comprises: video server, LAN gateway and terminal equipment, wherein:
Terminal equipment is used for from video server or LAN gateway receiving video program, accepts LAN gateway management and control, and terminal equipment comprises terminal equipment one and terminal equipment two;
Video server is used to provide video frequency program;
LAN gateway is used to connect video server and terminal equipment and makes terminal equipment obtain video frequency program by LAN gateway from video server, receives terminal equipment one when LAN gateway and sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
9. system as claimed in claim 8 is characterized in that, described LAN gateway comprises: monitor module, control module and memory module, wherein:
Memory module is used for according to control module indication video frequency program being stored;
Monitor module, be used to monitor the order request of terminal equipment and stop order request, and described order request is sent to control module;
Control module is used for when receiving that terminal equipment one sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
10. system as claimed in claim 9 is characterized in that,
Described control module, tabulation manages to program request to be used to create the request that program request is tabulated, basis receives, and calculates some switching time, indicates memory module to store, notify terminal equipment switch data source to video frequency program.
11. the LAN gateway of a video request program is characterized in that, comprising: monitor module, control module and memory module, wherein:
Memory module is used for according to control module indication video frequency program being stored;
Monitor module, be used to monitor the order request of terminal equipment and stop order request, and described order request is sent to control module;
Control module is used for after receiving that terminal equipment one sends the order request of video frequency program; Create the connection of terminal equipment one for order request, judge whether local area network (LAN) inside has terminal equipment two just at the described video frequency program of program request, if having then described video frequency program is stored in local area network (LAN) inside to video server; Calculate some switching time, switch to from the program data source of local area network (LAN) inside and receive described video frequency program by receive described video frequency program from video server when arriving when putting switching time notice terminal equipment one.
CN2006100623351A 2006-08-26 2006-08-26 Video-on-demand method and system and LAN gateway Active CN101132518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100623351A CN101132518B (en) 2006-08-26 2006-08-26 Video-on-demand method and system and LAN gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100623351A CN101132518B (en) 2006-08-26 2006-08-26 Video-on-demand method and system and LAN gateway

Publications (2)

Publication Number Publication Date
CN101132518A CN101132518A (en) 2008-02-27
CN101132518B true CN101132518B (en) 2010-07-28

Family

ID=39129615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100623351A Active CN101132518B (en) 2006-08-26 2006-08-26 Video-on-demand method and system and LAN gateway

Country Status (1)

Country Link
CN (1) CN101132518B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169493A1 (en) * 2008-12-28 2010-07-01 Yamakawa Devender System and method of switching from streaming content to local content
CN102065089A (en) * 2010-12-30 2011-05-18 广州市聚晖电子科技有限公司 System for realizing digital family audio on demand
CN102202229B (en) * 2011-05-18 2014-02-19 北京瀚景锦河科技有限公司 Method and device for real-time video gateway
US20150373304A1 (en) * 2014-06-18 2015-12-24 Opentv, Inc. User/interaction association via a media gateway
CN104283776A (en) * 2014-09-30 2015-01-14 成都康特电子高新科技有限责任公司 Intelligent community gateway
CN104270683A (en) * 2014-10-08 2015-01-07 成都恒云世纪网络技术有限公司 System for conducting intelligent routing over air and in IP channels according to services and implementation method thereof
CN104219549A (en) * 2014-10-08 2014-12-17 成都恒云世纪网络技术有限公司 Multi-user sharing on-demand achieving system and achieving method thereof
CN107580243A (en) * 2017-09-28 2018-01-12 长沙曙通信息科技有限公司 A kind of demand stream media system comprehensive transmission implementation method
CN108650553A (en) * 2018-03-28 2018-10-12 苏州科可瑞尔航空技术有限公司 Vehicle entertainment order method, device, computer equipment and storage medium
WO2020097803A1 (en) * 2018-11-13 2020-05-22 深圳市欢太科技有限公司 Overlay comment processing method and apparatus, electronic device, and computer-readable storage medium
CN110290394A (en) * 2019-07-15 2019-09-27 宁波华数广电网络有限公司 A kind of video on-demand system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1368811A (en) * 2001-02-06 2002-09-11 北京华诺信息技术有限公司 Device and method for sharing information communication and storage space in broadband network system
CN1464751A (en) * 2002-06-28 2003-12-31 国际商业机器公司 Apparatus and method for equivalent VOD system
CN1642269A (en) * 2004-01-13 2005-07-20 英业达股份有限公司 Sharing type video-frequency requesting-program transmitting method
CN1697412A (en) * 2004-05-12 2005-11-16 三星电子株式会社 Method for sharing audio/video content over network, and structures of sink device, source device, and message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1368811A (en) * 2001-02-06 2002-09-11 北京华诺信息技术有限公司 Device and method for sharing information communication and storage space in broadband network system
CN1464751A (en) * 2002-06-28 2003-12-31 国际商业机器公司 Apparatus and method for equivalent VOD system
CN1642269A (en) * 2004-01-13 2005-07-20 英业达股份有限公司 Sharing type video-frequency requesting-program transmitting method
CN1697412A (en) * 2004-05-12 2005-11-16 三星电子株式会社 Method for sharing audio/video content over network, and structures of sink device, source device, and message

Also Published As

Publication number Publication date
CN101132518A (en) 2008-02-27

Similar Documents

Publication Publication Date Title
CN101132518B (en) Video-on-demand method and system and LAN gateway
CN101160966B (en) Method, device and system of implementing time-shifting TV
US9167302B2 (en) Playlist bookmarking
CN101009812B (en) Network based instant replay and time shifted playback
US7707246B1 (en) Creating a social network around recorded media
CN100518311C (en) Method for reducing response time of direct broadcast band switchover
CN100531381C (en) The method for IPTV STB/unicast seamless switching based on RTP protocol
US8285818B2 (en) System and method of recording and accessing multimedia data
CN102137277B (en) Method, device and system for realizing interactive carousel channels
CN102075795A (en) Method and system for releasing focus television programs
JP2005505192A (en) System for displaying group viewing statistics while watching TV
US9154847B2 (en) Creating client-based playlists with scheduling functionality
CN102333243A (en) VOD (video on demand) device of streaming media in live broadcast
CN101442663A (en) Method, apparatus and system for implementing network television business
CN101325687A (en) Device and method for providing an IPTV service
EP2339839B1 (en) Method and system for allowing users to resume viewing videos among set-top boxes
CN101287095B (en) Implementing method and system for recorded broadcast service of stream media of meeting television
US20090300700A1 (en) Replayable tv system
CN102413369A (en) On-demand method and on-demand system of digital television time-shifting programs
CN101668151B (en) Recording method of internet protocol television (IPTV) and system therefor
CN101505298A (en) Storing and obtaining method for media time shift code stream and multimedia service system
CN101207795A (en) Live broadcast server with time shift function and implementation method thereof
US9788052B1 (en) Multiple recording devices connected in a home network
WO2008141542A1 (en) A method, video device and system for displaying information at the time of switching channels
CN101137048A (en) Method to reduce living broadcast channel switching time under single broadcast mode

Legal Events

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