CN105611429B - Video file backup method and device and electronic equipment - Google Patents
Video file backup method and device and electronic equipment Download PDFInfo
- Publication number
- CN105611429B CN105611429B CN201610080718.5A CN201610080718A CN105611429B CN 105611429 B CN105611429 B CN 105611429B CN 201610080718 A CN201610080718 A CN 201610080718A CN 105611429 B CN105611429 B CN 105611429B
- Authority
- CN
- China
- Prior art keywords
- video
- video file
- cloud server
- capture device
- uploaded
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000004891 communication Methods 0.000 claims description 10
- 238000012163 sequencing technique Methods 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000004148 unit process Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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
Technical field
The present invention relates to technical field of data processing more particularly to a kind of backup methods of video file, device and electronics
Equipment.
Background technique
When sharing the video of shooting, the method for use has the electronic equipments such as mobile phone, tablet computer: in video capture at present
After the completion, the video file that shooting obtains is uploaded to Cloud Server to back up, authorized user passes through browsing cloud service
The video file backed up on device can watch the video of sharing.
The present inventor has found in research and practice process, since the capacity of video file is usually larger, will regard
Frequency file uploads to Cloud Server and carries out backup it is generally necessary to which the more time is spent therefore all to upload to video file
Start lag of the shooting time there are the long period relative to video at the time of Cloud Server, is unfavorable for authorized user and passes through
Cloud Server watches the video shared in time.
Summary of the invention
The embodiment of the invention provides a kind of backup method of video file, device and electronic equipment, can solve how
The problem of shortening the time that video file uploads.
First aspect of the embodiment of the present invention provides a kind of backup method of video file, comprising:
Obtain the first operational order of user's input, wherein first operational order is used to indicate video capture device
It shoots video and instruction and the video file that the video capture device is shot is uploaded into Cloud Server;
The video capture device is triggered according to first operational order to be shot;
It is carried out according to the video file that preset video file Cut Stratagem shoots the video capture device real
When cut, obtain at least two video file segments;
In the video capture device shooting process, at least one described video clip is uploaded to the cloud service
Device.
With reference to first aspect, in the first possible embodiment of first aspect, the file Cut Stratagem includes:
Video file is cut every preset time interval.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect
In, it is described obtain at least two video file segments after, the method also includes:
Record the sequencing between each video file segments.
The possible embodiment of with reference to first aspect the first, in the third possible embodiment of first aspect
In, it is described at least one described video clip is uploaded to the Cloud Server after, the method also includes:
Obtain the uploading speed that video clip uploads to the Cloud Server;
The preset video file Cut Stratagem is adjusted according to the uploading speed, wherein between the preset time
It is inversely proportional every with the uploading speed.
With reference to first aspect or second of the first possible embodiment of first aspect or first aspect possible
The possible embodiment of the third of embodiment or first aspect, in the 4th kind of possible embodiment of first aspect,
It is described obtain at least two video file segments after, the method also includes:
Each video file segments are handled, the compressed file of object format is obtained;
It is described that at least one described video clip is uploaded to the Cloud Server, comprising: will treated at least one
The video clip is uploaded to the Cloud Server.
Second aspect of the embodiment of the present invention provides a kind of back-up device of video file, comprising:
First acquisition unit, for obtaining the first operational order of user's input, wherein first operational order is used for
Instruction video capture device shoots video and instruction and the video file that the video capture device is shot is uploaded to cloud
Server;
Shooting unit is shot for triggering the video capture device according to first operational order;
Processing unit, the view for being shot the video capture device according to preset video file Cut Stratagem
Frequency file is cut in real time, obtains at least two video file segments;
Uploading unit, in the video capture device shooting process, at least one described video clip to be uploaded
To the Cloud Server.
In conjunction with second aspect, in the first possible embodiment of second aspect, the file Cut Stratagem includes:
Video file is cut every preset time interval.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, the processing unit is also used to, and records the sequencing between each video file segments.
In conjunction with the first possible embodiment of second aspect, in the third possible embodiment of second aspect
In, described device further include:
Second acquisition unit uploads to the uploading speed of the Cloud Server for obtaining video clip;
Adjustment unit, for adjusting the preset video file Cut Stratagem according to the uploading speed, wherein described
Preset time interval is inversely proportional with the uploading speed.
Second in conjunction with the possible embodiment of the first of second aspect or second aspect or second aspect is possible
The possible embodiment of the third of embodiment or second aspect, in the 4th kind of possible embodiment of second aspect,
The processing unit is also used to, and is handled each video file segments, and the compressed file of object format is obtained;
The uploading unit is specifically used for, in the video capture device shooting process, by the processing unit processes
Afterwards at least one video clip is uploaded to the Cloud Server.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, comprising: processor, memory, communication interface and total
Line;
The processor, the memory are connected by the bus with the communication interface and complete mutual lead to
Letter;
The memory stores executable program code;
The processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, with the backup method for executing a kind of video file;Wherein, the backup side of the video file
Method includes:
Obtain the first operational order of user's input, wherein first operational order is used to indicate video capture device
It shoots video and instruction and the video file that the video capture device is shot is uploaded into Cloud Server;
The video capture device is triggered according to first operational order to be shot;
It is carried out according to the video file that preset video file Cut Stratagem shoots the video capture device real
When cut, obtain at least two video file segments;
In the video capture device shooting process, at least one described video clip is uploaded to the cloud service
Device.
Fourth aspect of the embodiment of the present invention provides a kind of storage medium, wherein and the storage medium is used to store application program,
The application program for executing a kind of backup method of video file described in the embodiment of the present invention at runtime.
The 5th aspect of the embodiment of the present invention provides a kind of application program, wherein the application program for executing at runtime
A kind of backup method of video file described in the embodiment of the present invention.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is a kind of schematic diagram of network architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the backup method for video file that the embodiment of the present invention provides;
Fig. 3 is a kind of flow diagram of the backup method for video file that another embodiment of the present invention provides;
Fig. 4 is a kind of flow diagram of the backup method for video file that another embodiment of the present invention provides;
Fig. 5 is a kind of flow diagram of the backup method for video file that another embodiment of the present invention provides;
Fig. 6 is a kind of structural schematic diagram of the back-up device of video file provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the back-up device for video file that another embodiment of the present invention provides;
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that another embodiment of the present invention provides.
Specific embodiment
The embodiment of the invention provides a kind of backup method of video file, device and electronic equipments, will regard to shorten
At the time of frequency file all uploads to Cloud Server and video starts the time interval between shooting time, in favor of what is be authorized to
User watches the video shared by Cloud Server in time
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
A kind of backup method of video file of the present invention may include: the first operational order for obtaining user's input,
In, first operational order is used to indicate video capture device shooting video and the video capture device is clapped in instruction
The video file taken the photograph uploads to Cloud Server;The video capture device is triggered according to first operational order to be clapped
It takes the photograph;The video file that the video capture device is shot is cut in real time according to preset video file Cut Stratagem
It cuts, obtains at least two video file segments;In the video capture device shooting process, by least one piece of video
Section is uploaded to the Cloud Server.
Referring to Fig. 1, Fig. 1 is a kind of network architecture for being possibly used for implementing the embodiment of the present invention.Shown in Fig. 1
In the network architecture, comprising: the terminal for shooting video, store the Cloud Server of video file, can be used in data transmission network,
Authorized terminal that the video file backed up in Cloud Server can be watched by Cloud Server with several.
Wherein, the video file that shooting obtains is uploaded into Cloud Server progress by network for shooting the terminal of video
Backup, the process of upload is to begin to upload during video capture, i.e., uploads in shooting, so the embodiment of the present invention can
At the time of video file all to be uploaded to Cloud Server to shorten and video starts the time interval between shooting time, favorably
Pass through the video file that viewing is stored in Cloud Server in time in authorized terminal.
Referring to Fig. 2, the process that Fig. 2 is a kind of backup method for video file that one embodiment of the present of invention provides is shown
It is intended to, as shown in Fig. 2, a kind of backup method for video file that one embodiment of the present of invention provides may include in following
Hold:
201, terminal obtains the first operational order of user's input, wherein first operational order is used to indicate video
Filming apparatus shoots video and instruction and the video file that the video capture device is shot is uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart phone, laptop, PDA (personal digital assistant), PAD (plate
Computer), PMP (portable media player), navigation device etc. have shooting video capability and be able to access that the electronics of network
Device, the embodiment of the present invention are not construed as limiting.
User can have the application software that the video that terminal is shot is uploaded to Cloud Server by what is installed to terminal
Operation issue the first operational order.
202, terminal triggers the video capture device according to first operational order and is shot.
Specifically, work can be carried out according to the camera or camera and microphone of the first operational order triggering terminal
Make, executes shooting task and shot.
203, the video text that terminal shoots the video capture device according to preset video file Cut Stratagem
Part is cut in real time, obtains at least two video file segments.
Wherein, the video file Cut Stratagem includes: to cut every preset time interval to video file.It lifts
It can be for example and video file once cut every 1 second.
204, at least one described video clip is uploaded to described by terminal in the video capture device shooting process
Cloud Server.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.
Optionally, in some possible embodiments of the present invention, it is described obtain at least two video file segments it
Afterwards, the method also includes: record the sequencing between each video file segments.Specifically, it can recorde each video file
The initial time of segment.It is of course also possible to be numbered for video file according to chronological order.
Optionally, in some possible embodiments of the present invention, at least one described video clip is uploaded described
After to the Cloud Server, the method can also include: the upload speed for obtaining video clip and uploading to the Cloud Server
Degree;The preset video file Cut Stratagem is adjusted according to the uploading speed, wherein the preset time interval and institute
Uploading speed is stated to be inversely proportional.
Optionally, in some possible embodiments of the present invention, it is described obtain at least two video file segments it
Afterwards, the method can also include: to handle each video file segments, obtain the compressed file of object format;It is described
At least one described video clip is uploaded to the Cloud Server, comprising: will treated at least one described video clip
It is uploaded to the Cloud Server.
Referring to Fig. 3, Fig. 3 be another embodiment of the present invention provides a kind of video file backup method process
Schematic diagram, as shown in figure 3, another embodiment of the present invention provides the backup method of video file a kind of may include following
Content:
301, terminal obtains the first operational order of user's input, wherein first operational order is used to indicate video
Filming apparatus shoots video and instruction and the video file that the video capture device is shot is uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart phone, laptop, PDA (personal digital assistant), PAD (plate
Computer), PMP (portable media player), navigation device etc. have shooting video capability and be able to access that the electronics of network
Device, the embodiment of the present invention are not construed as limiting.
User can have the application software that the video that terminal is shot is uploaded to Cloud Server by what is installed to terminal
Operation issue the first operational order.
302, terminal triggers the video capture device according to first operational order and is shot.
Specifically, work can be carried out according to the camera or camera and microphone of the first operational order triggering terminal
Make, executes shooting task and shot.
303, the video text that terminal shoots the video capture device according to preset video file Cut Stratagem
Part is cut in real time, obtains at least two video file segments.
Wherein, the video file Cut Stratagem can be with are as follows: cuts every preset time interval to video file.
For example it can be and video file once cut every 1 second.
304, video file segments are carried out format conversion by terminal, and the video file after format conversion is compressed.
For example, if video file is rmvb format, if the format of target video file is flv, by rmvb format
Video file segments be converted to the video file segments of flv format, then the video file after format conversion is compressed.
305, terminal, will be at least one compressed described video clip in the video capture device shooting process
Reach the Cloud Server.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.
Referring to Fig. 4, Fig. 4 be another embodiment of the present invention provides a kind of video file backup method process
Schematic diagram, as shown in figure 4, another embodiment of the present invention provides the backup method of video file a kind of may include following
Content:
401, terminal obtains the first operational order of user's input, wherein first operational order is used to indicate video
Filming apparatus shoots video and instruction and the video file that the video capture device is shot is uploaded to Cloud Server.
The terminal of the embodiment of the present invention can be smart phone, laptop, PDA (personal digital assistant), PAD (plate
Computer), PMP (portable media player), navigation device etc. have shooting video capability and be able to access that the electronics of network
Device, the embodiment of the present invention are not construed as limiting.
User can have the application software that the video that terminal is shot is uploaded to Cloud Server by what is installed to terminal
Operation issue the first operational order.
402, terminal triggers the video capture device according to first operational order and is shot.
Specifically, work can be carried out according to the camera or camera and microphone of the first operational order triggering terminal
Make, executes shooting task and shot.
403, the video text that terminal shoots the video capture device according to preset video file Cut Stratagem
Part is cut in real time, obtains a video file segments.
Wherein, the video file Cut Stratagem can be with are as follows: cuts every preset time interval to video file.
For example it can be and video file once cut every 1 second.
404, video file segments are carried out format conversion by terminal, and the video file after format conversion is compressed.
For example, if video file is rmvb format, if the format of target video file is flv, by rmvb format
Video file segments be converted to the video file segments of flv format, then the video file after format conversion is compressed.
405, a compressed video clip is uploaded to by terminal in the video capture device shooting process
The Cloud Server.
406, terminal obtains the uploading speed that video clip uploads to Cloud Server.
407, terminal adjusts the preset video file Cut Stratagem according to the uploading speed, wherein described default
Time interval be inversely proportional with the uploading speed.
408, terminal continues video file according to file Cut Stratagem adjusted to implement cutting.
409, the video clip not uploaded on Cloud Server is uploaded to Cloud Server by terminal.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.In addition,
By adjusting file Cut Stratagem according to uploading speed, when uploading speed is fast, shortens file clipping time, can be improved in this way
The real-time of upload can further shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment.
Be described below with a specific embodiment, it is assumed that shooting when it is 3.5 seconds a length of, file Cut Stratagem is
Primary cutting is carried out to video every 1 second and obtains a video file segments, specifically, as shown in figure 5, the present embodiment provides
The backup method of video file may include:
501, terminal obtains the first operational order of user's input, wherein the first operational order is used to indicate video capture
Device shoots video and instruction and the video file that the video capture device is shot is uploaded to Cloud Server.
502, terminal triggers the video capture device according to first operational order and is shot, the video lattice of shooting
Formula is rmvb format.
503, when terminal takes the 1st second, the video of 0 to 1 second rmvb format is obtained from the video of shooting, is obtained
To 001.rmvb file, transcoding is the video file of flv format, is named as 001.flv, boil down to 001.rar, uploads to cloud clothes
Business device.
504, terminal continues to shoot, and when shooting the 2nd second, the video of the rmvb format of duplication 1 to 2 second is obtained
002.rmvb file, transcoding are the video file of flv format, are named as 002.flv, boil down to 002.rar uploads to cloud service
Device.
505, terminal continues to shoot, and when taking the 3rd second, the video of the rmvb format of duplication 2-3 seconds is obtained
003.rmvb file, transcoding are the video file of flv format, are named as 003.flv, boil down to 003.rar uploads to cloud service
Device.
If 506, terminal obtained the instruction for terminating shooting video, the view of the rmvb format of duplication 3 to 3.5 seconds at the 3.5th second
Frequently, 004.rmvb file is obtained, transcoding is the video file of flv format, is named as 004.flv, boil down to 004.rar, is uploaded
To Cloud Server.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, be uploaded in shooting, compared with the existing technology in shooting video
Just start uploaded videos file after file to Cloud Server, can shorten at the time of video file all to be uploaded to Cloud Server
Start the time interval between shooting time with video, is conducive to authorized user and watches being divided in time by Cloud Server
The video enjoyed.
Referring to Fig. 6, Fig. 6 is the structural representation of the back-up device for the video file that one embodiment of the present of invention provides
Figure.As shown in fig. 6, a kind of back-up device 600 of video file provided in an embodiment of the present invention may include:
First acquisition unit 601, for obtaining the first operational order of user's input, wherein first operational order
It is used to indicate video capture device shooting video and indicates that the video file for shooting the video capture device uploads
To Cloud Server.
User can have the application software that the video that terminal is shot is uploaded to Cloud Server by what is installed to terminal
Operation issue the first operational order.Terminal can be smart phone, laptop, PDA (personal digital assistant), PAD (plate
Computer), PMP (portable media player), navigation device etc. have shooting video capability and be able to access that the electronics of network
Device, the embodiment of the present invention are not construed as limiting.
Shooting unit 602 is shot for triggering the video capture device according to first operational order.
Specifically, work can be carried out according to the camera or camera and microphone of the first operational order triggering terminal
Make, executes shooting task and shot.
Processing unit 603, for shooting to obtain by the video capture device according to preset video file Cut Stratagem
Video file cut in real time, obtain at least two video file segments.
Wherein, the video file Cut Stratagem includes: to cut every preset time interval to video file.It lifts
It can be for example and video file once cut every 1 second.
Uploading unit 604 is used in the video capture device shooting process, will be at least one described video clip
Reach the Cloud Server.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.
Optionally, in some possible embodiments of the present invention, processing unit is also used to, and records each video file segments
Between sequencing.Specifically, it can recorde the initial time of each video file segments.It is of course also possible to be video file
It is numbered according to chronological order.
It optionally, can also include second acquisition unit, for obtaining view in some possible embodiments of the present invention
Frequency segment uploads to the uploading speed of the Cloud Server;Adjustment unit, for described default according to uploading speed adjustment
Video file Cut Stratagem, wherein the preset time interval is inversely proportional with the uploading speed.
Optionally, in some possible embodiments of the present invention, processing unit is also used to, to each video file segments
It is handled, obtains the compressed file of object format;Uploading unit is specifically used for, the pressure for the target thing that processing unit is obtained
Contracting file is uploaded to the Cloud Server.
Referring to Fig. 7, Fig. 7 is the structural representation of the back-up device for the video file that one embodiment of the present of invention provides
Figure.As shown in fig. 7, a kind of back-up device 700 of video file provided in an embodiment of the present invention may include:
First acquisition unit 701, for obtaining the first operational order of user's input, wherein first operational order
It is used to indicate video capture device shooting video and indicates that the video file for shooting the video capture device uploads
To Cloud Server.
User can have the application software that the video that terminal is shot is uploaded to Cloud Server by what is installed to terminal
Operation issue the first operational order.Terminal can be smart phone, laptop, PDA (personal digital assistant), PAD (plate
Computer), PMP (portable media player), navigation device etc. have shooting video capability and be able to access that the electronics of network
Device, the embodiment of the present invention are not construed as limiting.
Shooting unit 702 is shot for triggering the video capture device according to first operational order.
Specifically, work can be carried out according to the camera or camera and microphone of the first operational order triggering terminal
Make, executes shooting task and shot.
Processing unit 703, for shooting to obtain by the video capture device according to preset video file Cut Stratagem
Video file cut in real time, obtain at least two video file segments.
Wherein, the video file Cut Stratagem includes: to cut every preset time interval to video file.It lifts
It can be for example and video file once cut every 1 second.
Uploading unit 704 is used in the video capture device shooting process, will be at least one described video clip
Reach the Cloud Server.
Second acquisition unit 705 uploads to the uploading speed of the Cloud Server for obtaining video clip.
Adjustment unit 706, the uploading speed for being obtained according to second acquisition unit 705 adjust preset video file and cut
Strategy is cut, specifically, preset time interval is adjusted and is inversely proportional with the uploading speed.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.In addition,
By adjusting file Cut Stratagem according to uploading speed, when uploading speed is fast, shortens file clipping time, can be improved in this way
The real-time of upload can further shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention, the electronic equipment
800, may include:
Processor 801, memory 802, communication interface 803 and bus 804;
The processor 801, the memory 802 and the communication interface 803 are connected and are completed by the bus 804
Mutual communication;
The memory 802 stores executable program code;
The processor 801 run by reading the executable program code stored in the memory 802 with it is described
The corresponding program of executable program code, with the backup method for executing a kind of video file;Wherein, a kind of video file
Backup method includes:
Obtain the first operational order of user's input, wherein first operational order is used to indicate video capture device
It shoots video and instruction and the video file that the video capture device is shot is uploaded into Cloud Server;
The video capture device is triggered according to first operational order to be shot;
It is carried out according to the video file that preset video file Cut Stratagem shoots the video capture device real
When cut, obtain at least two video file segments;
In the video capture device shooting process, at least one described video clip is uploaded to the cloud service
Device.
As can be seen that just being opened in video capture device shooting process using technical solution provided in an embodiment of the present invention
Begin at least one video clip being uploaded to Cloud Server, compared with the existing technology in just start after having shot video file on
Video file is passed to Cloud Server, can shorten and start to shoot with video at the time of video file all to be uploaded to Cloud Server
Time interval between moment is conducive to authorized user by Cloud Server and watches the video shared in time.
The embodiment of the invention also provides a kind of storage mediums, wherein the storage medium is described for storing application program
Application program for executing a kind of backup method of video file described in the embodiment of the present invention at runtime.
The embodiment of the invention also provides a kind of application programs, wherein the application program for executing this hair at runtime
A kind of backup method of video file described in bright embodiment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Various Jie that can store program code such as reservoir (RAM, RandomAccess Memory), mobile hard disk, magnetic or disk
Matter.
The above, above embodiments are only to illustrate technical solution of the present invention, rather than its limitations;Although referring to aforementioned
Invention is explained in detail for embodiment, wherein those skilled in the art should understand that: it still can be right
Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this
It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (7)
1. a kind of backup method of video file characterized by comprising
Obtain the first operational order of user's input, wherein first operational order is used to indicate video capture device shooting
The video file that the video capture device is shot is uploaded to Cloud Server by video and instruction;
The video capture device is triggered according to first operational order to be shot;
The video file that the video capture device is shot is cut in real time according to preset video file Cut Stratagem
It cuts, obtains at least two video file segments, the preset video file Cut Stratagem includes: every preset time interval
Video file is cut;
In the video capture device shooting process, at least one described video file segments is uploaded to the cloud service
Device;
Obtain the uploading speed that video clip uploads to the Cloud Server;
Adjust the preset video file Cut Stratagem according to the uploading speed, wherein the preset time interval with
The uploading speed is inversely proportional.
2. the method according to claim 1, wherein it is described obtain at least two video file segments after,
The method also includes:
Record the sequencing between each video file segments.
3. method according to claim 1 or 2, which is characterized in that it is described obtain at least two video file segments it
Afterwards, the method also includes:
Each video file segments are handled, the compressed file of object format is obtained;
It is described that at least one described video file segments is uploaded to the Cloud Server, comprising: will treated at least one
The video file segments are uploaded to the Cloud Server.
4. a kind of back-up device of video file characterized by comprising
First acquisition unit, for obtaining the first operational order of user's input, wherein first operational order is used to indicate
Video capture device shoots video and instruction and the video file that the video capture device is shot is uploaded to cloud service
Device;
Shooting unit is shot for triggering the video capture device according to first operational order;
Processing unit, the video text for being shot the video capture device according to preset video file Cut Stratagem
Part is cut in real time, obtains at least two video file segments, the preset video file Cut Stratagem includes: every pre-
If time interval video file is cut;
Uploading unit, in the video capture device shooting process, at least one described video file segments to be uploaded
To the Cloud Server;
Second acquisition unit uploads to the uploading speed of the Cloud Server for obtaining video clip;
Adjustment unit, for adjusting the preset video file Cut Stratagem according to the uploading speed, wherein described default
Time interval be inversely proportional with the uploading speed.
5. device according to claim 4, which is characterized in that
The processing unit is also used to, and records the sequencing between each video file segments.
6. device according to claim 4 or 5, which is characterized in that
The processing unit is also used to, and is handled each video file segments, and the compressed file of object format is obtained;
The uploading unit is specifically used for, in the video capture device shooting process, after the processing unit processes
At least one described video file segments is uploaded to the Cloud Server.
7. a kind of electronic equipment characterized by comprising processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual communication;
The memory stores executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory
The corresponding program of code, with the backup method for executing a kind of video file;Wherein, the backup method packet of the video file
It includes:
Obtain the first operational order of user's input, wherein first operational order is used to indicate video capture device shooting
The video file that the video capture device is shot is uploaded to Cloud Server by video and instruction;
The video capture device is triggered according to first operational order to be shot;
The video file that the video capture device is shot is cut in real time according to preset video file Cut Stratagem
It cuts, obtains at least two video file segments, the preset video file Cut Stratagem includes: every preset time interval
Video file is cut;
In the video capture device shooting process, at least one described video file segments is uploaded to the cloud service
Device;
Obtain the uploading speed that video clip uploads to the Cloud Server;
Adjust the preset video file Cut Stratagem according to the uploading speed, wherein the preset time interval with
The uploading speed is inversely proportional.
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 CN105611429A (en) | 2016-05-25 |
CN105611429B true 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107105182B (en) * | 2017-05-11 | 2020-10-16 | 北京小米移动软件有限公司 | Video backup method and device |
CN107277411B (en) * | 2017-07-17 | 2019-12-13 | 维沃移动通信有限公司 | Video recording method and mobile terminal |
CN109819265B (en) * | 2017-11-20 | 2022-05-06 | 杭州萤石网络股份有限公司 | Data storage method, data acquisition method and system |
CN110177289A (en) * | 2019-05-14 | 2019-08-27 | 努比亚技术有限公司 | Terminal device and its kinescope method, playback method, cloud device |
CN110267118B (en) * | 2019-06-18 | 2022-12-02 | 北京奇艺世纪科技有限公司 | Video publishing method and device and computer readable storage medium |
CN110602122A (en) * | 2019-09-20 | 2019-12-20 | 北京达佳互联信息技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN111314793B (en) * | 2020-03-16 | 2022-03-18 | 上海掌门科技有限公司 | 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 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9417969B2 (en) * | 2010-05-13 | 2016-08-16 | Sony Corporation | Distributed network backup of multimedia files |
-
2016
- 2016-02-04 CN CN201610080718.5A patent/CN105611429B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105611429A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105611429B (en) | Video file backup method and device and electronic equipment | |
CN107613235B (en) | Video recording method and device | |
CN104349044B (en) | The image pickup method and electronic equipment of panoramic picture | |
CN109168037B (en) | Video playing method and device | |
Symon et al. | Defense intelligence analysis in the age of big data | |
CN104135611A (en) | Method and device for photographing with split-screen function | |
CN104125388B (en) | A kind of method and apparatus for shooting and storing photograph | |
JP2016515698A5 (en) | ||
CN105631970B (en) | One-touch information sharing method and system based on drive recorder | |
CN105812920B (en) | Media information processing method and media information processing unit | |
CN105005599A (en) | Photograph sharing method and mobile terminal | |
CN106155595A (en) | The storage optimization method of memory and system | |
CN106879263A (en) | A kind of image pickup method and mobile device | |
CN105323484A (en) | Rapidly photographing method and electronic device | |
EP2870747A1 (en) | Computer-implemented image composition method and apparatus using the same | |
CN104486553B (en) | A kind of distant view photograph image pickup method and terminal | |
CN110363814A (en) | A kind of method for processing video frequency, device, electronic device and storage medium | |
CN109376254A (en) | Processing method, device, electronic equipment and the readable storage medium storing program for executing of data flow | |
CN105308589A (en) | Compacting data based on data content | |
EP3190777A1 (en) | Data storage and acquisition method, device and system | |
JP2018536212A5 (en) | ||
CN105653135B (en) | Picture display method and device and electronic equipment | |
CN104936002B (en) | A kind of method and apparatus of screen recording | |
CN104080104B (en) | communication control method and user equipment | |
CN105072117B (en) | Finger prints processing method and relevant apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 |