CN105611429A - Video file backup method and device and electronic equipment - Google Patents

Video file backup method and device and electronic equipment Download PDF

Info

Publication number
CN105611429A
CN105611429A CN201610080718.5A CN201610080718A CN105611429A CN 105611429 A CN105611429 A CN 105611429A CN 201610080718 A CN201610080718 A CN 201610080718A CN 105611429 A CN105611429 A CN 105611429A
Authority
CN
China
Prior art keywords
video
video file
cloud server
capture device
file
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.)
Granted
Application number
CN201610080718.5A
Other languages
Chinese (zh)
Other versions
CN105611429B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610080718.5A priority Critical patent/CN105611429B/en
Publication of CN105611429A publication Critical patent/CN105611429A/en
Application granted granted Critical
Publication of CN105611429B publication Critical patent/CN105611429B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a video file backup method, a video file backup device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a first operation instruction input by a user, wherein the first operation instruction is used for instructing a video shooting device to shoot a video and instructing a video file shot by the video shooting device to be uploaded to a cloud server; triggering the video shooting device to shoot according to the first operation instruction; cutting a video file shot by the video shooting device in real time according to a preset video file cutting strategy to obtain at least two video file segments; and uploading at least one video clip to the cloud server in the shooting process of the video shooting device. According to the technical scheme provided by the embodiment of the invention, the time interval between the moment when all the video files are uploaded to the cloud server and the moment when the video starts to be shot is shortened, and an authorized user can watch the shared video in time through the cloud server.

Description

