CN101378490B - Device, client terminal and method for implementing stream medium video order programme - Google Patents

Device, client terminal and method for implementing stream medium video order programme Download PDF

Info

Publication number
CN101378490B
CN101378490B CN2007101211404A CN200710121140A CN101378490B CN 101378490 B CN101378490 B CN 101378490B CN 2007101211404 A CN2007101211404 A CN 2007101211404A CN 200710121140 A CN200710121140 A CN 200710121140A CN 101378490 B CN101378490 B CN 101378490B
Authority
CN
China
Prior art keywords
program request
video
request client
video content
streaming media
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
CN2007101211404A
Other languages
Chinese (zh)
Other versions
CN101378490A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2007101211404A priority Critical patent/CN101378490B/en
Publication of CN101378490A publication Critical patent/CN101378490A/en
Application granted granted Critical
Publication of CN101378490B publication Critical patent/CN101378490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a recording front end of a streaming media video content for realizing streaming media video-on-demand; the recording front end comprises an acquisition unit, an extraction unit and a pre-processing unit. The acquisition unit is used for acquiring video contents from storage equipment; the extraction unit is used for extracting video pictures, of the video contents, that are corresponding to video frames; the pre-processing unit is used for processing the video pictures and storing the pre-processed video contents into the storage equipment. The invention also discloses a device, a client terminal and a method for realizing streaming media video-on-demand. The device, the client terminal and the method for realizing streaming media video-on-demand adopted by the invention relieve the bandwidth load of a streaming media video on demand server and the load of the control request of processing client terminal video-on-demand.

Description

