CN104023273B - VOD method and device - Google Patents
VOD method and device Download PDFInfo
- Publication number
- CN104023273B CN104023273B CN201410302643.1A CN201410302643A CN104023273B CN 104023273 B CN104023273 B CN 104023273B CN 201410302643 A CN201410302643 A CN 201410302643A CN 104023273 B CN104023273 B CN 104023273B
- Authority
- CN
- China
- Prior art keywords
- video
- request
- program
- file
- labeling
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of VOD method and device.The method includes:Receive the video request program reserve requests that first terminal sends;Obtain the home network carrier needed for video request program user;Determine the data storage server corresponding to home network carrier;Before the program request time reaches, the video file with video labeling is saved in determined data storage server;Build the corresponding relation of program request time, ID, video labeling and reservation program request address;When receive that second terminal sends in the program request time carry ID and video labeling video on-demand request when, determine according to corresponding relation and corresponding with ID, program request time and video labeling preengage program request address;Based on the video file response order request with video labeling being located in reservation program request address.By this programme, it is possible to achieve on the premise of program request smoothness is ensured, reduce the purpose of the carrying cost with regard to video file.
Description
Technical field
The present invention relates to field of video processing, more particularly to a kind of VOD method and device.
Background technology
So-called video-on-demand service, i.e., play corresponding video according to the needs of user, fundamentally change user's mistake
Passive type is gone to see the deficiency of TV.And in order to ensure the smoothness of on-demand process, need to ensure that bandwidth is larger and stable.
Wherein, the generally each networking of different bandwidth operators, although each the network bandwidth is larger and stable, no
Bandwidth with the interface between network is often smaller and unstable.Such present situation is without the deployment suspected of video-on-demand service
Bring a lot of difficulties.If wanting best guarantee order program service quality, it should all build data in each network and deposit
Storage server, and the video file for needing to store complete set in each data storage server, such user can pass through
The video-on-demand service accessed in present networks obtains optimal experience.But, the data storage server of each network is stored
There is the video file of complete set, the carrying cost with regard to video file is very big by causing.
Content of the invention
The problems referred to above are based on, the embodiment of the invention discloses a kind of VOD method and device, to ensure program request stream
On the premise of smooth, reduce the carrying cost with regard to video file.Technical scheme is as follows:
In a first aspect, a kind of VOD method is embodiments provided, including:
The video request program reserve requests that first terminal sends are received, wherein, the video request program reserve requests are carried and treated a little
Broadcast the ID of the video labeling, program request time and video request program user of video;
Obtain the home network carrier needed for the video request program user;
Have in the data storage server of corresponding relation with Virtual network operator from least one, determine the local network
Data storage server corresponding to operator;
Before the program request time reaches, the video file with the video labeling is saved in determined number
According to storage server;
The corresponding relation of the program request time, the ID, the video labeling and reservation program request address is built, its
In, preservation of the reservation program request address according to the video file with the video labeling in the data storage server
Path determines;
The ID and the video labeling are carried when receive that second terminal sends in the program request time
Video on-demand request when, according to the corresponding relation determine and the ID, the program request time and the video mark
Know corresponding reservation program request address;
The program request is responded based on the video file with the video labeling being located in the reservation program request address please
Ask.
Optionally, the VOD method provided by the embodiment of the present invention, also includes:
Do not receive when after the program request time that second terminal sends carries the ID and the video
During the video on-demand request of mark, the video labeling and the institute corresponding to the program request time is determined according to the corresponding relation
Reservation program request address is stated, the video file with the video labeling being located in the reservation program request address is deleted.
Optionally, described before the program request time reaches, the video file with the video labeling is saved in
The data storage server that is determined, including:
Before the program request time reaches, judge that there is the video file of the video labeling whether to be stored in is determined
In the data storage server for going out;
When judging that the video file with the video labeling is not held in determined data storage server
When, the video file with the video labeling is distributed to determined data storage server.
Optionally, after the video request program reserve requests that first terminal sends are received, by with the video labeling
Before video file is saved in determined data storage server, also include:
Obtain the local video playback equipment information needed for the video request program user;
From corresponding relation of the video playback apparatus information with file format, the local video playback equipment information is determined
Corresponding file format;
Described the program request time reach before, the video file with the video labeling is saved in and is determined
Data storage server, including:
Before the program request time reaches, by with the video labeling and with the file format video text
Part is saved in determined data storage server.
Optionally, described the program request time reach before, by with the video labeling and have the file
The video file of form is saved in determined data storage server, including:
Before the program request time reaches, judge that there is the video file of the video labeling whether to be stored in is determined
In the data storage server for going out;
If it does not, by with the video labeling and with the file format video file be issued to really
The data storage server that makes;
If it does, judging the video file with the video labeling in determined data storage server
Whether file identification is the file format corresponding to the local video playback equipment information;
When the file format of the video file that judges with the video labeling is not the local video playback equipment
During file format corresponding to information, the video text with the video labeling that will be in the data storage server that determined
Part is separately deposited with the file format corresponding to the local video playback equipment information.
Optionally, after the video request program reserve requests that send of first terminal are received, described the video request program is obtained
Before home network carrier needed for user, also include:
Judge whether the ID has reservation program request authority;
When judging that the ID has reservation program request authority, continue executing with the acquisition video request program and use
The step of home network carrier needed for family.
Optionally, the home network carrier needed for the video request program user is obtained, including:
Send for inquiring about the inquiry request of home network carrier to the first terminal;
Receive the home network carrier fed back after the inquiry request is received by the first terminal.
Second aspect, a kind of video on demand device that the embodiment of the present invention is provided, including:
Reserve requests receiver module, for receiving the video request program reserve requests that first terminal sends, wherein, the video
Program request reserve requests carry the ID of the video labeling, program request time and video request program user for the treatment of order video;
Virtual network operator obtains module, for obtaining the home network carrier needed for the video request program user;
Data storage server determining module, for depositing from least one data that there is corresponding relation with Virtual network operator
In storage server, the data storage server corresponding to the home network carrier is determined;
Video file preserving module, for before the program request time reaches, by the video with the video labeling
File is saved in determined data storage server;
Corresponding relation builds module, for building the program request time, the ID, the video labeling and reservation
The corresponding relation of program request address, wherein, the reservation program request address is according to the video file with the video labeling described
Storing path in data storage server determines;
Program request network address determining module, for carrying the use when receive that second terminal sends in the program request time
During the video on-demand request of family mark and the video labeling, determine and the ID, described according to the corresponding relation
Program request time and the corresponding reservation program request address of the video labeling;
Order request respond module, for based on the regarding with the video labeling being located in the reservation program request address
Frequency file responds the order request.
Optionally, the video on demand device provided by the embodiment of the present invention, also includes:
Video file removing module, for not received carrying that second terminal sends when after the program request time
State ID and the video labeling video on-demand request when, determine that the program request time institute is right according to the corresponding relation
The video labeling that answers and the reservation program request address, by be located in the reservation program request address with the video labeling
Video file delete.
Optionally, the video file preserving module, including:
Judging unit, for before program request time arrival, judging that the video file with the video labeling is
No it is stored in determined data storage server;
For working as, video file Dispatching Unit, judges that the video file with the video labeling is not held in being determined
When in the data storage server for going out, the video file with the video labeling is distributed to determined data storage clothes
Business device.
Optionally, the video on demand device provided by the embodiment of the present invention, also includes:
Facility information obtains module, for, after the video request program reserve requests that first terminal sends are received, having
Before the video file of the video labeling is saved in determined data storage server, the video request program user is obtained
Required local video playback equipment information;
File format determining module, for, from the corresponding relation of video playback apparatus information and file format, determining institute
State the file format corresponding to local video playback equipment information;
The video file preserving module, including:
Video file storage unit, for before the program request time reaches, by with the video labeling and tool
The video file for having the file format is saved in determined data storage server.
Optionally, the video file storage unit, including:
First processes subelement, for before the program request time reaches, judging the video with the video labeling
Whether file is stored in determined data storage server;If it does not, by with the video labeling and have
The video file for having the file format is issued to determined data storage server;If it does, judging to be determined
Data storage server in the file identification of the video file with the video labeling whether be that the local video is broadcast
Put the file format corresponding to facility information;
Second processing subelement, is not institute for working as the file format for judging the video file with the video labeling
When stating the file format corresponding to local video playback equipment information, by the data storage server that is determined with institute
The video file for stating video labeling is separately deposited with the file format corresponding to the local video playback equipment information.
Optionally, the video on demand device provided by the embodiment of the present invention, also includes:
Judge module, for, after the video request program reserve requests that first terminal sends are received, regarding described in the acquisition
Before home network carrier needed for frequency broadcasting user, judge whether the ID has reservation program request authority;When sentencing
Break when the ID there is reservation program request authority, trigger the Virtual network operator and obtain module.
Optionally, the Virtual network operator obtains module, including:
Inquiry request transmitting element, please for inquiring about the inquiry of home network carrier for sending to the first terminal
Ask;
Query Result receiving unit, for receiving the sheet fed back after the inquiry request is received by the first terminal
Ground Virtual network operator.
Compared with prior art, in the embodiment of the present invention, not take in the data storage corresponding to each Virtual network operator
Business device stores the video file of complete set, and is to provide video preprocessor and about puts multicast function, and before the program request time reaches, carries
The front video by reservation program request preserve to video request program user needed for data storage server corresponding to home network carrier
In;And then when the program request time is reached, based on the video file response in the data storage server with regard to preengaging regarding for program request
The order request of frequency, is achieved on the premise of program request smoothness is ensured with this, reduces the mesh of the carrying cost with regard to video file
's.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of the first the smoothness figure for VOD method that Fig. 1 is provided by the embodiment of the present invention;
A kind of smooth figure of second of VOD method that Fig. 2 is provided by the embodiment of the present invention;
A kind of structural representation of video on demand device that Fig. 3 is provided by the embodiment of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
In order to realize, on the premise of program request smoothness is ensured, reducing the purpose of the carrying cost with regard to video file, this
Bright embodiment provides a kind of VOD method and device.
The first below VOD method provided by the embodiment of the present invention is introduced.
Wherein, the VOD method provided by the embodiment of the present invention is applied to server, and the server is:With first eventually
The server that the client software with video request program and reservation point multicast function in end and second terminal is associated.Wherein, should
First terminal and second terminal can be with same terminals, or different terminals;Also, first terminal and second terminal are equal
Can be:Smart mobile phone, panel computer, notebook computer etc., and in first terminal and second terminal with video request program and
The client software of multicast function is put in reservation:Browser or the special video request program software independently of browser.
As shown in figure 1, a kind of VOD method, can include:
S101, receives the video request program reserve requests that first terminal sends, and wherein, the video request program reserve requests are carried and treated
The ID of the video labeling of order video, program request time and video request program user;
The playing fluency of the video of program request in order to ensure, client of the video request program user in first terminal is signed in
After the software of end, video request program reservation instruction can be sent to first terminal by specific operation;And first terminal is receiving this
After video request program reservation instruction, the video request program that can be sent corresponding to the video request program reservation instruction to server is invited in advance
Ask.
Wherein, specific operation can be:Select in reservation program request interface or input treat order video video labeling and
The operation of program request time.Also, the program request time can be a specific reproduction time, can be reproduction time section, and this is all
It is rational.
S102, obtains the home network carrier needed for video request program user;
Receiving the video request program reserve requests that terminal sends, it is possible to obtain video request program user plays this and treats that program request is regarded
Required home network carrier during frequency.
Wherein, the home network carrier of the terminal is obtained, can be included:
Obtain the home network carrier corresponding to the ID of video request program user in historical record.
Certainly, the home network carrier needed for video request program user is obtained, it is also possible to included:
Send for inquiring about the inquiry request of home network carrier to first terminal;
Receive the home network carrier fed back after the inquiry request is received by first terminal.
Wherein, first terminal receive server transmission the inquiry request for inquiring about home network carrier after,
Selection interface can be shown to video request program user, to indicate that video request program user selects required home network carrier, be entered
And selected for video request program user home network carrier is fed back to server;Or, first terminal is receiving service
After the inquiry request for inquiring about home network carrier that device sends, inputting interface can be shown to video request program user, with
Indicate the home network carrier needed for video request program user input, and then the local network fortune is input into by video request program user
Battalion business feeds back to server.
It is emphasized that the home network carrier needed for video request program user is often referred to video request program user broadcasting being somebody's turn to do
The home network carrier of utilized terminal when order video.Wherein, when for preengaging the first terminal of program request and for broadcasting
Put video second terminal identical when, the network that the home network carrier needed for video request program user is utilized by first terminal
Operator;And when the first terminal for preengaging program request is different with the second terminal for playing video, video request program user
The Virtual network operator that required home network carrier is utilized by second terminal.
S103, is had in the data storage server of corresponding relation with Virtual network operator from least one, determines that this is local
Data storage server corresponding to Virtual network operator;
Wherein, the server is associated with the data storage server that at least one and Virtual network operator have corresponding relation.
After the home network carrier needed for video request program user is obtained, can have from least one with Virtual network operator corresponding
In the data storage server of relation, the data storage server corresponding to the home network carrier is determined.For example:North
Corresponding first data storage server of capital UNICOM, corresponding second data storage server of Beijing movement, Beijing Telecom the corresponding 3rd
Data storage server, after the home network carrier needed for acquisition video request program user is Beijing UNICOM, it may be determined that should
Data storage server corresponding to home network carrier is the first data storage server.
S104, before program request time reaches, the video file with the video labeling is saved in and is determined
Data storage server;
In order to ensure video playback fluency, before the program request time reaches, can there will be regarding for the video labeling
Frequency file is saved in determined data storage server.
Wherein, before program request time reaches, the video file with the video labeling is saved in and determined
Data storage server, can include:
Before program request time reaches, judge to have the video file of the video labeling whether to be stored in and determined
In data storage server;
When judging that the video file with the video labeling is not held in determined data storage server,
The video file with the video labeling is distributed to determined data storage server.
S105, builds the corresponding relation of program request time, the ID, the video labeling and reservation program request address;
Wherein, the video file of reservation program request address foundation with the video labeling is in the data storage server
Storing path determines.
Order video is treated in order to find, before the program request time reaches, the program request time, the use can be built
The corresponding relation of family mark, the video labeling and reservation program request address, and then after video on-demand request is received, according to this pair
Should be related to that finding this treats order video.
S106, carries the ID and the video labeling when receive that second terminal sends in the program request time
During video on-demand request, determine according to the corresponding relation corresponding pre- with the ID, the program request time and the video labeling
About program request address;
S107, responding the program request based on the video file with the video labeling being located in the reservation program request address please
Ask.
Wherein, video request program user can sign in the client software of second terminal, and then pass through in the program request time
Second terminal sends the video on-demand request for carrying the ID and the video labeling;And then server is in the program request time
After receiving the video on-demand request for carrying the ID and the video labeling that second terminal sends, can be according to this pair
Determination reservation program request address corresponding with the ID, the program request time and the video labeling should be related to, and should based on being located at
The video file with the video labeling in reservation program request address responds the order request.Need it is once more emphasized that, this
Two terminals can be first terminal, or other-end.
Further, after the video request program reserve requests that receiving terminal sends, described acquisition video request program is used
Before home network carrier needed for family, can also include:
Judge whether the ID has reservation program request authority;
When judging that the ID has reservation program request authority, the acquisition video request program user institute is continued executing with
The step of home network carrier for needing.
Further, order video is treated effectively in order to ensure data storage server storage, the VOD method
Can also include:
Do not receive when after the program request time that second terminal sends carries the ID and the video labeling
During video on-demand request, the video labeling and reservation program request ground corresponding to the program request time is determined according to the corresponding relation
Location, the video file with the video labeling being located in the reservation program request address is deleted.
Compared with prior art, in the embodiment of the present invention, not take in the data storage corresponding to each Virtual network operator
Business device stores the video file of complete set, and is to provide video preprocessor and about puts multicast function, and before the program request time reaches, carries
The front video by reservation program request preserve to video request program user needed for data storage server corresponding to home network carrier
In;And then when the program request time is reached, based on the video file response in the data storage server with regard to preengaging regarding for program request
The order request of frequency, is achieved on the premise of program request smoothness is ensured with this, reduces the mesh of the carrying cost with regard to video file
's.
It is understood that being stored in the video text with the video labeling in determined data storage server
The file format of part can be general format, so that second terminal is capable of identify that and plays and treats that program request is regarded in most cases
Frequently.Further, in order to ensure treating terminal recognition and broadcasting that order video can be utilized by video request program user, the present invention
Embodiment provides another VOD method.
Wherein, the VOD method provided by the embodiment of the present invention is applied to server, and the server is:With first eventually
The server that the client software with video request program and reservation point multicast function in end and second terminal is associated.Wherein, should
First terminal and second terminal can be with same terminals, or different terminals;Also, first terminal and second terminal are equal
Can be:Smart mobile phone, panel computer, notebook computer etc., and in first terminal and second terminal with video request program and
The client software of multicast function is put in reservation:Browser or the special video request program software independently of browser.
As shown in Fig. 2 a kind of VOD method, can include:
S201, receives the video request program reserve requests that first terminal sends, and wherein, the video request program reserve requests are carried and treated
The ID of the video labeling of order video, program request time and video request program user;
S202, obtains the home network carrier needed for video request program user;
Wherein, in the present embodiment, S201-S202 is similar to the S101-S102 of above-described embodiment, and therefore not to repeat here.
S203, obtains the local video playback equipment information needed for video request program user;
Wherein, the order video for the treatment of needed for video request program user is can determine that by local video playback equipment information
File format.Wherein, in practical application, the file format of video file can be:AVI(Audio Video
Interleaved, Audio Video Interleaved), MPEG, RealVideo etc..
Wherein, the local video playback equipment information needed for video request program user is obtained, can be included:
Obtain the local video playback equipment information corresponding to the ID of video request program user in historical record.
Certainly, the home network carrier needed for video request program user is obtained, it is also possible to included:
Send for inquiring about the inquiry request of local video playback equipment information to first terminal;
Receive the local video playback equipment information fed back after the inquiry request is received by first terminal.
Wherein, first terminal please in the inquiry for inquiring about local video playback equipment information for receiving server transmission
After asking, selection interface can be shown to video request program user, to indicate that video request program user selects required local video to play
Facility information, and then by selected for video request program user local video playback equipment feedback of the information to server;Or, first
Terminal, can be to video point after the inquiry request for inquiring about local video playback equipment information for receiving server transmission
Broadcasting user shows inputting interface, to indicate the local video playback equipment information needed for video request program user input, and then will regard
The local video playback equipment feedback of the information is input into by frequency broadcasting user is to server.
It is emphasized that the local video playback equipment information needed for video request program user is often referred to video request program user
Play the local video playback equipment information of utilized terminal when order video.Wherein, when for preengaging the first of program request
When terminal is identical with the second terminal for playing video, local video playback equipment information needed for video request program user is the
The video playback apparatus information utilized by one terminal;And when the first terminal and for playing video second for being used for preengaging program request
When terminal is different, the home network carrier needed for video request program user is believed by the video playback apparatus that second terminal is utilized
Breath.
Also, when client software is browser, video playback apparatus information can be:Browser type;Work as client
When end software is independent video request program software, video playback apparatus information can be:The behaviour for playing the terminal for treating order video
Make system type (such as:IOS or Andorid), it is, of course, also possible to the type of the video player by installing.For example, grasp
Make system for IOS when, the file format of corresponding video file can be ts forms:When operating system is Andorid, institute is right
The file format of the video file that answers can be:Mp4 forms.
S204, is had in the data storage server of corresponding relation with Virtual network operator from least one, determines that this is local
Data storage server corresponding to Virtual network operator;
Wherein, the server is associated with the data storage server that at least one and Virtual network operator have corresponding relation.
After the home network carrier needed for video request program user is obtained, can have from least one with Virtual network operator corresponding
In the data storage server of relation, the data storage server corresponding to the home network carrier is determined.For example:North
Corresponding first data storage server of capital UNICOM, corresponding second data storage server of Beijing movement, Beijing Telecom the corresponding 3rd
Data storage server, after the home network carrier needed for acquisition video request program user is Beijing UNICOM, it may be determined that should
Data storage server corresponding to home network carrier is the first data storage server.
S205, from corresponding relation of the video playback apparatus information with file format, determines the local video playback equipment
File format corresponding to information;
Wherein, the video playback apparatus information that is stored with the server and the corresponding relation of file format.Further, server
After local video playback equipment information is obtained, can be from corresponding relation of the video playback apparatus information with file format, really
The fixed file format corresponding to local video playback equipment information.
S206, before the program request time reaches, by with the video labeling and with this document form video text
Part is saved in determined data storage server;
Treat a little to ensure that terminal that video playback fluency and video request program user are utilized is capable of identify that and plays this
Video is broadcast, before the program request time reaches, with the video labeling and with this document form video file is preserved
To the data storage server that is determined.
Wherein, described the program request time reach before, by have the video labeling and with this document form
Video file is saved in determined data storage server, can include:
Before program request time reaches, judge to have the video file of the video labeling whether to be stored in and determined
In data storage server;
If it does not, be issued to the video labeling and with this document form video file being determined
Data storage server;
If it does, judging the text of the video file with the video labeling in determined data storage server
Part identifies whether the file format corresponding to the local video playback equipment information;
When the file format of the video file that judges with the video labeling is not the local video playback equipment information
During corresponding file format, by the video file with the video labeling in the data storage server that is determined with this
File format corresponding to local video playback equipment information is separately deposited.
S207, builds the corresponding relation of program request time, the ID, the video labeling and reservation program request address;
Wherein, the video file of reservation program request address foundation with the video labeling is in the data storage server
Storing path determines.
Order video is treated in order to find, before the program request time reaches, the program request time, the use can be built
The corresponding relation of family mark, the video labeling and reservation program request address, and then after video on-demand request is received, according to this pair
Should be related to that finding this treats order video.
S208, carries the ID and the video labeling when receive that second terminal sends in the program request time
During video on-demand request, determine according to the corresponding relation corresponding pre- with the ID, the program request time and the video labeling
About program request address;
S209, responding the program request based on the video file with the video labeling being located in the reservation program request address please
Ask.
Wherein, video request program user can sign in the client software of second terminal, and then pass through in the program request time
Second terminal sends the video on-demand request for carrying the ID and the video labeling;And then server is in the program request time
After receiving the video on-demand request for carrying the ID and the video labeling that second terminal sends, can be according to this pair
Determination reservation program request address corresponding with the ID, the program request time and the video labeling should be related to, and should based on being located at
The video file with the video labeling in reservation program request address responds the order request.Need it is once more emphasized that, this
Two terminals can be first terminal, or other-end.
Further, after the video request program reserve requests that receiving terminal sends, described acquisition video request program is used
Before home network carrier needed for family, can also include:
Judge whether the ID has reservation program request authority;
When judging that the ID has reservation program request authority, the acquisition video request program user institute is continued executing with
The step of home network carrier for needing.
Further, order video is treated effectively in order to ensure data storage server storage, the VOD method
Can also include:
Do not receive when after the program request time that second terminal sends carries the ID and the video labeling
During video on-demand request, the video labeling and reservation program request ground corresponding to the program request time is determined according to the corresponding relation
Location, the video file with the video labeling being located in the reservation program request address is deleted.
Compared with prior art, scheme described in the present embodiment, it is achieved that ensure program request smoothness on the premise of, reduce with regard to
The purpose of the carrying cost of video file;Also, by obtaining the local video playback equipment letter needed for video request program user
Breath, it can be ensured that treat terminal recognition and broadcasting that order video can be utilized by video request program user.
Corresponding to said method embodiment, a kind of video on demand device is embodiments provided, as shown in figure 3, can
To include:
Reserve requests receiver module 310, for receiving the video request program reserve requests that first terminal sends, wherein, described
Video request program reserve requests carry the ID of the video labeling, program request time and video request program user for the treatment of order video;
Virtual network operator obtains module 320, for obtaining the home network carrier needed for the video request program user;
Data storage server determining module 330, for the number from least one and Virtual network operator with corresponding relation
According to storage server, the data storage server corresponding to the home network carrier is determined;
Video file preserving module 340, for before the program request time reaches, by regarding with the video labeling
Frequency file is saved in determined data storage server;
Corresponding relation build module 350, for build the program request time, the ID, the video labeling and
The corresponding relation of reservation program request address, wherein, the reservation program request address exists according to the video file with the video labeling
Storing path in the data storage server determines;
Program request network address determining module 360, for when having received carrying that second terminal sends in the program request time
State ID and the video labeling video on-demand request when, according to the corresponding relation determine with the ID,
The program request time and the corresponding reservation program request address of the video labeling;
Order request respond module 370, for based on be located in the reservation program request address with the video labeling
Video file respond the order request.
Compared with prior art, in the embodiment of the present invention, not take in the data storage corresponding to each Virtual network operator
Business device stores the video file of complete set, and is to provide video preprocessor and about puts multicast function, and before the program request time reaches, carries
The front video by reservation program request preserve to video request program user needed for data storage server corresponding to home network carrier
In;And then when the program request time is reached, based on the video file response in the data storage server with regard to preengaging regarding for program request
The order request of frequency, is achieved on the premise of program request smoothness is ensured with this, reduces the mesh of the carrying cost with regard to video file
's.
Further, the video on demand device provided by the embodiment of the present invention can also include:
Video file removing module, for not received carrying that second terminal sends when after the program request time
State ID and the video labeling video on-demand request when, determine that the program request time institute is right according to the corresponding relation
The video labeling that answers and the reservation program request address, by be located in the reservation program request address with the video labeling
Video file delete.
Specifically, the video file preserving module 340, can include:
Judging unit, for before program request time arrival, judging that the video file with the video labeling is
No it is stored in determined data storage server;
For working as, video file Dispatching Unit, judges that the video file with the video labeling is not held in being determined
When in the data storage server for going out, the video file with the video labeling is distributed to determined data storage clothes
Business device.
Further, the video on demand device provided by the embodiment of the present invention can also include:
Facility information obtains module, for, after the video request program reserve requests that first terminal sends are received, having
Before the video file of the video labeling is saved in determined data storage server, the video request program user is obtained
Required local video playback equipment information;
File format determining module, for, from the corresponding relation of video playback apparatus information and file format, determining institute
State the file format corresponding to local video playback equipment information;
The video file preserving module 340, can include:
Video file storage unit, for before the program request time reaches, by with the video labeling and tool
The video file for having the file format is saved in determined data storage server.
Specifically, the video file storage unit, can include:
First processes subelement, for before the program request time reaches, judging the video with the video labeling
Whether file is stored in determined data storage server;If it does not, by with the video labeling and have
The video file for having the file format is issued to determined data storage server;If it does, judging to be determined
Data storage server in the file identification of the video file with the video labeling whether be that the local video is broadcast
Put the file format corresponding to facility information;
Second processing subelement, is not institute for working as the file format for judging the video file with the video labeling
When stating the file format corresponding to local video playback equipment information, by the data storage server that is determined with institute
The video file for stating video labeling is separately deposited with the file format corresponding to the local video playback equipment information.
Further, the video on demand device provided by the embodiment of the present invention can also include:
Judge module, for, after the video request program reserve requests that first terminal sends are received, regarding described in the acquisition
Before home network carrier needed for frequency broadcasting user, judge whether the ID has reservation program request authority;When sentencing
Break when the ID there is reservation program request authority, trigger the Virtual network operator and obtain module.
Specifically, the Virtual network operator obtains module 320, can include:
Inquiry request transmitting element, please for inquiring about the inquiry of home network carrier for sending to the first terminal
Ask;
Query Result receiving unit, for receiving the sheet fed back after the inquiry request is received by the first terminal
Ground Virtual network operator.
For system or device embodiment, as which is substantially similar to embodiment of the method, so the comparison of description is simple
Single, related part is illustrated referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or deposit between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that a series of process, method, article or equipment including key elements not only includes that those will
Element, but also other key elements including being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
One of ordinary skill in the art will appreciate that realize that all or part of step in said method embodiment is can
Completed with instructing the hardware of correlation by program, described program can be stored in computer read/write memory medium,
The storage medium for obtaining designated herein, such as:ROM/RAM, magnetic disc, CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, protection scope of the present invention is not intended to limit.All
Any modification, equivalent substitution and improvements that is made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
Interior.
Claims (14)
1. a kind of VOD method, it is characterised in that include:
The video request program reserve requests that first terminal sends are received, wherein, the video request program reserve requests are carried and treat that program request is regarded
The ID of the video labeling of frequency, program request time and video request program user;
Obtain the home network carrier needed for the video request program user;
Have in the data storage server of corresponding relation with Virtual network operator from least one, determine the local network operation
Data storage server corresponding to business;
Before the program request time reaches, the video file with the video labeling is saved in determined data and is deposited
Storage server;
The corresponding relation of the program request time, the ID, the video labeling and reservation program request address is built, wherein,
The reservation program request address is according to the video file with the video labeling in the determined data storage server
In storing path determine;
Regarding for the ID and the video labeling is carried when receive that second terminal sends in the program request time
During frequency order request, determine and the ID, the program request time and the video labeling pair according to the corresponding relation
The reservation program request address that answers;
The order request is responded based on the video file with the video labeling being located in the reservation program request address.
2. method according to claim 1, it is characterised in that also include:
Do not receive when after the program request time that second terminal sends carries the ID and the video labeling
Video on-demand request when, determine the video labeling corresponding to the program request time and described pre- according to the corresponding relation
About program request address, the video file with the video labeling being located in the reservation program request address is deleted.
3. method according to claim 1 and 2, it is characterised in that described before the program request time reaches, will have
The video file of the video labeling is saved in determined data storage server, including:
Before program request time reaches, judge that there is the video file of the video labeling whether to be stored in is determined
In data storage server;
When judging that the video file with the video labeling is not held in determined data storage server, will
The video file with the video labeling is distributed to determined data storage server.
4. method according to claim 1 and 2, it is characterised in that receiving the video request program reservation that first terminal sends
After request, before the video file with the video labeling is saved in determined data storage server, also wrap
Include:
Obtain the local video playback equipment information needed for the video request program user;
From corresponding relation of the video playback apparatus information with file format, determine that the local video playback equipment information institute is right
The file format that answers;
Described the program request time reach before, the video file with the video labeling is saved in determined number
According to storage server, including:
Before the program request time reaches, with the video labeling and with the file format video file is protected
It is stored to determined data storage server.
5. method according to claim 4, it is characterised in that described before the program request time reaches, will be with institute
State video labeling and the video file with the file format is saved in determined data storage server, including:
Before program request time reaches, judge that there is the video file of the video labeling whether to be stored in is determined
In data storage server;
If it does not, be issued to the video labeling and with the file format video file being determined
Data storage server;
If it does, judging the file of the video file with the video labeling in determined data storage server
Identify whether the file format corresponding to the local video playback equipment information;
When the file format of the video file that judges with the video labeling is not the local video playback equipment information
During corresponding file format, by the video file with the video labeling in the data storage server that is determined with
File format corresponding to the local video playback equipment information is separately deposited.
6. method according to claim 1 and 2, it is characterised in that receiving the video request program reservation that first terminal sends
After request, before the home network carrier obtained needed for the video request program user, also include:
Judge whether the ID has reservation program request authority;
When judging that the ID has reservation program request authority, the acquisition video request program user institute is continued executing with
The step of home network carrier for needing.
7. method according to claim 1 and 2, it is characterised in that obtain the LAN needed for the video request program user
Network operator, including:
Send for inquiring about the inquiry request of home network carrier to the first terminal;
Receive the home network carrier fed back after the inquiry request is received by the first terminal.
8. a kind of video on demand device, it is characterised in that include:
Reserve requests receiver module, for receiving the video request program reserve requests that first terminal sends, wherein, the video request program
Reserve requests carry the ID of the video labeling, program request time and video request program user for the treatment of order video;
Virtual network operator obtains module, for obtaining the home network carrier needed for the video request program user;
Data storage server determining module, for taking from least one data storage that there is corresponding relation with Virtual network operator
In business device, the data storage server corresponding to the home network carrier is determined;
Video file preserving module, for before the program request time reaches, by the video file with the video labeling
It is saved in determined data storage server;
Corresponding relation builds module, for building the program request time, the ID, the video labeling and reservation program request
The corresponding relation of address, wherein, the reservation program request address according to the video file with the video labeling described really
Storing path in the data storage server that makes determines;
Program request network address determining module, for carrying user's mark when receive that second terminal sends in the program request time
When knowing the video on-demand request with the video labeling, determine according to the corresponding relation and the ID, the program request
Time and the corresponding reservation program request address of the video labeling;
Order request respond module, for based on the video text with the video labeling being located in the reservation program request address
Part responds the order request.
9. device according to claim 8, it is characterised in that also include:
Video file removing module, carries the use for do not receive that second terminal sends when after the program request time
During the video on-demand request of family mark and the video labeling, determine corresponding to the program request time according to the corresponding relation
The video labeling and the reservation program request address, will be located at the regarding with the video labeling in the reservation program request address
Frequency file is deleted.
10. device according to claim 8 or claim 9, it is characterised in that the video file preserving module, including:
Judging unit, for before the program request time reaches, judging to have whether the video file of the video labeling is protected
Exist in determined data storage server;
Video file Dispatching Unit, for be not held in being determined when the video file that judge with the video labeling
When in data storage server, the video file with the video labeling is distributed to determined data storage service
Device.
11. devices according to claim 8 or claim 9, it is characterised in that also include:
Facility information obtains module, for after the video request program reserve requests that send of first terminal are received, will be with described
Before the video file of video labeling is saved in determined data storage server, obtain needed for the video request program user
Local video playback equipment information;
File format determining module, for, from the corresponding relation of video playback apparatus information and file format, determining described
File format corresponding to ground video playback apparatus information;
The video file preserving module, including:
Video file storage unit, for the program request time reach before, by with the video labeling and have institute
The video file for stating file format is saved in determined data storage server.
12. devices according to claim 11, it is characterised in that the video file storage unit, including:
First processes subelement, for before the program request time reaches, judging the video file with the video labeling
Whether it is stored in determined data storage server;If it does not, by with the video labeling and have institute
The video file for stating file format is issued to determined data storage server;If it does, judging determined number
Whether the file identification of the video file with the video labeling according to storage server is that the local video broadcasting sets
Standby file format corresponding to information;
Second processing subelement, is not described for the file format when the video file that judges with the video labeling
Ground video playback apparatus information corresponding to file format when, will regard with described in the data storage server that is determined
The video file that frequency marking is known separately is deposited with the file format corresponding to the local video playback equipment information.
13. devices according to claim 8 or claim 9, it is characterised in that also include:
Judge module, for after the video request program reserve requests that send of first terminal are received, described obtains the video point
Before home network carrier needed for broadcasting user, judge whether the ID has reservation program request authority;When judging
When the ID has reservation program request authority, trigger the Virtual network operator and obtain module.
14. devices according to claim 8 or claim 9, it is characterised in that the Virtual network operator obtains module, including:
Inquiry request transmitting element, for sending for inquiring about the inquiry request of home network carrier to the first terminal;
Query Result receiving unit, for receiving the LAN fed back after the inquiry request is received by the first terminal
Network operator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410302643.1A CN104023273B (en) | 2014-06-27 | 2014-06-27 | VOD method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410302643.1A CN104023273B (en) | 2014-06-27 | 2014-06-27 | VOD method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104023273A CN104023273A (en) | 2014-09-03 |
CN104023273B true CN104023273B (en) | 2017-03-15 |
Family
ID=51439809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410302643.1A Active CN104023273B (en) | 2014-06-27 | 2014-06-27 | VOD method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104023273B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270669A (en) * | 2014-09-29 | 2015-01-07 | 深圳市杰科电子有限公司 | Network program on demand system and network program on demand method |
CN105187855A (en) * | 2015-07-14 | 2015-12-23 | 中国科学院信息工程研究所 | Video-on-demand system based on Hadoop and Red5 and method |
CN105871974A (en) * | 2015-11-16 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Video subscription method and system, server and router |
CN105898372A (en) * | 2015-12-15 | 2016-08-24 | 乐视云计算有限公司 | Live video to video-on-demand method and system |
CN107147945B (en) * | 2016-03-01 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Multimedia resource playing system, method and device |
CN106302156A (en) * | 2016-09-18 | 2017-01-04 | 深圳市青柠互动科技开发有限公司 | A kind of live broadcasting method solving region network discrepancy time delay and system |
CN109819276B (en) * | 2017-11-20 | 2020-12-11 | 腾讯科技(深圳)有限公司 | Video playing method and device, computer equipment and storage medium |
CN108495190B (en) * | 2018-01-29 | 2021-08-20 | 北京奇艺世纪科技有限公司 | On-line video on-demand control method and device |
CN110636323B (en) * | 2019-10-15 | 2021-11-23 | 博科达(北京)科技有限公司 | Global live broadcast and video on demand system and method based on cloud platform |
CN111107436A (en) * | 2019-12-12 | 2020-05-05 | 视联动力信息技术股份有限公司 | Video-on-demand method and device, terminal equipment and storage medium |
CN111683264B (en) * | 2020-06-16 | 2022-11-04 | 中国联合网络通信集团有限公司 | Video-on-demand method, network equipment and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7991887B2 (en) * | 2005-03-21 | 2011-08-02 | Marvell World Trade Ltd. | Network system for distributing protected content |
CN103369379A (en) * | 2013-06-29 | 2013-10-23 | 深圳市龙视传媒有限公司 | Method for playing recommended content, mobile terminal, server and system for playing recommended content |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070107019A1 (en) * | 2005-11-07 | 2007-05-10 | Pasquale Romano | Methods and apparatuses for an integrated media device |
US8326997B2 (en) * | 2006-11-15 | 2012-12-04 | Opentv, Inc. | Data retrieval in a two-way network |
-
2014
- 2014-06-27 CN CN201410302643.1A patent/CN104023273B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7991887B2 (en) * | 2005-03-21 | 2011-08-02 | Marvell World Trade Ltd. | Network system for distributing protected content |
CN103369379A (en) * | 2013-06-29 | 2013-10-23 | 深圳市龙视传媒有限公司 | Method for playing recommended content, mobile terminal, server and system for playing recommended content |
Also Published As
Publication number | Publication date |
---|---|
CN104023273A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104023273B (en) | VOD method and device | |
CN104980514B (en) | A kind of remote playing control method and device of wireless sound box | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN102571950B (en) | Media content providing and acquiring methods, server and user terminal | |
CN104363484B (en) | A kind of advertisement sending method and device based on video pictures | |
CN107911437A (en) | Method, apparatus, electronic equipment and the storage medium of Screen sharing | |
CN103856389B (en) | Method for creating instant messaging discussion group, system, clients and server | |
CN102523314A (en) | Identifying an efficient destination server | |
CN102387156B (en) | Equipment logging treatment method, device and system | |
CN102333353A (en) | Media content accessing method and device | |
CN104883618A (en) | Method, device, and system for tentatively watching living programs | |
CN107026813A (en) | Access authentication method, system and the portal server of WiFi network | |
CN104836782B (en) | Server, client and data access method and system | |
CN105847277A (en) | Service account share management method and system used for third party application | |
CN102056014B (en) | Stream media recording method and system | |
CN103001982A (en) | Real-time sharing method, real-time sharing device and real-time sharing system | |
CN111865731A (en) | Intelligent equipment adding method and device, intelligent household control panel and storage medium | |
CN106375784A (en) | Method and apparatus for commenting program and receiving comment information of program | |
CN104428803A (en) | Payment method and apparatus and payment element processing method and apparatus | |
CN106921875A (en) | The switching handling method and device of video | |
CN107529066B (en) | The playing method and device of video | |
CN106507127A (en) | A kind of video broadcasting method and device | |
CN105979225A (en) | Monitoring method and device for group video room | |
CN103582170B (en) | The method and apparatus of communication connection is provided for multiple candidate applications in a mobile device | |
CN104053049B (en) | A kind of method and device for playing multimedia messages |
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 |