Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Fig. 1 is the equipment schematic diagram according to one aspect of the invention, illustrates for the equipment that merges video segmentation.Wherein, video merges equipment 1 and comprises thatacquisition request device 11, segment information deriving means 12,video merge device 13 and video providing device 14.Particularly,acquisition request device 11 obtains user's Video service request; Segment information deriving means 12 obtains the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request according to described Video service request;Video merges device 13 according to described segmentation relevant information, and described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation;Video providing device 14 provides described merging video to described user.At this, video merges equipment 1 and comprises subscriber equipment or the network equipment, and wherein, described subscriber equipment includes but not limited to anyly can carry out mutual electronic product with the user, such as computer, mobile phone, PDA, panel computer, PSP, palmtop PC PPC etc.; The described network equipment includes but not limited to network host, single network server, a plurality of webserver collection or based on the set of computers of cloud computing, at this, cloud computing is a kind of of Distributed Calculation, a super virtual machine that is comprised of the loosely-coupled computer collection of a group.Those skilled in the art will be understood that; above-mentioned video merges equipment, subscriber equipment and the network equipment only for giving an example; other videos existing or that may occur from now on merge equipment, subscriber equipment or the network equipment as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Acquisition request device 11 obtains user's Video service request.At this, the mode thatacquisition request device 11 obtains described Video service request includes but not limited to: 1) intercept and capture the Video service request that the user sends from user's equipment by the browser of subscriber equipment; 2) receive the Video service request that the user sends from user's equipment; 3) receive the described Video service request that third party device is transmitted.Wherein, described Video service request comprises any applicable to the user of the present invention request relevant with video, merges request, video acceleration request etc. such as video.Preferably, comprise be used to the identification information of inquiring about video segmentation to be combined reference address of the reference address of the title of the merging video that described identification information such as user intends obtaining, the title of video segmentation, the corresponding video page of video segmentation to be combined, video segmentation to be combined etc. in the described Video service request.Those skilled in the art will be understood that; above-mentioned mode and Video service request of obtaining the Video service request only is for example; other existing or modes of obtaining the Video service request that may occur from now on or Video service request are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably, described Video service request includes but not limited to, below at least each:
1) video merges request;
2) video access request;
3) video download request;
4) video acceleration request.
Particularly, 1) user merges equipment 1 submission video to video and merges request, perhaps the user merges equipment 1 transmission video via third party device to this video and merges request, and theacquisition request device 11 that this video merges equipment 1 merges request by this video of reception, obtains this video and merges request.2) user sends the video access request via the browser of subscriber equipment, and video merges theacquisition request device 11 of equipment 1 by intercepting and capturing and resolving the corresponding packet of described browser, obtains this video access request; Perhapsacquisition request device 11 obtains this video access request by receiving this video access request of third party device forwarding.3) user merges equipment 1 submission video download request to video, perhaps the user merges equipment 1 transmission video download request via third party device to this video, this video merges theacquisition request device 11 of equipment 1 by receiving this video download request, obtains this video download request.4) user merges equipment 1 submission video acceleration request to video, perhaps the user merges equipment 1 transmission video acceleration request via third party device to this video, this video merges theacquisition request device 11 of equipment 1 by receiving this video acceleration request, obtains this video acceleration request.Those skilled in the art will be understood that; above-mentioned mode and Video service request of obtaining the Video service request only is for example; other existing or modes of obtaining the Video service request that may occur from now on or Video service request are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Segment information deriving means 12 obtains the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request according to the Video service request thatacquisition request device 11 obtains.At this, segment information deriving means 12 is according to described Video service request, the mode of obtaining the segmentation relevant information of described video segmentation includes but not limited to: resolve described Video service request, from the relevant field of described Video service request, extract the identification information of described video segmentation, and according to described identification information, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation; Wherein, 1) described identification information comprises the reference address of described video segmentation, according to described reference address, obtains header information and the data message of described video segmentation, perhaps only obtains the header information of described video segmentation; 2) described identification information comprises the reference address of the corresponding video page of described video segmentation, according to described identification information, obtain and resolve described video page, to obtain the reference address of described video segmentation, and according to described reference address, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation; 3) described identification information comprises the title of the merging video that the user intends obtaining or the title of described video segmentation, according to described identification information, the search Video Reservoir, to obtain the reference address of the corresponding video page of described video segmentation, obtain and resolve described video page, obtaining the reference address of described video segmentation, and according to described reference address, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation.Those skilled in the art will be understood that; the mode of above-mentioned segmentation relevant information according to Video service acquisition request video segmentation is only for for example; other existing or may occur from now on according to the mode of the segmentation relevant information of Video service acquisition request video segmentation as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Video mergesdevice 13 according to the segmentation relevant information that segment information deriving means 12 obtains, and described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation.At this, video mergesdevice 13 and includes but not limited to according to the mode that described segmentation relevant information merges described video segmentation: the header information that 1) merges described video segmentation, generate the merging header information of described merging video, and according to described merging header information, by the corresponding time offset value of the data message of adjusting described video segmentation, merge the data message of described video segmentation, thereby obtain described merging video; 2) optional merging header information as described merging video from the header information of described video segmentation, and according to the temporal information of last data cell in the data message of the last order video segmentation of each video segmentation, such as timestamp and duration, the temporal information of each data cell in the data message of described each video segmentation of adjustment, such as timestamp, video segmentation after these adjustment is spliced mutually according to its time information, and in conjunction with described merging header information, generate described merging video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
Video providing device 14 provides the merging video that video mergesdevice 13 acquisitions to described user.At this,video providing device 14 provides the mode of described merging video to include but not limited to: 1) video merges equipment 1 and comprises subscriber equipment,video providing device 14 in the predetermined storage location of this subscriber equipment, perhaps exports described merging video described merging video storage other aftertreatment device of this subscriber equipment to; 2) video merges equipment 1 and comprises the network equipment, andvideo providing device 14 is according to the host-host protocol of agreement, and host-host protocols such as HTTP, RTP, P2P is sent to subscriber equipment or other third party devices with described merging video.Those skilled in the art will be understood that; the above-mentioned mode that merges video that provides is only for giving an example; other existing or may occur from now on provide the mode that merges video as applicable to the present invention, also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably,acquisition request device 11, segment information deriving means 12,video merging device 13 andvideo providing device 14 are constant work.Particularly,acquisition request device 11 obtains user's Video service request; Segment information deriving means 12 obtains the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request according to described Video service request;Video merges device 13 according to described segmentation relevant information, and described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation;Video providing device 14 provides described merging video to described user.At this, it will be understood by those skilled in the art that " continuing " refer toacquisition request device 11, segment information deriving means 12,video merge device 13 andvideo providing device 14 respectively according to the mode of operation of setting or adjust in real time require to carry out the obtaining of Video service request, video segmentation the obtaining of segmentation relevant information, video segmentation merging and providing of video is provided, until video merges the Video service request that equipment 1 stops to obtain the user in a long time.
Fig. 2 is equipment schematic diagram in accordance with a preferred embodiment of the present invention, illustrates for the equipment that merges video segmentation.Wherein, video merges equipment 1 and comprises thatacquisition request device 21, segment information deriving means 22,video merge device 23 and video providing device 24.Particularly,acquisition request device 21 obtains user's Video service request; Segment information deriving means 22 is according to described Video service request, obtain the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request, wherein, described segmentation relevant information comprises the address information of described video segmentation and the header information of described video segmentation;Video merges device 23 and comprises the firsthead acquiring unit 231,data capture unit 232 and thefirst merge cells 233, wherein, the firsthead acquiring unit 231 is according to described header information, obtain the merging header information of described merging video,data capture unit 232 obtains the data message of the described video segmentation corresponding with described address information according to described address information, and thefirst merge cells 233 is according to described merging header information, merge described data message, to obtain described merging video; Video providing device 24 provides described merging video to described user.
Wherein, among Fig. 2 among the performed operation ofacquisition request device 21 and video providing device 24 and Fig. 1 the performed operation ofacquisition request device 11 andvideo providing device 14 identical or basic identical, for simplicity's sake, be contained in this with way of reference, repeat no more.
The Video service request that segment information deriving means 22 obtains according toacquisition request device 21, obtain the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request, wherein, described segmentation relevant information comprises the address information of described video segmentation and the header information of described video segmentation.For example,acquisition request device 21 receives user's Video service request; Segment information deriving means 22 is resolved this Video service request, obtains the reference address of corresponding each video segmentation, and according to these reference address, by the request of the RANGE in the HTTP host-host protocol, obtains the header information of each video segmentation.Those skilled in the art will be understood that; the mode of above-mentioned segmentation relevant information according to Video service acquisition request video segmentation is only for for example; other existing or may occur from now on according to the mode of the segmentation relevant information of Video service acquisition request video segmentation as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably, segment information deriving means 22 is according to described Video service request, and the inquiry Video Reservoir is to obtain the video page corresponding with described Video service request; Resolve described video page, to obtain the address information of described video segmentation; According to described address information, obtain the header information of described video segmentation.For example, connect precedent, the Video service request that segment information deriving means 22 analysis request deriving means 21 receive, the title of the merging video that the extraction user intends obtaining from this Video service request, such as Kung Fu Panda 2, and merge the title of video according to this, the inquiry Video Reservoir, obtain the reference address of the corresponding video page of each video segmentation of this merging video, such as the broadcast page link of Kung Fu Panda 2, resolve this video page, obtain the reference address of each video segmentation, according to these reference address, by the request of the RANGE in the HTTP host-host protocol, obtain the header information of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining video page, the mode of address information of obtaining video segmentation and the mode of header information of obtaining video segmentation are only for for example; other existing or modes of obtaining video page that may occur from now on, the mode of address information of obtaining video segmentation or the mode of header information of obtaining video segmentation are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Video mergesdevice 23 and comprises the firsthead acquiring unit 231,data capture unit 232 and thefirst merge cells 233.
The firsthead acquiring unit 231 obtains to merge the merging header information of video according to the header information of described video segmentation.For example, the firsthead acquiring unit 231 is according to the header information of each video segmentation, encapsulation format such as each video segmentation is MP4, the index information that comprises each video segmentation in its header information, index information to each video segmentation merges, have 5 sections such as video segmentation, the index information of each video segmentation is the data message of corresponding 0-200S respectively, the data message of the corresponding 0-1000S of index information after then merging, and according to the index information after this merging, generate the merging header information that merges video.And for example, the firsthead acquiring unit 231 is according to the header information of each video segmentation, encapsulation format such as each video segmentation is FLV, comprise encapsulation format information, software version information of each video segmentation etc. in its header information, obtain the header information of arbitrary video segmentation, as the merging header information that merges video.Those skilled in the art will be understood that; the above-mentioned mode of the merging header information that merges video of obtaining is only for giving an example; other existing or modes of obtaining the merging header information that merges video that may occur from now on are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Data capture unit 232 obtains the data message of the described video segmentation corresponding with described address information according to the address information of described video segmentation.For example,data capture unit 232 by the request of the RANGE in the HTTP host-host protocol, obtains the corresponding data information of each video segmentation according to the reference address of each video segmentation from the corresponding video server of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining the data message of video segmentation only is for example; the mode of other existing or data messages that obtain video segmentation that may occur from now on is as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Need to prove do not have strict ordinal relation between the performed operation of the operation that the firsthead acquiring unit 231 is performed anddata capture unit 232, both can carry out simultaneously, also can carry out in a certain order.
Thefirst merge cells 233 merges the data message of described video segmentation according to the merging header information of described merging video, to obtain to merge video.For example, the merging header information that the firsthead acquiring unit 231 obtains comprises index information, the data message of each video segmentation that thefirst merge cells 233 mergingdata acquiring units 232 obtain, and according to this index information, adjust the data message time offset value corresponding with this index information of each video segmentation, thereby obtain to merge video.And for example, the merging header information that the firsthead acquiring unit 231 obtains comprises the encapsulation format information that merges video, software version information etc., each video segmentation that thefirst merge cells 233 obtains according todata capture unit 232 is corresponding to the order that merges video, adjust the corresponding temporal information of each data cell in the data message of each video segmentation, such as timestamp, and each video segmentation after will adjusting splices corresponding to the order that merges video according to it, in conjunction with merging header information, obtain to merge video again.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
At this, need to prove, those skilled in the art will be understood that, the merging thatdata capture unit 232 obtains the operation of data message of video segmentation and 233 pairs of video segmentations of the first merge cells is processed between the operation does not have strict ordinal relation, also be,data capture unit 232 can obtain first the data message of all video segmentations to be combined, then, thefirst merge cells 233 carries out union operation to these video segmentations again, perhaps,data capture unit 232 is in the data message that obtains part video segmentation to be combined, thefirst merge cells 233 is according to the order of these video segmentations corresponding to the merging video, and the corresponding index information of the data message of these video segmentations or temporal information are carried out union operation, until after finishing the union operation of data message of all video segmentations to be combined, obtain complete merging video.
Preferably, described data message comprises a plurality of data cells; Thefirst merge cells 233 is according to timestamp and the duration of last data cell in the data message of the last order video segmentation of each in the video segmentation to be combined, adjust in the described video segmentation timestamp of each data cell in each the data message, with each data message in the described video segmentation after obtaining to adjust; The data message of each video segmentation after the described adjustment data message with its corresponding last order video segmentation is spliced mutually, to obtain to merge the merging data information of video; According to the merging header information of described merging video, and described merging data information, obtain to merge video.For example, comprise a plurality of data cells in the data message of each video segmentation thatdata capture unit 232 obtains, comprise a plurality of data cells (tag) in the data message such as the video segmentation of stream media format (such as FLV); Thefirst merge cells 233 is according to the order of these video segmentations corresponding to the merging video, timestamp and duration according to last data cell in the data message of the last order video segmentation of current video segmentation, be 00:55 such as timestamp, duration is 5S, adjust the timestamp of each data cell in the data message that deserves front video segmentation, timestamp skew 60S such as each data cell in the data message of video segmentation before will deserving, by that analogy, until adjust the data cell in the data message of each video segmentation complete, data message with each video segmentation splices mutually again, and with spliced merging data information, the merging header information that obtains with the firsthead acquiring unit 231 combines, and obtains to merge video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
Preferably, video mergesdevice 23 and also the data message of described video segmentation is carried out pretreatment operation, to obtain pretreated described data message, processes for follow-up merging.Subsequently, thefirst merge cells 233 merges described pretreated data message according to the merging header information of described merging video, to obtain to merge video.At this, described pretreatment operation include but not limited to any applicable to of the present invention to the one or more respective handling of carrying out in the video segmentation to be combined, obtaining the operation of the consistent video segmentation of base attribute, such as the code check of the data message of adjusting video segmentation, resolution etc.Those skilled in the art will be understood that above-mentioned pretreatment operation only for giving an example, and other pretreatment operation existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and are contained in this with way of reference.
More preferably, described pretreatment operation includes but not limited to, below at least each:
1) code check of the described data message of adjustment;
2) resolution of the described data message of adjustment;
3) coded format of the described data message of adjustment.
Particularly,video merges device 23 can be according to predetermined attribute, such as the code check of predetermined data message, resolution, coded format etc. to the one or more respective handling of carrying out in the video segmentation to be combined; Also can be according to the attribute of the arbitrary video segmentation in the video segmentation to be combined, adjust the attribute of other video segmentations, as adjusting according to the code check, resolution, coded format etc. of the video segmentation of the first order the respective attributes of subsequent video segmentation, or according to the code check that accounts for the largest percentage in the video segmentation to be combined, resolution, coded format etc., adjust other video segmentation respective attributes; Can also be according to the terminal attribute of the receiving equipment that merges video, such as the resolution of this receiving equipment, network transmission speed, the coded format supported etc., to the one or more respective handling of carrying out in the video segmentation to be combined.Those skilled in the art will be understood that above-mentioned pretreatment operation only for giving an example, and other pretreatment operation existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and are contained in this with way of reference.
Fig. 3 is the equipment schematic diagram of another preferred embodiment according to the present invention, illustrates for the equipment that merges video segmentation.Wherein, video merges equipment 1 and comprises thatacquisition request device 31, segment information deriving means 32,video merge device 33 and video providing device 34.Particularly,acquisition request device 31 obtains user's Video service request; Segment information deriving means 32 comprisessegmentation acquiring unit 321 and segmentinformation acquiring unit 322, wherein,segmentation acquiring unit 321 is according to described Video service request, obtain the video segmentation corresponding with described Video service request, segmentinformation acquiring unit 322 is according to described video segmentation, obtain described segmentation relevant information, wherein, described segmentation relevant information comprises the header information of described video segmentation and the data message of described video segmentation;Video merges device 33 and comprises the secondhead acquiring unit 331 and thesecond merge cells 332, wherein, the secondhead acquiring unit 331 is according to the header information of described video segmentation, obtain the merging header information of described merging video, thesecond merge cells 332 is according to described merging header information, merge described data message, obtain described merging video;Video providing device 34 provides described merging video to described user.
Wherein, among Fig. 3 among the performed operation ofacquisition request device 31 andvideo providing device 34 and Fig. 1 the performed operation ofacquisition request device 11 andvideo providing device 14 identical or basic identical, for simplicity's sake, be contained in this with way of reference, repeat no more.
Segment information deriving means 32 comprisessegmentation acquiring unit 321 and segmentinformation acquiring unit 322.
Segmentation acquiring unit 321 obtains the video segmentation corresponding with described Video service request according to user's Video service request.For example, the video thatsegmentation acquiring unit 321 is resolved the user merges request, obtains the reference address of video segmentation accordingly to be combined, and according to these reference address, by download tool, download software such as a sudden peal of thunder, Flashget, Emule etc., download corresponding video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of video segmentation of obtaining is only for giving an example; other existing or modes of obtaining video segmentation that may occur from now on also should be included in the protection range of the present invention, and be contained in this with way of reference as applicable to the present invention.
Preferably,segmentation acquiring unit 321 is according to described Video service request, and the inquiry Video Reservoir is to obtain the video page corresponding with described Video service request; Resolve described video page, to obtain described address information; According to described address information, obtain the corresponding video segmentation of described video page.For example,segmentation acquiring unit 321 is according to user's video download request, obtain the title of the merging video that this user intends obtaining, and according to this title, the inquiry Video Reservoir obtains the corresponding video page of this merging video, resolve the source code of this video page, obtain the reference address of corresponding each video segmentation of this video page, by download tool, download and obtain these video segmentations.Those skilled in the art will be understood that; the above-mentioned mode of video segmentation of obtaining is only for giving an example; other existing or modes of obtaining video segmentation that may occur from now on also should be included in the protection range of the present invention, and be contained in this with way of reference as applicable to the present invention.
Segmentinformation acquiring unit 322 obtains the segmentation relevant information of described video segmentation according to the video segmentation thatsegmentation acquiring unit 321 obtains, and wherein, described segmentation relevant information comprises the header information of described video segmentation and the data message of described video segmentation.For example,segmentation acquiring unit 321 obtains each video segmentation to be combined; Segmentinformation acquiring unit 322 is resolved these video segmentations according to the corresponding encapsulation format of these video segmentations, and obtains header information and the data message of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining the segmentation relevant information of video segmentation only is for example; other existing or modes of obtaining the segmentation relevant information that may occur from now on are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
At this, need to prove, those skilled in the art will be understood that,segmentation acquiring unit 321 obtains the operation of video segmentation and segmentinformation acquiring unit 322 and obtains do not have strict ordinal relation between the operation of segmentation relevant information of video segmentations, also be,segmentation acquiring unit 321 can obtain first all video segmentations to be combined, then, segmentinformation acquiring unit 322 is again according to these video segmentations, obtain corresponding segmentation relevant information, perhaps,segmentation acquiring unit 321 is when obtaining part video segmentation to be combined, and segmentinformation acquiring unit 322 namely obtains the corresponding segment relevant information of these video segmentations that obtained.
Video mergesdevice 33 and comprises the secondhead acquiring unit 331 and thesecond merge cells 332.
The secondhead acquiring unit 331 obtains to merge the merging header information of video according to the header information of the video segmentation of segmentinformation acquiring unit 322 acquisitions.At this, the mode of merging header information that mode and the firsthead acquiring unit 231 among Fig. 2 that the secondhead acquiring unit 331 obtains to merge the merging header information of videos obtains the merging videos is identical or basic identical, for simplicity's sake, be contained in this with way of reference, repeat no more.
Thesecond merge cells 332 merges the data message of described video segmentation according to the merging header information of described merging video, obtains to merge video.At this, the mode of data message that thesecond merge cells 332 merges thefirst merge cells 233 merging video segmentations among mode and Fig. 2 of data message of video segmentations is identical or basic identical, for simplicity's sake, is contained in this with way of reference, repeats no more.
Similarly, at this, those skilled in the art will be understood that, the operation that segment information deriving means 32 is performed and video merge between the performed operation ofdevice 33 and there is no strict ordinal relation, particularly, segmentinformation acquiring unit 322 obtains the operation of data message of video segmentation and merging that video merges 332 pairs of video segmentations of the second merge cells in thedevice 33 and processes between the operation and do not have strict ordinal relation in the segment information deriving means 32, also be, segmentinformation acquiring unit 322 can obtain first the data message of all video segmentations to be combined, then, thesecond merge cells 332 carries out union operation to these video segmentations again, perhaps, segmentinformation acquiring unit 322 is in the data message that obtains part video segmentation to be combined, thesecond merge cells 332 is according to the order of these video segmentations corresponding to the merging video, and the corresponding index information of the data message of these video segmentations or temporal information are carried out union operation, until after finishing the union operation of data message of all video segmentations to be combined, obtain complete merging video.
Preferably, described data message comprises a plurality of data cells; The second merge cells 332 is according to timestamp and the duration of last data cell in the data message of the last order video segmentation of each in the described video segmentation, adjust in the described video segmentation timestamp of each data cell in each the data message, with each data message in the described video segmentation after obtaining to adjust; The data message of each video segmentation after the described adjustment data message with its corresponding last order video segmentation is spliced mutually, to obtain to merge the merging data information of video; According to the merging header information of described merging video, and described merging data information, obtain to merge video.For example, comprise a plurality of data cells in the data message of each video segmentation that segment information acquiring unit 322 obtains, comprise a plurality of data cells (tag) in the data message such as the video segmentation of stream media format (such as FLV); The second merge cells 332 is according to the order of these video segmentations corresponding to the merging video, timestamp and duration according to last data cell in the data message of the last order video segmentation of current video segmentation, be 00:55 such as timestamp, duration is 5S, adjust the timestamp of each data cell in the data message that deserves front video segmentation, timestamp skew 60S such as each data cell in the data message of video segmentation before will deserving, by that analogy, until adjust the data cell in the data message of each video segmentation complete, data message with each video segmentation splices mutually again, and with spliced merging data information, the merging header information that obtains with the second head acquiring unit 331 combines, and obtains to merge video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
Preferably, video mergesdevice 33 can also carry out pretreatment operation to the data message of video segmentation, and such as the code check of adjusting described data message, resolution, coded format etc. to obtain pretreated data message, processed for follow-up merging.Subsequently, thesecond merge cells 322 merges described pretreated data message according to the merging header information of described merging video, to obtain to merge video.At this, it is identical that video merges the performed pretreatment operation of video merging device among the performed pretreatment operation ofdevice 33 and Fig. 2 23, for simplicity's sake, is contained in this with way of reference, repeats no more.
Fig. 4 is method flow diagram according to a further aspect of the present invention, and computer implemented process for merging video segmentation is shown.At this, described computer comprises anyly can carry out the modernized intelligent electronic device of massive values computation and various information processings automatically, at high speed according to the program of prior storage, and its hardware comprises microprocessor, FPGA, DSP, embedded device etc.
Particularly, in step S41, video merges the Video service request that equipment 1 obtains the user; In step S42, video merges equipment 1 according to described Video service request, obtains the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request; In step S43, video merges equipment 1 according to described segmentation relevant information, and described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation; In step S44, video merges equipment 1 provides described merging video to described user.At this, video merges equipment 1 and comprises subscriber equipment or the network equipment, and wherein, described subscriber equipment includes but not limited to anyly can carry out mutual electronic product with the user, such as computer, mobile phone, PDA, panel computer, PSP, palmtop PC PPC etc.; The described network equipment includes but not limited to network host, single network server, a plurality of webserver collection or based on the set of computers of cloud computing, at this, cloud computing is a kind of of Distributed Calculation, a super virtual machine that is comprised of the loosely-coupled computer collection of a group.Those skilled in the art will be understood that; above-mentioned video merges equipment, subscriber equipment and the network equipment only for giving an example; other videos existing or that may occur from now on merge equipment, subscriber equipment or the network equipment as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
In step S41, video merges the Video service request that equipment 1 obtains the user.At this, the mode that video merging equipment 1 obtains described Video service request includes but not limited to: 1) intercept and capture the Video service request that the user sends from user's equipment by the browser of subscriber equipment; 2) receive the Video service request that the user sends from user's equipment; 3) receive the described Video service request that third party device is transmitted.Wherein, described Video service request comprises any applicable to the user of the present invention request relevant with video, merges request, video acceleration request etc. such as video.Preferably, comprise be used to the identification information of inquiring about video segmentation to be combined reference address of the reference address of the title of the merging video that described identification information such as user intends obtaining, the title of video segmentation, the corresponding video page of video segmentation to be combined, video segmentation to be combined etc. in the described Video service request.Those skilled in the art will be understood that; above-mentioned mode and Video service request of obtaining the Video service request only is for example; other existing or modes of obtaining the Video service request that may occur from now on or Video service request are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably, described Video service request includes but not limited to, below at least each:
1) video merges request;
2) video access request;
3) video download request;
4) video acceleration request.
Particularly, 1) user merges equipment 1 submission video to video and merges request, perhaps the user merges equipment 1 transmission video via third party device to this video and merges request, and this video merges equipment 1 and merges request by this video of reception, obtains this video and merges request.2) user sends the video access request via the browser of subscriber equipment, and video merges equipment 1 by intercepting and capturing and resolving the corresponding packet of described browser, obtains this video access request; Perhaps video merges this video access request that equipment 1 is transmitted by receiving third party device, obtains this video access request.3) user merges equipment 1 submission video download request to video, and perhaps the user merges equipment 1 transmission video download request via third party device to this video, and this video merges equipment 1 by this video download request of reception, obtains this video download request.4) user merges equipment 1 submission video acceleration request to video, and perhaps the user merges equipment 1 transmission video acceleration request via third party device to this video, and this video merges equipment 1 by this video acceleration request of reception, obtains this video acceleration request.Those skilled in the art will be understood that; above-mentioned mode and Video service request of obtaining the Video service request only is for example; other existing or modes of obtaining the Video service request that may occur from now on or Video service request are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
In step S42, video merges equipment 1 according to its Video service request of obtaining in step S41, obtain the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request.At this, video merges equipment 1 according to described Video service request, the mode of obtaining the segmentation relevant information of described video segmentation includes but not limited to: resolve described Video service request, from the relevant field of described Video service request, extract the identification information of described video segmentation, and according to described identification information, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation; Wherein, 1) described identification information comprises the reference address of described video segmentation, according to described reference address, obtains header information and the data message of described video segmentation, perhaps only obtains the header information of described video segmentation; 2) described identification information comprises the reference address of the corresponding video page of described video segmentation, according to described identification information, obtain and resolve described video page, to obtain the reference address of described video segmentation, and according to described reference address, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation; 3) described identification information comprises the title of the merging video that the user intends obtaining or the title of described video segmentation, according to described identification information, the search Video Reservoir, to obtain the reference address of the corresponding video page of described video segmentation, obtain and resolve described video page, obtaining the reference address of described video segmentation, and according to described reference address, obtain header information and the data message of described video segmentation, perhaps only obtain the header information of described video segmentation.Those skilled in the art will be understood that; the mode of above-mentioned segmentation relevant information according to Video service acquisition request video segmentation is only for for example; other existing or may occur from now on according to the mode of the segmentation relevant information of Video service acquisition request video segmentation as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
In step S43, video merges equipment 1 according to its segmentation relevant information of obtaining in step S42, described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation.At this, video merges equipment 1 and includes but not limited to according to the mode that described segmentation relevant information merges described video segmentation: the header information that 1) merges described video segmentation, generate the merging header information of described merging video, and according to described merging header information, by the corresponding time offset value of the data message of adjusting described video segmentation, merge the data message of described video segmentation, thereby obtain described merging video; 2) optional merging header information as described merging video from the header information of described video segmentation, and according to the temporal information of last data cell in the data message of the last order video segmentation of each video segmentation, such as timestamp and duration, the temporal information of each data cell in the data message of described each video segmentation of adjustment, such as timestamp, video segmentation after these adjustment is spliced mutually according to its time information, and in conjunction with described merging header information, generate described merging video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
In step S44, video merges equipment 1 provides the merging video that it obtains to described user in step S43.At this, video merges equipment 1 provides the mode of described merging video to include but not limited to: 1) video merges equipment 1 and comprises subscriber equipment, this video merging equipment 1 in the predetermined storage location of this subscriber equipment, perhaps exports described merging video described merging video storage other aftertreatment device of this subscriber equipment to; 2) video merges equipment 1 and comprises the network equipment, and this video merges equipment 1 according to the host-host protocol of agreement, and host-host protocols such as HTTP, RTP, P2P is sent to subscriber equipment or other third party devices with described merging video.Those skilled in the art will be understood that; the above-mentioned mode that merges video that provides is only for giving an example; other existing or may occur from now on provide the mode that merges video as applicable to the present invention, also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably, video merging equipment 1 is constant work in step S41, step S42, step S43 and step S44.Particularly, in step S41, video merges the Video service request that equipment 1 obtains the user; In step S42, video merges equipment 1 according to described Video service request, obtains the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request; In step S43, video merges equipment 1 according to described segmentation relevant information, and described video segmentation is merged processing, to obtain the merging video corresponding with described video segmentation; In step S44, video merges equipment 1 provides described merging video to described user.At this, it will be understood by those skilled in the art that " continuing " refer to video merge equipment 1 in step S41, step S42, step S43 and step S44 respectively according to the mode of operation of setting or adjust in real time require to carry out the obtaining of Video service request, video segmentation the obtaining of segmentation relevant information, video segmentation merging and providing of video is provided, until video merges the Video service request that equipment 1 stops to obtain the user in a long time.
Fig. 5 is method flow diagram in accordance with a preferred embodiment of the present invention, and the process that merges video segmentation is shown.Particularly, in step S51, video merges the Video service request that equipment 1 obtains the user; In step S52, video merges equipment 1 according to described Video service request, obtain the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request, wherein, described segmentation relevant information comprises the address information of described video segmentation and the header information of described video segmentation; In step S531, video merges equipment 1 according to described header information, obtains the merging header information of described merging video; In step S532, video merges equipment 1 according to described address information, obtains the data message of the described video segmentation corresponding with described address information; In step S533, video merges equipment 1 according to described merging header information, merges described data message, to obtain described merging video; In step S54, video merges equipment 1 provides described merging video to described user.
Wherein, to merge equipment 1 video merging equipment 1 in the performed operation of step S51 and step S54 and Fig. 4 identical or basic identical in the performed operation of step S41 and step S44 for video among Fig. 5, for simplicity's sake, is contained in this with way of reference, repeats no more.
In step S52, video merges equipment 1 according to its Video service request of obtaining in step S51, obtain the segmentation relevant information of the to be combined video segmentation corresponding with described Video service request, wherein, described segmentation relevant information comprises the address information of described video segmentation and the header information of described video segmentation.For example, in step S51, video merges the Video service request that equipment 1 receives the user; In step S52, video merges equipment 1 and resolves this Video service request, obtains the reference address of corresponding each video segmentation, and according to these reference address, by the request of the RANGE in the HTTP host-host protocol, obtains the header information of each video segmentation.Those skilled in the art will be understood that; the mode of above-mentioned segmentation relevant information according to Video service acquisition request video segmentation is only for for example; other existing or may occur from now on according to the mode of the segmentation relevant information of Video service acquisition request video segmentation as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Preferably, in step S52, video merges equipment 1 according to described Video service request, and the inquiry Video Reservoir is to obtain the video page corresponding with described Video service request; Resolve described video page, to obtain the address information of described video segmentation; According to described address information, obtain the header information of described video segmentation.For example, connect precedent, in step S52, video merges equipment 1 and resolve its Video service request that receives in step S51, the title of the merging video that the extraction user intends obtaining from this Video service request, such as Kung Fu Panda 2, and merging the title of video according to this, the inquiry Video Reservoir obtains the reference address of the corresponding video page of each video segmentation of this merging video, broadcast page link such as Kung Fu Panda 2, resolve this video page, obtain the reference address of each video segmentation, according to these reference address, by the request of the RANGE in the HTTP host-host protocol, obtain the header information of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining video page, the mode of address information of obtaining video segmentation and the mode of header information of obtaining video segmentation are only for for example; other existing or modes of obtaining video page that may occur from now on, the mode of address information of obtaining video segmentation or the mode of header information of obtaining video segmentation are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
In step S531, video merges equipment 1 according to the header information of described video segmentation, obtains to merge the merging header information of video.For example, video merges equipment 1 according to the header information of each video segmentation, encapsulation format such as each video segmentation is MP4, the index information that comprises each video segmentation in its header information merges the index information of each video segmentation, has 5 sections such as video segmentation, the index information of each video segmentation is the data message of corresponding 0-200S respectively, the data message of the corresponding 0-1000S of index information after then merging, and according to the index information after this merging, generate the merging header information that merges video.And for example, video merges equipment 1 according to the header information of each video segmentation, encapsulation format such as each video segmentation is FLV, comprise encapsulation format information, software version information of each video segmentation etc. in its header information, obtain the header information of arbitrary video segmentation, as the merging header information that merges video.Those skilled in the art will be understood that; the above-mentioned mode of the merging header information that merges video of obtaining is only for giving an example; other existing or modes of obtaining the merging header information that merges video that may occur from now on are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
In step S532, video merges equipment 1 according to the address information of described video segmentation, obtains the data message of the described video segmentation corresponding with described address information.For example, video merges equipment 1 according to the reference address of each video segmentation, by the request of the RANGE in the HTTP host-host protocol, obtains the corresponding data information of each video segmentation from the corresponding video server of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining the data message of video segmentation only is for example; the mode of other existing or data messages that obtain video segmentation that may occur from now on is as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
Need to prove that video merges equipment 1 and do not have strict ordinal relation in the performed operation of step S531 and its between the performed operation of step S532, both can carry out simultaneously, also can carry out in a certain order.
In step S533, video merges equipment 1 according to the merging header information of described merging video, merges the data message of described video segmentation, to obtain to merge video.For example, in step S531, the merging header information that video merging equipment 1 obtains comprises index information; In step S533, video merges equipment 1 merges its each video segmentation that obtains in step S532 data message, and according to this index information, adjust the data message time offset value corresponding with this index information of each video segmentation, thereby obtain to merge video.And for example, in step S531, video merges merging header information that equipment 1 obtains and comprises the encapsulation format information that merges video, software version information etc., in step S533, video merges equipment 1 according to the order of its each video segmentation that obtains corresponding to the merging video in step S532, adjust the corresponding temporal information of each data cell in the data message of each video segmentation, such as timestamp, and each video segmentation after will adjusting splices corresponding to the order that merges video according to it, in conjunction with merging header information, obtain to merge video again.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
At this, need to prove, those skilled in the art will be understood that, video merges equipment 1 obtains the data message of video segmentation at step S532 operation to be processed the merging of video segmentation at step S533 with it and not to have strict ordinal relation between operating, also be, video merges the data message that equipment 1 can obtain first all video segmentations to be combined, and then these video segmentations are carried out union operation, perhaps video merges equipment 1 in the data message that obtains part video segmentation to be combined, according to the order of these video segmentations corresponding to the merging video, and the corresponding index information of the data message of these video segmentations or temporal information are carried out union operation, until after finishing the union operation of data message of all video segmentations to be combined, obtain complete merging video.
Preferably, described data message comprises a plurality of data cells; In step S533, video merges equipment 1 according to timestamp and the duration of last data cell in the data message of the last order video segmentation of each in the video segmentation to be combined, adjust in the described video segmentation timestamp of each data cell in each the data message, with each data message in the described video segmentation after obtaining to adjust; The data message of each video segmentation after the described adjustment data message with its corresponding last order video segmentation is spliced mutually, to obtain to merge the merging data information of video; According to the merging header information of described merging video, and described merging data information, obtain to merge video.For example, video merges in the data message of each video segmentation that equipment 1 obtains and comprises a plurality of data cells, comprises a plurality of data cells (tag) in the data message such as the video segmentation of stream media format (such as FLV); Video merges equipment 1 according to the order of these video segmentations corresponding to the merging video, timestamp and duration according to last data cell in the data message of the last order video segmentation of current video segmentation, be 00:55 such as timestamp, duration is 5S, adjust the timestamp of each data cell in the data message that deserves front video segmentation, timestamp skew 60S such as each data cell in the data message of video segmentation before will deserving, by that analogy, until adjust the data cell in the data message of each video segmentation complete, data message with each video segmentation splices mutually again, and with spliced merging data information, combine with the merging header information that it obtains in step S531, obtain to merge video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
Preferably, video merges equipment 1 and also the data message of described video segmentation is carried out pretreatment operation, to obtain pretreated described data message, processes for follow-up merging.Subsequently, video merges equipment 1 according to the merging header information of described merging video, merges described pretreated data message, to obtain to merge video.At this, described pretreatment operation include but not limited to any applicable to of the present invention to the one or more respective handling of carrying out in the video segmentation to be combined, obtaining the operation of the consistent video segmentation of base attribute, such as the code check of the data message of adjusting video segmentation, resolution etc.Those skilled in the art will be understood that above-mentioned pretreatment operation only for giving an example, and other pretreatment operation existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and are contained in this with way of reference.
More preferably, described pretreatment operation includes but not limited to, below at least each:
1) code check of the described data message of adjustment;
2) resolution of the described data message of adjustment;
3) coded format of the described data message of adjustment.
Particularly, video merges equipment 1 can be according to predetermined attribute, such as the code check of predetermined data message, resolution, coded format etc. to the one or more respective handling of carrying out in the video segmentation to be combined; Also can be according to the attribute of the arbitrary video segmentation in the video segmentation to be combined, adjust the attribute of other video segmentations, as adjusting according to the code check, resolution, coded format etc. of the video segmentation of the first order the respective attributes of subsequent video segmentation, or according to the code check that accounts for the largest percentage in the video segmentation to be combined, resolution, coded format etc., adjust other video segmentation respective attributes; Can also be according to the terminal attribute of the receiving equipment that merges video, such as the resolution of this receiving equipment, network transmission speed, the coded format supported etc., to the one or more respective handling of carrying out in the video segmentation to be combined.Those skilled in the art will be understood that above-mentioned pretreatment operation only for giving an example, and other pretreatment operation existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and are contained in this with way of reference.
Fig. 6 is the method flow diagram of another preferred embodiment according to the present invention, and the process that merges video segmentation is shown.Particularly, in step S61, video merges the Video service request that equipment 1 obtains the user; In step S621, video merges equipment 1 according to described Video service request, obtains the video segmentation corresponding with described Video service request; In step S622, video merges equipment 1 according to described video segmentation, obtains described segmentation relevant information, and wherein, described segmentation relevant information comprises the header information of described video segmentation and the data message of described video segmentation; In step S631, video merges equipment 1 according to the header information of described video segmentation, obtains the merging header information of described merging video; In step S632, video merges equipment 1 according to described merging header information, merges described data message, obtains described merging video;Video providing device 34 provides described merging video to described user.
Wherein, to merge equipment 1 video merging equipment 1 in the performed operation of step S61 and step S64 and Fig. 4 identical or basic identical in the performed operation of step S41 and step S44 for video among Fig. 6, for simplicity's sake, is contained in this with way of reference, repeats no more.
In step S621, video merges equipment 1 according to user's Video service request, obtains the video segmentation corresponding with described Video service request.For example, the video that video merging equipment 1 is resolved the user merges request, obtains the reference address of video segmentation accordingly to be combined, and according to these reference address, by download tool, download software such as a sudden peal of thunder, Flashget, Emule etc., download corresponding video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of video segmentation of obtaining is only for giving an example; other existing or modes of obtaining video segmentation that may occur from now on also should be included in the protection range of the present invention, and be contained in this with way of reference as applicable to the present invention.
Preferably, in step S621, video merges equipment 1 according to described Video service request, and the inquiry Video Reservoir is to obtain the video page corresponding with described Video service request; Resolve described video page, to obtain described address information; According to described address information, obtain the corresponding video segmentation of described video page.For example, video merges equipment 1 according to user's video download request, obtain the title of the merging video that this user intends obtaining, and according to this title, the inquiry Video Reservoir obtains the corresponding video page of this merging video, resolve the source code of this video page, obtain the reference address of corresponding each video segmentation of this video page, by download tool, download and obtain these video segmentations.Those skilled in the art will be understood that; the above-mentioned mode of video segmentation of obtaining is only for giving an example; other existing or modes of obtaining video segmentation that may occur from now on also should be included in the protection range of the present invention, and be contained in this with way of reference as applicable to the present invention.
In step S622, video merges equipment 1 according to its video segmentation that obtains in step S621, obtain the segmentation relevant information of described video segmentation, wherein, described segmentation relevant information comprises the header information of described video segmentation and the data message of described video segmentation.For example, in step S621, video merges equipment 1 and obtains each video segmentation to be combined; In step S622, video merges equipment 1 according to the corresponding encapsulation format of these video segmentations, resolves these video segmentations, and obtains header information and the data message of each video segmentation.Those skilled in the art will be understood that; the above-mentioned mode of obtaining the segmentation relevant information of video segmentation only is for example; other existing or modes of obtaining the segmentation relevant information that may occur from now on are as applicable to the present invention; also should be included in the protection range of the present invention, and be contained in this with way of reference.
At this, need to prove, those skilled in the art will be understood that, video merges equipment 1 obtains video segmentation at step S621 operation and does not have strict ordinal relation with it between the operation of the segmentation relevant information of step S622 acquisition video segmentation, also be, video merges equipment 1 can obtain first all video segmentations to be combined, and then according to these video segmentations, obtain corresponding segmentation relevant information, perhaps video merges equipment 1 when obtaining part video segmentation to be combined, obtains the corresponding segment relevant information of these video segmentations that obtained.
In step S631, video merges equipment 1 according to the header information of its video segmentation that obtains in step S622, obtain to merge the merging header information of video.At this, video merges video among mode and Fig. 2 of merging header information that equipment 1 obtains to merge video and merges equipment 1 to obtain the mode of merging header information of merging video identical or basic identical, for simplicity's sake, is contained in this with way of reference, repeats no more.
In step S632, video merges equipment 1 according to the merging header information of described merging video, merges the data message of described video segmentation, obtains to merge video.At this, video merges video among mode and Fig. 2 of data message that equipment 1 merges video segmentation, and to merge the mode of data message of equipment 1 merging video segmentation identical or basic identical, for simplicity's sake, is contained in this with way of reference, repeats no more.
Similarly, at this, those skilled in the art will be understood that, video merges equipment 1 obtains the data message of video segmentation at step S622 operation to be processed the merging of video segmentation at step S632 with it and not to have strict ordinal relation between operating, also be, video merges the data message that equipment 1 can obtain first all video segmentations to be combined, and then these video segmentations are carried out union operation, perhaps video merges equipment 1 in the data message that obtains part video segmentation to be combined, according to the order of these video segmentations corresponding to the merging video, and the corresponding index information of the data message of these video segmentations or temporal information are carried out union operation, until after finishing the union operation of data message of all video segmentations to be combined, obtain complete merging video.
Preferably, described data message comprises a plurality of data cells; In step S632, video merges equipment 1 according to timestamp and the duration of last data cell in the data message of the last order video segmentation of each in the described video segmentation, adjust in the described video segmentation timestamp of each data cell in each the data message, with each data message in the described video segmentation after obtaining to adjust; The data message of each video segmentation after the described adjustment data message with its corresponding last order video segmentation is spliced mutually, to obtain to merge the merging data information of video; According to the merging header information of described merging video, and described merging data information, obtain to merge video.For example, video merges in the data message of each video segmentation that equipment 1 obtains and comprises a plurality of data cells, comprises a plurality of data cells (tag) in the data message such as the video segmentation of stream media format (such as FLV); Video merges equipment 1 according to the order of these video segmentations corresponding to the merging video, timestamp and duration according to last data cell in the data message of the last order video segmentation of current video segmentation, be 00:55 such as timestamp, duration is 5S, adjust the timestamp of each data cell in the data message that deserves front video segmentation, timestamp skew 60S such as each data cell in the data message of video segmentation before will deserving, by that analogy, until adjust the data cell in the data message of each video segmentation complete, data message with each video segmentation splices mutually again, and with spliced merging data information, combine with the merging header information that it obtains in step S631, obtain to merge video.Those skilled in the art will be understood that; the mode of above-mentioned merging video segmentation is only for giving an example; the mode of other merging video segmentations existing or that may occur from now on also should be included in the protection range of the present invention as applicable to the present invention, and is contained in this with way of reference.
Preferably, video merges equipment 1 can also carry out pretreatment operation to the data message of video segmentation, and such as the code check of adjusting described data message, resolution, coded format etc. to obtain pretreated data message, processed for follow-up merging.Subsequently, video merges equipment 1 according to the merging header information of described merging video, merges described pretreated data message, to obtain to merge video.At this, it is identical that video merges the performed pretreatment operation of video merging equipment among the performed pretreatment operation of equipment 1 and Fig. 21, for simplicity's sake, is contained in this with way of reference, repeats no more.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and in the situation that does not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, therefore is intended to be included in the present invention dropping on the implication that is equal to important document of claim and all changes in the scope.Any Reference numeral in the claim should be considered as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.A plurality of unit of stating in system's claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.