Realize device, client and the method for streaming media video program request
Technical field
The present invention relates to video on demand techniques, relate in particular to a kind of streaming media video content typing front end, device, program request client and method that realizes the streaming media video program request.
Background technology
So-called stream media technology refers to: use the technology of stream technology at the transmission over networks multimedia file, be characterized in and can play while downloading.So-called streaming media video program request technology refers to: the technology of coming the playing stream media video frequency program according to user's demand.Streaming media video program request technology is also referred to as the interactive stream media video on demand techniques.
At present, existing streaming media video program request technology adopts the server/customer end pattern, in advance the streaming media video program is stored on the large storage facilities of server end fully, the memory device of server end can be the streaming media video content data base, is used to store the video frequency program of all client-requested program requests.So, adopt existing streaming media video on-demand device shown in Figure 1, the flow process of existing techniques in realizing streaming media video program request may further comprise the steps:
Step 101, program request client 21 or program request client 22 are initiated order request to streaming media video vod server 1.
Step 102, streaming media video vod server 1 response point are broadcast the order request of client 21 or program request client 22, initiate query requests to memory device 3, inquire about the video frequency program of current program request client-requested program request.
After step 103, streaming media video vod server 1 obtain video frequency program from memory device 3, this video frequency program is returned to the current program request client that connects with streaming media video vod server 1.
From the flow process of above-mentioned existing techniques in realizing streaming media video program request as can be known, adopt prior art can cause the pressure of streaming media video vod server very big, mainly show the bandwidth pressure aspect.Because the streaming media video vod server need be kept an independent connection for each program request client, therefore, all video flowings all need to download from the streaming media video vod server, and bandwidth consumption is very big.Video flowing with a 400kbps code check size calculates, if support 10000 people program request simultaneously, the bandwidth that pure video flowing needs need reach the flow of 400kbps*10000=4000M=4G.
Flow process based on the program request of above-mentioned existing techniques in realizing streaming media video, furthermore, the streaming media video vod server can also be broadcast the video control request of client to institute's acceptance point, respond such as broadcast, F.F., rewind down, time search etc., and will return to the program request client corresponding to the video flowing of video control request form, realize functions such as broadcast, F.F., rewind down, time search in the program request client.
For instance, such as, program request client-requested order video program A, and the current video control request of program request client is a playing request.So, after the streaming media video vod server receives the order request of program request client, earlier send query requests to the streaming media video content data base, inquire the memory address of video frequency program A in the streaming media video content data base after, Query Result is returned to the program request client; Then, the program request client is initiated playing request, takes the video flowing corresponding to this playing request form, and the streaming media video vod server returns to the program request client with video frequency program A.Here, the video flowing corresponding to the playing request form is a normal flow.If the current video control request of program request client is changed into the F.F. request, after then the streaming media video vod server receives this F.F. request, stop the transmission of original normal flow, take video flowing, video frequency program A is returned to the program request client corresponding to this F.F. request form.Here, the video flowing corresponding to this F.F. request form is treated fast-forward streams.
This treated fast-forward streams is generally encoded at the encoder of streaming media video vod server, and by forming through the video independent frame of coding.So-called video independent frame refers to: by the compressed data frames of video compression technology generation, for this compressed data frames, the corresponding decoder of program request client only needs the key frame data that comprised according to these video independent frames, just can direct decoding and restore compression before original image.And the streaming media video vod server extracts corresponding video independent frame according to the speed of program request client F.F..Such as, 8 times of fast F.F.s of program request customer end adopted, then the key frame data in streaming media video vod server extraction in the per 8 seconds video independent frame sends to the program request client, after the program request client receives these key frame data, adopt corresponding decoder decode, and demonstrate original image, come to determine the position of F.F. for the user.If changing into, the current video control request of program request client stops request, then stop F.F., the streaming media video vod server is from the position of current F.F., take to stop to ask the video flowing of form corresponding to this, video frequency program A is returned to the program request client, and client is restarted buffered data and is play.Here, stopping to ask the video flowing of form corresponding to this is normal flow.
From the example of above-mentioned program request client-requested order video program A as can be known, the fast-forward streams that adopts prior art to obtain must rely on the encoder of streaming media video vod server end, and corresponding program request client decoder, just can finish the encoding and decoding of video flowing, and obtain F.F. and show needed original image, other principle that video control request such as rewind down, time search are handled is similarly.So, adopt prior art can cause the pressure of streaming media video vod server very big, mainly show pressure the video control request processing aspect of program request client.
Because when the streaming media video vod server is looked closely the frequency control request at process points blog family, need earlier video flowing to be processed, that is to say, the streaming media video vod server needs normal stream to resolve, then, extract the suitable key frame data that the video independent frame is comprised, and be combined into corresponding to program request client video control request form, return to the program request client through the video flowing of encoding process.And, the streaming media video vod server needs to keep an independent connection for each program request client too, therefore, the streaming media video vod server need be broadcast the video control request of client at difference, the video flowing that will carry out after the independent encoding process returns to corresponding program request client, must cause the reprocessing and the load of streaming media video vod server.
Above-mentioned cause the streaming media video vod server two aspect in the pressure, especially comparatively remarkable with the influence of bandwidth pressure.In order to reduce the bandwidth requirement of streaming media video vod server, need to reduce the employed bandwidth of video flowing itself.
Because Streaming Media generally adopted video coding technique, the application of video coding technique has caused the corresponding program request client of the video flowing needs decoder decode through encoding process, and the decoding of video flowing must have certain data cachedly just can finish.Simultaneously, also can smooth broadcast under the situation of network bandwidth fluctuation in order to make video flowing, also need the certain data of buffer memory.Therefore, cause adopting prior art to handle the video control request, lower as the treatment effeciency of operations such as F.F., rewind down, time search.Need once to wait for that such as, F.F. certain buffer time just can see the corresponding video frame that is fast-forward to the position.Particularly under the less situation of WAN network bandwidth, the time that the user will wait for is just longer, this just causes the user to want to watch unusual difficult that the position of program becomes in search, has reduced the experience that the user uses the streaming media video program request significantly.
In sum, the shortcoming that prior art exists is: because the streaming media video vod server connects for independent network of each program request client maintenance, and the video control request of individual processing program request client, therefore, cause the bandwidth of streaming media video vod server and the video control request of program request client handled the pressure of this two aspect all very big; In order to reduce the bandwidth pressure of streaming media video vod server, directly cause the user to use the experience satisfaction of streaming media video program request to reduce greatly simultaneously.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of device of realizing the streaming media video program request, not only alleviated the pressure of streaming media video vod server two aspects, and has improved the experience satisfaction that the user uses the streaming media video program request greatly.
Another purpose of the present invention is to provide a kind of program request client that realizes the streaming media video program request, not only alleviated the pressure of streaming media video vod server two aspects, and has improved the experience satisfaction that the user uses the streaming media video program request greatly.
A further object of the present invention is to provide a kind of method that realizes the streaming media video program request, not only alleviated the pressure of streaming media video vod server two aspects, and has improved the experience satisfaction that the user uses the streaming media video program request greatly.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of device of realizing the streaming media video program request, this device comprises: streaming media video content typing front end, memory device, streaming media video vod server, program request client, program request client terminal management server and program request client resource information storing device; Wherein,
Streaming media video content typing front end is used for obtaining video content from described memory device, extracts in the described video content video pictures corresponding to frame of video, and carries out preliminary treatment; To store described memory device into through pretreated video content;
Memory device is used for store video content and preliminary treatment rear video content;
The streaming media video vod server after being used to respond the order request of described program request client, is initiated query requests to described memory device, and the video content reentry point that will inquire the program request of described program request client-requested is broadcast client;
The program request client is used for initiating order request to described streaming media video vod server;
The program request client terminal management server is used to manage the current described program request client that logs on described streaming media video vod server;
Program request client resource information storing device, in described program request client via described program request client terminal management server, after reporting the associated storage information of preliminary treatment rear video content of described program request client stores, be used to receive the associated storage information and the storage of the described preliminary treatment rear video content that described program request client reports.
Wherein, the file layout of described memory device is the database form, and then described memory device is specially the streaming media video content data base.
Wherein, described memory device links to each other with described streaming media video vod server, perhaps inserts in the described streaming media video vod server.
Wherein, described memory device comprises the video content memory cell, and preliminary treatment rear video content storage unit; Wherein, the video content memory cell is used to store described video content; Preliminary treatment rear video content storage unit is used to store described preliminary treatment rear video content;
Accordingly, described streaming media video content typing front end, be used for storing described memory device into further be through pretreated video content: with described preliminary treatment rear video content stores to described preliminary treatment rear video content storage unit;
Described streaming media video vod server, be used for initiating query requests to described memory device further be: initiate query requests to described preliminary treatment rear video content storage unit.
Wherein, described preliminary treatment rear video content comprises: video stream data piece index and video stream data piece.
Wherein, described program request client in the described preliminary treatment rear video content of having obtained the request program request, is further used for described program request client resource information storing device is arrived in the associated storage information updating of described preliminary treatment rear video content.
Wherein, the file layout of described program request client resource information storing device is the database form, and then described program request client resource information storing device is specially program request client video source data storehouse.
Wherein, the associated storage information of described preliminary treatment rear video content comprises: corresponding to described video content, and the information of the video stream data piece index of described program request client stores and the information of video stream data piece.
Wherein, described streaming media video vod server, being used to initiate query requests further comprises: by described program request client terminal management server, after described program request client resource information storing device is initiated query requests, according to the associated storage information of the described preliminary treatment rear video content of described program request client resource information storing device storage, inquire about to corresponding program request client.
Wherein, described program request client also is used for storing all or part of described preliminary treatment rear video content according to pre-seting or self tenability, and supports to accept the described preliminary treatment rear video of other program request client downloads content.
Wherein, described program request client terminal management server is further used for managing the communication information that carries out communication between described program request client and other program request client, and other program request client is downloaded described preliminary treatment rear video content according to described communication information;
Described program request client resource information storing device is further used for managing the associated storage information of the described preliminary treatment rear video content of each program request client stores.
Wherein, described communication information comprises IP address and PORT COM, and IP address, each program request client that then described program request client terminal management server is further used for managing each program request client can supply the port of connection.
A kind of program request client that realizes the streaming media video program request, this program request client comprises: transmission/receiving element, preliminary treatment rear video content information generation unit, memory cell; Wherein,
Transmission/receiving element is used for receiving pretreated video content via the streaming media video vod server from memory device, and sends to described memory cell and described preliminary treatment rear video content information generation unit; According to the download request of other program request clients, described preliminary treatment rear video content is sent to described other program request clients;
Preliminary treatment rear video content information generation unit, be used for according to the pretreated video content that receives, generate the associated storage information of preliminary treatment rear video content, via the program request client terminal management server, report, upgrade and store into program request client resource information storing device;
Memory cell is used to store pretreated video content.
A kind of method that realizes the streaming media video program request, this method comprise carries out preliminary treatment to the original video content of storage, obtains the operation of preliminary treatment rear video content, and this method is further comprising the steps of:
A, program request client log on the streaming media video vod server, and the operation of the described original video content that described program request client selection is desired to watch is initiated order request to described streaming media video vod server;
After B, described streaming media video vod server respond the order request of described program request client, initiate query requests, described original video content corresponding to the program request of described program request client-requested, the associated storage information of the preliminary treatment rear video content that inquires is returned to described program request client, described program request client is downloaded described preliminary treatment rear video content according to the associated storage information of described preliminary treatment rear video content; Wherein,
Streaming media video vod server initiation query requests is specially among the described step B: described streaming media video vod server is initiated query requests via the program request client terminal management server to program request client video source data storehouse; Perhaps, according to described order request, initiate query requests to the program request client terminal management server, and described program request client terminal management server has judged whether that according to described query requests other program request client stores has preliminary treatment rear video content.
Wherein, described preliminary treatment rear video content comprises: video stream data piece index and video stream data piece;
Correspondingly, the associated storage information of described preliminary treatment rear video content comprises: the information of video stream data piece index and the information of video stream data piece.
Wherein, the original video content of storage is carried out preliminary treatment, the operation that obtains preliminary treatment rear video content may further comprise the steps:
A, carry out video when control according to offering described program request client, the time interval minimum value that can reach is preset minimum interval; From described original video content, extract video pictures according to described minimum interval;
When extracting video pictures, the video stream file of dividing in the original video content obtains described video stream data piece, and described video stream data piece is corresponding one by one with the video pictures of extraction;
B, the video pictures that extracts, branch block message and other relevant information of described video stream file of described video stream file are compressed together, and packing generates the described video stream data piece index of described video stream file;
C, store described video stream data piece index and described video stream data piece into the streaming media video content data base.
Wherein, other relevant information of described video stream file comprises: video flowing name, brief introduction and copyright information.
Wherein, described step b is specially: in the mode that the video pictures of an extraction is packed, generate described video stream data piece index.
Wherein, among the described step B, further according to the concrete selection of described program request client, the information of the described video stream data piece index that inquires or the information of described video stream data piece are returned to described program request client, and offer the program request client and carry out downloading and playing.
Wherein, described program request client is selected to watch from the starting point of described video flowing, then initial video stream data piece in the described video stream data piece content is returned to the program request client;
Accordingly, according to the order of described video stream data piece, the described video stream data piece of described program request client downloads is also play.
Wherein, corresponding to the needs of video control, described program request client selects the play position of the video stream file in the original video content to watch, and then the pairing video stream data piece of the play position of described video stream file index is returned to the program request client;
Accordingly, according to the order of described video stream data piece index, described program request client is downloaded described video stream data piece index earlier, and after having downloaded a described video stream data piece index, with its decoding and demonstration, offer the play position that the program request client is selected described video stream file; Afterwards, corresponding to the play position of selecting, described program request client downloads video stream data piece is also play.
Wherein, also comprise behind the described step B:
C, described program request client are according to storage capacity default or that self support, all or part of described video stream data piece index or the described video stream data piece downloaded are stored, and the information of described video stream data piece index or the information of described video stream data piece is reported to described program request client terminal management server, and store described program request client video source data storehouse into.
Employing the present invention have the following advantages:
One, the present invention is different from prior art, to from the streaming media video vod server, remove fully the processing of video control request, only be improved to and in the video file typing, do a preliminary treatment, and will be subsequently the processing of video control request be placed on the program request client fully and finishes, can reduce the computing load of server significantly.
Two, prior art adopts and at streaming media video vod server end encoder is set, and in the program request client mode that decoder is handled video flowing is set; And the present invention is different from prior art, the processing mode that adopts is: carry out the preliminary treatment in early stage of video flowing by Streaming Media typing front end, and after having extracted video pictures, can adopt general compress technique, video stream data be handled such as JPEG or GIF etc.Owing to removed special Code And Decode process, therefore, not only improved the experience satisfaction that the user uses the streaming media video program request greatly, and these video pictures that obtain can also be applied to a lot of other occasions individually, such as being used in application scenarios such as program propaganda, TV guide, have more practicality.
Three, the present invention is further based on the p2p technology, not only can obtain to want the video flowing watched from the streaming media video vod server, and, also can watch and other program request client of having stored this video flowing obtains video flowing from other.Because based on the characteristic of p2p technology, video flowing by the program request client watch, store many more, the bandwidth that the streaming media video vod server need provide is just more little, therefore, can reduce the bandwidth consumption of streaming media video vod server effectively.
Description of drawings
Fig. 1 is the composition structural representation of prior-art devices;
Fig. 2 is the composition structural representation of apparatus of the present invention;
Fig. 3 is the principle realization flow schematic diagram of the inventive method.
Embodiment
Core concept of the present invention is: on the existing apparatus basis, increased streaming media video content typing front end, it extracts the video pictures in the video content after obtaining video content from memory device, and carries out preliminary treatment; To store memory device into through pretreated video content; After then streaming media video vod server response point is broadcast the order request of client, will broadcast client through pretreated video content reentry point from what memory device inquired.The present invention is different from prior art, need not the encoding operation at streaming media video vod server end, only need do a preliminary treatment in the video content typing, can reduce the computing load of streaming media video vod server significantly.
For making the purpose, technical solutions and advantages of the present invention clearer, by the following examples and with reference to accompanying drawing, the present invention is described in more detail.
A kind of streaming media video content typing front end of realizing the streaming media video program request, this typing front end comprises acquiring unit, extraction unit and pretreatment unit.
Wherein, acquiring unit is used for obtaining video content from memory device.Extraction unit behind acquiring unit acquisition video content, is used for extracting the video pictures of video content corresponding to frame of video.Pretreatment unit is used for video pictures is carried out preliminary treatment, and will store memory device into through pretreated video content.
Here, extraction unit is further used for carrying out video when control according to offering the program request client, and the time interval minimum value that can reach is preset minimum interval; From video content, extract video pictures according to minimum interval.
Here, pretreatment unit is further used for when extracting video pictures, divide video stream file and obtain the video stream data piece, and the video stream data piece is corresponding one by one with the video pictures of extraction.The video pictures that extracts, branch block message and other relevant information of video stream file of video stream file are compressed together, and packing generates the video stream data piece index of video stream file.Store video stream data piece index and video stream data piece into memory device.Wherein, other relevant information of video stream file comprises video flowing name, brief introduction and copyright information.
As shown in Figure 2, a kind of device of realizing the streaming media video program request, this device comprises streaming media video content typing front end 4, memory device 3, streaming media video vod server 1, program request client 21 and program request client 22, in device shown in Figure 2, memory device 3 links to each other with streaming media video vod server 1.Memory device 3 also can be inserted in the streaming media video vod server 1.Wherein, the file layout of memory device 3 is the database form, and then memory device 3 is specially the streaming media video content data base.
Here, streaming media video content typing front end 4 links to each other with memory device 3, is used for obtaining video content from memory device 3, extracts in the video content video pictures corresponding to frame of video, and carries out preliminary treatment; To store memory device 3 into through pretreated video content.
Wherein, streaming media video content typing front end 4 extracts in the video content video pictures corresponding to frame of video, and carries out preliminary treatment and comprise:
A1, carry out video when control according to offering the program request client, the time interval minimum value that can reach is preset minimum interval.
Here, minimum interval refers to: after offering the video frequency program of program request program request that client is asked, the user in the process of displaying video programs, when carrying out the control of videos such as F.F., rewind down, time search, the minimum interval that can reach.Such as, if pre-set minimum interval is 10 seconds, then the user is when selecting F.F., the time interval that can see the F.F. frame of video is 10 seconds, that is: corresponding to the F.F. frame of video, shown video pictures is the formed F.F. sequence of frames of video of video pictures such as 0 second, 10 seconds, 20 seconds, 30 seconds.
B1, when from video content, extracting video pictures according to minimum interval, divide video stream file, obtain the video stream data piece, and the video stream data piece is corresponding one by one with the video pictures of extraction; The video pictures that extracts, branch block message and other relevant information of video stream file of video stream file are compressed together, and packing generates the video stream data piece index of video stream file.So, comprise through streaming media video content typing front end 4 preliminary treatment rear video contents: video stream data piece index and video stream data piece.
Here, memory device 3 links to each other with program request client 22 with program request client 21 via streaming media video vod server 1, is used for store video content and preliminary treatment rear video content.Streaming media video vod server 1 is used for the order request that response point is broadcast client 21 or program request client 22; Initiate query requests to memory device 3, and the video content that will inquire the program request of current program request client-requested returns to this program request client.So-called current program request client refers to: the current program request client that connects with streaming media video vod server 1.Program request client 21 and program request client 22 are used for initiating order request to streaming media video vod server 1.
Wherein, memory device 3 comprises: video content memory cell, and preliminary treatment rear video content storage unit.The video content memory cell is used for store video content; Preliminary treatment rear video content storage unit is used to store preliminary treatment rear video content.
Accordingly, streaming media video content typing front end 1, be used for storing memory device 3 into further be through pretreated video content: with preliminary treatment rear video content stores to pretreated video content memory cell.Streaming media video vod server 1, be used for initiating query requests to memory device 3 further be: initiate query requests to preliminary treatment rear video content storage unit.
A kind of device of realizing the streaming media video program request, this device also comprises: program request client terminal management server 5 and program request client resource information storing device 6.And program request client resource information storing device 6 links to each other with streaming media video vod server 1, program request client 21 and program request client 22 via program request client terminal management server 5.Wherein, the file layout of program request client resource information storing device 6 is the database form, and then program request client resource information storing device 6 is specially program request client video source data storehouse.
Here, the program request client terminal management server is used to manage current program request client 21 and the program request client 22 that logs on streaming media video vod server 1.Program request client resource information storing device 6, in program request client 21 and program request client 22, via program request client terminal management server 5, after reporting the associated storage information of preliminary treatment rear video content of program request client 21 and program request client 22 storages, be used for associated storage information and storage that acceptance point is broadcast the preliminary treatment rear video content that client 21 and program request client 22 report.Accordingly, program request client 21 and program request client 22 in the preliminary treatment rear video content of obtaining the request program request, are further used for associated storage information updating with preliminary treatment rear video content to program request client resource information storing device 6.Streaming media video vod server 1, being used to initiate query requests further comprises: by program request client terminal management server 5, after program request client resource information storing device 6 is initiated query requests, according to the associated storage information of the preliminary treatment rear video content of program request client resource information storing device 6 storage, inquire about to corresponding program request client.
Wherein, the associated storage information of preliminary treatment rear video content comprises: corresponding to video content, and the information of the video stream data piece index of described program request client stores and the information of video stream data piece.
That is to say that the associated storage information of preliminary treatment rear video content comprises: the information of which video stream data piece index of which video frequency program of program request client stores or the information of video stream data piece.So, in program request client video source data storehouse, store and once landed the streaming media video vod server, and downloaded the resource information of Video-on-demand client.The resource here refers to: program request client institute video stream stored data block index or video stream data piece.The resource information here refers to: the information of video stream data piece index or the information of video stream data piece.Such as, store the information of block of video data index H1 of video frequency program A or the information of video stream data piece D1.And the block of video data index H1 of video frequency program A or video stream data piece D1 are stored in the program request client.
Wherein, program request client 21 and program request client 22 also are used for storing all or part of preliminary treatment rear video content according to pre-seting or self tenability, and support to accept other program request client downloads preliminary treatment rear video content.
Wherein, program request client terminal management server 5, be further used for management point and broadcast the communication information that carries out communication between client 21 and program request client 22 and other program request client, and other program request client is downloaded preliminary treatment rear video content according to this communication information.Here, communication information comprises IP address and PORT COM, then the program request client terminal management server 5, be further used for managing each program request client, such as, the IP address of program request client 21 and program request client 22 and each program request client, the port that can Gong be connected such as, program request client 21 and program request client 22.
Wherein, program request client resource information storing device 6 is further used for managing each program request client, such as, the associated storage information of the preliminary treatment rear video content of program request client 21 and 22 storages of program request client.
A kind of program request client that realizes the streaming media video program request, this program request client comprises: transmission/receiving element, preliminary treatment rear video content information generation unit, memory cell.
Wherein, transmission/receiving element is used for receiving pretreated video content via the streaming media video vod server from memory device, and sends to memory cell and preliminary treatment rear video content information generation unit; According to the download request of other program request clients, described preliminary treatment rear video content is sent to other program request clients.Preliminary treatment rear video content information generation unit, be used for according to the pretreated video content that receives, generate the associated storage information of preliminary treatment rear video content, via the program request client terminal management server, report, upgrade and store into program request client resource information storing device.Memory cell is used to store pretreated video content.
As shown in Figure 3, a kind of method that realizes the streaming media video program request, this method may further comprise the steps:
Step 201, by streaming media video content typing front end, the original video content of storing in the streaming media video content data base is carried out preliminary treatment, obtain pretreated video content.Here, preliminary treatment rear video content comprises: video stream data piece index and video stream data piece.
Wherein, step 201 is specially:
Step 201a, carry out video when control according to offering the program request client, the time interval minimum value that can reach is preset minimum interval; From original video content, extract video pictures according to minimum interval.
Such as, default this minimum interval is 30 seconds, and the user is when the program request client is carried out video control selection so, and the minimum interval of these videos controls such as F.F., rewind down or time search is 30 seconds; With duration is that 1 hour video file is an example, and video file is exactly an original video content here; Then according to minimum interval from original video content, can extract 120 video pictures.And, adopt picture format that these video pictures are compressed, and storage.The general jpeg image format of general employing.Simultaneously, every video pictures is designated as P1 respectively, P2, P3 ..., P120.
When extracting video pictures, divide video stream file and obtain the video stream data piece, and the video stream data piece is corresponding one by one with the video pictures of extraction, be corresponding to the video pictures umber that extracts, video stream file be divided into the video stream data piece of equal parts.
Such as, extracted 120 video pictures, then video stream file is divided into 120 video stream data pieces, simultaneously, each video stream data piece is designated as D1, D2 ..., D120.Thereby, guarantee that the video stream data piece is corresponding one by one with the video pictures of extraction.
Step 201b, the video pictures that extracts, branch block message and other relevant information of video stream file of video stream file are compressed together, and packing generates the video stream data piece index of video stream file.Wherein, other relevant information of video stream file comprises: video flowing name, brief introduction and copyright information.
Here, step 201b is specially: in the mode that the video pictures of an extraction is packed, generate video stream data piece index, such as, the video stream data index is designated as H1 respectively, H2 ..., H120.
Step 201c, store video stream data piece index and video stream data piece into the streaming media video content data base.
Such as, with H1 ..., H120 and D1 ..., D120 stores the streaming medium content database into, thereby passes through the pretreatment operation of streaming media video content typing front end, has finished the streaming media video file, i.e. the typing in early stage of Cun Chu original video content.
After step 202, program request client log on the streaming media video vod server, the original video content that selection is earlier desired to watch, just order request then, is initiated to the streaming media video vod server in the streaming media video source.
After step 203, streaming media video vod server response point are broadcast the order request of client, initiate query requests, original video content corresponding to the program request of program request client-requested, the associated storage information of the preliminary treatment rear video content that inquires is returned to the program request client, the program request client is downloaded preliminary treatment rear video content according to the associated storage information of preliminary treatment rear video content.Here, preliminary treatment rear video content comprises: the information of video stream data piece index and the information of video stream data piece.
Wherein, according to the difference of query requests approach, the query requests that the streaming media video vod server is initiated in the step 203 specifically comprises following two aspect contents:
First aspect, the streaming media video vod server is directly initiated query requests to the streaming media video content data base.
Second aspect, the streaming media video vod server via the program request client terminal management server, is initiated query requests to program request client video source data storehouse.Perhaps, order request according to the program request client, initiate query requests to the program request client terminal management server, and the program request client terminal management server has judged whether that according to this query requests other program request client stores has video stream data piece index or described video stream data piece.Here, other program request client refers to log on the program request client of streaming media video vod server.
Wherein, the pretreated video content that will inquire in the step 203 returns to the program request client: according to the concrete selection of program request client, the information of the video stream data piece index that inquires or the information of described video stream data piece are returned to the program request client, and offer the program request client and carry out downloading and playing.Here, comprise following two kinds of situations.
First kind of situation, program request client are selected directly to watch from the starting point of video flowing, then initial video stream data piece in the video stream data piece content are directly returned to the program request client.
Accordingly, according to the order of video stream data piece, such as, according to D1 ..., the order of Dn, program request client downloads video stream data piece is also play.
Second kind of situation, corresponding to the needs of video control, the program request client selects the play position of video flowing to watch, and then the pairing video stream data piece of the play position of video flowing index is returned to the program request client.
Accordingly, according to the order of video stream data piece index, program request client elder generation download video stream data block index, and after having downloaded a video stream data piece index,, offer the play position that the program request client is selected described video flowing with its decoding and demonstration; Afterwards, corresponding to the play position of selecting, the program request client is download video stream data block and broadcast again.
Also comprise after the step 203:
Step 204, program request client are according to storage capacity default or that self support, all or part of video stream data piece index or the video stream data piece downloaded are stored, and the information of video stream data piece index or the information of video stream data piece is reported to the program request client terminal management server, and store program request client video source data storehouse into.Here, because based on security mechanism, program request client directly accessing points blog family is looked closely source database frequently, therefore, need to set up communication between program request client and the program request client video source data storehouse, realize program request client-access program request client video source data storehouse by the program request client terminal management server.
Method embodiment one:
Present embodiment is: of the present invention based on reciprocity internet (P2P, Peer to Peer) principle of technology, the further embodiment that the P2P technology is combined with streaming media video program request technology, and program request client selects the play position of video flowing to watch.Adopt present embodiment can reach the purpose that alleviates streaming media video server bandwidth pressure better.So-called P2P technology be a kind of point-to-point, be each client network transmission technology of shared data mutually.What it utilized each client uploads the bandwidth sharing data, thereby reaches the purpose that alleviates server bandwidth pressure, and simultaneously, the distributed storage of data has also improved the fail safe of storage,
In the present embodiment, use the pretreated video content of streaming media video content typing front end, realize that the method for streaming media video program request may further comprise the steps:
After step 301, program request client logged on the streaming media video server, inquiry can be for the streaming media video source of program request, and selected the streaming media video source of oneself desiring to watch, and initiated order request to the streaming media video vod server.
After step 302, streaming media video vod server response point are broadcast the order request of client,, initiate query requests to the program request client terminal management server according to the order request of program request client.
Step 303, according to query requests, program request client terminal management server inquiry has also judged whether that other program request client stores has video stream data piece index or video stream data piece.Here, other program request client refers to log on the program request client of streaming media video vod server.
Step 304, streaming media video vod server return to the program request client with Query Result.
Step 305, corresponding to the needs of video control, select the play position of video flowing when the program request client and watch, then the pairing video stream data piece of the play position of video flowing index is returned to the program request client;
Accordingly, according to the order of video stream data piece index, such as, H1, ..., the order of Hn, program request client elder generation download video stream data block index, and after having downloaded a video stream data piece index, with its decoding, solve the corresponding video pictures streaming media video time pairing, and they are shown one by one with it, offer the program request client and browse, select the play position of described video flowing.
Step 306, when the user according to these index pictures that show, when choosing the play position of video flowing, corresponding to the play position of selecting, the program request client is download video stream data block and playing again.Here, the video flowing play position pairing video stream data piece of video stream data piece for selecting.
Step 307, program request client are according to storage capacity default or that self support, all or part of video stream data piece index or the video stream data piece downloaded are stored, and the information of video stream data piece index or the information of video stream data piece is reported to the program request client terminal management server, and store program request client video source data storehouse into.
The information of the video stream data piece index of step 308, program request client terminal management server renewal program request client video source data storehouse stored or the information of video stream data block message.Here, the information of the information of the video stream data piece index of renewal or video stream data block message can and be used for other program request client querys.
Here, step 305 is given an example, when video control need be for F.F. the time, then step 305 is specially:
Step 3051, program request client obtain the play position of current video stream, it is corresponded to the video stream data piece, be made as Dx, the program request client is searched in this locality earlier and is had or not the pairing video stream data piece of Dx Hx, up to finding last a slice video stream data piece Hn; If there is not Hx, then download from other program request client or streaming media video vod server.
Step 3052, program request client begin decoding from video stream data piece Hx, and the video pictures that solves is shown successively with certain speed, and display speed is relevant with the doubly speed of F.F..
Step 3052, when the program request client is fast-forward to the position of wanting to begin to watch, go to execution in step 306.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (22)