A kind of backup method, device and electronic equipment of video file
Technical field
The present invention relates to technical field of data processing, relate in particular to a kind of backup method, device and electronic equipment of video file.
Background technology
The electronic equipments such as current mobile phone, panel computer are in the time sharing the video of shooting, and the method for employing has: complete at video captureCheng Hou, the video file that shooting is obtained uploads to Cloud Server and backs up, and authorized user is by browsing Cloud ServerThe video file of upper backup just can be watched the video of sharing.
The present inventor finds in research and practice process, because the capacity of video file is conventionally larger, by video literary compositionPart uploads to Cloud Server and backs up the more time that conventionally need to spend, and therefore, video file is all uploaded to cloud clothesThe moment of business device starts to take with respect to video the hysteresis that the moment exists the long period, is unfavorable for that authorized user takes by cloudBusiness device is watched the video of being shared in time.
Summary of the invention
The embodiment of the present invention provides a kind of backup method, device and electronic equipment of video file, can solve and how to shortenThe problem of the time that video file is uploaded.
Embodiment of the present invention first aspect provides a kind of backup method of video file, comprising:
Obtain the first operational order of user's input, wherein, described the first operational order is used to indicate video capture device and takesVideo and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server;
Triggering described video capture device according to described the first operational order takes;
According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cuts in real time,Obtain at least two video file segments;
In described video capture device shooting process, video segment described at least one is uploaded to described Cloud Server.
In conjunction with first aspect, in the possible embodiment of the first of first aspect, described File cutting strategy comprises:
Every the default time interval, video file is cut.
In conjunction with the possible embodiment of the first of first aspect, in the possible embodiment of the second of first aspect,Described obtain at least two video file segments after, described method also comprises:
Record the sequencing between each video file segments.
In conjunction with the possible embodiment of the first of first aspect, in the third possible embodiment of first aspect,Described video segment described at least one is uploaded to described Cloud Server after, described method also comprises:
Obtain the uploading speed that video segment uploads to described Cloud Server;
Adjust described default video file Cut Stratagem according to described uploading speed, wherein, the described default time interval withDescribed uploading speed is inversely proportional to.
In conjunction with the possible enforcement side of the second of the possible embodiment of the first of first aspect or first aspect or first aspectThe third possible embodiment of formula or first aspect, in the 4th kind of possible embodiment of first aspect, describedAfter obtaining at least two video file segments, described method also comprises:
Each video file segments is processed, obtained the compressed file of object format;
Described video segment described at least one is uploaded to described Cloud Server, comprises: by after treatment described at least oneVideo segment is uploaded to described Cloud Server.
Embodiment of the present invention second aspect provides a kind of back-up device of video file, comprising:
The first acquiring unit, for obtaining the first operational order of user's input, wherein, described the first operational order is used in reference toShow video capture device capture video and instruction by described video capture device takes the video file obtaining upload to cloud takeBusiness device;
Take unit, take for triggering described video capture device according to described the first operational order;
Processing unit, for taking described video capture device according to default video file Cut Stratagem the video literary composition obtainingPart cuts in real time, obtains at least two video file segments;
Uploading unit, at described video capture device shooting process, is uploaded to institute by video segment described at least oneState Cloud Server.
In conjunction with second aspect, in the possible embodiment of the first of second aspect, described File cutting strategy comprises:
Every the default time interval, video file is cut.
In conjunction with the possible embodiment of the first of second aspect, in the possible embodiment of the second of second aspect, instituteState treating apparatus also for, record the sequencing between each video file segments.
In conjunction with the possible embodiment of the first of second aspect, in the third possible embodiment of second aspect, instituteStating device also comprises:
Second acquisition unit, uploads to the uploading speed of described Cloud Server for obtaining video segment;
Adjustment unit, for adjusting described default video file Cut Stratagem according to described uploading speed, wherein, described pre-If the time interval and described uploading speed be inversely proportional to.
In conjunction with the possible enforcement side of the second of the possible embodiment of the first of second aspect or second aspect or second aspectThe third possible embodiment of formula or second aspect, in the 4th kind of possible embodiment of second aspect,
Described processing unit also for, each video file segments is processed, obtain the compressed file of object format;
Described uploading unit specifically for, in the described video capture device shooting process, by after described processing unit processesDescribed at least one, video segment is uploaded to described Cloud Server.
The embodiment of the present invention third aspect provides a kind of electronic equipment, comprising: processor, memory, communication interface and bus;
Described processor, described memory and described communication interface are connected by described bus and complete mutual communication;
Described memory stores executable program code;
Described processor moves and described executable program generation by reading the executable program code of storing in described memoryThe program that code is corresponding, for carrying out a kind of backup method of video file; Wherein, the backup method bag of described video fileDraw together:
Obtain the first operational order of user's input, wherein, described the first operational order is used to indicate video capture device and takesVideo and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server;
Triggering described video capture device according to described the first operational order takes;
According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cuts in real time,Obtain at least two video file segments;
In described video capture device shooting process, video segment described at least one is uploaded to described Cloud Server.
Embodiment of the present invention fourth aspect provides a kind of storage medium, and wherein, this storage medium is used for storing application program, instituteState application program for carry out the backup method of a kind of video file described in the embodiment of the present invention in when operation.
The embodiment of the present invention the 5th aspect provides a kind of application program, and wherein, this application program for carrying out this in the time movingDescribed in bright embodiment a kind of backup method of video file.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, attached by required use during embodiment is described belowFigure is briefly described, and apparently, the accompanying drawing in the following describes is only some embodiments of the present invention, for abilityTerritory those of ordinary skill, is not paying under the prerequisite of creative work, can also obtain the attached of other according to these accompanying drawingsFigure.
Fig. 1 is the schematic diagram of a kind of network architecture of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the backup method of a kind of video file of providing of embodiments of the invention;
Fig. 3 is the schematic flow sheet of the backup method of a kind of video file of providing of another embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the backup method of a kind of video file of providing of another embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the backup method of a kind of video file of providing of another embodiment of the present invention;
Fig. 6 is the structural representation of the back-up device of a kind of video file of providing of the embodiment of the present invention;
Fig. 7 is the structural representation of the back-up device of a kind of video file of providing of another embodiment of the present invention;
Fig. 8 is the structural representation of a kind of electronic equipment of providing of another embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of backup method, device and electronic equipment of video file, to shortening video literary compositionMoment and video that part all uploads to Cloud Server start to take the time interval between the moment, are beneficial to authorized userWatch in time the video of being shared by Cloud Server
In order to make those skilled in the art understand better the present invention program, below in conjunction with in the embodiment of the present inventionAccompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, and obviously, described embodiment is thisInvent a part of embodiment, instead of whole embodiment. Based on the embodiment in the present invention, ordinary skill peopleMember, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
Below be elaborated respectively.
Term " first " in description of the present invention and claims and above-mentioned accompanying drawing, " second ", " the 3rd " and "Four " be etc. for distinguishing different objects, instead of for describing particular order. In addition, term " comprises " and " having "And their any distortion, intention is to cover not exclusive comprising. For example comprised series of steps or unit process,Method, system, product or equipment are not defined in step or the unit listed, but also comprise alternatively and not listStep or unit, or also comprise alternatively other step or the unit intrinsic for these processes, method, product or equipment.
The backup method of a kind of video file of the present invention, can comprise: obtain the first operational order of user's input, wherein,Described the first operational order is used to indicate video capture device capture video and described video capture device is taken in instructionTo video file upload to Cloud Server; Triggering described video capture device according to described the first operational order takes;According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cut in real time,To at least two video file segments; In described video capture device shooting process, by video segment described at least oneReach described Cloud Server.
Refer to Fig. 1, Fig. 1 is a kind of network architecture that may be used for implementing embodiment of the present invention scheme. Shown in Fig. 1In the network architecture, comprising: the terminal of capture video, the Cloud Server of store video files, can be used in the net of transfer of dataNetwork and several the authorized terminals that can watch by Cloud Server the video file backing up in Cloud Server.
Wherein, video file shooting being obtained for the terminal of capture video uploads to Cloud Server by network and backs up,The process of uploading is in video capture process, just to start to upload, i.e. upload on limit shooting limit, so the embodiment of the present invention can contractShort moment and the video that video file is all uploaded to Cloud Server starts to take the time interval between the moment, be conducive to byThe terminal of authorizing is in time by watching the video file being kept in Cloud Server.
Refer to Fig. 2, Fig. 2 is the flow process signal of the backup method of a kind of video file of providing of one embodiment of the present of inventionFigure, as shown in Figure 2, the backup method of a kind of video file that one embodiment of the present of invention provide can comprise following content:
201, terminal is obtained the first operational order of user's input, and wherein, described the first operational order is used to indicate video captureDevice capture video and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart mobile phone, notebook computer, PDA (personal digital assistant), PAD (dull and stereotyped electricityBrain), PMP (portable media player), guider etc. possess capture video function and electronics dress that can accesses networkPut, the embodiment of the present invention is not construed as limiting.
User can be by the operation that the video of terminal taking is uploaded to the application software of Cloud Server that has that terminal is installedSend the first operational order.
202, terminal triggers described video capture device according to described the first operational order and takes.
Particularly, can carry out work according to the camera of the first operational order triggering terminal or camera and microphone, holdRow shooting task is taken.
203, terminal is taken by described video capture device the video file obtaining according to default video file Cut Stratagem and is carried outCutting, obtains at least two video file segments in real time.
Wherein, described video file Cut Stratagem comprises: every the default time interval, video file is cut. For exampleCan be every 1 second, video file once to be cut.
204, terminal, in described video capture device shooting process, is uploaded to described cloud clothes by video segment described at least oneBusiness device.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server.
Optionally, in some possible embodiments of the present invention, described obtain at least two video file segments after,Described method also comprises: record the sequencing between each video file segments. Particularly, can record each video file sheetThe initial time of section. Certainly, also can be numbered according to time order and function order for video file.
Optionally, in some possible embodiments of the present invention, described, video segment described at least one is uploaded to instituteAfter stating Cloud Server, described method can also comprise: the uploading speed that obtains video segment and upload to described Cloud Server;Adjust described default video file Cut Stratagem according to described uploading speed, wherein, the described default time interval with described inUploading speed is inversely proportional to.
Optionally, in some possible embodiments of the present invention, described obtain at least two video file segments after,Described method can also comprise: each video file segments is processed, obtained the compressed file of object format; Described generalDescribed at least one, video segment is uploaded to described Cloud Server, comprising: by after treatment described at least one on video segmentReach described Cloud Server.
Refer to Fig. 3, Fig. 3 is that the flow process of the backup method of a kind of video file of providing of an alternative embodiment of the invention is shownIntention, as shown in Figure 3, the backup method of a kind of video file that an alternative embodiment of the invention provides can comprise followingContent:
301, terminal is obtained the first operational order of user's input, and wherein, described the first operational order is used to indicate video captureDevice capture video and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart mobile phone, notebook computer, PDA (personal digital assistant), PAD (dull and stereotyped electricityBrain), PMP (portable media player), guider etc. possess capture video function and electronics dress that can accesses networkPut, the embodiment of the present invention is not construed as limiting.
User can be by the operation that the video of terminal taking is uploaded to the application software of Cloud Server that has that terminal is installedSend the first operational order.
302, terminal triggers described video capture device according to described the first operational order and takes.
Particularly, can carry out work according to the camera of the first operational order triggering terminal or camera and microphone, holdRow shooting task is taken.
303, terminal is taken by described video capture device the video file obtaining according to default video file Cut Stratagem and is carried outCutting, obtains at least two video file segments in real time.
Wherein, described video file Cut Stratagem can be: every the default time interval, video file is cut. LiftExample can be every 1 second, video file once to be cut.
304, video file segments is carried out format conversion by terminal, and the video file after format conversion is compressed.
For instance, if video file is rmvb form, if the form of target video file is flv, by rmvb formVideo file segments is converted to the video file segments of flv form, then the video file after format conversion is compressed.
305, terminal is in described video capture device shooting process, and video segment described at least one after compression is uploaded toDescribed Cloud Server.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server.
Refer to Fig. 4, Fig. 4 is that the flow process of the backup method of a kind of video file of providing of an alternative embodiment of the invention is shownIntention, as shown in Figure 4, the backup method of a kind of video file that an alternative embodiment of the invention provides can comprise followingContent:
401, terminal is obtained the first operational order of user's input, and wherein, described the first operational order is used to indicate video captureDevice capture video and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart mobile phone, notebook computer, PDA (personal digital assistant), PAD (dull and stereotyped electricityBrain), PMP (portable media player), guider etc. possess capture video function and electronics dress that can accesses networkPut, the embodiment of the present invention is not construed as limiting.
User can be by the operation that the video of terminal taking is uploaded to the application software of Cloud Server that has that terminal is installedSend the first operational order.
402, terminal triggers described video capture device according to described the first operational order and takes.
Particularly, can carry out work according to the camera of the first operational order triggering terminal or camera and microphone, holdRow shooting task is taken.
403, terminal is taken by described video capture device the video file obtaining according to default video file Cut Stratagem and is carried outCutting, obtains a video file segments in real time.
Wherein, described video file Cut Stratagem can be: every the default time interval, video file is cut. LiftExample can be every 1 second, video file once to be cut.
404, video file segments is carried out format conversion by terminal, and the video file after format conversion is compressed.
For instance, if video file is rmvb form, if the form of target video file is flv, by rmvb formVideo file segments is converted to the video file segments of flv form, then the video file after format conversion is compressed.
405, terminal is in described video capture device shooting process, described in a described video segment after compression is uploaded toCloud Server.
406, terminal is obtained video segment and uploads to the uploading speed of Cloud Server.
407, terminal is adjusted described default video file Cut Stratagem according to described uploading speed, wherein, described when defaultBetween interval and described uploading speed be inversely proportional to.
408, terminal proceeds to implement cutting according to the File cutting strategy after adjusting to video file.
409, the video segment not uploading on Cloud Server is uploaded to Cloud Server by terminal.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server. In addition,By regulating File cutting strategy according to uploading speed, in the time that uploading speed is fast, shorten the File cutting time, can carry like thisThe real-time that height is uploaded, can shorten video file is all uploaded to moment of Cloud Server and video starts to clap furtherTake the photograph the time interval between the moment.
Be described with a specific embodiment below, suppose that the duration of taking was 3.5 seconds, File cutting strategy is everyEvery 1 second, video is once cut and obtains a video file segments, particularly, as shown in Figure 5, the present embodiment is carriedThe backup method of the video file of confession can comprise:
501, terminal is obtained the first operational order of user's input, and wherein, the first operational order is used to indicate video capture deviceCapture video and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server.
502, terminal triggers described video capture device according to described the first operational order and takes, and the video format of shooting isRmvb form.
503,, when terminal taking to the 1 second, from the video of taking, obtain the video of the rmvb form of 0 to 1 second,Obtain 001.rmvb file, transcoding is the video file of flv form, called after 001.flv, and boil down to 001.rar, uploads toCloud Server.
504, terminal continues to take, and when taking the 2nd second, copies the video of the rmvb form of 1 to 2 second, obtains 002.rmvbFile, transcoding is the video file of flv form, called after 002.flv, boil down to 002.rar, uploads to Cloud Server.
505, terminal continues to take, and when photographing the 3rd second, copies the video of the rmvb form of 2-3 second, obtains 003.rmvbFile, transcoding is the video file of flv form, called after 003.flv, boil down to 003.rar, uploads to Cloud Server.
If 506, terminal was obtained the instruction that finishes capture video at the 3.5th second, copy the video of the rmvb form of 3 to 3.5 seconds,Obtain 004.rmvb file, transcoding is the video file of flv form, called after 004.flv, and boil down to 004.rar, uploads toCloud Server.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, and upload on shooting limit, limit, with respect to taking video literary composition in prior artAfter part, just start uploaded videos file to Cloud Server, can shorten moment that video file is all uploaded to Cloud Server withVideo starts to take the time interval between the moment, is conducive to authorized user and is watched in time and being shared by Cloud ServerVideo.
Refer to Fig. 6, the structural representation of the back-up device of the video file that Fig. 6 provides for one embodiment of the present of invention.The back-up device 600 of a kind of video file that as shown in Figure 6, the embodiment of the present invention provides can comprise:
The first acquiring unit 601, for obtaining the first operational order of user's input, wherein, described the first operational order is usedDescribed video capture device is taken to the video file obtaining upload in instruction video filming apparatus capture video and instructionCloud Server.
User can be by the operation that the video of terminal taking is uploaded to the application software of Cloud Server that has that terminal is installedSend the first operational order. Terminal can be smart mobile phone, notebook computer, PDA (personal digital assistant), PAD (dull and stereotyped electricityBrain), PMP (portable media player), guider etc. possess capture video function and electronics dress that can accesses networkPut, the embodiment of the present invention is not construed as limiting.
Take unit 602, take for triggering described video capture device according to described the first operational order.
Particularly, can carry out work according to the camera of the first operational order triggering terminal or camera and microphone, holdRow shooting task is taken.
Processing unit 603, for taking by described video capture device looking of obtaining according to default video file Cut StratagemFrequency file cuts in real time, obtains at least two video file segments.
Wherein, described video file Cut Stratagem comprises: every the default time interval, video file is cut. For exampleCan be every 1 second, video file once to be cut.
Uploading unit 604, at described video capture device shooting process, uploads video segment described at least oneTo described Cloud Server.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server.
Optionally, in some possible embodiments of the present invention, treating apparatus also for, record each video file segments itBetween sequencing. Particularly, can record the initial time of each video file segments. Certainly, can be also video fileBe numbered according to time order and function order.
Optionally, in some possible embodiments of the present invention, can also comprise second acquisition unit, for obtaining videoFragment uploads to the uploading speed of described Cloud Server; Adjustment unit, for adjusting described default according to described uploading speedVideo file Cut Stratagem, wherein, the described default time interval and described uploading speed are inversely proportional to.
Optionally, in some possible embodiments of the present invention, processing unit also for, each video file segments is enteredRow is processed, and obtains the compressed file of object format; Uploading unit is specifically for, the pressure of the target that processing unit an is obtained thingContracting file is uploaded to described Cloud Server.
Refer to Fig. 7, the structural representation of the back-up device of the video file that Fig. 7 provides for one embodiment of the present of invention.The back-up device 700 of a kind of video file that as shown in Figure 7, the embodiment of the present invention provides can comprise:
The first acquiring unit 701, for obtaining the first operational order of user's input, wherein, described the first operational order is usedDescribed video capture device is taken to the video file obtaining upload in instruction video filming apparatus capture video and instructionCloud Server.
User can be by the operation that the video of terminal taking is uploaded to the application software of Cloud Server that has that terminal is installedSend the first operational order. Terminal can be smart mobile phone, notebook computer, PDA (personal digital assistant), PAD (dull and stereotyped electricityBrain), PMP (portable media player), guider etc. possess capture video function and electronics dress that can accesses networkPut, the embodiment of the present invention is not construed as limiting.
Take unit 702, take for triggering described video capture device according to described the first operational order.
Particularly, can carry out work according to the camera of the first operational order triggering terminal or camera and microphone, holdRow shooting task is taken.
Processing unit 703, for taking by described video capture device looking of obtaining according to default video file Cut StratagemFrequency file cuts in real time, obtains at least two video file segments.
Wherein, described video file Cut Stratagem comprises: every the default time interval, video file is cut. For exampleCan be every 1 second, video file once to be cut.
Uploading unit 704, at described video capture device shooting process, uploads video segment described at least oneTo described Cloud Server.
Second acquisition unit 705, uploads to the uploading speed of described Cloud Server for obtaining video segment.
Adjustment unit 706, for the default video file cutting of uploading speed adjustment of obtaining according to second acquisition unit 705Strategy, particularly, adjusts the default time interval and described uploading speed is inversely proportional to.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server. In addition,By regulating File cutting strategy according to uploading speed, in the time that uploading speed is fast, shorten the File cutting time, can carry like thisThe real-time that height is uploaded, can shorten video file is all uploaded to moment of Cloud Server and video starts to clap furtherTake the photograph the time interval between the moment.
Referring to Fig. 8, the structural representation of a kind of electronic equipment that Fig. 8 provides for the embodiment of the present invention, described electronic equipment 800,Can comprise:
Processor 801, memory 802, communication interface 803 and bus 804;
Described processor 801, described memory 802 and described communication interface 803 are connected by described bus 804 and complete mutuallyBetween communication;
Described memory 802 stores executable programs codes;
Described processor 801 moves with described and carries out by reading in described memory 802 executable program code of storageThe program that program code is corresponding, for carrying out a kind of backup method of video file; Wherein, a kind of backup side of video fileMethod comprises:
Obtain the first operational order of user's input, wherein, described the first operational order is used to indicate video capture device and takesVideo and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server;
Triggering described video capture device according to described the first operational order takes;
According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cuts in real time,Obtain at least two video file segments;
In described video capture device shooting process, video segment described at least one is uploaded to described Cloud Server.
Can find out, the technical scheme that adopts the embodiment of the present invention to provide, in video capture device shooting process, just startsAt least one video segment is uploaded to Cloud Server, with respect to just starting to upload having taken after video file in prior artVideo file is to Cloud Server, can shorten when video file is all uploaded to moment of Cloud Server and video and starts to takeIn the time interval between quarter, be conducive to authorized user and watch in time the video of being shared by Cloud Server.
The embodiment of the present invention also provides a kind of storage medium, and wherein, this storage medium is used for storing application program, described answeringBy program for carry out the backup method of a kind of video file described in the embodiment of the present invention in when operation.
The embodiment of the present invention also provides a kind of application program, and wherein, this application program is real for carry out the present invention in the time movingExecute the backup method of the described a kind of video file of example.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as a series of movingCombine, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because comply withAccording to the present invention, some step can adopt other orders or carry out simultaneously. Secondly, those skilled in the art also should knowKnow, the embodiment described in description all belongs to preferred embodiment, and related action and module might not be theseBright necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the portion of describing in detailPoint, can be referring to the associated description of other embodiment.
In the several embodiment that provide in the application, should be understood that, disclosed device, can be real by another wayExisting. For example, device embodiment described above is only that schematically the division of for example described unit, only for one is patrolledVolume function is divided, and when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can collectBecome to another system, or some features can ignore, or not carry out. Another point, shown or discussed coupling each otherClose or direct-coupling or communication connection can be by some interfaces, device or INDIRECT COUPLING or the communication connection of unit, Ke YishiElectrically or other form.
The described unit as separating component explanation can or can not be also physically to separate, and shows as unitParts can be or can not be also physical locations, can be positioned at a place, or also can be distributed to multiple network listsIn unit. Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also eachThe independent physics in individual unit exists, and also can be integrated in a unit two or more unit. Both can in above-mentioned integrated unitRealize with the form that adopts hardware, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use using the form of SFU software functional unit, canTo be stored in a computer read/write memory medium. Based on such understanding, technical scheme of the present invention in essence in other wordsThe all or part of of the part that prior art is contributed or this technical scheme can embody with the form of software product,This computer software product is stored in a storage medium, comprises that some instructions are in order to make a computer equipment (can be individualPeople's computer, server or the network equipment etc.) carry out all or part of step of method described in the present invention each embodiment. AndAforesaid storage medium comprises: USB flash disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM,RandomAccessMemory), the various media that can be program code stored such as portable hard drive, magnetic disc or CD.
The above, above embodiment only, in order to technical solution of the present invention to be described, is not intended to limit; Although with reference to aforementioned realityExecute example the present invention is had been described in detail, wherein, those of ordinary skill in the art is to be understood that: it still can be to frontState the technical scheme that each embodiment records and modify, or part technical characterictic is wherein equal to replacement; And these are repaiiedChange or replace, not making the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a backup method for video file, is characterized in that, comprising:
Obtain the first operational order of user's input, wherein, described the first operational order is used to indicate video capture device and takesVideo and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server;
Triggering described video capture device according to described the first operational order takes;
According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cuts in real time,Obtain at least two video file segments;
In described video capture device shooting process, video segment described at least one is uploaded to described Cloud Server.
2. method according to claim 1, is characterized in that, described File cutting strategy comprises:
Every the default time interval, video file is cut.
3. method according to claim 2, is characterized in that, described obtain at least two video file segments after,Described method also comprises:
Record the sequencing between each video file segments.
4. method according to claim 2, is characterized in that, described, video segment described at least one is uploaded toAfter described Cloud Server, described method also comprises:
Obtain the uploading speed that video segment uploads to described Cloud Server;
Adjust described default video file Cut Stratagem according to described uploading speed, wherein, the described default time interval withDescribed uploading speed is inversely proportional to.
5. according to the method described in claim 1 to 4 any one, it is characterized in that, obtain at least two video literary compositions describedAfter part fragment, described method also comprises:
Each video file segments is processed, obtained the compressed file of object format;
Described video segment described at least one is uploaded to described Cloud Server, comprises: by after treatment described at least oneVideo segment is uploaded to described Cloud Server.
6. a back-up device for video file, is characterized in that, comprising:
The first acquiring unit, for obtaining the first operational order of user's input, wherein, described the first operational order is used in reference toShow video capture device capture video and instruction by described video capture device takes the video file obtaining upload to cloud takeBusiness device;
Take unit, take for triggering described video capture device according to described the first operational order;
Processing unit, for taking described video capture device according to default video file Cut Stratagem the video literary composition obtainingPart cuts in real time, obtains at least two video file segments;
Uploading unit, at described video capture device shooting process, is uploaded to institute by video segment described at least oneState Cloud Server.
7. device according to claim 6, is characterized in that, described File cutting strategy comprises:
Every the default time interval, video file is cut.
8. device according to claim 7, is characterized in that,
Described treating apparatus also for, record the sequencing between each video file segments.
9. device according to claim 7, is characterized in that, described device also comprises:
Second acquisition unit, uploads to the uploading speed of described Cloud Server for obtaining video segment;
Adjustment unit, for adjusting described default video file Cut Stratagem according to described uploading speed, wherein, described pre-If the time interval and described uploading speed be inversely proportional to.
10. an electronic equipment, is characterized in that, comprising: processor, memory, communication interface and bus;
Described processor, described memory and described communication interface are connected by described bus and complete mutual communication;
Described memory stores executable program code;
Described processor moves and described executable program generation by reading the executable program code of storing in described memoryThe program that code is corresponding, for carrying out a kind of backup method of video file; Wherein, the backup method bag of described video fileDraw together:
Obtain the first operational order of user's input, wherein, described the first operational order is used to indicate video capture device and takesVideo and instruction are taken by described video capture device the video file obtaining and are uploaded to Cloud Server;
Triggering described video capture device according to described the first operational order takes;
According to default video file Cut Stratagem, described video capture device is taken to the video file obtaining and cuts in real time,Obtain at least two video file segments;
In described video capture device shooting process, video segment described at least one is uploaded to described Cloud Server.
CN201610080718.5A 2016-02-04 2016-02-04 Video file backup method and device and electronic equipment Expired - Fee Related CN105611429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610080718.5A CN105611429B (en) 2016-02-04 2016-02-04 Video file backup method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610080718.5A CN105611429B (en) 2016-02-04 2016-02-04 Video file backup method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105611429A true CN105611429A (en) 2016-05-25
CN105611429B CN105611429B (en) 2019-03-15

Family

ID=55990914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610080718.5A Expired - Fee Related CN105611429B (en) 2016-02-04 2016-02-04 Video file backup method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105611429B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105182A (en) * 2017-05-11 2017-08-29 北京小米移动软件有限公司 video backup method and device
CN107277411A (en) * 2017-07-17 2017-10-20 维沃移动通信有限公司 A kind of video recording method and mobile terminal
CN109819265A (en) * 2017-11-20 2019-05-28 杭州萤石网络有限公司 Data storage, data capture method and system
CN110177289A (en) * 2019-05-14 2019-08-27 努比亚技术有限公司 Terminal device and its kinescope method, playback method, cloud device
CN110267118A (en) * 2019-06-18 2019-09-20 北京奇艺世纪科技有限公司 A kind of video distribution method and apparatus and computer readable storage medium
CN111314793A (en) * 2020-03-16 2020-06-19 上海掌门科技有限公司 Video processing method, apparatus and computer readable medium
WO2021052058A1 (en) * 2019-09-20 2021-03-25 北京达佳互联信息技术有限公司 Video processing method and apparatus, electronic device and storage medium
CN114124954A (en) * 2021-11-11 2022-03-01 北京旗鱼映像传媒有限公司 Material management system and method applied to movie and television production

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282840A1 (en) * 2010-05-13 2011-11-17 Sony Corporation Distributed network backup of multimedia files
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN102883181A (en) * 2012-10-19 2013-01-16 豪威科技(上海)有限公司 Method and system for instant network video playing
CN203057367U (en) * 2013-01-31 2013-07-10 广东电网公司电力调度控制中心 Low internet speed electric power communication machine room on-site photograph reporting transmission device
CN103581698A (en) * 2012-07-31 2014-02-12 联想(北京)有限公司 Terminal device and video data releasing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282840A1 (en) * 2010-05-13 2011-11-17 Sony Corporation Distributed network backup of multimedia files
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN103581698A (en) * 2012-07-31 2014-02-12 联想(北京)有限公司 Terminal device and video data releasing method
CN102883181A (en) * 2012-10-19 2013-01-16 豪威科技(上海)有限公司 Method and system for instant network video playing
CN203057367U (en) * 2013-01-31 2013-07-10 广东电网公司电力调度控制中心 Low internet speed electric power communication machine room on-site photograph reporting transmission device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105182A (en) * 2017-05-11 2017-08-29 北京小米移动软件有限公司 video backup method and device
CN107105182B (en) * 2017-05-11 2020-10-16 北京小米移动软件有限公司 Video backup method and device
CN107277411A (en) * 2017-07-17 2017-10-20 维沃移动通信有限公司 A kind of video recording method and mobile terminal
CN107277411B (en) * 2017-07-17 2019-12-13 维沃移动通信有限公司 Video recording method and mobile terminal
CN109819265A (en) * 2017-11-20 2019-05-28 杭州萤石网络有限公司 Data storage, data capture method and system
CN110177289A (en) * 2019-05-14 2019-08-27 努比亚技术有限公司 Terminal device and its kinescope method, playback method, cloud device
CN110267118A (en) * 2019-06-18 2019-09-20 北京奇艺世纪科技有限公司 A kind of video distribution method and apparatus and computer readable storage medium
WO2021052058A1 (en) * 2019-09-20 2021-03-25 北京达佳互联信息技术有限公司 Video processing method and apparatus, electronic device and storage medium
CN111314793A (en) * 2020-03-16 2020-06-19 上海掌门科技有限公司 Video processing method, apparatus and computer readable medium
CN114124954A (en) * 2021-11-11 2022-03-01 北京旗鱼映像传媒有限公司 Material management system and method applied to movie and television production

Also Published As

Publication number Publication date
CN105611429B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN105611429A (en) Video file backup method and device and electronic equipment
CN107613235B (en) Video recording method and device
US10863109B2 (en) Real time video special effects system and method
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
CN104349044B (en) The image pickup method and electronic equipment of panoramic picture
CN103248818B (en) Image pickup method and associated picture acquisition system
CN104461288A (en) Method for taking photos through different field angle cameras and terminal
US9854160B2 (en) Systems and methods for autonomously generating photo summaries
CN104883497A (en) Positioning shooting method and mobile terminal
CN105528427A (en) Media file processing method, and sharing method and device in social application
CN112954212B (en) Video generation method, device and equipment
CN104169913A (en) A picture display method and device and a terminal device
CN103873914A (en) Audience life image shooting method, device and multimedia equipment
EP3360317A1 (en) Autofocus method and apparatus using modulation transfer function curves
CN103986873A (en) Display device shooting method and display device
CN110312077B (en) Video shooting method and device, electronic equipment and storage medium
CN108200477A (en) The method, apparatus and equipment that video file is generated and played
CN109981988B (en) Video generation method and device and mobile terminal
CN104486553B (en) A kind of distant view photograph image pickup method and terminal
CN104754222A (en) Terminal camera shooting method and terminal
WO2017185338A1 (en) Audio-video file generation method and apparatus
CN103888670B (en) A kind of information processing method and electronic equipment
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
US20160295064A1 (en) Photo cluster detection and compression
US20180288360A1 (en) Method, apparatus, and storage medium for video file processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190315

CF01 Termination of patent right due to non-payment of annual fee