1. device of realizing the streaming media video program request, it is characterized in that this device comprises: streaming media video content typing front end, memory device, streaming media video vod server, program request client, program request client terminal management server and program request client resource information storing device; Wherein,
Streaming media video content typing front end is used for obtaining video content from described memory device, extracts in the described video content video pictures corresponding to frame of video, and carries out preliminary treatment; To store described memory device into through pretreated video content;
Memory device is used for store video content and preliminary treatment rear video content;
The streaming media video vod server after being used to respond the order request of described program request client, is initiated query requests to described memory device, and the video content reentry point that will inquire the program request of described program request client-requested is broadcast client;
The program request client is used for initiating order request to described streaming media video vod server;
The program request client terminal management server is used to manage the current described program request client that logs on described streaming media video vod server;
Program request client resource information storing device, in described program request client via described program request client terminal management server, after reporting the associated storage information of preliminary treatment rear video content of described program request client stores, be used to receive the associated storage information and the storage of the described preliminary treatment rear video content that described program request client reports.
2. device according to claim 1 is characterized in that, the file layout of described memory device is the database form, and then described memory device is specially the streaming media video content data base.
3. device according to claim 1 is characterized in that, described memory device links to each other with described streaming media video vod server, perhaps inserts in the described streaming media video vod server.
4. device according to claim 1 is characterized in that described memory device comprises the video content memory cell, and preliminary treatment rear video content storage unit; Wherein, the video content memory cell is used to store described video content; Preliminary treatment rear video content storage unit is used to store described preliminary treatment rear video content;
Accordingly, described streaming media video content typing front end, be used for storing described memory device into further be through pretreated video content: with described preliminary treatment rear video content stores to described preliminary treatment rear video content storage unit;
Described streaming media video vod server, be used for initiating query requests to described memory device further be: initiate query requests to described preliminary treatment rear video content storage unit.
5. according to each described device in the claim 1 to 4, it is characterized in that described preliminary treatment rear video content comprises: video stream data piece index and video stream data piece.
6. device according to claim 1, it is characterized in that, described program request client in the described preliminary treatment rear video content of having obtained the request program request, is further used for described program request client resource information storing device is arrived in the associated storage information updating of described preliminary treatment rear video content.
7. device according to claim 6 is characterized in that, the file layout of described program request client resource information storing device is the database form, and then described program request client resource information storing device is specially program request client video source data storehouse.
8. device according to claim 6, it is characterized in that, the associated storage information of described preliminary treatment rear video content comprises: corresponding to described video content, and the information of the video stream data piece index of described program request client stores and the information of video stream data piece.
9. device according to claim 6, it is characterized in that, described streaming media video vod server, being used to initiate query requests further comprises: by described program request client terminal management server, after described program request client resource information storing device is initiated query requests, according to the associated storage information of the described preliminary treatment rear video content of described program request client resource information storing device storage, inquire about to corresponding program request client.
10. device according to claim 9, it is characterized in that described program request client also is used for according to pre-seting or self tenability, store all or part of described preliminary treatment rear video content, and support to accept the described preliminary treatment rear video of other program request client downloads content.
11. device according to claim 10, it is characterized in that, described program request client terminal management server, be further used for managing the communication information that carries out communication between described program request client and other program request client, and other program request client is downloaded described preliminary treatment rear video content according to described communication information;
Described program request client resource information storing device is further used for managing the associated storage information of the described preliminary treatment rear video content of each program request client stores.
12. device according to claim 11, it is characterized in that, described communication information comprises IP address and PORT COM, and IP address, each program request client that then described program request client terminal management server is further used for managing each program request client can supply the port of connection.
13. a program request client that realizes the streaming media video program request is characterized in that, this program request client comprises: transmission/receiving element, preliminary treatment rear video content information generation unit, memory cell; Wherein,
Transmission/receiving element is used for receiving pretreated video content via the streaming media video vod server from memory device, and sends to described memory cell and described preliminary treatment rear video content information generation unit; According to the download request of other program request clients, described preliminary treatment rear video content is sent to described other program request clients;
Preliminary treatment rear video content information generation unit, be used for according to the pretreated video content that receives, generate the associated storage information of preliminary treatment rear video content, via the program request client terminal management server, report, upgrade and store into program request client resource information storing device;
Memory cell is used to store pretreated video content.
14. a method that realizes the streaming media video program request is characterized in that, this method comprises carries out preliminary treatment to the original video content of storage, obtains the operation of preliminary treatment rear video content, and this method is further comprising the steps of:
A, program request client log on the streaming media video vod server, and the operation of the described original video content that described program request client selection is desired to watch is initiated order request to described streaming media video vod server;
After B, described streaming media video vod server respond the order request of described program request client, initiate query requests, described original video content corresponding to the program request of described program request client-requested, the associated storage information of the preliminary treatment rear video content that inquires is returned to described program request client, described program request client is downloaded described preliminary treatment rear video content according to the associated storage information of described preliminary treatment rear video content; Wherein,
Streaming media video vod server initiation query requests is specially among the described step B: described streaming media video vod server is initiated query requests via the program request client terminal management server to program request client video source data storehouse; Perhaps, according to described order request, initiate query requests to the program request client terminal management server, and described program request client terminal management server has judged whether that according to described query requests other program request client stores has preliminary treatment rear video content.
15. method according to claim 14 is characterized in that, described preliminary treatment rear video content comprises: video stream data piece index and video stream data piece;
Correspondingly, the associated storage information of described preliminary treatment rear video content comprises: the information of video stream data piece index and the information of video stream data piece.
16. method according to claim 15 is characterized in that, the original video content of storage is carried out preliminary treatment, the operation that obtains preliminary treatment rear video content may further comprise the steps:
A, carry out video when control according to offering described program request client, the time interval minimum value that can reach is preset minimum interval; From described original video content, extract video pictures according to described minimum interval;
When extracting video pictures, the video stream file of dividing in the original video content obtains described video stream data piece, and described video stream data piece is corresponding one by one with the video pictures of extraction;
B, the video pictures that extracts, branch block message and other relevant information of described video stream file of described video stream file are compressed together, and packing generates the described video stream data piece index of described video stream file;
C, store described video stream data piece index and described video stream data piece into the streaming media video content data base.
17. method according to claim 16 is characterized in that, other relevant information of described video stream file comprises: video flowing name, brief introduction and copyright information.
18. method according to claim 16 is characterized in that, described step b is specially: in the mode that the video pictures of an extraction is packed, generate described video stream data piece index.
19. according to each described method in the claim 15 to 18, it is characterized in that, among the described step B, further according to the concrete selection of described program request client, the information of the described video stream data piece index that inquires or the information of described video stream data piece are returned to described program request client, and offer the program request client and carry out downloading and playing.
20. method according to claim 19 is characterized in that, described program request client is selected to watch from the starting point of described video flowing, then initial video stream data piece in the described video stream data piece content is returned to the program request client;
Accordingly, according to the order of described video stream data piece, the described video stream data piece of described program request client downloads is also play.
21. method according to claim 19, it is characterized in that, needs corresponding to video control, described program request client selects the play position of the video stream file in the original video content to watch, and then the pairing video stream data piece of the play position of described video stream file index is returned to the program request client;
Accordingly, according to the order of described video stream data piece index, described program request client is downloaded described video stream data piece index earlier, and after having downloaded a described video stream data piece index, with its decoding and demonstration, offer the play position that the program request client is selected described video stream file; Afterwards, corresponding to the play position of selecting, described program request client downloads video stream data piece is also play.
22. method according to claim 21 is characterized in that, also comprises behind the described step B:
C, described program request client are according to storage capacity default or that self support, all or part of described video stream data piece index or the described video stream data piece downloaded are stored, and the information of described video stream data piece index or the information of described video stream data piece is reported to described program request client terminal management server, and store described program request client video source data storehouse into.
CN2007101211404A 2007-08-30 2007-08-30 Device, client terminal and method for implementing stream medium video order programme Active CN101378490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101211404A CN101378490B (en) 2007-08-30 2007-08-30 Device, client terminal and method for implementing stream medium video order programme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101211404A CN101378490B (en) 2007-08-30 2007-08-30 Device, client terminal and method for implementing stream medium video order programme

Publications (2)

Publication Number Publication Date
CN101378490A CN101378490A (en) 2009-03-04
CN101378490B true CN101378490B (en) 2011-01-19

Family

ID=40421787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101211404A Active CN101378490B (en) 2007-08-30 2007-08-30 Device, client terminal and method for implementing stream medium video order programme

Country Status (1)

Country Link
CN (1) CN101378490B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959054B (en) * 2009-07-14 2013-04-10 中国电信股份有限公司 Integrated P2P (Peer-To-Peer) VOD (Video-On-Demand) system and partner node selecting method
CN102118633B (en) * 2009-12-31 2013-04-17 华为技术有限公司 Method, device and system for playing video files
WO2014039444A2 (en) * 2012-09-04 2014-03-13 Tivo Inc. Wireless media streaming system
CN102970580B (en) * 2012-11-19 2016-03-16 北京思特奇信息技术股份有限公司 A kind of video file encipher-decipher method and system
US20140344861A1 (en) 2013-05-14 2014-11-20 Tivo Inc. Method and system for trending media programs for a user
CN104038771B (en) * 2014-06-19 2017-03-15 常州大学 A kind of high-effect files in stream media distributed memory system and method based on Hadoop2
CN107205034B (en) * 2017-06-05 2020-09-18 上海联影医疗科技有限公司 Data sharing equipment and method
CN108259970B (en) * 2017-12-29 2022-01-04 北京陌上花科技有限公司 Configuration management method and device based on video on demand
CN108810563A (en) * 2018-06-19 2018-11-13 合肥凌极西雅电子科技有限公司 Stream media ordering method and its system
CN110213662A (en) * 2019-07-09 2019-09-06 金明晔 A kind of VOD method, server, client and video on-demand system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777278A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Method for realizing flow media server supporting long-distance storage mode
CN1801929A (en) * 2005-12-08 2006-07-12 复旦大学 Method for network interaction television system realizing time-shift function
CN1859561A (en) * 2005-11-01 2006-11-08 华为技术有限公司 Stream media ordered telecast system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859561A (en) * 2005-11-01 2006-11-08 华为技术有限公司 Stream media ordered telecast system and method
CN1777278A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Method for realizing flow media server supporting long-distance storage mode
CN1801929A (en) * 2005-12-08 2006-07-12 复旦大学 Method for network interaction television system realizing time-shift function

Also Published As

Publication number Publication date
CN101378490A (en) 2009-03-04

Similar Documents

Publication Publication Date Title
CN101378490B (en) Device, client terminal and method for implementing stream medium video order programme
US10230958B2 (en) Audio splitting with codec-enforced frame sizes
US10652629B2 (en) Real-time cloud-based video watermarking systems and methods
US10277927B2 (en) Movie package file format
US9356821B1 (en) Streaming content delivery system and method
CN106303674B (en) Data transmission method, device and intelligent television system
WO2014193996A2 (en) Network video streaming with trick play based on separate trick play files
CN109756749A (en) Video data handling procedure, device, server and storage medium
US20230254532A1 (en) Identification of elements in a group for dynamic element replacement
KR20200109359A (en) Video streaming
US11765421B2 (en) Client based storage of remote element resolutions
US20220060532A1 (en) Method for transmitting resources and electronic device
CN107634928B (en) Code stream data processing method and device
US20180352287A1 (en) Persistent ID for Offline Access to Streamed Media
CN101622873B (en) Method for the delivery of audio and video data sequences by a server
US11606628B2 (en) Real-time cloud-based video watermarking systems and methods
CN116636224A (en) System and method for replacing networking application program service
EP2978225B1 (en) Method for obtaining in real time a user selected multimedia content part
US11870830B1 (en) Embedded streaming content management
CN114501166A (en) DASH on-demand fast-forward and fast-backward method and system

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